Share via


ComputeExtensions.GetProximityPlacementGroupResource Method

Definition

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

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

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a ProximityPlacementGroupResource object.

Exceptions

client is null.

Applies to