你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

KubernetesVersionProfileResource.Get(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 Azure.Response<Azure.ResourceManager.HybridContainerService.KubernetesVersionProfileResource> Get (System.Threading.CancellationToken cancellationToken = default);
abstract member Get : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.HybridContainerService.KubernetesVersionProfileResource>
override this.Get : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.HybridContainerService.KubernetesVersionProfileResource>
Public Overridable Function Get (Optional cancellationToken As CancellationToken = Nothing) As Response(Of KubernetesVersionProfileResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to