PrivateEndpointConnectionCollection Class

Definition

A class representing a collection of PrivateEndpointConnectionResource and their operations. Each PrivateEndpointConnectionResource in the collection will belong to the same instance of PrivateLinkResource. To get a PrivateEndpointConnectionCollection instance call the GetPrivateEndpointConnections method from an instance of PrivateLinkResource.

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

Constructors

Name Description
PrivateEndpointConnectionCollection()

Initializes a new instance of PrivateEndpointConnectionCollection for mocking.

Properties

Name Description
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

Name Description
CreateOrUpdate(WaitUntil, String, SecurityCenterPrivateEndpointConnectionData, CancellationToken)

Update the state of specified private endpoint connection associated with the private link. This operation is typically used to approve or reject pending private endpoint connections.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/privateLinks/{privateLinkName}/privateEndpointConnections/{privateEndpointConnectionName}.
  • Operation Id. : PrivateEndpointConnections_CreateOrUpdate.
  • Default Api Version. : 2026-01-01.
CreateOrUpdateAsync(WaitUntil, String, SecurityCenterPrivateEndpointConnectionData, CancellationToken)

Update the state of specified private endpoint connection associated with the private link. This operation is typically used to approve or reject pending private endpoint connections.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/privateLinks/{privateLinkName}/privateEndpointConnections/{privateEndpointConnectionName}.
  • Operation Id. : PrivateEndpointConnections_CreateOrUpdate.
  • Default Api Version. : 2026-01-01.
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/privateLinks/{privateLinkName}/privateEndpointConnections/{privateEndpointConnectionName}.
  • Operation Id. : PrivateEndpointConnections_Get.
  • Default Api Version. : 2026-01-01.
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/privateLinks/{privateLinkName}/privateEndpointConnections/{privateEndpointConnectionName}.
  • Operation Id. : PrivateEndpointConnections_Get.
  • Default Api Version. : 2026-01-01.
Get(String, CancellationToken)

Gets the specified private endpoint connection associated with the private link. Returns the connection details, status, and configuration for a specific private endpoint.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/privateLinks/{privateLinkName}/privateEndpointConnections/{privateEndpointConnectionName}.
  • Operation Id. : PrivateEndpointConnections_Get.
  • Default Api Version. : 2026-01-01.
GetAll(CancellationToken)

Gets all private endpoint connections for a private link. Returns the list of private endpoints that are connected or in the process of connecting to this private link.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/privateLinks/{privateLinkName}/privateEndpointConnections.
  • Operation Id. : PrivateEndpointConnections_List.
  • Default Api Version. : 2026-01-01.
GetAllAsync(CancellationToken)

Gets all private endpoint connections for a private link. Returns the list of private endpoints that are connected or in the process of connecting to this private link.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/privateLinks/{privateLinkName}/privateEndpointConnections.
  • Operation Id. : PrivateEndpointConnections_List.
  • Default Api Version. : 2026-01-01.
GetAsync(String, CancellationToken)

Gets the specified private endpoint connection associated with the private link. Returns the connection details, status, and configuration for a specific private endpoint.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/privateLinks/{privateLinkName}/privateEndpointConnections/{privateEndpointConnectionName}.
  • Operation Id. : PrivateEndpointConnections_Get.
  • Default Api Version. : 2026-01-01.
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/privateLinks/{privateLinkName}/privateEndpointConnections/{privateEndpointConnectionName}.
  • Operation Id. : PrivateEndpointConnections_Get.
  • Default Api Version. : 2026-01-01.
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/privateLinks/{privateLinkName}/privateEndpointConnections/{privateEndpointConnectionName}.
  • Operation Id. : PrivateEndpointConnections_Get.
  • Default Api Version. : 2026-01-01.
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

Name Description
IAsyncEnumerable<PrivateEndpointConnectionResource>.GetAsyncEnumerator(CancellationToken)
IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<PrivateEndpointConnectionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Extension Methods

Name Description
ArrayContainsAll<T>(IEnumerable<T>, Object[])

Returns whether all values are present in the array.

ArrayContainsAny<T>(IEnumerable<T>, Object[])

Returns whether any values are present in the array.

Applies to