Share via


NotificationRegistrationCollection Class

Definition

A class representing a collection of NotificationRegistrationResource and their operations. Each NotificationRegistrationResource in the collection will belong to the same instance of ProviderRegistrationResource. To get a NotificationRegistrationCollection instance call the GetNotificationRegistrations method from an instance of ProviderRegistrationResource.

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

Constructors

NotificationRegistrationCollection()

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

Creates or updates a notification registration.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ProviderHub/providerRegistrations/{providerNamespace}/notificationRegistrations/{notificationRegistrationName}
  • Operation Id: NotificationRegistrations_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, NotificationRegistrationData, CancellationToken)

Creates or updates a notification registration.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ProviderHub/providerRegistrations/{providerNamespace}/notificationRegistrations/{notificationRegistrationName}
  • Operation Id: NotificationRegistrations_CreateOrUpdate
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ProviderHub/providerRegistrations/{providerNamespace}/notificationRegistrations/{notificationRegistrationName}
  • Operation Id: NotificationRegistrations_Get
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ProviderHub/providerRegistrations/{providerNamespace}/notificationRegistrations/{notificationRegistrationName}
  • Operation Id: NotificationRegistrations_Get
Get(String, CancellationToken)

Gets the notification registration details.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ProviderHub/providerRegistrations/{providerNamespace}/notificationRegistrations/{notificationRegistrationName}
  • Operation Id: NotificationRegistrations_Get
GetAll(CancellationToken)

Gets the list of the notification registrations for the given provider.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ProviderHub/providerRegistrations/{providerNamespace}/notificationRegistrations
  • Operation Id: NotificationRegistrations_ListByProviderRegistration
GetAllAsync(CancellationToken)

Gets the list of the notification registrations for the given provider.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ProviderHub/providerRegistrations/{providerNamespace}/notificationRegistrations
  • Operation Id: NotificationRegistrations_ListByProviderRegistration
GetAsync(String, CancellationToken)

Gets the notification registration details.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ProviderHub/providerRegistrations/{providerNamespace}/notificationRegistrations/{notificationRegistrationName}
  • Operation Id: NotificationRegistrations_Get
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ProviderHub/providerRegistrations/{providerNamespace}/notificationRegistrations/{notificationRegistrationName}
  • Operation Id: NotificationRegistrations_Get
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ProviderHub/providerRegistrations/{providerNamespace}/notificationRegistrations/{notificationRegistrationName}
  • Operation Id: NotificationRegistrations_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<NotificationRegistrationResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<NotificationRegistrationResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to