BulkEditSecurityAttributeOperationDetails¶
-
class
oci.security_attribute.models.
BulkEditSecurityAttributeOperationDetails
(**kwargs)¶ Bases:
object
BulkEditSecurityAttributeOperationDetails model.
Attributes
OPERATION_TYPE_ADD_OR_SET
A constant which can be used with the operation_type property of a BulkEditSecurityAttributeOperationDetails. OPERATION_TYPE_ADD_WHERE_ABSENT
A constant which can be used with the operation_type property of a BulkEditSecurityAttributeOperationDetails. OPERATION_TYPE_REMOVE
A constant which can be used with the operation_type property of a BulkEditSecurityAttributeOperationDetails. OPERATION_TYPE_SET_WHERE_PRESENT
A constant which can be used with the operation_type property of a BulkEditSecurityAttributeOperationDetails. operation_type
[Required] Gets the operation_type of this BulkEditSecurityAttributeOperationDetails. security_attributes
[Required] Gets the security_attributes of this BulkEditSecurityAttributeOperationDetails. Methods
__init__
(**kwargs)Initializes a new BulkEditSecurityAttributeOperationDetails object with values from keyword arguments. -
OPERATION_TYPE_ADD_OR_SET
= 'ADD_OR_SET'¶ A constant which can be used with the operation_type property of a BulkEditSecurityAttributeOperationDetails. This constant has a value of “ADD_OR_SET”
-
OPERATION_TYPE_ADD_WHERE_ABSENT
= 'ADD_WHERE_ABSENT'¶ A constant which can be used with the operation_type property of a BulkEditSecurityAttributeOperationDetails. This constant has a value of “ADD_WHERE_ABSENT”
-
OPERATION_TYPE_REMOVE
= 'REMOVE'¶ A constant which can be used with the operation_type property of a BulkEditSecurityAttributeOperationDetails. This constant has a value of “REMOVE”
-
OPERATION_TYPE_SET_WHERE_PRESENT
= 'SET_WHERE_PRESENT'¶ A constant which can be used with the operation_type property of a BulkEditSecurityAttributeOperationDetails. This constant has a value of “SET_WHERE_PRESENT”
-
__init__
(**kwargs)¶ Initializes a new BulkEditSecurityAttributeOperationDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - operation_type (str) – The value to assign to the operation_type property of this BulkEditSecurityAttributeOperationDetails. Allowed values for this property are: “ADD_WHERE_ABSENT”, “SET_WHERE_PRESENT”, “ADD_OR_SET”, “REMOVE”
- security_attributes (dict(str, dict(str, object))) – The value to assign to the security_attributes property of this BulkEditSecurityAttributeOperationDetails.
-
operation_type
¶ [Required] Gets the operation_type of this BulkEditSecurityAttributeOperationDetails. An enum-like description of the type of operation.
- ADD_WHERE_ABSENT adds a security attribute only if it does not already exist on the resource.
- SET_WHERE_PRESENT updates the value for a security attribute only if it is present on the resource.
- ADD_OR_SET combines the first two operations to add a security attribute if it does not already exist on the resource
or update the value if it is present on the resource. * REMOVE removes the security attribute from the resource. It’s removed from the resource regardless of the value.
Allowed values for this property are: “ADD_WHERE_ABSENT”, “SET_WHERE_PRESENT”, “ADD_OR_SET”, “REMOVE”
Returns: The operation_type of this BulkEditSecurityAttributeOperationDetails. Return type: str
-
security_attributes
¶ [Required] Gets the security_attributes of this BulkEditSecurityAttributeOperationDetails. Security attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"oracle-zpr": {"td": {"value": "42", "mode": "audit"}}}
Returns: The security_attributes of this BulkEditSecurityAttributeOperationDetails. Return type: dict(str, dict(str, object))
-