Class PatchProhibitInstruction
A precondition operation that requires a selection to be empty, or optionally to be non-empty but include no item with a specified value (useful for asserting that a value does not exist before attempting to create it, avoiding accidental update). It fails if value is provided and the selection includes an item matching it, or if value is not provided and the selection is not empty, but ignores NOT_FOUND exceptions.
Inherited Members
Namespace: Oci.DemandsignalService.Models
Assembly: OCI.DotNetSDK.Demandsignal.dll
Syntax
public class PatchProhibitInstruction : PatchInstruction
Properties
Value
Declaration
[JsonProperty(PropertyName = "value")]
public object Value { get; set; }
Property Value
Type | Description |
---|---|
object | A value to be compared against each item of the selection. If this value is an object, then it matches any item that would be unaffected by applying this value as a merge operation. Otherwise, it matches any item to which it is equal according to the rules of JSON Schema. |