ServerOperationsExtensions.CreateOrUpdate Method

Definition

Creates a new Azure SQL Database server.

public static Microsoft.Azure.Management.Sql.LegacySdk.Models.ServerGetResponse CreateOrUpdate (this Microsoft.Azure.Management.Sql.LegacySdk.IServerOperations operations, string resourceGroupName, string serverName, Microsoft.Azure.Management.Sql.LegacySdk.Models.ServerCreateOrUpdateParameters parameters);
static member CreateOrUpdate : Microsoft.Azure.Management.Sql.LegacySdk.IServerOperations * string * string * Microsoft.Azure.Management.Sql.LegacySdk.Models.ServerCreateOrUpdateParameters -> Microsoft.Azure.Management.Sql.LegacySdk.Models.ServerGetResponse
<Extension()>
Public Function CreateOrUpdate (operations As IServerOperations, resourceGroupName As String, serverName As String, parameters As ServerCreateOrUpdateParameters) As ServerGetResponse

Parameters

operations
IServerOperations

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

resourceGroupName
String

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

serverName
String

Required. The name of the Azure SQL Database Server on which the database is hosted.

parameters
ServerCreateOrUpdateParameters

Required. The required parameters for createing or updating a database.

Returns

Represents the response to a Get Azure Sql Database Server request.

Applies to