ComputeExtensions.GetCapacityReservationResource Método

Definição

Obtém um objeto que representa um CapacityReservationResource junto com as operações de instância que podem ser executadas nele, mas sem dados. Você pode usar CreateResourceIdentifier(String, String, String, String) para criar um CapacityReservationResourceResourceIdentifier de seus componentes.

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

Parâmetros

client
ArmClient

A ArmClient instância na qual o método será executado.

id
ResourceIdentifier

A ID do recurso a ser obtido.

Retornos

Retorna um objeto CapacityReservationResource.

Aplica-se a