DomainTopicEventSubscriptionCollection Class

Definition

A class representing a collection of DomainTopicEventSubscriptionResource and their operations. Each DomainTopicEventSubscriptionResource in the collection will belong to the same instance of DomainTopicResource. To get a DomainTopicEventSubscriptionCollection instance call the GetDomainTopicEventSubscriptions method from an instance of DomainTopicResource.

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

Constructors

DomainTopicEventSubscriptionCollection()

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

Asynchronously creates a new event subscription or updates an existing event subscription.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics/{topicName}/eventSubscriptions/{eventSubscriptionName}
  • Operation Id: DomainTopicEventSubscriptions_CreateOrUpdate
  • Default Api Version: 2024-06-01-preview
  • Resource: DomainTopicEventSubscriptionResource
CreateOrUpdateAsync(WaitUntil, String, EventGridSubscriptionData, CancellationToken)

Asynchronously creates a new event subscription or updates an existing event subscription.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics/{topicName}/eventSubscriptions/{eventSubscriptionName}
  • Operation Id: DomainTopicEventSubscriptions_CreateOrUpdate
  • Default Api Version: 2024-06-01-preview
  • Resource: DomainTopicEventSubscriptionResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics/{topicName}/eventSubscriptions/{eventSubscriptionName}
  • Operation Id: DomainTopicEventSubscriptions_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: DomainTopicEventSubscriptionResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics/{topicName}/eventSubscriptions/{eventSubscriptionName}
  • Operation Id: DomainTopicEventSubscriptions_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: DomainTopicEventSubscriptionResource
Get(String, CancellationToken)

Get properties of a nested event subscription for a domain topic.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics/{topicName}/eventSubscriptions/{eventSubscriptionName}
  • Operation Id: DomainTopicEventSubscriptions_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: DomainTopicEventSubscriptionResource
GetAll(String, Nullable<Int32>, CancellationToken)

List all event subscriptions that have been created for a specific domain topic.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics/{topicName}/eventSubscriptions
  • Operation Id: DomainTopicEventSubscriptions_List
  • Default Api Version: 2024-06-01-preview
  • Resource: DomainTopicEventSubscriptionResource
GetAllAsync(String, Nullable<Int32>, CancellationToken)

List all event subscriptions that have been created for a specific domain topic.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics/{topicName}/eventSubscriptions
  • Operation Id: DomainTopicEventSubscriptions_List
  • Default Api Version: 2024-06-01-preview
  • Resource: DomainTopicEventSubscriptionResource
GetAsync(String, CancellationToken)

Get properties of a nested event subscription for a domain topic.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics/{topicName}/eventSubscriptions/{eventSubscriptionName}
  • Operation Id: DomainTopicEventSubscriptions_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: DomainTopicEventSubscriptionResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics/{topicName}/eventSubscriptions/{eventSubscriptionName}
  • Operation Id: DomainTopicEventSubscriptions_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: DomainTopicEventSubscriptionResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics/{topicName}/eventSubscriptions/{eventSubscriptionName}
  • Operation Id: DomainTopicEventSubscriptions_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: DomainTopicEventSubscriptionResource
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<DomainTopicEventSubscriptionResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<DomainTopicEventSubscriptionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to