Condividi tramite


DefaultAccountsOperationsExtensions.GetAsync Method

Definition

Gets the default account information set for the scope.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Purview.Models.DefaultAccountPayload> GetAsync (this Microsoft.Azure.Management.Purview.IDefaultAccountsOperations operations, Guid scopeTenantId, string scopeType, string scope = default, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Purview.IDefaultAccountsOperations * Guid * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Purview.Models.DefaultAccountPayload>
<Extension()>
Public Function GetAsync (operations As IDefaultAccountsOperations, scopeTenantId As Guid, scopeType As String, Optional scope As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DefaultAccountPayload)

Parameters

operations
IDefaultAccountsOperations

The operations group for this extension method.

scopeTenantId
Guid

The tenant ID.

scopeType
String

The scope for the default account. Possible values include: 'Tenant', 'Subscription'

scope
String

The Id of the scope object, for example if the scope is "Subscription" then it is the ID of that subscription.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Get the default account for the scope.

Applies to