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/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}
|
|
@@ -16438,6 +16592,40 @@ export const ApplicationsApiAxiosParamCreator = function (configuration?: Config
|
|
|
16438
16592
|
|
|
16439
16593
|
|
|
16440
16594
|
|
|
16595
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16596
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16597
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16598
|
+
|
|
16599
|
+
return {
|
|
16600
|
+
url: toPathString(localVarUrlObj),
|
|
16601
|
+
options: localVarRequestOptions,
|
|
16602
|
+
};
|
|
16603
|
+
},
|
|
16604
|
+
/**
|
|
16605
|
+
*
|
|
16606
|
+
* @summary List default cluster advanced settings
|
|
16607
|
+
* @param {*} [options] Override http request option.
|
|
16608
|
+
* @throws {RequiredError}
|
|
16609
|
+
*/
|
|
16610
|
+
getDefaultClusterAdvancedSettings: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16611
|
+
const localVarPath = `/defaultClusterAdvancedSettings`;
|
|
16612
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16613
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16614
|
+
let baseOptions;
|
|
16615
|
+
if (configuration) {
|
|
16616
|
+
baseOptions = configuration.baseOptions;
|
|
16617
|
+
}
|
|
16618
|
+
|
|
16619
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
16620
|
+
const localVarHeaderParameter = {} as any;
|
|
16621
|
+
const localVarQueryParameter = {} as any;
|
|
16622
|
+
|
|
16623
|
+
// authentication bearerAuth required
|
|
16624
|
+
// http bearer authentication required
|
|
16625
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
16626
|
+
|
|
16627
|
+
|
|
16628
|
+
|
|
16441
16629
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16442
16630
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16443
16631
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -16669,6 +16857,16 @@ export const ApplicationsApiFp = function(configuration?: Configuration) {
|
|
|
16669
16857
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getDefaultApplicationAdvancedSettings(options);
|
|
16670
16858
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
16671
16859
|
},
|
|
16860
|
+
/**
|
|
16861
|
+
*
|
|
16862
|
+
* @summary List default cluster advanced settings
|
|
16863
|
+
* @param {*} [options] Override http request option.
|
|
16864
|
+
* @throws {RequiredError}
|
|
16865
|
+
*/
|
|
16866
|
+
async getDefaultClusterAdvancedSettings(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterAdvancedSettings>> {
|
|
16867
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getDefaultClusterAdvancedSettings(options);
|
|
16868
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
16869
|
+
},
|
|
16672
16870
|
/**
|
|
16673
16871
|
* Returns min, max, and running number of instances for each application
|
|
16674
16872
|
* @summary List current scaling information for each application
|
|
@@ -16754,6 +16952,15 @@ export const ApplicationsApiFactory = function (configuration?: Configuration, b
|
|
|
16754
16952
|
getDefaultApplicationAdvancedSettings(options?: any): AxiosPromise<ApplicationAdvancedSettings> {
|
|
16755
16953
|
return localVarFp.getDefaultApplicationAdvancedSettings(options).then((request) => request(axios, basePath));
|
|
16756
16954
|
},
|
|
16955
|
+
/**
|
|
16956
|
+
*
|
|
16957
|
+
* @summary List default cluster advanced settings
|
|
16958
|
+
* @param {*} [options] Override http request option.
|
|
16959
|
+
* @throws {RequiredError}
|
|
16960
|
+
*/
|
|
16961
|
+
getDefaultClusterAdvancedSettings(options?: any): AxiosPromise<ClusterAdvancedSettings> {
|
|
16962
|
+
return localVarFp.getDefaultClusterAdvancedSettings(options).then((request) => request(axios, basePath));
|
|
16963
|
+
},
|
|
16757
16964
|
/**
|
|
16758
16965
|
* Returns min, max, and running number of instances for each application
|
|
16759
16966
|
* @summary List current scaling information for each application
|
|
@@ -16838,6 +17045,17 @@ export class ApplicationsApi extends BaseAPI {
|
|
|
16838
17045
|
return ApplicationsApiFp(this.configuration).getDefaultApplicationAdvancedSettings(options).then((request) => request(this.axios, this.basePath));
|
|
16839
17046
|
}
|
|
16840
17047
|
|
|
17048
|
+
/**
|
|
17049
|
+
*
|
|
17050
|
+
* @summary List default cluster advanced settings
|
|
17051
|
+
* @param {*} [options] Override http request option.
|
|
17052
|
+
* @throws {RequiredError}
|
|
17053
|
+
* @memberof ApplicationsApi
|
|
17054
|
+
*/
|
|
17055
|
+
public getDefaultClusterAdvancedSettings(options?: AxiosRequestConfig) {
|
|
17056
|
+
return ApplicationsApiFp(this.configuration).getDefaultClusterAdvancedSettings(options).then((request) => request(this.axios, this.basePath));
|
|
17057
|
+
}
|
|
17058
|
+
|
|
16841
17059
|
/**
|
|
16842
17060
|
* Returns min, max, and running number of instances for each application
|
|
16843
17061
|
* @summary List current scaling information for each application
|
|
@@ -21781,15 +21999,15 @@ export const ContainerActionsApiAxiosParamCreator = function (configuration?: Co
|
|
|
21781
21999
|
},
|
|
21782
22000
|
/**
|
|
21783
22001
|
*
|
|
21784
|
-
* @summary
|
|
22002
|
+
* @summary Reboot container
|
|
21785
22003
|
* @param {string} containerId Container ID
|
|
21786
22004
|
* @param {*} [options] Override http request option.
|
|
21787
22005
|
* @throws {RequiredError}
|
|
21788
22006
|
*/
|
|
21789
|
-
|
|
22007
|
+
rebootContainer: async (containerId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21790
22008
|
// verify required parameter 'containerId' is not null or undefined
|
|
21791
|
-
assertParamExists('
|
|
21792
|
-
const localVarPath = `/container/{containerId}/restart`
|
|
22009
|
+
assertParamExists('rebootContainer', 'containerId', containerId)
|
|
22010
|
+
const localVarPath = `/container/{containerId}/restart-service`
|
|
21793
22011
|
.replace(`{${"containerId"}}`, encodeURIComponent(String(containerId)));
|
|
21794
22012
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21795
22013
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -21819,15 +22037,15 @@ export const ContainerActionsApiAxiosParamCreator = function (configuration?: Co
|
|
|
21819
22037
|
},
|
|
21820
22038
|
/**
|
|
21821
22039
|
*
|
|
21822
|
-
* @summary
|
|
22040
|
+
* @summary Redeploy container
|
|
21823
22041
|
* @param {string} containerId Container ID
|
|
21824
22042
|
* @param {*} [options] Override http request option.
|
|
21825
22043
|
* @throws {RequiredError}
|
|
21826
22044
|
*/
|
|
21827
|
-
|
|
22045
|
+
redeployContainer: async (containerId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21828
22046
|
// verify required parameter 'containerId' is not null or undefined
|
|
21829
|
-
assertParamExists('
|
|
21830
|
-
const localVarPath = `/container/{containerId}/
|
|
22047
|
+
assertParamExists('redeployContainer', 'containerId', containerId)
|
|
22048
|
+
const localVarPath = `/container/{containerId}/redeploy`
|
|
21831
22049
|
.replace(`{${"containerId"}}`, encodeURIComponent(String(containerId)));
|
|
21832
22050
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21833
22051
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -21855,38 +22073,43 @@ export const ContainerActionsApiAxiosParamCreator = function (configuration?: Co
|
|
|
21855
22073
|
options: localVarRequestOptions,
|
|
21856
22074
|
};
|
|
21857
22075
|
},
|
|
21858
|
-
}
|
|
21859
|
-
};
|
|
21860
|
-
|
|
21861
|
-
/**
|
|
21862
|
-
* ContainerActionsApi - functional programming interface
|
|
21863
|
-
* @export
|
|
21864
|
-
*/
|
|
21865
|
-
export const ContainerActionsApiFp = function(configuration?: Configuration) {
|
|
21866
|
-
const localVarAxiosParamCreator = ContainerActionsApiAxiosParamCreator(configuration)
|
|
21867
|
-
return {
|
|
21868
|
-
/**
|
|
21869
|
-
* You must provide a git commit id
|
|
21870
|
-
* @summary Deploy container
|
|
21871
|
-
* @param {string} containerId Container ID
|
|
21872
|
-
* @param {ContainerDeployRequest} [containerDeployRequest]
|
|
21873
|
-
* @param {*} [options] Override http request option.
|
|
21874
|
-
* @throws {RequiredError}
|
|
21875
|
-
*/
|
|
21876
|
-
async deployContainer(containerId: string, containerDeployRequest?: ContainerDeployRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
21877
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deployContainer(containerId, containerDeployRequest, options);
|
|
21878
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21879
|
-
},
|
|
21880
22076
|
/**
|
|
21881
|
-
*
|
|
21882
|
-
* @summary Restart container
|
|
22077
|
+
* **Deprecated** - Please use the \"Redeploy container\" endpoint now
|
|
22078
|
+
* @summary Deprecated - Restart container
|
|
21883
22079
|
* @param {string} containerId Container ID
|
|
21884
22080
|
* @param {*} [options] Override http request option.
|
|
21885
22081
|
* @throws {RequiredError}
|
|
21886
22082
|
*/
|
|
21887
|
-
async
|
|
21888
|
-
|
|
21889
|
-
|
|
22083
|
+
restartContainer: async (containerId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22084
|
+
// verify required parameter 'containerId' is not null or undefined
|
|
22085
|
+
assertParamExists('restartContainer', 'containerId', containerId)
|
|
22086
|
+
const localVarPath = `/container/{containerId}/restart`
|
|
22087
|
+
.replace(`{${"containerId"}}`, encodeURIComponent(String(containerId)));
|
|
22088
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22089
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
22090
|
+
let baseOptions;
|
|
22091
|
+
if (configuration) {
|
|
22092
|
+
baseOptions = configuration.baseOptions;
|
|
22093
|
+
}
|
|
22094
|
+
|
|
22095
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
22096
|
+
const localVarHeaderParameter = {} as any;
|
|
22097
|
+
const localVarQueryParameter = {} as any;
|
|
22098
|
+
|
|
22099
|
+
// authentication bearerAuth required
|
|
22100
|
+
// http bearer authentication required
|
|
22101
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
22102
|
+
|
|
22103
|
+
|
|
22104
|
+
|
|
22105
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22106
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22107
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
22108
|
+
|
|
22109
|
+
return {
|
|
22110
|
+
url: toPathString(localVarUrlObj),
|
|
22111
|
+
options: localVarRequestOptions,
|
|
22112
|
+
};
|
|
21890
22113
|
},
|
|
21891
22114
|
/**
|
|
21892
22115
|
*
|
|
@@ -21895,9 +22118,102 @@ export const ContainerActionsApiFp = function(configuration?: Configuration) {
|
|
|
21895
22118
|
* @param {*} [options] Override http request option.
|
|
21896
22119
|
* @throws {RequiredError}
|
|
21897
22120
|
*/
|
|
21898
|
-
async
|
|
21899
|
-
|
|
21900
|
-
|
|
22121
|
+
stopContainer: async (containerId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22122
|
+
// verify required parameter 'containerId' is not null or undefined
|
|
22123
|
+
assertParamExists('stopContainer', 'containerId', containerId)
|
|
22124
|
+
const localVarPath = `/container/{containerId}/stop`
|
|
22125
|
+
.replace(`{${"containerId"}}`, encodeURIComponent(String(containerId)));
|
|
22126
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22127
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
22128
|
+
let baseOptions;
|
|
22129
|
+
if (configuration) {
|
|
22130
|
+
baseOptions = configuration.baseOptions;
|
|
22131
|
+
}
|
|
22132
|
+
|
|
22133
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
22134
|
+
const localVarHeaderParameter = {} as any;
|
|
22135
|
+
const localVarQueryParameter = {} as any;
|
|
22136
|
+
|
|
22137
|
+
// authentication bearerAuth required
|
|
22138
|
+
// http bearer authentication required
|
|
22139
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
22140
|
+
|
|
22141
|
+
|
|
22142
|
+
|
|
22143
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22144
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22145
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
22146
|
+
|
|
22147
|
+
return {
|
|
22148
|
+
url: toPathString(localVarUrlObj),
|
|
22149
|
+
options: localVarRequestOptions,
|
|
22150
|
+
};
|
|
22151
|
+
},
|
|
22152
|
+
}
|
|
22153
|
+
};
|
|
22154
|
+
|
|
22155
|
+
/**
|
|
22156
|
+
* ContainerActionsApi - functional programming interface
|
|
22157
|
+
* @export
|
|
22158
|
+
*/
|
|
22159
|
+
export const ContainerActionsApiFp = function(configuration?: Configuration) {
|
|
22160
|
+
const localVarAxiosParamCreator = ContainerActionsApiAxiosParamCreator(configuration)
|
|
22161
|
+
return {
|
|
22162
|
+
/**
|
|
22163
|
+
* You must provide a git commit id
|
|
22164
|
+
* @summary Deploy container
|
|
22165
|
+
* @param {string} containerId Container ID
|
|
22166
|
+
* @param {ContainerDeployRequest} [containerDeployRequest]
|
|
22167
|
+
* @param {*} [options] Override http request option.
|
|
22168
|
+
* @throws {RequiredError}
|
|
22169
|
+
*/
|
|
22170
|
+
async deployContainer(containerId: string, containerDeployRequest?: ContainerDeployRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
22171
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deployContainer(containerId, containerDeployRequest, options);
|
|
22172
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22173
|
+
},
|
|
22174
|
+
/**
|
|
22175
|
+
*
|
|
22176
|
+
* @summary Reboot container
|
|
22177
|
+
* @param {string} containerId Container ID
|
|
22178
|
+
* @param {*} [options] Override http request option.
|
|
22179
|
+
* @throws {RequiredError}
|
|
22180
|
+
*/
|
|
22181
|
+
async rebootContainer(containerId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
22182
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.rebootContainer(containerId, options);
|
|
22183
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
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
|
+
async redeployContainer(containerId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
22193
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.redeployContainer(containerId, options);
|
|
22194
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22195
|
+
},
|
|
22196
|
+
/**
|
|
22197
|
+
* **Deprecated** - Please use the \"Redeploy container\" endpoint now
|
|
22198
|
+
* @summary Deprecated - Restart container
|
|
22199
|
+
* @param {string} containerId Container ID
|
|
22200
|
+
* @param {*} [options] Override http request option.
|
|
22201
|
+
* @throws {RequiredError}
|
|
22202
|
+
*/
|
|
22203
|
+
async restartContainer(containerId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
22204
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.restartContainer(containerId, options);
|
|
22205
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22206
|
+
},
|
|
22207
|
+
/**
|
|
22208
|
+
*
|
|
22209
|
+
* @summary Stop container
|
|
22210
|
+
* @param {string} containerId Container ID
|
|
22211
|
+
* @param {*} [options] Override http request option.
|
|
22212
|
+
* @throws {RequiredError}
|
|
22213
|
+
*/
|
|
22214
|
+
async stopContainer(containerId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
22215
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.stopContainer(containerId, options);
|
|
22216
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21901
22217
|
},
|
|
21902
22218
|
}
|
|
21903
22219
|
};
|
|
@@ -21922,7 +22238,27 @@ export const ContainerActionsApiFactory = function (configuration?: Configuratio
|
|
|
21922
22238
|
},
|
|
21923
22239
|
/**
|
|
21924
22240
|
*
|
|
21925
|
-
* @summary
|
|
22241
|
+
* @summary Reboot container
|
|
22242
|
+
* @param {string} containerId Container ID
|
|
22243
|
+
* @param {*} [options] Override http request option.
|
|
22244
|
+
* @throws {RequiredError}
|
|
22245
|
+
*/
|
|
22246
|
+
rebootContainer(containerId: string, options?: any): AxiosPromise<Status> {
|
|
22247
|
+
return localVarFp.rebootContainer(containerId, options).then((request) => request(axios, basePath));
|
|
22248
|
+
},
|
|
22249
|
+
/**
|
|
22250
|
+
*
|
|
22251
|
+
* @summary Redeploy container
|
|
22252
|
+
* @param {string} containerId Container ID
|
|
22253
|
+
* @param {*} [options] Override http request option.
|
|
22254
|
+
* @throws {RequiredError}
|
|
22255
|
+
*/
|
|
22256
|
+
redeployContainer(containerId: string, options?: any): AxiosPromise<Status> {
|
|
22257
|
+
return localVarFp.redeployContainer(containerId, options).then((request) => request(axios, basePath));
|
|
22258
|
+
},
|
|
22259
|
+
/**
|
|
22260
|
+
* **Deprecated** - Please use the \"Redeploy container\" endpoint now
|
|
22261
|
+
* @summary Deprecated - Restart container
|
|
21926
22262
|
* @param {string} containerId Container ID
|
|
21927
22263
|
* @param {*} [options] Override http request option.
|
|
21928
22264
|
* @throws {RequiredError}
|
|
@@ -21965,7 +22301,31 @@ export class ContainerActionsApi extends BaseAPI {
|
|
|
21965
22301
|
|
|
21966
22302
|
/**
|
|
21967
22303
|
*
|
|
21968
|
-
* @summary
|
|
22304
|
+
* @summary Reboot container
|
|
22305
|
+
* @param {string} containerId Container ID
|
|
22306
|
+
* @param {*} [options] Override http request option.
|
|
22307
|
+
* @throws {RequiredError}
|
|
22308
|
+
* @memberof ContainerActionsApi
|
|
22309
|
+
*/
|
|
22310
|
+
public rebootContainer(containerId: string, options?: AxiosRequestConfig) {
|
|
22311
|
+
return ContainerActionsApiFp(this.configuration).rebootContainer(containerId, options).then((request) => request(this.axios, this.basePath));
|
|
22312
|
+
}
|
|
22313
|
+
|
|
22314
|
+
/**
|
|
22315
|
+
*
|
|
22316
|
+
* @summary Redeploy container
|
|
22317
|
+
* @param {string} containerId Container ID
|
|
22318
|
+
* @param {*} [options] Override http request option.
|
|
22319
|
+
* @throws {RequiredError}
|
|
22320
|
+
* @memberof ContainerActionsApi
|
|
22321
|
+
*/
|
|
22322
|
+
public redeployContainer(containerId: string, options?: AxiosRequestConfig) {
|
|
22323
|
+
return ContainerActionsApiFp(this.configuration).redeployContainer(containerId, options).then((request) => request(this.axios, this.basePath));
|
|
22324
|
+
}
|
|
22325
|
+
|
|
22326
|
+
/**
|
|
22327
|
+
* **Deprecated** - Please use the \"Redeploy container\" endpoint now
|
|
22328
|
+
* @summary Deprecated - Restart container
|
|
21969
22329
|
* @param {string} containerId Container ID
|
|
21970
22330
|
* @param {*} [options] Override http request option.
|
|
21971
22331
|
* @throws {RequiredError}
|
|
@@ -26671,6 +27031,82 @@ export const DatabaseActionsApiAxiosParamCreator = function (configuration?: Con
|
|
|
26671
27031
|
* @param {*} [options] Override http request option.
|
|
26672
27032
|
* @throws {RequiredError}
|
|
26673
27033
|
*/
|
|
27034
|
+
rebootDatabase: async (databaseId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27035
|
+
// verify required parameter 'databaseId' is not null or undefined
|
|
27036
|
+
assertParamExists('rebootDatabase', 'databaseId', databaseId)
|
|
27037
|
+
const localVarPath = `/database/{databaseId}/restart-service`
|
|
27038
|
+
.replace(`{${"databaseId"}}`, encodeURIComponent(String(databaseId)));
|
|
27039
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
27040
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
27041
|
+
let baseOptions;
|
|
27042
|
+
if (configuration) {
|
|
27043
|
+
baseOptions = configuration.baseOptions;
|
|
27044
|
+
}
|
|
27045
|
+
|
|
27046
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
27047
|
+
const localVarHeaderParameter = {} as any;
|
|
27048
|
+
const localVarQueryParameter = {} as any;
|
|
27049
|
+
|
|
27050
|
+
// authentication bearerAuth required
|
|
27051
|
+
// http bearer authentication required
|
|
27052
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
27053
|
+
|
|
27054
|
+
|
|
27055
|
+
|
|
27056
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
27057
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27058
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
27059
|
+
|
|
27060
|
+
return {
|
|
27061
|
+
url: toPathString(localVarUrlObj),
|
|
27062
|
+
options: localVarRequestOptions,
|
|
27063
|
+
};
|
|
27064
|
+
},
|
|
27065
|
+
/**
|
|
27066
|
+
*
|
|
27067
|
+
* @summary Redeploy database
|
|
27068
|
+
* @param {string} databaseId Database ID
|
|
27069
|
+
* @param {*} [options] Override http request option.
|
|
27070
|
+
* @throws {RequiredError}
|
|
27071
|
+
*/
|
|
27072
|
+
redeployDatabase: async (databaseId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27073
|
+
// verify required parameter 'databaseId' is not null or undefined
|
|
27074
|
+
assertParamExists('redeployDatabase', 'databaseId', databaseId)
|
|
27075
|
+
const localVarPath = `/database/{databaseId}/redeploy`
|
|
27076
|
+
.replace(`{${"databaseId"}}`, encodeURIComponent(String(databaseId)));
|
|
27077
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
27078
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
27079
|
+
let baseOptions;
|
|
27080
|
+
if (configuration) {
|
|
27081
|
+
baseOptions = configuration.baseOptions;
|
|
27082
|
+
}
|
|
27083
|
+
|
|
27084
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
27085
|
+
const localVarHeaderParameter = {} as any;
|
|
27086
|
+
const localVarQueryParameter = {} as any;
|
|
27087
|
+
|
|
27088
|
+
// authentication bearerAuth required
|
|
27089
|
+
// http bearer authentication required
|
|
27090
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
27091
|
+
|
|
27092
|
+
|
|
27093
|
+
|
|
27094
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
27095
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27096
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
27097
|
+
|
|
27098
|
+
return {
|
|
27099
|
+
url: toPathString(localVarUrlObj),
|
|
27100
|
+
options: localVarRequestOptions,
|
|
27101
|
+
};
|
|
27102
|
+
},
|
|
27103
|
+
/**
|
|
27104
|
+
* **Deprecated** - Please use the \"Redeploy database\" endpoint now
|
|
27105
|
+
* @summary Deprecated - Restart database
|
|
27106
|
+
* @param {string} databaseId Database ID
|
|
27107
|
+
* @param {*} [options] Override http request option.
|
|
27108
|
+
* @throws {RequiredError}
|
|
27109
|
+
*/
|
|
26674
27110
|
restartDatabase: async (databaseId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26675
27111
|
// verify required parameter 'databaseId' is not null or undefined
|
|
26676
27112
|
assertParamExists('restartDatabase', 'databaseId', databaseId)
|
|
@@ -26768,6 +27204,28 @@ export const DatabaseActionsApiFp = function(configuration?: Configuration) {
|
|
|
26768
27204
|
* @param {*} [options] Override http request option.
|
|
26769
27205
|
* @throws {RequiredError}
|
|
26770
27206
|
*/
|
|
27207
|
+
async rebootDatabase(databaseId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
27208
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.rebootDatabase(databaseId, options);
|
|
27209
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
27210
|
+
},
|
|
27211
|
+
/**
|
|
27212
|
+
*
|
|
27213
|
+
* @summary Redeploy database
|
|
27214
|
+
* @param {string} databaseId Database ID
|
|
27215
|
+
* @param {*} [options] Override http request option.
|
|
27216
|
+
* @throws {RequiredError}
|
|
27217
|
+
*/
|
|
27218
|
+
async redeployDatabase(databaseId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
27219
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.redeployDatabase(databaseId, options);
|
|
27220
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
27221
|
+
},
|
|
27222
|
+
/**
|
|
27223
|
+
* **Deprecated** - Please use the \"Redeploy database\" endpoint now
|
|
27224
|
+
* @summary Deprecated - Restart database
|
|
27225
|
+
* @param {string} databaseId Database ID
|
|
27226
|
+
* @param {*} [options] Override http request option.
|
|
27227
|
+
* @throws {RequiredError}
|
|
27228
|
+
*/
|
|
26771
27229
|
async restartDatabase(databaseId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
26772
27230
|
const localVarAxiosArgs = await localVarAxiosParamCreator.restartDatabase(databaseId, options);
|
|
26773
27231
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
@@ -26810,6 +27268,26 @@ export const DatabaseActionsApiFactory = function (configuration?: Configuration
|
|
|
26810
27268
|
* @param {*} [options] Override http request option.
|
|
26811
27269
|
* @throws {RequiredError}
|
|
26812
27270
|
*/
|
|
27271
|
+
rebootDatabase(databaseId: string, options?: any): AxiosPromise<Status> {
|
|
27272
|
+
return localVarFp.rebootDatabase(databaseId, options).then((request) => request(axios, basePath));
|
|
27273
|
+
},
|
|
27274
|
+
/**
|
|
27275
|
+
*
|
|
27276
|
+
* @summary Redeploy database
|
|
27277
|
+
* @param {string} databaseId Database ID
|
|
27278
|
+
* @param {*} [options] Override http request option.
|
|
27279
|
+
* @throws {RequiredError}
|
|
27280
|
+
*/
|
|
27281
|
+
redeployDatabase(databaseId: string, options?: any): AxiosPromise<Status> {
|
|
27282
|
+
return localVarFp.redeployDatabase(databaseId, options).then((request) => request(axios, basePath));
|
|
27283
|
+
},
|
|
27284
|
+
/**
|
|
27285
|
+
* **Deprecated** - Please use the \"Redeploy database\" endpoint now
|
|
27286
|
+
* @summary Deprecated - Restart database
|
|
27287
|
+
* @param {string} databaseId Database ID
|
|
27288
|
+
* @param {*} [options] Override http request option.
|
|
27289
|
+
* @throws {RequiredError}
|
|
27290
|
+
*/
|
|
26813
27291
|
restartDatabase(databaseId: string, options?: any): AxiosPromise<Status> {
|
|
26814
27292
|
return localVarFp.restartDatabase(databaseId, options).then((request) => request(axios, basePath));
|
|
26815
27293
|
},
|
|
@@ -26853,6 +27331,30 @@ export class DatabaseActionsApi extends BaseAPI {
|
|
|
26853
27331
|
* @throws {RequiredError}
|
|
26854
27332
|
* @memberof DatabaseActionsApi
|
|
26855
27333
|
*/
|
|
27334
|
+
public rebootDatabase(databaseId: string, options?: AxiosRequestConfig) {
|
|
27335
|
+
return DatabaseActionsApiFp(this.configuration).rebootDatabase(databaseId, options).then((request) => request(this.axios, this.basePath));
|
|
27336
|
+
}
|
|
27337
|
+
|
|
27338
|
+
/**
|
|
27339
|
+
*
|
|
27340
|
+
* @summary Redeploy database
|
|
27341
|
+
* @param {string} databaseId Database ID
|
|
27342
|
+
* @param {*} [options] Override http request option.
|
|
27343
|
+
* @throws {RequiredError}
|
|
27344
|
+
* @memberof DatabaseActionsApi
|
|
27345
|
+
*/
|
|
27346
|
+
public redeployDatabase(databaseId: string, options?: AxiosRequestConfig) {
|
|
27347
|
+
return DatabaseActionsApiFp(this.configuration).redeployDatabase(databaseId, options).then((request) => request(this.axios, this.basePath));
|
|
27348
|
+
}
|
|
27349
|
+
|
|
27350
|
+
/**
|
|
27351
|
+
* **Deprecated** - Please use the \"Redeploy database\" endpoint now
|
|
27352
|
+
* @summary Deprecated - Restart database
|
|
27353
|
+
* @param {string} databaseId Database ID
|
|
27354
|
+
* @param {*} [options] Override http request option.
|
|
27355
|
+
* @throws {RequiredError}
|
|
27356
|
+
* @memberof DatabaseActionsApi
|
|
27357
|
+
*/
|
|
26856
27358
|
public restartDatabase(databaseId: string, options?: AxiosRequestConfig) {
|
|
26857
27359
|
return DatabaseActionsApiFp(this.configuration).restartDatabase(databaseId, options).then((request) => request(this.axios, this.basePath));
|
|
26858
27360
|
}
|
|
@@ -29302,15 +29804,94 @@ export const EnvironmentActionsApiAxiosParamCreator = function (configuration?:
|
|
|
29302
29804
|
options: localVarRequestOptions,
|
|
29303
29805
|
};
|
|
29304
29806
|
},
|
|
29807
|
+
/**
|
|
29808
|
+
* Update and reboot the selected services
|
|
29809
|
+
* @summary Reboot services
|
|
29810
|
+
* @param {string} environmentId Environment ID
|
|
29811
|
+
* @param {RebootServicesRequest} [rebootServicesRequest]
|
|
29812
|
+
* @param {*} [options] Override http request option.
|
|
29813
|
+
* @throws {RequiredError}
|
|
29814
|
+
*/
|
|
29815
|
+
rebootServices: async (environmentId: string, rebootServicesRequest?: RebootServicesRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29816
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
29817
|
+
assertParamExists('rebootServices', 'environmentId', environmentId)
|
|
29818
|
+
const localVarPath = `/environment/{environmentId}/service/restart-service`
|
|
29819
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
29820
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29821
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29822
|
+
let baseOptions;
|
|
29823
|
+
if (configuration) {
|
|
29824
|
+
baseOptions = configuration.baseOptions;
|
|
29825
|
+
}
|
|
29826
|
+
|
|
29827
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
29828
|
+
const localVarHeaderParameter = {} as any;
|
|
29829
|
+
const localVarQueryParameter = {} as any;
|
|
29830
|
+
|
|
29831
|
+
// authentication bearerAuth required
|
|
29832
|
+
// http bearer authentication required
|
|
29833
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
29834
|
+
|
|
29835
|
+
|
|
29836
|
+
|
|
29837
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
29838
|
+
|
|
29839
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29840
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29841
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29842
|
+
localVarRequestOptions.data = serializeDataIfNeeded(rebootServicesRequest, localVarRequestOptions, configuration)
|
|
29843
|
+
|
|
29844
|
+
return {
|
|
29845
|
+
url: toPathString(localVarUrlObj),
|
|
29846
|
+
options: localVarRequestOptions,
|
|
29847
|
+
};
|
|
29848
|
+
},
|
|
29305
29849
|
/**
|
|
29306
29850
|
*
|
|
29307
|
-
* @summary
|
|
29851
|
+
* @summary Redeploy environment
|
|
29852
|
+
* @param {string} environmentId Environment ID
|
|
29853
|
+
* @param {*} [options] Override http request option.
|
|
29854
|
+
* @throws {RequiredError}
|
|
29855
|
+
*/
|
|
29856
|
+
redeployEnvironment: async (environmentId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29857
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
29858
|
+
assertParamExists('redeployEnvironment', 'environmentId', environmentId)
|
|
29859
|
+
const localVarPath = `/environment/{environmentId}/redeploy`
|
|
29860
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
29861
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29862
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29863
|
+
let baseOptions;
|
|
29864
|
+
if (configuration) {
|
|
29865
|
+
baseOptions = configuration.baseOptions;
|
|
29866
|
+
}
|
|
29867
|
+
|
|
29868
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
29869
|
+
const localVarHeaderParameter = {} as any;
|
|
29870
|
+
const localVarQueryParameter = {} as any;
|
|
29871
|
+
|
|
29872
|
+
// authentication bearerAuth required
|
|
29873
|
+
// http bearer authentication required
|
|
29874
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
29875
|
+
|
|
29876
|
+
|
|
29877
|
+
|
|
29878
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29879
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29880
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29881
|
+
|
|
29882
|
+
return {
|
|
29883
|
+
url: toPathString(localVarUrlObj),
|
|
29884
|
+
options: localVarRequestOptions,
|
|
29885
|
+
};
|
|
29886
|
+
},
|
|
29887
|
+
/**
|
|
29888
|
+
* **Deprecated** - Please use the \"Redeploy environment\" endpoint now
|
|
29889
|
+
* @summary Deprecated - Restart environment
|
|
29308
29890
|
* @param {string} environmentId Environment ID
|
|
29309
|
-
* @param {EnvironmentRestartRequest} [environmentRestartRequest]
|
|
29310
29891
|
* @param {*} [options] Override http request option.
|
|
29311
29892
|
* @throws {RequiredError}
|
|
29312
29893
|
*/
|
|
29313
|
-
restartEnvironment: async (environmentId: string,
|
|
29894
|
+
restartEnvironment: async (environmentId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29314
29895
|
// verify required parameter 'environmentId' is not null or undefined
|
|
29315
29896
|
assertParamExists('restartEnvironment', 'environmentId', environmentId)
|
|
29316
29897
|
const localVarPath = `/environment/{environmentId}/restart`
|
|
@@ -29332,12 +29913,9 @@ export const EnvironmentActionsApiAxiosParamCreator = function (configuration?:
|
|
|
29332
29913
|
|
|
29333
29914
|
|
|
29334
29915
|
|
|
29335
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
29336
|
-
|
|
29337
29916
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29338
29917
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29339
29918
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29340
|
-
localVarRequestOptions.data = serializeDataIfNeeded(environmentRestartRequest, localVarRequestOptions, configuration)
|
|
29341
29919
|
|
|
29342
29920
|
return {
|
|
29343
29921
|
url: toPathString(localVarUrlObj),
|
|
@@ -29438,16 +30016,38 @@ export const EnvironmentActionsApiFp = function(configuration?: Configuration) {
|
|
|
29438
30016
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deployEnvironment(environmentId, options);
|
|
29439
30017
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29440
30018
|
},
|
|
30019
|
+
/**
|
|
30020
|
+
* Update and reboot the selected services
|
|
30021
|
+
* @summary Reboot services
|
|
30022
|
+
* @param {string} environmentId Environment ID
|
|
30023
|
+
* @param {RebootServicesRequest} [rebootServicesRequest]
|
|
30024
|
+
* @param {*} [options] Override http request option.
|
|
30025
|
+
* @throws {RequiredError}
|
|
30026
|
+
*/
|
|
30027
|
+
async rebootServices(environmentId: string, rebootServicesRequest?: RebootServicesRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
30028
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.rebootServices(environmentId, rebootServicesRequest, options);
|
|
30029
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30030
|
+
},
|
|
29441
30031
|
/**
|
|
29442
30032
|
*
|
|
29443
|
-
* @summary
|
|
30033
|
+
* @summary Redeploy environment
|
|
29444
30034
|
* @param {string} environmentId Environment ID
|
|
29445
|
-
* @param {EnvironmentRestartRequest} [environmentRestartRequest]
|
|
29446
30035
|
* @param {*} [options] Override http request option.
|
|
29447
30036
|
* @throws {RequiredError}
|
|
29448
30037
|
*/
|
|
29449
|
-
async
|
|
29450
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
30038
|
+
async redeployEnvironment(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
30039
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.redeployEnvironment(environmentId, options);
|
|
30040
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30041
|
+
},
|
|
30042
|
+
/**
|
|
30043
|
+
* **Deprecated** - Please use the \"Redeploy environment\" endpoint now
|
|
30044
|
+
* @summary Deprecated - Restart environment
|
|
30045
|
+
* @param {string} environmentId Environment ID
|
|
30046
|
+
* @param {*} [options] Override http request option.
|
|
30047
|
+
* @throws {RequiredError}
|
|
30048
|
+
*/
|
|
30049
|
+
async restartEnvironment(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
30050
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.restartEnvironment(environmentId, options);
|
|
29451
30051
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29452
30052
|
},
|
|
29453
30053
|
/**
|
|
@@ -29513,16 +30113,36 @@ export const EnvironmentActionsApiFactory = function (configuration?: Configurat
|
|
|
29513
30113
|
deployEnvironment(environmentId: string, options?: any): AxiosPromise<Status> {
|
|
29514
30114
|
return localVarFp.deployEnvironment(environmentId, options).then((request) => request(axios, basePath));
|
|
29515
30115
|
},
|
|
30116
|
+
/**
|
|
30117
|
+
* Update and reboot the selected services
|
|
30118
|
+
* @summary Reboot services
|
|
30119
|
+
* @param {string} environmentId Environment ID
|
|
30120
|
+
* @param {RebootServicesRequest} [rebootServicesRequest]
|
|
30121
|
+
* @param {*} [options] Override http request option.
|
|
30122
|
+
* @throws {RequiredError}
|
|
30123
|
+
*/
|
|
30124
|
+
rebootServices(environmentId: string, rebootServicesRequest?: RebootServicesRequest, options?: any): AxiosPromise<Status> {
|
|
30125
|
+
return localVarFp.rebootServices(environmentId, rebootServicesRequest, options).then((request) => request(axios, basePath));
|
|
30126
|
+
},
|
|
29516
30127
|
/**
|
|
29517
30128
|
*
|
|
29518
|
-
* @summary
|
|
30129
|
+
* @summary Redeploy environment
|
|
29519
30130
|
* @param {string} environmentId Environment ID
|
|
29520
|
-
* @param {EnvironmentRestartRequest} [environmentRestartRequest]
|
|
29521
30131
|
* @param {*} [options] Override http request option.
|
|
29522
30132
|
* @throws {RequiredError}
|
|
29523
30133
|
*/
|
|
29524
|
-
|
|
29525
|
-
return localVarFp.
|
|
30134
|
+
redeployEnvironment(environmentId: string, options?: any): AxiosPromise<Status> {
|
|
30135
|
+
return localVarFp.redeployEnvironment(environmentId, options).then((request) => request(axios, basePath));
|
|
30136
|
+
},
|
|
30137
|
+
/**
|
|
30138
|
+
* **Deprecated** - Please use the \"Redeploy environment\" endpoint now
|
|
30139
|
+
* @summary Deprecated - Restart environment
|
|
30140
|
+
* @param {string} environmentId Environment ID
|
|
30141
|
+
* @param {*} [options] Override http request option.
|
|
30142
|
+
* @throws {RequiredError}
|
|
30143
|
+
*/
|
|
30144
|
+
restartEnvironment(environmentId: string, options?: any): AxiosPromise<Status> {
|
|
30145
|
+
return localVarFp.restartEnvironment(environmentId, options).then((request) => request(axios, basePath));
|
|
29526
30146
|
},
|
|
29527
30147
|
/**
|
|
29528
30148
|
*
|
|
@@ -29594,17 +30214,41 @@ export class EnvironmentActionsApi extends BaseAPI {
|
|
|
29594
30214
|
return EnvironmentActionsApiFp(this.configuration).deployEnvironment(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
29595
30215
|
}
|
|
29596
30216
|
|
|
30217
|
+
/**
|
|
30218
|
+
* Update and reboot the selected services
|
|
30219
|
+
* @summary Reboot services
|
|
30220
|
+
* @param {string} environmentId Environment ID
|
|
30221
|
+
* @param {RebootServicesRequest} [rebootServicesRequest]
|
|
30222
|
+
* @param {*} [options] Override http request option.
|
|
30223
|
+
* @throws {RequiredError}
|
|
30224
|
+
* @memberof EnvironmentActionsApi
|
|
30225
|
+
*/
|
|
30226
|
+
public rebootServices(environmentId: string, rebootServicesRequest?: RebootServicesRequest, options?: AxiosRequestConfig) {
|
|
30227
|
+
return EnvironmentActionsApiFp(this.configuration).rebootServices(environmentId, rebootServicesRequest, options).then((request) => request(this.axios, this.basePath));
|
|
30228
|
+
}
|
|
30229
|
+
|
|
29597
30230
|
/**
|
|
29598
30231
|
*
|
|
29599
|
-
* @summary
|
|
30232
|
+
* @summary Redeploy environment
|
|
30233
|
+
* @param {string} environmentId Environment ID
|
|
30234
|
+
* @param {*} [options] Override http request option.
|
|
30235
|
+
* @throws {RequiredError}
|
|
30236
|
+
* @memberof EnvironmentActionsApi
|
|
30237
|
+
*/
|
|
30238
|
+
public redeployEnvironment(environmentId: string, options?: AxiosRequestConfig) {
|
|
30239
|
+
return EnvironmentActionsApiFp(this.configuration).redeployEnvironment(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
30240
|
+
}
|
|
30241
|
+
|
|
30242
|
+
/**
|
|
30243
|
+
* **Deprecated** - Please use the \"Redeploy environment\" endpoint now
|
|
30244
|
+
* @summary Deprecated - Restart environment
|
|
29600
30245
|
* @param {string} environmentId Environment ID
|
|
29601
|
-
* @param {EnvironmentRestartRequest} [environmentRestartRequest]
|
|
29602
30246
|
* @param {*} [options] Override http request option.
|
|
29603
30247
|
* @throws {RequiredError}
|
|
29604
30248
|
* @memberof EnvironmentActionsApi
|
|
29605
30249
|
*/
|
|
29606
|
-
public restartEnvironment(environmentId: string,
|
|
29607
|
-
return EnvironmentActionsApiFp(this.configuration).restartEnvironment(environmentId,
|
|
30250
|
+
public restartEnvironment(environmentId: string, options?: AxiosRequestConfig) {
|
|
30251
|
+
return EnvironmentActionsApiFp(this.configuration).restartEnvironment(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
29608
30252
|
}
|
|
29609
30253
|
|
|
29610
30254
|
/**
|
|
@@ -32673,7 +33317,50 @@ export const JobActionsApiAxiosParamCreator = function (configuration?: Configur
|
|
|
32673
33317
|
},
|
|
32674
33318
|
/**
|
|
32675
33319
|
*
|
|
32676
|
-
* @summary
|
|
33320
|
+
* @summary Redeploy job
|
|
33321
|
+
* @param {string} jobId Job ID
|
|
33322
|
+
* @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.
|
|
33323
|
+
* @param {*} [options] Override http request option.
|
|
33324
|
+
* @throws {RequiredError}
|
|
33325
|
+
*/
|
|
33326
|
+
redeployJob: async (jobId: string, forceEvent?: JobForceEvent, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33327
|
+
// verify required parameter 'jobId' is not null or undefined
|
|
33328
|
+
assertParamExists('redeployJob', 'jobId', jobId)
|
|
33329
|
+
const localVarPath = `/job/{jobId}/redeploy`
|
|
33330
|
+
.replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)));
|
|
33331
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33332
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33333
|
+
let baseOptions;
|
|
33334
|
+
if (configuration) {
|
|
33335
|
+
baseOptions = configuration.baseOptions;
|
|
33336
|
+
}
|
|
33337
|
+
|
|
33338
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
33339
|
+
const localVarHeaderParameter = {} as any;
|
|
33340
|
+
const localVarQueryParameter = {} as any;
|
|
33341
|
+
|
|
33342
|
+
// authentication bearerAuth required
|
|
33343
|
+
// http bearer authentication required
|
|
33344
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
33345
|
+
|
|
33346
|
+
if (forceEvent !== undefined) {
|
|
33347
|
+
localVarQueryParameter['forceEvent'] = forceEvent;
|
|
33348
|
+
}
|
|
33349
|
+
|
|
33350
|
+
|
|
33351
|
+
|
|
33352
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33353
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33354
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
33355
|
+
|
|
33356
|
+
return {
|
|
33357
|
+
url: toPathString(localVarUrlObj),
|
|
33358
|
+
options: localVarRequestOptions,
|
|
33359
|
+
};
|
|
33360
|
+
},
|
|
33361
|
+
/**
|
|
33362
|
+
* **Deprecated** - Please use the \"Redeploy job\" endpoint now
|
|
33363
|
+
* @summary Deprecated - Restart job
|
|
32677
33364
|
* @param {string} jobId Job ID
|
|
32678
33365
|
* @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
33366
|
* @param {*} [options] Override http request option.
|
|
@@ -32777,7 +33464,19 @@ export const JobActionsApiFp = function(configuration?: Configuration) {
|
|
|
32777
33464
|
},
|
|
32778
33465
|
/**
|
|
32779
33466
|
*
|
|
32780
|
-
* @summary
|
|
33467
|
+
* @summary Redeploy job
|
|
33468
|
+
* @param {string} jobId Job ID
|
|
33469
|
+
* @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.
|
|
33470
|
+
* @param {*} [options] Override http request option.
|
|
33471
|
+
* @throws {RequiredError}
|
|
33472
|
+
*/
|
|
33473
|
+
async redeployJob(jobId: string, forceEvent?: JobForceEvent, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
33474
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.redeployJob(jobId, forceEvent, options);
|
|
33475
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33476
|
+
},
|
|
33477
|
+
/**
|
|
33478
|
+
* **Deprecated** - Please use the \"Redeploy job\" endpoint now
|
|
33479
|
+
* @summary Deprecated - Restart job
|
|
32781
33480
|
* @param {string} jobId Job ID
|
|
32782
33481
|
* @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
33482
|
* @param {*} [options] Override http request option.
|
|
@@ -32822,7 +33521,18 @@ export const JobActionsApiFactory = function (configuration?: Configuration, bas
|
|
|
32822
33521
|
},
|
|
32823
33522
|
/**
|
|
32824
33523
|
*
|
|
32825
|
-
* @summary
|
|
33524
|
+
* @summary Redeploy job
|
|
33525
|
+
* @param {string} jobId Job ID
|
|
33526
|
+
* @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.
|
|
33527
|
+
* @param {*} [options] Override http request option.
|
|
33528
|
+
* @throws {RequiredError}
|
|
33529
|
+
*/
|
|
33530
|
+
redeployJob(jobId: string, forceEvent?: JobForceEvent, options?: any): AxiosPromise<Status> {
|
|
33531
|
+
return localVarFp.redeployJob(jobId, forceEvent, options).then((request) => request(axios, basePath));
|
|
33532
|
+
},
|
|
33533
|
+
/**
|
|
33534
|
+
* **Deprecated** - Please use the \"Redeploy job\" endpoint now
|
|
33535
|
+
* @summary Deprecated - Restart job
|
|
32826
33536
|
* @param {string} jobId Job ID
|
|
32827
33537
|
* @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
33538
|
* @param {*} [options] Override http request option.
|
|
@@ -32867,7 +33577,20 @@ export class JobActionsApi extends BaseAPI {
|
|
|
32867
33577
|
|
|
32868
33578
|
/**
|
|
32869
33579
|
*
|
|
32870
|
-
* @summary
|
|
33580
|
+
* @summary Redeploy job
|
|
33581
|
+
* @param {string} jobId Job ID
|
|
33582
|
+
* @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.
|
|
33583
|
+
* @param {*} [options] Override http request option.
|
|
33584
|
+
* @throws {RequiredError}
|
|
33585
|
+
* @memberof JobActionsApi
|
|
33586
|
+
*/
|
|
33587
|
+
public redeployJob(jobId: string, forceEvent?: JobForceEvent, options?: AxiosRequestConfig) {
|
|
33588
|
+
return JobActionsApiFp(this.configuration).redeployJob(jobId, forceEvent, options).then((request) => request(this.axios, this.basePath));
|
|
33589
|
+
}
|
|
33590
|
+
|
|
33591
|
+
/**
|
|
33592
|
+
* **Deprecated** - Please use the \"Redeploy job\" endpoint now
|
|
33593
|
+
* @summary Deprecated - Restart job
|
|
32871
33594
|
* @param {string} jobId Job ID
|
|
32872
33595
|
* @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
33596
|
* @param {*} [options] Override http request option.
|