ComputeExtensions.GetSharedGalleries Method

Definition

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

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

Resource location.

Returns

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

Exceptions

subscriptionResource is null.

Applies to