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

GalleryImagesOperationsExtensions.GetAsync 方法

定义

检索有关库映像定义的信息。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.Models.GalleryImageInner> GetAsync (this Microsoft.Azure.Management.Compute.Fluent.IGalleryImagesOperations operations, string resourceGroupName, string galleryName, string galleryImageName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Compute.Fluent.IGalleryImagesOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.Models.GalleryImageInner>
<Extension()>
Public Function GetAsync (operations As IGalleryImagesOperations, resourceGroupName As String, galleryName As String, galleryImageName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of GalleryImageInner)

参数

operations
IGalleryImagesOperations

此扩展方法的操作组。

resourceGroupName
String

资源组的名称。

galleryName
String

要从中检索映像定义的共享映像库的名称。

galleryImageName
String

要检索的库映像定义的名称。

cancellationToken
CancellationToken

取消标记。

返回

适用于