Share via


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

ComputePrivateEndpointConnectionCollection()

Initializes a new instance of the ComputePrivateEndpointConnectionCollection 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, 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: DiskAccesses_UpdateAPrivateEndpointConnection
  • Default Api Version: 2024-03-02
  • Resource: ComputePrivateEndpointConnectionResource
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: DiskAccesses_UpdateAPrivateEndpointConnection
  • Default Api Version: 2024-03-02
  • Resource: ComputePrivateEndpointConnectionResource
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: DiskAccesses_GetAPrivateEndpointConnection
  • Default Api Version: 2024-03-02
  • Resource: ComputePrivateEndpointConnectionResource
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: DiskAccesses_GetAPrivateEndpointConnection
  • Default Api Version: 2024-03-02
  • Resource: ComputePrivateEndpointConnectionResource
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: DiskAccesses_GetAPrivateEndpointConnection
  • Default Api Version: 2024-03-02
  • Resource: ComputePrivateEndpointConnectionResource
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: DiskAccesses_ListPrivateEndpointConnections
  • Default Api Version: 2024-03-02
  • Resource: ComputePrivateEndpointConnectionResource
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: DiskAccesses_ListPrivateEndpointConnections
  • Default Api Version: 2024-03-02
  • Resource: ComputePrivateEndpointConnectionResource
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: DiskAccesses_GetAPrivateEndpointConnection
  • Default Api Version: 2024-03-02
  • Resource: ComputePrivateEndpointConnectionResource
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: DiskAccesses_GetAPrivateEndpointConnection
  • Default Api Version: 2024-03-02
  • Resource: ComputePrivateEndpointConnectionResource
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: DiskAccesses_GetAPrivateEndpointConnection
  • Default Api Version: 2024-03-02
  • Resource: ComputePrivateEndpointConnectionResource
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<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.

Applies to