@@ -37,6 +37,9 @@ type NetworkDetails struct {
3737 // SubnetId defines the ID of the subnet to use. This parameter takes priority over SubnetName.
3838 SubnetId * string `json:"subnetId,omitempty"`
3939
40+ // IPv6 defines if the instance should have an IPv6
41+ AssignIpv6Ip bool `json:"assignIpv6Ip,omitempty"`
42+
4043 // AssignPublicIp defines whether the instance should have a public IP address
4144 AssignPublicIp bool `json:"assignPublicIp,omitempty"`
4245
@@ -866,6 +869,13 @@ type Subnet struct {
866869 // within this subnet (for example, `bminstance1.subnet123.vcn1.oraclevcn.com`).
867870 // +optional
868871 DnsLabel * string `json:"dnsLabel,omitempty"`
872+
873+ // Use this to enable IPv6 hextet for this subnet. The VCN must be enabled for IPv6.
874+ // You can't change this subnet characteristic later. All subnets are /64 in size. The subnet
875+ // portion of the IPv6 address is the fourth hextet from the left (1111 in the following example).
876+ // Example: `2001:0db8:0123:1111::/64`
877+ // +optional
878+ Ipv6CidrBlockHextet * string `json:"ipv6CidrBlockHextet,omitempty"`
869879}
870880
871881// NSG defines configuration for a Network Security Group.
@@ -942,6 +952,14 @@ type VCN struct {
942952 // within this subnet (for example, `bminstance1.subnet123.vcn1.oraclevcn.com`).
943953 // +optional
944954 DnsLabel * string `json:"dnsLabel,omitempty"`
955+
956+ // Configuration to allow OCI to assign IPv6 Prefix. When true will use a /56 IPv6 global unicast address (GUA) prefix allocated by Oracle
957+ // +optional
958+ IsOracleGuaAllocationEnabled * bool `json:"isOracleGuaAllocationEnabled,omitempty"`
959+
960+ // Configuration to enable IPv6.
961+ // +optional
962+ IsIpv6Enabled * bool `json:"isIpv6Enabled,omitempty"`
945963}
946964
947965// LoadBalancer Configuration
@@ -1097,7 +1115,7 @@ type RemotePeeringConnection struct {
10971115type VolumeType string
10981116
10991117const (
1100- IscsiType VolumeType = "iscsi"
1118+ IscsiType VolumeType = "iscsi"
11011119 ParavirtualizedType VolumeType = "paravirtualized"
11021120)
11031121
@@ -1115,7 +1133,7 @@ type LaunchVolumeAttachment struct {
11151133 Type VolumeType `json:"volumeType,omitempty"`
11161134
11171135 // The details of iscsi volume attachment.
1118- IscsiAttachment LaunchIscsiVolumeAttachment `json:"launchIscsiVolumeAttachment,omitempty"`
1136+ IscsiAttachment LaunchIscsiVolumeAttachment `json:"launchIscsiVolumeAttachment,omitempty"`
11191137 ParavirtualizedAttachment LaunchParavirtualizedVolumeAttachment `json:"launchParavirtualizedVolumeAttachment,omitempty"`
11201138}
11211139
@@ -1177,7 +1195,7 @@ type LaunchParavirtualizedVolumeAttachment struct {
11771195
11781196 // LaunchCreateVolumeFromAttributes The details of the volume to create for CreateVolume operation.
11791197 LaunchCreateVolumeFromAttributes LaunchCreateVolumeFromAttributes `json:"launchCreateVolumeFromAttributes,omitempty"`
1180-
1198+
11811199 // Refer the top-level definition of isPvEncryptionInTransitEnabled.
11821200 // The default value is False.
11831201 IsPvEncryptionInTransitEnabled * bool `json:"isPvEncryptionInTransitEnabled,omitempty"`
0 commit comments