azure.mgmt.msi.v2022_01_31_preview.operations module
- class azure.mgmt.msi.v2022_01_31_preview.operations.FederatedIdentityCredentialsOperations(*args, **kwargs)[source]
Bases:
objectWarning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
ManagedServiceIdentityClient’sfederated_identity_credentialsattribute.- 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 to which the identity belongs. 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:
- Raises:
- delete(resource_group_name: str, resource_name: str, federated_identity_credential_resource_name: str, **kwargs: Any) None[source]
Deletes the federated identity credential.
- Parameters:
- Returns:
None or the result of cls(response)
- Return type:
None
- Raises:
- get(resource_group_name: str, resource_name: str, federated_identity_credential_resource_name: str, **kwargs: Any) FederatedIdentityCredential[source]
Gets the federated identity credential.
- Parameters:
- Returns:
FederatedIdentityCredential or the result of cls(response)
- Return type:
- Raises:
- 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 to which the identity belongs. 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:
- Raises:
- models = <module 'azure.mgmt.msi.v2022_01_31_preview.models' from '/mnt/vss/_work/1/s/sdk/resources/azure-mgmt-msi/.tox/sphinx/lib/python3.13/site-packages/azure/mgmt/msi/v2022_01_31_preview/models/__init__.py'>
- class azure.mgmt.msi.v2022_01_31_preview.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.v2022_01_31_preview.models' from '/mnt/vss/_work/1/s/sdk/resources/azure-mgmt-msi/.tox/sphinx/lib/python3.13/site-packages/azure/mgmt/msi/v2022_01_31_preview/models/__init__.py'>
- class azure.mgmt.msi.v2022_01_31_preview.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.v2022_01_31_preview.models' from '/mnt/vss/_work/1/s/sdk/resources/azure-mgmt-msi/.tox/sphinx/lib/python3.13/site-packages/azure/mgmt/msi/v2022_01_31_preview/models/__init__.py'>
- class azure.mgmt.msi.v2022_01_31_preview.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_associated_resources(resource_group_name: str, resource_name: str, filter: str | None = None, orderby: str | None = None, top: int | None = None, skip: int | None = None, skiptoken: str | None = None, **kwargs: Any) ItemPaged[AzureResource][source]
Lists the associated resources for this 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.
filter (str) – OData filter expression to apply to the query. Default value is None.
orderby (str) – OData orderBy expression to apply to the query. Default value is None.
top (int) – Number of records to return. Default value is None.
skip (int) – Number of records to skip. 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 AzureResource 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.v2022_01_31_preview.models' from '/mnt/vss/_work/1/s/sdk/resources/azure-mgmt-msi/.tox/sphinx/lib/python3.13/site-packages/azure/mgmt/msi/v2022_01_31_preview/models/__init__.py'>