Class PatchRequireInstruction
A precondition operation that requires a selection to be non-empty, and optionally to include an item with a specified value (useful for asserting that a value exists before attempting to update it, avoiding accidental creation). It fails if the selection is empty, or if value is provided and no item of the selection matches it.
Inherited Members
Namespace: Oci.DevopsService.Models
Assembly: OCI.DotNetSDK.Devops.dll
Syntax
public class PatchRequireInstruction : 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. |