次の方法で共有


IPolicyAssignments.ListByResourceAsync(String, CancellationToken) メソッド

定義

リソースのポリシー割り当てを一覧表示します。

public System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<Microsoft.Azure.Management.ResourceManager.Fluent.IPolicyAssignment>> ListByResourceAsync (string resourceId, System.Threading.CancellationToken cancellationToken = default);
abstract member ListByResourceAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<Microsoft.Azure.Management.ResourceManager.Fluent.IPolicyAssignment>>
Public Function ListByResourceAsync (resourceId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPagedCollection(Of IPolicyAssignment))

パラメーター

resourceId
String

リソース ID の値。

cancellationToken
CancellationToken

戻り値

ポリシー割り当ての一覧。

適用対象