MockableComputeArmClient.GetCapacityReservationResource Method

Definition

Gets an object representing a CapacityReservationResource 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 CapacityReservationResourceResourceIdentifier from its components.

public virtual Azure.ResourceManager.Compute.CapacityReservationResource GetCapacityReservationResource (Azure.Core.ResourceIdentifier id);
abstract member GetCapacityReservationResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Compute.CapacityReservationResource
override this.GetCapacityReservationResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Compute.CapacityReservationResource
Public Overridable Function GetCapacityReservationResource (id As ResourceIdentifier) As CapacityReservationResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a CapacityReservationResource object.

Applies to