Partilhar via


ConsumptionExtensions.GetReservationConsumptionResource Método

Definição

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

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

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 ReservationConsumptionResource.

Aplica-se a