Show / Hide Table of Contents

Class PatchVcnReplaceInstruction

Replaces the entire value of the selected VCN IPv6 CIDR field with the specified final state. For CIDR list selections (for example, ipv6PrivateCidrBlocks, byoipv6CidrDetails), the supplied array is treated as the authoritative set of CIDRs for that field:

  • CIDRs present in both the existing list and the new list remain unchanged.
  • CIDRs present in the existing list but not in the new list are removed.
  • CIDRs present in the new list but not in the existing list are added.
Inheritance
object
PatchVcnInstruction
PatchVcnReplaceInstruction
Inherited Members
PatchVcnInstruction.Selection
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.CoreService.Models
Assembly: OCI.DotNetSDK.Core.dll
Syntax
public class PatchVcnReplaceInstruction : PatchVcnInstruction

Properties

Value

Declaration
[Required(ErrorMessage = "Value is required.")]
[JsonProperty(PropertyName = "value")]
public object Value { get; set; }
Property Value
Type Description
object

The desired final IPv6 CIDR value(s) to apply to the selected field. This field must always be a JSON object. For fields that take a single CIDR (for example, ipv6CidrBlock), specify the CIDR. For fields that take multiple CIDRs (for example, ipv6PrivateCidrBlocks,byoipv6CidrDetails), specify the full desired list. Examples:

  • { "operation": "REPLACE", "selection": "ipv6PrivateCidrBlocks", "value": { "cidrs": [ "fd00:1000:0:1::/64", "fd00:1000:0:2::/64" ] } }
  • { "operation": "REPLACE", "selection": "ipv6CidrBlock", "value": { "cidr": "2001:db8:1234:1111::/64" } }
Remarks

Required

In this article
Back to top