Udostępnij za pośrednictwem


KubernetesVersionProfileResource.GetAsync(CancellationToken) Method

Definition

Lists the supported kubernetes versions for the specified custom location

  • Request Path: /{customLocationResourceUri}/providers/Microsoft.HybridContainerService/kubernetesVersions/default
  • Operation Id: GetKubernetesVersions
  • Default Api Version: 2024-01-01
  • Resource: KubernetesVersionProfileResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HybridContainerService.KubernetesVersionProfileResource>> GetAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HybridContainerService.KubernetesVersionProfileResource>>
override this.GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HybridContainerService.KubernetesVersionProfileResource>>
Public Overridable Function GetAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of KubernetesVersionProfileResource))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to