Skip to content

Commit bbb03b2

Browse files
Releasing version 65.72.0
Releasing version 65.72.0
2 parents 02c4d9f + 2b2033e commit bbb03b2

File tree

320 files changed

+28633
-591
lines changed

Some content is hidden

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

320 files changed

+28633
-591
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,20 @@ 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.72.0 - 2024-08-20
8+
### Added
9+
- Support for Fleet Application Management service
10+
- Support for creating maintenance runs using autonomous database software images in the Database service
11+
- Support for Object Storage buckets, Oracle databases, Oracle databases on exascale Infrastructure, autonomous container databases, and autonomous container databases on Cloud at Customer in the Disaster Recovery service
12+
- Support for multiple sharing modes in the OCI Cache service
13+
- Support for extended data retention periods for instances in the Integration Cloud service
14+
- Support for SQL watch and lifecycle management in the Database management service
15+
- Support for identity domains and feature sets in the Analytics Cloud service
16+
- Support for automatically extending the storage space for MySQL DB systems in pre-defined increments in the MySQL Database service
17+
18+
### Breaking Changes
19+
- The property `DrPlanExecutionType` has been removed from the model `ListDrPlanExecutionsRequest` in the Disaster Recovery service
20+
721
## 65.71.1 - 2024-08-13
822
### Added
923
- Support for calling Oracle Cloud Infrastructure services in the `me-abudhabi-4` region

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
DOC_SERVER_URL=https:\/\/docs.cloud.oracle.com
22

3-
GEN_TARGETS = identity core objectstorage loadbalancer database audit dns filestorage email containerengine resourcesearch keymanagement announcementsservice healthchecks waas autoscaling streaming ons monitoring resourcemanager budget workrequests functions limits events dts oce oda analytics integration osmanagement marketplace apigateway datacatalog dataflow datascience nosql secrets vault bds cims datasafe mysql dataintegration ocvp usageapi blockchain loggingingestion logging loganalytics managementdashboard sch loggingsearch managementagent cloudguard opsi computeinstanceagent optimizer tenantmanagercontrolplane rover databasemanagement artifacts apmsynthetics goldengate apmcontrolplane apmtraces networkloadbalancer vulnerabilityscanning databasemigration servicecatalog ailanguage operatoraccesscontrol bastion genericartifactscontent jms devops aianomalydetection datalabelingservice datalabelingservicedataplane apmconfig waf certificates certificatesmanagement usage databasetools servicemanagerproxy appmgmtcontrol ospgateway identitydataplane visualbuilder osubusage osubsubscription osuborganizationsubscription osubbillingschedule dashboardservice threatintelligence aivision aispeech stackmonitoring servicemesh adm licensemanager onesubscription governancerulescontrolplane waa networkfirewall vnmonitoring emwarehouse lockbox fusionapps mediaservices opa opensearch cloudmigrations cloudbridge disasterrecovery containerinstances aidocument queue recovery vbsinst identitydomains accessgovernancecp ocicontrolcenter osmanagementhub fleetsoftwareupdate computecloudatcustomer marketplacepublisher redis jmsjavadownloads psql generativeai generativeaiinference capacitymanagement globallydistributeddatabase desktops emaildataplane clusterplacementgroups marketplaceprivateoffer resourcescheduler demandsignal ##SPECNAME##
3+
GEN_TARGETS = identity core objectstorage loadbalancer database audit dns filestorage email containerengine resourcesearch keymanagement announcementsservice healthchecks waas autoscaling streaming ons monitoring resourcemanager budget workrequests functions limits events dts oce oda analytics integration osmanagement marketplace apigateway datacatalog dataflow datascience nosql secrets vault bds cims datasafe mysql dataintegration ocvp usageapi blockchain loggingingestion logging loganalytics managementdashboard sch loggingsearch managementagent cloudguard opsi computeinstanceagent optimizer tenantmanagercontrolplane rover databasemanagement artifacts apmsynthetics goldengate apmcontrolplane apmtraces networkloadbalancer vulnerabilityscanning databasemigration servicecatalog ailanguage operatoraccesscontrol bastion genericartifactscontent jms devops aianomalydetection datalabelingservice datalabelingservicedataplane apmconfig waf certificates certificatesmanagement usage databasetools servicemanagerproxy appmgmtcontrol ospgateway identitydataplane visualbuilder osubusage osubsubscription osuborganizationsubscription osubbillingschedule dashboardservice threatintelligence aivision aispeech stackmonitoring servicemesh adm licensemanager onesubscription governancerulescontrolplane waa networkfirewall vnmonitoring emwarehouse lockbox fusionapps mediaservices opa opensearch cloudmigrations cloudbridge disasterrecovery containerinstances aidocument queue recovery vbsinst identitydomains accessgovernancecp ocicontrolcenter osmanagementhub fleetsoftwareupdate computecloudatcustomer marketplacepublisher redis jmsjavadownloads psql generativeai generativeaiinference capacitymanagement globallydistributeddatabase desktops emaildataplane clusterplacementgroups marketplaceprivateoffer resourcescheduler demandsignal fleetappsmanagement ##SPECNAME##
44
NON_GEN_TARGETS = common common/auth objectstorage/transfer example
55
TARGETS = $(NON_GEN_TARGETS) $(GEN_TARGETS)
66

