Compartilhar via


ComputeExtensions.GetCapacityReservationGroupResource Método

Definição

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

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

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

Aplica-se a