Skip to content

Commit 324a1ab

Browse files
Releasing version 2.44.0
Releasing version 2.44.0
2 parents 9dc3a43 + 19e1561 commit 324a1ab

File tree

255 files changed

+4651
-252
lines changed

Some content is hidden

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

255 files changed

+4651
-252
lines changed

CHANGELOG.md

+18
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,24 @@ 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+
## 2.44.0 - 2022-09-27
7+
### Added
8+
- Support for search capabilities for monitored resources in the Stack Monitoring service
9+
- Support for deleting monitored resources with their members in the Stack Monitoring service
10+
- Support for creating host-type monitored resources in the Stack Monitoring service
11+
- Support for associating external resources during creation of monitored resources in the Stack Monitoring service
12+
- Support for uploading bulk data in the NoSQL Database Cloud service
13+
- Support for examining query execution plans in the NoSQL Database Cloud service
14+
- Support for starting and stopping clusters in the Big Data service
15+
- Support for additional compute shapes in the Big Data service
16+
- Support for backwards pagination in the Search service
17+
- Support for cross-region replication in the File Storage service
18+
- Support for elastic compute for Exadata Cloud at Customer in the Database service
19+
20+
### Breaking Changes
21+
- Support for default retries on operations of the NoSQL Database Cloud service
22+
- The property `vlanId`, `netmask`, `domainName` is changed from required to optional in the `VmNetworkDetails` model for the database service
23+
624
## 2.43.0 - 2022-09-20
725
### Added
826
- Support for the Cloud Bridge service

