Compartir a través de


ComputeExtensions.GetGalleryResource(ArmClient, ResourceIdentifier) Método

Definición

Obtiene un objeto que representa junto GalleryResource con las operaciones de instancia que se pueden realizar en él, pero sin datos. Puede usar CreateResourceIdentifier(String, String, String) para crear un GalleryResourceResourceIdentifier a partir de sus componentes.

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

Parámetros

client
ArmClient

Instancia ArmClient en la que se ejecutará el método.

id
ResourceIdentifier

Identificador de recurso del recurso que se va a obtener.

Devoluciones

Devuelve un objeto GalleryResource.

Se aplica a