次の方法で共有


ISupportsListingInResourceGroupByTag<T>.ListByTagAsync メソッド

定義

指定したタグを持つすべてのリソースを一覧表示します。

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

パラメーター

resourceGroupName
String

リソースを一覧表示するリソース グループの名前。

tagName
String

タグの名前をキーとして使用する

tagValue
String

タグの値

loadAllPages
Boolean

すべてのページを読み込むには true を指定し、ページ分割された結果を取得するには false を指定します

cancellationToken
CancellationToken

cancellationToken the cancellation token

戻り値

適用対象