Share via


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

GalleriesOperationsExtensions.GetAsync 方法

定义

重载

GetAsync(IGalleriesOperations, String, String, String, String, CancellationToken)

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

GetAsync(IGalleriesOperations, String, String, String, CancellationToken)

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

GetAsync(IGalleriesOperations, String, String, CancellationToken)

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

GetAsync(IGalleriesOperations, String, String)

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

GetAsync(IGalleriesOperations, String, String, String, String, CancellationToken)

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

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

参数

operations
IGalleriesOperations

此扩展方法的操作组。

resourceGroupName
String

资源组的名称。

galleryName
String

共享映像库的名称。

select
String

要应用于操作的 select 表达式。 可能的值包括:“Permissions”

expand
String

要应用于操作的展开查询选项。 可能的值包括:“SharingProfile/Groups”

cancellationToken
CancellationToken

取消标记。

返回

适用于

GetAsync(IGalleriesOperations, String, String, String, CancellationToken)

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

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.Gallery> GetAsync (this Microsoft.Azure.Management.Compute.IGalleriesOperations operations, string resourceGroupName, string galleryName, string select, System.Threading.CancellationToken cancellationToken);
static member GetAsync : Microsoft.Azure.Management.Compute.IGalleriesOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.Gallery>
<Extension()>
Public Function GetAsync (operations As IGalleriesOperations, resourceGroupName As String, galleryName As String, select As String, cancellationToken As CancellationToken) As Task(Of Gallery)

参数

operations
IGalleriesOperations

此扩展方法的操作组。

resourceGroupName
String

资源组的名称。

galleryName
String

共享映像库的名称。

select
String

要应用于操作的 select 表达式。 可能的值包括:“Permissions”

cancellationToken
CancellationToken

取消标记。

返回

适用于

GetAsync(IGalleriesOperations, String, String, CancellationToken)

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

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.Gallery> GetAsync (this Microsoft.Azure.Management.Compute.IGalleriesOperations operations, string resourceGroupName, string galleryName, System.Threading.CancellationToken cancellationToken);
static member GetAsync : Microsoft.Azure.Management.Compute.IGalleriesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.Gallery>
<Extension()>
Public Function GetAsync (operations As IGalleriesOperations, resourceGroupName As String, galleryName As String, cancellationToken As CancellationToken) As Task(Of Gallery)

参数

operations
IGalleriesOperations

此扩展方法的操作组。

resourceGroupName
String

资源组的名称。

galleryName
String

共享映像库的名称。

cancellationToken
CancellationToken

取消标记。

返回

适用于

GetAsync(IGalleriesOperations, String, String)

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

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.Gallery> GetAsync (this Microsoft.Azure.Management.Compute.IGalleriesOperations operations, string resourceGroupName, string galleryName);
static member GetAsync : Microsoft.Azure.Management.Compute.IGalleriesOperations * string * string -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.Gallery>
<Extension()>
Public Function GetAsync (operations As IGalleriesOperations, resourceGroupName As String, galleryName As String) As Task(Of Gallery)

参数

operations
IGalleriesOperations

此扩展方法的操作组。

resourceGroupName
String

资源组的名称。

galleryName
String

共享映像库的名称。

返回

适用于