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

GalleryResource.GetAsync 方法

定义

检索有关共享映像库的信息。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/gallerys/{galleryName}
  • 操作IdGalleries_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.GalleryResource>> GetAsync (Azure.ResourceManager.Compute.Models.SelectPermission? select = default, Azure.ResourceManager.Compute.Models.GalleryExpand? expand = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : Nullable<Azure.ResourceManager.Compute.Models.SelectPermission> * Nullable<Azure.ResourceManager.Compute.Models.GalleryExpand> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.GalleryResource>>
override this.GetAsync : Nullable<Azure.ResourceManager.Compute.Models.SelectPermission> * Nullable<Azure.ResourceManager.Compute.Models.GalleryExpand> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.GalleryResource>>
Public Overridable Function GetAsync (Optional select As Nullable(Of SelectPermission) = Nothing, Optional expand As Nullable(Of GalleryExpand) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of GalleryResource))

参数

select
Nullable<SelectPermission>

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

expand
Nullable<GalleryExpand>

要应用于操作的展开查询选项。

cancellationToken
CancellationToken

要使用的取消标记。

返回

适用于