Skip to content

Commit 6c41405

Browse files
authored
Releasing version 1.16.2
Releasing version 1.16.2
2 parents 4c91dab + 6bc1f1a commit 6c41405

File tree

249 files changed

+4347
-329
lines changed

Some content is hidden

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

249 files changed

+4347
-329
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@ All notable changes to this project will be documented in this file.
33

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

6+
## 1.16.2 - 2021-03-16
7+
### Added
8+
- Support for routing policies and HTTP2 listener protocols in the Load Balancing service
9+
- Support for model deployments in the Data Science service
10+
- Support for private clusters in the Container Engine for Kubernetes service
11+
- Support for updating an instance's usage type in the Content and Experience service
12+
613
## 1.16.1 - 2021-03-09
714
### Added
815
- Support for the Application Performance Monitoring service

lib/analytics/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-analytics",
3-
"version": "1.16.1",
3+
"version": "1.16.2",
44
"description": "OCI NodeJS client for Analytics Service",
55
"repository": {
66
"type": "git",

lib/announcementsservice/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-announcementsservice",
3-
"version": "1.16.1",
3+
"version": "1.16.2",
44
"description": "OCI NodeJS client for Announcement Service",
55
"repository": {
66
"type": "git",

lib/apigateway/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-apigateway",
3-
"version": "1.16.1",
3+
"version": "1.16.2",
44
"description": "OCI NodeJS client for API gateway service",
55
"repository": {
66
"type": "git",

lib/apmcontrolplane/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-apmcontrolplane",
3-
"version": "1.16.1",
3+
"version": "1.16.2",
44
"description": "OCI NodeJS client for Apm Control Plane Service",
55
"repository": {
66
"type": "git",

lib/apmsynthetics/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-apmsynthetics",
3-
"version": "1.16.1",
3+
"version": "1.16.2",
44
"description": "OCI NodeJS client for Apm Synthetics Service",
55
"repository": {
66
"type": "git",

lib/apmtraces/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-apmtraces",
3-
"version": "1.16.1",
3+
"version": "1.16.2",
44
"description": "OCI NodeJS client for Apm Traces Service",
55
"repository": {
66
"type": "git",

lib/applicationmigration/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-applicationmigration",
3-
"version": "1.16.1",
3+
"version": "1.16.2",
44
"description": "OCI NodeJS client for Application Migration service",
55
"repository": {
66
"type": "git",

lib/artifacts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-artifacts",
3-
"version": "1.16.1",
3+
"version": "1.16.2",
44
"description": "OCI NodeJS client for Artifacts Service",
55
"repository": {
66
"type": "git",

lib/audit/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-audit",
3-
"version": "1.16.1",
3+
"version": "1.16.2",
44
"description": "OCI NodeJS client for Audit Service",
55
"repository": {
66
"type": "git",

lib/autoscaling/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-autoscaling",
3-
"version": "1.16.1",
3+
"version": "1.16.2",
44
"description": "OCI NodeJS client for Autoscaling Service",
55
"repository": {
66
"type": "git",

lib/bds/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-bds",
3-
"version": "1.16.1",
3+
"version": "1.16.2",
44
"description": "OCI NodeJS client for BDS Service",
55
"repository": {
66
"type": "git",

lib/blockchain/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-blockchain",
3-
"version": "1.16.1",
3+
"version": "1.16.2",
44
"description": "OCI NodeJS client for Blockchain Service",
55
"repository": {
66
"type": "git",

lib/budget/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-budget",
3-
"version": "1.16.1",
3+
"version": "1.16.2",
44
"description": "OCI NodeJS client for Budget Service",
55
"repository": {
66
"type": "git",

lib/cims/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-cims",
3-
"version": "1.16.1",
3+
"version": "1.16.2",
44
"description": "OCI NodeJS client for Cims ",
55
"repository": {
66
"type": "git",

lib/cloudguard/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-cloudguard",
3-
"version": "1.16.1",
3+
"version": "1.16.2",
44
"description": "OCI NodeJS client for Cloud Guard Service",
55
"repository": {
66
"type": "git",

lib/common/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-common",
3-
"version": "1.16.1",
3+
"version": "1.16.2",
44
"description": "OCI Common module for NodeJS",
55
"repository": {
66
"type": "git",

lib/computeinstanceagent/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-computeinstanceagent",
3-
"version": "1.16.1",
3+
"version": "1.16.2",
44
"description": "OCI NodeJS client for Compute Instance Agent Service",
55
"repository": {
66
"type": "git",

lib/containerengine/lib/client.ts

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1293,6 +1293,73 @@ export class ContainerEngineClient {
12931293
}
12941294
}
12951295

1296+
/**
1297+
* Update the details of the cluster endpoint configuration.
1298+
* @param UpdateClusterEndpointConfigRequest
1299+
* @return UpdateClusterEndpointConfigResponse
1300+
* @throws OciError when an error occurs
1301+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/containerengine/UpdateClusterEndpointConfig.ts.html |here} to see how to use UpdateClusterEndpointConfig API.
1302+
*/
1303+
public async updateClusterEndpointConfig(
1304+
updateClusterEndpointConfigRequest: requests.UpdateClusterEndpointConfigRequest
1305+
): Promise<responses.UpdateClusterEndpointConfigResponse> {
1306+
if (this.logger)
1307+
this.logger.debug("Calling operation ContainerEngineClient#updateClusterEndpointConfig.");
1308+
const pathParams = {
1309+
"{clusterId}": updateClusterEndpointConfigRequest.clusterId
1310+
};
1311+
1312+
const queryParams = {};
1313+
1314+
let headerParams = {
1315+
"Content-Type": common.Constants.APPLICATION_JSON,
1316+
"if-match": updateClusterEndpointConfigRequest.ifMatch,
1317+
"opc-request-id": updateClusterEndpointConfigRequest.opcRequestId
1318+
};
1319+
1320+
const request = await composeRequest({
1321+
baseEndpoint: this._endpoint,
1322+
defaultHeaders: this._defaultHeaders,
1323+
path: "/clusters/{clusterId}/actions/updateEndpointConfig",
1324+
method: "POST",
1325+
bodyContent: common.ObjectSerializer.serialize(
1326+
updateClusterEndpointConfigRequest.updateClusterEndpointConfigDetails,
1327+
"UpdateClusterEndpointConfigDetails",
1328+
models.UpdateClusterEndpointConfigDetails.getJsonObj
1329+
),
1330+
pathParams: pathParams,
1331+
headerParams: headerParams,
1332+
queryParams: queryParams
1333+
});
1334+
const retrier = GenericRetrier.createPreferredRetrier(
1335+
this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {},
1336+
updateClusterEndpointConfigRequest.retryConfiguration
1337+
);
1338+
if (this.logger) retrier.logger = this.logger;
1339+
try {
1340+
const response = await retrier.makeServiceCall(this._httpClient, request);
1341+
const sdkResponse = composeResponse({
1342+
responseObject: <responses.UpdateClusterEndpointConfigResponse>{},
1343+
responseHeaders: [
1344+
{
1345+
value: response.headers.get("opc-work-request-id"),
1346+
key: "opcWorkRequestId",
1347+
dataType: "string"
1348+
},
1349+
{
1350+
value: response.headers.get("opc-request-id"),
1351+
key: "opcRequestId",
1352+
dataType: "string"
1353+
}
1354+
]
1355+
});
1356+
1357+
return sdkResponse;
1358+
} catch (err) {
1359+
throw err;
1360+
}
1361+
}
1362+
12961363
/**
12971364
* Update the details of a node pool.
12981365
* @param UpdateNodePoolRequest
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
/**
2+
* Container Engine for Kubernetes API
3+
* API for the Container Engine for Kubernetes service. Use this API to build, deploy,
4+
and manage cloud-native applications. For more information, see
5+
[Overview of Container Engine for Kubernetes](/iaas/Content/ContEng/Concepts/contengoverview.htm).
6+
7+
* OpenAPI spec version: 20180222
8+
*
9+
*
10+
* NOTE: This class is auto generated by OracleSDKGenerator.
11+
* Do not edit the class manually.
12+
*
13+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
14+
* 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.
15+
*/
16+
17+
import * as model from "../model";
18+
import common = require("oci-common");
19+
20+
/**
21+
* The properties that define the network configuration for the Cluster endpoint.
22+
*/
23+
export interface ClusterEndpointConfig {
24+
/**
25+
* The OCID of the regional subnet in which to place the Cluster endpoint.
26+
*/
27+
"subnetId"?: string;
28+
/**
29+
* A list of the OCIDs of the network security groups (NSGs) to apply to the cluster endpoint. For more information about NSGs, see {@link NetworkSecurityGroup}.
30+
*
31+
*/
32+
"nsgIds"?: Array<string>;
33+
/**
34+
* Whether the cluster should be assigned a public IP address. Defaults to false. If set to true on a private subnet, the cluster provisioning will fail.
35+
*/
36+
"isPublicIpEnabled"?: boolean;
37+
}
38+
39+
export namespace ClusterEndpointConfig {
40+
export function getJsonObj(obj: ClusterEndpointConfig): object {
41+
const jsonObj = { ...obj, ...{} };
42+
43+
return jsonObj;
44+
}
45+
}

lib/containerengine/lib/model/cluster-endpoints.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,17 @@ import common = require("oci-common");
2222
*/
2323
export interface ClusterEndpoints {
2424
/**
25-
* The Kubernetes API server endpoint.
25+
* The non-native networking Kubernetes API server endpoint.
2626
*/
2727
"kubernetes"?: string;
28+
/**
29+
* The public native networking Kubernetes API server endpoint, if one was requested.
30+
*/
31+
"publicEndpoint"?: string;
32+
/**
33+
* The private native networking Kubernetes API server endpoint.
34+
*/
35+
"privateEndpoint"?: string;
2836
}
2937

3038
export namespace ClusterEndpoints {

lib/containerengine/lib/model/cluster-summary.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ export interface ClusterSummary {
3333
* The OCID of the compartment in which the cluster exists.
3434
*/
3535
"compartmentId"?: string;
36+
/**
37+
* The network configuration for access to the Cluster control plane.
38+
*
39+
*/
40+
"endpointConfig"?: model.ClusterEndpointConfig;
3641
/**
3742
* The OCID of the virtual cloud network (VCN) in which the cluster exists
3843
*/
@@ -72,6 +77,10 @@ export namespace ClusterSummary {
7277
const jsonObj = {
7378
...obj,
7479
...{
80+
"endpointConfig": obj.endpointConfig
81+
? model.ClusterEndpointConfig.getJsonObj(obj.endpointConfig)
82+
: undefined,
83+
7584
"options": obj.options ? model.ClusterCreateOptions.getJsonObj(obj.options) : undefined,
7685
"metadata": obj.metadata ? model.ClusterMetadata.getJsonObj(obj.metadata) : undefined,
7786

lib/containerengine/lib/model/cluster.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ export interface Cluster {
3333
* The OCID of the compartment in which the cluster exists.
3434
*/
3535
"compartmentId"?: string;
36+
/**
37+
* The network configuration for access to the Cluster control plane.
38+
*
39+
*/
40+
"endpointConfig"?: model.ClusterEndpointConfig;
3641
/**
3742
* The OCID of the virtual cloud network (VCN) in which the cluster exists.
3843
*/
@@ -76,6 +81,10 @@ export namespace Cluster {
7681
const jsonObj = {
7782
...obj,
7883
...{
84+
"endpointConfig": obj.endpointConfig
85+
? model.ClusterEndpointConfig.getJsonObj(obj.endpointConfig)
86+
: undefined,
87+
7988
"options": obj.options ? model.ClusterCreateOptions.getJsonObj(obj.options) : undefined,
8089
"metadata": obj.metadata ? model.ClusterMetadata.getJsonObj(obj.metadata) : undefined,
8190

lib/containerengine/lib/model/create-cluster-details.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ export interface CreateClusterDetails {
2929
* The OCID of the compartment in which to create the cluster.
3030
*/
3131
"compartmentId": string;
32+
/**
33+
* The network configuration for access to the Cluster control plane.
34+
*
35+
*/
36+
"endpointConfig"?: model.CreateClusterEndpointConfigDetails;
3237
/**
3338
* The OCID of the virtual cloud network (VCN) in which to create the cluster.
3439
*/
@@ -54,6 +59,10 @@ export namespace CreateClusterDetails {
5459
const jsonObj = {
5560
...obj,
5661
...{
62+
"endpointConfig": obj.endpointConfig
63+
? model.CreateClusterEndpointConfigDetails.getJsonObj(obj.endpointConfig)
64+
: undefined,
65+
5766
"options": obj.options ? model.ClusterCreateOptions.getJsonObj(obj.options) : undefined
5867
}
5968
};

0 commit comments

Comments
 (0)