Share via


ComputeExtensions.GetSharedGalleries Method

Definition

Gets a collection of SharedGalleryResources in the SubscriptionResource. <item>MockingTo mock this method, please mock GetSharedGalleries(AzureLocation) instead.</item>

public static Azure.ResourceManager.Compute.SharedGalleryCollection GetSharedGalleries(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation ___location);
static member GetSharedGalleries : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation -> Azure.ResourceManager.Compute.SharedGalleryCollection
<Extension()>
Public Function GetSharedGalleries (subscriptionResource As SubscriptionResource, ___location As AzureLocation) As SharedGalleryCollection

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

___location
AzureLocation

The name of Azure region.

Returns

An object representing collection of SharedGalleryResources and their operations over a SharedGalleryResource.

Exceptions

subscriptionResource is null.

Applies to