共用方式為


EventHubsPrivateEndpointConnectionCollection Class

Definition

A class representing a collection of EventHubsPrivateEndpointConnectionResource and their operations. Each EventHubsPrivateEndpointConnectionResource in the collection will belong to the same instance of EventHubsNamespaceResource. To get an EventHubsPrivateEndpointConnectionCollection instance call the GetEventHubsPrivateEndpointConnections method from an instance of EventHubsNamespaceResource.

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

Constructors

EventHubsPrivateEndpointConnectionCollection()

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

Creates or updates PrivateEndpointConnections of service namespace.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_CreateOrUpdate
  • Default Api Version: 2024-01-01
  • Resource: EventHubsPrivateEndpointConnectionResource
CreateOrUpdateAsync(WaitUntil, String, EventHubsPrivateEndpointConnectionData, CancellationToken)

Creates or updates PrivateEndpointConnections of service namespace.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_CreateOrUpdate
  • Default Api Version: 2024-01-01
  • Resource: EventHubsPrivateEndpointConnectionResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Gets a description for the specified Private Endpoint Connection name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_Get
  • Default Api Version: 2024-01-01
  • Resource: EventHubsPrivateEndpointConnectionResource
GetAll(CancellationToken)

Gets the available PrivateEndpointConnections within a namespace.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/privateEndpointConnections
  • Operation Id: PrivateEndpointConnections_List
  • Default Api Version: 2024-01-01
  • Resource: EventHubsPrivateEndpointConnectionResource
GetAllAsync(CancellationToken)

Gets the available PrivateEndpointConnections within a namespace.

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

Gets a description for the specified Private Endpoint Connection name.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<EventHubsPrivateEndpointConnectionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to