Sdílet prostřednictvím


MockableConsumptionArmClient.GetReservationOrderConsumptionResource Method

Definition

Gets an object representing a ReservationOrderConsumptionResource along with the instance operations that can be performed on it but with no data. You can use Azure.ResourceManager.Consumption.ReservationOrderConsumptionResource.CreateResourceIdentifier(System.String) to create a ReservationOrderConsumptionResourceResourceIdentifier from its components.

public virtual Azure.ResourceManager.Consumption.ReservationOrderConsumptionResource GetReservationOrderConsumptionResource (Azure.Core.ResourceIdentifier id);
abstract member GetReservationOrderConsumptionResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Consumption.ReservationOrderConsumptionResource
override this.GetReservationOrderConsumptionResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Consumption.ReservationOrderConsumptionResource
Public Overridable Function GetReservationOrderConsumptionResource (id As ResourceIdentifier) As ReservationOrderConsumptionResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a ReservationOrderConsumptionResource object.

Applies to