Share via


DesktopVirtualizationExtensions.GetHostPoolPrivateEndpointConnectionResource Method

Definition

Gets an object representing a HostPoolPrivateEndpointConnectionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a HostPoolPrivateEndpointConnectionResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetHostPoolPrivateEndpointConnectionResource(ResourceIdentifier) instead.

public static Azure.ResourceManager.DesktopVirtualization.HostPoolPrivateEndpointConnectionResource GetHostPoolPrivateEndpointConnectionResource (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id);
static member GetHostPoolPrivateEndpointConnectionResource : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.DesktopVirtualization.HostPoolPrivateEndpointConnectionResource
<Extension()>
Public Function GetHostPoolPrivateEndpointConnectionResource (client As ArmClient, id As ResourceIdentifier) As HostPoolPrivateEndpointConnectionResource

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a HostPoolPrivateEndpointConnectionResource object.

Exceptions

client is null.

Applies to