Skip to content

Commit 8fb9474

Browse files
Releasing version 65.96.0
1 parent c20e91b commit 8fb9474

File tree

404 files changed

+36639
-5532
lines changed

Some content is hidden

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

404 files changed

+36639
-5532
lines changed

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,26 @@ 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.96.0 - 2025-07-22
8+
### Added
9+
- Support for calling Oracle Cloud Infrastructure services in the `ap-batam-1` region
10+
- Support for updating autonomous databases with schedule DB version upgrade in the Database service
11+
- Support for new OKV Endpoint group parameter for Autonomous Container Database operations in the Database service
12+
- Support for specifying tags in backup databases and standby databases in the Database service
13+
- Support for cloud database systems and improved system monitoring in the Database Management service
14+
- Support for stack, image, lead generation, and service listing types in the Marketplace service
15+
- Support for adding custom metric-based policies in the Autoscaling service
16+
- Support for Named Credentials in the Management Agent service
17+
- Support for multilingual capability, user configured Agent-As-A-Tool, data ingestion of documents, and sequentially executed steps in the Generative AI Agent service
18+
- Support for IAM authentication in the Cache service
19+
20+
### Breaking Changes
21+
- The model HttpEndpointAuthConfig was changed from type interface to type struct in the Generative AI Agent service
22+
- The field `HttpEndpointAuthConfig` was changed to type `*HttpEndpointAuthConfig` in the model `HttpEndpointToolConfig` in the Generative AI Agent service
23+
- The models `HttpEndpointDelegatedBearerAuthConfig` and `HttpEndpointOciResourcePrincipalAuthConfig` were removed in the Generative AI Agent service
24+
- The models `AttachmentSummary`, `Attachment`, `BuyerInformation`, `CreateAttachmentDetails`, `CreateOfferDetails`, `CreateOfferRequest`, `DeleteOfferRequest`, `ListAttachmentsRequest`, `ListOffersRequest`, `AttachmentClient`, `OfferClient`, `OfferCollection`, `OfferInternalDetail`, `OfferSummary`, `Offer`, `Pricing`, `ResourceBundle`, `SellerInformation`, and `UpdateOfferDetails` were removed in the Marketplace service
25+
- The AI Anomaly Detection service has reached End-of-life
26+
727
## 65.95.2 - 2025-07-15
828
### Added
929
- Support for calling Oracle Cloud Infrastructure services in the ap-delhi-1 region

autoscaling/action.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@
44

55
// Autoscaling API
66
//
7-
// APIs for dynamically scaling Compute resources to meet application requirements. For more information about
7+
// Use the Autoscaling API to dynamically scale compute resources to meet application requirements. For more information about
88
// autoscaling, see Autoscaling (https://docs.oracle.com/iaas/Content/Compute/Tasks/autoscalinginstancepools.htm). For information about the
9-
// Compute service, see Overview of the Compute Service (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm).
10-
// **Note:** Autoscaling is not available in US Government Cloud tenancies. For more information, see
11-
// Oracle Cloud Infrastructure US Government Cloud (https://docs.oracle.com/iaas/Content/General/Concepts/govoverview.htm).
9+
// Compute service, see Compute (https://docs.oracle.com/iaas/Content/Compute/home.htm).
1210
//
1311

1412
package autoscaling

autoscaling/auto_scaling_configuration.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@
44

55
// Autoscaling API
66
//
7-
// APIs for dynamically scaling Compute resources to meet application requirements. For more information about
7+
// Use the Autoscaling API to dynamically scale compute resources to meet application requirements. For more information about
88
// autoscaling, see Autoscaling (https://docs.oracle.com/iaas/Content/Compute/Tasks/autoscalinginstancepools.htm). For information about the
9-
// Compute service, see Overview of the Compute Service (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm).
10-
// **Note:** Autoscaling is not available in US Government Cloud tenancies. For more information, see
11-
// Oracle Cloud Infrastructure US Government Cloud (https://docs.oracle.com/iaas/Content/General/Concepts/govoverview.htm).
9+
// Compute service, see Compute (https://docs.oracle.com/iaas/Content/Compute/home.htm).
1210
//
1311

1412
package autoscaling

autoscaling/auto_scaling_configuration_summary.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@
44