analytics/analytics_client.go

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1128,6 +1128,69 @@ func (client AnalyticsClient) scaleAnalyticsInstance(ctx context.Context, reques
11281128
return response, err
11291129
}
11301130

1131+
// SetFeatureBundle Set the external service properties of an Analytics instance.
1132+
//
1133+
// # See also
1134+
//
1135+
// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/analytics/SetFeatureBundle.go.html to see an example of how to use SetFeatureBundle API.
1136+
// A default retry strategy applies to this operation SetFeatureBundle()
1137+
func (client AnalyticsClient) SetFeatureBundle(ctx context.Context, request SetFeatureBundleRequest) (response SetFeatureBundleResponse, err error) {
1138+
var ociResponse common.OCIResponse
1139+
policy := common.DefaultRetryPolicy()
1140+
if client.RetryPolicy() != nil {
1141+
policy = *client.RetryPolicy()
1142+
}
1143+
if request.RetryPolicy() != nil {
1144+
policy = *request.RetryPolicy()
1145+
}
1146+
1147+
if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") {
1148+
request.OpcRetryToken = common.String(common.RetryToken())
1149+
}
1150+
1151+
ociResponse, err = common.Retry(ctx, request, client.setFeatureBundle, policy)
1152+
if err != nil {
1153+
if ociResponse != nil {
1154+
if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil {
1155+
opcRequestId := httpResponse.Header.Get("opc-request-id")
1156+
response = SetFeatureBundleResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId}
1157+
} else {
1158+
response = SetFeatureBundleResponse{}
1159+
}
1160+
}
1161+
return
1162+
}
1163+
if convertedResponse, ok := ociResponse.(SetFeatureBundleResponse); ok {
1164+
response = convertedResponse
1165+
} else {
1166+
err = fmt.Errorf("failed to convert OCIResponse into SetFeatureBundleResponse")
1167+
}
1168+
return
1169+
}
1170+
1171+
// setFeatureBundle implements the OCIOperation interface (enables retrying operations)
1172+
func (client AnalyticsClient) setFeatureBundle(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) {
1173+
1174+
httpRequest, err := request.HTTPRequest(http.MethodPost, "/analyticsInstances/{analyticsInstanceId}/actions/setFeatureBundle", binaryReqBody, extraHeaders)
1175+
if err != nil {
1176+
return nil, err
1177+
}
1178+
1179+
var response SetFeatureBundleResponse
1180+
var httpResponse *http.Response
1181+
httpResponse, err = client.Call(ctx, &httpRequest)
1182+
defer common.CloseBodyIfValid(httpResponse)
1183+
response.RawResponse = httpResponse
1184+
if err != nil {
1185+
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/analytics/20190331/AnalyticsInstance/SetFeatureBundle"
1186+
err = common.PostProcessServiceError(err, "Analytics", "SetFeatureBundle", apiReferenceLink)
1187+
return response, err
1188+
}
1189+
1190+
err = common.UnmarshalResponse(httpResponse, &response)
1191+
return response, err
1192+
}
1193+
11311194
// SetKmsKey Encrypts the customer data of this Analytics instance using either a customer OCI Vault Key or Oracle managed default key.
11321195
//
11331196
// # See also

