Class DenyAssignmentPermission
java.lang.Object
com.azure.resourcemanager.authorization.models.DenyAssignmentPermission
Deny assignment permissions.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of DenyAssignmentPermission class. -
Method Summary
Modifier and TypeMethodDescriptionactions()Get the actions property: Actions to which the deny assignment does not grant access.Get the condition property: The conditions on the Deny assignment permission.Get the conditionVersion property: Version of the condition.Get the dataActions property: Data actions to which the deny assignment does not grant access.Get the notActions property: Actions to exclude from that the deny assignment does not grant access.Get the notDataActions property: Data actions to exclude from that the deny assignment does not grant access.voidvalidate()Validates the instance.withActions(List<String> actions) Set the actions property: Actions to which the deny assignment does not grant access.withCondition(String condition) Set the condition property: The conditions on the Deny assignment permission.withConditionVersion(String conditionVersion) Set the conditionVersion property: Version of the condition.withDataActions(List<String> dataActions) Set the dataActions property: Data actions to which the deny assignment does not grant access.withNotActions(List<String> notActions) Set the notActions property: Actions to exclude from that the deny assignment does not grant access.withNotDataActions(List<String> notDataActions) Set the notDataActions property: Data actions to exclude from that the deny assignment does not grant access.
-
Constructor Details
-
DenyAssignmentPermission
public DenyAssignmentPermission()Creates an instance of DenyAssignmentPermission class.
-
-
Method Details
-
actions
Get the actions property: Actions to which the deny assignment does not grant access.- Returns:
- the actions value.
-
withActions
Set the actions property: Actions to which the deny assignment does not grant access.- Parameters:
actions- the actions value to set.- Returns:
- the DenyAssignmentPermission object itself.
-
notActions
Get the notActions property: Actions to exclude from that the deny assignment does not grant access.- Returns:
- the notActions value.
-
withNotActions
Set the notActions property: Actions to exclude from that the deny assignment does not grant access.- Parameters:
notActions- the notActions value to set.- Returns:
- the DenyAssignmentPermission object itself.
-
dataActions
Get the dataActions property: Data actions to which the deny assignment does not grant access.- Returns:
- the dataActions value.
-
withDataActions
Set the dataActions property: Data actions to which the deny assignment does not grant access.- Parameters:
dataActions- the dataActions value to set.- Returns:
- the DenyAssignmentPermission object itself.
-
notDataActions
Get the notDataActions property: Data actions to exclude from that the deny assignment does not grant access.- Returns:
- the notDataActions value.
-
withNotDataActions
Set the notDataActions property: Data actions to exclude from that the deny assignment does not grant access.- Parameters:
notDataActions- the notDataActions value to set.- Returns:
- the DenyAssignmentPermission object itself.
-
condition
Get the condition property: The conditions on the Deny assignment permission. This limits the resources it applies to.- Returns:
- the condition value.
-
withCondition
Set the condition property: The conditions on the Deny assignment permission. This limits the resources it applies to.- Parameters:
condition- the condition value to set.- Returns:
- the DenyAssignmentPermission object itself.
-
conditionVersion
Get the conditionVersion property: Version of the condition.- Returns:
- the conditionVersion value.
-
withConditionVersion
Set the conditionVersion property: Version of the condition.- Parameters:
conditionVersion- the conditionVersion value to set.- Returns:
- the DenyAssignmentPermission object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-