Sdílet prostřednictvím


NotificationHubPrivateEndpointConnectionCollection Class

Definition

A class representing a collection of NotificationHubPrivateEndpointConnectionResource and their operations. Each NotificationHubPrivateEndpointConnectionResource in the collection will belong to the same instance of NotificationHubNamespaceResource. To get a NotificationHubPrivateEndpointConnectionCollection instance call the GetNotificationHubPrivateEndpointConnections method from an instance of NotificationHubNamespaceResource.

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

Constructors

NotificationHubPrivateEndpointConnectionCollection()

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

Approves or rejects Private Endpoint Connection. This is a public API that can be called directly by Notification Hubs users.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_Update
  • Default Api Version: 2023-10-01-preview
  • Resource: NotificationHubPrivateEndpointConnectionResource
CreateOrUpdateAsync(WaitUntil, String, NotificationHubPrivateEndpointConnectionData, CancellationToken)

Approves or rejects Private Endpoint Connection. This is a public API that can be called directly by Notification Hubs users.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_Update
  • Default Api Version: 2023-10-01-preview
  • Resource: NotificationHubPrivateEndpointConnectionResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_Get
  • Default Api Version: 2023-10-01-preview
  • Resource: NotificationHubPrivateEndpointConnectionResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_Get
  • Default Api Version: 2023-10-01-preview
  • Resource: NotificationHubPrivateEndpointConnectionResource
Get(String, CancellationToken)

Returns a Private Endpoint Connection with a given name. This is a public API that can be called directly by Notification Hubs users.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_Get
  • Default Api Version: 2023-10-01-preview
  • Resource: NotificationHubPrivateEndpointConnectionResource
GetAll(CancellationToken)

Returns all Private Endpoint Connections that belong to the given Notification Hubs namespace. This is a public API that can be called directly by Notification Hubs users.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/privateEndpointConnections
  • Operation Id: PrivateEndpointConnections_List
  • Default Api Version: 2023-10-01-preview
  • Resource: NotificationHubPrivateEndpointConnectionResource
GetAllAsync(CancellationToken)

Returns all Private Endpoint Connections that belong to the given Notification Hubs namespace. This is a public API that can be called directly by Notification Hubs users.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/privateEndpointConnections
  • Operation Id: PrivateEndpointConnections_List
  • Default Api Version: 2023-10-01-preview
  • Resource: NotificationHubPrivateEndpointConnectionResource
GetAsync(String, CancellationToken)

Returns a Private Endpoint Connection with a given name. This is a public API that can be called directly by Notification Hubs users.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_Get
  • Default Api Version: 2023-10-01-preview
  • Resource: NotificationHubPrivateEndpointConnectionResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_Get
  • Default Api Version: 2023-10-01-preview
  • Resource: NotificationHubPrivateEndpointConnectionResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_Get
  • Default Api Version: 2023-10-01-preview
  • Resource: NotificationHubPrivateEndpointConnectionResource
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<NotificationHubPrivateEndpointConnectionResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<NotificationHubPrivateEndpointConnectionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to