Partilhar via


AuthorizationExtensions.GetEligibleChildResourcesAsync Método

Definição

Obter os recursos filho de um recurso no qual o usuário tem acesso qualificado

  • Caminho da solicitação/{scope}/providers/Microsoft.Authorization/eligibleChildResources
  • IdEligibleChildResources_Get de operação
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)

Parâmetros

client
ArmClient

A ArmClient instância na qual o método será executado.

scope
ResourceIdentifier

O escopo ao qual o recurso será aplicado.

filter
String

O filtro a ser aplicado na operação. Use $filter=resourceType+eq+'Subscription' para filtrar somente o recurso do tipo = 'Subscription'. Use $filter=resourceType+eq+'subscription'+or+resourceType+eq+'resourcegroup' para filtrar o recurso do tipo = 'Subscription' ou 'ResourceGroup'.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a