DenyAssignment Class

Deny Assignment.

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

Inheritance
DenyAssignment

Constructor

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

Parameters

deny_assignment_name
str
Required

The display name of the deny assignment.

description
str
Required

The description of the deny assignment.

permissions
list[DenyAssignmentPermission]
Required

An array of permissions that are denied by the deny assignment.

scope
str
Required

The deny assignment scope.

do_not_apply_to_child_scopes
bool
Required

Determines if the deny assignment applies to child scopes. Default value is false.

principals
list[Principal]
Required

Array of principals to which the deny assignment applies.

exclude_principals
list[Principal]
Required

Array of principals to which the deny assignment does not apply.

is_system_protected
bool
Required

Specifies whether this deny assignment was created by Azure and cannot be edited or deleted.

Variables

id
str

The deny assignment ID.

name
str

The deny assignment name.

type
str

The deny assignment type.