Partilhar via


PurviewExtensions.GetDefaultAccount Método

Definição

Obtenha a conta padrão para o escopo.

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

Parâmetros

tenantResource
TenantResource

A TenantResource instância em que 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