azure.mgmt.msi.v2018_11_30.operations module

class azure.mgmt.msi.v2018_11_30.operations.Operations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through ManagedServiceIdentityClient’s operations attribute.

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:

ItemPaged[Operation]

Raises:

HttpResponseError

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: object

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through ManagedServiceIdentityClient’s system_assigned_identities attribute.

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:

SystemAssignedIdentity

Raises:

HttpResponseError

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: object

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through ManagedServiceIdentityClient’s user_assigned_identities attribute.

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:

Identity

Raises:

HttpResponseError

delete(resource_group_name: str, resource_name: str, **kwargs: Any) None[source]

Deletes the identity.

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.

Returns:

None or the result of cls(response)

Return type:

None

Raises:

HttpResponseError

get(resource_group_name: str, resource_name: str, **kwargs: Any) Identity[source]

Gets the identity.

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.

Returns:

Identity or the result of cls(response)

Return type:

Identity

Raises:

HttpResponseError

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:

ItemPaged[Identity]

Raises:

HttpResponseError

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:

ItemPaged[Identity]

Raises:

HttpResponseError

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:

Identity

Raises:

HttpResponseError

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'>