ServerAdministratorOperationsExtensions.CreateOrUpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new Azure SQL Server Active Directory Administrator or updates an existing Azure SQL Server Active Directory Administrator.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.ServerAdministratorCreateOrUpdateResponse> CreateOrUpdateAsync (this Microsoft.Azure.Management.Sql.LegacySdk.IServerAdministratorOperations operations, string resourceGroupName, string serverName, string administratorName, Microsoft.Azure.Management.Sql.LegacySdk.Models.ServerAdministratorCreateOrUpdateParameters parameters);
static member CreateOrUpdateAsync : 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 CreateOrUpdateAsync (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 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.