ServerKeyOperationsExtensions.CreateOrUpdateAsync Method

Definition

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

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.ServerKeyCreateOrUpdateResponse> CreateOrUpdateAsync (this Microsoft.Azure.Management.Sql.LegacySdk.IServerKeyOperations operations, string resourceGroupName, string serverName, string keyName, Microsoft.Azure.Management.Sql.LegacySdk.Models.ServerKeyCreateOrUpdateParameters parameters);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Sql.LegacySdk.IServerKeyOperations * string * string * string * Microsoft.Azure.Management.Sql.LegacySdk.Models.ServerKeyCreateOrUpdateParameters -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.ServerKeyCreateOrUpdateResponse>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IServerKeyOperations, resourceGroupName As String, serverName As String, keyName As String, parameters As ServerKeyCreateOrUpdateParameters) As Task(Of 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