ServerKeyOperationsExtensions.GetAsync Method

Definition

Gets an Azure Sql Server Key.

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

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 Database Server that has the key.

keyName
String

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

Returns

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

Applies to