Delen via


NotificationHubsPrivateLinkResourceCollection Class

Definition

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

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

Constructors

NotificationHubsPrivateLinkResourceCollection()

Initializes a new instance of the NotificationHubsPrivateLinkResourceCollection 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

Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Even though this namespace requires subscription id, resource group and namespace name, it returns a constant payload (for a given namespacE) every time it's called. That's why we don't send it to the sibling RP, but process it directly in the scale unit that received the request.

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

Even though this namespace requires subscription id, resource group and namespace name, it returns a constant payload (for a given namespacE) every time it's called. That's why we don't send it to the sibling RP, but process it directly in the scale unit that received the request.

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

Even though this namespace requires subscription id, resource group and namespace name, it returns a constant payload (for a given namespacE) every time it's called. That's why we don't send it to the sibling RP, but process it directly in the scale unit that received the request.

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

Even though this namespace requires subscription id, resource group and namespace name, it returns a constant payload (for a given namespacE) every time it's called. That's why we don't send it to the sibling RP, but process it directly in the scale unit that received the request.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<NotificationHubsPrivateLinkResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to