55
// Autoscaling API
66
//
7-
// APIs for dynamically scaling Compute resources to meet application requirements. For more information about
7+
// Use the Autoscaling API to dynamically scale compute resources to meet application requirements. For more information about
88
// autoscaling, see Autoscaling (https://docs.oracle.com/iaas/Content/Compute/Tasks/autoscalinginstancepools.htm). For information about the
9-
// Compute service, see Overview of the Compute Service (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm).
10-
// **Note:** Autoscaling is not available in US Government Cloud tenancies. For more information, see
11-
// Oracle Cloud Infrastructure US Government Cloud (https://docs.oracle.com/iaas/Content/General/Concepts/govoverview.htm).
9+
// Compute service, see Compute (https://docs.oracle.com/iaas/Content/Compute/home.htm).
1210
//
1311

1412
package autoscaling

autoscaling/auto_scaling_policy.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@
44

55
// Autoscaling API
66
//
7-
// APIs for dynamically scaling Compute resources to meet application requirements. For more information about
7+
// Use the Autoscaling API to dynamically scale compute resources to meet application requirements. For more information about
88
// autoscaling, see Autoscaling (https://docs.oracle.com/iaas/Content/Compute/Tasks/autoscalinginstancepools.htm). For information about the
9-
// Compute service, see Overview of the Compute Service (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm).
10-
// **Note:** Autoscaling is not available in US Government Cloud tenancies. For more information, see
11-
// Oracle Cloud Infrastructure US Government Cloud (https://docs.oracle.com/iaas/Content/General/Concepts/govoverview.htm).
9+
// Compute service, see Compute (https://docs.oracle.com/iaas/Content/Compute/home.htm).
1210
//
1311

1412
package autoscaling

autoscaling/auto_scaling_policy_summary.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@
44

55
// Autoscaling API
66
//
7-
// APIs for dynamically scaling Compute resources to meet application requirements. For more information about
7+
// Use the Autoscaling API to dynamically scale compute resources to meet application requirements. For more information about
88
// autoscaling, see Autoscaling (https://docs.oracle.com/iaas/Content/Compute/Tasks/autoscalinginstancepools.htm). For information about the
9-
// Compute service, see Overview of the Compute Service (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm).
10-
// **Note:** Autoscaling is not available in US Government Cloud tenancies. For more information, see
11-
// Oracle Cloud Infrastructure US Government Cloud (https://docs.oracle.com/iaas/Content/General/Concepts/govoverview.htm).
9+
// Compute service, see Compute (https://docs.oracle.com/iaas/Content/Compute/home.htm).
1210
//
1311

1412
package autoscaling

autoscaling/autoscaling_client.go

Lines changed: 24 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@
44

55
// Autoscaling API
66
//
7-
// APIs for dynamically scaling Compute resources to meet application requirements. For more information about
7+
// Use the Autoscaling API to dynamically scale compute resources to meet application requirements. For more information about
88
// autoscaling, see Autoscaling (https://docs.oracle.com/iaas/Content/Compute/Tasks/autoscalinginstancepools.htm). For information about the
9-
// Compute service, see Overview of the Compute Service (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm).
10-
// **Note:** Autoscaling is not available in US Government Cloud tenancies. For more information, see
11-
// Oracle Cloud Infrastructure US Government Cloud (https://docs.oracle.com/iaas/Content/General/Concepts/govoverview.htm).
9+
// Compute service, see Compute (https://docs.oracle.com/iaas/Content/Compute/home.htm).
1210
//
1311

