Show / Hide Table of Contents

Class BulkEditSecurityAttributeOperationDetails

Inheritance
object
BulkEditSecurityAttributeOperationDetails
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.SecurityattributeService.Models
Assembly: OCI.DotNetSDK.Securityattribute.dll
Syntax
public class BulkEditSecurityAttributeOperationDetails

Properties

OperationType

Declaration
[Required(ErrorMessage = "OperationType is required.")]
[JsonProperty(PropertyName = "operationType")]
[JsonConverter(typeof(StringEnumConverter))]
public BulkEditSecurityAttributeOperationDetails.OperationTypeEnum? OperationType { get; set; }
Property Value
Type Description
BulkEditSecurityAttributeOperationDetails.OperationTypeEnum?

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

Required

SecurityAttributes

Declaration
[Required(ErrorMessage = "SecurityAttributes is required.")]
[JsonProperty(PropertyName = "securityAttributes")]
public Dictionary<string, Dictionary<string, object>> SecurityAttributes { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

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"}}}

Remarks

Required

In this article
Back to top