IServerAdministratorOperations.BeginCreateOrUpdateAsync Method

Definition

Begins creating a new Azure SQL Server Active Directory Administrator or updating an existing Azure SQL Server Active Directory Administrator. To determine the status of the operation call GetServerAdministratorOperationStatus.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.ServerAdministratorCreateOrUpdateResponse> BeginCreateOrUpdateAsync (string resourceGroupName, string serverName, string administratorName, Microsoft.Azure.Management.Sql.LegacySdk.Models.ServerAdministratorCreateOrUpdateParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member BeginCreateOrUpdateAsync : string * string * string * Microsoft.Azure.Management.Sql.LegacySdk.Models.ServerAdministratorCreateOrUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.ServerAdministratorCreateOrUpdateResponse>
Public Function BeginCreateOrUpdateAsync (resourceGroupName As String, serverName As String, administratorName As String, parameters As ServerAdministratorCreateOrUpdateParameters, cancellationToken As CancellationToken) As Task(Of ServerAdministratorCreateOrUpdateResponse)

Parameters

resourceGroupName
String

The name of the Resource Group to which the server belongs.

serverName
String

The name of the Azure SQL Server to which the Azure SQL Server Active Directory administrator belongs

administratorName
String

The name of the Azure SQL Server Active Directory Administrator.

parameters
ServerAdministratorCreateOrUpdateParameters

The required parameters for createing or updating an Active Directory Administrator.

cancellationToken
CancellationToken

Cancellation token.

Returns

Response for long running Azure SQL Server Active Directory Administrator operations.

Applies to