Skip to content

Commit 0f7193e

Browse files
Releasing version 65.89.2
Releasing version 65.89.2
2 parents dd5afcc + 40900c0 commit 0f7193e

Some content is hidden

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

44 files changed

+2690
-87
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ 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.89.2 - 2025-04-22
8+
### Added
9+
- Support for patch management in the Database Lifecycle Management service
10+
- Support for restricting public network access to service instances in the Visual Builder service
11+
- Support for iSCSI-3 persistent reservations on block volume in the Core services (Networking, Compute, Block Volume)
12+
713
## 65.89.1 - 2025-04-15
814
### Added
915
- Support for applying guardrails, enabling content moderation and detection of Prompt Injection and Personally Identifiable Information (PII) in the Generative AI Inference service

common/regions.go

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,12 @@ const (
8484
RegionAPSingapore2 Region = "ap-singapore-2"
8585
//RegionMERiyadh1 region Riyadh
8686
RegionMERiyadh1 Region = "me-riyadh-1"
87+
//RegionAPBatam1 region Batam
88+
RegionAPBatam1 Region = "ap-batam-1"
89+
//RegionUSDallas1 region Dallas
90+
RegionUSDallas1 Region = "us-dallas-1"
91+
//RegionUSAbilene1 region Abilene
92+
RegionUSAbilene1 Region = "us-abilene-1"
8793
//RegionUSLangley1 region Langley
8894
RegionUSLangley1 Region = "us-langley-1"
8995
//RegionUSLuke1 region Luke
@@ -193,6 +199,9 @@ var shortNameRegion = map[string]Region{
193199
"vap": RegionSAValparaiso1,
194200
"xsp": RegionAPSingapore2,
195201
"ruh": RegionMERiyadh1,
202+
"hsg": RegionAPBatam1,
203+
"dfw": RegionUSDallas1,
204+
"abl": RegionUSAbilene1,
196205
"lfi": RegionUSLangley1,
197206
"luf": RegionUSLuke1,
198207
"ric": RegionUSGovAshburn1,
@@ -289,6 +298,9 @@ var regionRealm = map[Region]string{
289298
RegionSAValparaiso1: "oc1",
290299
RegionAPSingapore2: "oc1",
291300
RegionMERiyadh1: "oc1",
301+
RegionAPBatam1: "oc1",
302+
RegionUSDallas1: "oc1",
303+
RegionUSAbilene1: "oc1",
292304

293305
RegionUSLangley1: "oc2",
294306
RegionUSLuke1: "oc2",

common/regions.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,5 +436,23 @@
436436
"realmKey": "oc26",
437437
"regionIdentifier": "me-alain-1",
438438
"realmDomainComponent": "oraclecloud26.com"
439+
},
440+
{
441+
"regionKey": "hsg",
442+
"realmKey": "oc1",
443+
"regionIdentifier": "ap-batam-1",
444+
"realmDomainComponent": "oraclecloud.com"
445+
},
446+
{
447+
"regionKey": "dfw",
448+
"realmKey": "oc1",
449+
"regionIdentifier": "us-dallas-1",
450+
"realmDomainComponent": "oraclecloud.com"
451+
},
452+
{
453+
"regionKey": "abl",
454+
"realmKey": "oc1",
455+
"regionIdentifier": "us-abilene-1",
456+
"realmDomainComponent": "oraclecloud.com"
439457
}
440458
]

common/version.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

containerengine/cluster_node.go

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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+
// Kubernetes Engine API
6+
//
7+
// API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy,
8+
// and manage cloud-native applications. For more information, see
9+
// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm).
10+
//
11+
12+
package containerengine
13+
14+
import (
15+
"fmt"
16+
"github.com/oracle/oci-go-sdk/v65/common"
17+
"strings"
18+
)
19+
20+
// ClusterNode The properties that define a cluster node.
21+
type ClusterNode struct {
22+
23+
// The OCID of the compute instance backing this node.
24+
Id *string `mandatory:"false" json:"id"`
25+
26+
// The OCID of the cluster to which this node belongs.
27+
ClusterId *string `mandatory:"false" json:"clusterId"`
28+
}
29+
30+
func (m ClusterNode) String() string {
31+
return common.PointerString(m)
32+
}
33+
34+
// ValidateEnumValue returns an error when providing an unsupported enum value
35+
// This function is being called during constructing API request process
36+
// Not recommended for calling this function directly
37+
func (m ClusterNode) ValidateEnumValue() (bool, error) {
38+
errMessage := []string{}
39+
40+
if len(errMessage) > 0 {
41+
return true, fmt.Errorf(strings.Join(errMessage, "\n"))
42+
}
43+
return false, nil
44+
}

containerengine/containerengine_client.go

Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2268,6 +2268,132 @@ func (client ContainerEngineClient) listWorkloadMappings(ctx context.Context, re
22682268
return response, err
22692269
}
22702270

2271+
// RebootClusterNode perform reboot action to node in cluster
2272+
//
2273+
// # See also
2274+
//
2275+
// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/RebootClusterNode.go.html to see an example of how to use RebootClusterNode API.
2276+
// A default retry strategy applies to this operation RebootClusterNode()
2277+
func (client ContainerEngineClient) RebootClusterNode(ctx context.Context, request RebootClusterNodeRequest) (response RebootClusterNodeResponse, err error) {
2278+
var ociResponse common.OCIResponse
2279+
policy := common.DefaultRetryPolicy()
2280+
if client.RetryPolicy() != nil {
2281+
policy = *client.RetryPolicy()
2282+
}
2283+
if request.RetryPolicy() != nil {
2284+
policy = *request.RetryPolicy()
2285+
}
2286+
2287+
if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") {
2288+
request.OpcRetryToken = common.String(common.RetryToken())
2289+
}
2290+
2291+
ociResponse, err = common.Retry(ctx, request, client.rebootClusterNode, policy)
2292+
if err != nil {
2293+
if ociResponse != nil {
2294+
if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil {
2295+
opcRequestId := httpResponse.Header.Get("opc-request-id")
2296+
response = RebootClusterNodeResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId}
2297+
} else {
2298+
response = RebootClusterNodeResponse{}
2299+
}
2300+
}
2301+
return
2302+
}
2303+
if convertedResponse, ok := ociResponse.(RebootClusterNodeResponse); ok {
2304+
response = convertedResponse
2305+
} else {
2306+
err = fmt.Errorf("failed to convert OCIResponse into RebootClusterNodeResponse")
2307+
}
2308+
return
2309+
}
2310+
2311+
// rebootClusterNode implements the OCIOperation interface (enables retrying operations)
2312+
func (client ContainerEngineClient) rebootClusterNode(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) {
2313+
2314+
httpRequest, err := request.HTTPRequest(http.MethodPost, "/clusters/{clusterId}/nodes/{nodeId}/actions/reboot", binaryReqBody, extraHeaders)
2315+
if err != nil {
2316+
return nil, err
2317+
}
2318+
2319+
var response RebootClusterNodeResponse
2320+
var httpResponse *http.Response
2321+
httpResponse, err = client.Call(ctx, &httpRequest)
2322+
defer common.CloseBodyIfValid(httpResponse)
2323+
response.RawResponse = httpResponse
2324+
if err != nil {
2325+
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/RebootClusterNode"
2326+
err = common.PostProcessServiceError(err, "ContainerEngine", "RebootClusterNode", apiReferenceLink)
2327+
return response, err
2328+
}
2329+
2330+
err = common.UnmarshalResponse(httpResponse, &response)
2331+
return response, err
2332+
}
2333+
2334+
// ReplaceBootVolumeClusterNode perform cycle action to node in cluster
2335+
//
2336+
// # See also
2337+
//
2338+
// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ReplaceBootVolumeClusterNode.go.html to see an example of how to use ReplaceBootVolumeClusterNode API.
2339+
// A default retry strategy applies to this operation ReplaceBootVolumeClusterNode()
2340+
func (client ContainerEngineClient) ReplaceBootVolumeClusterNode(ctx context.Context, request ReplaceBootVolumeClusterNodeRequest) (response ReplaceBootVolumeClusterNodeResponse, err error) {
2341+
var ociResponse common.OCIResponse
2342+
policy := common.DefaultRetryPolicy()
2343+
if client.RetryPolicy() != nil {
2344+
policy = *client.RetryPolicy()
2345+
}
2346+
if request.RetryPolicy() != nil {
2347+
policy = *request.RetryPolicy()
2348+
}
2349+
2350+
if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") {
2351+
request.OpcRetryToken = common.String(common.RetryToken())
2352+
}
2353+
2354+
ociResponse, err = common.Retry(ctx, request, client.replaceBootVolumeClusterNode, policy)
2355+
if err != nil {
2356+
if ociResponse != nil {
2357+
if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil {
2358+
opcRequestId := httpResponse.Header.Get("opc-request-id")
2359+
response = ReplaceBootVolumeClusterNodeResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId}
2360+
} else {
2361+
response = ReplaceBootVolumeClusterNodeResponse{}
2362+
}
2363+
}
2364+
return
2365+
}
2366+
if convertedResponse, ok := ociResponse.(ReplaceBootVolumeClusterNodeResponse); ok {
2367+
response = convertedResponse
2368+
} else {
2369+
err = fmt.Errorf("failed to convert OCIResponse into ReplaceBootVolumeClusterNodeResponse")
2370+
}
2371+
return
2372+
}
2373+
2374+
// replaceBootVolumeClusterNode implements the OCIOperation interface (enables retrying operations)
2375+
func (client ContainerEngineClient) replaceBootVolumeClusterNode(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) {
2376+
2377+
httpRequest, err := request.HTTPRequest(http.MethodPost, "/clusters/{clusterId}/nodes/{nodeId}/actions/replaceBootVolume", binaryReqBody, extraHeaders)
2378+
if err != nil {
2379+
return nil, err
2380+
}
2381+
2382+
var response ReplaceBootVolumeClusterNodeResponse
2383+
var httpResponse *http.Response
2384+
httpResponse, err = client.Call(ctx, &httpRequest)
2385+
defer common.CloseBodyIfValid(httpResponse)
2386+
response.RawResponse = httpResponse
2387+
if err != nil {
2388+
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/ReplaceBootVolumeClusterNode"
2389+
err = common.PostProcessServiceError(err, "ContainerEngine", "ReplaceBootVolumeClusterNode", apiReferenceLink)
2390+
return response, err
2391+
}
2392+
2393+
err = common.UnmarshalResponse(httpResponse, &response)
2394+
return response, err
2395+
}
2396+
22712397
// StartCredentialRotation Start cluster credential rotation by adding new credentials, old credentials will still work after this operation.
22722398
//
22732399
// # See also

