Skip to content

Commit 967e8c3

Browse files
authored
Releasing version 15.7.0
Releasing version 15.7.0
2 parents 0256a05 + 18259af commit 967e8c3

38 files changed

+1891
-1
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](http://keepachangelog.com/)
66

7+
## 15.7.0 - 2020-02-25
8+
### Added
9+
- Support for restarting autonomous databases in the Database service
10+
- Support for private endpoints on autonomous databases in the Database service
11+
- Support for IP-based policies in the Identity service
12+
- Support for management of OAuth 2.0 client credentials in the Identity service
13+
- Support for OCI Functions as a subscription protocol in the Notifications service
14+
715
## 15.6.0 - 2020-02-18
816
### Added
917
- Support for the NoSQL Database service

common/version.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

database/autonomous_database.go

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,25 @@ type AutonomousDatabase struct {
8585
// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
8686
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
8787

88+
// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the subnet the resource is associated with.
89+
// **Subnet Restrictions:**
90+
// - For bare metal DB systems and for single node virtual machine DB systems, do not use a subnet that overlaps with 192.168.16.16/28.
91+
// - For Exadata and virtual machine 2-node RAC DB systems, do not use a subnet that overlaps with 192.168.128.0/20.
92+
// - For Autonomous Database, setting this will disable public secure access to the database.
93+
// These subnets are used by the Oracle Clusterware private interconnect on the database instance.
94+
// Specifying an overlapping subnet will cause the private interconnect to malfunction.
95+
// This restriction applies to both the client subnet and the backup subnet.
96+
SubnetId *string `mandatory:"false" json:"subnetId"`
97+
98+
// A list of the OCIDs (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network security groups (NSGs) that this DB system belongs to. Setting this to an empty array after the list is created removes the resource from all NSGs. For more information about NSGs, see Security Rules (https://docs.cloud.oracle.com/Content/Network/Concepts/securityrules.htm).
99+
NsgIds []string `mandatory:"false" json:"nsgIds"`
100+
101+
// The private endpoint for the resource.
102+
PrivateEndpoint *string `mandatory:"false" json:"privateEndpoint"`
103+
104+
// The private endpoint label for the resource.
105+
PrivateEndpointLabel *string `mandatory:"false" json:"privateEndpointLabel"`
106+
88107
// A valid Oracle Database version for Autonomous Database.
89108
DbVersion *string `mandatory:"false" json:"dbVersion"`
90109

@@ -137,6 +156,7 @@ const (
137156
AutonomousDatabaseLifecycleStateAvailableNeedsAttention AutonomousDatabaseLifecycleStateEnum = "AVAILABLE_NEEDS_ATTENTION"
138157
AutonomousDatabaseLifecycleStateUpdating AutonomousDatabaseLifecycleStateEnum = "UPDATING"
139158
AutonomousDatabaseLifecycleStateMaintenanceInProgress AutonomousDatabaseLifecycleStateEnum = "MAINTENANCE_IN_PROGRESS"
159+
AutonomousDatabaseLifecycleStateRestarting AutonomousDatabaseLifecycleStateEnum = "RESTARTING"
140160
)
141161

142162
var mappingAutonomousDatabaseLifecycleState = map[string]AutonomousDatabaseLifecycleStateEnum{
@@ -155,6 +175,7 @@ var mappingAutonomousDatabaseLifecycleState = map[string]AutonomousDatabaseLifec
155175
"AVAILABLE_NEEDS_ATTENTION": AutonomousDatabaseLifecycleStateAvailableNeedsAttention,
156176
"UPDATING": AutonomousDatabaseLifecycleStateUpdating,
157177
"MAINTENANCE_IN_PROGRESS": AutonomousDatabaseLifecycleStateMaintenanceInProgress,
178+
"RESTARTING": AutonomousDatabaseLifecycleStateRestarting,
158179
}
159180

160181
// GetAutonomousDatabaseLifecycleStateEnumValues Enumerates the set of values for AutonomousDatabaseLifecycleStateEnum

database/autonomous_database_summary.go

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,25 @@ type AutonomousDatabaseSummary struct {
8686
// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
8787
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
8888

89+
// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the subnet the resource is associated with.
90+
// **Subnet Restrictions:**
91+
// - For bare metal DB systems and for single node virtual machine DB systems, do not use a subnet that overlaps with 192.168.16.16/28.
92+
// - For Exadata and virtual machine 2-node RAC DB systems, do not use a subnet that overlaps with 192.168.128.0/20.
93+
// - For Autonomous Database, setting this will disable public secure access to the database.
94+
// These subnets are used by the Oracle Clusterware private interconnect on the database instance.
95+
// Specifying an overlapping subnet will cause the private interconnect to malfunction.
96+
// This restriction applies to both the client subnet and the backup subnet.
97+
SubnetId *string `mandatory:"false" json:"subnetId"`
98+
99+
// A list of the OCIDs (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network security groups (NSGs) that this DB system belongs to. Setting this to an empty array after the list is created removes the resource from all NSGs. For more information about NSGs, see Security Rules (https://docs.cloud.oracle.com/Content/Network/Concepts/securityrules.htm).
100+
NsgIds []string `mandatory:"false" json:"nsgIds"`
101+
102+
// The private endpoint for the resource.
103+
PrivateEndpoint *string `mandatory:"false" json:"privateEndpoint"`
104+
105+
// The private endpoint label for the resource.
106+
PrivateEndpointLabel *string `mandatory:"false" json:"privateEndpointLabel"`
107+
89108
// A valid Oracle Database version for Autonomous Database.
90109
DbVersion *string `mandatory:"false" json:"dbVersion"`
91110

@@ -138,6 +157,7 @@ const (
138157
AutonomousDatabaseSummaryLifecycleStateAvailableNeedsAttention AutonomousDatabaseSummaryLifecycleStateEnum = "AVAILABLE_NEEDS_ATTENTION"
139158
AutonomousDatabaseSummaryLifecycleStateUpdating AutonomousDatabaseSummaryLifecycleStateEnum = "UPDATING"
140159
AutonomousDatabaseSummaryLifecycleStateMaintenanceInProgress AutonomousDatabaseSummaryLifecycleStateEnum = "MAINTENANCE_IN_PROGRESS"
160+
AutonomousDatabaseSummaryLifecycleStateRestarting AutonomousDatabaseSummaryLifecycleStateEnum = "RESTARTING"
141161
)
142162

143163
var mappingAutonomousDatabaseSummaryLifecycleState = map[string]AutonomousDatabaseSummaryLifecycleStateEnum{
@@ -156,6 +176,7 @@ var mappingAutonomousDatabaseSummaryLifecycleState = map[string]AutonomousDataba
156176
"AVAILABLE_NEEDS_ATTENTION": AutonomousDatabaseSummaryLifecycleStateAvailableNeedsAttention,
157177
"UPDATING": AutonomousDatabaseSummaryLifecycleStateUpdating,
158178
"MAINTENANCE_IN_PROGRESS": AutonomousDatabaseSummaryLifecycleStateMaintenanceInProgress,
179+
"RESTARTING": AutonomousDatabaseSummaryLifecycleStateRestarting,
159180
}
160181

161182
// GetAutonomousDatabaseSummaryLifecycleStateEnumValues Enumerates the set of values for AutonomousDatabaseSummaryLifecycleStateEnum

database/create_autonomous_database_base.go

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,22 @@ type CreateAutonomousDatabaseBase interface {
6363
// Example: `["1.1.1.1","1.1.1.0/24","ocid1.vcn.oc1.sea.aaaaaaaard2hfx2nn3e5xeo6j6o62jga44xjizkw","ocid1.vcn.oc1.sea.aaaaaaaard2hfx2nn3e5xeo6j6o62jga44xjizkw;1.1.1.1","ocid1.vcn.oc1.sea.aaaaaaaard2hfx2nn3e5xeo6j6o62jga44xjizkw;1.1.0.0/16"]`
6464
GetWhitelistedIps() []string
6565

66+
// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the subnet the resource is associated with.
67+
// **Subnet Restrictions:**
68+
// - For bare metal DB systems and for single node virtual machine DB systems, do not use a subnet that overlaps with 192.168.16.16/28.
69+
// - For Exadata and virtual machine 2-node RAC DB systems, do not use a subnet that overlaps with 192.168.128.0/20.
70+
// - For Autonomous Database, setting this will disable public secure access to the database.
71+
// These subnets are used by the Oracle Clusterware private interconnect on the database instance.
72+
// Specifying an overlapping subnet will cause the private interconnect to malfunction.
73+
// This restriction applies to both the client subnet and the backup subnet.
74+
GetSubnetId() *string
75+
76+
// A list of the OCIDs (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network security groups (NSGs) that this DB system belongs to. Setting this to an empty array after the list is created removes the resource from all NSGs. For more information about NSGs, see Security Rules (https://docs.cloud.oracle.com/Content/Network/Concepts/securityrules.htm).
77+
GetNsgIds() []string
78+
79+
// The private endpoint label for the resource.
80+
GetPrivateEndpointLabel() *string
81+
6682
// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
6783
// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
6884
// Example: `{"Department": "Finance"}`
@@ -92,6 +108,9 @@ type createautonomousdatabasebase struct {
92108
IsDedicated *bool `mandatory:"false" json:"isDedicated"`
93109
AutonomousContainerDatabaseId *string `mandatory:"false" json:"autonomousContainerDatabaseId"`
94110
WhitelistedIps []string `mandatory:"false" json:"whitelistedIps"`
111+
SubnetId *string `mandatory:"false" json:"subnetId"`
112+
NsgIds []string `mandatory:"false" json:"nsgIds"`
113+
PrivateEndpointLabel *string `mandatory:"false" json:"privateEndpointLabel"`
95114
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
96115
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
97116
DbVersion *string `mandatory:"false" json:"dbVersion"`
@@ -123,6 +142,9 @@ func (m *createautonomousdatabasebase) UnmarshalJSON(data []byte) error {
123142
m.IsDedicated = s.Model.IsDedicated
124143
m.AutonomousContainerDatabaseId = s.Model.AutonomousContainerDatabaseId
125144
m.WhitelistedIps = s.Model.WhitelistedIps
145+
m.SubnetId = s.Model.SubnetId
146+
m.NsgIds = s.Model.NsgIds
147+
m.PrivateEndpointLabel = s.Model.PrivateEndpointLabel
126148
m.FreeformTags = s.Model.FreeformTags
127149
m.DefinedTags = s.Model.DefinedTags
128150
m.DbVersion = s.Model.DbVersion
@@ -231,6 +253,21 @@ func (m createautonomousdatabasebase) GetWhitelistedIps() []string {
231253
return m.WhitelistedIps
232254
}
233255

256+
//GetSubnetId returns SubnetId
257+
func (m createautonomousdatabasebase) GetSubnetId() *string {
258+
return m.SubnetId
259+
}
260+
261+
//GetNsgIds returns NsgIds
262+
func (m createautonomousdatabasebase) GetNsgIds() []string {
263+
return m.NsgIds
264+
}
265+
266+
//GetPrivateEndpointLabel returns PrivateEndpointLabel
267+
func (m createautonomousdatabasebase) GetPrivateEndpointLabel() *string {
268+
return m.PrivateEndpointLabel
269+
}
270+
234271
//GetFreeformTags returns FreeformTags
235272
func (m createautonomousdatabasebase) GetFreeformTags() map[string]string {
236273
return m.FreeformTags

database/create_autonomous_database_clone_details.go

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,22 @@ type CreateAutonomousDatabaseCloneDetails struct {
5858
// Example: `["1.1.1.1","1.1.1.0/24","ocid1.vcn.oc1.sea.aaaaaaaard2hfx2nn3e5xeo6j6o62jga44xjizkw","ocid1.vcn.oc1.sea.aaaaaaaard2hfx2nn3e5xeo6j6o62jga44xjizkw;1.1.1.1","ocid1.vcn.oc1.sea.aaaaaaaard2hfx2nn3e5xeo6j6o62jga44xjizkw;1.1.0.0/16"]`
5959
WhitelistedIps []string `mandatory:"false" json:"whitelistedIps"`
6060

61+
// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the subnet the resource is associated with.
62+
// **Subnet Restrictions:**
63+
// - For bare metal DB systems and for single node virtual machine DB systems, do not use a subnet that overlaps with 192.168.16.16/28.
64+
// - For Exadata and virtual machine 2-node RAC DB systems, do not use a subnet that overlaps with 192.168.128.0/20.
65+
// - For Autonomous Database, setting this will disable public secure access to the database.
66+
// These subnets are used by the Oracle Clusterware private interconnect on the database instance.
67+
// Specifying an overlapping subnet will cause the private interconnect to malfunction.
68+
// This restriction applies to both the client subnet and the backup subnet.
69+
SubnetId *string `mandatory:"false" json:"subnetId"`
70+
71+
// A list of the OCIDs (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network security groups (NSGs) that this DB system belongs to. Setting this to an empty array after the list is created removes the resource from all NSGs. For more information about NSGs, see Security Rules (https://docs.cloud.oracle.com/Content/Network/Concepts/securityrules.htm).
72+
NsgIds []string `mandatory:"false" json:"nsgIds"`
73+
74+
// The private endpoint label for the resource.
75+
PrivateEndpointLabel *string `mandatory:"false" json:"privateEndpointLabel"`
76+
6177
// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
6278
// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
6379
// Example: `{"Department": "Finance"}`
@@ -151,6 +167,21 @@ func (m CreateAutonomousDatabaseCloneDetails) GetWhitelistedIps() []string {
151167
return m.WhitelistedIps
152168
}
153169

170+
//GetSubnetId returns SubnetId
171+
func (m CreateAutonomousDatabaseCloneDetails) GetSubnetId() *string {
172+
return m.SubnetId
173+
}
174+
175+
//GetNsgIds returns NsgIds
176+
func (m CreateAutonomousDatabaseCloneDetails) GetNsgIds() []string {
177+
return m.NsgIds
178+
}
179+
180+
//GetPrivateEndpointLabel returns PrivateEndpointLabel
181+
func (m CreateAutonomousDatabaseCloneDetails) GetPrivateEndpointLabel() *string {
182+
return m.PrivateEndpointLabel
183+
}
184+
154185
//GetFreeformTags returns FreeformTags
155186
func (m CreateAutonomousDatabaseCloneDetails) GetFreeformTags() map[string]string {
156187
return m.FreeformTags

database/create_autonomous_database_details.go

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,22 @@ type CreateAutonomousDatabaseDetails struct {
5555
// Example: `["1.1.1.1","1.1.1.0/24","ocid1.vcn.oc1.sea.aaaaaaaard2hfx2nn3e5xeo6j6o62jga44xjizkw","ocid1.vcn.oc1.sea.aaaaaaaard2hfx2nn3e5xeo6j6o62jga44xjizkw;1.1.1.1","ocid1.vcn.oc1.sea.aaaaaaaard2hfx2nn3e5xeo6j6o62jga44xjizkw;1.1.0.0/16"]`
5656
WhitelistedIps []string `mandatory:"false" json:"whitelistedIps"`
5757

58+
// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the subnet the resource is associated with.
59+
// **Subnet Restrictions:**
60+
// - For bare metal DB systems and for single node virtual machine DB systems, do not use a subnet that overlaps with 192.168.16.16/28.
61+
// - For Exadata and virtual machine 2-node RAC DB systems, do not use a subnet that overlaps with 192.168.128.0/20.
62+
// - For Autonomous Database, setting this will disable public secure access to the database.
63+
// These subnets are used by the Oracle Clusterware private interconnect on the database instance.
64+
// Specifying an overlapping subnet will cause the private interconnect to malfunction.
65+
// This restriction applies to both the client subnet and the backup subnet.
66+
SubnetId *string `mandatory:"false" json:"subnetId"`
67+
68+
// A list of the OCIDs (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network security groups (NSGs) that this DB system belongs to. Setting this to an empty array after the list is created removes the resource from all NSGs. For more information about NSGs, see Security Rules (https://docs.cloud.oracle.com/Content/Network/Concepts/securityrules.htm).
69+
NsgIds []string `mandatory:"false" json:"nsgIds"`
70+
71+
// The private endpoint label for the resource.
72+
PrivateEndpointLabel *string `mandatory:"false" json:"privateEndpointLabel"`
73+
5874
// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
5975
// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
6076
// Example: `{"Department": "Finance"}`
@@ -145,6 +161,21 @@ func (m CreateAutonomousDatabaseDetails) GetWhitelistedIps() []string {
145161
return m.WhitelistedIps
146162
}
147163

164+
//GetSubnetId returns SubnetId
165+
func (m CreateAutonomousDatabaseDetails) GetSubnetId() *string {
166+
return m.SubnetId
167+
}
168+
169+
//GetNsgIds returns NsgIds
170+
func (m CreateAutonomousDatabaseDetails) GetNsgIds() []string {
171+
return m.NsgIds
172+
}
173+
174+
//GetPrivateEndpointLabel returns PrivateEndpointLabel
175+
func (m CreateAutonomousDatabaseDetails) GetPrivateEndpointLabel() *string {
176+
return m.PrivateEndpointLabel
177+
}
178+
148179
//GetFreeformTags returns FreeformTags
149180
func (m CreateAutonomousDatabaseDetails) GetFreeformTags() map[string]string {
150181
return m.FreeformTags

database/create_autonomous_database_from_backup_details.go

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,22 @@ type CreateAutonomousDatabaseFromBackupDetails struct {
5858
// Example: `["1.1.1.1","1.1.1.0/24","ocid1.vcn.oc1.sea.aaaaaaaard2hfx2nn3e5xeo6j6o62jga44xjizkw","ocid1.vcn.oc1.sea.aaaaaaaard2hfx2nn3e5xeo6j6o62jga44xjizkw;1.1.1.1","ocid1.vcn.oc1.sea.aaaaaaaard2hfx2nn3e5xeo6j6o62jga44xjizkw;1.1.0.0/16"]`
5959
WhitelistedIps []string `mandatory:"false" json:"whitelistedIps"`
6060

61+
// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the subnet the resource is associated with.
62+
// **Subnet Restrictions:**
63+
// - For bare metal DB systems and for single node virtual machine DB systems, do not use a subnet that overlaps with 192.168.16.16/28.
64+
// - For Exadata and virtual machine 2-node RAC DB systems, do not use a subnet that overlaps with 192.168.128.0/20.
65+
// - For Autonomous Database, setting this will disable public secure access to the database.
66+
// These subnets are used by the Oracle Clusterware private interconnect on the database instance.
67+
// Specifying an overlapping subnet will cause the private interconnect to malfunction.
68+
// This restriction applies to both the client subnet and the backup subnet.
69+
SubnetId *string `mandatory:"false" json:"subnetId"`
70+
71+
// A list of the OCIDs (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network security groups (NSGs) that this DB system belongs to. Setting this to an empty array after the list is created removes the resource from all NSGs. For more information about NSGs, see Security Rules (https://docs.cloud.oracle.com/Content/Network/Concepts/securityrules.htm).
72+
NsgIds []string `mandatory:"false" json:"nsgIds"`
73+
74+
// The private endpoint label for the resource.
75+
PrivateEndpointLabel *string `mandatory:"false" json:"privateEndpointLabel"`
76+
6177
// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
6278
// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
6379
// Example: `{"Department": "Finance"}`
@@ -151,6 +167,21 @@ func (m CreateAutonomousDatabaseFromBackupDetails) GetWhitelistedIps() []string
151167
return m.WhitelistedIps
152168
}
153169

170+
//GetSubnetId returns SubnetId
171+
func (m CreateAutonomousDatabaseFromBackupDetails) GetSubnetId() *string {
172+
return m.SubnetId
173+
}
174+
175+
//GetNsgIds returns NsgIds
176+
func (m CreateAutonomousDatabaseFromBackupDetails) GetNsgIds() []string {
177+
return m.NsgIds
178+
}
179+
180+
//GetPrivateEndpointLabel returns PrivateEndpointLabel
181+
func (m CreateAutonomousDatabaseFromBackupDetails) GetPrivateEndpointLabel() *string {
182+
return m.PrivateEndpointLabel
183+
}
184+
154185
//GetFreeformTags returns FreeformTags
155186
func (m CreateAutonomousDatabaseFromBackupDetails) GetFreeformTags() map[string]string {
156187
return m.FreeformTags

0 commit comments

Comments
 (0)