ComputePrivateEndpointConnectionCollection Class

Definition

A class representing a collection of ComputePrivateEndpointConnectionResource and their operations. Each ComputePrivateEndpointConnectionResource in the collection will belong to the same instance of DiskAccessResource. To get a ComputePrivateEndpointConnectionCollection instance call the GetComputePrivateEndpointConnections method from an instance of DiskAccessResource.

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

Constructors

Name Description
ComputePrivateEndpointConnectionCollection()

Initializes a new instance of ComputePrivateEndpointConnectionCollection 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, ComputePrivateEndpointConnectionData, CancellationToken)

Approve or reject a private endpoint connection under disk access resource, this can't be used to create a new private endpoint connection.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}/privateEndpointConnections/{privateEndpointConnectionName}.
  • Operation Id. : PrivateEndpointConnections_UpdateAPrivateEndpointConnection.
  • Default Api Version. : 2026-03-02.
CreateOrUpdateAsync(WaitUntil, String, ComputePrivateEndpointConnectionData, CancellationToken)

Approve or reject a private endpoint connection under disk access resource, this can't be used to create a new private endpoint connection.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}/privateEndpointConnections/{privateEndpointConnectionName}.
  • Operation Id. : PrivateEndpointConnections_UpdateAPrivateEndpointConnection.
  • Default Api Version. : 2026-03-02.
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}/privateEndpointConnections/{privateEndpointConnectionName}.
  • Operation Id. : PrivateEndpointConnections_GetAPrivateEndpointConnection.
  • Default Api Version. : 2026-03-02.
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}/privateEndpointConnections/{privateEndpointConnectionName}.
  • Operation Id. : PrivateEndpointConnections_GetAPrivateEndpointConnection.
  • Default Api Version. : 2026-03-02.
Get(String, CancellationToken)

Gets information about a private endpoint connection under a disk access resource.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}/privateEndpointConnections/{privateEndpointConnectionName}.
  • Operation Id. : PrivateEndpointConnections_GetAPrivateEndpointConnection.
  • Default Api Version. : 2026-03-02.
GetAll(CancellationToken)

List information about private endpoint connections under a disk access resource

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}/privateEndpointConnections.
  • Operation Id. : PrivateEndpointConnections_ListPrivateEndpointConnections.
  • Default Api Version. : 2026-03-02.
GetAllAsync(CancellationToken)

List information about private endpoint connections under a disk access resource

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}/privateEndpointConnections.
  • Operation Id. : PrivateEndpointConnections_ListPrivateEndpointConnections.
  • Default Api Version. : 2026-03-02.
GetAsync(String, CancellationToken)

Gets information about a private endpoint connection under a disk access resource.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}/privateEndpointConnections/{privateEndpointConnectionName}.
  • Operation Id. : PrivateEndpointConnections_GetAPrivateEndpointConnection.
  • Default Api Version. : 2026-03-02.
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}/privateEndpointConnections/{privateEndpointConnectionName}.
  • Operation Id. : PrivateEndpointConnections_GetAPrivateEndpointConnection.
  • Default Api Version. : 2026-03-02.
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}/privateEndpointConnections/{privateEndpointConnectionName}.
  • Operation Id. : PrivateEndpointConnections_GetAPrivateEndpointConnection.
  • Default Api Version. : 2026-03-02.
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<ComputePrivateEndpointConnectionResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ComputePrivateEndpointConnectionResource>.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