qovery-typescript-axios 1.1.933 → 1.1.935
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 +230 -63
- package/dist/api.d.ts +124 -36
- package/dist/api.js +197 -63
- package/dist/esm/api.d.ts +124 -36
- package/dist/esm/api.js +197 -63
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -3905,6 +3905,25 @@ export interface BlueprintCreateRequest {
|
|
|
3905
3905
|
*/
|
|
3906
3906
|
'spec_overrides'?: BlueprintSpecOverrides;
|
|
3907
3907
|
}
|
|
3908
|
+
/**
|
|
3909
|
+
*
|
|
3910
|
+
* @export
|
|
3911
|
+
* @interface BlueprintDeploymentAckResponse
|
|
3912
|
+
*/
|
|
3913
|
+
export interface BlueprintDeploymentAckResponse {
|
|
3914
|
+
/**
|
|
3915
|
+
* Identifier of the blueprint deployment, used to track its status
|
|
3916
|
+
* @type {string}
|
|
3917
|
+
* @memberof BlueprintDeploymentAckResponse
|
|
3918
|
+
*/
|
|
3919
|
+
'deployment_id': string;
|
|
3920
|
+
/**
|
|
3921
|
+
* Engine execution identifier for this deployment
|
|
3922
|
+
* @type {string}
|
|
3923
|
+
* @memberof BlueprintDeploymentAckResponse
|
|
3924
|
+
*/
|
|
3925
|
+
'execution_id': string;
|
|
3926
|
+
}
|
|
3908
3927
|
/**
|
|
3909
3928
|
*
|
|
3910
3929
|
* @export
|
|
@@ -30977,10 +30996,11 @@ export const ApplicationMainCallsApiAxiosParamCreator = function (configuration?
|
|
|
30977
30996
|
* To delete the application you must have the admin permission
|
|
30978
30997
|
* @summary Delete application
|
|
30979
30998
|
* @param {string} applicationId Application ID
|
|
30999
|
+
* @param {boolean} [skipReconcile] When true, skip the pre-destroy apply/reconcile and tear down best-effort, tolerating already-absent resources.
|
|
30980
31000
|
* @param {*} [options] Override http request option.
|
|
30981
31001
|
* @throws {RequiredError}
|
|
30982
31002
|
*/
|
|
30983
|
-
deleteApplication: async (applicationId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
31003
|
+
deleteApplication: async (applicationId: string, skipReconcile?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30984
31004
|
// verify required parameter 'applicationId' is not null or undefined
|
|
30985
31005
|
assertParamExists('deleteApplication', 'applicationId', applicationId)
|
|
30986
31006
|
const localVarPath = `/application/{applicationId}`
|
|
@@ -31003,6 +31023,10 @@ export const ApplicationMainCallsApiAxiosParamCreator = function (configuration?
|
|
|
31003
31023
|
// http bearer authentication required
|
|
31004
31024
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
31005
31025
|
|
|
31026
|
+
if (skipReconcile !== undefined) {
|
|
31027
|
+
localVarQueryParameter['skipReconcile'] = skipReconcile;
|
|
31028
|
+
}
|
|
31029
|
+
|
|
31006
31030
|
|
|
31007
31031
|
|
|
31008
31032
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -31288,11 +31312,12 @@ export const ApplicationMainCallsApiFp = function(configuration?: Configuration)
|
|
|
31288
31312
|
* To delete the application you must have the admin permission
|
|
31289
31313
|
* @summary Delete application
|
|
31290
31314
|
* @param {string} applicationId Application ID
|
|
31315
|
+
* @param {boolean} [skipReconcile] When true, skip the pre-destroy apply/reconcile and tear down best-effort, tolerating already-absent resources.
|
|
31291
31316
|
* @param {*} [options] Override http request option.
|
|
31292
31317
|
* @throws {RequiredError}
|
|
31293
31318
|
*/
|
|
31294
|
-
async deleteApplication(applicationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
31295
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteApplication(applicationId, options);
|
|
31319
|
+
async deleteApplication(applicationId: string, skipReconcile?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
31320
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteApplication(applicationId, skipReconcile, options);
|
|
31296
31321
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
31297
31322
|
const localVarOperationServerBasePath = operationServerMap['ApplicationMainCallsApi.deleteApplication']?.[localVarOperationServerIndex]?.url;
|
|
31298
31323
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -31392,11 +31417,12 @@ export const ApplicationMainCallsApiFactory = function (configuration?: Configur
|
|
|
31392
31417
|
* To delete the application you must have the admin permission
|
|
31393
31418
|
* @summary Delete application
|
|
31394
31419
|
* @param {string} applicationId Application ID
|
|
31420
|
+
* @param {boolean} [skipReconcile] When true, skip the pre-destroy apply/reconcile and tear down best-effort, tolerating already-absent resources.
|
|
31395
31421
|
* @param {*} [options] Override http request option.
|
|
31396
31422
|
* @throws {RequiredError}
|
|
31397
31423
|
*/
|
|
31398
|
-
deleteApplication(applicationId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
31399
|
-
return localVarFp.deleteApplication(applicationId, options).then((request) => request(axios, basePath));
|
|
31424
|
+
deleteApplication(applicationId: string, skipReconcile?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
31425
|
+
return localVarFp.deleteApplication(applicationId, skipReconcile, options).then((request) => request(axios, basePath));
|
|
31400
31426
|
},
|
|
31401
31427
|
/**
|
|
31402
31428
|
* - To edit the application you must have the admin permission. - For port edition, if you provide a port id, we will update the corresponding port. If you don\'t we will create a new one. If you remove a port from the payload, we will delete it. - For storage edition, if you provide a storage id, we will update the corresponding storage. If you don\'t we will create a new one. If you remove a storage from the payload, we will delete it.
|
|
@@ -31475,12 +31501,13 @@ export class ApplicationMainCallsApi extends BaseAPI {
|
|
|
31475
31501
|
* To delete the application you must have the admin permission
|
|
31476
31502
|
* @summary Delete application
|
|
31477
31503
|
* @param {string} applicationId Application ID
|
|
31504
|
+
* @param {boolean} [skipReconcile] When true, skip the pre-destroy apply/reconcile and tear down best-effort, tolerating already-absent resources.
|
|
31478
31505
|
* @param {*} [options] Override http request option.
|
|
31479
31506
|
* @throws {RequiredError}
|
|
31480
31507
|
* @memberof ApplicationMainCallsApi
|
|
31481
31508
|
*/
|
|
31482
|
-
public deleteApplication(applicationId: string, options?: RawAxiosRequestConfig) {
|
|
31483
|
-
return ApplicationMainCallsApiFp(this.configuration).deleteApplication(applicationId, options).then((request) => request(this.axios, this.basePath));
|
|
31509
|
+
public deleteApplication(applicationId: string, skipReconcile?: boolean, options?: RawAxiosRequestConfig) {
|
|
31510
|
+
return ApplicationMainCallsApiFp(this.configuration).deleteApplication(applicationId, skipReconcile, options).then((request) => request(this.axios, this.basePath));
|
|
31484
31511
|
}
|
|
31485
31512
|
|
|
31486
31513
|
/**
|
|
@@ -35335,6 +35362,47 @@ export const BlueprintMainCallsApiAxiosParamCreator = function (configuration?:
|
|
|
35335
35362
|
options: localVarRequestOptions,
|
|
35336
35363
|
};
|
|
35337
35364
|
},
|
|
35365
|
+
/**
|
|
35366
|
+
* Deploys the blueprint\'s currently saved settings to its service. Call this after saving changes with PATCH /blueprint/{blueprintId} (and, optionally, previewing them) to roll them out. No request body: it deploys whatever is currently saved on the blueprint.
|
|
35367
|
+
* @summary Deploy (apply) the current blueprint spec
|
|
35368
|
+
* @param {string} blueprintId Blueprint ID
|
|
35369
|
+
* @param {*} [options] Override http request option.
|
|
35370
|
+
* @throws {RequiredError}
|
|
35371
|
+
*/
|
|
35372
|
+
deployBlueprint: async (blueprintId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
35373
|
+
// verify required parameter 'blueprintId' is not null or undefined
|
|
35374
|
+
assertParamExists('deployBlueprint', 'blueprintId', blueprintId)
|
|
35375
|
+
const localVarPath = `/blueprint/{blueprintId}/deploy`
|
|
35376
|
+
.replace(`{${"blueprintId"}}`, encodeURIComponent(String(blueprintId)));
|
|
35377
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35378
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
35379
|
+
let baseOptions;
|
|
35380
|
+
if (configuration) {
|
|
35381
|
+
baseOptions = configuration.baseOptions;
|
|
35382
|
+
}
|
|
35383
|
+
|
|
35384
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
35385
|
+
const localVarHeaderParameter = {} as any;
|
|
35386
|
+
const localVarQueryParameter = {} as any;
|
|
35387
|
+
|
|
35388
|
+
// authentication ApiKeyAuth required
|
|
35389
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
35390
|
+
|
|
35391
|
+
// authentication bearerAuth required
|
|
35392
|
+
// http bearer authentication required
|
|
35393
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
35394
|
+
|
|
35395
|
+
|
|
35396
|
+
|
|
35397
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
35398
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35399
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
35400
|
+
|
|
35401
|
+
return {
|
|
35402
|
+
url: toPathString(localVarUrlObj),
|
|
35403
|
+
options: localVarRequestOptions,
|
|
35404
|
+
};
|
|
35405
|
+
},
|
|
35338
35406
|
/**
|
|
35339
35407
|
* Retrieves the Qovery service catalog from the public GitHub repository (Qovery/service-catalog). The catalog lists all available blueprints that can be deployed.
|
|
35340
35408
|
* @summary Get the blueprint service catalog
|
|
@@ -35508,6 +35576,19 @@ export const BlueprintMainCallsApiFp = function(configuration?: Configuration) {
|
|
|
35508
35576
|
const localVarOperationServerBasePath = operationServerMap['BlueprintMainCallsApi.createBlueprint']?.[localVarOperationServerIndex]?.url;
|
|
35509
35577
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
35510
35578
|
},
|
|
35579
|
+
/**
|
|
35580
|
+
* Deploys the blueprint\'s currently saved settings to its service. Call this after saving changes with PATCH /blueprint/{blueprintId} (and, optionally, previewing them) to roll them out. No request body: it deploys whatever is currently saved on the blueprint.
|
|
35581
|
+
* @summary Deploy (apply) the current blueprint spec
|
|
35582
|
+
* @param {string} blueprintId Blueprint ID
|
|
35583
|
+
* @param {*} [options] Override http request option.
|
|
35584
|
+
* @throws {RequiredError}
|
|
35585
|
+
*/
|
|
35586
|
+
async deployBlueprint(blueprintId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlueprintDeploymentAckResponse>> {
|
|
35587
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deployBlueprint(blueprintId, options);
|
|
35588
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
35589
|
+
const localVarOperationServerBasePath = operationServerMap['BlueprintMainCallsApi.deployBlueprint']?.[localVarOperationServerIndex]?.url;
|
|
35590
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
35591
|
+
},
|
|
35511
35592
|
/**
|
|
35512
35593
|
* Retrieves the Qovery service catalog from the public GitHub repository (Qovery/service-catalog). The catalog lists all available blueprints that can be deployed.
|
|
35513
35594
|
* @summary Get the blueprint service catalog
|
|
@@ -35581,6 +35662,16 @@ export const BlueprintMainCallsApiFactory = function (configuration?: Configurat
|
|
|
35581
35662
|
createBlueprint(environmentId: string, blueprintCreateRequest: BlueprintCreateRequest, deploy?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintResponse> {
|
|
35582
35663
|
return localVarFp.createBlueprint(environmentId, blueprintCreateRequest, deploy, options).then((request) => request(axios, basePath));
|
|
35583
35664
|
},
|
|
35665
|
+
/**
|
|
35666
|
+
* Deploys the blueprint\'s currently saved settings to its service. Call this after saving changes with PATCH /blueprint/{blueprintId} (and, optionally, previewing them) to roll them out. No request body: it deploys whatever is currently saved on the blueprint.
|
|
35667
|
+
* @summary Deploy (apply) the current blueprint spec
|
|
35668
|
+
* @param {string} blueprintId Blueprint ID
|
|
35669
|
+
* @param {*} [options] Override http request option.
|
|
35670
|
+
* @throws {RequiredError}
|
|
35671
|
+
*/
|
|
35672
|
+
deployBlueprint(blueprintId: string, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintDeploymentAckResponse> {
|
|
35673
|
+
return localVarFp.deployBlueprint(blueprintId, options).then((request) => request(axios, basePath));
|
|
35674
|
+
},
|
|
35584
35675
|
/**
|
|
35585
35676
|
* Retrieves the Qovery service catalog from the public GitHub repository (Qovery/service-catalog). The catalog lists all available blueprints that can be deployed.
|
|
35586
35677
|
* @summary Get the blueprint service catalog
|
|
@@ -35649,6 +35740,18 @@ export class BlueprintMainCallsApi extends BaseAPI {
|
|
|
35649
35740
|
return BlueprintMainCallsApiFp(this.configuration).createBlueprint(environmentId, blueprintCreateRequest, deploy, options).then((request) => request(this.axios, this.basePath));
|
|
35650
35741
|
}
|
|
35651
35742
|
|
|
35743
|
+
/**
|
|
35744
|
+
* Deploys the blueprint\'s currently saved settings to its service. Call this after saving changes with PATCH /blueprint/{blueprintId} (and, optionally, previewing them) to roll them out. No request body: it deploys whatever is currently saved on the blueprint.
|
|
35745
|
+
* @summary Deploy (apply) the current blueprint spec
|
|
35746
|
+
* @param {string} blueprintId Blueprint ID
|
|
35747
|
+
* @param {*} [options] Override http request option.
|
|
35748
|
+
* @throws {RequiredError}
|
|
35749
|
+
* @memberof BlueprintMainCallsApi
|
|
35750
|
+
*/
|
|
35751
|
+
public deployBlueprint(blueprintId: string, options?: RawAxiosRequestConfig) {
|
|
35752
|
+
return BlueprintMainCallsApiFp(this.configuration).deployBlueprint(blueprintId, options).then((request) => request(this.axios, this.basePath));
|
|
35753
|
+
}
|
|
35754
|
+
|
|
35652
35755
|
/**
|
|
35653
35756
|
* Retrieves the Qovery service catalog from the public GitHub repository (Qovery/service-catalog). The catalog lists all available blueprints that can be deployed.
|
|
35654
35757
|
* @summary Get the blueprint service catalog
|
|
@@ -39250,10 +39353,11 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
39250
39353
|
* @param {string} organizationId Organization ID
|
|
39251
39354
|
* @param {string} clusterId Cluster ID
|
|
39252
39355
|
* @param {ClusterDeleteMode} [deleteMode]
|
|
39356
|
+
* @param {boolean} [skipReconcile] When true, skip the pre-destroy Terraform/Helm apply and tear down best-effort, tolerating already-absent resources. Not allowed with deleteMode=DELETE_QOVERY_CONFIG.
|
|
39253
39357
|
* @param {*} [options] Override http request option.
|
|
39254
39358
|
* @throws {RequiredError}
|
|
39255
39359
|
*/
|
|
39256
|
-
deleteCluster: async (organizationId: string, clusterId: string, deleteMode?: ClusterDeleteMode, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
39360
|
+
deleteCluster: async (organizationId: string, clusterId: string, deleteMode?: ClusterDeleteMode, skipReconcile?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
39257
39361
|
// verify required parameter 'organizationId' is not null or undefined
|
|
39258
39362
|
assertParamExists('deleteCluster', 'organizationId', organizationId)
|
|
39259
39363
|
// verify required parameter 'clusterId' is not null or undefined
|
|
@@ -39283,6 +39387,10 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
39283
39387
|
localVarQueryParameter['deleteMode'] = deleteMode;
|
|
39284
39388
|
}
|
|
39285
39389
|
|
|
39390
|
+
if (skipReconcile !== undefined) {
|
|
39391
|
+
localVarQueryParameter['skipReconcile'] = skipReconcile;
|
|
39392
|
+
}
|
|
39393
|
+
|
|
39286
39394
|
|
|
39287
39395
|
|
|
39288
39396
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -41067,11 +41175,12 @@ export const ClustersApiFp = function(configuration?: Configuration) {
|
|
|
41067
41175
|
* @param {string} organizationId Organization ID
|
|
41068
41176
|
* @param {string} clusterId Cluster ID
|
|
41069
41177
|
* @param {ClusterDeleteMode} [deleteMode]
|
|
41178
|
+
* @param {boolean} [skipReconcile] When true, skip the pre-destroy Terraform/Helm apply and tear down best-effort, tolerating already-absent resources. Not allowed with deleteMode=DELETE_QOVERY_CONFIG.
|
|
41070
41179
|
* @param {*} [options] Override http request option.
|
|
41071
41180
|
* @throws {RequiredError}
|
|
41072
41181
|
*/
|
|
41073
|
-
async deleteCluster(organizationId: string, clusterId: string, deleteMode?: ClusterDeleteMode, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
41074
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteCluster(organizationId, clusterId, deleteMode, options);
|
|
41182
|
+
async deleteCluster(organizationId: string, clusterId: string, deleteMode?: ClusterDeleteMode, skipReconcile?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
41183
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteCluster(organizationId, clusterId, deleteMode, skipReconcile, options);
|
|
41075
41184
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
41076
41185
|
const localVarOperationServerBasePath = operationServerMap['ClustersApi.deleteCluster']?.[localVarOperationServerIndex]?.url;
|
|
41077
41186
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -41622,11 +41731,12 @@ export const ClustersApiFactory = function (configuration?: Configuration, baseP
|
|
|
41622
41731
|
* @param {string} organizationId Organization ID
|
|
41623
41732
|
* @param {string} clusterId Cluster ID
|
|
41624
41733
|
* @param {ClusterDeleteMode} [deleteMode]
|
|
41734
|
+
* @param {boolean} [skipReconcile] When true, skip the pre-destroy Terraform/Helm apply and tear down best-effort, tolerating already-absent resources. Not allowed with deleteMode=DELETE_QOVERY_CONFIG.
|
|
41625
41735
|
* @param {*} [options] Override http request option.
|
|
41626
41736
|
* @throws {RequiredError}
|
|
41627
41737
|
*/
|
|
41628
|
-
deleteCluster(organizationId: string, clusterId: string, deleteMode?: ClusterDeleteMode, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
41629
|
-
return localVarFp.deleteCluster(organizationId, clusterId, deleteMode, options).then((request) => request(axios, basePath));
|
|
41738
|
+
deleteCluster(organizationId: string, clusterId: string, deleteMode?: ClusterDeleteMode, skipReconcile?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
41739
|
+
return localVarFp.deleteCluster(organizationId, clusterId, deleteMode, skipReconcile, options).then((request) => request(axios, basePath));
|
|
41630
41740
|
},
|
|
41631
41741
|
/**
|
|
41632
41742
|
* allows to deploy a cluster
|
|
@@ -42071,12 +42181,13 @@ export class ClustersApi extends BaseAPI {
|
|
|
42071
42181
|
* @param {string} organizationId Organization ID
|
|
42072
42182
|
* @param {string} clusterId Cluster ID
|
|
42073
42183
|
* @param {ClusterDeleteMode} [deleteMode]
|
|
42184
|
+
* @param {boolean} [skipReconcile] When true, skip the pre-destroy Terraform/Helm apply and tear down best-effort, tolerating already-absent resources. Not allowed with deleteMode=DELETE_QOVERY_CONFIG.
|
|
42074
42185
|
* @param {*} [options] Override http request option.
|
|
42075
42186
|
* @throws {RequiredError}
|
|
42076
42187
|
* @memberof ClustersApi
|
|
42077
42188
|
*/
|
|
42078
|
-
public deleteCluster(organizationId: string, clusterId: string, deleteMode?: ClusterDeleteMode, options?: RawAxiosRequestConfig) {
|
|
42079
|
-
return ClustersApiFp(this.configuration).deleteCluster(organizationId, clusterId, deleteMode, options).then((request) => request(this.axios, this.basePath));
|
|
42189
|
+
public deleteCluster(organizationId: string, clusterId: string, deleteMode?: ClusterDeleteMode, skipReconcile?: boolean, options?: RawAxiosRequestConfig) {
|
|
42190
|
+
return ClustersApiFp(this.configuration).deleteCluster(organizationId, clusterId, deleteMode, skipReconcile, options).then((request) => request(this.axios, this.basePath));
|
|
42080
42191
|
}
|
|
42081
42192
|
|
|
42082
42193
|
/**
|
|
@@ -44846,10 +44957,11 @@ export const ContainerMainCallsApiAxiosParamCreator = function (configuration?:
|
|
|
44846
44957
|
* To delete the container you must have the admin permission
|
|
44847
44958
|
* @summary Delete container
|
|
44848
44959
|
* @param {string} containerId Container ID
|
|
44960
|
+
* @param {boolean} [skipReconcile] When true, skip the pre-destroy apply/reconcile and tear down best-effort, tolerating already-absent resources.
|
|
44849
44961
|
* @param {*} [options] Override http request option.
|
|
44850
44962
|
* @throws {RequiredError}
|
|
44851
44963
|
*/
|
|
44852
|
-
deleteContainer: async (containerId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
44964
|
+
deleteContainer: async (containerId: string, skipReconcile?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
44853
44965
|
// verify required parameter 'containerId' is not null or undefined
|
|
44854
44966
|
assertParamExists('deleteContainer', 'containerId', containerId)
|
|
44855
44967
|
const localVarPath = `/container/{containerId}`
|
|
@@ -44872,6 +44984,10 @@ export const ContainerMainCallsApiAxiosParamCreator = function (configuration?:
|
|
|
44872
44984
|
// http bearer authentication required
|
|
44873
44985
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
44874
44986
|
|
|
44987
|
+
if (skipReconcile !== undefined) {
|
|
44988
|
+
localVarQueryParameter['skipReconcile'] = skipReconcile;
|
|
44989
|
+
}
|
|
44990
|
+
|
|
44875
44991
|
|
|
44876
44992
|
|
|
44877
44993
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -45065,11 +45181,12 @@ export const ContainerMainCallsApiFp = function(configuration?: Configuration) {
|
|
|
45065
45181
|
* To delete the container you must have the admin permission
|
|
45066
45182
|
* @summary Delete container
|
|
45067
45183
|
* @param {string} containerId Container ID
|
|
45184
|
+
* @param {boolean} [skipReconcile] When true, skip the pre-destroy apply/reconcile and tear down best-effort, tolerating already-absent resources.
|
|
45068
45185
|
* @param {*} [options] Override http request option.
|
|
45069
45186
|
* @throws {RequiredError}
|
|
45070
45187
|
*/
|
|
45071
|
-
async deleteContainer(containerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
45072
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteContainer(containerId, options);
|
|
45188
|
+
async deleteContainer(containerId: string, skipReconcile?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
45189
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteContainer(containerId, skipReconcile, options);
|
|
45073
45190
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
45074
45191
|
const localVarOperationServerBasePath = operationServerMap['ContainerMainCallsApi.deleteContainer']?.[localVarOperationServerIndex]?.url;
|
|
45075
45192
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -45141,11 +45258,12 @@ export const ContainerMainCallsApiFactory = function (configuration?: Configurat
|
|
|
45141
45258
|
* To delete the container you must have the admin permission
|
|
45142
45259
|
* @summary Delete container
|
|
45143
45260
|
* @param {string} containerId Container ID
|
|
45261
|
+
* @param {boolean} [skipReconcile] When true, skip the pre-destroy apply/reconcile and tear down best-effort, tolerating already-absent resources.
|
|
45144
45262
|
* @param {*} [options] Override http request option.
|
|
45145
45263
|
* @throws {RequiredError}
|
|
45146
45264
|
*/
|
|
45147
|
-
deleteContainer(containerId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
45148
|
-
return localVarFp.deleteContainer(containerId, options).then((request) => request(axios, basePath));
|
|
45265
|
+
deleteContainer(containerId: string, skipReconcile?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
45266
|
+
return localVarFp.deleteContainer(containerId, skipReconcile, options).then((request) => request(axios, basePath));
|
|
45149
45267
|
},
|
|
45150
45268
|
/**
|
|
45151
45269
|
* - To edit the container you must have the admin permission. - For port edition, if you provide a port id, we will update the corresponding port. If you don\'t we will create a new one. If you remove a port from the payload, we will delete it. - For storage edition, if you provide a storage id, we will update the corresponding storage. If you don\'t we will create a new one. If you remove a storage from the payload, we will delete it.
|
|
@@ -45202,12 +45320,13 @@ export class ContainerMainCallsApi extends BaseAPI {
|
|
|
45202
45320
|
* To delete the container you must have the admin permission
|
|
45203
45321
|
* @summary Delete container
|
|
45204
45322
|
* @param {string} containerId Container ID
|
|
45323
|
+
* @param {boolean} [skipReconcile] When true, skip the pre-destroy apply/reconcile and tear down best-effort, tolerating already-absent resources.
|
|
45205
45324
|
* @param {*} [options] Override http request option.
|
|
45206
45325
|
* @throws {RequiredError}
|
|
45207
45326
|
* @memberof ContainerMainCallsApi
|
|
45208
45327
|
*/
|
|
45209
|
-
public deleteContainer(containerId: string, options?: RawAxiosRequestConfig) {
|
|
45210
|
-
return ContainerMainCallsApiFp(this.configuration).deleteContainer(containerId, options).then((request) => request(this.axios, this.basePath));
|
|
45328
|
+
public deleteContainer(containerId: string, skipReconcile?: boolean, options?: RawAxiosRequestConfig) {
|
|
45329
|
+
return ContainerMainCallsApiFp(this.configuration).deleteContainer(containerId, skipReconcile, options).then((request) => request(this.axios, this.basePath));
|
|
45211
45330
|
}
|
|
45212
45331
|
|
|
45213
45332
|
/**
|
|
@@ -47969,10 +48088,11 @@ export const DatabaseMainCallsApiAxiosParamCreator = function (configuration?: C
|
|
|
47969
48088
|
* To delete a database you must have the admin permission
|
|
47970
48089
|
* @summary Delete a database
|
|
47971
48090
|
* @param {string} databaseId Database ID
|
|
48091
|
+
* @param {boolean} [skipReconcile] When true, skip the pre-destroy apply/reconcile and tear down best-effort, tolerating already-absent resources.
|
|
47972
48092
|
* @param {*} [options] Override http request option.
|
|
47973
48093
|
* @throws {RequiredError}
|
|
47974
48094
|
*/
|
|
47975
|
-
deleteDatabase: async (databaseId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
48095
|
+
deleteDatabase: async (databaseId: string, skipReconcile?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
47976
48096
|
// verify required parameter 'databaseId' is not null or undefined
|
|
47977
48097
|
assertParamExists('deleteDatabase', 'databaseId', databaseId)
|
|
47978
48098
|
const localVarPath = `/database/{databaseId}`
|
|
@@ -47995,6 +48115,10 @@ export const DatabaseMainCallsApiAxiosParamCreator = function (configuration?: C
|
|
|
47995
48115
|
// http bearer authentication required
|
|
47996
48116
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
47997
48117
|
|
|
48118
|
+
if (skipReconcile !== undefined) {
|
|
48119
|
+
localVarQueryParameter['skipReconcile'] = skipReconcile;
|
|
48120
|
+
}
|
|
48121
|
+
|
|
47998
48122
|
|
|
47999
48123
|
|
|
48000
48124
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -48274,11 +48398,12 @@ export const DatabaseMainCallsApiFp = function(configuration?: Configuration) {
|
|
|
48274
48398
|
* To delete a database you must have the admin permission
|
|
48275
48399
|
* @summary Delete a database
|
|
48276
48400
|
* @param {string} databaseId Database ID
|
|
48401
|
+
* @param {boolean} [skipReconcile] When true, skip the pre-destroy apply/reconcile and tear down best-effort, tolerating already-absent resources.
|
|
48277
48402
|
* @param {*} [options] Override http request option.
|
|
48278
48403
|
* @throws {RequiredError}
|
|
48279
48404
|
*/
|
|
48280
|
-
async deleteDatabase(databaseId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
48281
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteDatabase(databaseId, options);
|
|
48405
|
+
async deleteDatabase(databaseId: string, skipReconcile?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
48406
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteDatabase(databaseId, skipReconcile, options);
|
|
48282
48407
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
48283
48408
|
const localVarOperationServerBasePath = operationServerMap['DatabaseMainCallsApi.deleteDatabase']?.[localVarOperationServerIndex]?.url;
|
|
48284
48409
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -48377,11 +48502,12 @@ export const DatabaseMainCallsApiFactory = function (configuration?: Configurati
|
|
|
48377
48502
|
* To delete a database you must have the admin permission
|
|
48378
48503
|
* @summary Delete a database
|
|
48379
48504
|
* @param {string} databaseId Database ID
|
|
48505
|
+
* @param {boolean} [skipReconcile] When true, skip the pre-destroy apply/reconcile and tear down best-effort, tolerating already-absent resources.
|
|
48380
48506
|
* @param {*} [options] Override http request option.
|
|
48381
48507
|
* @throws {RequiredError}
|
|
48382
48508
|
*/
|
|
48383
|
-
deleteDatabase(databaseId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
48384
|
-
return localVarFp.deleteDatabase(databaseId, options).then((request) => request(axios, basePath));
|
|
48509
|
+
deleteDatabase(databaseId: string, skipReconcile?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
48510
|
+
return localVarFp.deleteDatabase(databaseId, skipReconcile, options).then((request) => request(axios, basePath));
|
|
48385
48511
|
},
|
|
48386
48512
|
/**
|
|
48387
48513
|
* To edit a database you must have the admin permission
|
|
@@ -48459,12 +48585,13 @@ export class DatabaseMainCallsApi extends BaseAPI {
|
|
|
48459
48585
|
* To delete a database you must have the admin permission
|
|
48460
48586
|
* @summary Delete a database
|
|
48461
48587
|
* @param {string} databaseId Database ID
|
|
48588
|
+
* @param {boolean} [skipReconcile] When true, skip the pre-destroy apply/reconcile and tear down best-effort, tolerating already-absent resources.
|
|
48462
48589
|
* @param {*} [options] Override http request option.
|
|
48463
48590
|
* @throws {RequiredError}
|
|
48464
48591
|
* @memberof DatabaseMainCallsApi
|
|
48465
48592
|
*/
|
|
48466
|
-
public deleteDatabase(databaseId: string, options?: RawAxiosRequestConfig) {
|
|
48467
|
-
return DatabaseMainCallsApiFp(this.configuration).deleteDatabase(databaseId, options).then((request) => request(this.axios, this.basePath));
|
|
48593
|
+
public deleteDatabase(databaseId: string, skipReconcile?: boolean, options?: RawAxiosRequestConfig) {
|
|
48594
|
+
return DatabaseMainCallsApiFp(this.configuration).deleteDatabase(databaseId, skipReconcile, options).then((request) => request(this.axios, this.basePath));
|
|
48468
48595
|
}
|
|
48469
48596
|
|
|
48470
48597
|
/**
|
|
@@ -50658,11 +50785,12 @@ export const EnvironmentActionsApiAxiosParamCreator = function (configuration?:
|
|
|
50658
50785
|
* Delete selected services
|
|
50659
50786
|
* @summary Delete services
|
|
50660
50787
|
* @param {string} environmentId Environment ID
|
|
50788
|
+
* @param {boolean} [skipReconcile] When true, skip the pre-destroy apply/reconcile and tear down best-effort, tolerating already-absent resources.
|
|
50661
50789
|
* @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
|
|
50662
50790
|
* @param {*} [options] Override http request option.
|
|
50663
50791
|
* @throws {RequiredError}
|
|
50664
50792
|
*/
|
|
50665
|
-
deleteSelectedServices: async (environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
50793
|
+
deleteSelectedServices: async (environmentId: string, skipReconcile?: boolean, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
50666
50794
|
// verify required parameter 'environmentId' is not null or undefined
|
|
50667
50795
|
assertParamExists('deleteSelectedServices', 'environmentId', environmentId)
|
|
50668
50796
|
const localVarPath = `/environment/{environmentId}/service/delete`
|
|
@@ -50685,6 +50813,10 @@ export const EnvironmentActionsApiAxiosParamCreator = function (configuration?:
|
|
|
50685
50813
|
// http bearer authentication required
|
|
50686
50814
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
50687
50815
|
|
|
50816
|
+
if (skipReconcile !== undefined) {
|
|
50817
|
+
localVarQueryParameter['skipReconcile'] = skipReconcile;
|
|
50818
|
+
}
|
|
50819
|
+
|
|
50688
50820
|
|
|
50689
50821
|
|
|
50690
50822
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -51099,12 +51231,13 @@ export const EnvironmentActionsApiFp = function(configuration?: Configuration) {
|
|
|
51099
51231
|
* Delete selected services
|
|
51100
51232
|
* @summary Delete services
|
|
51101
51233
|
* @param {string} environmentId Environment ID
|
|
51234
|
+
* @param {boolean} [skipReconcile] When true, skip the pre-destroy apply/reconcile and tear down best-effort, tolerating already-absent resources.
|
|
51102
51235
|
* @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
|
|
51103
51236
|
* @param {*} [options] Override http request option.
|
|
51104
51237
|
* @throws {RequiredError}
|
|
51105
51238
|
*/
|
|
51106
|
-
async deleteSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
51107
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSelectedServices(environmentId, environmentServiceIdsAllRequest, options);
|
|
51239
|
+
async deleteSelectedServices(environmentId: string, skipReconcile?: boolean, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
51240
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSelectedServices(environmentId, skipReconcile, environmentServiceIdsAllRequest, options);
|
|
51108
51241
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
51109
51242
|
const localVarOperationServerBasePath = operationServerMap['EnvironmentActionsApi.deleteSelectedServices']?.[localVarOperationServerIndex]?.url;
|
|
51110
51243
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -51264,12 +51397,13 @@ export const EnvironmentActionsApiFactory = function (configuration?: Configurat
|
|
|
51264
51397
|
* Delete selected services
|
|
51265
51398
|
* @summary Delete services
|
|
51266
51399
|
* @param {string} environmentId Environment ID
|
|
51400
|
+
* @param {boolean} [skipReconcile] When true, skip the pre-destroy apply/reconcile and tear down best-effort, tolerating already-absent resources.
|
|
51267
51401
|
* @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
|
|
51268
51402
|
* @param {*} [options] Override http request option.
|
|
51269
51403
|
* @throws {RequiredError}
|
|
51270
51404
|
*/
|
|
51271
|
-
deleteSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
51272
|
-
return localVarFp.deleteSelectedServices(environmentId, environmentServiceIdsAllRequest, options).then((request) => request(axios, basePath));
|
|
51405
|
+
deleteSelectedServices(environmentId: string, skipReconcile?: boolean, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
51406
|
+
return localVarFp.deleteSelectedServices(environmentId, skipReconcile, environmentServiceIdsAllRequest, options).then((request) => request(axios, basePath));
|
|
51273
51407
|
},
|
|
51274
51408
|
/**
|
|
51275
51409
|
* Update and deploy the selected services
|
|
@@ -51408,13 +51542,14 @@ export class EnvironmentActionsApi extends BaseAPI {
|
|
|
51408
51542
|
* Delete selected services
|
|
51409
51543
|
* @summary Delete services
|
|
51410
51544
|
* @param {string} environmentId Environment ID
|
|
51545
|
+
* @param {boolean} [skipReconcile] When true, skip the pre-destroy apply/reconcile and tear down best-effort, tolerating already-absent resources.
|
|
51411
51546
|
* @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
|
|
51412
51547
|
* @param {*} [options] Override http request option.
|
|
51413
51548
|
* @throws {RequiredError}
|
|
51414
51549
|
* @memberof EnvironmentActionsApi
|
|
51415
51550
|
*/
|
|
51416
|
-
public deleteSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: RawAxiosRequestConfig) {
|
|
51417
|
-
return EnvironmentActionsApiFp(this.configuration).deleteSelectedServices(environmentId, environmentServiceIdsAllRequest, options).then((request) => request(this.axios, this.basePath));
|
|
51551
|
+
public deleteSelectedServices(environmentId: string, skipReconcile?: boolean, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: RawAxiosRequestConfig) {
|
|
51552
|
+
return EnvironmentActionsApiFp(this.configuration).deleteSelectedServices(environmentId, skipReconcile, environmentServiceIdsAllRequest, options).then((request) => request(this.axios, this.basePath));
|
|
51418
51553
|
}
|
|
51419
51554
|
|
|
51420
51555
|
/**
|
|
@@ -52347,10 +52482,11 @@ export const EnvironmentMainCallsApiAxiosParamCreator = function (configuration?
|
|
|
52347
52482
|
* To delete an environment you must have the admin permission
|
|
52348
52483
|
* @summary Delete an environment
|
|
52349
52484
|
* @param {string} environmentId Environment ID
|
|
52485
|
+
* @param {boolean} [skipReconcile] When true, skip the pre-destroy apply/reconcile and tear down best-effort, tolerating already-absent resources.
|
|
52350
52486
|
* @param {*} [options] Override http request option.
|
|
52351
52487
|
* @throws {RequiredError}
|
|
52352
52488
|
*/
|
|
52353
|
-
deleteEnvironment: async (environmentId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
52489
|
+
deleteEnvironment: async (environmentId: string, skipReconcile?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
52354
52490
|
// verify required parameter 'environmentId' is not null or undefined
|
|
52355
52491
|
assertParamExists('deleteEnvironment', 'environmentId', environmentId)
|
|
52356
52492
|
const localVarPath = `/environment/{environmentId}`
|
|
@@ -52373,6 +52509,10 @@ export const EnvironmentMainCallsApiAxiosParamCreator = function (configuration?
|
|
|
52373
52509
|
// http bearer authentication required
|
|
52374
52510
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
52375
52511
|
|
|
52512
|
+
if (skipReconcile !== undefined) {
|
|
52513
|
+
localVarQueryParameter['skipReconcile'] = skipReconcile;
|
|
52514
|
+
}
|
|
52515
|
+
|
|
52376
52516
|
|
|
52377
52517
|
|
|
52378
52518
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -52730,11 +52870,12 @@ export const EnvironmentMainCallsApiFp = function(configuration?: Configuration)
|
|
|
52730
52870
|
* To delete an environment you must have the admin permission
|
|
52731
52871
|
* @summary Delete an environment
|
|
52732
52872
|
* @param {string} environmentId Environment ID
|
|
52873
|
+
* @param {boolean} [skipReconcile] When true, skip the pre-destroy apply/reconcile and tear down best-effort, tolerating already-absent resources.
|
|
52733
52874
|
* @param {*} [options] Override http request option.
|
|
52734
52875
|
* @throws {RequiredError}
|
|
52735
52876
|
*/
|
|
52736
|
-
async deleteEnvironment(environmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
52737
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteEnvironment(environmentId, options);
|
|
52877
|
+
async deleteEnvironment(environmentId: string, skipReconcile?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
52878
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteEnvironment(environmentId, skipReconcile, options);
|
|
52738
52879
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
52739
52880
|
const localVarOperationServerBasePath = operationServerMap['EnvironmentMainCallsApi.deleteEnvironment']?.[localVarOperationServerIndex]?.url;
|
|
52740
52881
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -52858,11 +52999,12 @@ export const EnvironmentMainCallsApiFactory = function (configuration?: Configur
|
|
|
52858
52999
|
* To delete an environment you must have the admin permission
|
|
52859
53000
|
* @summary Delete an environment
|
|
52860
53001
|
* @param {string} environmentId Environment ID
|
|
53002
|
+
* @param {boolean} [skipReconcile] When true, skip the pre-destroy apply/reconcile and tear down best-effort, tolerating already-absent resources.
|
|
52861
53003
|
* @param {*} [options] Override http request option.
|
|
52862
53004
|
* @throws {RequiredError}
|
|
52863
53005
|
*/
|
|
52864
|
-
deleteEnvironment(environmentId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
52865
|
-
return localVarFp.deleteEnvironment(environmentId, options).then((request) => request(axios, basePath));
|
|
53006
|
+
deleteEnvironment(environmentId: string, skipReconcile?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
53007
|
+
return localVarFp.deleteEnvironment(environmentId, skipReconcile, options).then((request) => request(axios, basePath));
|
|
52866
53008
|
},
|
|
52867
53009
|
/**
|
|
52868
53010
|
* To edit an environment you must have the admin permission
|
|
@@ -52959,12 +53101,13 @@ export class EnvironmentMainCallsApi extends BaseAPI {
|
|
|
52959
53101
|
* To delete an environment you must have the admin permission
|
|
52960
53102
|
* @summary Delete an environment
|
|
52961
53103
|
* @param {string} environmentId Environment ID
|
|
53104
|
+
* @param {boolean} [skipReconcile] When true, skip the pre-destroy apply/reconcile and tear down best-effort, tolerating already-absent resources.
|
|
52962
53105
|
* @param {*} [options] Override http request option.
|
|
52963
53106
|
* @throws {RequiredError}
|
|
52964
53107
|
* @memberof EnvironmentMainCallsApi
|
|
52965
53108
|
*/
|
|
52966
|
-
public deleteEnvironment(environmentId: string, options?: RawAxiosRequestConfig) {
|
|
52967
|
-
return EnvironmentMainCallsApiFp(this.configuration).deleteEnvironment(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
53109
|
+
public deleteEnvironment(environmentId: string, skipReconcile?: boolean, options?: RawAxiosRequestConfig) {
|
|
53110
|
+
return EnvironmentMainCallsApiFp(this.configuration).deleteEnvironment(environmentId, skipReconcile, options).then((request) => request(this.axios, this.basePath));
|
|
52968
53111
|
}
|
|
52969
53112
|
|
|
52970
53113
|
/**
|
|
@@ -57143,10 +57286,11 @@ export const HelmMainCallsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
57143
57286
|
* To delete the helm you must have the admin permission
|
|
57144
57287
|
* @summary Delete helm
|
|
57145
57288
|
* @param {string} helmId Helm ID
|
|
57289
|
+
* @param {boolean} [skipReconcile] When true, skip the pre-destroy apply/reconcile and tear down best-effort, tolerating already-absent resources.
|
|
57146
57290
|
* @param {*} [options] Override http request option.
|
|
57147
57291
|
* @throws {RequiredError}
|
|
57148
57292
|
*/
|
|
57149
|
-
deleteHelm: async (helmId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
57293
|
+
deleteHelm: async (helmId: string, skipReconcile?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
57150
57294
|
// verify required parameter 'helmId' is not null or undefined
|
|
57151
57295
|
assertParamExists('deleteHelm', 'helmId', helmId)
|
|
57152
57296
|
const localVarPath = `/helm/{helmId}`
|
|
@@ -57169,6 +57313,10 @@ export const HelmMainCallsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
57169
57313
|
// http bearer authentication required
|
|
57170
57314
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
57171
57315
|
|
|
57316
|
+
if (skipReconcile !== undefined) {
|
|
57317
|
+
localVarQueryParameter['skipReconcile'] = skipReconcile;
|
|
57318
|
+
}
|
|
57319
|
+
|
|
57172
57320
|
|
|
57173
57321
|
|
|
57174
57322
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -57449,11 +57597,12 @@ export const HelmMainCallsApiFp = function(configuration?: Configuration) {
|
|
|
57449
57597
|
* To delete the helm you must have the admin permission
|
|
57450
57598
|
* @summary Delete helm
|
|
57451
57599
|
* @param {string} helmId Helm ID
|
|
57600
|
+
* @param {boolean} [skipReconcile] When true, skip the pre-destroy apply/reconcile and tear down best-effort, tolerating already-absent resources.
|
|
57452
57601
|
* @param {*} [options] Override http request option.
|
|
57453
57602
|
* @throws {RequiredError}
|
|
57454
57603
|
*/
|
|
57455
|
-
async deleteHelm(helmId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
57456
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteHelm(helmId, options);
|
|
57604
|
+
async deleteHelm(helmId: string, skipReconcile?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
57605
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteHelm(helmId, skipReconcile, options);
|
|
57457
57606
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
57458
57607
|
const localVarOperationServerBasePath = operationServerMap['HelmMainCallsApi.deleteHelm']?.[localVarOperationServerIndex]?.url;
|
|
57459
57608
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -57552,11 +57701,12 @@ export const HelmMainCallsApiFactory = function (configuration?: Configuration,
|
|
|
57552
57701
|
* To delete the helm you must have the admin permission
|
|
57553
57702
|
* @summary Delete helm
|
|
57554
57703
|
* @param {string} helmId Helm ID
|
|
57704
|
+
* @param {boolean} [skipReconcile] When true, skip the pre-destroy apply/reconcile and tear down best-effort, tolerating already-absent resources.
|
|
57555
57705
|
* @param {*} [options] Override http request option.
|
|
57556
57706
|
* @throws {RequiredError}
|
|
57557
57707
|
*/
|
|
57558
|
-
deleteHelm(helmId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
57559
|
-
return localVarFp.deleteHelm(helmId, options).then((request) => request(axios, basePath));
|
|
57708
|
+
deleteHelm(helmId: string, skipReconcile?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
57709
|
+
return localVarFp.deleteHelm(helmId, skipReconcile, options).then((request) => request(axios, basePath));
|
|
57560
57710
|
},
|
|
57561
57711
|
/**
|
|
57562
57712
|
* - To edit the helm you must have the admin permission.
|
|
@@ -57634,12 +57784,13 @@ export class HelmMainCallsApi extends BaseAPI {
|
|
|
57634
57784
|
* To delete the helm you must have the admin permission
|
|
57635
57785
|
* @summary Delete helm
|
|
57636
57786
|
* @param {string} helmId Helm ID
|
|
57787
|
+
* @param {boolean} [skipReconcile] When true, skip the pre-destroy apply/reconcile and tear down best-effort, tolerating already-absent resources.
|
|
57637
57788
|
* @param {*} [options] Override http request option.
|
|
57638
57789
|
* @throws {RequiredError}
|
|
57639
57790
|
* @memberof HelmMainCallsApi
|
|
57640
57791
|
*/
|
|
57641
|
-
public deleteHelm(helmId: string, options?: RawAxiosRequestConfig) {
|
|
57642
|
-
return HelmMainCallsApiFp(this.configuration).deleteHelm(helmId, options).then((request) => request(this.axios, this.basePath));
|
|
57792
|
+
public deleteHelm(helmId: string, skipReconcile?: boolean, options?: RawAxiosRequestConfig) {
|
|
57793
|
+
return HelmMainCallsApiFp(this.configuration).deleteHelm(helmId, skipReconcile, options).then((request) => request(this.axios, this.basePath));
|
|
57643
57794
|
}
|
|
57644
57795
|
|
|
57645
57796
|
/**
|
|
@@ -60806,10 +60957,11 @@ export const JobMainCallsApiAxiosParamCreator = function (configuration?: Config
|
|
|
60806
60957
|
* To delete the job you must have the admin permission
|
|
60807
60958
|
* @summary Delete job
|
|
60808
60959
|
* @param {string} jobId Job ID
|
|
60960
|
+
* @param {boolean} [skipReconcile] When true, skip the pre-destroy apply/reconcile and tear down best-effort, tolerating already-absent resources.
|
|
60809
60961
|
* @param {*} [options] Override http request option.
|
|
60810
60962
|
* @throws {RequiredError}
|
|
60811
60963
|
*/
|
|
60812
|
-
deleteJob: async (jobId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
60964
|
+
deleteJob: async (jobId: string, skipReconcile?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
60813
60965
|
// verify required parameter 'jobId' is not null or undefined
|
|
60814
60966
|
assertParamExists('deleteJob', 'jobId', jobId)
|
|
60815
60967
|
const localVarPath = `/job/{jobId}`
|
|
@@ -60832,6 +60984,10 @@ export const JobMainCallsApiAxiosParamCreator = function (configuration?: Config
|
|
|
60832
60984
|
// http bearer authentication required
|
|
60833
60985
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
60834
60986
|
|
|
60987
|
+
if (skipReconcile !== undefined) {
|
|
60988
|
+
localVarQueryParameter['skipReconcile'] = skipReconcile;
|
|
60989
|
+
}
|
|
60990
|
+
|
|
60835
60991
|
|
|
60836
60992
|
|
|
60837
60993
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -61035,11 +61191,12 @@ export const JobMainCallsApiFp = function(configuration?: Configuration) {
|
|
|
61035
61191
|
* To delete the job you must have the admin permission
|
|
61036
61192
|
* @summary Delete job
|
|
61037
61193
|
* @param {string} jobId Job ID
|
|
61194
|
+
* @param {boolean} [skipReconcile] When true, skip the pre-destroy apply/reconcile and tear down best-effort, tolerating already-absent resources.
|
|
61038
61195
|
* @param {*} [options] Override http request option.
|
|
61039
61196
|
* @throws {RequiredError}
|
|
61040
61197
|
*/
|
|
61041
|
-
async deleteJob(jobId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
61042
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteJob(jobId, options);
|
|
61198
|
+
async deleteJob(jobId: string, skipReconcile?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
61199
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteJob(jobId, skipReconcile, options);
|
|
61043
61200
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
61044
61201
|
const localVarOperationServerBasePath = operationServerMap['JobMainCallsApi.deleteJob']?.[localVarOperationServerIndex]?.url;
|
|
61045
61202
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -61113,11 +61270,12 @@ export const JobMainCallsApiFactory = function (configuration?: Configuration, b
|
|
|
61113
61270
|
* To delete the job you must have the admin permission
|
|
61114
61271
|
* @summary Delete job
|
|
61115
61272
|
* @param {string} jobId Job ID
|
|
61273
|
+
* @param {boolean} [skipReconcile] When true, skip the pre-destroy apply/reconcile and tear down best-effort, tolerating already-absent resources.
|
|
61116
61274
|
* @param {*} [options] Override http request option.
|
|
61117
61275
|
* @throws {RequiredError}
|
|
61118
61276
|
*/
|
|
61119
|
-
deleteJob(jobId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
61120
|
-
return localVarFp.deleteJob(jobId, options).then((request) => request(axios, basePath));
|
|
61277
|
+
deleteJob(jobId: string, skipReconcile?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
61278
|
+
return localVarFp.deleteJob(jobId, skipReconcile, options).then((request) => request(axios, basePath));
|
|
61121
61279
|
},
|
|
61122
61280
|
/**
|
|
61123
61281
|
* - To edit the job you must have the admin permission.
|
|
@@ -61176,12 +61334,13 @@ export class JobMainCallsApi extends BaseAPI {
|
|
|
61176
61334
|
* To delete the job you must have the admin permission
|
|
61177
61335
|
* @summary Delete job
|
|
61178
61336
|
* @param {string} jobId Job ID
|
|
61337
|
+
* @param {boolean} [skipReconcile] When true, skip the pre-destroy apply/reconcile and tear down best-effort, tolerating already-absent resources.
|
|
61179
61338
|
* @param {*} [options] Override http request option.
|
|
61180
61339
|
* @throws {RequiredError}
|
|
61181
61340
|
* @memberof JobMainCallsApi
|
|
61182
61341
|
*/
|
|
61183
|
-
public deleteJob(jobId: string, options?: RawAxiosRequestConfig) {
|
|
61184
|
-
return JobMainCallsApiFp(this.configuration).deleteJob(jobId, options).then((request) => request(this.axios, this.basePath));
|
|
61342
|
+
public deleteJob(jobId: string, skipReconcile?: boolean, options?: RawAxiosRequestConfig) {
|
|
61343
|
+
return JobMainCallsApiFp(this.configuration).deleteJob(jobId, skipReconcile, options).then((request) => request(this.axios, this.basePath));
|
|
61185
61344
|
}
|
|
61186
61345
|
|
|
61187
61346
|
/**
|
|
@@ -73214,11 +73373,12 @@ export const TerraformMainCallsApiAxiosParamCreator = function (configuration?:
|
|
|
73214
73373
|
* @summary Delete Terraform
|
|
73215
73374
|
* @param {string} terraformId Terraform ID
|
|
73216
73375
|
* @param {boolean} [resourcesOnly] When true, only resources are deleted and Qovery configuration is kept.
|
|
73376
|
+
* @param {boolean} [skipReconcile] When true, skip the pre-destroy apply/reconcile and tear down best-effort, tolerating already-absent resources.
|
|
73217
73377
|
* @param {DeleteTerraformAction} [forceTerraformAction] Force a specific action to be executed by Terraform during deletion.
|
|
73218
73378
|
* @param {*} [options] Override http request option.
|
|
73219
73379
|
* @throws {RequiredError}
|
|
73220
73380
|
*/
|
|
73221
|
-
deleteTerraform: async (terraformId: string, resourcesOnly?: boolean, forceTerraformAction?: DeleteTerraformAction, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
73381
|
+
deleteTerraform: async (terraformId: string, resourcesOnly?: boolean, skipReconcile?: boolean, forceTerraformAction?: DeleteTerraformAction, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
73222
73382
|
// verify required parameter 'terraformId' is not null or undefined
|
|
73223
73383
|
assertParamExists('deleteTerraform', 'terraformId', terraformId)
|
|
73224
73384
|
const localVarPath = `/terraform/{terraformId}`
|
|
@@ -73245,6 +73405,10 @@ export const TerraformMainCallsApiAxiosParamCreator = function (configuration?:
|
|
|
73245
73405
|
localVarQueryParameter['resources_only'] = resourcesOnly;
|
|
73246
73406
|
}
|
|
73247
73407
|
|
|
73408
|
+
if (skipReconcile !== undefined) {
|
|
73409
|
+
localVarQueryParameter['skipReconcile'] = skipReconcile;
|
|
73410
|
+
}
|
|
73411
|
+
|
|
73248
73412
|
if (forceTerraformAction !== undefined) {
|
|
73249
73413
|
localVarQueryParameter['force_terraform_action'] = forceTerraformAction;
|
|
73250
73414
|
}
|
|
@@ -73439,12 +73603,13 @@ export const TerraformMainCallsApiFp = function(configuration?: Configuration) {
|
|
|
73439
73603
|
* @summary Delete Terraform
|
|
73440
73604
|
* @param {string} terraformId Terraform ID
|
|
73441
73605
|
* @param {boolean} [resourcesOnly] When true, only resources are deleted and Qovery configuration is kept.
|
|
73606
|
+
* @param {boolean} [skipReconcile] When true, skip the pre-destroy apply/reconcile and tear down best-effort, tolerating already-absent resources.
|
|
73442
73607
|
* @param {DeleteTerraformAction} [forceTerraformAction] Force a specific action to be executed by Terraform during deletion.
|
|
73443
73608
|
* @param {*} [options] Override http request option.
|
|
73444
73609
|
* @throws {RequiredError}
|
|
73445
73610
|
*/
|
|
73446
|
-
async deleteTerraform(terraformId: string, resourcesOnly?: boolean, forceTerraformAction?: DeleteTerraformAction, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
73447
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteTerraform(terraformId, resourcesOnly, forceTerraformAction, options);
|
|
73611
|
+
async deleteTerraform(terraformId: string, resourcesOnly?: boolean, skipReconcile?: boolean, forceTerraformAction?: DeleteTerraformAction, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
73612
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteTerraform(terraformId, resourcesOnly, skipReconcile, forceTerraformAction, options);
|
|
73448
73613
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
73449
73614
|
const localVarOperationServerBasePath = operationServerMap['TerraformMainCallsApi.deleteTerraform']?.[localVarOperationServerIndex]?.url;
|
|
73450
73615
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -73516,12 +73681,13 @@ export const TerraformMainCallsApiFactory = function (configuration?: Configurat
|
|
|
73516
73681
|
* @summary Delete Terraform
|
|
73517
73682
|
* @param {string} terraformId Terraform ID
|
|
73518
73683
|
* @param {boolean} [resourcesOnly] When true, only resources are deleted and Qovery configuration is kept.
|
|
73684
|
+
* @param {boolean} [skipReconcile] When true, skip the pre-destroy apply/reconcile and tear down best-effort, tolerating already-absent resources.
|
|
73519
73685
|
* @param {DeleteTerraformAction} [forceTerraformAction] Force a specific action to be executed by Terraform during deletion.
|
|
73520
73686
|
* @param {*} [options] Override http request option.
|
|
73521
73687
|
* @throws {RequiredError}
|
|
73522
73688
|
*/
|
|
73523
|
-
deleteTerraform(terraformId: string, resourcesOnly?: boolean, forceTerraformAction?: DeleteTerraformAction, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
73524
|
-
return localVarFp.deleteTerraform(terraformId, resourcesOnly, forceTerraformAction, options).then((request) => request(axios, basePath));
|
|
73689
|
+
deleteTerraform(terraformId: string, resourcesOnly?: boolean, skipReconcile?: boolean, forceTerraformAction?: DeleteTerraformAction, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
73690
|
+
return localVarFp.deleteTerraform(terraformId, resourcesOnly, skipReconcile, forceTerraformAction, options).then((request) => request(axios, basePath));
|
|
73525
73691
|
},
|
|
73526
73692
|
/**
|
|
73527
73693
|
*
|
|
@@ -73578,13 +73744,14 @@ export class TerraformMainCallsApi extends BaseAPI {
|
|
|
73578
73744
|
* @summary Delete Terraform
|
|
73579
73745
|
* @param {string} terraformId Terraform ID
|
|
73580
73746
|
* @param {boolean} [resourcesOnly] When true, only resources are deleted and Qovery configuration is kept.
|
|
73747
|
+
* @param {boolean} [skipReconcile] When true, skip the pre-destroy apply/reconcile and tear down best-effort, tolerating already-absent resources.
|
|
73581
73748
|
* @param {DeleteTerraformAction} [forceTerraformAction] Force a specific action to be executed by Terraform during deletion.
|
|
73582
73749
|
* @param {*} [options] Override http request option.
|
|
73583
73750
|
* @throws {RequiredError}
|
|
73584
73751
|
* @memberof TerraformMainCallsApi
|
|
73585
73752
|
*/
|
|
73586
|
-
public deleteTerraform(terraformId: string, resourcesOnly?: boolean, forceTerraformAction?: DeleteTerraformAction, options?: RawAxiosRequestConfig) {
|
|
73587
|
-
return TerraformMainCallsApiFp(this.configuration).deleteTerraform(terraformId, resourcesOnly, forceTerraformAction, options).then((request) => request(this.axios, this.basePath));
|
|
73753
|
+
public deleteTerraform(terraformId: string, resourcesOnly?: boolean, skipReconcile?: boolean, forceTerraformAction?: DeleteTerraformAction, options?: RawAxiosRequestConfig) {
|
|
73754
|
+
return TerraformMainCallsApiFp(this.configuration).deleteTerraform(terraformId, resourcesOnly, skipReconcile, forceTerraformAction, options).then((request) => request(this.axios, this.basePath));
|
|
73588
73755
|
}
|
|
73589
73756
|
|
|
73590
73757
|
/**
|