azure.mgmt.msi.v2018_11_30.operations module
- class azure.mgmt.msi.v2018_11_30.operations.Operations(*args, **kwargs)[source]
Bases:
objectWarning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
ManagedServiceIdentityClient’soperationsattribute.- list(**kwargs: Any) ItemPaged[Operation][source]
Lists available operations for the Microsoft.ManagedIdentity provider.
- Returns:
An iterator like instance of either Operation or the result of cls(response)
- Return type:
- Raises:
- models = <module 'azure.mgmt.msi.v2018_11_30.models' from '/mnt/vss/_work/1/s/sdk/resources/azure-mgmt-msi/.tox/sphinx/lib/python3.13/site-packages/azure/mgmt/msi/v2018_11_30/models/__init__.py'>
- class azure.mgmt.msi.v2018_11_30.operations.SystemAssignedIdentitiesOperations(*args, **kwargs)[source]
Bases:
objectWarning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
ManagedServiceIdentityClient’ssystem_assigned_identitiesattribute.- get_by_scope(scope: str, **kwargs: Any) SystemAssignedIdentity[source]
Gets the systemAssignedIdentity available under the specified RP scope.
- Parameters:
scope (str) – The resource provider scope of the resource. Parent resource being extended by Managed Identities. Required.
- Returns:
SystemAssignedIdentity or the result of cls(response)
- Return type:
- Raises:
- models = <module 'azure.mgmt.msi.v2018_11_30.models' from '/mnt/vss/_work/1/s/sdk/resources/azure-mgmt-msi/.tox/sphinx/lib/python3.13/site-packages/azure/mgmt/msi/v2018_11_30/models/__init__.py'>
- class azure.mgmt.msi.v2018_11_30.operations.UserAssignedIdentitiesOperations(*args, **kwargs)[source]
Bases:
objectWarning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
ManagedServiceIdentityClient’suser_assigned_identitiesattribute.- create_or_update(resource_group_name: str, resource_name: str, parameters: Identity | IO[bytes], **kwargs: Any) Identity[source]
Create or update an identity in the specified subscription and resource group.
- Parameters:
resource_group_name (str) – The name of the Resource Group to which the identity belongs. Required.
resource_name (str) – The name of the identity resource. Required.
parameters (Identity or IO[bytes]) – Parameters to create or update the identity. Is either a Identity type or a IO[bytes] type. Required.
- Returns:
Identity or the result of cls(response)
- Return type:
- Raises:
- delete(resource_group_name: str, resource_name: str, **kwargs: Any) None[source]
Deletes the identity.
- Parameters:
- Returns:
None or the result of cls(response)
- Return type:
None
- Raises:
- get(resource_group_name: str, resource_name: str, **kwargs: Any) Identity[source]
Gets the identity.
- Parameters:
- Returns:
Identity or the result of cls(response)
- Return type:
- Raises:
- list_by_resource_group(resource_group_name: str, **kwargs: Any) ItemPaged[Identity][source]
Lists all the userAssignedIdentities available under the specified ResourceGroup.
- Parameters:
resource_group_name (str) – The name of the Resource Group to which the identity belongs. Required.
- Returns:
An iterator like instance of either Identity or the result of cls(response)
- Return type:
- Raises:
- list_by_subscription(**kwargs: Any) ItemPaged[Identity][source]
Lists all the userAssignedIdentities available under the specified subscription.
- Returns:
An iterator like instance of either Identity or the result of cls(response)
- Return type:
- Raises:
- update(resource_group_name: str, resource_name: str, parameters: IdentityUpdate | IO[bytes], **kwargs: Any) Identity[source]
Update an identity in the specified subscription and resource group.
- Parameters:
resource_group_name (str) – The name of the Resource Group to which the identity belongs. Required.
resource_name (str) – The name of the identity resource. Required.
parameters (IdentityUpdate or IO[bytes]) – Parameters to update the identity. Is either a IdentityUpdate type or a IO[bytes] type. Required.
- Returns:
Identity or the result of cls(response)
- Return type:
- Raises:
- models = <module 'azure.mgmt.msi.v2018_11_30.models' from '/mnt/vss/_work/1/s/sdk/resources/azure-mgmt-msi/.tox/sphinx/lib/python3.13/site-packages/azure/mgmt/msi/v2018_11_30/models/__init__.py'>