Compartilhar via


ConsumptionExtensions.GetReservationOrderConsumptionResource Método

Definição

Obtém um objeto que representa um ReservationOrderConsumptionResource junto com as operações de instância que podem ser executadas nele, mas sem dados. Você pode usar Azure.ResourceManager.Consumption.ReservationOrderConsumptionResource.CreateResourceIdentifier(System.String) para criar um ReservationOrderConsumptionResourceResourceIdentifier com base em seus componentes.

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

Parâmetros

client
ArmClient

A ArmClient instância em que o método será executado.

id
ResourceIdentifier

A ID do recurso a ser obtido.

Retornos

Retorna um objeto ReservationOrderConsumptionResource.

Aplica-se a