Partilhar via


ArmClient.GetTenantResourceProvider(String, String, CancellationToken) Método

Definição

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

public virtual Azure.Response<Azure.ResourceManager.Resources.Models.TenantResourceProvider> GetTenantResourceProvider (string resourceProviderNamespace, string expand = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetTenantResourceProvider : string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Resources.Models.TenantResourceProvider>
override this.GetTenantResourceProvider : string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Resources.Models.TenantResourceProvider>
Public Overridable Function GetTenantResourceProvider (resourceProviderNamespace As String, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As 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