Share via


AccountsOperationsExtensions.AddRootCollectionAdminAsync Method

Definition

Add the administrator for root collection.

public static System.Threading.Tasks.Task AddRootCollectionAdminAsync (this Microsoft.Azure.Management.Purview.IAccountsOperations operations, string resourceGroupName, string accountName, Microsoft.Azure.Management.Purview.Models.CollectionAdminUpdate collectionAdminUpdate, System.Threading.CancellationToken cancellationToken = default);
static member AddRootCollectionAdminAsync : Microsoft.Azure.Management.Purview.IAccountsOperations * string * string * Microsoft.Azure.Management.Purview.Models.CollectionAdminUpdate * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function AddRootCollectionAdminAsync (operations As IAccountsOperations, resourceGroupName As String, accountName As String, collectionAdminUpdate As CollectionAdminUpdate, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IAccountsOperations

The operations group for this extension method.

resourceGroupName
String

The resource group name.

accountName
String

The name of the account.

collectionAdminUpdate
CollectionAdminUpdate

The collection admin update payload.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Add the administrator for root collection associated with this account.

Applies to