Skip to content

Commit

Permalink
Releasing version 65.72.0
Browse files Browse the repository at this point in the history
Releasing version 65.72.0
  • Loading branch information
oci-dex-release-bot committed Aug 20, 2024
2 parents 02c4d9f + 2b2033e commit bbb03b2
Show file tree
Hide file tree
Showing 320 changed files with 28,633 additions and 591 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,20 @@ All notable changes to this project will be documented in this file.

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

## 65.72.0 - 2024-08-20
### Added
- Support for Fleet Application Management service
- Support for creating maintenance runs using autonomous database software images in the Database service
- 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
- Support for multiple sharing modes in the OCI Cache service
- Support for extended data retention periods for instances in the Integration Cloud service
- Support for SQL watch and lifecycle management in the Database management service
- Support for identity domains and feature sets in the Analytics Cloud service
- Support for automatically extending the storage space for MySQL DB systems in pre-defined increments in the MySQL Database service

### Breaking Changes
- The property `DrPlanExecutionType` has been removed from the model `ListDrPlanExecutionsRequest` in the Disaster Recovery service

## 65.71.1 - 2024-08-13
### Added
- Support for calling Oracle Cloud Infrastructure services in the `me-abudhabi-4` region
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
DOC_SERVER_URL=https:\/\/docs.cloud.oracle.com

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##
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##
NON_GEN_TARGETS = common common/auth objectstorage/transfer example
TARGETS = $(NON_GEN_TARGETS) $(GEN_TARGETS)

Expand Down
63 changes: 63 additions & 0 deletions analytics/analytics_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -1128,6 +1128,69 @@ func (client AnalyticsClient) scaleAnalyticsInstance(ctx context.Context, reques
return response, err
}

// SetFeatureBundle Set the external service properties of an Analytics instance.
//
// # See also
//
// 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.
// A default retry strategy applies to this operation SetFeatureBundle()
func (client AnalyticsClient) SetFeatureBundle(ctx context.Context, request SetFeatureBundleRequest) (response SetFeatureBundleResponse, err error) {
var ociResponse common.OCIResponse
policy := common.DefaultRetryPolicy()
if client.RetryPolicy() != nil {
policy = *client.RetryPolicy()
}
if request.RetryPolicy() != nil {
policy = *request.RetryPolicy()
}

if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") {
request.OpcRetryToken = common.String(common.RetryToken())
}

ociResponse, err = common.Retry(ctx, request, client.setFeatureBundle, policy)
if err != nil {
if ociResponse != nil {
if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil {
opcRequestId := httpResponse.Header.Get("opc-request-id")
response = SetFeatureBundleResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId}
} else {
response = SetFeatureBundleResponse{}
}
}
return
}
if convertedResponse, ok := ociResponse.(SetFeatureBundleResponse); ok {
response = convertedResponse
} else {
err = fmt.Errorf("failed to convert OCIResponse into SetFeatureBundleResponse")
}
return
}

// setFeatureBundle implements the OCIOperation interface (enables retrying operations)
func (client AnalyticsClient) setFeatureBundle(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) {

httpRequest, err := request.HTTPRequest(http.MethodPost, "/analyticsInstances/{analyticsInstanceId}/actions/setFeatureBundle", binaryReqBody, extraHeaders)
if err != nil {
return nil, err
}

var response SetFeatureBundleResponse
var httpResponse *http.Response
httpResponse, err = client.Call(ctx, &httpRequest)
defer common.CloseBodyIfValid(httpResponse)
response.RawResponse = httpResponse
if err != nil {
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/analytics/20190331/AnalyticsInstance/SetFeatureBundle"
err = common.PostProcessServiceError(err, "Analytics", "SetFeatureBundle", apiReferenceLink)
return response, err
}

err = common.UnmarshalResponse(httpResponse, &response)
return response, err
}

