@@ -38,6 +38,10 @@ type NetworkDetails struct {
38
38
// SubnetId defines the ID of the subnet to use. This parameter takes priority over SubnetName.
39
39
SubnetId * string `json:"subnetId,omitempty"`
40
40
41
+ // AssignIPv6 determines whether to assign a IPv6 address to the instance.
42
+ // +optional
43
+ AssignIpv6Ip bool `json:"assignIpv6Ip,omitempty"`
44
+
41
45
// AssignPublicIp defines whether the instance should have a public IP address
42
46
AssignPublicIp bool `json:"assignPublicIp,omitempty"`
43
47
@@ -72,6 +76,10 @@ type VnicAttachment struct {
72
76
// VnicAttachmentId defines the ID of the VnicAttachment
73
77
VnicAttachmentId * string `json:"vnicAttachmentId,omitempty"`
74
78
79
+ // AssignIPv6 defines whether the vnic should have a IPv6 address
80
+ // +optional
81
+ AssignIpv6Ip bool `json:"assignIpv6Ip,omitempty"`
82
+
75
83
// AssignPublicIp defines whether the vnic should have a public IP address
76
84
// +optional
77
85
AssignPublicIp bool `json:"assignPublicIp,omitempty"`
@@ -865,6 +873,13 @@ type Subnet struct {
865
873
// within this subnet (for example, `bminstance1.subnet123.vcn1.oraclevcn.com`).
866
874
// +optional
867
875
DnsLabel * string `json:"dnsLabel,omitempty"`
876
+
877
+ // Use this to enable IPv6 hextet for this subnet. The VCN must be enabled for IPv6.
878
+ // You can't change this subnet characteristic later. All subnets are /64 in size. The subnet
879
+ // portion of the IPv6 address is the fourth hextet from the left (1111 in the following example).
880
+ // Example: `2001:0db8:0123:1111::/64`
881
+ // +optional
882
+ Ipv6CidrBlockHextet * string `json:"ipv6CidrBlockHextet,omitempty"`
868
883
}
869
884
870
885
// NSG defines configuration for a Network Security Group.
@@ -935,6 +950,14 @@ type VCN struct {
935
950
// within this subnet (for example, `bminstance1.subnet123.vcn1.oraclevcn.com`).
936
951
// +optional
937
952
DnsLabel * string `json:"dnsLabel,omitempty"`
953
+
954
+ // Configuration to allow OCI to assign IPv6 Prefix.
955
+ // +optional
956
+ IsOracleGuaAllocationEnabled * bool `json:"isOracleGuaAllocationEnabled,omitempty"`
957
+
958
+ // Configuration to enable IPv6.
959
+ // +optional
960
+ IsIpv6Enabled * bool `json:"isIpv6Enabled,omitempty"`
938
961
}
939
962
940
963
// LoadBalancerType is an enumeration of the supported load balancer types.
@@ -1167,7 +1190,7 @@ type NetworkSecurityGroup struct {
1167
1190
type VolumeType string
1168
1191
1169
1192
const (
1170
- IscsiType VolumeType = "iscsi"
1193
+ IscsiType VolumeType = "iscsi"
1171
1194
ParavirtualizedType VolumeType = "paravirtualized"
1172
1195
)
1173
1196
@@ -1186,7 +1209,7 @@ type LaunchVolumeAttachment struct {
1186
1209
Type VolumeType `json:"volumeType,omitempty"`
1187
1210
1188
1211
// The details of iscsi volume attachment.
1189
- IscsiAttachment LaunchIscsiVolumeAttachment `json:"launchIscsiVolumeAttachment,omitempty"`
1212
+ IscsiAttachment LaunchIscsiVolumeAttachment `json:"launchIscsiVolumeAttachment,omitempty"`
1190
1213
ParavirtualizedAttachment LaunchParavirtualizedVolumeAttachment `json:"launchParavirtualizedVolumeAttachment,omitempty"`
1191
1214
}
1192
1215
@@ -1254,7 +1277,6 @@ type LaunchParavirtualizedVolumeAttachment struct {
1254
1277
IsPvEncryptionInTransitEnabled * bool `json:"isPvEncryptionInTransitEnabled,omitempty"`
1255
1278
}
1256
1279
1257
-
1258
1280
// LaunchCreateVolumeFromAttributes The details of the volume to create for CreateVolume operation.
1259
1281
type LaunchCreateVolumeFromAttributes struct {
1260
1282
0 commit comments