ServerKeyOperationsExtensions.BeginCreateOrUpdate Method

Definition

Begins creating a new Azure SQL Server Key or updating an existing Azure SQL Server Key. To determine the status of the operation call GetCreateOrUpdateOperationStatus.

public static Microsoft.Azure.Management.Sql.LegacySdk.Models.ServerKeyCreateOrUpdateResponse BeginCreateOrUpdate (this Microsoft.Azure.Management.Sql.LegacySdk.IServerKeyOperations operations, string resourceGroupName, string serverName, string keyName, Microsoft.Azure.Management.Sql.LegacySdk.Models.ServerKeyCreateOrUpdateParameters parameters);
static member BeginCreateOrUpdate : 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 BeginCreateOrUpdate (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