Udostępnij za pośrednictwem


MongoClusterPrivateEndpointConnectionResourceCollection Class

Definition

A class representing a collection of MongoClusterPrivateEndpointConnectionResource and their operations. Each MongoClusterPrivateEndpointConnectionResource in the collection will belong to the same instance of MongoClusterResource. To get a MongoClusterPrivateEndpointConnectionResourceCollection instance call the GetMongoClusterPrivateEndpointConnectionResources method from an instance of MongoClusterResource.

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

Constructors

MongoClusterPrivateEndpointConnectionResourceCollection()

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

Create a Private endpoint connection

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_Create
  • Default Api Version: 2024-07-01
  • Resource: MongoClusterPrivateEndpointConnectionResource
CreateOrUpdateAsync(WaitUntil, String, MongoClusterPrivateEndpointConnectionResourceData, CancellationToken)

Create a Private endpoint connection

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_Create
  • Default Api Version: 2024-07-01
  • Resource: MongoClusterPrivateEndpointConnectionResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_Get
  • Default Api Version: 2024-07-01
  • Resource: MongoClusterPrivateEndpointConnectionResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_Get
  • Default Api Version: 2024-07-01
  • Resource: MongoClusterPrivateEndpointConnectionResource
Get(String, CancellationToken)

Get a specific private connection

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_Get
  • Default Api Version: 2024-07-01
  • Resource: MongoClusterPrivateEndpointConnectionResource
GetAll(CancellationToken)

List existing private connections

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/privateEndpointConnections
  • Operation Id: PrivateEndpointConnectionResource_ListByMongoCluster
  • Default Api Version: 2024-07-01
  • Resource: MongoClusterPrivateEndpointConnectionResource
GetAllAsync(CancellationToken)

List existing private connections

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/privateEndpointConnections
  • Operation Id: PrivateEndpointConnectionResource_ListByMongoCluster
  • Default Api Version: 2024-07-01
  • Resource: MongoClusterPrivateEndpointConnectionResource
GetAsync(String, CancellationToken)

Get a specific private connection

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_Get
  • Default Api Version: 2024-07-01
  • Resource: MongoClusterPrivateEndpointConnectionResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_Get
  • Default Api Version: 2024-07-01
  • Resource: MongoClusterPrivateEndpointConnectionResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<MongoClusterPrivateEndpointConnectionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to