次の方法で共有


AuthorizationExtensions.GetEligibleChildResourcesAsync メソッド

定義

ユーザーが適格なアクセス権を持つリソースの子リソースを取得する

  • 要求パス/{scope}/providers/Microsoft.Authorization/eligibleChildResources
  • 操作IdEligibleChildResources_Get
public static Azure.AsyncPageable<Azure.ResourceManager.Authorization.Models.EligibleChildResource> GetEligibleChildResourcesAsync (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier scope, string filter = default, System.Threading.CancellationToken cancellationToken = default);
static member GetEligibleChildResourcesAsync : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Authorization.Models.EligibleChildResource>
<Extension()>
Public Function GetEligibleChildResourcesAsync (client As ArmClient, scope As ResourceIdentifier, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of EligibleChildResource)

パラメーター

client
ArmClient

ArmClientメソッドが実行するインスタンス。

scope
ResourceIdentifier

リソースが適用するスコープ。

filter
String

操作に適用するフィルター。 $filter=resourceType+eq+'Subscription' を使用して、型 = 'Subscription' のリソースのみをフィルター処理します。 $filter=resourceType+eq+'subscription'+または+resourceType+eq+'resourcegroup' を使用して、型 = 'Subscription' または 'ResourceGroup' のリソースをフィルター処理します。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

適用対象