Condividi tramite


ApiManagementNotificationCollection Class

Definition

A class representing a collection of ApiManagementNotificationResource and their operations. Each ApiManagementNotificationResource in the collection will belong to the same instance of ApiManagementServiceResource. To get an ApiManagementNotificationCollection instance call the GetApiManagementNotifications method from an instance of ApiManagementServiceResource.

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

Constructors

ApiManagementNotificationCollection()

Initializes a new instance of the ApiManagementNotificationCollection 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, NotificationName, Nullable<ETag>, CancellationToken)

Create or Update API Management publisher notification.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}
  • Operation Id: Notification_CreateOrUpdate
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementNotificationResource
CreateOrUpdateAsync(WaitUntil, NotificationName, Nullable<ETag>, CancellationToken)

Create or Update API Management publisher notification.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}
  • Operation Id: Notification_CreateOrUpdate
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementNotificationResource
Exists(NotificationName, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}
  • Operation Id: Notification_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementNotificationResource
ExistsAsync(NotificationName, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}
  • Operation Id: Notification_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementNotificationResource
Get(NotificationName, CancellationToken)

Gets the details of the Notification specified by its identifier.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}
  • Operation Id: Notification_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementNotificationResource
GetAll(Nullable<Int32>, Nullable<Int32>, CancellationToken)

Lists a collection of properties defined within a service instance.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications
  • Operation Id: Notification_ListByService
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementNotificationResource
GetAllAsync(Nullable<Int32>, Nullable<Int32>, CancellationToken)

Lists a collection of properties defined within a service instance.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications
  • Operation Id: Notification_ListByService
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementNotificationResource
GetAsync(NotificationName, CancellationToken)

Gets the details of the Notification specified by its identifier.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}
  • Operation Id: Notification_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementNotificationResource
GetIfExists(NotificationName, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}
  • Operation Id: Notification_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementNotificationResource
GetIfExistsAsync(NotificationName, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}
  • Operation Id: Notification_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementNotificationResource
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<ApiManagementNotificationResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ApiManagementNotificationResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to