CommunicationDomainResource.GetSuppressionListResource Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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> GetSuppressionListResource(string suppressionListName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSuppressionListResource : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Communication.SuppressionListResource>
override this.GetSuppressionListResource : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Communication.SuppressionListResource>
Public Overridable Function GetSuppressionListResource (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 null.
suppressionListName
is an empty string, and was expected to be non-empty.