ServerAdministratorOperationsExtensions.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 static System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.ServerAdministratorCreateOrUpdateResponse> BeginCreateOrUpdateAsync (this Microsoft.Azure.Management.Sql.LegacySdk.IServerAdministratorOperations operations, string resourceGroupName, string serverName, string administratorName, Microsoft.Azure.Management.Sql.LegacySdk.Models.ServerAdministratorCreateOrUpdateParameters parameters);
static member BeginCreateOrUpdateAsync : Microsoft.Azure.Management.Sql.LegacySdk.IServerAdministratorOperations * string * string * string * Microsoft.Azure.Management.Sql.LegacySdk.Models.ServerAdministratorCreateOrUpdateParameters -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.ServerAdministratorCreateOrUpdateResponse>
<Extension()>
Public Function BeginCreateOrUpdateAsync (operations As IServerAdministratorOperations, resourceGroupName As String, serverName As String, administratorName As String, parameters As ServerAdministratorCreateOrUpdateParameters) As Task(Of ServerAdministratorCreateOrUpdateResponse)

Parameters

operations
IServerAdministratorOperations

Reference to the Microsoft.Azure.Management.Sql.LegacySdk.IServerAdministratorOperations.

resourceGroupName
String

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

serverName
String

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

administratorName
String

Required. The name of the Azure SQL Server Active Directory Administrator.

parameters
ServerAdministratorCreateOrUpdateParameters

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

Returns

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

Applies to