SuppressionListResourceCollection.Get(String, CancellationToken) Method

Definition

Get a SuppressionList resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}/suppressionLists/{suppressionListName}
  • Operation Id: SuppressionLists_Get
public virtual Azure.Response<Azure.ResourceManager.Communication.SuppressionListResource> Get (string suppressionListName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Communication.SuppressionListResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Communication.SuppressionListResource>
Public Overridable Function Get (suppressionListName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SuppressionListResource)

Parameters

suppressionListName
String

The name of the suppression list.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

suppressionListName is an empty string, and was expected to be non-empty.

suppressionListName is null.

Applies to