// SetKmsKey Encrypts the customer data of this Analytics instance using either a customer OCI Vault Key or Oracle managed default key.
//
// # See also
Expand Down
24 changes: 23 additions & 1 deletion analytics/analytics_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,23 @@ type AnalyticsInstance struct {
// Example: `{"Department": "Finance"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

// 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.
// System tags for this resource. These predefined keys are scoped to namespaces.
// Example: `{"orcl-cloud": {"key": "value"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

// OCID of the OCI Vault Key encrypting the customer data stored in this Analytics instance. A null value indicates Oracle managed default encryption.
KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`

// The date and time the instance was last updated (in the format defined by RFC3339).
// This timestamp represents updates made through this API. External events do not
// influence it.
TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

// The feature set of an Analytics instance.
FeatureBundle FeatureBundleEnum `mandatory:"false" json:"featureBundle,omitempty"`

// Identity domain OCID.
DomainId *string `mandatory:"false" json:"domainId"`
}

func (m AnalyticsInstance) String() string {
Expand All @@ -98,6 +108,9 @@ func (m AnalyticsInstance) ValidateEnumValue() (bool, error) {
if _, ok := GetMappingLicenseTypeEnum(string(m.LicenseType)); !ok && m.LicenseType != "" {
errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LicenseType: %s. Supported values are: %s.", m.LicenseType, strings.Join(GetLicenseTypeEnumStringValues(), ",")))
}
if _, ok := GetMappingFeatureBundleEnum(string(m.FeatureBundle)); !ok && m.FeatureBundle != "" {
errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for FeatureBundle: %s. Supported values are: %s.", m.FeatureBundle, strings.Join(GetFeatureBundleEnumStringValues(), ",")))
}
if len(errMessage) > 0 {
return true, fmt.Errorf(strings.Join(errMessage, "\n"))
}
Expand All @@ -115,8 +128,11 @@ func (m *AnalyticsInstance) UnmarshalJSON(data []byte) (e error) {
ServiceUrl *string `json:"serviceUrl"`
DefinedTags map[string]map[string]interface{} `json:"definedTags"`
FreeformTags map[string]string `json:"freeformTags"`
SystemTags map[string]map[string]interface{} `json:"systemTags"`
KmsKeyId *string `json:"kmsKeyId"`
TimeUpdated *common.SDKTime `json:"timeUpdated"`
FeatureBundle FeatureBundleEnum `json:"featureBundle"`
DomainId *string `json:"domainId"`
Id *string `json:"id"`
Name *string `json:"name"`
CompartmentId *string `json:"compartmentId"`
Expand Down Expand Up @@ -148,10 +164,16 @@ func (m *AnalyticsInstance) UnmarshalJSON(data []byte) (e error) {

m.FreeformTags = model.FreeformTags

m.SystemTags = model.SystemTags

m.KmsKeyId = model.KmsKeyId

m.TimeUpdated = model.TimeUpdated

m.FeatureBundle = model.FeatureBundle

m.DomainId = model.DomainId

m.Id = model.Id

m.Name = model.Name
Expand Down
23 changes: 23 additions & 0 deletions analytics/analytics_instance_summary.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,20 @@ type AnalyticsInstanceSummary struct {
// URL of the Analytics service.
ServiceUrl *string `mandatory:"false" json:"serviceUrl"`

// Defined tags for this resource. Each key is predefined and scoped to a
// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
// Example: `{"Operations": {"CostCenter": "42"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

// Free-form tags for this resource. Each tag is a simple key-value pair with no
// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
// Example: `{"Department": "Finance"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

// System tags for this resource. These predefined keys are scoped to namespaces.
// Example: `{"orcl-cloud": {"key": "value"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

// The date and time the instance was last updated (in the format defined by RFC3339).
// This timestamp represents updates made through this API. External events do not
// influence it.
Expand Down Expand Up @@ -92,6 +106,9 @@ func (m *AnalyticsInstanceSummary) UnmarshalJSON(data []byte) (e error) {
LicenseType LicenseTypeEnum `json:"licenseType"`
EmailNotification *string `json:"emailNotification"`
ServiceUrl *string `json:"serviceUrl"`
DefinedTags map[string]map[string]interface{} `json:"definedTags"`
FreeformTags map[string]string `json:"freeformTags"`
SystemTags map[string]map[string]interface{} `json:"systemTags"`
TimeUpdated *common.SDKTime `json:"timeUpdated"`
Id *string `json:"id"`
Name *string `json:"name"`
Expand All @@ -116,6 +133,12 @@ func (m *AnalyticsInstanceSummary) UnmarshalJSON(data []byte) (e error) {

m.ServiceUrl = model.ServiceUrl

m.DefinedTags = model.DefinedTags

m.FreeformTags = model.FreeformTags

m.SystemTags = model.SystemTags

m.TimeUpdated = model.TimeUpdated

m.Id = model.Id
Expand Down
6 changes: 4 additions & 2 deletions analytics/capacity.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,12 @@ import (
type Capacity struct {

// The capacity model to use.
// Accepted values are:
// OLPU_COUNT, USER_COUNT
CapacityType CapacityTypeEnum `mandatory:"true" json:"capacityType"`

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

Expand Down
23 changes: 22 additions & 1 deletion analytics/create_analytics_instance_details.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,17 @@ type CreateAnalyticsInstanceDetails struct {
// Example: `{"Department": "Finance"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

// 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.
// OCID of the OCI Vault Key encrypting the customer data stored in this Analytics instance. A null value indicates Oracle managed default encryption.
KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`

// domain id for which the user is authorized.
DomainId *string `mandatory:"false" json:"domainId"`

// user name of the authorized user.
AdminUser *string `mandatory:"false" json:"adminUser"`

// The feature set of an Analytics instance.
FeatureBundle FeatureBundleEnum `mandatory:"false" json:"featureBundle,omitempty"`
}

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

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

m.KmsKeyId = model.KmsKeyId

m.DomainId = model.DomainId

m.AdminUser = model.AdminUser

m.FeatureBundle = model.FeatureBundle

m.Name = model.Name

m.CompartmentId = model.CompartmentId
Expand Down
64 changes: 64 additions & 0 deletions analytics/feature_bundle.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved.
// 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.
// Code generated. DO NOT EDIT.

// Analytics API
//
// Analytics API.
//

package analytics

import (
"strings"
)

// FeatureBundleEnum Enum with underlying type: string
type FeatureBundleEnum string

// Set of constants representing the allowable values for FeatureBundleEnum
const (
FeatureBundleFawPaid FeatureBundleEnum = "FAW_PAID"
FeatureBundleFawFree FeatureBundleEnum = "FAW_FREE"
FeatureBundleEeEmbedded FeatureBundleEnum = "EE_EMBEDDED"
FeatureBundleSeEmbedded FeatureBundleEnum = "SE_EMBEDDED"
)

var mappingFeatureBundleEnum = map[string]FeatureBundleEnum{
"FAW_PAID": FeatureBundleFawPaid,
"FAW_FREE": FeatureBundleFawFree,
"EE_EMBEDDED": FeatureBundleEeEmbedded,
"SE_EMBEDDED": FeatureBundleSeEmbedded,
}

var mappingFeatureBundleEnumLowerCase = map[string]FeatureBundleEnum{
"faw_paid": FeatureBundleFawPaid,
"faw_free": FeatureBundleFawFree,
"ee_embedded": FeatureBundleEeEmbedded,
"se_embedded": FeatureBundleSeEmbedded,
}

// GetFeatureBundleEnumValues Enumerates the set of values for FeatureBundleEnum
func GetFeatureBundleEnumValues() []FeatureBundleEnum {
values := make([]FeatureBundleEnum, 0)
for _, v := range mappingFeatureBundleEnum {
values = append(values, v)
}
return values
}

// GetFeatureBundleEnumStringValues Enumerates the set of values in String for FeatureBundleEnum
func GetFeatureBundleEnumStringValues() []string {
return []string{
"FAW_PAID",
"FAW_FREE",
"EE_EMBEDDED",
"SE_EMBEDDED",
}
}

// GetMappingFeatureBundleEnum performs case Insensitive comparison on enum value and return the desired enum
func GetMappingFeatureBundleEnum(val string) (FeatureBundleEnum, bool) {
enum, ok := mappingFeatureBundleEnumLowerCase[strings.ToLower(val)]
return enum, ok
}
Loading

0 comments on commit bbb03b2

Please sign in to comment.