ServerKeyOperationsExtensions.CreateOrUpdate Method

Definition

Creates a new Azure SQL Server Key or updates an existing Azure SQL Server Key.

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

Parameters

operations
IServerKeyOperations

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

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 to add the Server Key.

keyName
String

Required. The name of the Azure SQL Server Key.

parameters
ServerKeyCreateOrUpdateParameters

Required. The required parameters for createing or updating a Server Key.

Returns

Represents the response to a Azure Sql Server Key operation request.

Applies to