analytics/analytics_instance.go

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,23 @@ type AnalyticsInstance struct {
7070
// Example: `{"Department": "Finance"}`
7171
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
7272

73-
// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the OCI Vault Key encrypting the customer data stored in this Analytics instance. A null value indicates Oracle managed default encryption.
73+
// System tags for this resource. These predefined keys are scoped to namespaces.
74+
// Example: `{"orcl-cloud": {"key": "value"}}`
75+
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
76+
77+
// OCID of the OCI Vault Key encrypting the customer data stored in this Analytics instance. A null value indicates Oracle managed default encryption.
7478
KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`
7579

7680
// The date and time the instance was last updated (in the format defined by RFC3339).
7781
// This timestamp represents updates made through this API. External events do not
7882
// influence it.
7983
TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
84+
85+
// The feature set of an Analytics instance.
86+
FeatureBundle FeatureBundleEnum `mandatory:"false" json:"featureBundle,omitempty"`
87+
88+
// Identity domain OCID.
89+
DomainId *string `mandatory:"false" json:"domainId"`
8090
}
8191

8292
func (m AnalyticsInstance) String() string {
@@ -98,6 +108,9 @@ func (m AnalyticsInstance) ValidateEnumValue() (bool, error) {
98108
if _, ok := GetMappingLicenseTypeEnum(string(m.LicenseType)); !ok && m.LicenseType != "" {
99109
errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LicenseType: %s. Supported values are: %s.", m.LicenseType, strings.Join(GetLicenseTypeEnumStringValues(), ",")))
100110
}
111+
if _, ok := GetMappingFeatureBundleEnum(string(m.FeatureBundle)); !ok && m.FeatureBundle != "" {
112+
errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for FeatureBundle: %s. Supported values are: %s.", m.FeatureBundle, strings.Join(GetFeatureBundleEnumStringValues(), ",")))
113+
}
101114
if len(errMessage) > 0 {
102115
return true, fmt.Errorf(strings.Join(errMessage, "\n"))
103116
}
@@ -115,8 +128,11 @@ func (m *AnalyticsInstance) UnmarshalJSON(data []byte) (e error) {
115128
ServiceUrl *string `json:"serviceUrl"`
116129
DefinedTags map[string]map[string]interface{} `json:"definedTags"`
117130
FreeformTags map[string]string `json:"freeformTags"`
131+
SystemTags map[string]map[string]interface{} `json:"systemTags"`
118132
KmsKeyId *string `json:"kmsKeyId"`
119133
TimeUpdated *common.SDKTime `json:"timeUpdated"`
134+
FeatureBundle FeatureBundleEnum `json:"featureBundle"`
135+
DomainId *string `json:"domainId"`
120136
Id *string `json:"id"`
121137
Name *string `json:"name"`
122138
CompartmentId *string `json:"compartmentId"`
@@ -148,10 +164,16 @@ func (m *AnalyticsInstance) UnmarshalJSON(data []byte) (e error) {
148164

149165
m.FreeformTags = model.FreeformTags
150166

167+
m.SystemTags = model.SystemTags
168+
151169
m.KmsKeyId = model.KmsKeyId
152170

153171
m.TimeUpdated = model.TimeUpdated
154172

173+
m.FeatureBundle = model.FeatureBundle
174+
175+
m.DomainId = model.DomainId
176+
155177
m.Id = model.Id
156178

157179
m.Name = model.Name

analytics/analytics_instance_summary.go

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,20 @@ type AnalyticsInstanceSummary struct {
5454
// URL of the Analytics service.
5555
ServiceUrl *string `mandatory:"false" json:"serviceUrl"`
5656

57+
// Defined tags for this resource. Each key is predefined and scoped to a
58+
// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
59+
// Example: `{"Operations": {"CostCenter": "42"}}`
60+
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
61+
62+
// Free-form tags for this resource. Each tag is a simple key-value pair with no
63+
// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
64+
// Example: `{"Department": "Finance"}`
65+
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
66+
67+
// System tags for this resource. These predefined keys are scoped to namespaces.
68+
// Example: `{"orcl-cloud": {"key": "value"}}`
69+
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
70+
5771
// The date and time the instance was last updated (in the format defined by RFC3339).
5872
// This timestamp represents updates made through this API. External events do not
5973
// influence it.
@@ -92,6 +106,9 @@ func (m *AnalyticsInstanceSummary) UnmarshalJSON(data []byte) (e error) {
92106
LicenseType LicenseTypeEnum `json:"licenseType"`
93107
EmailNotification *string `json:"emailNotification"`
94108
ServiceUrl *string `json:"serviceUrl"`
109+
DefinedTags map[string]map[string]interface{} `json:"definedTags"`
110+
FreeformTags map[string]string `json:"freeformTags"`
111+
SystemTags map[string]map[string]interface{} `json:"systemTags"`
95112
TimeUpdated *common.SDKTime `json:"timeUpdated"`
96113
Id *string `json:"id"`
97114
Name *string `json:"name"`
@@ -116,6 +133,12 @@ func (m *AnalyticsInstanceSummary) UnmarshalJSON(data []byte) (e error) {
116133

117134
m.ServiceUrl = model.ServiceUrl
118135

136+
m.DefinedTags = model.DefinedTags
137+
138+
m.FreeformTags = model.FreeformTags
139+
140+
m.SystemTags = model.SystemTags
141+
119142
m.TimeUpdated = model.TimeUpdated
120143

121144
m.Id = model.Id

analytics/capacity.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,12 @@ import (
1919
type Capacity struct {
2020

2121
// The capacity model to use.
22+
// Accepted values are:
23+
// OLPU_COUNT, USER_COUNT
2224
CapacityType CapacityTypeEnum `mandatory:"true" json:"capacityType"`
2325

24-
// The capacity value selected (OLPU count, number of users, ...etc...). This parameter affects the
25-
// number of CPUs, amount of memory or other resources allocated to the instance.
26+
// The capacity value selected, either the number of OCPUs (OLPU_COUNT) or the number of users (USER_COUNT).
27+
// This parameter affects the number of OCPUs, amount of memory, and other resources allocated to the instance.
2628
CapacityValue *int `mandatory:"true" json:"capacityValue"`
2729
}
2830

analytics/create_analytics_instance_details.go

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,17 @@ type CreateAnalyticsInstanceDetails struct {
5454
// Example: `{"Department": "Finance"}`
5555
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
5656

57-
// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the OCI Vault Key encrypting the customer data stored in this Analytics instance. A null value indicates Oracle managed default encryption.
57+
// OCID of the OCI Vault Key encrypting the customer data stored in this Analytics instance. A null value indicates Oracle managed default encryption.
5858
KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`
59+
60+
// domain id for which the user is authorized.
61+
DomainId *string `mandatory:"false" json:"domainId"`
62+
63+
// user name of the authorized user.
64+
AdminUser *string `mandatory:"false" json:"adminUser"`
65+
66+
// The feature set of an Analytics instance.
67+
FeatureBundle FeatureBundleEnum `mandatory:"false" json:"featureBundle,omitempty"`
5968
}
6069

