Share via


MockableComputeArmClient.GetSharedGalleryImageResource Method

Definition

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

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a SharedGalleryImageResource object.

Applies to