oci-mysql 2.79.0 → 2.79.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/lib/client.d.ts +46 -52
- package/lib/client.js +104 -272
- package/lib/client.js.map +1 -1
- package/lib/model/anonymous-transactions-handling.js +2 -4
- package/lib/model/anonymous-transactions-handling.js.map +1 -1
- package/lib/model/ca-certificate.js +2 -4
- package/lib/model/ca-certificate.js.map +1 -1
- package/lib/model/channel-source.js +2 -4
- package/lib/model/channel-source.js.map +1 -1
- package/lib/model/channel-target.js +2 -4
- package/lib/model/channel-target.js.map +1 -1
- package/lib/model/create-channel-source-details.js +2 -4
- package/lib/model/create-channel-source-details.js.map +1 -1
- package/lib/model/create-channel-target-details.js +2 -4
- package/lib/model/create-channel-target-details.js.map +1 -1
- package/lib/model/create-db-system-source-details.js +2 -4
- package/lib/model/create-db-system-source-details.js.map +1 -1
- package/lib/model/db-system-source.js +2 -4
- package/lib/model/db-system-source.js.map +1 -1
- package/lib/model/update-channel-source-details.js +2 -4
- package/lib/model/update-channel-source-details.js.map +1 -1
- package/lib/model/update-channel-target-details.js +2 -4
- package/lib/model/update-channel-target-details.js.map +1 -1
- package/lib/request/add-heat-wave-cluster-request.d.ts +1 -1
- package/lib/request/change-backup-compartment-request.d.ts +1 -1
- package/lib/request/create-backup-request.d.ts +1 -1
- package/lib/request/create-channel-request.d.ts +1 -1
- package/lib/request/create-configuration-request.d.ts +1 -1
- package/lib/request/create-db-system-request.d.ts +1 -1
- package/lib/request/create-replica-request.d.ts +1 -1
- package/lib/request/delete-backup-request.d.ts +1 -1
- package/lib/request/delete-channel-request.d.ts +1 -1
- package/lib/request/delete-configuration-request.d.ts +1 -1
- package/lib/request/delete-db-system-request.d.ts +1 -1
- package/lib/request/delete-heat-wave-cluster-request.d.ts +1 -1
- package/lib/request/delete-replica-request.d.ts +1 -1
- package/lib/request/generate-heat-wave-cluster-memory-estimate-request.d.ts +1 -1
- package/lib/request/get-backup-request.d.ts +1 -1
- package/lib/request/get-channel-request.d.ts +1 -1
- package/lib/request/get-configuration-request.d.ts +1 -1
- package/lib/request/get-db-system-request.d.ts +1 -1
- package/lib/request/get-heat-wave-cluster-memory-estimate-request.d.ts +1 -1
- package/lib/request/get-heat-wave-cluster-request.d.ts +1 -1
- package/lib/request/get-replica-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/list-backups-request.d.ts +1 -1
- package/lib/request/list-channels-request.d.ts +1 -1
- package/lib/request/list-configurations-request.d.ts +1 -1
- package/lib/request/list-db-systems-request.d.ts +1 -1
- package/lib/request/list-replicas-request.d.ts +1 -1
- package/lib/request/list-shapes-request.d.ts +1 -1
- package/lib/request/list-versions-request.d.ts +1 -1
- package/lib/request/list-work-request-errors-request.d.ts +1 -1
- package/lib/request/list-work-request-logs-request.d.ts +1 -1
- package/lib/request/list-work-requests-request.d.ts +1 -1
- package/lib/request/reset-channel-request.d.ts +1 -1
- package/lib/request/restart-db-system-request.d.ts +1 -1
- package/lib/request/restart-heat-wave-cluster-request.d.ts +1 -1
- package/lib/request/resume-channel-request.d.ts +1 -1
- package/lib/request/start-db-system-request.d.ts +1 -1
- package/lib/request/start-heat-wave-cluster-request.d.ts +1 -1
- package/lib/request/stop-db-system-request.d.ts +1 -1
- package/lib/request/stop-heat-wave-cluster-request.d.ts +1 -1
- package/lib/request/update-backup-request.d.ts +1 -1
- package/lib/request/update-channel-request.d.ts +1 -1
- package/lib/request/update-configuration-request.d.ts +1 -1
- package/lib/request/update-db-system-request.d.ts +1 -1
- package/lib/request/update-heat-wave-cluster-request.d.ts +1 -1
- package/lib/request/update-replica-request.d.ts +1 -1
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -122,11 +122,7 @@ class ChannelsClient {
|
|
|
122
122
|
set endpoint(endpoint) {
|
|
123
123
|
this._endpoint = endpoint;
|
|
124
124
|
this._endpoint = this._endpoint + "/20190415";
|
|
125
|
-
|
|
126
|
-
this.logger.info(`ChannelsClient endpoint set to ${this._endpoint}`);
|
|
127
|
-
}
|
|
128
|
-
get logger() {
|
|
129
|
-
return common.LOG.logger;
|
|
125
|
+
oci_common_2.logger.info(`ChannelsClient endpoint set to ${this._endpoint}`);
|
|
130
126
|
}
|
|
131
127
|
/**
|
|
132
128
|
* Determines whether realm specific endpoint should be used or not.
|
|
@@ -135,8 +131,7 @@ class ChannelsClient {
|
|
|
135
131
|
*/
|
|
136
132
|
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
137
133
|
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
138
|
-
|
|
139
|
-
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
134
|
+
oci_common_2.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
140
135
|
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
141
136
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(ChannelsClient.serviceEndpointTemplate, this._region, ChannelsClient.endpointServiceName);
|
|
142
137
|
}
|
|
@@ -203,12 +198,11 @@ class ChannelsClient {
|
|
|
203
198
|
* @param CreateChannelRequest
|
|
204
199
|
* @return CreateChannelResponse
|
|
205
200
|
* @throws OciError when an error occurs
|
|
206
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
201
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/mysql/CreateChannel.ts.html |here} to see how to use CreateChannel API.
|
|
207
202
|
*/
|
|
208
203
|
createChannel(createChannelRequest) {
|
|
209
204
|
return __awaiter(this, void 0, void 0, function* () {
|
|
210
|
-
|
|
211
|
-
this.logger.debug("Calling operation ChannelsClient#createChannel.");
|
|
205
|
+
oci_common_2.logger.debug("Calling operation ChannelsClient#createChannel.");
|
|
212
206
|
const operationName = "createChannel";
|
|
213
207
|
const apiReferenceLink = "";
|
|
214
208
|
const pathParams = {};
|
|
@@ -220,8 +214,6 @@ class ChannelsClient {
|
|
|
220
214
|
};
|
|
221
215
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
222
216
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createChannelRequest.retryConfiguration, specRetryConfiguration);
|
|
223
|
-
if (this.logger)
|
|
224
|
-
retrier.logger = this.logger;
|
|
225
217
|
const request = yield oci_common_2.composeRequest({
|
|
226
218
|
baseEndpoint: this._endpoint,
|
|
227
219
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -271,12 +263,11 @@ class ChannelsClient {
|
|
|
271
263
|
* @param DeleteChannelRequest
|
|
272
264
|
* @return DeleteChannelResponse
|
|
273
265
|
* @throws OciError when an error occurs
|
|
274
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
266
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/mysql/DeleteChannel.ts.html |here} to see how to use DeleteChannel API.
|
|
275
267
|
*/
|
|
276
268
|
deleteChannel(deleteChannelRequest) {
|
|
277
269
|
return __awaiter(this, void 0, void 0, function* () {
|
|
278
|
-
|
|
279
|
-
this.logger.debug("Calling operation ChannelsClient#deleteChannel.");
|
|
270
|
+
oci_common_2.logger.debug("Calling operation ChannelsClient#deleteChannel.");
|
|
280
271
|
const operationName = "deleteChannel";
|
|
281
272
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/Channel/DeleteChannel";
|
|
282
273
|
const pathParams = {
|
|
@@ -290,8 +281,6 @@ class ChannelsClient {
|
|
|
290
281
|
};
|
|
291
282
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
292
283
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteChannelRequest.retryConfiguration, specRetryConfiguration);
|
|
293
|
-
if (this.logger)
|
|
294
|
-
retrier.logger = this.logger;
|
|
295
284
|
const request = yield oci_common_2.composeRequest({
|
|
296
285
|
baseEndpoint: this._endpoint,
|
|
297
286
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -334,12 +323,11 @@ class ChannelsClient {
|
|
|
334
323
|
* @param GetChannelRequest
|
|
335
324
|
* @return GetChannelResponse
|
|
336
325
|
* @throws OciError when an error occurs
|
|
337
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
326
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/mysql/GetChannel.ts.html |here} to see how to use GetChannel API.
|
|
338
327
|
*/
|
|
339
328
|
getChannel(getChannelRequest) {
|
|
340
329
|
return __awaiter(this, void 0, void 0, function* () {
|
|
341
|
-
|
|
342
|
-
this.logger.debug("Calling operation ChannelsClient#getChannel.");
|
|
330
|
+
oci_common_2.logger.debug("Calling operation ChannelsClient#getChannel.");
|
|
343
331
|
const operationName = "getChannel";
|
|
344
332
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/Channel/GetChannel";
|
|
345
333
|
const pathParams = {
|
|
@@ -353,8 +341,6 @@ class ChannelsClient {
|
|
|
353
341
|
};
|
|
354
342
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
355
343
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getChannelRequest.retryConfiguration, specRetryConfiguration);
|
|
356
|
-
if (this.logger)
|
|
357
|
-
retrier.logger = this.logger;
|
|
358
344
|
const request = yield oci_common_2.composeRequest({
|
|
359
345
|
baseEndpoint: this._endpoint,
|
|
360
346
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -398,12 +384,11 @@ class ChannelsClient {
|
|
|
398
384
|
* @param ListChannelsRequest
|
|
399
385
|
* @return ListChannelsResponse
|
|
400
386
|
* @throws OciError when an error occurs
|
|
401
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
387
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/mysql/ListChannels.ts.html |here} to see how to use ListChannels API.
|
|
402
388
|
*/
|
|
403
389
|
listChannels(listChannelsRequest) {
|
|
404
390
|
return __awaiter(this, void 0, void 0, function* () {
|
|
405
|
-
|
|
406
|
-
this.logger.debug("Calling operation ChannelsClient#listChannels.");
|
|
391
|
+
oci_common_2.logger.debug("Calling operation ChannelsClient#listChannels.");
|
|
407
392
|
const operationName = "listChannels";
|
|
408
393
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/ChannelSummary/ListChannels";
|
|
409
394
|
const pathParams = {};
|
|
@@ -425,8 +410,6 @@ class ChannelsClient {
|
|
|
425
410
|
};
|
|
426
411
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
427
412
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listChannelsRequest.retryConfiguration, specRetryConfiguration);
|
|
428
|
-
if (this.logger)
|
|
429
|
-
retrier.logger = this.logger;
|
|
430
413
|
const request = yield oci_common_2.composeRequest({
|
|
431
414
|
baseEndpoint: this._endpoint,
|
|
432
415
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -512,12 +495,11 @@ class ChannelsClient {
|
|
|
512
495
|
* @param ResetChannelRequest
|
|
513
496
|
* @return ResetChannelResponse
|
|
514
497
|
* @throws OciError when an error occurs
|
|
515
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
498
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/mysql/ResetChannel.ts.html |here} to see how to use ResetChannel API.
|
|
516
499
|
*/
|
|
517
500
|
resetChannel(resetChannelRequest) {
|
|
518
501
|
return __awaiter(this, void 0, void 0, function* () {
|
|
519
|
-
|
|
520
|
-
this.logger.debug("Calling operation ChannelsClient#resetChannel.");
|
|
502
|
+
oci_common_2.logger.debug("Calling operation ChannelsClient#resetChannel.");
|
|
521
503
|
const operationName = "resetChannel";
|
|
522
504
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/Channel/ResetChannel";
|
|
523
505
|
const pathParams = {
|
|
@@ -532,8 +514,6 @@ class ChannelsClient {
|
|
|
532
514
|
};
|
|
533
515
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
534
516
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, resetChannelRequest.retryConfiguration, specRetryConfiguration);
|
|
535
|
-
if (this.logger)
|
|
536
|
-
retrier.logger = this.logger;
|
|
537
517
|
const request = yield oci_common_2.composeRequest({
|
|
538
518
|
baseEndpoint: this._endpoint,
|
|
539
519
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -576,12 +556,11 @@ class ChannelsClient {
|
|
|
576
556
|
* @param ResumeChannelRequest
|
|
577
557
|
* @return ResumeChannelResponse
|
|
578
558
|
* @throws OciError when an error occurs
|
|
579
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
559
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/mysql/ResumeChannel.ts.html |here} to see how to use ResumeChannel API.
|
|
580
560
|
*/
|
|
581
561
|
resumeChannel(resumeChannelRequest) {
|
|
582
562
|
return __awaiter(this, void 0, void 0, function* () {
|
|
583
|
-
|
|
584
|
-
this.logger.debug("Calling operation ChannelsClient#resumeChannel.");
|
|
563
|
+
oci_common_2.logger.debug("Calling operation ChannelsClient#resumeChannel.");
|
|
585
564
|
const operationName = "resumeChannel";
|
|
586
565
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/Channel/ResumeChannel";
|
|
587
566
|
const pathParams = {
|
|
@@ -596,8 +575,6 @@ class ChannelsClient {
|
|
|
596
575
|
};
|
|
597
576
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
598
577
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, resumeChannelRequest.retryConfiguration, specRetryConfiguration);
|
|
599
|
-
if (this.logger)
|
|
600
|
-
retrier.logger = this.logger;
|
|
601
578
|
const request = yield oci_common_2.composeRequest({
|
|
602
579
|
baseEndpoint: this._endpoint,
|
|
603
580
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -641,12 +618,11 @@ class ChannelsClient {
|
|
|
641
618
|
* @param UpdateChannelRequest
|
|
642
619
|
* @return UpdateChannelResponse
|
|
643
620
|
* @throws OciError when an error occurs
|
|
644
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
621
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/mysql/UpdateChannel.ts.html |here} to see how to use UpdateChannel API.
|
|
645
622
|
*/
|
|
646
623
|
updateChannel(updateChannelRequest) {
|
|
647
624
|
return __awaiter(this, void 0, void 0, function* () {
|
|
648
|
-
|
|
649
|
-
this.logger.debug("Calling operation ChannelsClient#updateChannel.");
|
|
625
|
+
oci_common_2.logger.debug("Calling operation ChannelsClient#updateChannel.");
|
|
650
626
|
const operationName = "updateChannel";
|
|
651
627
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/Channel/UpdateChannel";
|
|
652
628
|
const pathParams = {
|
|
@@ -661,8 +637,6 @@ class ChannelsClient {
|
|
|
661
637
|
};
|
|
662
638
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
663
639
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateChannelRequest.retryConfiguration, specRetryConfiguration);
|
|
664
|
-
if (this.logger)
|
|
665
|
-
retrier.logger = this.logger;
|
|
666
640
|
const request = yield oci_common_2.composeRequest({
|
|
667
641
|
baseEndpoint: this._endpoint,
|
|
668
642
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -768,11 +742,7 @@ class DbBackupsClient {
|
|
|
768
742
|
set endpoint(endpoint) {
|
|
769
743
|
this._endpoint = endpoint;
|
|
770
744
|
this._endpoint = this._endpoint + "/20190415";
|
|
771
|
-
|
|
772
|
-
this.logger.info(`DbBackupsClient endpoint set to ${this._endpoint}`);
|
|
773
|
-
}
|
|
774
|
-
get logger() {
|
|
775
|
-
return common.LOG.logger;
|
|
745
|
+
oci_common_2.logger.info(`DbBackupsClient endpoint set to ${this._endpoint}`);
|
|
776
746
|
}
|
|
777
747
|
/**
|
|
778
748
|
* Determines whether realm specific endpoint should be used or not.
|
|
@@ -781,8 +751,7 @@ class DbBackupsClient {
|
|
|
781
751
|
*/
|
|
782
752
|
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
783
753
|
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
784
|
-
|
|
785
|
-
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
754
|
+
oci_common_2.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
786
755
|
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
787
756
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(DbBackupsClient.serviceEndpointTemplate, this._region, DbBackupsClient.endpointServiceName);
|
|
788
757
|
}
|
|
@@ -850,12 +819,11 @@ class DbBackupsClient {
|
|
|
850
819
|
* @param ChangeBackupCompartmentRequest
|
|
851
820
|
* @return ChangeBackupCompartmentResponse
|
|
852
821
|
* @throws OciError when an error occurs
|
|
853
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
822
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/mysql/ChangeBackupCompartment.ts.html |here} to see how to use ChangeBackupCompartment API.
|
|
854
823
|
*/
|
|
855
824
|
changeBackupCompartment(changeBackupCompartmentRequest) {
|
|
856
825
|
return __awaiter(this, void 0, void 0, function* () {
|
|
857
|
-
|
|
858
|
-
this.logger.debug("Calling operation DbBackupsClient#changeBackupCompartment.");
|
|
826
|
+
oci_common_2.logger.debug("Calling operation DbBackupsClient#changeBackupCompartment.");
|
|
859
827
|
const operationName = "changeBackupCompartment";
|
|
860
828
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/Backup/ChangeBackupCompartment";
|
|
861
829
|
const pathParams = {
|
|
@@ -870,8 +838,6 @@ class DbBackupsClient {
|
|
|
870
838
|
};
|
|
871
839
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
872
840
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeBackupCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
873
|
-
if (this.logger)
|
|
874
|
-
retrier.logger = this.logger;
|
|
875
841
|
const request = yield oci_common_2.composeRequest({
|
|
876
842
|
baseEndpoint: this._endpoint,
|
|
877
843
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -913,12 +879,11 @@ class DbBackupsClient {
|
|
|
913
879
|
* @param CreateBackupRequest
|
|
914
880
|
* @return CreateBackupResponse
|
|
915
881
|
* @throws OciError when an error occurs
|
|
916
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
882
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/mysql/CreateBackup.ts.html |here} to see how to use CreateBackup API.
|
|
917
883
|
*/
|
|
918
884
|
createBackup(createBackupRequest) {
|
|
919
885
|
return __awaiter(this, void 0, void 0, function* () {
|
|
920
|
-
|
|
921
|
-
this.logger.debug("Calling operation DbBackupsClient#createBackup.");
|
|
886
|
+
oci_common_2.logger.debug("Calling operation DbBackupsClient#createBackup.");
|
|
922
887
|
const operationName = "createBackup";
|
|
923
888
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/Backup/CreateBackup";
|
|
924
889
|
const pathParams = {};
|
|
@@ -930,8 +895,6 @@ class DbBackupsClient {
|
|
|
930
895
|
};
|
|
931
896
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
932
897
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createBackupRequest.retryConfiguration, specRetryConfiguration);
|
|
933
|
-
if (this.logger)
|
|
934
|
-
retrier.logger = this.logger;
|
|
935
898
|
const request = yield oci_common_2.composeRequest({
|
|
936
899
|
baseEndpoint: this._endpoint,
|
|
937
900
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -982,12 +945,11 @@ class DbBackupsClient {
|
|
|
982
945
|
* @param DeleteBackupRequest
|
|
983
946
|
* @return DeleteBackupResponse
|
|
984
947
|
* @throws OciError when an error occurs
|
|
985
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
948
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/mysql/DeleteBackup.ts.html |here} to see how to use DeleteBackup API.
|
|
986
949
|
*/
|
|
987
950
|
deleteBackup(deleteBackupRequest) {
|
|
988
951
|
return __awaiter(this, void 0, void 0, function* () {
|
|
989
|
-
|
|
990
|
-
this.logger.debug("Calling operation DbBackupsClient#deleteBackup.");
|
|
952
|
+
oci_common_2.logger.debug("Calling operation DbBackupsClient#deleteBackup.");
|
|
991
953
|
const operationName = "deleteBackup";
|
|
992
954
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/Backup/DeleteBackup";
|
|
993
955
|
const pathParams = {
|
|
@@ -1001,8 +963,6 @@ class DbBackupsClient {
|
|
|
1001
963
|
};
|
|
1002
964
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1003
965
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteBackupRequest.retryConfiguration, specRetryConfiguration);
|
|
1004
|
-
if (this.logger)
|
|
1005
|
-
retrier.logger = this.logger;
|
|
1006
966
|
const request = yield oci_common_2.composeRequest({
|
|
1007
967
|
baseEndpoint: this._endpoint,
|
|
1008
968
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1042,12 +1002,11 @@ class DbBackupsClient {
|
|
|
1042
1002
|
* @param GetBackupRequest
|
|
1043
1003
|
* @return GetBackupResponse
|
|
1044
1004
|
* @throws OciError when an error occurs
|
|
1045
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1005
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/mysql/GetBackup.ts.html |here} to see how to use GetBackup API.
|
|
1046
1006
|
*/
|
|
1047
1007
|
getBackup(getBackupRequest) {
|
|
1048
1008
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1049
|
-
|
|
1050
|
-
this.logger.debug("Calling operation DbBackupsClient#getBackup.");
|
|
1009
|
+
oci_common_2.logger.debug("Calling operation DbBackupsClient#getBackup.");
|
|
1051
1010
|
const operationName = "getBackup";
|
|
1052
1011
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/Backup/GetBackup";
|
|
1053
1012
|
const pathParams = {
|
|
@@ -1061,8 +1020,6 @@ class DbBackupsClient {
|
|
|
1061
1020
|
};
|
|
1062
1021
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1063
1022
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getBackupRequest.retryConfiguration, specRetryConfiguration);
|
|
1064
|
-
if (this.logger)
|
|
1065
|
-
retrier.logger = this.logger;
|
|
1066
1023
|
const request = yield oci_common_2.composeRequest({
|
|
1067
1024
|
baseEndpoint: this._endpoint,
|
|
1068
1025
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1107,12 +1064,11 @@ class DbBackupsClient {
|
|
|
1107
1064
|
* @param ListBackupsRequest
|
|
1108
1065
|
* @return ListBackupsResponse
|
|
1109
1066
|
* @throws OciError when an error occurs
|
|
1110
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1067
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/mysql/ListBackups.ts.html |here} to see how to use ListBackups API.
|
|
1111
1068
|
*/
|
|
1112
1069
|
listBackups(listBackupsRequest) {
|
|
1113
1070
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1114
|
-
|
|
1115
|
-
this.logger.debug("Calling operation DbBackupsClient#listBackups.");
|
|
1071
|
+
oci_common_2.logger.debug("Calling operation DbBackupsClient#listBackups.");
|
|
1116
1072
|
const operationName = "listBackups";
|
|
1117
1073
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/BackupSummary/ListBackups";
|
|
1118
1074
|
const pathParams = {};
|
|
@@ -1134,8 +1090,6 @@ class DbBackupsClient {
|
|
|
1134
1090
|
};
|
|
1135
1091
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1136
1092
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listBackupsRequest.retryConfiguration, specRetryConfiguration);
|
|
1137
|
-
if (this.logger)
|
|
1138
|
-
retrier.logger = this.logger;
|
|
1139
1093
|
const request = yield oci_common_2.composeRequest({
|
|
1140
1094
|
baseEndpoint: this._endpoint,
|
|
1141
1095
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1219,12 +1173,11 @@ class DbBackupsClient {
|
|
|
1219
1173
|
* @param UpdateBackupRequest
|
|
1220
1174
|
* @return UpdateBackupResponse
|
|
1221
1175
|
* @throws OciError when an error occurs
|
|
1222
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1176
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/mysql/UpdateBackup.ts.html |here} to see how to use UpdateBackup API.
|
|
1223
1177
|
*/
|
|
1224
1178
|
updateBackup(updateBackupRequest) {
|
|
1225
1179
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1226
|
-
|
|
1227
|
-
this.logger.debug("Calling operation DbBackupsClient#updateBackup.");
|
|
1180
|
+
oci_common_2.logger.debug("Calling operation DbBackupsClient#updateBackup.");
|
|
1228
1181
|
const operationName = "updateBackup";
|
|
1229
1182
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/Backup/UpdateBackup";
|
|
1230
1183
|
const pathParams = {
|
|
@@ -1238,8 +1191,6 @@ class DbBackupsClient {
|
|
|
1238
1191
|
};
|
|
1239
1192
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1240
1193
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateBackupRequest.retryConfiguration, specRetryConfiguration);
|
|
1241
|
-
if (this.logger)
|
|
1242
|
-
retrier.logger = this.logger;
|
|
1243
1194
|
const request = yield oci_common_2.composeRequest({
|
|
1244
1195
|
baseEndpoint: this._endpoint,
|
|
1245
1196
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1349,11 +1300,7 @@ class DbSystemClient {
|
|
|
1349
1300
|
set endpoint(endpoint) {
|
|
1350
1301
|
this._endpoint = endpoint;
|
|
1351
1302
|
this._endpoint = this._endpoint + "/20190415";
|
|
1352
|
-
|
|
1353
|
-
this.logger.info(`DbSystemClient endpoint set to ${this._endpoint}`);
|
|
1354
|
-
}
|
|
1355
|
-
get logger() {
|
|
1356
|
-
return common.LOG.logger;
|
|
1303
|
+
oci_common_2.logger.info(`DbSystemClient endpoint set to ${this._endpoint}`);
|
|
1357
1304
|
}
|
|
1358
1305
|
/**
|
|
1359
1306
|
* Determines whether realm specific endpoint should be used or not.
|
|
@@ -1362,8 +1309,7 @@ class DbSystemClient {
|
|
|
1362
1309
|
*/
|
|
1363
1310
|
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
1364
1311
|
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
1365
|
-
|
|
1366
|
-
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
1312
|
+
oci_common_2.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
1367
1313
|
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
1368
1314
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(DbSystemClient.serviceEndpointTemplate, this._region, DbSystemClient.endpointServiceName);
|
|
1369
1315
|
}
|
|
@@ -1430,12 +1376,11 @@ class DbSystemClient {
|
|
|
1430
1376
|
* @param AddHeatWaveClusterRequest
|
|
1431
1377
|
* @return AddHeatWaveClusterResponse
|
|
1432
1378
|
* @throws OciError when an error occurs
|
|
1433
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1379
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/mysql/AddHeatWaveCluster.ts.html |here} to see how to use AddHeatWaveCluster API.
|
|
1434
1380
|
*/
|
|
1435
1381
|
addHeatWaveCluster(addHeatWaveClusterRequest) {
|
|
1436
1382
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1437
|
-
|
|
1438
|
-
this.logger.debug("Calling operation DbSystemClient#addHeatWaveCluster.");
|
|
1383
|
+
oci_common_2.logger.debug("Calling operation DbSystemClient#addHeatWaveCluster.");
|
|
1439
1384
|
const operationName = "addHeatWaveCluster";
|
|
1440
1385
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/HeatWaveCluster/AddHeatWaveCluster";
|
|
1441
1386
|
const pathParams = {
|
|
@@ -1450,8 +1395,6 @@ class DbSystemClient {
|
|
|
1450
1395
|
};
|
|
1451
1396
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1452
1397
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addHeatWaveClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
1453
|
-
if (this.logger)
|
|
1454
|
-
retrier.logger = this.logger;
|
|
1455
1398
|
const request = yield oci_common_2.composeRequest({
|
|
1456
1399
|
baseEndpoint: this._endpoint,
|
|
1457
1400
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1502,12 +1445,11 @@ class DbSystemClient {
|
|
|
1502
1445
|
* @param CreateDbSystemRequest
|
|
1503
1446
|
* @return CreateDbSystemResponse
|
|
1504
1447
|
* @throws OciError when an error occurs
|
|
1505
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1448
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/mysql/CreateDbSystem.ts.html |here} to see how to use CreateDbSystem API.
|
|
1506
1449
|
*/
|
|
1507
1450
|
createDbSystem(createDbSystemRequest) {
|
|
1508
1451
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1509
|
-
|
|
1510
|
-
this.logger.debug("Calling operation DbSystemClient#createDbSystem.");
|
|
1452
|
+
oci_common_2.logger.debug("Calling operation DbSystemClient#createDbSystem.");
|
|
1511
1453
|
const operationName = "createDbSystem";
|
|
1512
1454
|
const apiReferenceLink = "";
|
|
1513
1455
|
const pathParams = {};
|
|
@@ -1519,8 +1461,6 @@ class DbSystemClient {
|
|
|
1519
1461
|
};
|
|
1520
1462
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1521
1463
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createDbSystemRequest.retryConfiguration, specRetryConfiguration);
|
|
1522
|
-
if (this.logger)
|
|
1523
|
-
retrier.logger = this.logger;
|
|
1524
1464
|
const request = yield oci_common_2.composeRequest({
|
|
1525
1465
|
baseEndpoint: this._endpoint,
|
|
1526
1466
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1577,12 +1517,11 @@ class DbSystemClient {
|
|
|
1577
1517
|
* @param DeleteDbSystemRequest
|
|
1578
1518
|
* @return DeleteDbSystemResponse
|
|
1579
1519
|
* @throws OciError when an error occurs
|
|
1580
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1520
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/mysql/DeleteDbSystem.ts.html |here} to see how to use DeleteDbSystem API.
|
|
1581
1521
|
*/
|
|
1582
1522
|
deleteDbSystem(deleteDbSystemRequest) {
|
|
1583
1523
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1584
|
-
|
|
1585
|
-
this.logger.debug("Calling operation DbSystemClient#deleteDbSystem.");
|
|
1524
|
+
oci_common_2.logger.debug("Calling operation DbSystemClient#deleteDbSystem.");
|
|
1586
1525
|
const operationName = "deleteDbSystem";
|
|
1587
1526
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/DbSystem/DeleteDbSystem";
|
|
1588
1527
|
const pathParams = {
|
|
@@ -1596,8 +1535,6 @@ class DbSystemClient {
|
|
|
1596
1535
|
};
|
|
1597
1536
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1598
1537
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteDbSystemRequest.retryConfiguration, specRetryConfiguration);
|
|
1599
|
-
if (this.logger)
|
|
1600
|
-
retrier.logger = this.logger;
|
|
1601
1538
|
const request = yield oci_common_2.composeRequest({
|
|
1602
1539
|
baseEndpoint: this._endpoint,
|
|
1603
1540
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1639,12 +1576,11 @@ class DbSystemClient {
|
|
|
1639
1576
|
* @param DeleteHeatWaveClusterRequest
|
|
1640
1577
|
* @return DeleteHeatWaveClusterResponse
|
|
1641
1578
|
* @throws OciError when an error occurs
|
|
1642
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1579
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/mysql/DeleteHeatWaveCluster.ts.html |here} to see how to use DeleteHeatWaveCluster API.
|
|
1643
1580
|
*/
|
|
1644
1581
|
deleteHeatWaveCluster(deleteHeatWaveClusterRequest) {
|
|
1645
1582
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1646
|
-
|
|
1647
|
-
this.logger.debug("Calling operation DbSystemClient#deleteHeatWaveCluster.");
|
|
1583
|
+
oci_common_2.logger.debug("Calling operation DbSystemClient#deleteHeatWaveCluster.");
|
|
1648
1584
|
const operationName = "deleteHeatWaveCluster";
|
|
1649
1585
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/HeatWaveCluster/DeleteHeatWaveCluster";
|
|
1650
1586
|
const pathParams = {
|
|
@@ -1658,8 +1594,6 @@ class DbSystemClient {
|
|
|
1658
1594
|
};
|
|
1659
1595
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1660
1596
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteHeatWaveClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
1661
|
-
if (this.logger)
|
|
1662
|
-
retrier.logger = this.logger;
|
|
1663
1597
|
const request = yield oci_common_2.composeRequest({
|
|
1664
1598
|
baseEndpoint: this._endpoint,
|
|
1665
1599
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1700,12 +1634,11 @@ class DbSystemClient {
|
|
|
1700
1634
|
* @param GenerateHeatWaveClusterMemoryEstimateRequest
|
|
1701
1635
|
* @return GenerateHeatWaveClusterMemoryEstimateResponse
|
|
1702
1636
|
* @throws OciError when an error occurs
|
|
1703
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1637
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/mysql/GenerateHeatWaveClusterMemoryEstimate.ts.html |here} to see how to use GenerateHeatWaveClusterMemoryEstimate API.
|
|
1704
1638
|
*/
|
|
1705
1639
|
generateHeatWaveClusterMemoryEstimate(generateHeatWaveClusterMemoryEstimateRequest) {
|
|
1706
1640
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1707
|
-
|
|
1708
|
-
this.logger.debug("Calling operation DbSystemClient#generateHeatWaveClusterMemoryEstimate.");
|
|
1641
|
+
oci_common_2.logger.debug("Calling operation DbSystemClient#generateHeatWaveClusterMemoryEstimate.");
|
|
1709
1642
|
const operationName = "generateHeatWaveClusterMemoryEstimate";
|
|
1710
1643
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/HeatWaveClusterMemoryEstimate/GenerateHeatWaveClusterMemoryEstimate";
|
|
1711
1644
|
const pathParams = {
|
|
@@ -1719,8 +1652,6 @@ class DbSystemClient {
|
|
|
1719
1652
|
};
|
|
1720
1653
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1721
1654
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, generateHeatWaveClusterMemoryEstimateRequest.retryConfiguration, specRetryConfiguration);
|
|
1722
|
-
if (this.logger)
|
|
1723
|
-
retrier.logger = this.logger;
|
|
1724
1655
|
const request = yield oci_common_2.composeRequest({
|
|
1725
1656
|
baseEndpoint: this._endpoint,
|
|
1726
1657
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1764,12 +1695,11 @@ class DbSystemClient {
|
|
|
1764
1695
|
* @param GetDbSystemRequest
|
|
1765
1696
|
* @return GetDbSystemResponse
|
|
1766
1697
|
* @throws OciError when an error occurs
|
|
1767
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1698
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/mysql/GetDbSystem.ts.html |here} to see how to use GetDbSystem API.
|
|
1768
1699
|
*/
|
|
1769
1700
|
getDbSystem(getDbSystemRequest) {
|
|
1770
1701
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1771
|
-
|
|
1772
|
-
this.logger.debug("Calling operation DbSystemClient#getDbSystem.");
|
|
1702
|
+
oci_common_2.logger.debug("Calling operation DbSystemClient#getDbSystem.");
|
|
1773
1703
|
const operationName = "getDbSystem";
|
|
1774
1704
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/DbSystem/GetDbSystem";
|
|
1775
1705
|
const pathParams = {
|
|
@@ -1783,8 +1713,6 @@ class DbSystemClient {
|
|
|
1783
1713
|
};
|
|
1784
1714
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1785
1715
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDbSystemRequest.retryConfiguration, specRetryConfiguration);
|
|
1786
|
-
if (this.logger)
|
|
1787
|
-
retrier.logger = this.logger;
|
|
1788
1716
|
const request = yield oci_common_2.composeRequest({
|
|
1789
1717
|
baseEndpoint: this._endpoint,
|
|
1790
1718
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1828,12 +1756,11 @@ class DbSystemClient {
|
|
|
1828
1756
|
* @param GetHeatWaveClusterRequest
|
|
1829
1757
|
* @return GetHeatWaveClusterResponse
|
|
1830
1758
|
* @throws OciError when an error occurs
|
|
1831
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1759
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/mysql/GetHeatWaveCluster.ts.html |here} to see how to use GetHeatWaveCluster API.
|
|
1832
1760
|
*/
|
|
1833
1761
|
getHeatWaveCluster(getHeatWaveClusterRequest) {
|
|
1834
1762
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1835
|
-
|
|
1836
|
-
this.logger.debug("Calling operation DbSystemClient#getHeatWaveCluster.");
|
|
1763
|
+
oci_common_2.logger.debug("Calling operation DbSystemClient#getHeatWaveCluster.");
|
|
1837
1764
|
const operationName = "getHeatWaveCluster";
|
|
1838
1765
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/HeatWaveCluster/GetHeatWaveCluster";
|
|
1839
1766
|
const pathParams = {
|
|
@@ -1847,8 +1774,6 @@ class DbSystemClient {
|
|
|
1847
1774
|
};
|
|
1848
1775
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1849
1776
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getHeatWaveClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
1850
|
-
if (this.logger)
|
|
1851
|
-
retrier.logger = this.logger;
|
|
1852
1777
|
const request = yield oci_common_2.composeRequest({
|
|
1853
1778
|
baseEndpoint: this._endpoint,
|
|
1854
1779
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1894,12 +1819,11 @@ class DbSystemClient {
|
|
|
1894
1819
|
* @param GetHeatWaveClusterMemoryEstimateRequest
|
|
1895
1820
|
* @return GetHeatWaveClusterMemoryEstimateResponse
|
|
1896
1821
|
* @throws OciError when an error occurs
|
|
1897
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1822
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/mysql/GetHeatWaveClusterMemoryEstimate.ts.html |here} to see how to use GetHeatWaveClusterMemoryEstimate API.
|
|
1898
1823
|
*/
|
|
1899
1824
|
getHeatWaveClusterMemoryEstimate(getHeatWaveClusterMemoryEstimateRequest) {
|
|
1900
1825
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1901
|
-
|
|
1902
|
-
this.logger.debug("Calling operation DbSystemClient#getHeatWaveClusterMemoryEstimate.");
|
|
1826
|
+
oci_common_2.logger.debug("Calling operation DbSystemClient#getHeatWaveClusterMemoryEstimate.");
|
|
1903
1827
|
const operationName = "getHeatWaveClusterMemoryEstimate";
|
|
1904
1828
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/HeatWaveClusterMemoryEstimate/GetHeatWaveClusterMemoryEstimate";
|
|
1905
1829
|
const pathParams = {
|
|
@@ -1912,8 +1836,6 @@ class DbSystemClient {
|
|
|
1912
1836
|
};
|
|
1913
1837
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1914
1838
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getHeatWaveClusterMemoryEstimateRequest.retryConfiguration, specRetryConfiguration);
|
|
1915
|
-
if (this.logger)
|
|
1916
|
-
retrier.logger = this.logger;
|
|
1917
1839
|
const request = yield oci_common_2.composeRequest({
|
|
1918
1840
|
baseEndpoint: this._endpoint,
|
|
1919
1841
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1954,12 +1876,11 @@ class DbSystemClient {
|
|
|
1954
1876
|
* @param ListDbSystemsRequest
|
|
1955
1877
|
* @return ListDbSystemsResponse
|
|
1956
1878
|
* @throws OciError when an error occurs
|
|
1957
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1879
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/mysql/ListDbSystems.ts.html |here} to see how to use ListDbSystems API.
|
|
1958
1880
|
*/
|
|
1959
1881
|
listDbSystems(listDbSystemsRequest) {
|
|
1960
1882
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1961
|
-
|
|
1962
|
-
this.logger.debug("Calling operation DbSystemClient#listDbSystems.");
|
|
1883
|
+
oci_common_2.logger.debug("Calling operation DbSystemClient#listDbSystems.");
|
|
1963
1884
|
const operationName = "listDbSystems";
|
|
1964
1885
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/DbSystemSummary/ListDbSystems";
|
|
1965
1886
|
const pathParams = {};
|
|
@@ -1983,8 +1904,6 @@ class DbSystemClient {
|
|
|
1983
1904
|
};
|
|
1984
1905
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1985
1906
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDbSystemsRequest.retryConfiguration, specRetryConfiguration);
|
|
1986
|
-
if (this.logger)
|
|
1987
|
-
retrier.logger = this.logger;
|
|
1988
1907
|
const request = yield oci_common_2.composeRequest({
|
|
1989
1908
|
baseEndpoint: this._endpoint,
|
|
1990
1909
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2068,12 +1987,11 @@ class DbSystemClient {
|
|
|
2068
1987
|
* @param RestartDbSystemRequest
|
|
2069
1988
|
* @return RestartDbSystemResponse
|
|
2070
1989
|
* @throws OciError when an error occurs
|
|
2071
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1990
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/mysql/RestartDbSystem.ts.html |here} to see how to use RestartDbSystem API.
|
|
2072
1991
|
*/
|
|
2073
1992
|
restartDbSystem(restartDbSystemRequest) {
|
|
2074
1993
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2075
|
-
|
|
2076
|
-
this.logger.debug("Calling operation DbSystemClient#restartDbSystem.");
|
|
1994
|
+
oci_common_2.logger.debug("Calling operation DbSystemClient#restartDbSystem.");
|
|
2077
1995
|
const operationName = "restartDbSystem";
|
|
2078
1996
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/DbSystem/RestartDbSystem";
|
|
2079
1997
|
const pathParams = {
|
|
@@ -2088,8 +2006,6 @@ class DbSystemClient {
|
|
|
2088
2006
|
};
|
|
2089
2007
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2090
2008
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, restartDbSystemRequest.retryConfiguration, specRetryConfiguration);
|
|
2091
|
-
if (this.logger)
|
|
2092
|
-
retrier.logger = this.logger;
|
|
2093
2009
|
const request = yield oci_common_2.composeRequest({
|
|
2094
2010
|
baseEndpoint: this._endpoint,
|
|
2095
2011
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2130,12 +2046,11 @@ class DbSystemClient {
|
|
|
2130
2046
|
* @param RestartHeatWaveClusterRequest
|
|
2131
2047
|
* @return RestartHeatWaveClusterResponse
|
|
2132
2048
|
* @throws OciError when an error occurs
|
|
2133
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
2049
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/mysql/RestartHeatWaveCluster.ts.html |here} to see how to use RestartHeatWaveCluster API.
|
|
2134
2050
|
*/
|
|
2135
2051
|
restartHeatWaveCluster(restartHeatWaveClusterRequest) {
|
|
2136
2052
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2137
|
-
|
|
2138
|
-
this.logger.debug("Calling operation DbSystemClient#restartHeatWaveCluster.");
|
|
2053
|
+
oci_common_2.logger.debug("Calling operation DbSystemClient#restartHeatWaveCluster.");
|
|
2139
2054
|
const operationName = "restartHeatWaveCluster";
|
|
2140
2055
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/HeatWaveCluster/RestartHeatWaveCluster";
|
|
2141
2056
|
const pathParams = {
|
|
@@ -2150,8 +2065,6 @@ class DbSystemClient {
|
|
|
2150
2065
|
};
|
|
2151
2066
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2152
2067
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, restartHeatWaveClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
2153
|
-
if (this.logger)
|
|
2154
|
-
retrier.logger = this.logger;
|
|
2155
2068
|
const request = yield oci_common_2.composeRequest({
|
|
2156
2069
|
baseEndpoint: this._endpoint,
|
|
2157
2070
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2191,12 +2104,11 @@ class DbSystemClient {
|
|
|
2191
2104
|
* @param StartDbSystemRequest
|
|
2192
2105
|
* @return StartDbSystemResponse
|
|
2193
2106
|
* @throws OciError when an error occurs
|
|
2194
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
2107
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/mysql/StartDbSystem.ts.html |here} to see how to use StartDbSystem API.
|
|
2195
2108
|
*/
|
|
2196
2109
|
startDbSystem(startDbSystemRequest) {
|
|
2197
2110
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2198
|
-
|
|
2199
|
-
this.logger.debug("Calling operation DbSystemClient#startDbSystem.");
|
|
2111
|
+
oci_common_2.logger.debug("Calling operation DbSystemClient#startDbSystem.");
|
|
2200
2112
|
const operationName = "startDbSystem";
|
|
2201
2113
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/DbSystem/StartDbSystem";
|
|
2202
2114
|
const pathParams = {
|
|
@@ -2211,8 +2123,6 @@ class DbSystemClient {
|
|
|
2211
2123
|
};
|
|
2212
2124
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2213
2125
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, startDbSystemRequest.retryConfiguration, specRetryConfiguration);
|
|
2214
|
-
if (this.logger)
|
|
2215
|
-
retrier.logger = this.logger;
|
|
2216
2126
|
const request = yield oci_common_2.composeRequest({
|
|
2217
2127
|
baseEndpoint: this._endpoint,
|
|
2218
2128
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2252,12 +2162,11 @@ class DbSystemClient {
|
|
|
2252
2162
|
* @param StartHeatWaveClusterRequest
|
|
2253
2163
|
* @return StartHeatWaveClusterResponse
|
|
2254
2164
|
* @throws OciError when an error occurs
|
|
2255
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
2165
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/mysql/StartHeatWaveCluster.ts.html |here} to see how to use StartHeatWaveCluster API.
|
|
2256
2166
|
*/
|
|
2257
2167
|
startHeatWaveCluster(startHeatWaveClusterRequest) {
|
|
2258
2168
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2259
|
-
|
|
2260
|
-
this.logger.debug("Calling operation DbSystemClient#startHeatWaveCluster.");
|
|
2169
|
+
oci_common_2.logger.debug("Calling operation DbSystemClient#startHeatWaveCluster.");
|
|
2261
2170
|
const operationName = "startHeatWaveCluster";
|
|
2262
2171
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/HeatWaveCluster/StartHeatWaveCluster";
|
|
2263
2172
|
const pathParams = {
|
|
@@ -2272,8 +2181,6 @@ class DbSystemClient {
|
|
|
2272
2181
|
};
|
|
2273
2182
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2274
2183
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, startHeatWaveClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
2275
|
-
if (this.logger)
|
|
2276
|
-
retrier.logger = this.logger;
|
|
2277
2184
|
const request = yield oci_common_2.composeRequest({
|
|
2278
2185
|
baseEndpoint: this._endpoint,
|
|
2279
2186
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2316,12 +2223,11 @@ class DbSystemClient {
|
|
|
2316
2223
|
* @param StopDbSystemRequest
|
|
2317
2224
|
* @return StopDbSystemResponse
|
|
2318
2225
|
* @throws OciError when an error occurs
|
|
2319
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
2226
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/mysql/StopDbSystem.ts.html |here} to see how to use StopDbSystem API.
|
|
2320
2227
|
*/
|
|
2321
2228
|
stopDbSystem(stopDbSystemRequest) {
|
|
2322
2229
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2323
|
-
|
|
2324
|
-
this.logger.debug("Calling operation DbSystemClient#stopDbSystem.");
|
|
2230
|
+
oci_common_2.logger.debug("Calling operation DbSystemClient#stopDbSystem.");
|
|
2325
2231
|
const operationName = "stopDbSystem";
|
|
2326
2232
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/DbSystem/StopDbSystem";
|
|
2327
2233
|
const pathParams = {
|
|
@@ -2336,8 +2242,6 @@ class DbSystemClient {
|
|
|
2336
2242
|
};
|
|
2337
2243
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2338
2244
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, stopDbSystemRequest.retryConfiguration, specRetryConfiguration);
|
|
2339
|
-
if (this.logger)
|
|
2340
|
-
retrier.logger = this.logger;
|
|
2341
2245
|
const request = yield oci_common_2.composeRequest({
|
|
2342
2246
|
baseEndpoint: this._endpoint,
|
|
2343
2247
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2378,12 +2282,11 @@ class DbSystemClient {
|
|
|
2378
2282
|
* @param StopHeatWaveClusterRequest
|
|
2379
2283
|
* @return StopHeatWaveClusterResponse
|
|
2380
2284
|
* @throws OciError when an error occurs
|
|
2381
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
2285
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/mysql/StopHeatWaveCluster.ts.html |here} to see how to use StopHeatWaveCluster API.
|
|
2382
2286
|
*/
|
|
2383
2287
|
stopHeatWaveCluster(stopHeatWaveClusterRequest) {
|
|
2384
2288
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2385
|
-
|
|
2386
|
-
this.logger.debug("Calling operation DbSystemClient#stopHeatWaveCluster.");
|
|
2289
|
+
oci_common_2.logger.debug("Calling operation DbSystemClient#stopHeatWaveCluster.");
|
|
2387
2290
|
const operationName = "stopHeatWaveCluster";
|
|
2388
2291
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/HeatWaveCluster/StopHeatWaveCluster";
|
|
2389
2292
|
const pathParams = {
|
|
@@ -2398,8 +2301,6 @@ class DbSystemClient {
|
|
|
2398
2301
|
};
|
|
2399
2302
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2400
2303
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, stopHeatWaveClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
2401
|
-
if (this.logger)
|
|
2402
|
-
retrier.logger = this.logger;
|
|
2403
2304
|
const request = yield oci_common_2.composeRequest({
|
|
2404
2305
|
baseEndpoint: this._endpoint,
|
|
2405
2306
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2447,12 +2348,11 @@ class DbSystemClient {
|
|
|
2447
2348
|
* @param UpdateDbSystemRequest
|
|
2448
2349
|
* @return UpdateDbSystemResponse
|
|
2449
2350
|
* @throws OciError when an error occurs
|
|
2450
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
2351
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/mysql/UpdateDbSystem.ts.html |here} to see how to use UpdateDbSystem API.
|
|
2451
2352
|
*/
|
|
2452
2353
|
updateDbSystem(updateDbSystemRequest) {
|
|
2453
2354
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2454
|
-
|
|
2455
|
-
this.logger.debug("Calling operation DbSystemClient#updateDbSystem.");
|
|
2355
|
+
oci_common_2.logger.debug("Calling operation DbSystemClient#updateDbSystem.");
|
|
2456
2356
|
const operationName = "updateDbSystem";
|
|
2457
2357
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/DbSystem/UpdateDbSystem";
|
|
2458
2358
|
const pathParams = {
|
|
@@ -2466,8 +2366,6 @@ class DbSystemClient {
|
|
|
2466
2366
|
};
|
|
2467
2367
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2468
2368
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDbSystemRequest.retryConfiguration, specRetryConfiguration);
|
|
2469
|
-
if (this.logger)
|
|
2470
|
-
retrier.logger = this.logger;
|
|
2471
2369
|
const request = yield oci_common_2.composeRequest({
|
|
2472
2370
|
baseEndpoint: this._endpoint,
|
|
2473
2371
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2509,12 +2407,11 @@ class DbSystemClient {
|
|
|
2509
2407
|
* @param UpdateHeatWaveClusterRequest
|
|
2510
2408
|
* @return UpdateHeatWaveClusterResponse
|
|
2511
2409
|
* @throws OciError when an error occurs
|
|
2512
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
2410
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/mysql/UpdateHeatWaveCluster.ts.html |here} to see how to use UpdateHeatWaveCluster API.
|
|
2513
2411
|
*/
|
|
2514
2412
|
updateHeatWaveCluster(updateHeatWaveClusterRequest) {
|
|
2515
2413
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2516
|
-
|
|
2517
|
-
this.logger.debug("Calling operation DbSystemClient#updateHeatWaveCluster.");
|
|
2414
|
+
oci_common_2.logger.debug("Calling operation DbSystemClient#updateHeatWaveCluster.");
|
|
2518
2415
|
const operationName = "updateHeatWaveCluster";
|
|
2519
2416
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/HeatWaveCluster/UpdateHeatWaveCluster";
|
|
2520
2417
|
const pathParams = {
|
|
@@ -2528,8 +2425,6 @@ class DbSystemClient {
|
|
|
2528
2425
|
};
|
|
2529
2426
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2530
2427
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateHeatWaveClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
2531
|
-
if (this.logger)
|
|
2532
|
-
retrier.logger = this.logger;
|
|
2533
2428
|
const request = yield oci_common_2.composeRequest({
|
|
2534
2429
|
baseEndpoint: this._endpoint,
|
|
2535
2430
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2635,11 +2530,7 @@ class MysqlaasClient {
|
|
|
2635
2530
|
set endpoint(endpoint) {
|
|
2636
2531
|
this._endpoint = endpoint;
|
|
2637
2532
|
this._endpoint = this._endpoint + "/20190415";
|
|
2638
|
-
|
|
2639
|
-
this.logger.info(`MysqlaasClient endpoint set to ${this._endpoint}`);
|
|
2640
|
-
}
|
|
2641
|
-
get logger() {
|
|
2642
|
-
return common.LOG.logger;
|
|
2533
|
+
oci_common_2.logger.info(`MysqlaasClient endpoint set to ${this._endpoint}`);
|
|
2643
2534
|
}
|
|
2644
2535
|
/**
|
|
2645
2536
|
* Determines whether realm specific endpoint should be used or not.
|
|
@@ -2648,8 +2539,7 @@ class MysqlaasClient {
|
|
|
2648
2539
|
*/
|
|
2649
2540
|
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
2650
2541
|
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
2651
|
-
|
|
2652
|
-
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
2542
|
+
oci_common_2.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
2653
2543
|
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
2654
2544
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(MysqlaasClient.serviceEndpointTemplate, this._region, MysqlaasClient.endpointServiceName);
|
|
2655
2545
|
}
|
|
@@ -2715,12 +2605,11 @@ class MysqlaasClient {
|
|
|
2715
2605
|
* @param CreateConfigurationRequest
|
|
2716
2606
|
* @return CreateConfigurationResponse
|
|
2717
2607
|
* @throws OciError when an error occurs
|
|
2718
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
2608
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/mysql/CreateConfiguration.ts.html |here} to see how to use CreateConfiguration API.
|
|
2719
2609
|
*/
|
|
2720
2610
|
createConfiguration(createConfigurationRequest) {
|
|
2721
2611
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2722
|
-
|
|
2723
|
-
this.logger.debug("Calling operation MysqlaasClient#createConfiguration.");
|
|
2612
|
+
oci_common_2.logger.debug("Calling operation MysqlaasClient#createConfiguration.");
|
|
2724
2613
|
const operationName = "createConfiguration";
|
|
2725
2614
|
const apiReferenceLink = "";
|
|
2726
2615
|
const pathParams = {};
|
|
@@ -2732,8 +2621,6 @@ class MysqlaasClient {
|
|
|
2732
2621
|
};
|
|
2733
2622
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2734
2623
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
2735
|
-
if (this.logger)
|
|
2736
|
-
retrier.logger = this.logger;
|
|
2737
2624
|
const request = yield oci_common_2.composeRequest({
|
|
2738
2625
|
baseEndpoint: this._endpoint,
|
|
2739
2626
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2790,12 +2677,11 @@ class MysqlaasClient {
|
|
|
2790
2677
|
* @param DeleteConfigurationRequest
|
|
2791
2678
|
* @return DeleteConfigurationResponse
|
|
2792
2679
|
* @throws OciError when an error occurs
|
|
2793
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
2680
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/mysql/DeleteConfiguration.ts.html |here} to see how to use DeleteConfiguration API.
|
|
2794
2681
|
*/
|
|
2795
2682
|
deleteConfiguration(deleteConfigurationRequest) {
|
|
2796
2683
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2797
|
-
|
|
2798
|
-
this.logger.debug("Calling operation MysqlaasClient#deleteConfiguration.");
|
|
2684
|
+
oci_common_2.logger.debug("Calling operation MysqlaasClient#deleteConfiguration.");
|
|
2799
2685
|
const operationName = "deleteConfiguration";
|
|
2800
2686
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/Configuration/DeleteConfiguration";
|
|
2801
2687
|
const pathParams = {
|
|
@@ -2809,8 +2695,6 @@ class MysqlaasClient {
|
|
|
2809
2695
|
};
|
|
2810
2696
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2811
2697
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
2812
|
-
if (this.logger)
|
|
2813
|
-
retrier.logger = this.logger;
|
|
2814
2698
|
const request = yield oci_common_2.composeRequest({
|
|
2815
2699
|
baseEndpoint: this._endpoint,
|
|
2816
2700
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2846,12 +2730,11 @@ class MysqlaasClient {
|
|
|
2846
2730
|
* @param GetConfigurationRequest
|
|
2847
2731
|
* @return GetConfigurationResponse
|
|
2848
2732
|
* @throws OciError when an error occurs
|
|
2849
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
2733
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/mysql/GetConfiguration.ts.html |here} to see how to use GetConfiguration API.
|
|
2850
2734
|
*/
|
|
2851
2735
|
getConfiguration(getConfigurationRequest) {
|
|
2852
2736
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2853
|
-
|
|
2854
|
-
this.logger.debug("Calling operation MysqlaasClient#getConfiguration.");
|
|
2737
|
+
oci_common_2.logger.debug("Calling operation MysqlaasClient#getConfiguration.");
|
|
2855
2738
|
const operationName = "getConfiguration";
|
|
2856
2739
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/Configuration/GetConfiguration";
|
|
2857
2740
|
const pathParams = {
|
|
@@ -2865,8 +2748,6 @@ class MysqlaasClient {
|
|
|
2865
2748
|
};
|
|
2866
2749
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2867
2750
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
2868
|
-
if (this.logger)
|
|
2869
|
-
retrier.logger = this.logger;
|
|
2870
2751
|
const request = yield oci_common_2.composeRequest({
|
|
2871
2752
|
baseEndpoint: this._endpoint,
|
|
2872
2753
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2918,12 +2799,11 @@ class MysqlaasClient {
|
|
|
2918
2799
|
* @param ListConfigurationsRequest
|
|
2919
2800
|
* @return ListConfigurationsResponse
|
|
2920
2801
|
* @throws OciError when an error occurs
|
|
2921
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
2802
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/mysql/ListConfigurations.ts.html |here} to see how to use ListConfigurations API.
|
|
2922
2803
|
*/
|
|
2923
2804
|
listConfigurations(listConfigurationsRequest) {
|
|
2924
2805
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2925
|
-
|
|
2926
|
-
this.logger.debug("Calling operation MysqlaasClient#listConfigurations.");
|
|
2806
|
+
oci_common_2.logger.debug("Calling operation MysqlaasClient#listConfigurations.");
|
|
2927
2807
|
const operationName = "listConfigurations";
|
|
2928
2808
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/ConfigurationSummary/ListConfigurations";
|
|
2929
2809
|
const pathParams = {};
|
|
@@ -2945,8 +2825,6 @@ class MysqlaasClient {
|
|
|
2945
2825
|
};
|
|
2946
2826
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2947
2827
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listConfigurationsRequest.retryConfiguration, specRetryConfiguration);
|
|
2948
|
-
if (this.logger)
|
|
2949
|
-
retrier.logger = this.logger;
|
|
2950
2828
|
const request = yield oci_common_2.composeRequest({
|
|
2951
2829
|
baseEndpoint: this._endpoint,
|
|
2952
2830
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3034,12 +2912,11 @@ class MysqlaasClient {
|
|
|
3034
2912
|
* @param ListShapesRequest
|
|
3035
2913
|
* @return ListShapesResponse
|
|
3036
2914
|
* @throws OciError when an error occurs
|
|
3037
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
2915
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/mysql/ListShapes.ts.html |here} to see how to use ListShapes API.
|
|
3038
2916
|
*/
|
|
3039
2917
|
listShapes(listShapesRequest) {
|
|
3040
2918
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3041
|
-
|
|
3042
|
-
this.logger.debug("Calling operation MysqlaasClient#listShapes.");
|
|
2919
|
+
oci_common_2.logger.debug("Calling operation MysqlaasClient#listShapes.");
|
|
3043
2920
|
const operationName = "listShapes";
|
|
3044
2921
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes";
|
|
3045
2922
|
const pathParams = {};
|
|
@@ -3055,8 +2932,6 @@ class MysqlaasClient {
|
|
|
3055
2932
|
};
|
|
3056
2933
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3057
2934
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listShapesRequest.retryConfiguration, specRetryConfiguration);
|
|
3058
|
-
if (this.logger)
|
|
3059
|
-
retrier.logger = this.logger;
|
|
3060
2935
|
const request = yield oci_common_2.composeRequest({
|
|
3061
2936
|
baseEndpoint: this._endpoint,
|
|
3062
2937
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3098,12 +2973,11 @@ class MysqlaasClient {
|
|
|
3098
2973
|
* @param ListVersionsRequest
|
|
3099
2974
|
* @return ListVersionsResponse
|
|
3100
2975
|
* @throws OciError when an error occurs
|
|
3101
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
2976
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/mysql/ListVersions.ts.html |here} to see how to use ListVersions API.
|
|
3102
2977
|
*/
|
|
3103
2978
|
listVersions(listVersionsRequest) {
|
|
3104
2979
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3105
|
-
|
|
3106
|
-
this.logger.debug("Calling operation MysqlaasClient#listVersions.");
|
|
2980
|
+
oci_common_2.logger.debug("Calling operation MysqlaasClient#listVersions.");
|
|
3107
2981
|
const operationName = "listVersions";
|
|
3108
2982
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/VersionSummary/ListVersions";
|
|
3109
2983
|
const pathParams = {};
|
|
@@ -3116,8 +2990,6 @@ class MysqlaasClient {
|
|
|
3116
2990
|
};
|
|
3117
2991
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3118
2992
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listVersionsRequest.retryConfiguration, specRetryConfiguration);
|
|
3119
|
-
if (this.logger)
|
|
3120
|
-
retrier.logger = this.logger;
|
|
3121
2993
|
const request = yield oci_common_2.composeRequest({
|
|
3122
2994
|
baseEndpoint: this._endpoint,
|
|
3123
2995
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3156,12 +3028,11 @@ class MysqlaasClient {
|
|
|
3156
3028
|
* @param UpdateConfigurationRequest
|
|
3157
3029
|
* @return UpdateConfigurationResponse
|
|
3158
3030
|
* @throws OciError when an error occurs
|
|
3159
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
3031
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/mysql/UpdateConfiguration.ts.html |here} to see how to use UpdateConfiguration API.
|
|
3160
3032
|
*/
|
|
3161
3033
|
updateConfiguration(updateConfigurationRequest) {
|
|
3162
3034
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3163
|
-
|
|
3164
|
-
this.logger.debug("Calling operation MysqlaasClient#updateConfiguration.");
|
|
3035
|
+
oci_common_2.logger.debug("Calling operation MysqlaasClient#updateConfiguration.");
|
|
3165
3036
|
const operationName = "updateConfiguration";
|
|
3166
3037
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/Configuration/UpdateConfiguration";
|
|
3167
3038
|
const pathParams = {
|
|
@@ -3175,8 +3046,6 @@ class MysqlaasClient {
|
|
|
3175
3046
|
};
|
|
3176
3047
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3177
3048
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
3178
|
-
if (this.logger)
|
|
3179
|
-
retrier.logger = this.logger;
|
|
3180
3049
|
const request = yield oci_common_2.composeRequest({
|
|
3181
3050
|
baseEndpoint: this._endpoint,
|
|
3182
3051
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3286,11 +3155,7 @@ class ReplicasClient {
|
|
|
3286
3155
|
set endpoint(endpoint) {
|
|
3287
3156
|
this._endpoint = endpoint;
|
|
3288
3157
|
this._endpoint = this._endpoint + "/20190415";
|
|
3289
|
-
|
|
3290
|
-
this.logger.info(`ReplicasClient endpoint set to ${this._endpoint}`);
|
|
3291
|
-
}
|
|
3292
|
-
get logger() {
|
|
3293
|
-
return common.LOG.logger;
|
|
3158
|
+
oci_common_2.logger.info(`ReplicasClient endpoint set to ${this._endpoint}`);
|
|
3294
3159
|
}
|
|
3295
3160
|
/**
|
|
3296
3161
|
* Determines whether realm specific endpoint should be used or not.
|
|
@@ -3299,8 +3164,7 @@ class ReplicasClient {
|
|
|
3299
3164
|
*/
|
|
3300
3165
|
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
3301
3166
|
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
3302
|
-
|
|
3303
|
-
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
3167
|
+
oci_common_2.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
3304
3168
|
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
3305
3169
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(ReplicasClient.serviceEndpointTemplate, this._region, ReplicasClient.endpointServiceName);
|
|
3306
3170
|
}
|
|
@@ -3366,12 +3230,11 @@ class ReplicasClient {
|
|
|
3366
3230
|
* @param CreateReplicaRequest
|
|
3367
3231
|
* @return CreateReplicaResponse
|
|
3368
3232
|
* @throws OciError when an error occurs
|
|
3369
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
3233
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/mysql/CreateReplica.ts.html |here} to see how to use CreateReplica API.
|
|
3370
3234
|
*/
|
|
3371
3235
|
createReplica(createReplicaRequest) {
|
|
3372
3236
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3373
|
-
|
|
3374
|
-
this.logger.debug("Calling operation ReplicasClient#createReplica.");
|
|
3237
|
+
oci_common_2.logger.debug("Calling operation ReplicasClient#createReplica.");
|
|
3375
3238
|
const operationName = "createReplica";
|
|
3376
3239
|
const apiReferenceLink = "";
|
|
3377
3240
|
const pathParams = {};
|
|
@@ -3383,8 +3246,6 @@ class ReplicasClient {
|
|
|
3383
3246
|
};
|
|
3384
3247
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3385
3248
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createReplicaRequest.retryConfiguration, specRetryConfiguration);
|
|
3386
|
-
if (this.logger)
|
|
3387
|
-
retrier.logger = this.logger;
|
|
3388
3249
|
const request = yield oci_common_2.composeRequest({
|
|
3389
3250
|
baseEndpoint: this._endpoint,
|
|
3390
3251
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3439,12 +3300,11 @@ class ReplicasClient {
|
|
|
3439
3300
|
* @param DeleteReplicaRequest
|
|
3440
3301
|
* @return DeleteReplicaResponse
|
|
3441
3302
|
* @throws OciError when an error occurs
|
|
3442
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
3303
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/mysql/DeleteReplica.ts.html |here} to see how to use DeleteReplica API.
|
|
3443
3304
|
*/
|
|
3444
3305
|
deleteReplica(deleteReplicaRequest) {
|
|
3445
3306
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3446
|
-
|
|
3447
|
-
this.logger.debug("Calling operation ReplicasClient#deleteReplica.");
|
|
3307
|
+
oci_common_2.logger.debug("Calling operation ReplicasClient#deleteReplica.");
|
|
3448
3308
|
const operationName = "deleteReplica";
|
|
3449
3309
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/Replica/DeleteReplica";
|
|
3450
3310
|
const pathParams = {
|
|
@@ -3458,8 +3318,6 @@ class ReplicasClient {
|
|
|
3458
3318
|
};
|
|
3459
3319
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3460
3320
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteReplicaRequest.retryConfiguration, specRetryConfiguration);
|
|
3461
|
-
if (this.logger)
|
|
3462
|
-
retrier.logger = this.logger;
|
|
3463
3321
|
const request = yield oci_common_2.composeRequest({
|
|
3464
3322
|
baseEndpoint: this._endpoint,
|
|
3465
3323
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3499,12 +3357,11 @@ class ReplicasClient {
|
|
|
3499
3357
|
* @param GetReplicaRequest
|
|
3500
3358
|
* @return GetReplicaResponse
|
|
3501
3359
|
* @throws OciError when an error occurs
|
|
3502
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
3360
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/mysql/GetReplica.ts.html |here} to see how to use GetReplica API.
|
|
3503
3361
|
*/
|
|
3504
3362
|
getReplica(getReplicaRequest) {
|
|
3505
3363
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3506
|
-
|
|
3507
|
-
this.logger.debug("Calling operation ReplicasClient#getReplica.");
|
|
3364
|
+
oci_common_2.logger.debug("Calling operation ReplicasClient#getReplica.");
|
|
3508
3365
|
const operationName = "getReplica";
|
|
3509
3366
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/Replica/GetReplica";
|
|
3510
3367
|
const pathParams = {
|
|
@@ -3518,8 +3375,6 @@ class ReplicasClient {
|
|
|
3518
3375
|
};
|
|
3519
3376
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3520
3377
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getReplicaRequest.retryConfiguration, specRetryConfiguration);
|
|
3521
|
-
if (this.logger)
|
|
3522
|
-
retrier.logger = this.logger;
|
|
3523
3378
|
const request = yield oci_common_2.composeRequest({
|
|
3524
3379
|
baseEndpoint: this._endpoint,
|
|
3525
3380
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3563,12 +3418,11 @@ class ReplicasClient {
|
|
|
3563
3418
|
* @param ListReplicasRequest
|
|
3564
3419
|
* @return ListReplicasResponse
|
|
3565
3420
|
* @throws OciError when an error occurs
|
|
3566
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
3421
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/mysql/ListReplicas.ts.html |here} to see how to use ListReplicas API.
|
|
3567
3422
|
*/
|
|
3568
3423
|
listReplicas(listReplicasRequest) {
|
|
3569
3424
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3570
|
-
|
|
3571
|
-
this.logger.debug("Calling operation ReplicasClient#listReplicas.");
|
|
3425
|
+
oci_common_2.logger.debug("Calling operation ReplicasClient#listReplicas.");
|
|
3572
3426
|
const operationName = "listReplicas";
|
|
3573
3427
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/ReplicaSummary/ListReplicas";
|
|
3574
3428
|
const pathParams = {};
|
|
@@ -3591,8 +3445,6 @@ class ReplicasClient {
|
|
|
3591
3445
|
};
|
|
3592
3446
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3593
3447
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listReplicasRequest.retryConfiguration, specRetryConfiguration);
|
|
3594
|
-
if (this.logger)
|
|
3595
|
-
retrier.logger = this.logger;
|
|
3596
3448
|
const request = yield oci_common_2.composeRequest({
|
|
3597
3449
|
baseEndpoint: this._endpoint,
|
|
3598
3450
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3676,12 +3528,11 @@ class ReplicasClient {
|
|
|
3676
3528
|
* @param UpdateReplicaRequest
|
|
3677
3529
|
* @return UpdateReplicaResponse
|
|
3678
3530
|
* @throws OciError when an error occurs
|
|
3679
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
3531
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/mysql/UpdateReplica.ts.html |here} to see how to use UpdateReplica API.
|
|
3680
3532
|
*/
|
|
3681
3533
|
updateReplica(updateReplicaRequest) {
|
|
3682
3534
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3683
|
-
|
|
3684
|
-
this.logger.debug("Calling operation ReplicasClient#updateReplica.");
|
|
3535
|
+
oci_common_2.logger.debug("Calling operation ReplicasClient#updateReplica.");
|
|
3685
3536
|
const operationName = "updateReplica";
|
|
3686
3537
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/Replica/UpdateReplica";
|
|
3687
3538
|
const pathParams = {
|
|
@@ -3695,8 +3546,6 @@ class ReplicasClient {
|
|
|
3695
3546
|
};
|
|
3696
3547
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3697
3548
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateReplicaRequest.retryConfiguration, specRetryConfiguration);
|
|
3698
|
-
if (this.logger)
|
|
3699
|
-
retrier.logger = this.logger;
|
|
3700
3549
|
const request = yield oci_common_2.composeRequest({
|
|
3701
3550
|
baseEndpoint: this._endpoint,
|
|
3702
3551
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3802,11 +3651,7 @@ class WorkRequestsClient {
|
|
|
3802
3651
|
set endpoint(endpoint) {
|
|
3803
3652
|
this._endpoint = endpoint;
|
|
3804
3653
|
this._endpoint = this._endpoint + "/20190415";
|
|
3805
|
-
|
|
3806
|
-
this.logger.info(`WorkRequestsClient endpoint set to ${this._endpoint}`);
|
|
3807
|
-
}
|
|
3808
|
-
get logger() {
|
|
3809
|
-
return common.LOG.logger;
|
|
3654
|
+
oci_common_2.logger.info(`WorkRequestsClient endpoint set to ${this._endpoint}`);
|
|
3810
3655
|
}
|
|
3811
3656
|
/**
|
|
3812
3657
|
* Determines whether realm specific endpoint should be used or not.
|
|
@@ -3815,8 +3660,7 @@ class WorkRequestsClient {
|
|
|
3815
3660
|
*/
|
|
3816
3661
|
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
3817
3662
|
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
3818
|
-
|
|
3819
|
-
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
3663
|
+
oci_common_2.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
3820
3664
|
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
3821
3665
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(WorkRequestsClient.serviceEndpointTemplate, this._region, WorkRequestsClient.endpointServiceName);
|
|
3822
3666
|
}
|
|
@@ -3882,12 +3726,11 @@ class WorkRequestsClient {
|
|
|
3882
3726
|
* @param GetWorkRequestRequest
|
|
3883
3727
|
* @return GetWorkRequestResponse
|
|
3884
3728
|
* @throws OciError when an error occurs
|
|
3885
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
3729
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/mysql/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
3886
3730
|
*/
|
|
3887
3731
|
getWorkRequest(getWorkRequestRequest) {
|
|
3888
3732
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3889
|
-
|
|
3890
|
-
this.logger.debug("Calling operation WorkRequestsClient#getWorkRequest.");
|
|
3733
|
+
oci_common_2.logger.debug("Calling operation WorkRequestsClient#getWorkRequest.");
|
|
3891
3734
|
const operationName = "getWorkRequest";
|
|
3892
3735
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/WorkRequest/GetWorkRequest";
|
|
3893
3736
|
const pathParams = {
|
|
@@ -3901,8 +3744,6 @@ class WorkRequestsClient {
|
|
|
3901
3744
|
};
|
|
3902
3745
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3903
3746
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
3904
|
-
if (this.logger)
|
|
3905
|
-
retrier.logger = this.logger;
|
|
3906
3747
|
const request = yield oci_common_2.composeRequest({
|
|
3907
3748
|
baseEndpoint: this._endpoint,
|
|
3908
3749
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3952,12 +3793,11 @@ class WorkRequestsClient {
|
|
|
3952
3793
|
* @param ListWorkRequestErrorsRequest
|
|
3953
3794
|
* @return ListWorkRequestErrorsResponse
|
|
3954
3795
|
* @throws OciError when an error occurs
|
|
3955
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
3796
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/mysql/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
3956
3797
|
*/
|
|
3957
3798
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
3958
3799
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3959
|
-
|
|
3960
|
-
this.logger.debug("Calling operation WorkRequestsClient#listWorkRequestErrors.");
|
|
3800
|
+
oci_common_2.logger.debug("Calling operation WorkRequestsClient#listWorkRequestErrors.");
|
|
3961
3801
|
const operationName = "listWorkRequestErrors";
|
|
3962
3802
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/WorkRequestError/ListWorkRequestErrors";
|
|
3963
3803
|
const pathParams = {
|
|
@@ -3973,8 +3813,6 @@ class WorkRequestsClient {
|
|
|
3973
3813
|
};
|
|
3974
3814
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3975
3815
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
3976
|
-
if (this.logger)
|
|
3977
|
-
retrier.logger = this.logger;
|
|
3978
3816
|
const request = yield oci_common_2.composeRequest({
|
|
3979
3817
|
baseEndpoint: this._endpoint,
|
|
3980
3818
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -4059,12 +3897,11 @@ class WorkRequestsClient {
|
|
|
4059
3897
|
* @param ListWorkRequestLogsRequest
|
|
4060
3898
|
* @return ListWorkRequestLogsResponse
|
|
4061
3899
|
* @throws OciError when an error occurs
|
|
4062
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
3900
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/mysql/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
4063
3901
|
*/
|
|
4064
3902
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
4065
3903
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4066
|
-
|
|
4067
|
-
this.logger.debug("Calling operation WorkRequestsClient#listWorkRequestLogs.");
|
|
3904
|
+
oci_common_2.logger.debug("Calling operation WorkRequestsClient#listWorkRequestLogs.");
|
|
4068
3905
|
const operationName = "listWorkRequestLogs";
|
|
4069
3906
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/WorkRequestLogEntry/ListWorkRequestLogs";
|
|
4070
3907
|
const pathParams = {
|
|
@@ -4080,8 +3917,6 @@ class WorkRequestsClient {
|
|
|
4080
3917
|
};
|
|
4081
3918
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
4082
3919
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
4083
|
-
if (this.logger)
|
|
4084
|
-
retrier.logger = this.logger;
|
|
4085
3920
|
const request = yield oci_common_2.composeRequest({
|
|
4086
3921
|
baseEndpoint: this._endpoint,
|
|
4087
3922
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -4166,12 +4001,11 @@ class WorkRequestsClient {
|
|
|
4166
4001
|
* @param ListWorkRequestsRequest
|
|
4167
4002
|
* @return ListWorkRequestsResponse
|
|
4168
4003
|
* @throws OciError when an error occurs
|
|
4169
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
4004
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/mysql/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
4170
4005
|
*/
|
|
4171
4006
|
listWorkRequests(listWorkRequestsRequest) {
|
|
4172
4007
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4173
|
-
|
|
4174
|
-
this.logger.debug("Calling operation WorkRequestsClient#listWorkRequests.");
|
|
4008
|
+
oci_common_2.logger.debug("Calling operation WorkRequestsClient#listWorkRequests.");
|
|
4175
4009
|
const operationName = "listWorkRequests";
|
|
4176
4010
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/WorkRequestSummary/ListWorkRequests";
|
|
4177
4011
|
const pathParams = {};
|
|
@@ -4188,8 +4022,6 @@ class WorkRequestsClient {
|
|
|
4188
4022
|
};
|
|
4189
4023
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
4190
4024
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
4191
|
-
if (this.logger)
|
|
4192
|
-
retrier.logger = this.logger;
|
|
4193
4025
|
const request = yield oci_common_2.composeRequest({
|
|
4194
4026
|
baseEndpoint: this._endpoint,
|
|
4195
4027
|
defaultHeaders: this._defaultHeaders,
|