IServerKeyOperations.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 System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.ServerKeyCreateOrUpdateResponse> BeginCreateOrUpdateAsync (string resourceGroupName, string serverName, string keyName, Microsoft.Azure.Management.Sql.LegacySdk.Models.ServerKeyCreateOrUpdateParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member BeginCreateOrUpdateAsync : string * string * string * Microsoft.Azure.Management.Sql.LegacySdk.Models.ServerKeyCreateOrUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.ServerKeyCreateOrUpdateResponse>
Public Function BeginCreateOrUpdateAsync (resourceGroupName As String, serverName As String, keyName As String, parameters As ServerKeyCreateOrUpdateParameters, cancellationToken As CancellationToken) As Task(Of ServerKeyCreateOrUpdateResponse)
Parameters
- resourceGroupName
- String
The name of the Resource Group to which the server belongs.
- serverName
- String
The name of the Azure SQL Server to which to add the Server Key.
- keyName
- String
The name of the Azure SQL Server Key.
- parameters
- ServerKeyCreateOrUpdateParameters
The required parameters for createing or updating a Server Key.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
Represents the response to a Azure Sql Server Key operation request.