azure.mgmt.authorization.v2018_07_01_preview.models module

class azure.mgmt.authorization.v2018_07_01_preview.models.DenyAssignment(*, deny_assignment_name: Optional[str] = None, description: Optional[str] = None, permissions: Optional[List[_models.DenyAssignmentPermission]] = None, scope: Optional[str] = None, do_not_apply_to_child_scopes: Optional[bool] = None, principals: Optional[List[_models.Principal]] = None, exclude_principals: Optional[List[_models.Principal]] = None, is_system_protected: Optional[bool] = None, **kwargs: Any)[source]

Bases: azure.mgmt.authorization._serialization.Model

Deny Assignment.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • id (str) – The deny assignment ID.

  • name (str) – The deny assignment name.

  • type (str) – The deny assignment type.

  • deny_assignment_name (str) – The display name of the deny assignment.

  • description (str) – The description of the deny assignment.

  • permissions (list[DenyAssignmentPermission]) – An array of permissions that are denied by the deny assignment.

  • scope (str) – The deny assignment scope.

  • do_not_apply_to_child_scopes (bool) – Determines if the deny assignment applies to child scopes. Default value is false.

  • principals (list[Principal]) – Array of principals to which the deny assignment applies.

  • exclude_principals (list[Principal]) – Array of principals to which the deny assignment does not apply.

  • is_system_protected (bool) – Specifies whether this deny assignment was created by Azure and cannot be edited or deleted.

Keyword Arguments
  • deny_assignment_name (str) – The display name of the deny assignment.

  • description (str) – The description of the deny assignment.

  • permissions (list[DenyAssignmentPermission]) – An array of permissions that are denied by the deny assignment.

  • scope (str) – The deny assignment scope.

  • do_not_apply_to_child_scopes (bool) – Determines if the deny assignment applies to child scopes. Default value is false.

  • principals (list[Principal]) – Array of principals to which the deny assignment applies.

  • exclude_principals (list[Principal]) – Array of principals to which the deny assignment does not apply.

  • is_system_protected (bool) – Specifies whether this deny assignment was created by Azure and cannot be edited or deleted.

class azure.mgmt.authorization.v2018_07_01_preview.models.DenyAssignmentFilter(*, deny_assignment_name: Optional[str] = None, principal_id: Optional[str] = None, gdpr_export_principal_id: Optional[str] = None, **kwargs: Any)[source]

Bases: azure.mgmt.authorization._serialization.Model

Deny Assignments filter.

Variables
  • deny_assignment_name (str) – Return deny assignment with specified name.

  • principal_id (str) – Return all deny assignments where the specified principal is listed in the principals list of deny assignments.

  • gdpr_export_principal_id (str) – Return all deny assignments where the specified principal is listed either in the principals list or exclude principals list of deny assignments.

Keyword Arguments
  • deny_assignment_name (str) – Return deny assignment with specified name.

  • principal_id (str) – Return all deny assignments where the specified principal is listed in the principals list of deny assignments.

  • gdpr_export_principal_id (str) – Return all deny assignments where the specified principal is listed either in the principals list or exclude principals list of deny assignments.

class azure.mgmt.authorization.v2018_07_01_preview.models.DenyAssignmentListResult(*, value: Optional[List[_models.DenyAssignment]] = None, next_link: Optional[str] = None, **kwargs: Any)[source]

Bases: azure.mgmt.authorization._serialization.Model

Deny assignment list operation result.

Variables
  • value (list[DenyAssignment]) – Deny assignment list.

  • next_link (str) – The URL to use for getting the next set of results.

Keyword Arguments
  • value (list[DenyAssignment]) – Deny assignment list.

  • next_link (str) – The URL to use for getting the next set of results.

class azure.mgmt.authorization.v2018_07_01_preview.models.DenyAssignmentPermission(*, actions: Optional[List[str]] = None, not_actions: Optional[List[str]] = None, data_actions: Optional[List[str]] = None, not_data_actions: Optional[List[str]] = None, **kwargs: Any)[source]

Bases: azure.mgmt.authorization._serialization.Model

Deny assignment permissions.

Variables
  • actions (list[str]) – Actions to which the deny assignment does not grant access.

  • not_actions (list[str]) – Actions to exclude from that the deny assignment does not grant access.

  • data_actions (list[str]) – Data actions to which the deny assignment does not grant access.

  • not_data_actions (list[str]) – Data actions to exclude from that the deny assignment does not grant access.

Keyword Arguments
  • actions (list[str]) – Actions to which the deny assignment does not grant access.

  • not_actions (list[str]) – Actions to exclude from that the deny assignment does not grant access.

  • data_actions (list[str]) – Data actions to which the deny assignment does not grant access.

  • not_data_actions (list[str]) – Data actions to exclude from that the deny assignment does not grant access.

class azure.mgmt.authorization.v2018_07_01_preview.models.ErrorAdditionalInfo(**kwargs: Any)[source]

Bases: azure.mgmt.authorization._serialization.Model

The resource management error additional info.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • type (str) – The additional info type.

  • info (JSON) – The additional info.

class azure.mgmt.authorization.v2018_07_01_preview.models.ErrorDetail(**kwargs: Any)[source]

Bases: azure.mgmt.authorization._serialization.Model

The error detail.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
class azure.mgmt.authorization.v2018_07_01_preview.models.ErrorResponse(*, error: Optional[_models.ErrorDetail] = None, **kwargs: Any)[source]

Bases: azure.mgmt.authorization._serialization.Model

Common 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.

class azure.mgmt.authorization.v2018_07_01_preview.models.Principal(*, id: Optional[str] = None, display_name: Optional[str] = None, type: Optional[str] = None, email: Optional[str] = None, **kwargs: Any)[source]

Bases: azure.mgmt.authorization._serialization.Model

The name of the entity last modified it.

Variables
  • id (str) – The id of the principal made changes.

  • display_name (str) – The name of the principal made changes.

  • type (str) – Type of principal such as user , group etc.

  • email (str) – Email of principal.

Keyword Arguments
  • id (str) – The id of the principal made changes.

  • display_name (str) – The name of the principal made changes.

  • type (str) – Type of principal such as user , group etc.

  • email (str) – Email of principal.