containerengine/cycle_mode.go

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
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+
// Kubernetes Engine API
6+
//
7+
// API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy,
8+
// and manage cloud-native applications. For more information, see
9+
// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm).
10+
//
11+
12+
package containerengine
13+
14+
import (
15+
"strings"
16+
)
17+
18+
// CycleModeEnum Enum with underlying type: string
19+
type CycleModeEnum string
20+
21+
// Set of constants representing the allowable values for CycleModeEnum
22+
const (
23+
CycleModeBootVolumeReplace CycleModeEnum = "BOOT_VOLUME_REPLACE"
24+
CycleModeInstanceReplace CycleModeEnum = "INSTANCE_REPLACE"
25+
)
26+
27+
var mappingCycleModeEnum = map[string]CycleModeEnum{
28+
"BOOT_VOLUME_REPLACE": CycleModeBootVolumeReplace,
29+
"INSTANCE_REPLACE": CycleModeInstanceReplace,
30+
}
31+
32+
var mappingCycleModeEnumLowerCase = map[string]CycleModeEnum{
33+
"boot_volume_replace": CycleModeBootVolumeReplace,
34+
"instance_replace": CycleModeInstanceReplace,
35+
}
36+
37+
// GetCycleModeEnumValues Enumerates the set of values for CycleModeEnum
38+
func GetCycleModeEnumValues() []CycleModeEnum {
39+
values := make([]CycleModeEnum, 0)
40+
for _, v := range mappingCycleModeEnum {
41+
values = append(values, v)
42+
}
43+
return values
44+
}
45+
46+
// GetCycleModeEnumStringValues Enumerates the set of values in String for CycleModeEnum
47+
func GetCycleModeEnumStringValues() []string {
48+
return []string{
49+
"BOOT_VOLUME_REPLACE",
50+
"INSTANCE_REPLACE",
51+
}
52+
}
53+
54+
// GetMappingCycleModeEnum performs case Insensitive comparison on enum value and return the desired enum
55+
func GetMappingCycleModeEnum(val string) (CycleModeEnum, bool) {
56+
enum, ok := mappingCycleModeEnumLowerCase[strings.ToLower(val)]
57+
return enum, ok
58+
}

