Show / Hide Table of Contents

Class UpdateSubnetDetails

Inheritance
object
UpdateSubnetDetails
Inherited Members
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 UpdateSubnetDetails

Properties

CidrBlock

Declaration
[JsonProperty(PropertyName = "cidrBlock")]
public string CidrBlock { get; set; }
Property Value
Type Description
string

The CIDR block of the subnet. The new CIDR block must meet the following criteria:

  • Must be valid.
  • The CIDR block's IP range must be completely within one of the VCN's CIDR block ranges.
  • The old and new CIDR block ranges must use the same network address. Example: 10.0.0.0/25 and 10.0.0.0/24.- Must contain all IP addresses in use in the old CIDR range.- The new CIDR range's broadcast address (last IP address of CIDR range) must not be an IP address in use in the old CIDR range.Note: If you are changing the CIDR block, you cannot create VNICs or private IPs for this resource while the update is in progress.

DefinedTags

Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}

DhcpOptionsId

Declaration
[JsonProperty(PropertyName = "dhcpOptionsId")]
public string DhcpOptionsId { get; set; }
Property Value
Type Description
string

The OCID of the set of DHCP options the subnet will use.

DisplayName

Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type Description
string

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

FreeformTags

Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type Description
Dictionary<string, string>

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}

Ipv6CidrBlock

Declaration
[JsonProperty(PropertyName = "ipv6CidrBlock")]
public string Ipv6CidrBlock { get; set; }
Property Value
Type Description
string

This is the IPv6 prefix for the subnet's IP address space. The subnet size is always /64. See IPv6 Addresses. The provided prefix must maintain the following rules -
a. The IPv6 prefix is valid and correctly formatted. b. The IPv6 prefix is within the parent VCN IPv6 range.
Example: 2001:0db8:0123:1111::/64

Ipv6CidrBlocks

Declaration
[JsonProperty(PropertyName = "ipv6CidrBlocks")]
public List<string> Ipv6CidrBlocks { get; set; }
Property Value
Type Description
List<string>

The list of all IPv6 prefixes (Oracle allocated IPv6 GUA, ULA or private IPv6 prefix, BYOIPv6 prefixes) for the subnet that meets the following criteria:

  • The prefixes must be valid.
  • Multiple prefixes must not overlap each other or the on-premises network prefix.
  • The number of prefixes must not exceed the limit of IPv6 prefixes allowed to a subnet.

RouteTableId

Declaration
[JsonProperty(PropertyName = "routeTableId")]
public string RouteTableId { get; set; }
Property Value
Type Description
string

The OCID of the route table the subnet will use.

SecurityListIds

Declaration
[JsonProperty(PropertyName = "securityListIds")]
public List<string> SecurityListIds { get; set; }
Property Value
Type Description
List<string>

The OCIDs of the security list or lists the subnet will use. This replaces the entire current set of security lists. Remember that security lists are associated with the subnet, but the rules are applied to the individual VNICs in the subnet.

In this article
Back to top