qovery-typescript-axios 1.1.73 → 1.1.75
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/api.ts +802 -79
- package/dist/api.d.ts +379 -37
- package/dist/api.js +689 -29
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -766,7 +766,71 @@ const ApplicationActionsApiAxiosParamCreator = function (configuration) {
|
|
|
766
766
|
}),
|
|
767
767
|
/**
|
|
768
768
|
*
|
|
769
|
-
* @summary
|
|
769
|
+
* @summary Reboot application
|
|
770
|
+
* @param {string} applicationId Application ID
|
|
771
|
+
* @param {*} [options] Override http request option.
|
|
772
|
+
* @throws {RequiredError}
|
|
773
|
+
*/
|
|
774
|
+
rebootApplication: (applicationId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
775
|
+
// verify required parameter 'applicationId' is not null or undefined
|
|
776
|
+
(0, common_1.assertParamExists)('rebootApplication', 'applicationId', applicationId);
|
|
777
|
+
const localVarPath = `/application/{applicationId}/restart-service`
|
|
778
|
+
.replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)));
|
|
779
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
780
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
781
|
+
let baseOptions;
|
|
782
|
+
if (configuration) {
|
|
783
|
+
baseOptions = configuration.baseOptions;
|
|
784
|
+
}
|
|
785
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
786
|
+
const localVarHeaderParameter = {};
|
|
787
|
+
const localVarQueryParameter = {};
|
|
788
|
+
// authentication bearerAuth required
|
|
789
|
+
// http bearer authentication required
|
|
790
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
791
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
792
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
793
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
794
|
+
return {
|
|
795
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
796
|
+
options: localVarRequestOptions,
|
|
797
|
+
};
|
|
798
|
+
}),
|
|
799
|
+
/**
|
|
800
|
+
*
|
|
801
|
+
* @summary Redeploy application
|
|
802
|
+
* @param {string} applicationId Application ID
|
|
803
|
+
* @param {*} [options] Override http request option.
|
|
804
|
+
* @throws {RequiredError}
|
|
805
|
+
*/
|
|
806
|
+
redeployApplication: (applicationId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
807
|
+
// verify required parameter 'applicationId' is not null or undefined
|
|
808
|
+
(0, common_1.assertParamExists)('redeployApplication', 'applicationId', applicationId);
|
|
809
|
+
const localVarPath = `/application/{applicationId}/redeploy`
|
|
810
|
+
.replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)));
|
|
811
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
812
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
813
|
+
let baseOptions;
|
|
814
|
+
if (configuration) {
|
|
815
|
+
baseOptions = configuration.baseOptions;
|
|
816
|
+
}
|
|
817
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
818
|
+
const localVarHeaderParameter = {};
|
|
819
|
+
const localVarQueryParameter = {};
|
|
820
|
+
// authentication bearerAuth required
|
|
821
|
+
// http bearer authentication required
|
|
822
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
823
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
824
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
825
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
826
|
+
return {
|
|
827
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
828
|
+
options: localVarRequestOptions,
|
|
829
|
+
};
|
|
830
|
+
}),
|
|
831
|
+
/**
|
|
832
|
+
* **Deprecated** - Please use the \"Redeploy application\" endpoint now
|
|
833
|
+
* @summary Deprecated - Restart application
|
|
770
834
|
* @param {string} applicationId Application ID
|
|
771
835
|
* @param {*} [options] Override http request option.
|
|
772
836
|
* @throws {RequiredError}
|
|
@@ -854,7 +918,33 @@ const ApplicationActionsApiFp = function (configuration) {
|
|
|
854
918
|
},
|
|
855
919
|
/**
|
|
856
920
|
*
|
|
857
|
-
* @summary
|
|
921
|
+
* @summary Reboot application
|
|
922
|
+
* @param {string} applicationId Application ID
|
|
923
|
+
* @param {*} [options] Override http request option.
|
|
924
|
+
* @throws {RequiredError}
|
|
925
|
+
*/
|
|
926
|
+
rebootApplication(applicationId, options) {
|
|
927
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
928
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.rebootApplication(applicationId, options);
|
|
929
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
930
|
+
});
|
|
931
|
+
},
|
|
932
|
+
/**
|
|
933
|
+
*
|
|
934
|
+
* @summary Redeploy application
|
|
935
|
+
* @param {string} applicationId Application ID
|
|
936
|
+
* @param {*} [options] Override http request option.
|
|
937
|
+
* @throws {RequiredError}
|
|
938
|
+
*/
|
|
939
|
+
redeployApplication(applicationId, options) {
|
|
940
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
941
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.redeployApplication(applicationId, options);
|
|
942
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
943
|
+
});
|
|
944
|
+
},
|
|
945
|
+
/**
|
|
946
|
+
* **Deprecated** - Please use the \"Redeploy application\" endpoint now
|
|
947
|
+
* @summary Deprecated - Restart application
|
|
858
948
|
* @param {string} applicationId Application ID
|
|
859
949
|
* @param {*} [options] Override http request option.
|
|
860
950
|
* @throws {RequiredError}
|
|
@@ -901,7 +991,27 @@ const ApplicationActionsApiFactory = function (configuration, basePath, axios) {
|
|
|
901
991
|
},
|
|
902
992
|
/**
|
|
903
993
|
*
|
|
904
|
-
* @summary
|
|
994
|
+
* @summary Reboot application
|
|
995
|
+
* @param {string} applicationId Application ID
|
|
996
|
+
* @param {*} [options] Override http request option.
|
|
997
|
+
* @throws {RequiredError}
|
|
998
|
+
*/
|
|
999
|
+
rebootApplication(applicationId, options) {
|
|
1000
|
+
return localVarFp.rebootApplication(applicationId, options).then((request) => request(axios, basePath));
|
|
1001
|
+
},
|
|
1002
|
+
/**
|
|
1003
|
+
*
|
|
1004
|
+
* @summary Redeploy application
|
|
1005
|
+
* @param {string} applicationId Application ID
|
|
1006
|
+
* @param {*} [options] Override http request option.
|
|
1007
|
+
* @throws {RequiredError}
|
|
1008
|
+
*/
|
|
1009
|
+
redeployApplication(applicationId, options) {
|
|
1010
|
+
return localVarFp.redeployApplication(applicationId, options).then((request) => request(axios, basePath));
|
|
1011
|
+
},
|
|
1012
|
+
/**
|
|
1013
|
+
* **Deprecated** - Please use the \"Redeploy application\" endpoint now
|
|
1014
|
+
* @summary Deprecated - Restart application
|
|
905
1015
|
* @param {string} applicationId Application ID
|
|
906
1016
|
* @param {*} [options] Override http request option.
|
|
907
1017
|
* @throws {RequiredError}
|
|
@@ -943,7 +1053,29 @@ class ApplicationActionsApi extends base_1.BaseAPI {
|
|
|
943
1053
|
}
|
|
944
1054
|
/**
|
|
945
1055
|
*
|
|
946
|
-
* @summary
|
|
1056
|
+
* @summary Reboot application
|
|
1057
|
+
* @param {string} applicationId Application ID
|
|
1058
|
+
* @param {*} [options] Override http request option.
|
|
1059
|
+
* @throws {RequiredError}
|
|
1060
|
+
* @memberof ApplicationActionsApi
|
|
1061
|
+
*/
|
|
1062
|
+
rebootApplication(applicationId, options) {
|
|
1063
|
+
return (0, exports.ApplicationActionsApiFp)(this.configuration).rebootApplication(applicationId, options).then((request) => request(this.axios, this.basePath));
|
|
1064
|
+
}
|
|
1065
|
+
/**
|
|
1066
|
+
*
|
|
1067
|
+
* @summary Redeploy application
|
|
1068
|
+
* @param {string} applicationId Application ID
|
|
1069
|
+
* @param {*} [options] Override http request option.
|
|
1070
|
+
* @throws {RequiredError}
|
|
1071
|
+
* @memberof ApplicationActionsApi
|
|
1072
|
+
*/
|
|
1073
|
+
redeployApplication(applicationId, options) {
|
|
1074
|
+
return (0, exports.ApplicationActionsApiFp)(this.configuration).redeployApplication(applicationId, options).then((request) => request(this.axios, this.basePath));
|
|
1075
|
+
}
|
|
1076
|
+
/**
|
|
1077
|
+
* **Deprecated** - Please use the \"Redeploy application\" endpoint now
|
|
1078
|
+
* @summary Deprecated - Restart application
|
|
947
1079
|
* @param {string} applicationId Application ID
|
|
948
1080
|
* @param {*} [options] Override http request option.
|
|
949
1081
|
* @throws {RequiredError}
|
|
@@ -4385,6 +4517,34 @@ const ApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
4385
4517
|
options: localVarRequestOptions,
|
|
4386
4518
|
};
|
|
4387
4519
|
}),
|
|
4520
|
+
/**
|
|
4521
|
+
*
|
|
4522
|
+
* @summary List default cluster advanced settings
|
|
4523
|
+
* @param {*} [options] Override http request option.
|
|
4524
|
+
* @throws {RequiredError}
|
|
4525
|
+
*/
|
|
4526
|
+
getDefaultClusterAdvancedSettings: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4527
|
+
const localVarPath = `/defaultClusterAdvancedSettings`;
|
|
4528
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4529
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4530
|
+
let baseOptions;
|
|
4531
|
+
if (configuration) {
|
|
4532
|
+
baseOptions = configuration.baseOptions;
|
|
4533
|
+
}
|
|
4534
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
4535
|
+
const localVarHeaderParameter = {};
|
|
4536
|
+
const localVarQueryParameter = {};
|
|
4537
|
+
// authentication bearerAuth required
|
|
4538
|
+
// http bearer authentication required
|
|
4539
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
4540
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4541
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4542
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4543
|
+
return {
|
|
4544
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4545
|
+
options: localVarRequestOptions,
|
|
4546
|
+
};
|
|
4547
|
+
}),
|
|
4388
4548
|
/**
|
|
4389
4549
|
* Returns min, max, and running number of instances for each application
|
|
4390
4550
|
* @summary List current scaling information for each application
|
|
@@ -4581,6 +4741,18 @@ const ApplicationsApiFp = function (configuration) {
|
|
|
4581
4741
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
4582
4742
|
});
|
|
4583
4743
|
},
|
|
4744
|
+
/**
|
|
4745
|
+
*
|
|
4746
|
+
* @summary List default cluster advanced settings
|
|
4747
|
+
* @param {*} [options] Override http request option.
|
|
4748
|
+
* @throws {RequiredError}
|
|
4749
|
+
*/
|
|
4750
|
+
getDefaultClusterAdvancedSettings(options) {
|
|
4751
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4752
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getDefaultClusterAdvancedSettings(options);
|
|
4753
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
4754
|
+
});
|
|
4755
|
+
},
|
|
4584
4756
|
/**
|
|
4585
4757
|
* Returns min, max, and running number of instances for each application
|
|
4586
4758
|
* @summary List current scaling information for each application
|
|
@@ -4676,6 +4848,15 @@ const ApplicationsApiFactory = function (configuration, basePath, axios) {
|
|
|
4676
4848
|
getDefaultApplicationAdvancedSettings(options) {
|
|
4677
4849
|
return localVarFp.getDefaultApplicationAdvancedSettings(options).then((request) => request(axios, basePath));
|
|
4678
4850
|
},
|
|
4851
|
+
/**
|
|
4852
|
+
*
|
|
4853
|
+
* @summary List default cluster advanced settings
|
|
4854
|
+
* @param {*} [options] Override http request option.
|
|
4855
|
+
* @throws {RequiredError}
|
|
4856
|
+
*/
|
|
4857
|
+
getDefaultClusterAdvancedSettings(options) {
|
|
4858
|
+
return localVarFp.getDefaultClusterAdvancedSettings(options).then((request) => request(axios, basePath));
|
|
4859
|
+
},
|
|
4679
4860
|
/**
|
|
4680
4861
|
* Returns min, max, and running number of instances for each application
|
|
4681
4862
|
* @summary List current scaling information for each application
|
|
@@ -4758,6 +4939,16 @@ class ApplicationsApi extends base_1.BaseAPI {
|
|
|
4758
4939
|
getDefaultApplicationAdvancedSettings(options) {
|
|
4759
4940
|
return (0, exports.ApplicationsApiFp)(this.configuration).getDefaultApplicationAdvancedSettings(options).then((request) => request(this.axios, this.basePath));
|
|
4760
4941
|
}
|
|
4942
|
+
/**
|
|
4943
|
+
*
|
|
4944
|
+
* @summary List default cluster advanced settings
|
|
4945
|
+
* @param {*} [options] Override http request option.
|
|
4946
|
+
* @throws {RequiredError}
|
|
4947
|
+
* @memberof ApplicationsApi
|
|
4948
|
+
*/
|
|
4949
|
+
getDefaultClusterAdvancedSettings(options) {
|
|
4950
|
+
return (0, exports.ApplicationsApiFp)(this.configuration).getDefaultClusterAdvancedSettings(options).then((request) => request(this.axios, this.basePath));
|
|
4951
|
+
}
|
|
4761
4952
|
/**
|
|
4762
4953
|
* Returns min, max, and running number of instances for each application
|
|
4763
4954
|
* @summary List current scaling information for each application
|
|
@@ -9362,7 +9553,71 @@ const ContainerActionsApiAxiosParamCreator = function (configuration) {
|
|
|
9362
9553
|
}),
|
|
9363
9554
|
/**
|
|
9364
9555
|
*
|
|
9365
|
-
* @summary
|
|
9556
|
+
* @summary Reboot container
|
|
9557
|
+
* @param {string} containerId Container ID
|
|
9558
|
+
* @param {*} [options] Override http request option.
|
|
9559
|
+
* @throws {RequiredError}
|
|
9560
|
+
*/
|
|
9561
|
+
rebootContainer: (containerId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
9562
|
+
// verify required parameter 'containerId' is not null or undefined
|
|
9563
|
+
(0, common_1.assertParamExists)('rebootContainer', 'containerId', containerId);
|
|
9564
|
+
const localVarPath = `/container/{containerId}/restart-service`
|
|
9565
|
+
.replace(`{${"containerId"}}`, encodeURIComponent(String(containerId)));
|
|
9566
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9567
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9568
|
+
let baseOptions;
|
|
9569
|
+
if (configuration) {
|
|
9570
|
+
baseOptions = configuration.baseOptions;
|
|
9571
|
+
}
|
|
9572
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
9573
|
+
const localVarHeaderParameter = {};
|
|
9574
|
+
const localVarQueryParameter = {};
|
|
9575
|
+
// authentication bearerAuth required
|
|
9576
|
+
// http bearer authentication required
|
|
9577
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
9578
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
9579
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9580
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
9581
|
+
return {
|
|
9582
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
9583
|
+
options: localVarRequestOptions,
|
|
9584
|
+
};
|
|
9585
|
+
}),
|
|
9586
|
+
/**
|
|
9587
|
+
*
|
|
9588
|
+
* @summary Redeploy container
|
|
9589
|
+
* @param {string} containerId Container ID
|
|
9590
|
+
* @param {*} [options] Override http request option.
|
|
9591
|
+
* @throws {RequiredError}
|
|
9592
|
+
*/
|
|
9593
|
+
redeployContainer: (containerId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
9594
|
+
// verify required parameter 'containerId' is not null or undefined
|
|
9595
|
+
(0, common_1.assertParamExists)('redeployContainer', 'containerId', containerId);
|
|
9596
|
+
const localVarPath = `/container/{containerId}/redeploy`
|
|
9597
|
+
.replace(`{${"containerId"}}`, encodeURIComponent(String(containerId)));
|
|
9598
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9599
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9600
|
+
let baseOptions;
|
|
9601
|
+
if (configuration) {
|
|
9602
|
+
baseOptions = configuration.baseOptions;
|
|
9603
|
+
}
|
|
9604
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
9605
|
+
const localVarHeaderParameter = {};
|
|
9606
|
+
const localVarQueryParameter = {};
|
|
9607
|
+
// authentication bearerAuth required
|
|
9608
|
+
// http bearer authentication required
|
|
9609
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
9610
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
9611
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9612
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
9613
|
+
return {
|
|
9614
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
9615
|
+
options: localVarRequestOptions,
|
|
9616
|
+
};
|
|
9617
|
+
}),
|
|
9618
|
+
/**
|
|
9619
|
+
* **Deprecated** - Please use the \"Redeploy container\" endpoint now
|
|
9620
|
+
* @summary Deprecated - Restart container
|
|
9366
9621
|
* @param {string} containerId Container ID
|
|
9367
9622
|
* @param {*} [options] Override http request option.
|
|
9368
9623
|
* @throws {RequiredError}
|
|
@@ -9450,7 +9705,33 @@ const ContainerActionsApiFp = function (configuration) {
|
|
|
9450
9705
|
},
|
|
9451
9706
|
/**
|
|
9452
9707
|
*
|
|
9453
|
-
* @summary
|
|
9708
|
+
* @summary Reboot container
|
|
9709
|
+
* @param {string} containerId Container ID
|
|
9710
|
+
* @param {*} [options] Override http request option.
|
|
9711
|
+
* @throws {RequiredError}
|
|
9712
|
+
*/
|
|
9713
|
+
rebootContainer(containerId, options) {
|
|
9714
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
9715
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.rebootContainer(containerId, options);
|
|
9716
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
9717
|
+
});
|
|
9718
|
+
},
|
|
9719
|
+
/**
|
|
9720
|
+
*
|
|
9721
|
+
* @summary Redeploy container
|
|
9722
|
+
* @param {string} containerId Container ID
|
|
9723
|
+
* @param {*} [options] Override http request option.
|
|
9724
|
+
* @throws {RequiredError}
|
|
9725
|
+
*/
|
|
9726
|
+
redeployContainer(containerId, options) {
|
|
9727
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
9728
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.redeployContainer(containerId, options);
|
|
9729
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
9730
|
+
});
|
|
9731
|
+
},
|
|
9732
|
+
/**
|
|
9733
|
+
* **Deprecated** - Please use the \"Redeploy container\" endpoint now
|
|
9734
|
+
* @summary Deprecated - Restart container
|
|
9454
9735
|
* @param {string} containerId Container ID
|
|
9455
9736
|
* @param {*} [options] Override http request option.
|
|
9456
9737
|
* @throws {RequiredError}
|
|
@@ -9497,7 +9778,27 @@ const ContainerActionsApiFactory = function (configuration, basePath, axios) {
|
|
|
9497
9778
|
},
|
|
9498
9779
|
/**
|
|
9499
9780
|
*
|
|
9500
|
-
* @summary
|
|
9781
|
+
* @summary Reboot container
|
|
9782
|
+
* @param {string} containerId Container ID
|
|
9783
|
+
* @param {*} [options] Override http request option.
|
|
9784
|
+
* @throws {RequiredError}
|
|
9785
|
+
*/
|
|
9786
|
+
rebootContainer(containerId, options) {
|
|
9787
|
+
return localVarFp.rebootContainer(containerId, options).then((request) => request(axios, basePath));
|
|
9788
|
+
},
|
|
9789
|
+
/**
|
|
9790
|
+
*
|
|
9791
|
+
* @summary Redeploy container
|
|
9792
|
+
* @param {string} containerId Container ID
|
|
9793
|
+
* @param {*} [options] Override http request option.
|
|
9794
|
+
* @throws {RequiredError}
|
|
9795
|
+
*/
|
|
9796
|
+
redeployContainer(containerId, options) {
|
|
9797
|
+
return localVarFp.redeployContainer(containerId, options).then((request) => request(axios, basePath));
|
|
9798
|
+
},
|
|
9799
|
+
/**
|
|
9800
|
+
* **Deprecated** - Please use the \"Redeploy container\" endpoint now
|
|
9801
|
+
* @summary Deprecated - Restart container
|
|
9501
9802
|
* @param {string} containerId Container ID
|
|
9502
9803
|
* @param {*} [options] Override http request option.
|
|
9503
9804
|
* @throws {RequiredError}
|
|
@@ -9539,7 +9840,29 @@ class ContainerActionsApi extends base_1.BaseAPI {
|
|
|
9539
9840
|
}
|
|
9540
9841
|
/**
|
|
9541
9842
|
*
|
|
9542
|
-
* @summary
|
|
9843
|
+
* @summary Reboot container
|
|
9844
|
+
* @param {string} containerId Container ID
|
|
9845
|
+
* @param {*} [options] Override http request option.
|
|
9846
|
+
* @throws {RequiredError}
|
|
9847
|
+
* @memberof ContainerActionsApi
|
|
9848
|
+
*/
|
|
9849
|
+
rebootContainer(containerId, options) {
|
|
9850
|
+
return (0, exports.ContainerActionsApiFp)(this.configuration).rebootContainer(containerId, options).then((request) => request(this.axios, this.basePath));
|
|
9851
|
+
}
|
|
9852
|
+
/**
|
|
9853
|
+
*
|
|
9854
|
+
* @summary Redeploy container
|
|
9855
|
+
* @param {string} containerId Container ID
|
|
9856
|
+
* @param {*} [options] Override http request option.
|
|
9857
|
+
* @throws {RequiredError}
|
|
9858
|
+
* @memberof ContainerActionsApi
|
|
9859
|
+
*/
|
|
9860
|
+
redeployContainer(containerId, options) {
|
|
9861
|
+
return (0, exports.ContainerActionsApiFp)(this.configuration).redeployContainer(containerId, options).then((request) => request(this.axios, this.basePath));
|
|
9862
|
+
}
|
|
9863
|
+
/**
|
|
9864
|
+
* **Deprecated** - Please use the \"Redeploy container\" endpoint now
|
|
9865
|
+
* @summary Deprecated - Restart container
|
|
9543
9866
|
* @param {string} containerId Container ID
|
|
9544
9867
|
* @param {*} [options] Override http request option.
|
|
9545
9868
|
* @throws {RequiredError}
|
|
@@ -13941,6 +14264,70 @@ const DatabaseActionsApiAxiosParamCreator = function (configuration) {
|
|
|
13941
14264
|
* @param {*} [options] Override http request option.
|
|
13942
14265
|
* @throws {RequiredError}
|
|
13943
14266
|
*/
|
|
14267
|
+
rebootDatabase: (databaseId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
14268
|
+
// verify required parameter 'databaseId' is not null or undefined
|
|
14269
|
+
(0, common_1.assertParamExists)('rebootDatabase', 'databaseId', databaseId);
|
|
14270
|
+
const localVarPath = `/database/{databaseId}/restart-service`
|
|
14271
|
+
.replace(`{${"databaseId"}}`, encodeURIComponent(String(databaseId)));
|
|
14272
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14273
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14274
|
+
let baseOptions;
|
|
14275
|
+
if (configuration) {
|
|
14276
|
+
baseOptions = configuration.baseOptions;
|
|
14277
|
+
}
|
|
14278
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
14279
|
+
const localVarHeaderParameter = {};
|
|
14280
|
+
const localVarQueryParameter = {};
|
|
14281
|
+
// authentication bearerAuth required
|
|
14282
|
+
// http bearer authentication required
|
|
14283
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
14284
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
14285
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14286
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14287
|
+
return {
|
|
14288
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
14289
|
+
options: localVarRequestOptions,
|
|
14290
|
+
};
|
|
14291
|
+
}),
|
|
14292
|
+
/**
|
|
14293
|
+
*
|
|
14294
|
+
* @summary Redeploy database
|
|
14295
|
+
* @param {string} databaseId Database ID
|
|
14296
|
+
* @param {*} [options] Override http request option.
|
|
14297
|
+
* @throws {RequiredError}
|
|
14298
|
+
*/
|
|
14299
|
+
redeployDatabase: (databaseId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
14300
|
+
// verify required parameter 'databaseId' is not null or undefined
|
|
14301
|
+
(0, common_1.assertParamExists)('redeployDatabase', 'databaseId', databaseId);
|
|
14302
|
+
const localVarPath = `/database/{databaseId}/redeploy`
|
|
14303
|
+
.replace(`{${"databaseId"}}`, encodeURIComponent(String(databaseId)));
|
|
14304
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14305
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14306
|
+
let baseOptions;
|
|
14307
|
+
if (configuration) {
|
|
14308
|
+
baseOptions = configuration.baseOptions;
|
|
14309
|
+
}
|
|
14310
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
14311
|
+
const localVarHeaderParameter = {};
|
|
14312
|
+
const localVarQueryParameter = {};
|
|
14313
|
+
// authentication bearerAuth required
|
|
14314
|
+
// http bearer authentication required
|
|
14315
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
14316
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
14317
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14318
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14319
|
+
return {
|
|
14320
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
14321
|
+
options: localVarRequestOptions,
|
|
14322
|
+
};
|
|
14323
|
+
}),
|
|
14324
|
+
/**
|
|
14325
|
+
* **Deprecated** - Please use the \"Redeploy database\" endpoint now
|
|
14326
|
+
* @summary Deprecated - Restart database
|
|
14327
|
+
* @param {string} databaseId Database ID
|
|
14328
|
+
* @param {*} [options] Override http request option.
|
|
14329
|
+
* @throws {RequiredError}
|
|
14330
|
+
*/
|
|
13944
14331
|
restartDatabase: (databaseId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
13945
14332
|
// verify required parameter 'databaseId' is not null or undefined
|
|
13946
14333
|
(0, common_1.assertParamExists)('restartDatabase', 'databaseId', databaseId);
|
|
@@ -14028,6 +14415,32 @@ const DatabaseActionsApiFp = function (configuration) {
|
|
|
14028
14415
|
* @param {*} [options] Override http request option.
|
|
14029
14416
|
* @throws {RequiredError}
|
|
14030
14417
|
*/
|
|
14418
|
+
rebootDatabase(databaseId, options) {
|
|
14419
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
14420
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.rebootDatabase(databaseId, options);
|
|
14421
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
14422
|
+
});
|
|
14423
|
+
},
|
|
14424
|
+
/**
|
|
14425
|
+
*
|
|
14426
|
+
* @summary Redeploy database
|
|
14427
|
+
* @param {string} databaseId Database ID
|
|
14428
|
+
* @param {*} [options] Override http request option.
|
|
14429
|
+
* @throws {RequiredError}
|
|
14430
|
+
*/
|
|
14431
|
+
redeployDatabase(databaseId, options) {
|
|
14432
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
14433
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.redeployDatabase(databaseId, options);
|
|
14434
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
14435
|
+
});
|
|
14436
|
+
},
|
|
14437
|
+
/**
|
|
14438
|
+
* **Deprecated** - Please use the \"Redeploy database\" endpoint now
|
|
14439
|
+
* @summary Deprecated - Restart database
|
|
14440
|
+
* @param {string} databaseId Database ID
|
|
14441
|
+
* @param {*} [options] Override http request option.
|
|
14442
|
+
* @throws {RequiredError}
|
|
14443
|
+
*/
|
|
14031
14444
|
restartDatabase(databaseId, options) {
|
|
14032
14445
|
return __awaiter(this, void 0, void 0, function* () {
|
|
14033
14446
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.restartDatabase(databaseId, options);
|
|
@@ -14074,6 +14487,26 @@ const DatabaseActionsApiFactory = function (configuration, basePath, axios) {
|
|
|
14074
14487
|
* @param {*} [options] Override http request option.
|
|
14075
14488
|
* @throws {RequiredError}
|
|
14076
14489
|
*/
|
|
14490
|
+
rebootDatabase(databaseId, options) {
|
|
14491
|
+
return localVarFp.rebootDatabase(databaseId, options).then((request) => request(axios, basePath));
|
|
14492
|
+
},
|
|
14493
|
+
/**
|
|
14494
|
+
*
|
|
14495
|
+
* @summary Redeploy database
|
|
14496
|
+
* @param {string} databaseId Database ID
|
|
14497
|
+
* @param {*} [options] Override http request option.
|
|
14498
|
+
* @throws {RequiredError}
|
|
14499
|
+
*/
|
|
14500
|
+
redeployDatabase(databaseId, options) {
|
|
14501
|
+
return localVarFp.redeployDatabase(databaseId, options).then((request) => request(axios, basePath));
|
|
14502
|
+
},
|
|
14503
|
+
/**
|
|
14504
|
+
* **Deprecated** - Please use the \"Redeploy database\" endpoint now
|
|
14505
|
+
* @summary Deprecated - Restart database
|
|
14506
|
+
* @param {string} databaseId Database ID
|
|
14507
|
+
* @param {*} [options] Override http request option.
|
|
14508
|
+
* @throws {RequiredError}
|
|
14509
|
+
*/
|
|
14077
14510
|
restartDatabase(databaseId, options) {
|
|
14078
14511
|
return localVarFp.restartDatabase(databaseId, options).then((request) => request(axios, basePath));
|
|
14079
14512
|
},
|
|
@@ -14116,6 +14549,28 @@ class DatabaseActionsApi extends base_1.BaseAPI {
|
|
|
14116
14549
|
* @throws {RequiredError}
|
|
14117
14550
|
* @memberof DatabaseActionsApi
|
|
14118
14551
|
*/
|
|
14552
|
+
rebootDatabase(databaseId, options) {
|
|
14553
|
+
return (0, exports.DatabaseActionsApiFp)(this.configuration).rebootDatabase(databaseId, options).then((request) => request(this.axios, this.basePath));
|
|
14554
|
+
}
|
|
14555
|
+
/**
|
|
14556
|
+
*
|
|
14557
|
+
* @summary Redeploy database
|
|
14558
|
+
* @param {string} databaseId Database ID
|
|
14559
|
+
* @param {*} [options] Override http request option.
|
|
14560
|
+
* @throws {RequiredError}
|
|
14561
|
+
* @memberof DatabaseActionsApi
|
|
14562
|
+
*/
|
|
14563
|
+
redeployDatabase(databaseId, options) {
|
|
14564
|
+
return (0, exports.DatabaseActionsApiFp)(this.configuration).redeployDatabase(databaseId, options).then((request) => request(this.axios, this.basePath));
|
|
14565
|
+
}
|
|
14566
|
+
/**
|
|
14567
|
+
* **Deprecated** - Please use the \"Redeploy database\" endpoint now
|
|
14568
|
+
* @summary Deprecated - Restart database
|
|
14569
|
+
* @param {string} databaseId Database ID
|
|
14570
|
+
* @param {*} [options] Override http request option.
|
|
14571
|
+
* @throws {RequiredError}
|
|
14572
|
+
* @memberof DatabaseActionsApi
|
|
14573
|
+
*/
|
|
14119
14574
|
restartDatabase(databaseId, options) {
|
|
14120
14575
|
return (0, exports.DatabaseActionsApiFp)(this.configuration).restartDatabase(databaseId, options).then((request) => request(this.axios, this.basePath));
|
|
14121
14576
|
}
|
|
@@ -16396,15 +16851,81 @@ const EnvironmentActionsApiAxiosParamCreator = function (configuration) {
|
|
|
16396
16851
|
options: localVarRequestOptions,
|
|
16397
16852
|
};
|
|
16398
16853
|
}),
|
|
16854
|
+
/**
|
|
16855
|
+
* Update and reboot the selected services
|
|
16856
|
+
* @summary Reboot services
|
|
16857
|
+
* @param {string} environmentId Environment ID
|
|
16858
|
+
* @param {RebootServicesRequest} [rebootServicesRequest]
|
|
16859
|
+
* @param {*} [options] Override http request option.
|
|
16860
|
+
* @throws {RequiredError}
|
|
16861
|
+
*/
|
|
16862
|
+
rebootServices: (environmentId, rebootServicesRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
16863
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
16864
|
+
(0, common_1.assertParamExists)('rebootServices', 'environmentId', environmentId);
|
|
16865
|
+
const localVarPath = `/environment/{environmentId}/service/restart-service`
|
|
16866
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
16867
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16868
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16869
|
+
let baseOptions;
|
|
16870
|
+
if (configuration) {
|
|
16871
|
+
baseOptions = configuration.baseOptions;
|
|
16872
|
+
}
|
|
16873
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
16874
|
+
const localVarHeaderParameter = {};
|
|
16875
|
+
const localVarQueryParameter = {};
|
|
16876
|
+
// authentication bearerAuth required
|
|
16877
|
+
// http bearer authentication required
|
|
16878
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
16879
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16880
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
16881
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16882
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
16883
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(rebootServicesRequest, localVarRequestOptions, configuration);
|
|
16884
|
+
return {
|
|
16885
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
16886
|
+
options: localVarRequestOptions,
|
|
16887
|
+
};
|
|
16888
|
+
}),
|
|
16399
16889
|
/**
|
|
16400
16890
|
*
|
|
16401
|
-
* @summary
|
|
16891
|
+
* @summary Redeploy environment
|
|
16892
|
+
* @param {string} environmentId Environment ID
|
|
16893
|
+
* @param {*} [options] Override http request option.
|
|
16894
|
+
* @throws {RequiredError}
|
|
16895
|
+
*/
|
|
16896
|
+
redeployEnvironment: (environmentId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
16897
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
16898
|
+
(0, common_1.assertParamExists)('redeployEnvironment', 'environmentId', environmentId);
|
|
16899
|
+
const localVarPath = `/environment/{environmentId}/redeploy`
|
|
16900
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
16901
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16902
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16903
|
+
let baseOptions;
|
|
16904
|
+
if (configuration) {
|
|
16905
|
+
baseOptions = configuration.baseOptions;
|
|
16906
|
+
}
|
|
16907
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
16908
|
+
const localVarHeaderParameter = {};
|
|
16909
|
+
const localVarQueryParameter = {};
|
|
16910
|
+
// authentication bearerAuth required
|
|
16911
|
+
// http bearer authentication required
|
|
16912
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
16913
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
16914
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16915
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
16916
|
+
return {
|
|
16917
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
16918
|
+
options: localVarRequestOptions,
|
|
16919
|
+
};
|
|
16920
|
+
}),
|
|
16921
|
+
/**
|
|
16922
|
+
* **Deprecated** - Please use the \"Redeploy environment\" endpoint now
|
|
16923
|
+
* @summary Deprecated - Restart environment
|
|
16402
16924
|
* @param {string} environmentId Environment ID
|
|
16403
|
-
* @param {EnvironmentRestartRequest} [environmentRestartRequest]
|
|
16404
16925
|
* @param {*} [options] Override http request option.
|
|
16405
16926
|
* @throws {RequiredError}
|
|
16406
16927
|
*/
|
|
16407
|
-
restartEnvironment: (environmentId,
|
|
16928
|
+
restartEnvironment: (environmentId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
16408
16929
|
// verify required parameter 'environmentId' is not null or undefined
|
|
16409
16930
|
(0, common_1.assertParamExists)('restartEnvironment', 'environmentId', environmentId);
|
|
16410
16931
|
const localVarPath = `/environment/{environmentId}/restart`
|
|
@@ -16421,11 +16942,9 @@ const EnvironmentActionsApiAxiosParamCreator = function (configuration) {
|
|
|
16421
16942
|
// authentication bearerAuth required
|
|
16422
16943
|
// http bearer authentication required
|
|
16423
16944
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
16424
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16425
16945
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
16426
16946
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16427
16947
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
16428
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(environmentRestartRequest, localVarRequestOptions, configuration);
|
|
16429
16948
|
return {
|
|
16430
16949
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
16431
16950
|
options: localVarRequestOptions,
|
|
@@ -16527,17 +17046,43 @@ const EnvironmentActionsApiFp = function (configuration) {
|
|
|
16527
17046
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
16528
17047
|
});
|
|
16529
17048
|
},
|
|
17049
|
+
/**
|
|
17050
|
+
* Update and reboot the selected services
|
|
17051
|
+
* @summary Reboot services
|
|
17052
|
+
* @param {string} environmentId Environment ID
|
|
17053
|
+
* @param {RebootServicesRequest} [rebootServicesRequest]
|
|
17054
|
+
* @param {*} [options] Override http request option.
|
|
17055
|
+
* @throws {RequiredError}
|
|
17056
|
+
*/
|
|
17057
|
+
rebootServices(environmentId, rebootServicesRequest, options) {
|
|
17058
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
17059
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.rebootServices(environmentId, rebootServicesRequest, options);
|
|
17060
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
17061
|
+
});
|
|
17062
|
+
},
|
|
16530
17063
|
/**
|
|
16531
17064
|
*
|
|
16532
|
-
* @summary
|
|
17065
|
+
* @summary Redeploy environment
|
|
17066
|
+
* @param {string} environmentId Environment ID
|
|
17067
|
+
* @param {*} [options] Override http request option.
|
|
17068
|
+
* @throws {RequiredError}
|
|
17069
|
+
*/
|
|
17070
|
+
redeployEnvironment(environmentId, options) {
|
|
17071
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
17072
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.redeployEnvironment(environmentId, options);
|
|
17073
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
17074
|
+
});
|
|
17075
|
+
},
|
|
17076
|
+
/**
|
|
17077
|
+
* **Deprecated** - Please use the \"Redeploy environment\" endpoint now
|
|
17078
|
+
* @summary Deprecated - Restart environment
|
|
16533
17079
|
* @param {string} environmentId Environment ID
|
|
16534
|
-
* @param {EnvironmentRestartRequest} [environmentRestartRequest]
|
|
16535
17080
|
* @param {*} [options] Override http request option.
|
|
16536
17081
|
* @throws {RequiredError}
|
|
16537
17082
|
*/
|
|
16538
|
-
restartEnvironment(environmentId,
|
|
17083
|
+
restartEnvironment(environmentId, options) {
|
|
16539
17084
|
return __awaiter(this, void 0, void 0, function* () {
|
|
16540
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.restartEnvironment(environmentId,
|
|
17085
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.restartEnvironment(environmentId, options);
|
|
16541
17086
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
16542
17087
|
});
|
|
16543
17088
|
},
|
|
@@ -16606,16 +17151,36 @@ const EnvironmentActionsApiFactory = function (configuration, basePath, axios) {
|
|
|
16606
17151
|
deployEnvironment(environmentId, options) {
|
|
16607
17152
|
return localVarFp.deployEnvironment(environmentId, options).then((request) => request(axios, basePath));
|
|
16608
17153
|
},
|
|
17154
|
+
/**
|
|
17155
|
+
* Update and reboot the selected services
|
|
17156
|
+
* @summary Reboot services
|
|
17157
|
+
* @param {string} environmentId Environment ID
|
|
17158
|
+
* @param {RebootServicesRequest} [rebootServicesRequest]
|
|
17159
|
+
* @param {*} [options] Override http request option.
|
|
17160
|
+
* @throws {RequiredError}
|
|
17161
|
+
*/
|
|
17162
|
+
rebootServices(environmentId, rebootServicesRequest, options) {
|
|
17163
|
+
return localVarFp.rebootServices(environmentId, rebootServicesRequest, options).then((request) => request(axios, basePath));
|
|
17164
|
+
},
|
|
16609
17165
|
/**
|
|
16610
17166
|
*
|
|
16611
|
-
* @summary
|
|
17167
|
+
* @summary Redeploy environment
|
|
17168
|
+
* @param {string} environmentId Environment ID
|
|
17169
|
+
* @param {*} [options] Override http request option.
|
|
17170
|
+
* @throws {RequiredError}
|
|
17171
|
+
*/
|
|
17172
|
+
redeployEnvironment(environmentId, options) {
|
|
17173
|
+
return localVarFp.redeployEnvironment(environmentId, options).then((request) => request(axios, basePath));
|
|
17174
|
+
},
|
|
17175
|
+
/**
|
|
17176
|
+
* **Deprecated** - Please use the \"Redeploy environment\" endpoint now
|
|
17177
|
+
* @summary Deprecated - Restart environment
|
|
16612
17178
|
* @param {string} environmentId Environment ID
|
|
16613
|
-
* @param {EnvironmentRestartRequest} [environmentRestartRequest]
|
|
16614
17179
|
* @param {*} [options] Override http request option.
|
|
16615
17180
|
* @throws {RequiredError}
|
|
16616
17181
|
*/
|
|
16617
|
-
restartEnvironment(environmentId,
|
|
16618
|
-
return localVarFp.restartEnvironment(environmentId,
|
|
17182
|
+
restartEnvironment(environmentId, options) {
|
|
17183
|
+
return localVarFp.restartEnvironment(environmentId, options).then((request) => request(axios, basePath));
|
|
16619
17184
|
},
|
|
16620
17185
|
/**
|
|
16621
17186
|
*
|
|
@@ -16683,17 +17248,39 @@ class EnvironmentActionsApi extends base_1.BaseAPI {
|
|
|
16683
17248
|
deployEnvironment(environmentId, options) {
|
|
16684
17249
|
return (0, exports.EnvironmentActionsApiFp)(this.configuration).deployEnvironment(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
16685
17250
|
}
|
|
17251
|
+
/**
|
|
17252
|
+
* Update and reboot the selected services
|
|
17253
|
+
* @summary Reboot services
|
|
17254
|
+
* @param {string} environmentId Environment ID
|
|
17255
|
+
* @param {RebootServicesRequest} [rebootServicesRequest]
|
|
17256
|
+
* @param {*} [options] Override http request option.
|
|
17257
|
+
* @throws {RequiredError}
|
|
17258
|
+
* @memberof EnvironmentActionsApi
|
|
17259
|
+
*/
|
|
17260
|
+
rebootServices(environmentId, rebootServicesRequest, options) {
|
|
17261
|
+
return (0, exports.EnvironmentActionsApiFp)(this.configuration).rebootServices(environmentId, rebootServicesRequest, options).then((request) => request(this.axios, this.basePath));
|
|
17262
|
+
}
|
|
16686
17263
|
/**
|
|
16687
17264
|
*
|
|
16688
|
-
* @summary
|
|
17265
|
+
* @summary Redeploy environment
|
|
16689
17266
|
* @param {string} environmentId Environment ID
|
|
16690
|
-
* @param {EnvironmentRestartRequest} [environmentRestartRequest]
|
|
16691
17267
|
* @param {*} [options] Override http request option.
|
|
16692
17268
|
* @throws {RequiredError}
|
|
16693
17269
|
* @memberof EnvironmentActionsApi
|
|
16694
17270
|
*/
|
|
16695
|
-
|
|
16696
|
-
return (0, exports.EnvironmentActionsApiFp)(this.configuration).
|
|
17271
|
+
redeployEnvironment(environmentId, options) {
|
|
17272
|
+
return (0, exports.EnvironmentActionsApiFp)(this.configuration).redeployEnvironment(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
17273
|
+
}
|
|
17274
|
+
/**
|
|
17275
|
+
* **Deprecated** - Please use the \"Redeploy environment\" endpoint now
|
|
17276
|
+
* @summary Deprecated - Restart environment
|
|
17277
|
+
* @param {string} environmentId Environment ID
|
|
17278
|
+
* @param {*} [options] Override http request option.
|
|
17279
|
+
* @throws {RequiredError}
|
|
17280
|
+
* @memberof EnvironmentActionsApi
|
|
17281
|
+
*/
|
|
17282
|
+
restartEnvironment(environmentId, options) {
|
|
17283
|
+
return (0, exports.EnvironmentActionsApiFp)(this.configuration).restartEnvironment(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
16697
17284
|
}
|
|
16698
17285
|
/**
|
|
16699
17286
|
*
|
|
@@ -19560,7 +20147,43 @@ const JobActionsApiAxiosParamCreator = function (configuration) {
|
|
|
19560
20147
|
}),
|
|
19561
20148
|
/**
|
|
19562
20149
|
*
|
|
19563
|
-
* @summary
|
|
20150
|
+
* @summary Redeploy job
|
|
20151
|
+
* @param {string} jobId Job ID
|
|
20152
|
+
* @param {JobForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned job hasn\'t the target event provided, the job won\'t be deployed.
|
|
20153
|
+
* @param {*} [options] Override http request option.
|
|
20154
|
+
* @throws {RequiredError}
|
|
20155
|
+
*/
|
|
20156
|
+
redeployJob: (jobId, forceEvent, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
20157
|
+
// verify required parameter 'jobId' is not null or undefined
|
|
20158
|
+
(0, common_1.assertParamExists)('redeployJob', 'jobId', jobId);
|
|
20159
|
+
const localVarPath = `/job/{jobId}/redeploy`
|
|
20160
|
+
.replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)));
|
|
20161
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20162
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20163
|
+
let baseOptions;
|
|
20164
|
+
if (configuration) {
|
|
20165
|
+
baseOptions = configuration.baseOptions;
|
|
20166
|
+
}
|
|
20167
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
20168
|
+
const localVarHeaderParameter = {};
|
|
20169
|
+
const localVarQueryParameter = {};
|
|
20170
|
+
// authentication bearerAuth required
|
|
20171
|
+
// http bearer authentication required
|
|
20172
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
20173
|
+
if (forceEvent !== undefined) {
|
|
20174
|
+
localVarQueryParameter['forceEvent'] = forceEvent;
|
|
20175
|
+
}
|
|
20176
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
20177
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20178
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
20179
|
+
return {
|
|
20180
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
20181
|
+
options: localVarRequestOptions,
|
|
20182
|
+
};
|
|
20183
|
+
}),
|
|
20184
|
+
/**
|
|
20185
|
+
* **Deprecated** - Please use the \"Redeploy job\" endpoint now
|
|
20186
|
+
* @summary Deprecated - Restart job
|
|
19564
20187
|
* @param {string} jobId Job ID
|
|
19565
20188
|
* @param {JobForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned job hasn\'t the target event provided, the job won\'t be deployed.
|
|
19566
20189
|
* @param {*} [options] Override http request option.
|
|
@@ -19653,7 +20276,21 @@ const JobActionsApiFp = function (configuration) {
|
|
|
19653
20276
|
},
|
|
19654
20277
|
/**
|
|
19655
20278
|
*
|
|
19656
|
-
* @summary
|
|
20279
|
+
* @summary Redeploy job
|
|
20280
|
+
* @param {string} jobId Job ID
|
|
20281
|
+
* @param {JobForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned job hasn\'t the target event provided, the job won\'t be deployed.
|
|
20282
|
+
* @param {*} [options] Override http request option.
|
|
20283
|
+
* @throws {RequiredError}
|
|
20284
|
+
*/
|
|
20285
|
+
redeployJob(jobId, forceEvent, options) {
|
|
20286
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
20287
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.redeployJob(jobId, forceEvent, options);
|
|
20288
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
20289
|
+
});
|
|
20290
|
+
},
|
|
20291
|
+
/**
|
|
20292
|
+
* **Deprecated** - Please use the \"Redeploy job\" endpoint now
|
|
20293
|
+
* @summary Deprecated - Restart job
|
|
19657
20294
|
* @param {string} jobId Job ID
|
|
19658
20295
|
* @param {JobForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned job hasn\'t the target event provided, the job won\'t be deployed.
|
|
19659
20296
|
* @param {*} [options] Override http request option.
|
|
@@ -19702,7 +20339,18 @@ const JobActionsApiFactory = function (configuration, basePath, axios) {
|
|
|
19702
20339
|
},
|
|
19703
20340
|
/**
|
|
19704
20341
|
*
|
|
19705
|
-
* @summary
|
|
20342
|
+
* @summary Redeploy job
|
|
20343
|
+
* @param {string} jobId Job ID
|
|
20344
|
+
* @param {JobForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned job hasn\'t the target event provided, the job won\'t be deployed.
|
|
20345
|
+
* @param {*} [options] Override http request option.
|
|
20346
|
+
* @throws {RequiredError}
|
|
20347
|
+
*/
|
|
20348
|
+
redeployJob(jobId, forceEvent, options) {
|
|
20349
|
+
return localVarFp.redeployJob(jobId, forceEvent, options).then((request) => request(axios, basePath));
|
|
20350
|
+
},
|
|
20351
|
+
/**
|
|
20352
|
+
* **Deprecated** - Please use the \"Redeploy job\" endpoint now
|
|
20353
|
+
* @summary Deprecated - Restart job
|
|
19706
20354
|
* @param {string} jobId Job ID
|
|
19707
20355
|
* @param {JobForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned job hasn\'t the target event provided, the job won\'t be deployed.
|
|
19708
20356
|
* @param {*} [options] Override http request option.
|
|
@@ -19746,7 +20394,19 @@ class JobActionsApi extends base_1.BaseAPI {
|
|
|
19746
20394
|
}
|
|
19747
20395
|
/**
|
|
19748
20396
|
*
|
|
19749
|
-
* @summary
|
|
20397
|
+
* @summary Redeploy job
|
|
20398
|
+
* @param {string} jobId Job ID
|
|
20399
|
+
* @param {JobForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned job hasn\'t the target event provided, the job won\'t be deployed.
|
|
20400
|
+
* @param {*} [options] Override http request option.
|
|
20401
|
+
* @throws {RequiredError}
|
|
20402
|
+
* @memberof JobActionsApi
|
|
20403
|
+
*/
|
|
20404
|
+
redeployJob(jobId, forceEvent, options) {
|
|
20405
|
+
return (0, exports.JobActionsApiFp)(this.configuration).redeployJob(jobId, forceEvent, options).then((request) => request(this.axios, this.basePath));
|
|
20406
|
+
}
|
|
20407
|
+
/**
|
|
20408
|
+
* **Deprecated** - Please use the \"Redeploy job\" endpoint now
|
|
20409
|
+
* @summary Deprecated - Restart job
|
|
19750
20410
|
* @param {string} jobId Job ID
|
|
19751
20411
|
* @param {JobForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned job hasn\'t the target event provided, the job won\'t be deployed.
|
|
19752
20412
|
* @param {*} [options] Override http request option.
|