DomainTopicCollection Class

Definition

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

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

Constructors

DomainTopicCollection()

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

Asynchronously creates or updates a new domain topic with the specified parameters.

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

Asynchronously creates or updates a new domain topic with the specified parameters.

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Get properties of a domain topic.

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

List all the topics in a domain.

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

List all the topics in a domain.

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

Get properties of a domain topic.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<DomainTopicResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to