NamespaceTopicEventSubscriptionCollection Class

Definition

A class representing a collection of NamespaceTopicEventSubscriptionResource and their operations. Each NamespaceTopicEventSubscriptionResource in the collection will belong to the same instance of NamespaceTopicResource. To get a NamespaceTopicEventSubscriptionCollection instance call the GetNamespaceTopicEventSubscriptions method from an instance of NamespaceTopicResource.

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

Constructors

NamespaceTopicEventSubscriptionCollection()

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

Asynchronously creates or updates an event subscription of a namespace topic with the specified parameters. Existing event subscriptions will be updated with this API.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/namespaces/{namespaceName}/topics/{topicName}/eventSubscriptions/{eventSubscriptionName}
  • Operation Id: NamespaceTopicEventSubscriptions_CreateOrUpdate
  • Default Api Version: 2024-06-01-preview
  • Resource: NamespaceTopicEventSubscriptionResource
CreateOrUpdateAsync(WaitUntil, String, NamespaceTopicEventSubscriptionData, CancellationToken)

Asynchronously creates or updates an event subscription of a namespace topic with the specified parameters. Existing event subscriptions will be updated with this API.

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Get properties of an event subscription of a namespace topic.

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

List event subscriptions that belong to a specific namespace topic.

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

List event subscriptions that belong to a specific namespace topic.

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

Get properties of an event subscription of a namespace topic.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<NamespaceTopicEventSubscriptionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to