1412
package autoscaling
@@ -104,9 +102,10 @@ func (client *AutoScalingClient) ConfigurationProvider() *common.ConfigurationPr
104102
// # See also
105103
//
106104
// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/autoscaling/ChangeAutoScalingConfigurationCompartment.go.html to see an example of how to use ChangeAutoScalingConfigurationCompartment API.
105+
// A default retry strategy applies to this operation ChangeAutoScalingConfigurationCompartment()
107106
func (client AutoScalingClient) ChangeAutoScalingConfigurationCompartment(ctx context.Context, request ChangeAutoScalingConfigurationCompartmentRequest) (response ChangeAutoScalingConfigurationCompartmentResponse, err error) {
108107
var ociResponse common.OCIResponse
109-
policy := common.NoRetryPolicy()
108+
policy := common.DefaultRetryPolicy()
110109
if client.RetryPolicy() != nil {
111110
policy = *client.RetryPolicy()
112111
}
@@ -166,9 +165,10 @@ func (client AutoScalingClient) changeAutoScalingConfigurationCompartment(ctx co
166165
// # See also
167166
//
168167
// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/autoscaling/CreateAutoScalingConfiguration.go.html to see an example of how to use CreateAutoScalingConfiguration API.
168+
// A default retry strategy applies to this operation CreateAutoScalingConfiguration()
169169
func (client AutoScalingClient) CreateAutoScalingConfiguration(ctx context.Context, request CreateAutoScalingConfigurationRequest) (response CreateAutoScalingConfigurationResponse, err error) {
170170
var ociResponse common.OCIResponse
171-
policy := common.NoRetryPolicy()
171+
policy := common.DefaultRetryPolicy()
172172
if client.RetryPolicy() != nil {
173173
policy = *client.RetryPolicy()
174174
}
@@ -233,9 +233,10 @@ func (client AutoScalingClient) createAutoScalingConfiguration(ctx context.Conte
233233
// # See also
234234
//
235235
// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/autoscaling/CreateAutoScalingPolicy.go.html to see an example of how to use CreateAutoScalingPolicy API.
236+
// A default retry strategy applies to this operation CreateAutoScalingPolicy()
236237
func (client AutoScalingClient) CreateAutoScalingPolicy(ctx context.Context, request CreateAutoScalingPolicyRequest) (response CreateAutoScalingPolicyResponse, err error) {
237238
var ociResponse common.OCIResponse
238-
policy := common.NoRetryPolicy()
239+
policy := common.DefaultRetryPolicy()
239240
if client.RetryPolicy() != nil {
240241
policy = *client.RetryPolicy()
241242
}
@@ -295,9 +296,10 @@ func (client AutoScalingClient) createAutoScalingPolicy(ctx context.Context, req
295296
// # See also
296297
//
297298
// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/autoscaling/DeleteAutoScalingConfiguration.go.html to see an example of how to use DeleteAutoScalingConfiguration API.
299+
// A default retry strategy applies to this operation DeleteAutoScalingConfiguration()
298300
func (client AutoScalingClient) DeleteAutoScalingConfiguration(ctx context.Context, request DeleteAutoScalingConfigurationRequest) (response DeleteAutoScalingConfigurationResponse, err error) {
299301
var ociResponse common.OCIResponse
300-
policy := common.NoRetryPolicy()
302+
policy := common.DefaultRetryPolicy()
301303
if client.RetryPolicy() != nil {
302304
policy = *client.RetryPolicy()
303305
}
@@ -352,9 +354,10 @@ func (client AutoScalingClient) deleteAutoScalingConfiguration(ctx context.Conte
352354
// # See also
353355
//
354356
// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/autoscaling/DeleteAutoScalingPolicy.go.html to see an example of how to use DeleteAutoScalingPolicy API.
357+
// A default retry strategy applies to this operation DeleteAutoScalingPolicy()
355358
func (client AutoScalingClient) DeleteAutoScalingPolicy(ctx context.Context, request DeleteAutoScalingPolicyRequest) (response DeleteAutoScalingPolicyResponse, err error) {
356359
var ociResponse common.OCIResponse
357-
policy := common.NoRetryPolicy()
360+
policy := common.DefaultRetryPolicy()
358361
if client.RetryPolicy() != nil {
359362
policy = *client.RetryPolicy()
360363
}
@@ -409,9 +412,10 @@ func (client AutoScalingClient) deleteAutoScalingPolicy(ctx context.Context, req
409412
// # See also
410413
//
411414
// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/autoscaling/GetAutoScalingConfiguration.go.html to see an example of how to use GetAutoScalingConfiguration API.
415+
// A default retry strategy applies to this operation GetAutoScalingConfiguration()
412416
func (client AutoScalingClient) GetAutoScalingConfiguration(ctx context.Context, request GetAutoScalingConfigurationRequest) (response GetAutoScalingConfigurationResponse, err error) {
413417
var ociResponse common.OCIResponse
414-
policy := common.NoRetryPolicy()
418+
policy := common.DefaultRetryPolicy()
415419
if client.RetryPolicy() != nil {
416420
policy = *client.RetryPolicy()
417421
}
@@ -466,9 +470,10 @@ func (client AutoScalingClient) getAutoScalingConfiguration(ctx context.Context,
466470
// # See also
467471
//
468472
// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/autoscaling/GetAutoScalingPolicy.go.html to see an example of how to use GetAutoScalingPolicy API.
473+
// A default retry strategy applies to this operation GetAutoScalingPolicy()
469474
func (client AutoScalingClient) GetAutoScalingPolicy(ctx context.Context, request GetAutoScalingPolicyRequest) (response GetAutoScalingPolicyResponse, err error) {
470475
var ociResponse common.OCIResponse
471-
policy := common.NoRetryPolicy()
476+
policy := common.DefaultRetryPolicy()
472477
if client.RetryPolicy() != nil {
473478
policy = *client.RetryPolicy()
474479
}
@@ -523,9 +528,10 @@ func (client AutoScalingClient) getAutoScalingPolicy(ctx context.Context, reques
523528
// # See also
524529
//
525530
// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/autoscaling/ListAutoScalingConfigurations.go.html to see an example of how to use ListAutoScalingConfigurations API.
531+
// A default retry strategy applies to this operation ListAutoScalingConfigurations()
526532
func (client AutoScalingClient) ListAutoScalingConfigurations(ctx context.Context, request ListAutoScalingConfigurationsRequest) (response ListAutoScalingConfigurationsResponse, err error) {
527533
var ociResponse common.OCIResponse
528-
policy := common.NoRetryPolicy()
534+
policy := common.DefaultRetryPolicy()
529535
if client.RetryPolicy() != nil {
530536
policy = *client.RetryPolicy()
531537
}
@@ -580,9 +586,10 @@ func (client AutoScalingClient) listAutoScalingConfigurations(ctx context.Contex
580586
// # See also
581587
//
582588
// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/autoscaling/ListAutoScalingPolicies.go.html to see an example of how to use ListAutoScalingPolicies API.
589+
// A default retry strategy applies to this operation ListAutoScalingPolicies()
583590
func (client AutoScalingClient) ListAutoScalingPolicies(ctx context.Context, request ListAutoScalingPoliciesRequest) (response ListAutoScalingPoliciesResponse, err error) {
584591
var ociResponse common.OCIResponse
585-
policy := common.NoRetryPolicy()
592+
policy := common.DefaultRetryPolicy()
586593
if client.RetryPolicy() != nil {
587594
policy = *client.RetryPolicy()
588595
}
@@ -638,9 +645,10 @@ func (client AutoScalingClient) listAutoScalingPolicies(ctx context.Context, req
638645
// # See also
639646
//
640647
// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/autoscaling/UpdateAutoScalingConfiguration.go.html to see an example of how to use UpdateAutoScalingConfiguration API.
648+
// A default retry strategy applies to this operation UpdateAutoScalingConfiguration()
641649
func (client AutoScalingClient) UpdateAutoScalingConfiguration(ctx context.Context, request UpdateAutoScalingConfigurationRequest) (response UpdateAutoScalingConfigurationResponse, err error) {
642650
var ociResponse common.OCIResponse
643-
policy := common.NoRetryPolicy()
651+
policy := common.DefaultRetryPolicy()
644652
if client.RetryPolicy() != nil {
645653
policy = *client.RetryPolicy()
646654
}
@@ -700,9 +708,10 @@ func (client AutoScalingClient) updateAutoScalingConfiguration(ctx context.Conte
700708
// # See also
701709
//
702710
// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/autoscaling/UpdateAutoScalingPolicy.go.html to see an example of how to use UpdateAutoScalingPolicy API.
711+
// A default retry strategy applies to this operation UpdateAutoScalingPolicy()
703712
func (client AutoScalingClient) UpdateAutoScalingPolicy(ctx context.Context, request UpdateAutoScalingPolicyRequest) (response UpdateAutoScalingPolicyResponse, err error) {
704713
var ociResponse common.OCIResponse
705-
policy := common.NoRetryPolicy()
714+
policy := common.DefaultRetryPolicy()
706715
if client.RetryPolicy() != nil {
707716
policy = *client.RetryPolicy()
708717
}

autoscaling/capacity.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@
44

55
// Autoscaling API
66
//
7-
// APIs for dynamically scaling Compute resources to meet application requirements. For more information about
7+
// Use the Autoscaling API to dynamically scale compute resources to meet application requirements. For more information about
88
// autoscaling, see Autoscaling (https://docs.oracle.com/iaas/Content/Compute/Tasks/autoscalinginstancepools.htm). For information about the
9-
// Compute service, see Overview of the Compute Service (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm).
10-
// **Note:** Autoscaling is not available in US Government Cloud tenancies. For more information, see
11-
// Oracle Cloud Infrastructure US Government Cloud (https://docs.oracle.com/iaas/Content/General/Concepts/govoverview.htm).
9+
// Compute service, see Compute (https://docs.oracle.com/iaas/Content/Compute/home.htm).
1210
//
1311

1412
package autoscaling

autoscaling/change_auto_scaling_compartment_details.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@
44

55
// Autoscaling API
66
//
7-
// APIs for dynamically scaling Compute resources to meet application requirements. For more information about
7+
// Use the Autoscaling API to dynamically scale compute resources to meet application requirements. For more information about
88
// autoscaling, see Autoscaling (https://docs.oracle.com/iaas/Content/Compute/Tasks/autoscalinginstancepools.htm). For information about the
9-
// Compute service, see Overview of the Compute Service (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm).
10-
// **Note:** Autoscaling is not available in US Government Cloud tenancies. For more information, see
11-
// Oracle Cloud Infrastructure US Government Cloud (https://docs.oracle.com/iaas/Content/General/Concepts/govoverview.htm).
9+
// Compute service, see Compute (https://docs.oracle.com/iaas/Content/Compute/home.htm).
1210
//
1311

1412
package autoscaling

autoscaling/condition.go

Lines changed: 37 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,15 @@
44

55
// Autoscaling API
66
//
7-
// APIs for dynamically scaling Compute resources to meet application requirements. For more information about
7+
// Use the Autoscaling API to dynamically scale compute resources to meet application requirements. For more information about
88
// autoscaling, see Autoscaling (https://docs.oracle.com/iaas/Content/Compute/Tasks/autoscalinginstancepools.htm). For information about the
9-
// Compute service, see Overview of the Compute Service (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm).
10-
// **Note:** Autoscaling is not available in US Government Cloud tenancies. For more information, see
11-
// Oracle Cloud Infrastructure US Government Cloud (https://docs.oracle.com/iaas/Content/General/Concepts/govoverview.htm).
9+
// Compute service, see Compute (https://docs.oracle.com/iaas/Content/Compute/home.htm).
1210
//
1311

1412
package autoscaling
1513

1614
import (
15+
"encoding/json"
1716
"fmt"
1817
"github.com/oracle/oci-go-sdk/v65/common"
1918
"strings"
@@ -23,7 +22,7 @@ import (
2322
type Condition struct {
2423
Action *Action `mandatory:"true" json:"action"`
2524

26-
Metric *Metric `mandatory:"true" json:"metric"`
25+
Metric MetricBase `mandatory:"true" json:"metric"`
2726

2827
// A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
2928
DisplayName *string `mandatory:"false" json:"displayName"`
@@ -47,3 +46,36 @@ func (m Condition) ValidateEnumValue() (bool, error) {
4746
}
4847
return false, nil
4948
}
49+
50+
// UnmarshalJSON unmarshals from json
51+
func (m *Condition) UnmarshalJSON(data []byte) (e error) {
52+
model := struct {
53+
DisplayName *string `json:"displayName"`
54+
Id *string `json:"id"`
55+
Action *Action `json:"action"`
56+
Metric metricbase `json:"metric"`
57+
}{}
58+
59+
e = json.Unmarshal(data, &model)
60+
if e != nil {
61+
return
62+
}
63+
var nn interface{}
64+
m.DisplayName = model.DisplayName
65+
66+
m.Id = model.Id
67+
68+
m.Action = model.Action
69+
70+
nn, e = model.Metric.UnmarshalPolymorphicJSON(model.Metric.JsonData)
71+
if e != nil {
72+
return
73+
}
74+
if nn != nil {
75+
m.Metric = nn.(MetricBase)
76+
} else {
77+
m.Metric = nil
78+
}
79+
80+
return
81+
}

0 commit comments

Comments
 (0)