CommunicationDomainResourceCollection Class

Definition

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

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

Constructors

CommunicationDomainResourceCollection()

Initializes a new instance of the CommunicationDomainResourceCollection 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, CommunicationDomainResourceData, CancellationToken)

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}
  • Operation Id: Domains_CreateOrUpdate
  • Default Api Version: 2023-04-01
  • Resource: CommunicationDomainResource
CreateOrUpdateAsync(WaitUntil, String, CommunicationDomainResourceData, CancellationToken)

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}
  • Operation Id: Domains_CreateOrUpdate
  • Default Api Version: 2023-04-01
  • Resource: CommunicationDomainResource
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}
  • Operation Id: Domains_Get
  • Default Api Version: 2023-04-01
  • Resource: CommunicationDomainResource
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}
  • Operation Id: Domains_Get
  • Default Api Version: 2023-04-01
  • Resource: CommunicationDomainResource
Get(String, CancellationToken)

Get the Domains resource and its properties.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}
  • Operation Id: Domains_Get
  • Default Api Version: 2023-04-01
  • Resource: CommunicationDomainResource
GetAll(CancellationToken)

Handles requests to list all Domains resources under the parent EmailServices resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains
  • Operation Id: Domains_ListByEmailServiceResource
  • Default Api Version: 2023-04-01
  • Resource: CommunicationDomainResource
GetAllAsync(CancellationToken)

Handles requests to list all Domains resources under the parent EmailServices resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains
  • Operation Id: Domains_ListByEmailServiceResource
  • Default Api Version: 2023-04-01
  • Resource: CommunicationDomainResource
GetAsync(String, CancellationToken)

Get the Domains resource and its properties.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}
  • Operation Id: Domains_Get
  • Default Api Version: 2023-04-01
  • Resource: CommunicationDomainResource
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}
  • Operation Id: Domains_Get
  • Default Api Version: 2023-04-01
  • Resource: CommunicationDomainResource
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}
  • Operation Id: Domains_Get
  • Default Api Version: 2023-04-01
  • Resource: CommunicationDomainResource
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<CommunicationDomainResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<CommunicationDomainResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to