Partilhar via


DataReplicationEmailConfigurationCollection.GetAsync 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}
  • IdEmailConfiguration_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationEmailConfigurationResource>> GetAsync (string emailConfigurationName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationEmailConfigurationResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationEmailConfigurationResource>>
Public Overridable Function GetAsync (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 era esperado que não estivesse vazio.

emailConfigurationName é nulo.

Aplica-se a