Skip to content

Commit 82e2c8c

Browse files
Releasing version 65.85.0
1 parent 463a187 commit 82e2c8c

File tree

71 files changed

+4979
-63
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+4979
-63
lines changed

CHANGELOG.md

+13
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,19 @@ 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+
## 65.85.0 - 2025-03-04
8+
### Added
9+
- Support for user quotas on file system resources in the File Storage service
10+
- Support for long term retention backups in the Autonomous Recovery service
11+
- Support for Cross Region Replication(CRR) in the PostgreSQL service
12+
- Support for subscriptions and cluster placement groups on exascale infrastructure in the Database service
13+
- Support for multiple standby databases for autonomous dataguard associations in the Database service
14+
- Support for major version upgrade of clusters in the OpenSearch service
15+
- Support for Customer Service Identifier(CSI) number in list assigned subscriptions response in the Organizations service
16+
17+
### Breaking Changes
18+
- The property `OpcWorkRequestId` was removed from the model `CreateSubscriptionMappingResponse` in the Organizations service
19+
720
## 65.84.0 - 2025-02-25
821
### Added
922
- Support for Database Lifecycle Management service

common/version.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved.
2+
// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
3+
// Code generated. DO NOT EDIT.
4+
5+
// Database Service API
6+
//
7+
// The API for the Database Service. Use this API to manage resources such as databases and DB Systems. For more information, see Overview of the Database Service (https://docs.oracle.com/iaas/Content/Database/Concepts/databaseoverview.htm).
8+
//
9+
10+
package database
11+
12+
import (
13+
"fmt"
14+
"github.com/oracle/oci-go-sdk/v65/common"
15+
"strings"
16+
)
17+
18+
// AddStandbyAutonomousContainerDatabaseDetails Create Standby Autonomous Container Database to an existing Autonomous Container Database
19+
type AddStandbyAutonomousContainerDatabaseDetails struct {
20+
21+
// The lag time for my preference based on data loss tolerance in seconds.
22+
FastStartFailOverLagLimitInSeconds *int `mandatory:"false" json:"fastStartFailOverLagLimitInSeconds"`
23+
24+
// Indicates whether Automatic Failover is enabled for Autonomous Container Database Dataguard Association
25+
IsAutomaticFailoverEnabled *bool `mandatory:"false" json:"isAutomaticFailoverEnabled"`
26+
27+
PeerAutonomousContainerDatabaseBackupConfig *PeerAutonomousContainerDatabaseBackupConfig `mandatory:"false" json:"peerAutonomousContainerDatabaseBackupConfig"`
28+
29+
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where the standby Autonomous Container Database
30+
// will be created.
31+
PeerAutonomousContainerDatabaseCompartmentId *string `mandatory:"false" json:"peerAutonomousContainerDatabaseCompartmentId"`
32+
33+
// The display name for the peer Autonomous Container Database.
34+
PeerAutonomousContainerDatabaseDisplayName *string `mandatory:"false" json:"peerAutonomousContainerDatabaseDisplayName"`
35+
36+
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peer cloud Autonomous Exadata VM Cluster.
37+
PeerCloudAutonomousVmClusterId *string `mandatory:"false" json:"peerCloudAutonomousVmClusterId"`
38+
39+
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peer Autonomous Exadata VM Cluster.
40+
PeerAutonomousVmClusterId *string `mandatory:"false" json:"peerAutonomousVmClusterId"`
41+
42+
// Specifies the `DB_UNIQUE_NAME` of the peer database to be created.
43+
PeerDbUniqueName *string `mandatory:"false" json:"peerDbUniqueName"`
44+
45+
// The protection mode of this Autonomous Data Guard association. For more information, see
46+
// Oracle Data Guard Protection Modes (http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000)
47+
// in the Oracle Data Guard documentation.
48+
ProtectionMode AddStandbyAutonomousContainerDatabaseDetailsProtectionModeEnum `mandatory:"false" json:"protectionMode,omitempty"`
49+
50+
// The scheduling detail for the quarterly maintenance window of the standby Autonomous Container Database.
51+
// This value represents the number of days before scheduled maintenance of the primary database.
52+
StandbyMaintenanceBufferInDays *int `mandatory:"false" json:"standbyMaintenanceBufferInDays"`
53+
}
54+
55+
func (m AddStandbyAutonomousContainerDatabaseDetails) String() string {
56+
return common.PointerString(m)
57+
}
58+
59+
// ValidateEnumValue returns an error when providing an unsupported enum value
60+
// This function is being called during constructing API request process
61+
// Not recommended for calling this function directly
62+
func (m AddStandbyAutonomousContainerDatabaseDetails) ValidateEnumValue() (bool, error) {
63+
errMessage := []string{}
64+
65+
if _, ok := GetMappingAddStandbyAutonomousContainerDatabaseDetailsProtectionModeEnum(string(m.ProtectionMode)); !ok && m.ProtectionMode != "" {
66+
errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ProtectionMode: %s. Supported values are: %s.", m.ProtectionMode, strings.Join(GetAddStandbyAutonomousContainerDatabaseDetailsProtectionModeEnumStringValues(), ",")))
67+
}
68+
if len(errMessage) > 0 {
69+
return true, fmt.Errorf(strings.Join(errMessage, "\n"))
70+
}
71+
return false, nil
72+
}
73+
74+
// AddStandbyAutonomousContainerDatabaseDetailsProtectionModeEnum Enum with underlying type: string
75+
type AddStandbyAutonomousContainerDatabaseDetailsProtectionModeEnum string
76+
77+
// Set of constants representing the allowable values for AddStandbyAutonomousContainerDatabaseDetailsProtectionModeEnum
78+
const (
79+
AddStandbyAutonomousContainerDatabaseDetailsProtectionModeAvailability AddStandbyAutonomousContainerDatabaseDetailsProtectionModeEnum = "MAXIMUM_AVAILABILITY"
80+
AddStandbyAutonomousContainerDatabaseDetailsProtectionModePerformance AddStandbyAutonomousContainerDatabaseDetailsProtectionModeEnum = "MAXIMUM_PERFORMANCE"
81+
)
82+
83+
var mappingAddStandbyAutonomousContainerDatabaseDetailsProtectionModeEnum = map[string]AddStandbyAutonomousContainerDatabaseDetailsProtectionModeEnum{
84+
"MAXIMUM_AVAILABILITY": AddStandbyAutonomousContainerDatabaseDetailsProtectionModeAvailability,
85+
"MAXIMUM_PERFORMANCE": AddStandbyAutonomousContainerDatabaseDetailsProtectionModePerformance,
86+
}
87+
88+
var mappingAddStandbyAutonomousContainerDatabaseDetailsProtectionModeEnumLowerCase = map[string]AddStandbyAutonomousContainerDatabaseDetailsProtectionModeEnum{
89+
"maximum_availability": AddStandbyAutonomousContainerDatabaseDetailsProtectionModeAvailability,
90+
"maximum_performance": AddStandbyAutonomousContainerDatabaseDetailsProtectionModePerformance,
91+
}
92+
93+
// GetAddStandbyAutonomousContainerDatabaseDetailsProtectionModeEnumValues Enumerates the set of values for AddStandbyAutonomousContainerDatabaseDetailsProtectionModeEnum
94+
func GetAddStandbyAutonomousContainerDatabaseDetailsProtectionModeEnumValues() []AddStandbyAutonomousContainerDatabaseDetailsProtectionModeEnum {
95+
values := make([]AddStandbyAutonomousContainerDatabaseDetailsProtectionModeEnum, 0)
96+
for _, v := range mappingAddStandbyAutonomousContainerDatabaseDetailsProtectionModeEnum {
97+
values = append(values, v)
98+
}
99+
return values
100+
}
101+
102+
// GetAddStandbyAutonomousContainerDatabaseDetailsProtectionModeEnumStringValues Enumerates the set of values in String for AddStandbyAutonomousContainerDatabaseDetailsProtectionModeEnum
103+
func GetAddStandbyAutonomousContainerDatabaseDetailsProtectionModeEnumStringValues() []string {
104+
return []string{
105+
"MAXIMUM_AVAILABILITY",
106+
"MAXIMUM_PERFORMANCE",
107+
}
108+
}
109+
110+
// GetMappingAddStandbyAutonomousContainerDatabaseDetailsProtectionModeEnum performs case Insensitive comparison on enum value and return the desired enum
111+
func GetMappingAddStandbyAutonomousContainerDatabaseDetailsProtectionModeEnum(val string) (AddStandbyAutonomousContainerDatabaseDetailsProtectionModeEnum, bool) {
112+
enum, ok := mappingAddStandbyAutonomousContainerDatabaseDetailsProtectionModeEnumLowerCase[strings.ToLower(val)]
113+
return enum, ok
114+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved.
2+
// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
3+
// Code generated. DO NOT EDIT.
4+
5+
package database
6+
7+
import (
8+
"fmt"
9+
"github.com/oracle/oci-go-sdk/v65/common"
10+
"net/http"
11+
"strings"
12+
)
13+
14+
// AddStandbyAutonomousContainerDatabaseRequest wrapper for the AddStandbyAutonomousContainerDatabase operation
15+
//
16+
// # See also
17+
//
18+
// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/AddStandbyAutonomousContainerDatabase.go.html to see an example of how to use AddStandbyAutonomousContainerDatabaseRequest.
19+
type AddStandbyAutonomousContainerDatabaseRequest struct {
20+
21+
// Request to Add Standy Autonomous Container Database Dataguard.
22+
AddStandbyAutonomousContainerDatabaseDetails `contributesTo:"body"`
23+
24+
// The Autonomous Container Database OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
25+
AutonomousContainerDatabaseId *string `mandatory:"true" contributesTo:"path" name:"autonomousContainerDatabaseId"`
26+
27+
// Unique identifier for the request.
28+
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
29+
30+
// A token that uniquely identifies a request so it can be retried in case of a timeout or
31+
// server error without risk of executing that same action again. Retry tokens expire after 24
32+
// hours, but can be invalidated before then due to conflicting operations (for example, if a resource
33+
// has been deleted and purged from the system, then a retry of the original creation request
34+
// may be rejected).
35+
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
36+
37+
// For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
38+
// parameter to the value of the etag from a previous GET or POST response for that resource. The resource
39+
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
40+
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
41+
42+
// Metadata about the request. This information will not be transmitted to the service, but
43+
// represents information that the SDK will consume to drive retry behavior.
44+
RequestMetadata common.RequestMetadata
45+
}
46+
47+
func (request AddStandbyAutonomousContainerDatabaseRequest) String() string {
48+
return common.PointerString(request)
49+
}
50+
51+
// HTTPRequest implements the OCIRequest interface
52+
func (request AddStandbyAutonomousContainerDatabaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) {
53+
54+
_, err := request.ValidateEnumValue()
55+
if err != nil {
56+
return http.Request{}, err
57+
}
58+
return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders)
59+
}
60+
61+
// BinaryRequestBody implements the OCIRequest interface
62+
func (request AddStandbyAutonomousContainerDatabaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
63+
64+
return nil, false
65+
66+
}
67+
68+
// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
69+
func (request AddStandbyAutonomousContainerDatabaseRequest) RetryPolicy() *common.RetryPolicy {
70+
return request.RequestMetadata.RetryPolicy
71+
}
72+
73+
// ValidateEnumValue returns an error when providing an unsupported enum value
74+
// This function is being called during constructing API request process
75+
// Not recommended for calling this function directly
76+
func (request AddStandbyAutonomousContainerDatabaseRequest) ValidateEnumValue() (bool, error) {
77+
errMessage := []string{}
78+
if len(errMessage) > 0 {
79+
return true, fmt.Errorf(strings.Join(errMessage, "\n"))
80+
}
81+
return false, nil
82+
}
83+
84+
// AddStandbyAutonomousContainerDatabaseResponse wrapper for the AddStandbyAutonomousContainerDatabase operation
85+
type AddStandbyAutonomousContainerDatabaseResponse struct {
86+
87+
// The underlying http response
88+
RawResponse *http.Response
89+
90+
// The AutonomousContainerDatabase instance
91+
AutonomousContainerDatabase `presentIn:"body"`
92+
93+
// For optimistic concurrency control. See `if-match`.
94+
Etag *string `presentIn:"header" name:"etag"`
95+
96+
// Unique Oracle-assigned identifier of the work request.
97+
OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
98+
99+
// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
100+
// a particular request, please provide the request ID.
101+
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
102+
}
103+
104+
func (response AddStandbyAutonomousContainerDatabaseResponse) String() string {
105+
return common.PointerString(response)
106+
}
107+
108+
// HTTPResponse implements the OCIResponse interface
109+
func (response AddStandbyAutonomousContainerDatabaseResponse) HTTPResponse() *http.Response {
110+
return response.RawResponse
111+
}

database/autonomous_container_database.go

+11
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,17 @@ type AutonomousContainerDatabase struct {
177177

178178
// Enabling SHARED server architecture enables a database server to allow many client processes to share very few server processes, thereby increasing the number of supported users.
179179
NetServicesArchitecture AutonomousContainerDatabaseNetServicesArchitectureEnum `mandatory:"false" json:"netServicesArchitecture,omitempty"`
180+
181+
// Whether it is multiple standby Autonomous Dataguard
182+
IsMultipleStandby *bool `mandatory:"false" json:"isMultipleStandby"`
183+
184+
// **Deprecated.** Indicates whether the Autonomous Database has local (in-region) Data Guard enabled. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure.
185+
IsDataGuardEnabled *bool `mandatory:"false" json:"isDataGuardEnabled"`
186+
187+
Dataguard *AutonomousContainerDatabaseDataguard `mandatory:"false" json:"dataguard"`
188+
189+
// Array of Dg associations.
190+
DataguardGroupMembers []AutonomousContainerDatabaseDataguard `mandatory:"false" json:"dataguardGroupMembers"`
180191
}
181192

182193
func (m AutonomousContainerDatabase) String() string {

0 commit comments

Comments
 (0)