ServerAdministratorOperationsExtensions.CreateOrUpdate Method

Definition

Creates a new Azure SQL Server Active Directory Administrator or updates an existing Azure SQL Server Active Directory Administrator.

public static Microsoft.Azure.Management.Sql.LegacySdk.Models.ServerAdministratorCreateOrUpdateResponse CreateOrUpdate (this Microsoft.Azure.Management.Sql.LegacySdk.IServerAdministratorOperations operations, string resourceGroupName, string serverName, string administratorName, Microsoft.Azure.Management.Sql.LegacySdk.Models.ServerAdministratorCreateOrUpdateParameters parameters);
static member CreateOrUpdate : Microsoft.Azure.Management.Sql.LegacySdk.IServerAdministratorOperations * string * string * string * Microsoft.Azure.Management.Sql.LegacySdk.Models.ServerAdministratorCreateOrUpdateParameters -> Microsoft.Azure.Management.Sql.LegacySdk.Models.ServerAdministratorCreateOrUpdateResponse
<Extension()>
Public Function CreateOrUpdate (operations As IServerAdministratorOperations, resourceGroupName As String, serverName As String, administratorName As String, parameters As ServerAdministratorCreateOrUpdateParameters) As 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 on which the Azure SQL Server Active Directory Administrator is hosted.

administratorName
String

Required. The name of the Azure SQL Server Active Directory Administrator to be operated on (Updated or created).

parameters
ServerAdministratorCreateOrUpdateParameters

Required. The required parameters for creating or updating a Server Administrator.

Returns

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

Applies to