WorkspacePrivateEndpointConnectionCollection Class

Definition

A class representing a collection of WorkspacePrivateEndpointConnectionResource and their operations. Each WorkspacePrivateEndpointConnectionResource in the collection will belong to the same instance of VirtualWorkspaceResource. To get a WorkspacePrivateEndpointConnectionCollection instance call the GetWorkspacePrivateEndpointConnections method from an instance of VirtualWorkspaceResource.

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

Constructors

WorkspacePrivateEndpointConnectionCollection()

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

Approve or reject a private endpoint connection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_UpdateByWorkspace
  • Default Api Version: 2024-04-03
  • Resource: WorkspacePrivateEndpointConnectionResource
CreateOrUpdateAsync(WaitUntil, String, DesktopVirtualizationPrivateEndpointConnection, CancellationToken)

Approve or reject a private endpoint connection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_UpdateByWorkspace
  • Default Api Version: 2024-04-03
  • Resource: WorkspacePrivateEndpointConnectionResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_GetByWorkspace
  • Default Api Version: 2024-04-03
  • Resource: WorkspacePrivateEndpointConnectionResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_GetByWorkspace
  • Default Api Version: 2024-04-03
  • Resource: WorkspacePrivateEndpointConnectionResource
Get(String, CancellationToken)

Get a private endpoint connection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_GetByWorkspace
  • Default Api Version: 2024-04-03
  • Resource: WorkspacePrivateEndpointConnectionResource
GetAll(CancellationToken)

List private endpoint connections.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}/privateEndpointConnections
  • Operation Id: PrivateEndpointConnections_ListByWorkspace
  • Default Api Version: 2024-04-03
  • Resource: WorkspacePrivateEndpointConnectionResource
GetAllAsync(CancellationToken)

List private endpoint connections.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}/privateEndpointConnections
  • Operation Id: PrivateEndpointConnections_ListByWorkspace
  • Default Api Version: 2024-04-03
  • Resource: WorkspacePrivateEndpointConnectionResource
GetAsync(String, CancellationToken)

Get a private endpoint connection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_GetByWorkspace
  • Default Api Version: 2024-04-03
  • Resource: WorkspacePrivateEndpointConnectionResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_GetByWorkspace
  • Default Api Version: 2024-04-03
  • Resource: WorkspacePrivateEndpointConnectionResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_GetByWorkspace
  • Default Api Version: 2024-04-03
  • Resource: WorkspacePrivateEndpointConnectionResource
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<WorkspacePrivateEndpointConnectionResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<WorkspacePrivateEndpointConnectionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to