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

ISupportsListingByResourceGroup<T>.ListByResourceGroupAsync 方法

定义

列出指定资源组中指定类型的资源。

public System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<T>> ListByResourceGroupAsync (string resourceGroupName, bool loadAllPages = true, System.Threading.CancellationToken cancellationToken = default);
abstract member ListByResourceGroupAsync : string * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<'T>>
Public Function ListByResourceGroupAsync (resourceGroupName As String, Optional loadAllPages As Boolean = true, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPagedCollection(Of T))

参数

resourceGroupName
String

要从中列出资源的资源组的名称

loadAllPages
Boolean
cancellationToken
CancellationToken

返回

资源列表

适用于