qovery-typescript-axios 1.1.737 → 1.1.739
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 +308 -20
- package/dist/api.d.ts +167 -16
- package/dist/api.js +230 -2
- package/dist/esm/api.d.ts +167 -16
- package/dist/esm/api.js +229 -1
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -18518,6 +18518,20 @@ export interface TerraformDeploymentRestrictionResponseList {
|
|
|
18518
18518
|
*/
|
|
18519
18519
|
'results'?: Array<TerraformDeploymentRestrictionResponse>;
|
|
18520
18520
|
}
|
|
18521
|
+
/**
|
|
18522
|
+
*
|
|
18523
|
+
* @export
|
|
18524
|
+
* @enum {string}
|
|
18525
|
+
*/
|
|
18526
|
+
|
|
18527
|
+
export const TerraformEngineEnum = {
|
|
18528
|
+
TERRAFORM: 'TERRAFORM',
|
|
18529
|
+
OPEN_TOFU: 'OPEN_TOFU'
|
|
18530
|
+
} as const;
|
|
18531
|
+
|
|
18532
|
+
export type TerraformEngineEnum = typeof TerraformEngineEnum[keyof typeof TerraformEngineEnum];
|
|
18533
|
+
|
|
18534
|
+
|
|
18521
18535
|
/**
|
|
18522
18536
|
*
|
|
18523
18537
|
* @export
|
|
@@ -18619,20 +18633,6 @@ export interface TerraformJobResourcesResponse {
|
|
|
18619
18633
|
*/
|
|
18620
18634
|
'storage_gib': number;
|
|
18621
18635
|
}
|
|
18622
|
-
/**
|
|
18623
|
-
*
|
|
18624
|
-
* @export
|
|
18625
|
-
* @enum {string}
|
|
18626
|
-
*/
|
|
18627
|
-
|
|
18628
|
-
export const TerraformProviderEnum = {
|
|
18629
|
-
TERRAFORM: 'TERRAFORM',
|
|
18630
|
-
OPEN_TOFU: 'OPEN_TOFU'
|
|
18631
|
-
} as const;
|
|
18632
|
-
|
|
18633
|
-
export type TerraformProviderEnum = typeof TerraformProviderEnum[keyof typeof TerraformProviderEnum];
|
|
18634
|
-
|
|
18635
|
-
|
|
18636
18636
|
/**
|
|
18637
18637
|
*
|
|
18638
18638
|
* @export
|
|
@@ -18696,10 +18696,10 @@ export interface TerraformRequest {
|
|
|
18696
18696
|
'backend': TerraformBackend;
|
|
18697
18697
|
/**
|
|
18698
18698
|
*
|
|
18699
|
-
* @type {
|
|
18699
|
+
* @type {TerraformEngineEnum}
|
|
18700
18700
|
* @memberof TerraformRequest
|
|
18701
18701
|
*/
|
|
18702
|
-
'
|
|
18702
|
+
'engine': TerraformEngineEnum;
|
|
18703
18703
|
/**
|
|
18704
18704
|
*
|
|
18705
18705
|
* @type {TerraformProviderVersion}
|
|
@@ -18863,10 +18863,10 @@ export interface TerraformResponse {
|
|
|
18863
18863
|
'terraform_variables_source': TerraformVariablesSourceResponse;
|
|
18864
18864
|
/**
|
|
18865
18865
|
*
|
|
18866
|
-
* @type {
|
|
18866
|
+
* @type {TerraformEngineEnum}
|
|
18867
18867
|
* @memberof TerraformResponse
|
|
18868
18868
|
*/
|
|
18869
|
-
'
|
|
18869
|
+
'engine': TerraformEngineEnum;
|
|
18870
18870
|
/**
|
|
18871
18871
|
*
|
|
18872
18872
|
* @type {TerraformBackend}
|
|
@@ -18994,6 +18994,44 @@ export interface TerraformVariableParsingRequest {
|
|
|
18994
18994
|
*/
|
|
18995
18995
|
'git_repository': ApplicationGitRepositoryRequest;
|
|
18996
18996
|
}
|
|
18997
|
+
/**
|
|
18998
|
+
* A Terraform variable with its configuration
|
|
18999
|
+
* @export
|
|
19000
|
+
* @interface TerraformVariableResponse
|
|
19001
|
+
*/
|
|
19002
|
+
export interface TerraformVariableResponse {
|
|
19003
|
+
/**
|
|
19004
|
+
* The variable key/name
|
|
19005
|
+
* @type {string}
|
|
19006
|
+
* @memberof TerraformVariableResponse
|
|
19007
|
+
*/
|
|
19008
|
+
'key': string;
|
|
19009
|
+
/**
|
|
19010
|
+
* The variable value (null if secret and not exposed)
|
|
19011
|
+
* @type {string}
|
|
19012
|
+
* @memberof TerraformVariableResponse
|
|
19013
|
+
*/
|
|
19014
|
+
'value'?: string | null;
|
|
19015
|
+
/**
|
|
19016
|
+
* Whether the variable is secret
|
|
19017
|
+
* @type {boolean}
|
|
19018
|
+
* @memberof TerraformVariableResponse
|
|
19019
|
+
*/
|
|
19020
|
+
'secret': boolean;
|
|
19021
|
+
}
|
|
19022
|
+
/**
|
|
19023
|
+
* Response containing list of Terraform variables
|
|
19024
|
+
* @export
|
|
19025
|
+
* @interface TerraformVariablesResponse
|
|
19026
|
+
*/
|
|
19027
|
+
export interface TerraformVariablesResponse {
|
|
19028
|
+
/**
|
|
19029
|
+
*
|
|
19030
|
+
* @type {Array<TerraformVariableResponse>}
|
|
19031
|
+
* @memberof TerraformVariablesResponse
|
|
19032
|
+
*/
|
|
19033
|
+
'variables': Array<TerraformVariableResponse>;
|
|
19034
|
+
}
|
|
18997
19035
|
/**
|
|
18998
19036
|
*
|
|
18999
19037
|
* @export
|
|
@@ -19025,6 +19063,12 @@ export interface TerraformVariablesSourceResponse {
|
|
|
19025
19063
|
* @memberof TerraformVariablesSourceResponse
|
|
19026
19064
|
*/
|
|
19027
19065
|
'tf_var_file_paths': Array<string>;
|
|
19066
|
+
/**
|
|
19067
|
+
*
|
|
19068
|
+
* @type {Array<TerraformVarKeyValue>}
|
|
19069
|
+
* @memberof TerraformVariablesSourceResponse
|
|
19070
|
+
*/
|
|
19071
|
+
'tf_vars': Array<TerraformVarKeyValue>;
|
|
19028
19072
|
}
|
|
19029
19073
|
/**
|
|
19030
19074
|
*
|
|
@@ -19034,10 +19078,10 @@ export interface TerraformVariablesSourceResponse {
|
|
|
19034
19078
|
export interface TerraformVersionResponse {
|
|
19035
19079
|
/**
|
|
19036
19080
|
*
|
|
19037
|
-
* @type {
|
|
19081
|
+
* @type {TerraformEngineEnum}
|
|
19038
19082
|
* @memberof TerraformVersionResponse
|
|
19039
19083
|
*/
|
|
19040
|
-
'engine':
|
|
19084
|
+
'engine': TerraformEngineEnum;
|
|
19041
19085
|
/**
|
|
19042
19086
|
* Terraform version string
|
|
19043
19087
|
* @type {string}
|
|
@@ -61003,6 +61047,51 @@ export class TerraformActionsApi extends BaseAPI {
|
|
|
61003
61047
|
*/
|
|
61004
61048
|
export const TerraformConfigurationApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
61005
61049
|
return {
|
|
61050
|
+
/**
|
|
61051
|
+
*
|
|
61052
|
+
* @summary Delete a terraform variable
|
|
61053
|
+
* @param {string} terraformId Terraform ID
|
|
61054
|
+
* @param {string} key Variable key to delete
|
|
61055
|
+
* @param {*} [options] Override http request option.
|
|
61056
|
+
* @throws {RequiredError}
|
|
61057
|
+
*/
|
|
61058
|
+
deleteTerraformVariable: async (terraformId: string, key: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
61059
|
+
// verify required parameter 'terraformId' is not null or undefined
|
|
61060
|
+
assertParamExists('deleteTerraformVariable', 'terraformId', terraformId)
|
|
61061
|
+
// verify required parameter 'key' is not null or undefined
|
|
61062
|
+
assertParamExists('deleteTerraformVariable', 'key', key)
|
|
61063
|
+
const localVarPath = `/terraform/{terraformId}/variables/{key}`
|
|
61064
|
+
.replace(`{${"terraformId"}}`, encodeURIComponent(String(terraformId)))
|
|
61065
|
+
.replace(`{${"key"}}`, encodeURIComponent(String(key)));
|
|
61066
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
61067
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
61068
|
+
let baseOptions;
|
|
61069
|
+
if (configuration) {
|
|
61070
|
+
baseOptions = configuration.baseOptions;
|
|
61071
|
+
}
|
|
61072
|
+
|
|
61073
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
61074
|
+
const localVarHeaderParameter = {} as any;
|
|
61075
|
+
const localVarQueryParameter = {} as any;
|
|
61076
|
+
|
|
61077
|
+
// authentication ApiKeyAuth required
|
|
61078
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
61079
|
+
|
|
61080
|
+
// authentication bearerAuth required
|
|
61081
|
+
// http bearer authentication required
|
|
61082
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
61083
|
+
|
|
61084
|
+
|
|
61085
|
+
|
|
61086
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
61087
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
61088
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
61089
|
+
|
|
61090
|
+
return {
|
|
61091
|
+
url: toPathString(localVarUrlObj),
|
|
61092
|
+
options: localVarRequestOptions,
|
|
61093
|
+
};
|
|
61094
|
+
},
|
|
61006
61095
|
/**
|
|
61007
61096
|
*
|
|
61008
61097
|
* @summary Edit Advanced settings
|
|
@@ -61084,6 +61173,94 @@ export const TerraformConfigurationApiAxiosParamCreator = function (configuratio
|
|
|
61084
61173
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
61085
61174
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
61086
61175
|
|
|
61176
|
+
return {
|
|
61177
|
+
url: toPathString(localVarUrlObj),
|
|
61178
|
+
options: localVarRequestOptions,
|
|
61179
|
+
};
|
|
61180
|
+
},
|
|
61181
|
+
/**
|
|
61182
|
+
*
|
|
61183
|
+
* @summary Get terraform variables
|
|
61184
|
+
* @param {string} terraformId Terraform ID
|
|
61185
|
+
* @param {*} [options] Override http request option.
|
|
61186
|
+
* @throws {RequiredError}
|
|
61187
|
+
*/
|
|
61188
|
+
getTerraformVariables: async (terraformId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
61189
|
+
// verify required parameter 'terraformId' is not null or undefined
|
|
61190
|
+
assertParamExists('getTerraformVariables', 'terraformId', terraformId)
|
|
61191
|
+
const localVarPath = `/terraform/{terraformId}/variables`
|
|
61192
|
+
.replace(`{${"terraformId"}}`, encodeURIComponent(String(terraformId)));
|
|
61193
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
61194
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
61195
|
+
let baseOptions;
|
|
61196
|
+
if (configuration) {
|
|
61197
|
+
baseOptions = configuration.baseOptions;
|
|
61198
|
+
}
|
|
61199
|
+
|
|
61200
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
61201
|
+
const localVarHeaderParameter = {} as any;
|
|
61202
|
+
const localVarQueryParameter = {} as any;
|
|
61203
|
+
|
|
61204
|
+
// authentication ApiKeyAuth required
|
|
61205
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
61206
|
+
|
|
61207
|
+
// authentication bearerAuth required
|
|
61208
|
+
// http bearer authentication required
|
|
61209
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
61210
|
+
|
|
61211
|
+
|
|
61212
|
+
|
|
61213
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
61214
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
61215
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
61216
|
+
|
|
61217
|
+
return {
|
|
61218
|
+
url: toPathString(localVarUrlObj),
|
|
61219
|
+
options: localVarRequestOptions,
|
|
61220
|
+
};
|
|
61221
|
+
},
|
|
61222
|
+
/**
|
|
61223
|
+
*
|
|
61224
|
+
* @summary Create or update a terraform variable
|
|
61225
|
+
* @param {string} terraformId Terraform ID
|
|
61226
|
+
* @param {TerraformVarKeyValue} terraformVarKeyValue
|
|
61227
|
+
* @param {*} [options] Override http request option.
|
|
61228
|
+
* @throws {RequiredError}
|
|
61229
|
+
*/
|
|
61230
|
+
updateTerraformVariable: async (terraformId: string, terraformVarKeyValue: TerraformVarKeyValue, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
61231
|
+
// verify required parameter 'terraformId' is not null or undefined
|
|
61232
|
+
assertParamExists('updateTerraformVariable', 'terraformId', terraformId)
|
|
61233
|
+
// verify required parameter 'terraformVarKeyValue' is not null or undefined
|
|
61234
|
+
assertParamExists('updateTerraformVariable', 'terraformVarKeyValue', terraformVarKeyValue)
|
|
61235
|
+
const localVarPath = `/terraform/{terraformId}/variables`
|
|
61236
|
+
.replace(`{${"terraformId"}}`, encodeURIComponent(String(terraformId)));
|
|
61237
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
61238
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
61239
|
+
let baseOptions;
|
|
61240
|
+
if (configuration) {
|
|
61241
|
+
baseOptions = configuration.baseOptions;
|
|
61242
|
+
}
|
|
61243
|
+
|
|
61244
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
61245
|
+
const localVarHeaderParameter = {} as any;
|
|
61246
|
+
const localVarQueryParameter = {} as any;
|
|
61247
|
+
|
|
61248
|
+
// authentication ApiKeyAuth required
|
|
61249
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
61250
|
+
|
|
61251
|
+
// authentication bearerAuth required
|
|
61252
|
+
// http bearer authentication required
|
|
61253
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
61254
|
+
|
|
61255
|
+
|
|
61256
|
+
|
|
61257
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
61258
|
+
|
|
61259
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
61260
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
61261
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
61262
|
+
localVarRequestOptions.data = serializeDataIfNeeded(terraformVarKeyValue, localVarRequestOptions, configuration)
|
|
61263
|
+
|
|
61087
61264
|
return {
|
|
61088
61265
|
url: toPathString(localVarUrlObj),
|
|
61089
61266
|
options: localVarRequestOptions,
|
|
@@ -61099,6 +61276,20 @@ export const TerraformConfigurationApiAxiosParamCreator = function (configuratio
|
|
|
61099
61276
|
export const TerraformConfigurationApiFp = function(configuration?: Configuration) {
|
|
61100
61277
|
const localVarAxiosParamCreator = TerraformConfigurationApiAxiosParamCreator(configuration)
|
|
61101
61278
|
return {
|
|
61279
|
+
/**
|
|
61280
|
+
*
|
|
61281
|
+
* @summary Delete a terraform variable
|
|
61282
|
+
* @param {string} terraformId Terraform ID
|
|
61283
|
+
* @param {string} key Variable key to delete
|
|
61284
|
+
* @param {*} [options] Override http request option.
|
|
61285
|
+
* @throws {RequiredError}
|
|
61286
|
+
*/
|
|
61287
|
+
async deleteTerraformVariable(terraformId: string, key: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
61288
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteTerraformVariable(terraformId, key, options);
|
|
61289
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
61290
|
+
const localVarOperationServerBasePath = operationServerMap['TerraformConfigurationApi.deleteTerraformVariable']?.[localVarOperationServerIndex]?.url;
|
|
61291
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
61292
|
+
},
|
|
61102
61293
|
/**
|
|
61103
61294
|
*
|
|
61104
61295
|
* @summary Edit Advanced settings
|
|
@@ -61126,6 +61317,33 @@ export const TerraformConfigurationApiFp = function(configuration?: Configuratio
|
|
|
61126
61317
|
const localVarOperationServerBasePath = operationServerMap['TerraformConfigurationApi.getTerraformAdvancedSettings']?.[localVarOperationServerIndex]?.url;
|
|
61127
61318
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
61128
61319
|
},
|
|
61320
|
+
/**
|
|
61321
|
+
*
|
|
61322
|
+
* @summary Get terraform variables
|
|
61323
|
+
* @param {string} terraformId Terraform ID
|
|
61324
|
+
* @param {*} [options] Override http request option.
|
|
61325
|
+
* @throws {RequiredError}
|
|
61326
|
+
*/
|
|
61327
|
+
async getTerraformVariables(terraformId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerraformVariablesResponse>> {
|
|
61328
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getTerraformVariables(terraformId, options);
|
|
61329
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
61330
|
+
const localVarOperationServerBasePath = operationServerMap['TerraformConfigurationApi.getTerraformVariables']?.[localVarOperationServerIndex]?.url;
|
|
61331
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
61332
|
+
},
|
|
61333
|
+
/**
|
|
61334
|
+
*
|
|
61335
|
+
* @summary Create or update a terraform variable
|
|
61336
|
+
* @param {string} terraformId Terraform ID
|
|
61337
|
+
* @param {TerraformVarKeyValue} terraformVarKeyValue
|
|
61338
|
+
* @param {*} [options] Override http request option.
|
|
61339
|
+
* @throws {RequiredError}
|
|
61340
|
+
*/
|
|
61341
|
+
async updateTerraformVariable(terraformId: string, terraformVarKeyValue: TerraformVarKeyValue, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
61342
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateTerraformVariable(terraformId, terraformVarKeyValue, options);
|
|
61343
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
61344
|
+
const localVarOperationServerBasePath = operationServerMap['TerraformConfigurationApi.updateTerraformVariable']?.[localVarOperationServerIndex]?.url;
|
|
61345
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
61346
|
+
},
|
|
61129
61347
|
}
|
|
61130
61348
|
};
|
|
61131
61349
|
|
|
@@ -61136,6 +61354,17 @@ export const TerraformConfigurationApiFp = function(configuration?: Configuratio
|
|
|
61136
61354
|
export const TerraformConfigurationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
61137
61355
|
const localVarFp = TerraformConfigurationApiFp(configuration)
|
|
61138
61356
|
return {
|
|
61357
|
+
/**
|
|
61358
|
+
*
|
|
61359
|
+
* @summary Delete a terraform variable
|
|
61360
|
+
* @param {string} terraformId Terraform ID
|
|
61361
|
+
* @param {string} key Variable key to delete
|
|
61362
|
+
* @param {*} [options] Override http request option.
|
|
61363
|
+
* @throws {RequiredError}
|
|
61364
|
+
*/
|
|
61365
|
+
deleteTerraformVariable(terraformId: string, key: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
61366
|
+
return localVarFp.deleteTerraformVariable(terraformId, key, options).then((request) => request(axios, basePath));
|
|
61367
|
+
},
|
|
61139
61368
|
/**
|
|
61140
61369
|
*
|
|
61141
61370
|
* @summary Edit Advanced settings
|
|
@@ -61157,6 +61386,27 @@ export const TerraformConfigurationApiFactory = function (configuration?: Config
|
|
|
61157
61386
|
getTerraformAdvancedSettings(terraformId: string, options?: RawAxiosRequestConfig): AxiosPromise<TerraformAdvancedSettings> {
|
|
61158
61387
|
return localVarFp.getTerraformAdvancedSettings(terraformId, options).then((request) => request(axios, basePath));
|
|
61159
61388
|
},
|
|
61389
|
+
/**
|
|
61390
|
+
*
|
|
61391
|
+
* @summary Get terraform variables
|
|
61392
|
+
* @param {string} terraformId Terraform ID
|
|
61393
|
+
* @param {*} [options] Override http request option.
|
|
61394
|
+
* @throws {RequiredError}
|
|
61395
|
+
*/
|
|
61396
|
+
getTerraformVariables(terraformId: string, options?: RawAxiosRequestConfig): AxiosPromise<TerraformVariablesResponse> {
|
|
61397
|
+
return localVarFp.getTerraformVariables(terraformId, options).then((request) => request(axios, basePath));
|
|
61398
|
+
},
|
|
61399
|
+
/**
|
|
61400
|
+
*
|
|
61401
|
+
* @summary Create or update a terraform variable
|
|
61402
|
+
* @param {string} terraformId Terraform ID
|
|
61403
|
+
* @param {TerraformVarKeyValue} terraformVarKeyValue
|
|
61404
|
+
* @param {*} [options] Override http request option.
|
|
61405
|
+
* @throws {RequiredError}
|
|
61406
|
+
*/
|
|
61407
|
+
updateTerraformVariable(terraformId: string, terraformVarKeyValue: TerraformVarKeyValue, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
61408
|
+
return localVarFp.updateTerraformVariable(terraformId, terraformVarKeyValue, options).then((request) => request(axios, basePath));
|
|
61409
|
+
},
|
|
61160
61410
|
};
|
|
61161
61411
|
};
|
|
61162
61412
|
|
|
@@ -61167,6 +61417,19 @@ export const TerraformConfigurationApiFactory = function (configuration?: Config
|
|
|
61167
61417
|
* @extends {BaseAPI}
|
|
61168
61418
|
*/
|
|
61169
61419
|
export class TerraformConfigurationApi extends BaseAPI {
|
|
61420
|
+
/**
|
|
61421
|
+
*
|
|
61422
|
+
* @summary Delete a terraform variable
|
|
61423
|
+
* @param {string} terraformId Terraform ID
|
|
61424
|
+
* @param {string} key Variable key to delete
|
|
61425
|
+
* @param {*} [options] Override http request option.
|
|
61426
|
+
* @throws {RequiredError}
|
|
61427
|
+
* @memberof TerraformConfigurationApi
|
|
61428
|
+
*/
|
|
61429
|
+
public deleteTerraformVariable(terraformId: string, key: string, options?: RawAxiosRequestConfig) {
|
|
61430
|
+
return TerraformConfigurationApiFp(this.configuration).deleteTerraformVariable(terraformId, key, options).then((request) => request(this.axios, this.basePath));
|
|
61431
|
+
}
|
|
61432
|
+
|
|
61170
61433
|
/**
|
|
61171
61434
|
*
|
|
61172
61435
|
* @summary Edit Advanced settings
|
|
@@ -61191,6 +61454,31 @@ export class TerraformConfigurationApi extends BaseAPI {
|
|
|
61191
61454
|
public getTerraformAdvancedSettings(terraformId: string, options?: RawAxiosRequestConfig) {
|
|
61192
61455
|
return TerraformConfigurationApiFp(this.configuration).getTerraformAdvancedSettings(terraformId, options).then((request) => request(this.axios, this.basePath));
|
|
61193
61456
|
}
|
|
61457
|
+
|
|
61458
|
+
/**
|
|
61459
|
+
*
|
|
61460
|
+
* @summary Get terraform variables
|
|
61461
|
+
* @param {string} terraformId Terraform ID
|
|
61462
|
+
* @param {*} [options] Override http request option.
|
|
61463
|
+
* @throws {RequiredError}
|
|
61464
|
+
* @memberof TerraformConfigurationApi
|
|
61465
|
+
*/
|
|
61466
|
+
public getTerraformVariables(terraformId: string, options?: RawAxiosRequestConfig) {
|
|
61467
|
+
return TerraformConfigurationApiFp(this.configuration).getTerraformVariables(terraformId, options).then((request) => request(this.axios, this.basePath));
|
|
61468
|
+
}
|
|
61469
|
+
|
|
61470
|
+
/**
|
|
61471
|
+
*
|
|
61472
|
+
* @summary Create or update a terraform variable
|
|
61473
|
+
* @param {string} terraformId Terraform ID
|
|
61474
|
+
* @param {TerraformVarKeyValue} terraformVarKeyValue
|
|
61475
|
+
* @param {*} [options] Override http request option.
|
|
61476
|
+
* @throws {RequiredError}
|
|
61477
|
+
* @memberof TerraformConfigurationApi
|
|
61478
|
+
*/
|
|
61479
|
+
public updateTerraformVariable(terraformId: string, terraformVarKeyValue: TerraformVarKeyValue, options?: RawAxiosRequestConfig) {
|
|
61480
|
+
return TerraformConfigurationApiFp(this.configuration).updateTerraformVariable(terraformId, terraformVarKeyValue, options).then((request) => request(this.axios, this.basePath));
|
|
61481
|
+
}
|
|
61194
61482
|
}
|
|
61195
61483
|
|
|
61196
61484
|
|