oci-mysql 2.139.2 → 2.140.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +3 -0
- package/index.js +4 -1
- package/index.js.map +1 -1
- package/lib/bluegreendeployments-waiter.d.ts +29 -0
- package/lib/bluegreendeployments-waiter.js +65 -0
- package/lib/bluegreendeployments-waiter.js.map +1 -0
- package/lib/client.d.ts +173 -0
- package/lib/client.js +650 -1
- package/lib/client.js.map +1 -1
- package/lib/model/blue-green-deployment-collection.d.ts +26 -0
- package/lib/model/blue-green-deployment-collection.js +61 -0
- package/lib/model/blue-green-deployment-collection.js.map +1 -0
- package/lib/model/blue-green-deployment-summary.d.ts +109 -0
- package/lib/model/blue-green-deployment-summary.js +43 -0
- package/lib/model/blue-green-deployment-summary.js.map +1 -0
- package/lib/model/blue-green-deployment-switchover-status.d.ts +33 -0
- package/lib/model/blue-green-deployment-switchover-status.js +44 -0
- package/lib/model/blue-green-deployment-switchover-status.js.map +1 -0
- package/lib/model/blue-green-deployment-target-db-system-details.d.ts +42 -0
- package/lib/model/blue-green-deployment-target-db-system-details.js +29 -0
- package/lib/model/blue-green-deployment-target-db-system-details.js.map +1 -0
- package/lib/model/blue-green-deployment.d.ts +118 -0
- package/lib/model/blue-green-deployment.js +71 -0
- package/lib/model/blue-green-deployment.js.map +1 -0
- package/lib/model/change-blue-green-deployment-compartment-details.d.ts +25 -0
- package/lib/model/change-blue-green-deployment-compartment-details.js +29 -0
- package/lib/model/change-blue-green-deployment-compartment-details.js.map +1 -0
- package/lib/model/create-blue-green-deployment-channel-details.d.ts +49 -0
- package/lib/model/create-blue-green-deployment-channel-details.js +57 -0
- package/lib/model/create-blue-green-deployment-channel-details.js.map +1 -0
- package/lib/model/create-blue-green-deployment-details.d.ts +54 -0
- package/lib/model/create-blue-green-deployment-details.js +63 -0
- package/lib/model/create-blue-green-deployment-details.js.map +1 -0
- package/lib/model/create-blue-green-deployment-target-db-system-details.d.ts +47 -0
- package/lib/model/create-blue-green-deployment-target-db-system-details.js +29 -0
- package/lib/model/create-blue-green-deployment-target-db-system-details.js.map +1 -0
- package/lib/model/index.d.ts +22 -0
- package/lib/model/index.js +26 -3
- package/lib/model/index.js.map +1 -1
- package/lib/model/ssl-mode.d.ts +6 -1
- package/lib/model/ssl-mode.js +5 -0
- package/lib/model/ssl-mode.js.map +1 -1
- package/lib/model/switchover-blue-green-deployment-details.d.ts +28 -0
- package/lib/model/switchover-blue-green-deployment-details.js +29 -0
- package/lib/model/switchover-blue-green-deployment-details.js.map +1 -0
- package/lib/model/update-blue-green-deployment-details.d.ts +45 -0
- package/lib/model/update-blue-green-deployment-details.js +29 -0
- package/lib/model/update-blue-green-deployment-details.js.map +1 -0
- package/lib/model/work-request-operation-type.d.ts +5 -0
- package/lib/model/work-request-operation-type.js +5 -0
- package/lib/model/work-request-operation-type.js.map +1 -1
- package/lib/request/change-blue-green-deployment-compartment-request.d.ts +53 -0
- package/lib/request/change-blue-green-deployment-compartment-request.js +15 -0
- package/lib/request/change-blue-green-deployment-compartment-request.js.map +1 -0
- package/lib/request/create-blue-green-deployment-request.d.ts +40 -0
- package/lib/request/create-blue-green-deployment-request.js +15 -0
- package/lib/request/create-blue-green-deployment-request.js.map +1 -0
- package/lib/request/delete-blue-green-deployment-request.d.ts +38 -0
- package/lib/request/delete-blue-green-deployment-request.js +15 -0
- package/lib/request/delete-blue-green-deployment-request.js.map +1 -0
- package/lib/request/get-blue-green-deployment-request.d.ts +38 -0
- package/lib/request/get-blue-green-deployment-request.js +15 -0
- package/lib/request/get-blue-green-deployment-request.js.map +1 -0
- package/lib/request/index.d.ts +14 -0
- package/lib/request/index.js +3 -1
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-blue-green-deployments-request.d.ts +77 -0
- package/lib/request/list-blue-green-deployments-request.js +29 -0
- package/lib/request/list-blue-green-deployments-request.js.map +1 -0
- package/lib/request/switchover-blue-green-deployment-request.d.ts +53 -0
- package/lib/request/switchover-blue-green-deployment-request.js +15 -0
- package/lib/request/switchover-blue-green-deployment-request.js.map +1 -0
- package/lib/request/update-blue-green-deployment-request.d.ts +43 -0
- package/lib/request/update-blue-green-deployment-request.js +15 -0
- package/lib/request/update-blue-green-deployment-request.js.map +1 -0
- package/lib/response/change-blue-green-deployment-compartment-response.d.ts +25 -0
- package/lib/response/change-blue-green-deployment-compartment-response.js +15 -0
- package/lib/response/change-blue-green-deployment-compartment-response.js.map +1 -0
- package/lib/response/create-blue-green-deployment-response.d.ts +35 -0
- package/lib/response/create-blue-green-deployment-response.js +15 -0
- package/lib/response/create-blue-green-deployment-response.js.map +1 -0
- package/lib/response/delete-blue-green-deployment-response.d.ts +25 -0
- package/lib/response/delete-blue-green-deployment-response.js +15 -0
- package/lib/response/delete-blue-green-deployment-response.js.map +1 -0
- package/lib/response/get-blue-green-deployment-response.d.ts +37 -0
- package/lib/response/get-blue-green-deployment-response.js +15 -0
- package/lib/response/get-blue-green-deployment-response.js.map +1 -0
- package/lib/response/index.d.ts +14 -0
- package/lib/response/list-blue-green-deployments-response.d.ts +32 -0
- package/lib/response/list-blue-green-deployments-response.js +15 -0
- package/lib/response/list-blue-green-deployments-response.js.map +1 -0
- package/lib/response/switchover-blue-green-deployment-response.d.ts +35 -0
- package/lib/response/switchover-blue-green-deployment-response.js +15 -0
- package/lib/response/switchover-blue-green-deployment-response.js.map +1 -0
- package/lib/response/update-blue-green-deployment-response.d.ts +25 -0
- package/lib/response/update-blue-green-deployment-response.js +15 -0
- package/lib/response/update-blue-green-deployment-response.js.map +1 -0
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ import * as requests from "./lib/request";
|
|
|
14
14
|
import * as models from "./lib/model";
|
|
15
15
|
import * as responses from "./lib/response";
|
|
16
16
|
import * as client from "./lib/client";
|
|
17
|
+
import * as bluegreendeployments_waiter from "./lib/bluegreendeployments-waiter";
|
|
17
18
|
import * as channels_waiter from "./lib/channels-waiter";
|
|
18
19
|
import * as dbbackups_waiter from "./lib/dbbackups-waiter";
|
|
19
20
|
import * as dbsystem_waiter from "./lib/dbsystem-waiter";
|
|
@@ -23,6 +24,8 @@ import * as workrequests_waiter from "./lib/workrequests-waiter";
|
|
|
23
24
|
export { models };
|
|
24
25
|
export { requests };
|
|
25
26
|
export { responses };
|
|
27
|
+
export import BlueGreenDeploymentsClient = client.BlueGreenDeploymentsClient;
|
|
28
|
+
export import BlueGreenDeploymentsWaiter = bluegreendeployments_waiter.BlueGreenDeploymentsWaiter;
|
|
26
29
|
export import ChannelsClient = client.ChannelsClient;
|
|
27
30
|
export import ChannelsWaiter = channels_waiter.ChannelsWaiter;
|
|
28
31
|
export import DbBackupsClient = client.DbBackupsClient;
|
package/index.js
CHANGED
|
@@ -31,7 +31,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
31
31
|
return result;
|
|
32
32
|
};
|
|
33
33
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
-
exports.WorkRequestsWaiter = exports.WorkRequestsClient = exports.ReplicasWaiter = exports.ReplicasClient = exports.MysqlaasWaiter = exports.MysqlaasClient = exports.DbSystemWaiter = exports.DbSystemClient = exports.DbBackupsWaiter = exports.DbBackupsClient = exports.ChannelsWaiter = exports.ChannelsClient = exports.responses = exports.requests = exports.models = void 0;
|
|
34
|
+
exports.WorkRequestsWaiter = exports.WorkRequestsClient = exports.ReplicasWaiter = exports.ReplicasClient = exports.MysqlaasWaiter = exports.MysqlaasClient = exports.DbSystemWaiter = exports.DbSystemClient = exports.DbBackupsWaiter = exports.DbBackupsClient = exports.ChannelsWaiter = exports.ChannelsClient = exports.BlueGreenDeploymentsWaiter = exports.BlueGreenDeploymentsClient = exports.responses = exports.requests = exports.models = void 0;
|
|
35
35
|
const requests = __importStar(require("./lib/request"));
|
|
36
36
|
exports.requests = requests;
|
|
37
37
|
const models = __importStar(require("./lib/model"));
|
|
@@ -39,12 +39,15 @@ exports.models = models;
|
|
|
39
39
|
const responses = __importStar(require("./lib/response"));
|
|
40
40
|
exports.responses = responses;
|
|
41
41
|
const client = __importStar(require("./lib/client"));
|
|
42
|
+
const bluegreendeployments_waiter = __importStar(require("./lib/bluegreendeployments-waiter"));
|
|
42
43
|
const channels_waiter = __importStar(require("./lib/channels-waiter"));
|
|
43
44
|
const dbbackups_waiter = __importStar(require("./lib/dbbackups-waiter"));
|
|
44
45
|
const dbsystem_waiter = __importStar(require("./lib/dbsystem-waiter"));
|
|
45
46
|
const mysqlaas_waiter = __importStar(require("./lib/mysqlaas-waiter"));
|
|
46
47
|
const replicas_waiter = __importStar(require("./lib/replicas-waiter"));
|
|
47
48
|
const workrequests_waiter = __importStar(require("./lib/workrequests-waiter"));
|
|
49
|
+
exports.BlueGreenDeploymentsClient = client.BlueGreenDeploymentsClient;
|
|
50
|
+
exports.BlueGreenDeploymentsWaiter = bluegreendeployments_waiter.BlueGreenDeploymentsWaiter;
|
|
48
51
|
exports.ChannelsClient = client.ChannelsClient;
|
|
49
52
|
exports.ChannelsWaiter = channels_waiter.ChannelsWaiter;
|
|
50
53
|
exports.DbBackupsClient = client.DbBackupsClient;
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/mysql/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,wDAA0C;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/mysql/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,wDAA0C;AAajC,4BAAQ;AAZjB,oDAAsC;AAW7B,wBAAM;AAVf,0DAA4C;AAYnC,8BAAS;AAXlB,qDAAuC;AACvC,+FAAiF;AACjF,uEAAyD;AACzD,yEAA2D;AAC3D,uEAAyD;AACzD,uEAAyD;AACzD,uEAAyD;AACzD,+EAAiE;AAKnD,QAAA,0BAA0B,GAAG,MAAM,CAAC,0BAA0B,CAAC;AAC/D,QAAA,0BAA0B,GAAG,2BAA2B,CAAC,0BAA0B,CAAC;AACpF,QAAA,cAAc,GAAG,MAAM,CAAC,cAAc,CAAC;AACvC,QAAA,cAAc,GAAG,eAAe,CAAC,cAAc,CAAC;AAChD,QAAA,eAAe,GAAG,MAAM,CAAC,eAAe,CAAC;AACzC,QAAA,eAAe,GAAG,gBAAgB,CAAC,eAAe,CAAC;AACnD,QAAA,cAAc,GAAG,MAAM,CAAC,cAAc,CAAC;AACvC,QAAA,cAAc,GAAG,eAAe,CAAC,cAAc,CAAC;AAChD,QAAA,cAAc,GAAG,MAAM,CAAC,cAAc,CAAC;AACvC,QAAA,cAAc,GAAG,eAAe,CAAC,cAAc,CAAC;AAChD,QAAA,cAAc,GAAG,MAAM,CAAC,cAAc,CAAC;AACvC,QAAA,cAAc,GAAG,eAAe,CAAC,cAAc,CAAC;AAChD,QAAA,kBAAkB,GAAG,MAAM,CAAC,kBAAkB,CAAC;AAC/C,QAAA,kBAAkB,GAAG,mBAAmB,CAAC,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MySQL Database Service API
|
|
3
|
+
* The API for the MySQL Database Service
|
|
4
|
+
* OpenAPI spec version: 20190415
|
|
5
|
+
* Contact: mysql-cloud-dev_ww_grp@oracle.com
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* 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.
|
|
12
|
+
*/
|
|
13
|
+
import * as serviceRequests from "./request";
|
|
14
|
+
import * as serviceResponses from "./response";
|
|
15
|
+
import * as models from "./model";
|
|
16
|
+
import { BlueGreenDeploymentsClient } from "./client";
|
|
17
|
+
export declare class BlueGreenDeploymentsWaiter {
|
|
18
|
+
private client;
|
|
19
|
+
private readonly config?;
|
|
20
|
+
constructor(client: BlueGreenDeploymentsClient, config?: Partial<import("oci-common/lib/waiter").WaiterConfigurationDetails> | undefined);
|
|
21
|
+
/**
|
|
22
|
+
* Waits forBlueGreenDeployment till it reaches any of the provided states
|
|
23
|
+
*
|
|
24
|
+
* @param request the request to send
|
|
25
|
+
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
|
|
26
|
+
* @return response returns GetBlueGreenDeploymentResponse | null (null in case of 404 response)
|
|
27
|
+
*/
|
|
28
|
+
forBlueGreenDeployment(request: serviceRequests.GetBlueGreenDeploymentRequest, ...targetStates: models.BlueGreenDeployment.LifecycleState[]): Promise<serviceResponses.GetBlueGreenDeploymentResponse | null>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* MySQL Database Service API
|
|
4
|
+
* The API for the MySQL Database Service
|
|
5
|
+
* OpenAPI spec version: 20190415
|
|
6
|
+
* Contact: mysql-cloud-dev_ww_grp@oracle.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* 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.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
34
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
35
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
36
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
37
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
38
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
39
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
40
|
+
});
|
|
41
|
+
};
|
|
42
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
43
|
+
exports.BlueGreenDeploymentsWaiter = void 0;
|
|
44
|
+
const models = __importStar(require("./model"));
|
|
45
|
+
const oci_common_1 = require("oci-common");
|
|
46
|
+
class BlueGreenDeploymentsWaiter {
|
|
47
|
+
constructor(client, config) {
|
|
48
|
+
this.client = client;
|
|
49
|
+
this.config = config;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Waits forBlueGreenDeployment till it reaches any of the provided states
|
|
53
|
+
*
|
|
54
|
+
* @param request the request to send
|
|
55
|
+
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
|
|
56
|
+
* @return response returns GetBlueGreenDeploymentResponse | null (null in case of 404 response)
|
|
57
|
+
*/
|
|
58
|
+
forBlueGreenDeployment(request, ...targetStates) {
|
|
59
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
60
|
+
return oci_common_1.genericTerminalConditionWaiter(this.config, () => this.client.getBlueGreenDeployment(request), response => targetStates.includes(response.blueGreenDeployment.lifecycleState), targetStates.includes(models.BlueGreenDeployment.LifecycleState.Deleted));
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
exports.BlueGreenDeploymentsWaiter = BlueGreenDeploymentsWaiter;
|
|
65
|
+
//# sourceMappingURL=bluegreendeployments-waiter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bluegreendeployments-waiter.js","sourceRoot":"","sources":["../../../../lib/mysql/lib/bluegreendeployments-waiter.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIH,gDAAkC;AAElC,2CAAgG;AAEhG,MAAa,0BAA0B;IACrC,YACU,MAAkC,EACzB,MAA4B;QADrC,WAAM,GAAN,MAAM,CAA4B;QACzB,WAAM,GAAN,MAAM,CAAsB;IAC5C,CAAC;IAEJ;;;;;;OAMG;IACU,sBAAsB,CACjC,OAAsD,EACtD,GAAG,YAAyD;;YAE5D,OAAO,2CAA8B,CACnC,IAAI,CAAC,MAAM,EACX,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,sBAAsB,CAAC,OAAO,CAAC,EACjD,QAAQ,CAAC,EAAE,CAAC,YAAY,CAAC,QAAQ,CAAC,QAAQ,CAAC,mBAAmB,CAAC,cAAe,CAAC,EAC/E,YAAY,CAAC,QAAQ,CAAC,MAAM,CAAC,mBAAmB,CAAC,cAAc,CAAC,OAAO,CAAC,CACzE,CAAC;QACJ,CAAC;KAAA;CACF;AAxBD,gEAwBC"}
|
package/lib/client.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ import common = require("oci-common");
|
|
|
14
14
|
import * as requests from "./request";
|
|
15
15
|
import * as model from "./model";
|
|
16
16
|
import * as responses from "./response";
|
|
17
|
+
import { BlueGreenDeploymentsWaiter } from "./bluegreendeployments-waiter";
|
|
17
18
|
import { ChannelsWaiter } from "./channels-waiter";
|
|
18
19
|
import { DbBackupsWaiter } from "./dbbackups-waiter";
|
|
19
20
|
import { DbSystemWaiter } from "./dbsystem-waiter";
|
|
@@ -21,6 +22,178 @@ import { MysqlaasWaiter } from "./mysqlaas-waiter";
|
|
|
21
22
|
import { ReplicasWaiter } from "./replicas-waiter";
|
|
22
23
|
import { WorkRequestsWaiter } from "./workrequests-waiter";
|
|
23
24
|
declare const Breaker: any;
|
|
25
|
+
export declare enum BlueGreenDeploymentsApiKeys {
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
|
|
29
|
+
*/
|
|
30
|
+
export declare class BlueGreenDeploymentsClient {
|
|
31
|
+
protected static serviceEndpointTemplate: string;
|
|
32
|
+
protected static endpointServiceName: string;
|
|
33
|
+
protected "_realmSpecificEndpointTemplateEnabled": boolean | undefined;
|
|
34
|
+
protected "_endpoint": string;
|
|
35
|
+
protected "_defaultHeaders": any;
|
|
36
|
+
protected "_waiters": BlueGreenDeploymentsWaiter;
|
|
37
|
+
protected "_clientConfiguration": common.ClientConfiguration;
|
|
38
|
+
protected _circuitBreaker: typeof Breaker | null;
|
|
39
|
+
protected _httpOptions: any;
|
|
40
|
+
protected _bodyDuplexMode: any;
|
|
41
|
+
targetService: string;
|
|
42
|
+
protected _regionId: string;
|
|
43
|
+
protected "_region": common.Region;
|
|
44
|
+
protected _lastSetRegionOrRegionId: string;
|
|
45
|
+
protected _httpClient: common.HttpClient;
|
|
46
|
+
protected _authProvider: common.AuthenticationDetailsProvider | undefined;
|
|
47
|
+
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);
|
|
48
|
+
/**
|
|
49
|
+
* Get the endpoint that is being used to call (ex, https://www.example.com).
|
|
50
|
+
*/
|
|
51
|
+
get endpoint(): string;
|
|
52
|
+
/**
|
|
53
|
+
* Sets the endpoint to call (ex, https://www.example.com).
|
|
54
|
+
* @param endpoint The endpoint of the service.
|
|
55
|
+
*/
|
|
56
|
+
set endpoint(endpoint: string);
|
|
57
|
+
get logger(): import("oci-common/lib/log").Logger;
|
|
58
|
+
/**
|
|
59
|
+
* Determines whether realm specific endpoint should be used or not.
|
|
60
|
+
* Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false"
|
|
61
|
+
* @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template
|
|
62
|
+
*/
|
|
63
|
+
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled: boolean);
|
|
64
|
+
/**
|
|
65
|
+
* Sets the region to call (ex, Region.US_PHOENIX_1).
|
|
66
|
+
* Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
|
|
67
|
+
* @param region The region of the service.
|
|
68
|
+
*/
|
|
69
|
+
set region(region: common.Region);
|
|
70
|
+
/**
|
|
71
|
+
* Sets the regionId to call (ex, 'us-phoenix-1').
|
|
72
|
+
*
|
|
73
|
+
* Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}.
|
|
74
|
+
* If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
|
|
75
|
+
* and then call {@link #endpoint(String) endpoint}.
|
|
76
|
+
* @param regionId The public region ID.
|
|
77
|
+
*/
|
|
78
|
+
set regionId(regionId: string);
|
|
79
|
+
/**
|
|
80
|
+
* Creates a new BlueGreenDeploymentsWaiter for resources for this service.
|
|
81
|
+
*
|
|
82
|
+
* @param config The waiter configuration for termination and delay strategy
|
|
83
|
+
* @return The service waiters.
|
|
84
|
+
*/
|
|
85
|
+
createWaiters(config?: common.WaiterConfiguration): BlueGreenDeploymentsWaiter;
|
|
86
|
+
/**
|
|
87
|
+
* Gets the waiters available for resources for this service.
|
|
88
|
+
*
|
|
89
|
+
* @return The service waiters.
|
|
90
|
+
*/
|
|
91
|
+
getWaiters(): BlueGreenDeploymentsWaiter;
|
|
92
|
+
/**
|
|
93
|
+
* Shutdown the circuit breaker used by the client when it is no longer needed
|
|
94
|
+
*/
|
|
95
|
+
shutdownCircuitBreaker(): void;
|
|
96
|
+
/**
|
|
97
|
+
* Close the provider if possible which in turn shuts down any associated circuit breaker
|
|
98
|
+
*/
|
|
99
|
+
closeProvider(): void;
|
|
100
|
+
/**
|
|
101
|
+
* Close the client once it is no longer needed
|
|
102
|
+
*/
|
|
103
|
+
close(): void;
|
|
104
|
+
/**
|
|
105
|
+
* Moves only the blue/green deployment wrapper resource into a different compartment.
|
|
106
|
+
* This operation does not move the source DB system, target DB system, or replication channel referenced by the deployment.
|
|
107
|
+
* When provided, If-Match is checked against ETag values of the blue/green deployment.
|
|
108
|
+
*
|
|
109
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
110
|
+
* @param ChangeBlueGreenDeploymentCompartmentRequest
|
|
111
|
+
* @return ChangeBlueGreenDeploymentCompartmentResponse
|
|
112
|
+
* @throws OciError when an error occurs
|
|
113
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mysql/ChangeBlueGreenDeploymentCompartment.ts.html |here} to see how to use ChangeBlueGreenDeploymentCompartment API.
|
|
114
|
+
*/
|
|
115
|
+
changeBlueGreenDeploymentCompartment(changeBlueGreenDeploymentCompartmentRequest: requests.ChangeBlueGreenDeploymentCompartmentRequest): Promise<responses.ChangeBlueGreenDeploymentCompartmentResponse>;
|
|
116
|
+
/**
|
|
117
|
+
* Creates a blue/green deployment resource and its replication channel.
|
|
118
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
119
|
+
* @param CreateBlueGreenDeploymentRequest
|
|
120
|
+
* @return CreateBlueGreenDeploymentResponse
|
|
121
|
+
* @throws OciError when an error occurs
|
|
122
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mysql/CreateBlueGreenDeployment.ts.html |here} to see how to use CreateBlueGreenDeployment API.
|
|
123
|
+
*/
|
|
124
|
+
createBlueGreenDeployment(createBlueGreenDeploymentRequest: requests.CreateBlueGreenDeploymentRequest): Promise<responses.CreateBlueGreenDeploymentResponse>;
|
|
125
|
+
/**
|
|
126
|
+
* Deletes only the blue/green deployment wrapper resource. This operation does not delete the source DB system, target DB system, or replication channel associated with the deployment.
|
|
127
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
128
|
+
* @param DeleteBlueGreenDeploymentRequest
|
|
129
|
+
* @return DeleteBlueGreenDeploymentResponse
|
|
130
|
+
* @throws OciError when an error occurs
|
|
131
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mysql/DeleteBlueGreenDeployment.ts.html |here} to see how to use DeleteBlueGreenDeployment API.
|
|
132
|
+
*/
|
|
133
|
+
deleteBlueGreenDeployment(deleteBlueGreenDeploymentRequest: requests.DeleteBlueGreenDeploymentRequest): Promise<responses.DeleteBlueGreenDeploymentResponse>;
|
|
134
|
+
/**
|
|
135
|
+
* Gets a blue/green deployment by identifier.
|
|
136
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
137
|
+
* @param GetBlueGreenDeploymentRequest
|
|
138
|
+
* @return GetBlueGreenDeploymentResponse
|
|
139
|
+
* @throws OciError when an error occurs
|
|
140
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mysql/GetBlueGreenDeployment.ts.html |here} to see how to use GetBlueGreenDeployment API.
|
|
141
|
+
*/
|
|
142
|
+
getBlueGreenDeployment(getBlueGreenDeploymentRequest: requests.GetBlueGreenDeploymentRequest): Promise<responses.GetBlueGreenDeploymentResponse>;
|
|
143
|
+
/**
|
|
144
|
+
* Lists blue/green deployments in a compartment.
|
|
145
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
146
|
+
* @param ListBlueGreenDeploymentsRequest
|
|
147
|
+
* @return ListBlueGreenDeploymentsResponse
|
|
148
|
+
* @throws OciError when an error occurs
|
|
149
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mysql/ListBlueGreenDeployments.ts.html |here} to see how to use ListBlueGreenDeployments API.
|
|
150
|
+
*/
|
|
151
|
+
listBlueGreenDeployments(listBlueGreenDeploymentsRequest: requests.ListBlueGreenDeploymentsRequest): Promise<responses.ListBlueGreenDeploymentsResponse>;
|
|
152
|
+
/**
|
|
153
|
+
* Initiates switchover for a blue/green deployment.
|
|
154
|
+
* <p>
|
|
155
|
+
This action is asynchronous and supports idempotent retry only when the
|
|
156
|
+
* same `opc-retry-token` is reused for an equivalent switchover request on
|
|
157
|
+
* the same blue/green deployment. Equivalent request identity includes
|
|
158
|
+
* materially equivalent request parameters after applying defaults and
|
|
159
|
+
* preconditions, including the effective `waitTimeInSeconds`
|
|
160
|
+
* from the request body and the same `If-Match` value when provided. An
|
|
161
|
+
* empty switchover details body and a body that explicitly passes the
|
|
162
|
+
* default `waitTimeInSeconds=300` are equivalent.
|
|
163
|
+
* <p>
|
|
164
|
+
Requests that change `If-Match` or other material preconditions are
|
|
165
|
+
* treated as new requests and follow normal conflict (`409`) or
|
|
166
|
+
* precondition (`412`) handling instead of ordinary retry reuse.
|
|
167
|
+
* <p>
|
|
168
|
+
Switchover outcome and partial/failure conditions are surfaced through
|
|
169
|
+
* `lifecycleState`, `lifecycleDetails`, `switchoverStatus`,
|
|
170
|
+
* and `activeDbSystemId` in the
|
|
171
|
+
* blue/green deployment resource.
|
|
172
|
+
* <p>
|
|
173
|
+
When `waitTimeInSeconds` is omitted from the request body, the default
|
|
174
|
+
* wait time applies. The effective wait time provides upper bound guidance
|
|
175
|
+
* for waiting while the target DB System applies remaining replication
|
|
176
|
+
* changes during switchover processing.
|
|
177
|
+
*
|
|
178
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
179
|
+
* @param SwitchoverBlueGreenDeploymentRequest
|
|
180
|
+
* @return SwitchoverBlueGreenDeploymentResponse
|
|
181
|
+
* @throws OciError when an error occurs
|
|
182
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mysql/SwitchoverBlueGreenDeployment.ts.html |here} to see how to use SwitchoverBlueGreenDeployment API.
|
|
183
|
+
*/
|
|
184
|
+
switchoverBlueGreenDeployment(switchoverBlueGreenDeploymentRequest: requests.SwitchoverBlueGreenDeploymentRequest): Promise<responses.SwitchoverBlueGreenDeploymentResponse>;
|
|
185
|
+
/**
|
|
186
|
+
* Updates mutable metadata for a blue/green deployment.
|
|
187
|
+
* Currently only `displayName`, `freeformTags`, and `definedTags` can be changed.
|
|
188
|
+
*
|
|
189
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
190
|
+
* @param UpdateBlueGreenDeploymentRequest
|
|
191
|
+
* @return UpdateBlueGreenDeploymentResponse
|
|
192
|
+
* @throws OciError when an error occurs
|
|
193
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mysql/UpdateBlueGreenDeployment.ts.html |here} to see how to use UpdateBlueGreenDeployment API.
|
|
194
|
+
*/
|
|
195
|
+
updateBlueGreenDeployment(updateBlueGreenDeploymentRequest: requests.UpdateBlueGreenDeploymentRequest): Promise<responses.UpdateBlueGreenDeploymentResponse>;
|
|
196
|
+
}
|
|
24
197
|
export declare enum ChannelsApiKeys {
|
|
25
198
|
}
|
|
26
199
|
/**
|