Skip to content

Commit 1ee1677

Browse files
author
DEXREQ Automation
committed
Merge pull request #2644 in SDK/oci-go-sdk from merge_to_github2024-01-29 to github
Releasing Version 65.57.0 Squashed commit of the following: commit 8d65d7314603e58c7de760731744a8e118ab57b2 Author: oci-dex-release-bot <oci-dex-releases-bot_ww@oracle.com> Date: Mon Jan 29 20:06:29 2024 +0000 Releasing version 65 57 0
1 parent 1bf2ac0 commit 1ee1677

File tree

224 files changed

+12381
-327
lines changed

Some content is hidden

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

224 files changed

+12381
-327
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
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.57.0 - 2024-01-30
8+
### Added
9+
- Support for OCI Control Center service
10+
- Support for giro value set for address rules in the Oracle Store Platform service
11+
- Support for giro in tax information for subscriptions in the Oracle Store Platform service
12+
- Support for REST connectivity with Oath2 in the Data Integration service
13+
- Support for resolver rules limit increase in the DNS service
14+
- Support for named credentials in the Database Management service
15+
16+
### Breaking Changes
17+
- Default retry disabled on the operations of the DNS service
18+
19+
720
## 65.56.1 - 2024-01-23
821
### Added
922
- Support for the Generative AI service

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

capacitymanagement/capacitymanagement_client.go

