qovery-typescript-axios 1.1.73 → 1.1.74
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 +708 -49
- package/dist/api.d.ts +350 -37
- package/dist/api.js +630 -29
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -6783,19 +6783,6 @@ export interface EnvironmentResponseList {
|
|
|
6783
6783
|
*/
|
|
6784
6784
|
'results'?: Array<Environment>;
|
|
6785
6785
|
}
|
|
6786
|
-
/**
|
|
6787
|
-
*
|
|
6788
|
-
* @export
|
|
6789
|
-
* @interface EnvironmentRestartRequest
|
|
6790
|
-
*/
|
|
6791
|
-
export interface EnvironmentRestartRequest {
|
|
6792
|
-
/**
|
|
6793
|
-
*
|
|
6794
|
-
* @type {boolean}
|
|
6795
|
-
* @memberof EnvironmentRestartRequest
|
|
6796
|
-
*/
|
|
6797
|
-
'restart_db'?: boolean;
|
|
6798
|
-
}
|
|
6799
6786
|
/**
|
|
6800
6787
|
*
|
|
6801
6788
|
* @export
|
|
@@ -10990,6 +10977,31 @@ export interface ProjectStatsResponseList {
|
|
|
10990
10977
|
*/
|
|
10991
10978
|
'results'?: Array<ProjectStats>;
|
|
10992
10979
|
}
|
|
10980
|
+
/**
|
|
10981
|
+
*
|
|
10982
|
+
* @export
|
|
10983
|
+
* @interface RebootServicesRequest
|
|
10984
|
+
*/
|
|
10985
|
+
export interface RebootServicesRequest {
|
|
10986
|
+
/**
|
|
10987
|
+
*
|
|
10988
|
+
* @type {Array<string>}
|
|
10989
|
+
* @memberof RebootServicesRequest
|
|
10990
|
+
*/
|
|
10991
|
+
'applicationIds'?: Array<string>;
|
|
10992
|
+
/**
|
|
10993
|
+
*
|
|
10994
|
+
* @type {Array<string>}
|
|
10995
|
+
* @memberof RebootServicesRequest
|
|
10996
|
+
*/
|
|
10997
|
+
'databaseIds'?: Array<string>;
|
|
10998
|
+
/**
|
|
10999
|
+
*
|
|
11000
|
+
* @type {Array<string>}
|
|
11001
|
+
* @memberof RebootServicesRequest
|
|
11002
|
+
*/
|
|
11003
|
+
'containerIds'?: Array<string>;
|
|
11004
|
+
}
|
|
10993
11005
|
/**
|
|
10994
11006
|
*
|
|
10995
11007
|
* @export
|
|
@@ -12572,7 +12584,83 @@ export const ApplicationActionsApiAxiosParamCreator = function (configuration?:
|
|
|
12572
12584
|
},
|
|
12573
12585
|
/**
|
|
12574
12586
|
*
|
|
12575
|
-
* @summary
|
|
12587
|
+
* @summary Reboot application
|
|
12588
|
+
* @param {string} applicationId Application ID
|
|
12589
|
+
* @param {*} [options] Override http request option.
|
|
12590
|
+
* @throws {RequiredError}
|
|
12591
|
+
*/
|
|
12592
|
+
rebootApplication: async (applicationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12593
|
+
// verify required parameter 'applicationId' is not null or undefined
|
|
12594
|
+
assertParamExists('rebootApplication', 'applicationId', applicationId)
|
|
12595
|
+
const localVarPath = `/application/{applicationId}/restart-service`
|
|
12596
|
+
.replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)));
|
|
12597
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12598
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12599
|
+
let baseOptions;
|
|
12600
|
+
if (configuration) {
|
|
12601
|
+
baseOptions = configuration.baseOptions;
|
|
12602
|
+
}
|
|
12603
|
+
|
|
12604
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
12605
|
+
const localVarHeaderParameter = {} as any;
|
|
12606
|
+
const localVarQueryParameter = {} as any;
|
|
12607
|
+
|
|
12608
|
+
// authentication bearerAuth required
|
|
12609
|
+
// http bearer authentication required
|
|
12610
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12611
|
+
|
|
12612
|
+
|
|
12613
|
+
|
|
12614
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12615
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12616
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12617
|
+
|
|
12618
|
+
return {
|
|
12619
|
+
url: toPathString(localVarUrlObj),
|
|
12620
|
+
options: localVarRequestOptions,
|
|
12621
|
+
};
|
|
12622
|
+
},
|
|
12623
|
+
/**
|
|
12624
|
+
*
|
|
12625
|
+
* @summary Redeploy application
|
|
12626
|
+
* @param {string} applicationId Application ID
|
|
12627
|
+
* @param {*} [options] Override http request option.
|
|
12628
|
+
* @throws {RequiredError}
|
|
12629
|
+
*/
|
|
12630
|
+
redeployApplication: async (applicationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12631
|
+
// verify required parameter 'applicationId' is not null or undefined
|
|
12632
|
+
assertParamExists('redeployApplication', 'applicationId', applicationId)
|
|
12633
|
+
const localVarPath = `/application/{applicationId}/redeploy`
|
|
12634
|
+
.replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)));
|
|
12635
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12636
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12637
|
+
let baseOptions;
|
|
12638
|
+
if (configuration) {
|
|
12639
|
+
baseOptions = configuration.baseOptions;
|
|
12640
|
+
}
|
|
12641
|
+
|
|
12642
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
12643
|
+
const localVarHeaderParameter = {} as any;
|
|
12644
|
+
const localVarQueryParameter = {} as any;
|
|
12645
|
+
|
|
12646
|
+
// authentication bearerAuth required
|
|
12647
|
+
// http bearer authentication required
|
|
12648
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12649
|
+
|
|
12650
|
+
|
|
12651
|
+
|
|
12652
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12653
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12654
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12655
|
+
|
|
12656
|
+
return {
|
|
12657
|
+
url: toPathString(localVarUrlObj),
|
|
12658
|
+
options: localVarRequestOptions,
|
|
12659
|
+
};
|
|
12660
|
+
},
|
|
12661
|
+
/**
|
|
12662
|
+
* **Deprecated** - Please use the \"Redeploy application\" endpoint now
|
|
12663
|
+
* @summary Deprecated - Restart application
|
|
12576
12664
|
* @param {string} applicationId Application ID
|
|
12577
12665
|
* @param {*} [options] Override http request option.
|
|
12578
12666
|
* @throws {RequiredError}
|
|
@@ -12670,7 +12758,29 @@ export const ApplicationActionsApiFp = function(configuration?: Configuration) {
|
|
|
12670
12758
|
},
|
|
12671
12759
|
/**
|
|
12672
12760
|
*
|
|
12673
|
-
* @summary
|
|
12761
|
+
* @summary Reboot application
|
|
12762
|
+
* @param {string} applicationId Application ID
|
|
12763
|
+
* @param {*} [options] Override http request option.
|
|
12764
|
+
* @throws {RequiredError}
|
|
12765
|
+
*/
|
|
12766
|
+
async rebootApplication(applicationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
12767
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.rebootApplication(applicationId, options);
|
|
12768
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
12769
|
+
},
|
|
12770
|
+
/**
|
|
12771
|
+
*
|
|
12772
|
+
* @summary Redeploy application
|
|
12773
|
+
* @param {string} applicationId Application ID
|
|
12774
|
+
* @param {*} [options] Override http request option.
|
|
12775
|
+
* @throws {RequiredError}
|
|
12776
|
+
*/
|
|
12777
|
+
async redeployApplication(applicationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
12778
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.redeployApplication(applicationId, options);
|
|
12779
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
12780
|
+
},
|
|
12781
|
+
/**
|
|
12782
|
+
* **Deprecated** - Please use the \"Redeploy application\" endpoint now
|
|
12783
|
+
* @summary Deprecated - Restart application
|
|
12674
12784
|
* @param {string} applicationId Application ID
|
|
12675
12785
|
* @param {*} [options] Override http request option.
|
|
12676
12786
|
* @throws {RequiredError}
|
|
@@ -12713,7 +12823,27 @@ export const ApplicationActionsApiFactory = function (configuration?: Configurat
|
|
|
12713
12823
|
},
|
|
12714
12824
|
/**
|
|
12715
12825
|
*
|
|
12716
|
-
* @summary
|
|
12826
|
+
* @summary Reboot application
|
|
12827
|
+
* @param {string} applicationId Application ID
|
|
12828
|
+
* @param {*} [options] Override http request option.
|
|
12829
|
+
* @throws {RequiredError}
|
|
12830
|
+
*/
|
|
12831
|
+
rebootApplication(applicationId: string, options?: any): AxiosPromise<Status> {
|
|
12832
|
+
return localVarFp.rebootApplication(applicationId, options).then((request) => request(axios, basePath));
|
|
12833
|
+
},
|
|
12834
|
+
/**
|
|
12835
|
+
*
|
|
12836
|
+
* @summary Redeploy application
|
|
12837
|
+
* @param {string} applicationId Application ID
|
|
12838
|
+
* @param {*} [options] Override http request option.
|
|
12839
|
+
* @throws {RequiredError}
|
|
12840
|
+
*/
|
|
12841
|
+
redeployApplication(applicationId: string, options?: any): AxiosPromise<Status> {
|
|
12842
|
+
return localVarFp.redeployApplication(applicationId, options).then((request) => request(axios, basePath));
|
|
12843
|
+
},
|
|
12844
|
+
/**
|
|
12845
|
+
* **Deprecated** - Please use the \"Redeploy application\" endpoint now
|
|
12846
|
+
* @summary Deprecated - Restart application
|
|
12717
12847
|
* @param {string} applicationId Application ID
|
|
12718
12848
|
* @param {*} [options] Override http request option.
|
|
12719
12849
|
* @throws {RequiredError}
|
|
@@ -12756,7 +12886,31 @@ export class ApplicationActionsApi extends BaseAPI {
|
|
|
12756
12886
|
|
|
12757
12887
|
/**
|
|
12758
12888
|
*
|
|
12759
|
-
* @summary
|
|
12889
|
+
* @summary Reboot application
|
|
12890
|
+
* @param {string} applicationId Application ID
|
|
12891
|
+
* @param {*} [options] Override http request option.
|
|
12892
|
+
* @throws {RequiredError}
|
|
12893
|
+
* @memberof ApplicationActionsApi
|
|
12894
|
+
*/
|
|
12895
|
+
public rebootApplication(applicationId: string, options?: AxiosRequestConfig) {
|
|
12896
|
+
return ApplicationActionsApiFp(this.configuration).rebootApplication(applicationId, options).then((request) => request(this.axios, this.basePath));
|
|
12897
|
+
}
|
|
12898
|
+
|
|
12899
|
+
/**
|
|
12900
|
+
*
|
|
12901
|
+
* @summary Redeploy application
|
|
12902
|
+
* @param {string} applicationId Application ID
|
|
12903
|
+
* @param {*} [options] Override http request option.
|
|
12904
|
+
* @throws {RequiredError}
|
|
12905
|
+
* @memberof ApplicationActionsApi
|
|
12906
|
+
*/
|
|
12907
|
+
public redeployApplication(applicationId: string, options?: AxiosRequestConfig) {
|
|
12908
|
+
return ApplicationActionsApiFp(this.configuration).redeployApplication(applicationId, options).then((request) => request(this.axios, this.basePath));
|
|
12909
|
+
}
|
|
12910
|
+
|
|
12911
|
+
/**
|
|
12912
|
+
* **Deprecated** - Please use the \"Redeploy application\" endpoint now
|
|
12913
|
+
* @summary Deprecated - Restart application
|
|
12760
12914
|
* @param {string} applicationId Application ID
|
|
12761
12915
|
* @param {*} [options] Override http request option.
|
|
12762
12916
|
* @throws {RequiredError}
|
|
@@ -21781,7 +21935,83 @@ export const ContainerActionsApiAxiosParamCreator = function (configuration?: Co
|
|
|
21781
21935
|
},
|
|
21782
21936
|
/**
|
|
21783
21937
|
*
|
|
21784
|
-
* @summary
|
|
21938
|
+
* @summary Reboot container
|
|
21939
|
+
* @param {string} containerId Container ID
|
|
21940
|
+
* @param {*} [options] Override http request option.
|
|
21941
|
+
* @throws {RequiredError}
|
|
21942
|
+
*/
|
|
21943
|
+
rebootContainer: async (containerId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21944
|
+
// verify required parameter 'containerId' is not null or undefined
|
|
21945
|
+
assertParamExists('rebootContainer', 'containerId', containerId)
|
|
21946
|
+
const localVarPath = `/container/{containerId}/restart-service`
|
|
21947
|
+
.replace(`{${"containerId"}}`, encodeURIComponent(String(containerId)));
|
|
21948
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21949
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21950
|
+
let baseOptions;
|
|
21951
|
+
if (configuration) {
|
|
21952
|
+
baseOptions = configuration.baseOptions;
|
|
21953
|
+
}
|
|
21954
|
+
|
|
21955
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
21956
|
+
const localVarHeaderParameter = {} as any;
|
|
21957
|
+
const localVarQueryParameter = {} as any;
|
|
21958
|
+
|
|
21959
|
+
// authentication bearerAuth required
|
|
21960
|
+
// http bearer authentication required
|
|
21961
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
21962
|
+
|
|
21963
|
+
|
|
21964
|
+
|
|
21965
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21966
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21967
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
21968
|
+
|
|
21969
|
+
return {
|
|
21970
|
+
url: toPathString(localVarUrlObj),
|
|
21971
|
+
options: localVarRequestOptions,
|
|
21972
|
+
};
|
|
21973
|
+
},
|
|
21974
|
+
/**
|
|
21975
|
+
*
|
|
21976
|
+
* @summary Redeploy container
|
|
21977
|
+
* @param {string} containerId Container ID
|
|
21978
|
+
* @param {*} [options] Override http request option.
|
|
21979
|
+
* @throws {RequiredError}
|
|
21980
|
+
*/
|
|
21981
|
+
redeployContainer: async (containerId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21982
|
+
// verify required parameter 'containerId' is not null or undefined
|
|
21983
|
+
assertParamExists('redeployContainer', 'containerId', containerId)
|
|
21984
|
+
const localVarPath = `/container/{containerId}/redeploy`
|
|
21985
|
+
.replace(`{${"containerId"}}`, encodeURIComponent(String(containerId)));
|
|
21986
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21987
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21988
|
+
let baseOptions;
|
|
21989
|
+
if (configuration) {
|
|
21990
|
+
baseOptions = configuration.baseOptions;
|
|
21991
|
+
}
|
|
21992
|
+
|
|
21993
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
21994
|
+
const localVarHeaderParameter = {} as any;
|
|
21995
|
+
const localVarQueryParameter = {} as any;
|
|
21996
|
+
|
|
21997
|
+
// authentication bearerAuth required
|
|
21998
|
+
// http bearer authentication required
|
|
21999
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
22000
|
+
|
|
22001
|
+
|
|
22002
|
+
|
|
22003
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22004
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22005
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
22006
|
+
|
|
22007
|
+
return {
|
|
22008
|
+
url: toPathString(localVarUrlObj),
|
|
22009
|
+
options: localVarRequestOptions,
|
|
22010
|
+
};
|
|
22011
|
+
},
|
|
22012
|
+
/**
|
|
22013
|
+
* **Deprecated** - Please use the \"Redeploy container\" endpoint now
|
|
22014
|
+
* @summary Deprecated - Restart container
|
|
21785
22015
|
* @param {string} containerId Container ID
|
|
21786
22016
|
* @param {*} [options] Override http request option.
|
|
21787
22017
|
* @throws {RequiredError}
|
|
@@ -21879,7 +22109,29 @@ export const ContainerActionsApiFp = function(configuration?: Configuration) {
|
|
|
21879
22109
|
},
|
|
21880
22110
|
/**
|
|
21881
22111
|
*
|
|
21882
|
-
* @summary
|
|
22112
|
+
* @summary Reboot container
|
|
22113
|
+
* @param {string} containerId Container ID
|
|
22114
|
+
* @param {*} [options] Override http request option.
|
|
22115
|
+
* @throws {RequiredError}
|
|
22116
|
+
*/
|
|
22117
|
+
async rebootContainer(containerId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
22118
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.rebootContainer(containerId, options);
|
|
22119
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22120
|
+
},
|
|
22121
|
+
/**
|
|
22122
|
+
*
|
|
22123
|
+
* @summary Redeploy container
|
|
22124
|
+
* @param {string} containerId Container ID
|
|
22125
|
+
* @param {*} [options] Override http request option.
|
|
22126
|
+
* @throws {RequiredError}
|
|
22127
|
+
*/
|
|
22128
|
+
async redeployContainer(containerId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
22129
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.redeployContainer(containerId, options);
|
|
22130
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22131
|
+
},
|
|
22132
|
+
/**
|
|
22133
|
+
* **Deprecated** - Please use the \"Redeploy container\" endpoint now
|
|
22134
|
+
* @summary Deprecated - Restart container
|
|
21883
22135
|
* @param {string} containerId Container ID
|
|
21884
22136
|
* @param {*} [options] Override http request option.
|
|
21885
22137
|
* @throws {RequiredError}
|
|
@@ -21922,7 +22174,27 @@ export const ContainerActionsApiFactory = function (configuration?: Configuratio
|
|
|
21922
22174
|
},
|
|
21923
22175
|
/**
|
|
21924
22176
|
*
|
|
21925
|
-
* @summary
|
|
22177
|
+
* @summary Reboot container
|
|
22178
|
+
* @param {string} containerId Container ID
|
|
22179
|
+
* @param {*} [options] Override http request option.
|
|
22180
|
+
* @throws {RequiredError}
|
|
22181
|
+
*/
|
|
22182
|
+
rebootContainer(containerId: string, options?: any): AxiosPromise<Status> {
|
|
22183
|
+
return localVarFp.rebootContainer(containerId, options).then((request) => request(axios, basePath));
|
|
22184
|
+
},
|
|
22185
|
+
/**
|
|
22186
|
+
*
|
|
22187
|
+
* @summary Redeploy container
|
|
22188
|
+
* @param {string} containerId Container ID
|
|
22189
|
+
* @param {*} [options] Override http request option.
|
|
22190
|
+
* @throws {RequiredError}
|
|
22191
|
+
*/
|
|
22192
|
+
redeployContainer(containerId: string, options?: any): AxiosPromise<Status> {
|
|
22193
|
+
return localVarFp.redeployContainer(containerId, options).then((request) => request(axios, basePath));
|
|
22194
|
+
},
|
|
22195
|
+
/**
|
|
22196
|
+
* **Deprecated** - Please use the \"Redeploy container\" endpoint now
|
|
22197
|
+
* @summary Deprecated - Restart container
|
|
21926
22198
|
* @param {string} containerId Container ID
|
|
21927
22199
|
* @param {*} [options] Override http request option.
|
|
21928
22200
|
* @throws {RequiredError}
|
|
@@ -21965,7 +22237,31 @@ export class ContainerActionsApi extends BaseAPI {
|
|
|
21965
22237
|
|
|
21966
22238
|
/**
|
|
21967
22239
|
*
|
|
21968
|
-
* @summary
|
|
22240
|
+
* @summary Reboot container
|
|
22241
|
+
* @param {string} containerId Container ID
|
|
22242
|
+
* @param {*} [options] Override http request option.
|
|
22243
|
+
* @throws {RequiredError}
|
|
22244
|
+
* @memberof ContainerActionsApi
|
|
22245
|
+
*/
|
|
22246
|
+
public rebootContainer(containerId: string, options?: AxiosRequestConfig) {
|
|
22247
|
+
return ContainerActionsApiFp(this.configuration).rebootContainer(containerId, options).then((request) => request(this.axios, this.basePath));
|
|
22248
|
+
}
|
|
22249
|
+
|
|
22250
|
+
/**
|
|
22251
|
+
*
|
|
22252
|
+
* @summary Redeploy container
|
|
22253
|
+
* @param {string} containerId Container ID
|
|
22254
|
+
* @param {*} [options] Override http request option.
|
|
22255
|
+
* @throws {RequiredError}
|
|
22256
|
+
* @memberof ContainerActionsApi
|
|
22257
|
+
*/
|
|
22258
|
+
public redeployContainer(containerId: string, options?: AxiosRequestConfig) {
|
|
22259
|
+
return ContainerActionsApiFp(this.configuration).redeployContainer(containerId, options).then((request) => request(this.axios, this.basePath));
|
|
22260
|
+
}
|
|
22261
|
+
|
|
22262
|
+
/**
|
|
22263
|
+
* **Deprecated** - Please use the \"Redeploy container\" endpoint now
|
|
22264
|
+
* @summary Deprecated - Restart container
|
|
21969
22265
|
* @param {string} containerId Container ID
|
|
21970
22266
|
* @param {*} [options] Override http request option.
|
|
21971
22267
|
* @throws {RequiredError}
|
|
@@ -26671,10 +26967,10 @@ export const DatabaseActionsApiAxiosParamCreator = function (configuration?: Con
|
|
|
26671
26967
|
* @param {*} [options] Override http request option.
|
|
26672
26968
|
* @throws {RequiredError}
|
|
26673
26969
|
*/
|
|
26674
|
-
|
|
26970
|
+
rebootDatabase: async (databaseId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26675
26971
|
// verify required parameter 'databaseId' is not null or undefined
|
|
26676
|
-
assertParamExists('
|
|
26677
|
-
const localVarPath = `/database/{databaseId}/restart`
|
|
26972
|
+
assertParamExists('rebootDatabase', 'databaseId', databaseId)
|
|
26973
|
+
const localVarPath = `/database/{databaseId}/restart-service`
|
|
26678
26974
|
.replace(`{${"databaseId"}}`, encodeURIComponent(String(databaseId)));
|
|
26679
26975
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26680
26976
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -26704,14 +27000,90 @@ export const DatabaseActionsApiAxiosParamCreator = function (configuration?: Con
|
|
|
26704
27000
|
},
|
|
26705
27001
|
/**
|
|
26706
27002
|
*
|
|
26707
|
-
* @summary
|
|
27003
|
+
* @summary Redeploy database
|
|
26708
27004
|
* @param {string} databaseId Database ID
|
|
26709
27005
|
* @param {*} [options] Override http request option.
|
|
26710
27006
|
* @throws {RequiredError}
|
|
26711
27007
|
*/
|
|
26712
|
-
|
|
27008
|
+
redeployDatabase: async (databaseId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26713
27009
|
// verify required parameter 'databaseId' is not null or undefined
|
|
26714
|
-
assertParamExists('
|
|
27010
|
+
assertParamExists('redeployDatabase', 'databaseId', databaseId)
|
|
27011
|
+
const localVarPath = `/database/{databaseId}/redeploy`
|
|
27012
|
+
.replace(`{${"databaseId"}}`, encodeURIComponent(String(databaseId)));
|
|
27013
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
27014
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
27015
|
+
let baseOptions;
|
|
27016
|
+
if (configuration) {
|
|
27017
|
+
baseOptions = configuration.baseOptions;
|
|
27018
|
+
}
|
|
27019
|
+
|
|
27020
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
27021
|
+
const localVarHeaderParameter = {} as any;
|
|
27022
|
+
const localVarQueryParameter = {} as any;
|
|
27023
|
+
|
|
27024
|
+
// authentication bearerAuth required
|
|
27025
|
+
// http bearer authentication required
|
|
27026
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
27027
|
+
|
|
27028
|
+
|
|
27029
|
+
|
|
27030
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
27031
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27032
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
27033
|
+
|
|
27034
|
+
return {
|
|
27035
|
+
url: toPathString(localVarUrlObj),
|
|
27036
|
+
options: localVarRequestOptions,
|
|
27037
|
+
};
|
|
27038
|
+
},
|
|
27039
|
+
/**
|
|
27040
|
+
* **Deprecated** - Please use the \"Redeploy database\" endpoint now
|
|
27041
|
+
* @summary Deprecated - Restart database
|
|
27042
|
+
* @param {string} databaseId Database ID
|
|
27043
|
+
* @param {*} [options] Override http request option.
|
|
27044
|
+
* @throws {RequiredError}
|
|
27045
|
+
*/
|
|
27046
|
+
restartDatabase: async (databaseId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27047
|
+
// verify required parameter 'databaseId' is not null or undefined
|
|
27048
|
+
assertParamExists('restartDatabase', 'databaseId', databaseId)
|
|
27049
|
+
const localVarPath = `/database/{databaseId}/restart`
|
|
27050
|
+
.replace(`{${"databaseId"}}`, encodeURIComponent(String(databaseId)));
|
|
27051
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
27052
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
27053
|
+
let baseOptions;
|
|
27054
|
+
if (configuration) {
|
|
27055
|
+
baseOptions = configuration.baseOptions;
|
|
27056
|
+
}
|
|
27057
|
+
|
|
27058
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
27059
|
+
const localVarHeaderParameter = {} as any;
|
|
27060
|
+
const localVarQueryParameter = {} as any;
|
|
27061
|
+
|
|
27062
|
+
// authentication bearerAuth required
|
|
27063
|
+
// http bearer authentication required
|
|
27064
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
27065
|
+
|
|
27066
|
+
|
|
27067
|
+
|
|
27068
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
27069
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27070
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
27071
|
+
|
|
27072
|
+
return {
|
|
27073
|
+
url: toPathString(localVarUrlObj),
|
|
27074
|
+
options: localVarRequestOptions,
|
|
27075
|
+
};
|
|
27076
|
+
},
|
|
27077
|
+
/**
|
|
27078
|
+
*
|
|
27079
|
+
* @summary Stop database
|
|
27080
|
+
* @param {string} databaseId Database ID
|
|
27081
|
+
* @param {*} [options] Override http request option.
|
|
27082
|
+
* @throws {RequiredError}
|
|
27083
|
+
*/
|
|
27084
|
+
stopDatabase: async (databaseId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27085
|
+
// verify required parameter 'databaseId' is not null or undefined
|
|
27086
|
+
assertParamExists('stopDatabase', 'databaseId', databaseId)
|
|
26715
27087
|
const localVarPath = `/database/{databaseId}/stop`
|
|
26716
27088
|
.replace(`{${"databaseId"}}`, encodeURIComponent(String(databaseId)));
|
|
26717
27089
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -26768,6 +27140,28 @@ export const DatabaseActionsApiFp = function(configuration?: Configuration) {
|
|
|
26768
27140
|
* @param {*} [options] Override http request option.
|
|
26769
27141
|
* @throws {RequiredError}
|
|
26770
27142
|
*/
|
|
27143
|
+
async rebootDatabase(databaseId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
27144
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.rebootDatabase(databaseId, options);
|
|
27145
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
27146
|
+
},
|
|
27147
|
+
/**
|
|
27148
|
+
*
|
|
27149
|
+
* @summary Redeploy database
|
|
27150
|
+
* @param {string} databaseId Database ID
|
|
27151
|
+
* @param {*} [options] Override http request option.
|
|
27152
|
+
* @throws {RequiredError}
|
|
27153
|
+
*/
|
|
27154
|
+
async redeployDatabase(databaseId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
27155
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.redeployDatabase(databaseId, options);
|
|
27156
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
27157
|
+
},
|
|
27158
|
+
/**
|
|
27159
|
+
* **Deprecated** - Please use the \"Redeploy database\" endpoint now
|
|
27160
|
+
* @summary Deprecated - Restart database
|
|
27161
|
+
* @param {string} databaseId Database ID
|
|
27162
|
+
* @param {*} [options] Override http request option.
|
|
27163
|
+
* @throws {RequiredError}
|
|
27164
|
+
*/
|
|
26771
27165
|
async restartDatabase(databaseId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
26772
27166
|
const localVarAxiosArgs = await localVarAxiosParamCreator.restartDatabase(databaseId, options);
|
|
26773
27167
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
@@ -26810,6 +27204,26 @@ export const DatabaseActionsApiFactory = function (configuration?: Configuration
|
|
|
26810
27204
|
* @param {*} [options] Override http request option.
|
|
26811
27205
|
* @throws {RequiredError}
|
|
26812
27206
|
*/
|
|
27207
|
+
rebootDatabase(databaseId: string, options?: any): AxiosPromise<Status> {
|
|
27208
|
+
return localVarFp.rebootDatabase(databaseId, options).then((request) => request(axios, basePath));
|
|
27209
|
+
},
|
|
27210
|
+
/**
|
|
27211
|
+
*
|
|
27212
|
+
* @summary Redeploy database
|
|
27213
|
+
* @param {string} databaseId Database ID
|
|
27214
|
+
* @param {*} [options] Override http request option.
|
|
27215
|
+
* @throws {RequiredError}
|
|
27216
|
+
*/
|
|
27217
|
+
redeployDatabase(databaseId: string, options?: any): AxiosPromise<Status> {
|
|
27218
|
+
return localVarFp.redeployDatabase(databaseId, options).then((request) => request(axios, basePath));
|
|
27219
|
+
},
|
|
27220
|
+
/**
|
|
27221
|
+
* **Deprecated** - Please use the \"Redeploy database\" endpoint now
|
|
27222
|
+
* @summary Deprecated - Restart database
|
|
27223
|
+
* @param {string} databaseId Database ID
|
|
27224
|
+
* @param {*} [options] Override http request option.
|
|
27225
|
+
* @throws {RequiredError}
|
|
27226
|
+
*/
|
|
26813
27227
|
restartDatabase(databaseId: string, options?: any): AxiosPromise<Status> {
|
|
26814
27228
|
return localVarFp.restartDatabase(databaseId, options).then((request) => request(axios, basePath));
|
|
26815
27229
|
},
|
|
@@ -26853,6 +27267,30 @@ export class DatabaseActionsApi extends BaseAPI {
|
|
|
26853
27267
|
* @throws {RequiredError}
|
|
26854
27268
|
* @memberof DatabaseActionsApi
|
|
26855
27269
|
*/
|
|
27270
|
+
public rebootDatabase(databaseId: string, options?: AxiosRequestConfig) {
|
|
27271
|
+
return DatabaseActionsApiFp(this.configuration).rebootDatabase(databaseId, options).then((request) => request(this.axios, this.basePath));
|
|
27272
|
+
}
|
|
27273
|
+
|
|
27274
|
+
/**
|
|
27275
|
+
*
|
|
27276
|
+
* @summary Redeploy database
|
|
27277
|
+
* @param {string} databaseId Database ID
|
|
27278
|
+
* @param {*} [options] Override http request option.
|
|
27279
|
+
* @throws {RequiredError}
|
|
27280
|
+
* @memberof DatabaseActionsApi
|
|
27281
|
+
*/
|
|
27282
|
+
public redeployDatabase(databaseId: string, options?: AxiosRequestConfig) {
|
|
27283
|
+
return DatabaseActionsApiFp(this.configuration).redeployDatabase(databaseId, options).then((request) => request(this.axios, this.basePath));
|
|
27284
|
+
}
|
|
27285
|
+
|
|
27286
|
+
/**
|
|
27287
|
+
* **Deprecated** - Please use the \"Redeploy database\" endpoint now
|
|
27288
|
+
* @summary Deprecated - Restart database
|
|
27289
|
+
* @param {string} databaseId Database ID
|
|
27290
|
+
* @param {*} [options] Override http request option.
|
|
27291
|
+
* @throws {RequiredError}
|
|
27292
|
+
* @memberof DatabaseActionsApi
|
|
27293
|
+
*/
|
|
26856
27294
|
public restartDatabase(databaseId: string, options?: AxiosRequestConfig) {
|
|
26857
27295
|
return DatabaseActionsApiFp(this.configuration).restartDatabase(databaseId, options).then((request) => request(this.axios, this.basePath));
|
|
26858
27296
|
}
|
|
@@ -29302,15 +29740,94 @@ export const EnvironmentActionsApiAxiosParamCreator = function (configuration?:
|
|
|
29302
29740
|
options: localVarRequestOptions,
|
|
29303
29741
|
};
|
|
29304
29742
|
},
|
|
29743
|
+
/**
|
|
29744
|
+
* Update and reboot the selected services
|
|
29745
|
+
* @summary Reboot services
|
|
29746
|
+
* @param {string} environmentId Environment ID
|
|
29747
|
+
* @param {RebootServicesRequest} [rebootServicesRequest]
|
|
29748
|
+
* @param {*} [options] Override http request option.
|
|
29749
|
+
* @throws {RequiredError}
|
|
29750
|
+
*/
|
|
29751
|
+
rebootServices: async (environmentId: string, rebootServicesRequest?: RebootServicesRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29752
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
29753
|
+
assertParamExists('rebootServices', 'environmentId', environmentId)
|
|
29754
|
+
const localVarPath = `/environment/{environmentId}/service/restart-service`
|
|
29755
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
29756
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29757
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29758
|
+
let baseOptions;
|
|
29759
|
+
if (configuration) {
|
|
29760
|
+
baseOptions = configuration.baseOptions;
|
|
29761
|
+
}
|
|
29762
|
+
|
|
29763
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
29764
|
+
const localVarHeaderParameter = {} as any;
|
|
29765
|
+
const localVarQueryParameter = {} as any;
|
|
29766
|
+
|
|
29767
|
+
// authentication bearerAuth required
|
|
29768
|
+
// http bearer authentication required
|
|
29769
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
29770
|
+
|
|
29771
|
+
|
|
29772
|
+
|
|
29773
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
29774
|
+
|
|
29775
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29776
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29777
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29778
|
+
localVarRequestOptions.data = serializeDataIfNeeded(rebootServicesRequest, localVarRequestOptions, configuration)
|
|
29779
|
+
|
|
29780
|
+
return {
|
|
29781
|
+
url: toPathString(localVarUrlObj),
|
|
29782
|
+
options: localVarRequestOptions,
|
|
29783
|
+
};
|
|
29784
|
+
},
|
|
29305
29785
|
/**
|
|
29306
29786
|
*
|
|
29307
|
-
* @summary
|
|
29787
|
+
* @summary Redeploy environment
|
|
29308
29788
|
* @param {string} environmentId Environment ID
|
|
29309
|
-
* @param {EnvironmentRestartRequest} [environmentRestartRequest]
|
|
29310
29789
|
* @param {*} [options] Override http request option.
|
|
29311
29790
|
* @throws {RequiredError}
|
|
29312
29791
|
*/
|
|
29313
|
-
|
|
29792
|
+
redeployEnvironment: async (environmentId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29793
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
29794
|
+
assertParamExists('redeployEnvironment', 'environmentId', environmentId)
|
|
29795
|
+
const localVarPath = `/environment/{environmentId}/redeploy`
|
|
29796
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
29797
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29798
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29799
|
+
let baseOptions;
|
|
29800
|
+
if (configuration) {
|
|
29801
|
+
baseOptions = configuration.baseOptions;
|
|
29802
|
+
}
|
|
29803
|
+
|
|
29804
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
29805
|
+
const localVarHeaderParameter = {} as any;
|
|
29806
|
+
const localVarQueryParameter = {} as any;
|
|
29807
|
+
|
|
29808
|
+
// authentication bearerAuth required
|
|
29809
|
+
// http bearer authentication required
|
|
29810
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
29811
|
+
|
|
29812
|
+
|
|
29813
|
+
|
|
29814
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29815
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29816
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29817
|
+
|
|
29818
|
+
return {
|
|
29819
|
+
url: toPathString(localVarUrlObj),
|
|
29820
|
+
options: localVarRequestOptions,
|
|
29821
|
+
};
|
|
29822
|
+
},
|
|
29823
|
+
/**
|
|
29824
|
+
* **Deprecated** - Please use the \"Redeploy environment\" endpoint now
|
|
29825
|
+
* @summary Deprecated - Restart environment
|
|
29826
|
+
* @param {string} environmentId Environment ID
|
|
29827
|
+
* @param {*} [options] Override http request option.
|
|
29828
|
+
* @throws {RequiredError}
|
|
29829
|
+
*/
|
|
29830
|
+
restartEnvironment: async (environmentId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29314
29831
|
// verify required parameter 'environmentId' is not null or undefined
|
|
29315
29832
|
assertParamExists('restartEnvironment', 'environmentId', environmentId)
|
|
29316
29833
|
const localVarPath = `/environment/{environmentId}/restart`
|
|
@@ -29332,12 +29849,9 @@ export const EnvironmentActionsApiAxiosParamCreator = function (configuration?:
|
|
|
29332
29849
|
|
|
29333
29850
|
|
|
29334
29851
|
|
|
29335
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
29336
|
-
|
|
29337
29852
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29338
29853
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29339
29854
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29340
|
-
localVarRequestOptions.data = serializeDataIfNeeded(environmentRestartRequest, localVarRequestOptions, configuration)
|
|
29341
29855
|
|
|
29342
29856
|
return {
|
|
29343
29857
|
url: toPathString(localVarUrlObj),
|
|
@@ -29438,16 +29952,38 @@ export const EnvironmentActionsApiFp = function(configuration?: Configuration) {
|
|
|
29438
29952
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deployEnvironment(environmentId, options);
|
|
29439
29953
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29440
29954
|
},
|
|
29955
|
+
/**
|
|
29956
|
+
* Update and reboot the selected services
|
|
29957
|
+
* @summary Reboot services
|
|
29958
|
+
* @param {string} environmentId Environment ID
|
|
29959
|
+
* @param {RebootServicesRequest} [rebootServicesRequest]
|
|
29960
|
+
* @param {*} [options] Override http request option.
|
|
29961
|
+
* @throws {RequiredError}
|
|
29962
|
+
*/
|
|
29963
|
+
async rebootServices(environmentId: string, rebootServicesRequest?: RebootServicesRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
29964
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.rebootServices(environmentId, rebootServicesRequest, options);
|
|
29965
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29966
|
+
},
|
|
29441
29967
|
/**
|
|
29442
29968
|
*
|
|
29443
|
-
* @summary
|
|
29969
|
+
* @summary Redeploy environment
|
|
29970
|
+
* @param {string} environmentId Environment ID
|
|
29971
|
+
* @param {*} [options] Override http request option.
|
|
29972
|
+
* @throws {RequiredError}
|
|
29973
|
+
*/
|
|
29974
|
+
async redeployEnvironment(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
29975
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.redeployEnvironment(environmentId, options);
|
|
29976
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29977
|
+
},
|
|
29978
|
+
/**
|
|
29979
|
+
* **Deprecated** - Please use the \"Redeploy environment\" endpoint now
|
|
29980
|
+
* @summary Deprecated - Restart environment
|
|
29444
29981
|
* @param {string} environmentId Environment ID
|
|
29445
|
-
* @param {EnvironmentRestartRequest} [environmentRestartRequest]
|
|
29446
29982
|
* @param {*} [options] Override http request option.
|
|
29447
29983
|
* @throws {RequiredError}
|
|
29448
29984
|
*/
|
|
29449
|
-
async restartEnvironment(environmentId: string,
|
|
29450
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.restartEnvironment(environmentId,
|
|
29985
|
+
async restartEnvironment(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
29986
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.restartEnvironment(environmentId, options);
|
|
29451
29987
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29452
29988
|
},
|
|
29453
29989
|
/**
|
|
@@ -29513,16 +30049,36 @@ export const EnvironmentActionsApiFactory = function (configuration?: Configurat
|
|
|
29513
30049
|
deployEnvironment(environmentId: string, options?: any): AxiosPromise<Status> {
|
|
29514
30050
|
return localVarFp.deployEnvironment(environmentId, options).then((request) => request(axios, basePath));
|
|
29515
30051
|
},
|
|
30052
|
+
/**
|
|
30053
|
+
* Update and reboot the selected services
|
|
30054
|
+
* @summary Reboot services
|
|
30055
|
+
* @param {string} environmentId Environment ID
|
|
30056
|
+
* @param {RebootServicesRequest} [rebootServicesRequest]
|
|
30057
|
+
* @param {*} [options] Override http request option.
|
|
30058
|
+
* @throws {RequiredError}
|
|
30059
|
+
*/
|
|
30060
|
+
rebootServices(environmentId: string, rebootServicesRequest?: RebootServicesRequest, options?: any): AxiosPromise<Status> {
|
|
30061
|
+
return localVarFp.rebootServices(environmentId, rebootServicesRequest, options).then((request) => request(axios, basePath));
|
|
30062
|
+
},
|
|
29516
30063
|
/**
|
|
29517
30064
|
*
|
|
29518
|
-
* @summary
|
|
30065
|
+
* @summary Redeploy environment
|
|
30066
|
+
* @param {string} environmentId Environment ID
|
|
30067
|
+
* @param {*} [options] Override http request option.
|
|
30068
|
+
* @throws {RequiredError}
|
|
30069
|
+
*/
|
|
30070
|
+
redeployEnvironment(environmentId: string, options?: any): AxiosPromise<Status> {
|
|
30071
|
+
return localVarFp.redeployEnvironment(environmentId, options).then((request) => request(axios, basePath));
|
|
30072
|
+
},
|
|
30073
|
+
/**
|
|
30074
|
+
* **Deprecated** - Please use the \"Redeploy environment\" endpoint now
|
|
30075
|
+
* @summary Deprecated - Restart environment
|
|
29519
30076
|
* @param {string} environmentId Environment ID
|
|
29520
|
-
* @param {EnvironmentRestartRequest} [environmentRestartRequest]
|
|
29521
30077
|
* @param {*} [options] Override http request option.
|
|
29522
30078
|
* @throws {RequiredError}
|
|
29523
30079
|
*/
|
|
29524
|
-
restartEnvironment(environmentId: string,
|
|
29525
|
-
return localVarFp.restartEnvironment(environmentId,
|
|
30080
|
+
restartEnvironment(environmentId: string, options?: any): AxiosPromise<Status> {
|
|
30081
|
+
return localVarFp.restartEnvironment(environmentId, options).then((request) => request(axios, basePath));
|
|
29526
30082
|
},
|
|
29527
30083
|
/**
|
|
29528
30084
|
*
|
|
@@ -29594,17 +30150,41 @@ export class EnvironmentActionsApi extends BaseAPI {
|
|
|
29594
30150
|
return EnvironmentActionsApiFp(this.configuration).deployEnvironment(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
29595
30151
|
}
|
|
29596
30152
|
|
|
30153
|
+
/**
|
|
30154
|
+
* Update and reboot the selected services
|
|
30155
|
+
* @summary Reboot services
|
|
30156
|
+
* @param {string} environmentId Environment ID
|
|
30157
|
+
* @param {RebootServicesRequest} [rebootServicesRequest]
|
|
30158
|
+
* @param {*} [options] Override http request option.
|
|
30159
|
+
* @throws {RequiredError}
|
|
30160
|
+
* @memberof EnvironmentActionsApi
|
|
30161
|
+
*/
|
|
30162
|
+
public rebootServices(environmentId: string, rebootServicesRequest?: RebootServicesRequest, options?: AxiosRequestConfig) {
|
|
30163
|
+
return EnvironmentActionsApiFp(this.configuration).rebootServices(environmentId, rebootServicesRequest, options).then((request) => request(this.axios, this.basePath));
|
|
30164
|
+
}
|
|
30165
|
+
|
|
29597
30166
|
/**
|
|
29598
30167
|
*
|
|
29599
|
-
* @summary
|
|
30168
|
+
* @summary Redeploy environment
|
|
29600
30169
|
* @param {string} environmentId Environment ID
|
|
29601
|
-
* @param {EnvironmentRestartRequest} [environmentRestartRequest]
|
|
29602
30170
|
* @param {*} [options] Override http request option.
|
|
29603
30171
|
* @throws {RequiredError}
|
|
29604
30172
|
* @memberof EnvironmentActionsApi
|
|
29605
30173
|
*/
|
|
29606
|
-
public
|
|
29607
|
-
return EnvironmentActionsApiFp(this.configuration).
|
|
30174
|
+
public redeployEnvironment(environmentId: string, options?: AxiosRequestConfig) {
|
|
30175
|
+
return EnvironmentActionsApiFp(this.configuration).redeployEnvironment(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
30176
|
+
}
|
|
30177
|
+
|
|
30178
|
+
/**
|
|
30179
|
+
* **Deprecated** - Please use the \"Redeploy environment\" endpoint now
|
|
30180
|
+
* @summary Deprecated - Restart environment
|
|
30181
|
+
* @param {string} environmentId Environment ID
|
|
30182
|
+
* @param {*} [options] Override http request option.
|
|
30183
|
+
* @throws {RequiredError}
|
|
30184
|
+
* @memberof EnvironmentActionsApi
|
|
30185
|
+
*/
|
|
30186
|
+
public restartEnvironment(environmentId: string, options?: AxiosRequestConfig) {
|
|
30187
|
+
return EnvironmentActionsApiFp(this.configuration).restartEnvironment(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
29608
30188
|
}
|
|
29609
30189
|
|
|
29610
30190
|
/**
|
|
@@ -32673,7 +33253,50 @@ export const JobActionsApiAxiosParamCreator = function (configuration?: Configur
|
|
|
32673
33253
|
},
|
|
32674
33254
|
/**
|
|
32675
33255
|
*
|
|
32676
|
-
* @summary
|
|
33256
|
+
* @summary Redeploy job
|
|
33257
|
+
* @param {string} jobId Job ID
|
|
33258
|
+
* @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.
|
|
33259
|
+
* @param {*} [options] Override http request option.
|
|
33260
|
+
* @throws {RequiredError}
|
|
33261
|
+
*/
|
|
33262
|
+
redeployJob: async (jobId: string, forceEvent?: JobForceEvent, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33263
|
+
// verify required parameter 'jobId' is not null or undefined
|
|
33264
|
+
assertParamExists('redeployJob', 'jobId', jobId)
|
|
33265
|
+
const localVarPath = `/job/{jobId}/redeploy`
|
|
33266
|
+
.replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)));
|
|
33267
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33268
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33269
|
+
let baseOptions;
|
|
33270
|
+
if (configuration) {
|
|
33271
|
+
baseOptions = configuration.baseOptions;
|
|
33272
|
+
}
|
|
33273
|
+
|
|
33274
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
33275
|
+
const localVarHeaderParameter = {} as any;
|
|
33276
|
+
const localVarQueryParameter = {} as any;
|
|
33277
|
+
|
|
33278
|
+
// authentication bearerAuth required
|
|
33279
|
+
// http bearer authentication required
|
|
33280
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
33281
|
+
|
|
33282
|
+
if (forceEvent !== undefined) {
|
|
33283
|
+
localVarQueryParameter['forceEvent'] = forceEvent;
|
|
33284
|
+
}
|
|
33285
|
+
|
|
33286
|
+
|
|
33287
|
+
|
|
33288
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33289
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33290
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
33291
|
+
|
|
33292
|
+
return {
|
|
33293
|
+
url: toPathString(localVarUrlObj),
|
|
33294
|
+
options: localVarRequestOptions,
|
|
33295
|
+
};
|
|
33296
|
+
},
|
|
33297
|
+
/**
|
|
33298
|
+
* **Deprecated** - Please use the \"Redeploy job\" endpoint now
|
|
33299
|
+
* @summary Deprecated - Restart job
|
|
32677
33300
|
* @param {string} jobId Job ID
|
|
32678
33301
|
* @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.
|
|
32679
33302
|
* @param {*} [options] Override http request option.
|
|
@@ -32777,7 +33400,19 @@ export const JobActionsApiFp = function(configuration?: Configuration) {
|
|
|
32777
33400
|
},
|
|
32778
33401
|
/**
|
|
32779
33402
|
*
|
|
32780
|
-
* @summary
|
|
33403
|
+
* @summary Redeploy job
|
|
33404
|
+
* @param {string} jobId Job ID
|
|
33405
|
+
* @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.
|
|
33406
|
+
* @param {*} [options] Override http request option.
|
|
33407
|
+
* @throws {RequiredError}
|
|
33408
|
+
*/
|
|
33409
|
+
async redeployJob(jobId: string, forceEvent?: JobForceEvent, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
33410
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.redeployJob(jobId, forceEvent, options);
|
|
33411
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33412
|
+
},
|
|
33413
|
+
/**
|
|
33414
|
+
* **Deprecated** - Please use the \"Redeploy job\" endpoint now
|
|
33415
|
+
* @summary Deprecated - Restart job
|
|
32781
33416
|
* @param {string} jobId Job ID
|
|
32782
33417
|
* @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.
|
|
32783
33418
|
* @param {*} [options] Override http request option.
|
|
@@ -32822,7 +33457,18 @@ export const JobActionsApiFactory = function (configuration?: Configuration, bas
|
|
|
32822
33457
|
},
|
|
32823
33458
|
/**
|
|
32824
33459
|
*
|
|
32825
|
-
* @summary
|
|
33460
|
+
* @summary Redeploy job
|
|
33461
|
+
* @param {string} jobId Job ID
|
|
33462
|
+
* @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.
|
|
33463
|
+
* @param {*} [options] Override http request option.
|
|
33464
|
+
* @throws {RequiredError}
|
|
33465
|
+
*/
|
|
33466
|
+
redeployJob(jobId: string, forceEvent?: JobForceEvent, options?: any): AxiosPromise<Status> {
|
|
33467
|
+
return localVarFp.redeployJob(jobId, forceEvent, options).then((request) => request(axios, basePath));
|
|
33468
|
+
},
|
|
33469
|
+
/**
|
|
33470
|
+
* **Deprecated** - Please use the \"Redeploy job\" endpoint now
|
|
33471
|
+
* @summary Deprecated - Restart job
|
|
32826
33472
|
* @param {string} jobId Job ID
|
|
32827
33473
|
* @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.
|
|
32828
33474
|
* @param {*} [options] Override http request option.
|
|
@@ -32867,7 +33513,20 @@ export class JobActionsApi extends BaseAPI {
|
|
|
32867
33513
|
|
|
32868
33514
|
/**
|
|
32869
33515
|
*
|
|
32870
|
-
* @summary
|
|
33516
|
+
* @summary Redeploy job
|
|
33517
|
+
* @param {string} jobId Job ID
|
|
33518
|
+
* @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.
|
|
33519
|
+
* @param {*} [options] Override http request option.
|
|
33520
|
+
* @throws {RequiredError}
|
|
33521
|
+
* @memberof JobActionsApi
|
|
33522
|
+
*/
|
|
33523
|
+
public redeployJob(jobId: string, forceEvent?: JobForceEvent, options?: AxiosRequestConfig) {
|
|
33524
|
+
return JobActionsApiFp(this.configuration).redeployJob(jobId, forceEvent, options).then((request) => request(this.axios, this.basePath));
|
|
33525
|
+
}
|
|
33526
|
+
|
|
33527
|
+
/**
|
|
33528
|
+
* **Deprecated** - Please use the \"Redeploy job\" endpoint now
|
|
33529
|
+
* @summary Deprecated - Restart job
|
|
32871
33530
|
* @param {string} jobId Job ID
|
|
32872
33531
|
* @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.
|
|
32873
33532
|
* @param {*} [options] Override http request option.
|