azure.mgmt.authorization.v2020_04_01_preview.models module¶
Bases:
azure.mgmt.authorization._serialization.ModelThe resource management error additional info.
Variables are only populated by the server, and will be ignored when sending a request.
Bases:
azure.mgmt.authorization._serialization.ModelThe error detail.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
message (str) – The error message.
target (str) – The error target.
details (list[ErrorDetail]) – The error details.
additional_info (list[ErrorAdditionalInfo]) – The error additional info.
Bases:
azure.mgmt.authorization._serialization.ModelCommon error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).
- Variables
error (ErrorDetail) – The error object.
- Keyword Arguments
error (ErrorDetail) – The error object.
Bases:
azure.mgmt.authorization._serialization.ModelRole Assignments.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
name (str) – The role assignment name.
scope (str) – The role assignment scope.
role_definition_id (str) – The role definition ID.
principal_id (str) – The principal ID.
principal_type (str or PrincipalType) – The principal type of the assigned principal ID. Known values are: “User”, “Group”, “ServicePrincipal”, and “ForeignGroup”.
can_delegate (bool) – The Delegation flag for the role assignment.
description (str) – Description of role assignment.
condition (str) – The conditions on the role assignment. This limits the resources it can be assigned to. e.g.: @Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName] StringEqualsIgnoreCase ‘foo_storage_container’.
condition_version (str) – Version of the condition. Currently accepted value is ‘2.0’.
created_on (datetime) – Time it was created.
updated_on (datetime) – Time it was updated.
created_by (str) – Id of the user who created the assignment.
updated_by (str) – Id of the user who updated the assignment.
delegated_managed_identity_resource_id (str) – Id of the delegated managed identity resource.
- Keyword Arguments
scope (str) – The role assignment scope.
role_definition_id (str) – The role definition ID.
principal_id (str) – The principal ID.
principal_type (str or PrincipalType) – The principal type of the assigned principal ID. Known values are: “User”, “Group”, “ServicePrincipal”, and “ForeignGroup”.
can_delegate (bool) – The Delegation flag for the role assignment.
description (str) – Description of role assignment.
condition (str) – The conditions on the role assignment. This limits the resources it can be assigned to. e.g.: @Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName] StringEqualsIgnoreCase ‘foo_storage_container’.
condition_version (str) – Version of the condition. Currently accepted value is ‘2.0’.
created_on (datetime) – Time it was created.
updated_on (datetime) – Time it was updated.
created_by (str) – Id of the user who created the assignment.
updated_by (str) – Id of the user who updated the assignment.
delegated_managed_identity_resource_id (str) – Id of the delegated managed identity resource.
Bases:
azure.mgmt.authorization._serialization.ModelRole assignment create parameters.
All required parameters must be populated in order to send to Azure.
- Variables
role_definition_id (str) – The role definition ID used in the role assignment. Required.
principal_id (str) – The principal ID assigned to the role. This maps to the ID inside the Active Directory. It can point to a user, service principal, or security group. Required.
principal_type (str or PrincipalType) – The principal type of the assigned principal ID. Known values are: “User”, “Group”, “ServicePrincipal”, and “ForeignGroup”.
can_delegate (bool) – The delegation flag used for creating a role assignment.
description (str) – Description of role assignment.
condition (str) – The conditions on the role assignment. This limits the resources it can be assigned to. e.g.: @Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName] StringEqualsIgnoreCase ‘foo_storage_container’.
condition_version (str) – Version of the condition. Currently accepted value is ‘2.0’.
delegated_managed_identity_resource_id (str) – Id of the delegated managed identity resource.
- Keyword Arguments
role_definition_id (str) – The role definition ID used in the role assignment. Required.
principal_id (str) – The principal ID assigned to the role. This maps to the ID inside the Active Directory. It can point to a user, service principal, or security group. Required.
principal_type (str or PrincipalType) – The principal type of the assigned principal ID. Known values are: “User”, “Group”, “ServicePrincipal”, and “ForeignGroup”.
can_delegate (bool) – The delegation flag used for creating a role assignment.
description (str) – Description of role assignment.
condition (str) – The conditions on the role assignment. This limits the resources it can be assigned to. e.g.: @Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName] StringEqualsIgnoreCase ‘foo_storage_container’.
condition_version (str) – Version of the condition. Currently accepted value is ‘2.0’.
delegated_managed_identity_resource_id (str) – Id of the delegated managed identity resource.
Bases:
azure.mgmt.authorization._serialization.ModelRole Assignments filter.
- Variables
- Keyword Arguments
Bases:
azure.mgmt.authorization._serialization.ModelRole assignment list operation result.
- Variables
value (list[RoleAssignment]) – Role assignment list.
next_link (str) – The URL to use for getting the next set of results.
- Keyword Arguments
value (list[RoleAssignment]) – Role assignment list.
next_link (str) – The URL to use for getting the next set of results.