IServerKeyOperations.GetAsync Method

Definition

Gets an Azure Sql Server Key.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.ServerKeyGetResponse> GetAsync (string resourceGroupName, string serverName, string keyName, System.Threading.CancellationToken cancellationToken);
abstract member GetAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.ServerKeyGetResponse>
Public Function GetAsync (resourceGroupName As String, serverName As String, keyName As String, cancellationToken As CancellationToken) As Task(Of ServerKeyGetResponse)

Parameters

resourceGroupName
String

The name of the Resource Group to which the server belongs.

serverName
String

The name of the Azure SQL Database Server that has the key.

keyName
String

The name of the Azure Key Vault Key to be retrieved from the Azure SQL Database Server.

cancellationToken
CancellationToken

Cancellation token.

Returns

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

Applies to