Compartilhar via


EncryptionProtectorCollection.GetIfExistsAsync Método

Definição

Tenta obter detalhes desse recurso do serviço.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/encryptionProtector/{encryptionProtectorName}
  • IdEncryptionProtectors_Get de operação
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Sql.EncryptionProtectorResource>> GetIfExistsAsync (Azure.ResourceManager.Sql.Models.EncryptionProtectorName encryptionProtectorName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : Azure.ResourceManager.Sql.Models.EncryptionProtectorName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Sql.EncryptionProtectorResource>>
override this.GetIfExistsAsync : Azure.ResourceManager.Sql.Models.EncryptionProtectorName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Sql.EncryptionProtectorResource>>
Public Overridable Function GetIfExistsAsync (encryptionProtectorName As EncryptionProtectorName, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of EncryptionProtectorResource))

Parâmetros

encryptionProtectorName
EncryptionProtectorName

O nome do protetor de criptografia a ser recuperado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a