Partilhar via


DataReplicationEmailConfigurationCollection.Get 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 Azure.Response<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationEmailConfigurationResource> Get (string emailConfigurationName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationEmailConfigurationResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationEmailConfigurationResource>
Public Overridable Function Get (emailConfigurationName As String, Optional cancellationToken As CancellationToken = Nothing) As 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