Compartilhar via


ResourceProviderResource.GetAsync(String, CancellationToken) Método

Definição

Obtém o provedor de recursos especificado.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/{resourceProviderNamespace}
  • IdProviders_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.ResourceProviderResource>> GetAsync (string expand = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.ResourceProviderResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.ResourceProviderResource>>
Public Overridable Function GetAsync (Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ResourceProviderResource))

Parâmetros

expand
String

O parâmetro de consulta $expand. Por exemplo, para incluir aliases de propriedade em resposta, use $expand=resourceTypes/aliases.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a