你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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