ComputeExtensions.GetSharedGalleries Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET