MockableComputeArmClient.GetCapacityReservationResource Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The resource ID of the resource to get.
Returns
Returns a CapacityReservationResource object.