azure.mgmt.msi.v2024_11_30.operations module

class azure.mgmt.msi.v2024_11_30.operations.FederatedIdentityCredentialsOperations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

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

create_or_update(resource_group_name: str, resource_name: str, federated_identity_credential_resource_name: str, parameters: FederatedIdentityCredential | IO[bytes], **kwargs: Any) FederatedIdentityCredential[source]

Create or update a federated identity credential under the specified user assigned identity.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • resource_name (str) – The name of the identity resource. Required.

  • federated_identity_credential_resource_name (str) – The name of the federated identity credential resource. Required.

  • parameters (FederatedIdentityCredential or IO[bytes]) – Parameters to create or update the federated identity credential. Is either a FederatedIdentityCredential type or a IO[bytes] type. Required.

Returns:

FederatedIdentityCredential or the result of cls(response)

Return type:

FederatedIdentityCredential

Raises:

HttpResponseError

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

Deletes the federated identity credential.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • resource_name (str) – The name of the identity resource. Required.

  • federated_identity_credential_resource_name (str) – The name of the federated identity credential resource. Required.

Returns:

None or the result of cls(response)

Return type:

None

Raises:

HttpResponseError

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

Gets the federated identity credential.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • resource_name (str) – The name of the identity resource. Required.

  • federated_identity_credential_resource_name (str) – The name of the federated identity credential resource. Required.

Returns:

FederatedIdentityCredential or the result of cls(response)

Return type:

FederatedIdentityCredential

Raises:

HttpResponseError

list(resource_group_name: str, resource_name: str, top: int | None = None, skiptoken: str | None = None, **kwargs: Any) ItemPaged[FederatedIdentityCredential][source]

Lists all the federated identity credentials under the specified user assigned identity.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • resource_name (str) – The name of the identity resource. Required.

  • top (int) – Number of records to return. Default value is None.

  • 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. Default value is None.

Returns:

An iterator like instance of either FederatedIdentityCredential or the result of cls(response)

Return type:

ItemPaged[FederatedIdentityCredential]

Raises:

HttpResponseError

models = <module 'azure.mgmt.msi.v2024_11_30.models' from '/mnt/vss/_work/1/s/sdk/resources/azure-mgmt-msi/.tox/sphinx/lib/python3.13/site-packages/azure/mgmt/msi/v2024_11_30/models/__init__.py'>
class azure.mgmt.msi.v2024_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.v2024_11_30.models' from '/mnt/vss/_work/1/s/sdk/resources/azure-mgmt-msi/.tox/sphinx/lib/python3.13/site-packages/azure/mgmt/msi/v2024_11_30/models/__init__.py'>
class azure.mgmt.msi.v2024_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.v2024_11_30.models' from '/mnt/vss/_work/1/s/sdk/resources/azure-mgmt-msi/.tox/sphinx/lib/python3.13/site-packages/azure/mgmt/msi/v2024_11_30/models/__init__.py'>
class azure.mgmt.msi.v2024_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.v2024_11_30.models' from '/mnt/vss/_work/1/s/sdk/resources/azure-mgmt-msi/.tox/sphinx/lib/python3.13/site-packages/azure/mgmt/msi/v2024_11_30/models/__init__.py'>