Partilhar via


PurviewExtensions.GetDefaultAccountAsync Método

Definição

Obtenha a conta padrão para o escopo.

  • Caminho/provedores de solicitação/Microsoft.Purview/getDefaultAccount
  • IdDefaultAccounts_Get de operação
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Purview.Models.DefaultPurviewAccountPayload>> GetDefaultAccountAsync (this Azure.ResourceManager.Resources.TenantResource tenantResource, Guid scopeTenantId, Azure.ResourceManager.Purview.Models.PurviewAccountScopeType scopeType, string scope = default, System.Threading.CancellationToken cancellationToken = default);
static member GetDefaultAccountAsync : Azure.ResourceManager.Resources.TenantResource * Guid * Azure.ResourceManager.Purview.Models.PurviewAccountScopeType * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Purview.Models.DefaultPurviewAccountPayload>>
<Extension()>
Public Function GetDefaultAccountAsync (tenantResource As TenantResource, scopeTenantId As Guid, scopeType As PurviewAccountScopeType, Optional scope As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DefaultPurviewAccountPayload))

Parâmetros

tenantResource
TenantResource

A TenantResource instância na qual o método será executado.

scopeTenantId
Guid

A ID do locatário.

scopeType
PurviewAccountScopeType

O escopo da conta padrão.

scope
String

A ID do objeto de escopo, por exemplo, se o escopo for "Assinatura", será a ID dessa assinatura.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a