Lines changed: 1213 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
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+
// OciControlCenterCp API
6+
//
7+
// A description of the OciControlCenterCp API
8+
//
9+
10+
package capacitymanagement
11+
12+
import (
13+
"fmt"
14+
"github.com/oracle/oci-go-sdk/v65/common"
15+
"strings"
16+
)
17+
18+
// CreateOccAvailabilityCatalogDetails Details about the create request for the availability catalog.
19+
type CreateOccAvailabilityCatalogDetails struct {
20+
21+
// The OCID of the customer group.
22+
OccCustomerGroupId *string `mandatory:"true" json:"occCustomerGroupId"`
23+
24+
// The name of the OCI service in consideration. For example, Compute, Exadata, and so on.
25+
Namespace NamespaceEnum `mandatory:"true" json:"namespace"`
26+
27+
// Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed.
28+
CompartmentId *string `mandatory:"true" json:"compartmentId"`
29+
30+
// The base 64 encoded string corresponding to the catalog file contents.
31+
Base64EncodedCatalogDetails *string `mandatory:"true" json:"base64EncodedCatalogDetails"`
32+
33+
// The display name of the availability catalog.
34+
DisplayName *string `mandatory:"true" json:"displayName"`
35+
36+
MetadataDetails *MetadataDetails `mandatory:"false" json:"metadataDetails"`
37+
38+
// Additional information about the availability catalog.
39+
Description *string `mandatory:"false" json:"description"`
40+
41+
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
42+
// Example: `{"bar-key": "value"}`
43+
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
44+
45+
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
46+
// Example: `{"foo-namespace": {"bar-key": "value"}}`
47+
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
48+
}
49+
50+
func (m CreateOccAvailabilityCatalogDetails) String() string {
51+
return common.PointerString(m)
52+
}
53+
54+
// ValidateEnumValue returns an error when providing an unsupported enum value
55+
// This function is being called during constructing API request process
56+
// Not recommended for calling this function directly
57+
func (m CreateOccAvailabilityCatalogDetails) ValidateEnumValue() (bool, error) {
58+
errMessage := []string{}
59+
if _, ok := GetMappingNamespaceEnum(string(m.Namespace)); !ok && m.Namespace != "" {
60+
errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Namespace: %s. Supported values are: %s.", m.Namespace, strings.Join(GetNamespaceEnumStringValues(), ",")))
61+
}
62+
63+
if len(errMessage) > 0 {
64+
return true, fmt.Errorf(strings.Join(errMessage, "\n"))
65+
}
66+
return false, nil
67+
}
Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
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+
package capacitymanagement
6+
7+
import (
8+
"fmt"
9+
"github.com/oracle/oci-go-sdk/v65/common"
10+
"net/http"
11+
"strings"
12+
)
13+
14+
// CreateOccAvailabilityCatalogRequest wrapper for the CreateOccAvailabilityCatalog operation
15+
//
16+
// # See also
17+
//
18+
// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/CreateOccAvailabilityCatalog.go.html to see an example of how to use CreateOccAvailabilityCatalogRequest.
19+
type CreateOccAvailabilityCatalogRequest struct {
20+
21+
// The request details for creating an availability catalog.
22+
CreateOccAvailabilityCatalogDetails `contributesTo:"body"`
23+
24+
// A token that uniquely identifies a request so it can be retried in case of a timeout or
25+
// server error without risk of executing that same action again. Retry tokens expire after 24
26+
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
27+
// has been deleted and purged from the system, then a retry of the original creation request
28+
// might be rejected.
29+
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
30+
31+
// The client request ID for tracing. The only valid characters for request IDs are letters, numbers,
32+
// underscore, and dash.
33+
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
34+
35+
// Metadata about the request. This information will not be transmitted to the service, but
36+
// represents information that the SDK will consume to drive retry behavior.
37+
RequestMetadata common.RequestMetadata
38+
}
39+
40+
func (request CreateOccAvailabilityCatalogRequest) String() string {
41+
return common.PointerString(request)
42+
}
43+
44+
// HTTPRequest implements the OCIRequest interface
45+
func (request CreateOccAvailabilityCatalogRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) {
46+
47+
_, err := request.ValidateEnumValue()
48+
if err != nil {
49+
return http.Request{}, err
50+
}
51+
return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders)
52+
}
53+
54+
// BinaryRequestBody implements the OCIRequest interface
55+
func (request CreateOccAvailabilityCatalogRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
56+
57+
return nil, false
58+
59+
}
60+
61+
// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
62+
func (request CreateOccAvailabilityCatalogRequest) RetryPolicy() *common.RetryPolicy {
63+
return request.RequestMetadata.RetryPolicy
64+
}
65+
66+
// ValidateEnumValue returns an error when providing an unsupported enum value
67+
// This function is being called during constructing API request process
68+
// Not recommended for calling this function directly
69+
func (request CreateOccAvailabilityCatalogRequest) ValidateEnumValue() (bool, error) {
70+
errMessage := []string{}
71+
if len(errMessage) > 0 {
72+
return true, fmt.Errorf(strings.Join(errMessage, "\n"))
73+
}
74+
return false, nil
75+
}
76+
77+
// CreateOccAvailabilityCatalogResponse wrapper for the CreateOccAvailabilityCatalog operation
78+
type CreateOccAvailabilityCatalogResponse struct {
79+
80+
// The underlying http response
81+
RawResponse *http.Response
82+
83+
// The OccAvailabilityCatalog instance
84+
OccAvailabilityCatalog `presentIn:"body"`
85+
86+
// For optimistic concurrency control. See `if-match`.
87+
Etag *string `presentIn:"header" name:"etag"`
88+
89+
// For pagination of a list of items. When paging through a list, if this header appears in the response,
90+
// then a partial list might have been returned. Include this value as the `page` parameter for the
91+
// subsequent GET request to get the next batch of items.
92+
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
93+
94+
// A decimal number representing the number of seconds the client should wait before polling this endpoint again.
95+
RetryAfter *int `presentIn:"header" name:"retry-after"`
96+
}
97+
98+
func (response CreateOccAvailabilityCatalogResponse) String() string {
99+
return common.PointerString(response)
100+
}
101+
102+
// HTTPResponse implements the OCIResponse interface
103+
func (response CreateOccAvailabilityCatalogResponse) HTTPResponse() *http.Response {
104+
return response.RawResponse
105+
}

0 commit comments

Comments
 (0)