EligibleChildResourcesOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AuthorizationManagementClient's
<xref:eligible_child_resources> attribute.
- Inheritance
-
builtins.objectEligibleChildResourcesOperations
Constructor
EligibleChildResourcesOperations(*args, **kwargs)
Methods
get |
Get the child resources of a resource on which user has eligible access. |
get
Get the child resources of a resource on which user has eligible access.
get(scope: str, filter: str | None = None, **kwargs: Any) -> Iterable[EligibleChildResource]
Parameters
Name | Description |
---|---|
scope
Required
|
The scope of the role management policy. Required. |
filter
Required
|
The filter to apply on the operation. Use $filter=resourceType+eq+'Subscription' to filter on only resource of type = 'Subscription'. Use $filter=resourceType+eq+'subscription'+or+resourceType+eq+'resourcegroup' to filter on resource of type = 'Subscription' or 'ResourceGroup'. Default value is None. |
Keyword-Only Parameters
Name | Description |
---|---|
cls
|
A custom type or function that will be passed the direct response |
Returns
Type | Description |
---|---|
An iterator like instance of either EligibleChildResource or the result of cls(response) |
Exceptions
Type | Description |
---|---|
Attributes
models
models = <module 'azure.mgmt.authorization.v2020_10_01.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\authorization\\v2020_10_01\\models\\__init__.py'>
Azure SDK for Python