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