lib/adm/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-adm",
3-
"version": "2.43.0",
3+
"version": "2.44.0",
44
"description": "OCI NodeJS client for Adm Service",
55
"repository": {
66
"type": "git",

lib/aianomalydetection/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-aianomalydetection",
3-
"version": "2.43.0",
3+
"version": "2.44.0",
44
"description": "OCI NodeJS client for Ai Anomaly Detection Service",
55
"repository": {
66
"type": "git",

lib/ailanguage/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-ailanguage",
3-
"version": "2.43.0",
3+
"version": "2.44.0",
44
"description": "OCI NodeJS client for Ai Language Service",
55
"repository": {
66
"type": "git",

lib/aispeech/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-aispeech",
3-
"version": "2.43.0",
3+
"version": "2.44.0",
44
"description": "OCI NodeJS client for Ai Speech Service",
55
"repository": {
66
"type": "git",

lib/aivision/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-aivision",
3-
"version": "2.43.0",
3+
"version": "2.44.0",
44
"description": "OCI NodeJS client for Ai Vision Service",
55
"repository": {
66
"type": "git",

lib/analytics/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-analytics",
3-
"version": "2.43.0",
3+
"version": "2.44.0",
44
"description": "OCI NodeJS client for Analytics Service",
55
"repository": {
66
"type": "git",

lib/announcementsservice/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-announcementsservice",
3-
"version": "2.43.0",
3+
"version": "2.44.0",
44
"description": "OCI NodeJS client for Announcement Service",
55
"repository": {
66
"type": "git",

lib/apigateway/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-apigateway",
3-
"version": "2.43.0",
3+
"version": "2.44.0",
44
"description": "OCI NodeJS client for API gateway service",
55
"repository": {
66
"type": "git",

lib/apmconfig/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-apmconfig",
3-
"version": "2.43.0",
3+
"version": "2.44.0",
44
"description": "OCI NodeJS client for Apm Config Service",
55
"repository": {
66
"type": "git",

lib/apmcontrolplane/package.json

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

lib/apmsynthetics/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-apmsynthetics",
3-
"version": "2.43.0",
3+
"version": "2.44.0",
44
"description": "OCI NodeJS client for Apm Synthetics Service",
55
"repository": {
66
"type": "git",

lib/apmtraces/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-apmtraces",
3-
"version": "2.43.0",
3+
"version": "2.44.0",
44
"description": "OCI NodeJS client for Apm Traces Service",
55
"repository": {
66
"type": "git",

lib/applicationmigration/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-applicationmigration",
3-
"version": "2.43.0",
3+
"version": "2.44.0",
44
"description": "OCI NodeJS client for Application Migration service",
55
"repository": {
66
"type": "git",

lib/appmgmtcontrol/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-appmgmtcontrol",
3-
"version": "2.43.0",
3+
"version": "2.44.0",
44
"description": "OCI NodeJS client for Appmgmt Control Service",
55
"repository": {
66
"type": "git",

lib/artifacts/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-artifacts",
3-
"version": "2.43.0",
3+
"version": "2.44.0",
44
"description": "OCI NodeJS client for Artifacts Service",
55
"repository": {
66
"type": "git",

lib/audit/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-audit",
3-
"version": "2.43.0",
3+
"version": "2.44.0",
44
"description": "OCI NodeJS client for Audit Service",
55
"repository": {
66
"type": "git",

lib/autoscaling/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-autoscaling",
3-
"version": "2.43.0",
3+
"version": "2.44.0",
44
"description": "OCI NodeJS client for Autoscaling Service",
55
"repository": {
66
"type": "git",

lib/bastion/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-bastion",
3-
"version": "2.43.0",
3+
"version": "2.44.0",
44
"description": "OCI NodeJS client for Bastion Service",
55
"repository": {
66
"type": "git",

lib/bds/lib/client.ts

+158
Original file line numberDiff line numberDiff line change
@@ -3179,6 +3179,164 @@ export class BdsClient {
31793179
}
31803180
}
31813181

3182+
/**
3183+
* Starts the BDS cluster that was stopped earlier.
3184+
*
3185+
* This operation does not retry by default if the user has not defined a retry configuration.
3186+
* @param StartBdsInstanceRequest
3187+
* @return StartBdsInstanceResponse
3188+
* @throws OciError when an error occurs
3189+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/StartBdsInstance.ts.html |here} to see how to use StartBdsInstance API.
3190+
*/
3191+
public async startBdsInstance(
3192+
startBdsInstanceRequest: requests.StartBdsInstanceRequest
3193+
): Promise<responses.StartBdsInstanceResponse> {
3194+
if (this.logger) this.logger.debug("Calling operation BdsClient#startBdsInstance.");
3195+
const operationName = "startBdsInstance";
3196+
const apiReferenceLink =
3197+
"https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/StartBdsInstance";
3198+
const pathParams = {
3199+
"{bdsInstanceId}": startBdsInstanceRequest.bdsInstanceId
3200+
};
3201+
3202+
const queryParams = {};
3203+
3204+
let headerParams = {
3205+
"Content-Type": common.Constants.APPLICATION_JSON,
3206+
"opc-request-id": startBdsInstanceRequest.opcRequestId,
3207+
"if-match": startBdsInstanceRequest.ifMatch
3208+
};
3209+
3210+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
3211+
const retrier = GenericRetrier.createPreferredRetrier(
3212+
this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
3213+
startBdsInstanceRequest.retryConfiguration,
3214+
specRetryConfiguration
3215+
);
3216+
if (this.logger) retrier.logger = this.logger;
3217+
const request = await composeRequest({
3218+
baseEndpoint: this._endpoint,
3219+
defaultHeaders: this._defaultHeaders,
3220+
path: "/bdsInstances/{bdsInstanceId}/actions/start",
3221+
method: "POST",
3222+
bodyContent: common.ObjectSerializer.serialize(
3223+
startBdsInstanceRequest.startBdsInstanceDetails,
3224+
"StartBdsInstanceDetails",
3225+
model.StartBdsInstanceDetails.getJsonObj
3226+
),
3227+
pathParams: pathParams,
3228+
headerParams: headerParams,
3229+
queryParams: queryParams
3230+
});
3231+
try {
3232+
const response = await retrier.makeServiceCall(
3233+
this._httpClient,
3234+
request,
3235+
this.targetService,
3236+
operationName,
3237+
apiReferenceLink
3238+
);
3239+
const sdkResponse = composeResponse({
3240+
responseObject: <responses.StartBdsInstanceResponse>{},
3241+
responseHeaders: [
3242+
{
3243+
value: response.headers.get("opc-request-id"),
3244+
key: "opcRequestId",
3245+
dataType: "string"
3246+
},
3247+
{
3248+
value: response.headers.get("opc-work-request-id"),
3249+
key: "opcWorkRequestId",
3250+
dataType: "string"
3251+
}
3252+
]
3253+
});
3254+
3255+
return sdkResponse;
3256+
} catch (err) {
3257+
throw err;
3258+
}
3259+
}
3260+
3261+
/**
3262+
* Stops the BDS cluster that can be started at later point of time.
3263+
*
3264+
* This operation does not retry by default if the user has not defined a retry configuration.
3265+
* @param StopBdsInstanceRequest
3266+
* @return StopBdsInstanceResponse
3267+
* @throws OciError when an error occurs
3268+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/StopBdsInstance.ts.html |here} to see how to use StopBdsInstance API.
3269+
*/
3270+
public async stopBdsInstance(
3271+
stopBdsInstanceRequest: requests.StopBdsInstanceRequest
3272+
): Promise<responses.StopBdsInstanceResponse> {
3273+
if (this.logger) this.logger.debug("Calling operation BdsClient#stopBdsInstance.");
3274+
const operationName = "stopBdsInstance";
3275+
const apiReferenceLink =
3276+
"https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/StopBdsInstance";
3277+
const pathParams = {
3278+
"{bdsInstanceId}": stopBdsInstanceRequest.bdsInstanceId
3279+
};
3280+
3281+
const queryParams = {};
3282+
3283+
let headerParams = {
3284+
"Content-Type": common.Constants.APPLICATION_JSON,
3285+
"opc-request-id": stopBdsInstanceRequest.opcRequestId,
3286+
"if-match": stopBdsInstanceRequest.ifMatch
3287+
};
3288+
3289+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
3290+
const retrier = GenericRetrier.createPreferredRetrier(
3291+
this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
3292+
stopBdsInstanceRequest.retryConfiguration,
3293+
specRetryConfiguration
3294+
);
3295+
if (this.logger) retrier.logger = this.logger;
3296+
const request = await composeRequest({
3297+
baseEndpoint: this._endpoint,
3298+
defaultHeaders: this._defaultHeaders,
3299+
path: "/bdsInstances/{bdsInstanceId}/actions/stop",
3300+
method: "POST",
3301+
bodyContent: common.ObjectSerializer.serialize(
3302+
stopBdsInstanceRequest.stopBdsInstanceDetails,
3303+
"StopBdsInstanceDetails",
3304+
model.StopBdsInstanceDetails.getJsonObj
3305+
),
3306+
pathParams: pathParams,
3307+
headerParams: headerParams,
3308+
queryParams: queryParams
3309+
});
3310+
try {
3311+
const response = await retrier.makeServiceCall(
3312+
this._httpClient,
3313+
request,
3314+
this.targetService,
3315+
operationName,
3316+
apiReferenceLink
3317+
);
3318+
const sdkResponse = composeResponse({
3319+
responseObject: <responses.StopBdsInstanceResponse>{},
3320+
responseHeaders: [
3321+
{
3322+
value: response.headers.get("opc-request-id"),
3323+
key: "opcRequestId",
3324+
dataType: "string"
3325+
},
3326+
{
3327+
value: response.headers.get("opc-work-request-id"),
3328+
key: "opcWorkRequestId",
3329+
dataType: "string"
3330+
}
3331+
]
3332+
});
3333+
3334+
return sdkResponse;
3335+
} catch (err) {
3336+
throw err;
3337+
}
3338+
}
3339+
31823340
/**
31833341
* Test specified metastore configuration.
31843342
*

lib/bds/lib/model/bds-instance.ts

+1
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ export namespace BdsInstance {
107107
Deleting = "DELETING",
108108
Deleted = "DELETED",
109109
Failed = "FAILED",
110+
Inactive = "INACTIVE",
110111
/**
111112
* This value is used if a service returns a value for this enum that is not recognized by this
112113
* version of the SDK.

lib/bds/lib/model/change-shape-nodes.ts

+10-1
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,10 @@ export interface ChangeShapeNodes {
4040
"utility"?: string;
4141
"utilityShapeConfig"?: model.ShapeConfigDetails;
4242
/**
43-
* Change shape of the Cloud SQL node to the desired target shape. Only VM_STANDARD shapes are allowed here.
43+
* Change shape of the Cloud SQL node to the desired target shape. Both VM_STANDARD and E4 Flex shapes are allowed here.
4444
*/
4545
"cloudsql"?: string;
46+
"cloudsqlShapeConfig"?: model.ShapeConfigDetails;
4647
}
4748

4849
export namespace ChangeShapeNodes {
@@ -64,6 +65,10 @@ export namespace ChangeShapeNodes {
6465

6566
"utilityShapeConfig": obj.utilityShapeConfig
6667
? model.ShapeConfigDetails.getJsonObj(obj.utilityShapeConfig)
68+
: undefined,
69+
70+
"cloudsqlShapeConfig": obj.cloudsqlShapeConfig
71+
? model.ShapeConfigDetails.getJsonObj(obj.cloudsqlShapeConfig)
6772
: undefined
6873
}
6974
};
@@ -88,6 +93,10 @@ export namespace ChangeShapeNodes {
8893

8994
"utilityShapeConfig": obj.utilityShapeConfig
9095
? model.ShapeConfigDetails.getDeserializedJsonObj(obj.utilityShapeConfig)
96+
: undefined,
97+
98+
"cloudsqlShapeConfig": obj.cloudsqlShapeConfig
99+
? model.ShapeConfigDetails.getDeserializedJsonObj(obj.cloudsqlShapeConfig)
91100
: undefined
92101
}
93102
};

lib/bds/lib/model/index.ts

+4
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,10 @@ import * as ShapeConfigDetails from "./shape-config-details";
112112
export import ShapeConfigDetails = ShapeConfigDetails.ShapeConfigDetails;
113113
import * as SortOrders from "./sort-orders";
114114
export import SortOrders = SortOrders.SortOrders;
115+
import * as StartBdsInstanceDetails from "./start-bds-instance-details";
116+
export import StartBdsInstanceDetails = StartBdsInstanceDetails.StartBdsInstanceDetails;
117+
import * as StopBdsInstanceDetails from "./stop-bds-instance-details";
118+
export import StopBdsInstanceDetails = StopBdsInstanceDetails.StopBdsInstanceDetails;
115119
import * as TestBdsMetastoreConfigurationDetails from "./test-bds-metastore-configuration-details";
116120
export import TestBdsMetastoreConfigurationDetails = TestBdsMetastoreConfigurationDetails.TestBdsMetastoreConfigurationDetails;
117121
import * as TestBdsObjectStorageConnectionDetails from "./test-bds-object-storage-connection-details";

0 commit comments

Comments
 (0)