Share via


MockableComputeArmClient.GetGalleryResource(ResourceIdentifier) Method

Definition

Gets an object representing a GalleryResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a GalleryResourceResourceIdentifier from its components.

public virtual Azure.ResourceManager.Compute.GalleryResource GetGalleryResource (Azure.Core.ResourceIdentifier id);
abstract member GetGalleryResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Compute.GalleryResource
override this.GetGalleryResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Compute.GalleryResource
Public Overridable Function GetGalleryResource (id As ResourceIdentifier) As GalleryResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a GalleryResource object.

Applies to