azure.mgmt.authorization.v2018_09_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.
- 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.
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.
- 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.
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.