6170
func (m CreateAnalyticsInstanceDetails) String() string {
@@ -74,6 +83,9 @@ func (m CreateAnalyticsInstanceDetails) ValidateEnumValue() (bool, error) {
7483
errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LicenseType: %s. Supported values are: %s.", m.LicenseType, strings.Join(GetLicenseTypeEnumStringValues(), ",")))
7584
}
7685

86+
if _, ok := GetMappingFeatureBundleEnum(string(m.FeatureBundle)); !ok && m.FeatureBundle != "" {
87+
errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for FeatureBundle: %s. Supported values are: %s.", m.FeatureBundle, strings.Join(GetFeatureBundleEnumStringValues(), ",")))
88+
}
7789
if len(errMessage) > 0 {
7890
return true, fmt.Errorf(strings.Join(errMessage, "\n"))
7991
}
@@ -90,6 +102,9 @@ func (m *CreateAnalyticsInstanceDetails) UnmarshalJSON(data []byte) (e error) {
90102
DefinedTags map[string]map[string]interface{} `json:"definedTags"`
91103
FreeformTags map[string]string `json:"freeformTags"`
92104
KmsKeyId *string `json:"kmsKeyId"`
105+
DomainId *string `json:"domainId"`
106+
AdminUser *string `json:"adminUser"`
107+
FeatureBundle FeatureBundleEnum `json:"featureBundle"`
93108
Name *string `json:"name"`
94109
CompartmentId *string `json:"compartmentId"`
95110
FeatureSet FeatureSetEnum `json:"featureSet"`
@@ -124,6 +139,12 @@ func (m *CreateAnalyticsInstanceDetails) UnmarshalJSON(data []byte) (e error) {
124139

125140
m.KmsKeyId = model.KmsKeyId
126141

142+
m.DomainId = model.DomainId
143+
144+
m.AdminUser = model.AdminUser
145+
146+
m.FeatureBundle = model.FeatureBundle
147+
127148
m.Name = model.Name
128149

129150
m.CompartmentId = model.CompartmentId

analytics/feature_bundle.go

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
// Copyright (c) 2016, 2018, 2024, 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+
// Analytics API
6+
//
7+
// Analytics API.
8+
//
9+
10+
package analytics
11+
12+
import (
13+
"strings"
14+
)
15+
16+
// FeatureBundleEnum Enum with underlying type: string
17+
type FeatureBundleEnum string
18+
19+
// Set of constants representing the allowable values for FeatureBundleEnum
20+
const (
21+
FeatureBundleFawPaid FeatureBundleEnum = "FAW_PAID"
22+
FeatureBundleFawFree FeatureBundleEnum = "FAW_FREE"
23+
FeatureBundleEeEmbedded FeatureBundleEnum = "EE_EMBEDDED"
24+
FeatureBundleSeEmbedded FeatureBundleEnum = "SE_EMBEDDED"
25+
)
26+
27+
var mappingFeatureBundleEnum = map[string]FeatureBundleEnum{
28+
"FAW_PAID": FeatureBundleFawPaid,
29+
"FAW_FREE": FeatureBundleFawFree,
30+
"EE_EMBEDDED": FeatureBundleEeEmbedded,
31+
"SE_EMBEDDED": FeatureBundleSeEmbedded,
32+
}
33+
34+
var mappingFeatureBundleEnumLowerCase = map[string]FeatureBundleEnum{
35+
"faw_paid": FeatureBundleFawPaid,
36+
"faw_free": FeatureBundleFawFree,
37+
"ee_embedded": FeatureBundleEeEmbedded,
38+
"se_embedded": FeatureBundleSeEmbedded,
39+
}
40+
41+
// GetFeatureBundleEnumValues Enumerates the set of values for FeatureBundleEnum
42+
func GetFeatureBundleEnumValues() []FeatureBundleEnum {
43+
values := make([]FeatureBundleEnum, 0)
44+
for _, v := range mappingFeatureBundleEnum {
45+
values = append(values, v)
46+
}
47+
return values
48+
}
49+
50+
// GetFeatureBundleEnumStringValues Enumerates the set of values in String for FeatureBundleEnum
51+
func GetFeatureBundleEnumStringValues() []string {
52+
return []string{
53+
"FAW_PAID",
54+
"FAW_FREE",
55+
"EE_EMBEDDED",
56+
"SE_EMBEDDED",
57+
}
58+
}
59+
60+
// GetMappingFeatureBundleEnum performs case Insensitive comparison on enum value and return the desired enum
61+
func GetMappingFeatureBundleEnum(val string) (FeatureBundleEnum, bool) {
62+
enum, ok := mappingFeatureBundleEnumLowerCase[strings.ToLower(val)]
63+
return enum, ok
64+
}

0 commit comments

Comments
 (0)