Udostępnij za pośrednictwem


HybridComputeExtensions.GetHybridComputePrivateLinkResource Method

Definition

Gets an object representing a HybridComputePrivateLinkResource 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 HybridComputePrivateLinkResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetHybridComputePrivateLinkResource(ResourceIdentifier) instead.

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

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a HybridComputePrivateLinkResource object.

Exceptions

client is null.

Applies to