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

GalleryImageVersionCollection.Get 方法

定义

检索有关库映像版本的信息。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions/{galleryImageVersionName}
  • 操作IdGalleryImageVersions_Get
public virtual Azure.Response<Azure.ResourceManager.Compute.GalleryImageVersionResource> Get (string galleryImageVersionName, Azure.ResourceManager.Compute.Models.ReplicationStatusType? expand = default, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * Nullable<Azure.ResourceManager.Compute.Models.ReplicationStatusType> * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Compute.GalleryImageVersionResource>
override this.Get : string * Nullable<Azure.ResourceManager.Compute.Models.ReplicationStatusType> * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Compute.GalleryImageVersionResource>
Public Overridable Function Get (galleryImageVersionName As String, Optional expand As Nullable(Of ReplicationStatusType) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of GalleryImageVersionResource)

参数

galleryImageVersionName
String

要检索的库映像版本的名称。

expand
Nullable<ReplicationStatusType>

要应用于操作的 expand 表达式。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

galleryImageVersionName 是一个空字符串,预期为非空。

galleryImageVersionName 为 null。

适用于