Compartilhar via


OSOptionProfileResource.GetAsync Método

Definição

Obtém opções de sistema operacional com suporte na assinatura especificada.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/osOptions/default
  • IdManagedClusters_GetOSOptions de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerService.OSOptionProfileResource>> GetAsync (Azure.Core.ResourceType? resourceType = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : Nullable<Azure.Core.ResourceType> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerService.OSOptionProfileResource>>
override this.GetAsync : Nullable<Azure.Core.ResourceType> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerService.OSOptionProfileResource>>
Public Overridable Function GetAsync (Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of OSOptionProfileResource))

Parâmetros

resourceType
Nullable<ResourceType>

O tipo de recurso para o qual as opções do sistema operacional precisam ser retornadas.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a