Compartilhar via


ArmClient.GetTenantResourceProviderAsync Método

Definição

Obtém o provedor de recursos especificado no nível do locatário.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.Models.TenantResourceProvider>> GetTenantResourceProviderAsync (string resourceProviderNamespace, string expand = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetTenantResourceProviderAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.Models.TenantResourceProvider>>
override this.GetTenantResourceProviderAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.Models.TenantResourceProvider>>
Public Overridable Function GetTenantResourceProviderAsync (resourceProviderNamespace As String, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of TenantResourceProvider))

Parâmetros

resourceProviderNamespace
String

O namespace do provedor de recursos.

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

Exceções

resourceProviderNamespace é nulo.

Aplica-se a