Share via


HybridContainerServiceExtensions.GetKubernetesVersionProfile Method

Definition

Gets an object representing a KubernetesVersionProfileResource along with the instance operations that can be performed on it in the ArmClient. MockingTo mock this method, please mock GetKubernetesVersionProfile(ResourceIdentifier) instead.

public static Azure.ResourceManager.HybridContainerService.KubernetesVersionProfileResource GetKubernetesVersionProfile (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier scope);
static member GetKubernetesVersionProfile : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.HybridContainerService.KubernetesVersionProfileResource
<Extension()>
Public Function GetKubernetesVersionProfile (client As ArmClient, scope As ResourceIdentifier) As KubernetesVersionProfileResource

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

scope
ResourceIdentifier

The scope that the resource will apply against.

Returns

Returns a KubernetesVersionProfileResource object.

Exceptions

client is null.

Applies to