Udostępnij za pośrednictwem


DefaultAccountsOperationsExtensions.RemoveAsync Method

Definition

Removes the default account from the scope.

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

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

Removes the default account from the scope.

Applies to