DenyAssignmentPermission Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. models. DenyAssignmentPermission
- com.
Implements
public final class DenyAssignmentPermission
implements JsonSerializable<DenyAssignmentPermission>
Deny assignment permissions.
Constructor Summary
| Constructor | Description |
|---|---|
| DenyAssignmentPermission() |
Creates an instance of Deny |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| List<String> |
actions()
Get the actions property: Actions to which the deny assignment does not grant access. |
| String |
condition()
Get the condition property: The conditions on the Deny assignment permission. |
| String |
conditionVersion()
Get the condition |
| List<String> |
dataActions()
Get the data |
|
static
Deny |
fromJson(JsonReader jsonReader)
Reads an instance of Deny |
| List<String> |
notActions()
Get the not |
| List<String> |
notDataActions()
Get the not |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Deny |
withActions(List<String> actions)
Set the actions property: Actions to which the deny assignment does not grant access. |
|
Deny |
withCondition(String condition)
Set the condition property: The conditions on the Deny assignment permission. |
|
Deny |
withConditionVersion(String conditionVersion)
Set the condition |
|
Deny |
withDataActions(List<String> dataActions)
Set the data |
|
Deny |
withNotActions(List<String> notActions)
Set the not |
|
Deny |
withNotDataActions(List<String> notDataActions)
Set the not |
Methods inherited from java.lang.Object
Constructor Details
DenyAssignmentPermission
public DenyAssignmentPermission()
Creates an instance of DenyAssignmentPermission class.
Method Details
actions
public List<String> actions()
Get the actions property: Actions to which the deny assignment does not grant access.
Returns:
condition
public String condition()
Get the condition property: The conditions on the Deny assignment permission. This limits the resources it applies to.
Returns:
conditionVersion
public String conditionVersion()
Get the conditionVersion property: Version of the condition.
Returns:
dataActions
public List<String> dataActions()
Get the dataActions property: Data actions to which the deny assignment does not grant access.
Returns:
fromJson
public static DenyAssignmentPermission fromJson(JsonReader jsonReader)
Reads an instance of DenyAssignmentPermission from the JsonReader.
Parameters:
Returns:
Throws:
notActions
public List<String> notActions()
Get the notActions property: Actions to exclude from that the deny assignment does not grant access.
Returns:
notDataActions
public List<String> notDataActions()
Get the notDataActions property: Data actions to exclude from that the deny assignment does not grant access.
Returns:
toJson
validate
public void validate()
Validates the instance.
withActions
public DenyAssignmentPermission withActions(List<String> actions)
Set the actions property: Actions to which the deny assignment does not grant access.
Parameters:
Returns:
withCondition
public DenyAssignmentPermission withCondition(String condition)
Set the condition property: The conditions on the Deny assignment permission. This limits the resources it applies to.
Parameters:
Returns:
withConditionVersion
public DenyAssignmentPermission withConditionVersion(String conditionVersion)
Set the conditionVersion property: Version of the condition.
Parameters:
Returns:
withDataActions
public DenyAssignmentPermission withDataActions(List<String> dataActions)
Set the dataActions property: Data actions to which the deny assignment does not grant access.
Parameters:
Returns:
withNotActions
public DenyAssignmentPermission withNotActions(List<String> notActions)
Set the notActions property: Actions to exclude from that the deny assignment does not grant access.
Parameters:
Returns:
withNotDataActions
public DenyAssignmentPermission withNotDataActions(List<String> notDataActions)
Set the notDataActions property: Data actions to exclude from that the deny assignment does not grant access.
Parameters:
Returns: