Condividi tramite


MachineLearningExtensions.GetMachineLearningModelVersionResource Method

Definition

Gets an object representing a MachineLearningModelVersionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String) to create a MachineLearningModelVersionResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetMachineLearningModelVersionResource(ResourceIdentifier) instead.

public static Azure.ResourceManager.MachineLearning.MachineLearningModelVersionResource GetMachineLearningModelVersionResource (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id);
static member GetMachineLearningModelVersionResource : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.MachineLearning.MachineLearningModelVersionResource
<Extension()>
Public Function GetMachineLearningModelVersionResource (client As ArmClient, id As ResourceIdentifier) As MachineLearningModelVersionResource

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a MachineLearningModelVersionResource object.

Exceptions

client is null.

Applies to