Compartir a través de


EmailServiceResourceCollection.Get(String, CancellationToken) Método

Definición

Obtenga emailService y sus propiedades.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}
  • IdEmailServices_Get de operaciones
public virtual Azure.Response<Azure.ResourceManager.Communication.EmailServiceResource> Get (string emailServiceName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Communication.EmailServiceResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Communication.EmailServiceResource>
Public Overridable Function Get (emailServiceName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of EmailServiceResource)

Parámetros

emailServiceName
String

Nombre del recurso EmailService.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

emailServiceName es una cadena vacía y se espera que no esté vacía.

emailServiceName es null.

Se aplica a