Share via


SuppressionListResourceCollection Class

Definition

A class representing a collection of SuppressionListResource and their operations. Each SuppressionListResource in the collection will belong to the same instance of CommunicationDomainResource. To get a SuppressionListResourceCollection instance call the GetSuppressionListResources method from an instance of CommunicationDomainResource.

public class SuppressionListResourceCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Communication.SuppressionListResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Communication.SuppressionListResource>
type SuppressionListResourceCollection = class
    inherit ArmCollection
    interface seq<SuppressionListResource>
    interface IEnumerable
    interface IAsyncEnumerable<SuppressionListResource>
Public Class SuppressionListResourceCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of SuppressionListResource), IEnumerable(Of SuppressionListResource)
Inheritance
SuppressionListResourceCollection
Implements

Constructors

SuppressionListResourceCollection()

Initializes a new instance of the SuppressionListResourceCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, SuppressionListResourceData, CancellationToken)

Add a new SuppressionList resource under the parent Domains resource or update an existing SuppressionList resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}/suppressionLists/{suppressionListName}
  • Operation Id: SuppressionLists_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, SuppressionListResourceData, CancellationToken)

Add a new SuppressionList resource under the parent Domains resource or update an existing SuppressionList resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}/suppressionLists/{suppressionListName}
  • Operation Id: SuppressionLists_CreateOrUpdate
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}/suppressionLists/{suppressionListName}
  • Operation Id: SuppressionLists_Get
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}/suppressionLists/{suppressionListName}
  • Operation Id: SuppressionLists_Get
Get(String, CancellationToken)

Get a SuppressionList resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}/suppressionLists/{suppressionListName}
  • Operation Id: SuppressionLists_Get
GetAll(CancellationToken)

List all suppression lists for a domains resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}/suppressionLists
  • Operation Id: SuppressionLists_ListByDomain
GetAllAsync(CancellationToken)

List all suppression lists for a domains resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}/suppressionLists
  • Operation Id: SuppressionLists_ListByDomain
GetAsync(String, CancellationToken)

Get a SuppressionList resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}/suppressionLists/{suppressionListName}
  • Operation Id: SuppressionLists_Get
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}/suppressionLists/{suppressionListName}
  • Operation Id: SuppressionLists_Get
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}/suppressionLists/{suppressionListName}
  • Operation Id: SuppressionLists_Get
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<SuppressionListResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SuppressionListResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to