Compartilhar via


AuthorizationExtensions.GetEligibleChildResources 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.Pageable<Azure.ResourceManager.Authorization.Models.EligibleChildResource> GetEligibleChildResources (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier scope, string filter = default, System.Threading.CancellationToken cancellationToken = default);
static member GetEligibleChildResources : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Authorization.Models.EligibleChildResource>
<Extension()>
Public Function GetEligibleChildResources (client As ArmClient, scope As ResourceIdentifier, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(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