다음을 통해 공유


ContainerServiceExtensions.GetOSOptionProfileResource Method

Definition

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

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

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a OSOptionProfileResource object.

Exceptions

client is null.

Applies to