Compartilhar via


DataReplicationVaultResource.GetDataReplicationEmailConfigurationAsync Método

Definição

Obtém os detalhes da configuração de alerta.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/alertSettings/{emailConfigurationName}
  • Operação IdEmailConfiguration_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationEmailConfigurationResource>> GetDataReplicationEmailConfigurationAsync (string emailConfigurationName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDataReplicationEmailConfigurationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationEmailConfigurationResource>>
override this.GetDataReplicationEmailConfigurationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationEmailConfigurationResource>>
Public Overridable Function GetDataReplicationEmailConfigurationAsync (emailConfigurationName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DataReplicationEmailConfigurationResource))

Parâmetros

emailConfigurationName
String

O nome da configuração de email.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

emailConfigurationName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

emailConfigurationName é nulo.

Aplica-se a