containerengine/get_cluster_request_response.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ type GetClusterRequest struct {
2525
// Oracle about a particular request, please provide the request ID.
2626
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
2727

28+
// Boolean value to determine if the OpenIdConnectAuth configuration file should be displayed for the provided cluster.
29+
ShouldIncludeOidcConfigFile *bool `mandatory:"false" contributesTo:"query" name:"shouldIncludeOidcConfigFile"`
30+
2831
// Metadata about the request. This information will not be transmitted to the service, but
2932
// represents information that the SDK will consume to drive retry behavior.
3033
RequestMetadata common.RequestMetadata

containerengine/image.go

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
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+
// Kubernetes Engine API
6+
//
7+
// API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy,
8+
// and manage cloud-native applications. For more information, see
9+
// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm).
10+
//
11+
12+
package containerengine
13+
14+
import (
15+
"fmt"
16+
"github.com/oracle/oci-go-sdk/v65/common"
17+
"strings"
18+
)
19+
20+
// Image Describes image metadata.
21+
type Image struct {
22+
23+
// The Oracle Cloud ID (OCID) that uniquely identifies the image.
24+
Id *string `mandatory:"false" json:"id"`
25+
26+
// The OCID of the compartment that the image was created in.
27+
CompartmentId *string `mandatory:"false" json:"compartmentId"`
28+
29+
// A friendly user-specified name for the image.
30+
DisplayName *string `mandatory:"false" json:"displayName"`
31+
}
32+
33+
func (m Image) String() string {
34+
return common.PointerString(m)
35+
}
36+
37+
// ValidateEnumValue returns an error when providing an unsupported enum value
38+
// This function is being called during constructing API request process
39+
// Not recommended for calling this function directly
40+
func (m Image) ValidateEnumValue() (bool, error) {
41+
errMessage := []string{}
42+
43+
if len(errMessage) > 0 {
44+
return true, fmt.Errorf(strings.Join(errMessage, "\n"))
45+
}
46+
return false, nil
47+
}

containerengine/node_eviction_node_pool_settings.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ type NodeEvictionNodePoolSettings struct {
2626

2727
// If the underlying compute instance should be deleted if you cannot evict all the pods in grace period
2828
IsForceDeleteAfterGraceDuration *bool `mandatory:"false" json:"isForceDeleteAfterGraceDuration"`
29+
30+
// If the node action should be performed if not all the pods can be evicted in the grace period
31+
IsForceActionAfterGraceDuration *bool `mandatory:"false" json:"isForceActionAfterGraceDuration"`
2932
}
3033

3134
func (m NodeEvictionNodePoolSettings) String() string {

0 commit comments

Comments
 (0)