UserAssignedIdentitiesOperations Class
UserAssignedIdentitiesOperations operations.
You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.
- Inheritance
-
builtins.objectUserAssignedIdentitiesOperations
Constructor
UserAssignedIdentitiesOperations(client, config, serializer, deserializer)
Parameters
- client
Client for service requests.
- config
Configuration of service client.
- serializer
An object model serializer.
- deserializer
An object model deserializer.
Variables
- models
Alias to model classes used in this operation group.
Methods
| create_or_update |
Create or update an identity in the specified subscription and resource group. |
| delete |
Deletes the identity. |
| get |
Gets the identity. |
| list_associated_resources |
Lists the associated resources for this identity. |
| list_by_resource_group |
Lists all the userAssignedIdentities available under the specified ResourceGroup. |
| list_by_subscription |
Lists all the userAssignedIdentities available under the specified subscription. |
| update |
Update an identity in the specified subscription and resource group. |
create_or_update
Create or update an identity in the specified subscription and resource group.
create_or_update(resource_group_name: str, resource_name: str, parameters: azure.mgmt.msi.models._models_py3.Identity, **kwargs: Any) -> azure.mgmt.msi.models._models_py3.Identity
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
Identity, or the result of cls(response)
Return type
Exceptions
delete
Deletes the identity.
delete(resource_group_name: str, resource_name: str, **kwargs: Any) -> None
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
None, or the result of cls(response)
Return type
Exceptions
get
Gets the identity.
get(resource_group_name: str, resource_name: str, **kwargs: Any) -> azure.mgmt.msi.models._models_py3.Identity
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
Identity, or the result of cls(response)
Return type
Exceptions
list_associated_resources
Lists the associated resources for this identity.
list_associated_resources(resource_group_name: str, resource_name: str, filter: Optional[str] = None, orderby: Optional[str] = None, top: Optional[int] = None, skip: Optional[int] = None, skiptoken: Optional[str] = None, **kwargs: Any) -> Iterable[azure.mgmt.msi.models._models_py3.AssociatedResourcesListResult]
Parameters
- skiptoken
- str
A skip token is used to continue retrieving items after an operation returns a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either AssociatedResourcesListResult or the result of cls(response)
Return type
Exceptions
list_by_resource_group
Lists all the userAssignedIdentities available under the specified ResourceGroup.
list_by_resource_group(resource_group_name: str, **kwargs: Any) -> Iterable[azure.mgmt.msi.models._models_py3.UserAssignedIdentitiesListResult]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either UserAssignedIdentitiesListResult or the result of cls(response)
Return type
Exceptions
list_by_subscription
Lists all the userAssignedIdentities available under the specified subscription.
list_by_subscription(**kwargs: Any) -> Iterable[azure.mgmt.msi.models._models_py3.UserAssignedIdentitiesListResult]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either UserAssignedIdentitiesListResult or the result of cls(response)
Return type
Exceptions
update
Update an identity in the specified subscription and resource group.
update(resource_group_name: str, resource_name: str, parameters: azure.mgmt.msi.models._models_py3.IdentityUpdate, **kwargs: Any) -> azure.mgmt.msi.models._models_py3.Identity
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
Identity, or the result of cls(response)
Return type
Exceptions
Attributes
models
models = <module 'azure.mgmt.msi.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\msi\\models\\__init__.py'>
Feedback
Submit and view feedback for