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

SharedGalleryImageVersionCollection.GetAll 方法

定义

按订阅 ID 或租户 ID 列出共享库映像版本。

  • Request Path/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images/{galleryImageName}/versions
  • 操作IdSharedGalleryImageVersions_List
public virtual Azure.Pageable<Azure.ResourceManager.Compute.SharedGalleryImageVersionResource> GetAll (Azure.ResourceManager.Compute.Models.SharedToValue? sharedTo = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : Nullable<Azure.ResourceManager.Compute.Models.SharedToValue> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Compute.SharedGalleryImageVersionResource>
override this.GetAll : Nullable<Azure.ResourceManager.Compute.Models.SharedToValue> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Compute.SharedGalleryImageVersionResource>
Public Overridable Function GetAll (Optional sharedTo As Nullable(Of SharedToValue) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SharedGalleryImageVersionResource)

参数

sharedTo
Nullable<SharedToValue>

用于确定在执行列出操作时要提取的共享库的查询参数。

cancellationToken
CancellationToken

要使用的取消标记。

返回

可能需要多个服务请求来循环访问的 的 SharedGalleryImageVersionResource 集合。

适用于