qovery-typescript-axios 1.1.805 → 1.1.807
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 +253 -0
- package/dist/api.d.ts +196 -0
- package/dist/api.js +121 -8
- package/dist/esm/api.d.ts +196 -0
- package/dist/esm/api.js +109 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -1333,6 +1333,12 @@ export interface ApplicationAdvancedSettings {
|
|
|
1333
1333
|
* @memberof ApplicationAdvancedSettings
|
|
1334
1334
|
*/
|
|
1335
1335
|
'hpa.cpu.average_utilization_percent'?: number;
|
|
1336
|
+
/**
|
|
1337
|
+
* Percentage value of memory usage at which point pods should scale up.
|
|
1338
|
+
* @type {number}
|
|
1339
|
+
* @memberof ApplicationAdvancedSettings
|
|
1340
|
+
*/
|
|
1341
|
+
'hpa.memory.average_utilization_percent'?: number | null;
|
|
1336
1342
|
/**
|
|
1337
1343
|
* Allows you to set an existing Kubernetes service account name
|
|
1338
1344
|
* @type {string}
|
|
@@ -5116,6 +5122,12 @@ export interface ContainerAdvancedSettings {
|
|
|
5116
5122
|
* @memberof ContainerAdvancedSettings
|
|
5117
5123
|
*/
|
|
5118
5124
|
'hpa.cpu.average_utilization_percent'?: number;
|
|
5125
|
+
/**
|
|
5126
|
+
* Percentage value of memory usage at which point pods should scale up.
|
|
5127
|
+
* @type {number}
|
|
5128
|
+
* @memberof ContainerAdvancedSettings
|
|
5129
|
+
*/
|
|
5130
|
+
'hpa.memory.average_utilization_percent'?: number | null;
|
|
5119
5131
|
/**
|
|
5120
5132
|
* Automount Kubernetes service account token to have access to Kubernetes API from pods
|
|
5121
5133
|
* @type {boolean}
|
|
@@ -19612,6 +19624,132 @@ export interface TerraformRequestTerraformFilesSourceOneOf {
|
|
|
19612
19624
|
*/
|
|
19613
19625
|
'git_repository'?: TerraformGitRepositoryRequest;
|
|
19614
19626
|
}
|
|
19627
|
+
/**
|
|
19628
|
+
* A single attribute of a Terraform resource with key and value
|
|
19629
|
+
* @export
|
|
19630
|
+
* @interface TerraformResourceAttribute
|
|
19631
|
+
*/
|
|
19632
|
+
export interface TerraformResourceAttribute {
|
|
19633
|
+
/**
|
|
19634
|
+
* The attribute key name
|
|
19635
|
+
* @type {string}
|
|
19636
|
+
* @memberof TerraformResourceAttribute
|
|
19637
|
+
*/
|
|
19638
|
+
'key': string;
|
|
19639
|
+
/**
|
|
19640
|
+
* The attribute value as a string
|
|
19641
|
+
* @type {string}
|
|
19642
|
+
* @memberof TerraformResourceAttribute
|
|
19643
|
+
*/
|
|
19644
|
+
'value': string;
|
|
19645
|
+
}
|
|
19646
|
+
/**
|
|
19647
|
+
* A Terraform resource from a deployment execution
|
|
19648
|
+
* @export
|
|
19649
|
+
* @interface TerraformResourceResponse
|
|
19650
|
+
*/
|
|
19651
|
+
export interface TerraformResourceResponse {
|
|
19652
|
+
/**
|
|
19653
|
+
* Unique identifier for this resource record
|
|
19654
|
+
* @type {string}
|
|
19655
|
+
* @memberof TerraformResourceResponse
|
|
19656
|
+
*/
|
|
19657
|
+
'id': string;
|
|
19658
|
+
/**
|
|
19659
|
+
* Type of the Terraform resource (e.g., aws_instance, aws_s3_bucket)
|
|
19660
|
+
* @type {string}
|
|
19661
|
+
* @memberof TerraformResourceResponse
|
|
19662
|
+
*/
|
|
19663
|
+
'resourceType': string;
|
|
19664
|
+
/**
|
|
19665
|
+
* Name of the resource as defined in Terraform configuration
|
|
19666
|
+
* @type {string}
|
|
19667
|
+
* @memberof TerraformResourceResponse
|
|
19668
|
+
*/
|
|
19669
|
+
'name': string;
|
|
19670
|
+
/**
|
|
19671
|
+
* Full address of the resource (e.g., aws_instance.web_server)
|
|
19672
|
+
* @type {string}
|
|
19673
|
+
* @memberof TerraformResourceResponse
|
|
19674
|
+
*/
|
|
19675
|
+
'address': string;
|
|
19676
|
+
/**
|
|
19677
|
+
* Terraform provider name (e.g., aws, google, azurerm)
|
|
19678
|
+
* @type {string}
|
|
19679
|
+
* @memberof TerraformResourceResponse
|
|
19680
|
+
*/
|
|
19681
|
+
'provider': string;
|
|
19682
|
+
/**
|
|
19683
|
+
* Resource mode (managed or data source)
|
|
19684
|
+
* @type {string}
|
|
19685
|
+
* @memberof TerraformResourceResponse
|
|
19686
|
+
*/
|
|
19687
|
+
'mode': TerraformResourceResponseModeEnum;
|
|
19688
|
+
/**
|
|
19689
|
+
* All resource attributes as key-value pairs
|
|
19690
|
+
* @type {{ [key: string]: any; }}
|
|
19691
|
+
* @memberof TerraformResourceResponse
|
|
19692
|
+
*/
|
|
19693
|
+
'attributes': { [key: string]: any; };
|
|
19694
|
+
/**
|
|
19695
|
+
* Timestamp when the resource was extracted from Terraform state
|
|
19696
|
+
* @type {string}
|
|
19697
|
+
* @memberof TerraformResourceResponse
|
|
19698
|
+
*/
|
|
19699
|
+
'extractedAt': string;
|
|
19700
|
+
/**
|
|
19701
|
+
* Most important attributes for this resource type (for display)
|
|
19702
|
+
* @type {Array<TerraformResourceAttribute>}
|
|
19703
|
+
* @memberof TerraformResourceResponse
|
|
19704
|
+
*/
|
|
19705
|
+
'keyAttributes': Array<TerraformResourceAttribute>;
|
|
19706
|
+
}
|
|
19707
|
+
|
|
19708
|
+
export const TerraformResourceResponseModeEnum = {
|
|
19709
|
+
MANAGED: 'managed',
|
|
19710
|
+
DATA: 'data'
|
|
19711
|
+
} as const;
|
|
19712
|
+
|
|
19713
|
+
export type TerraformResourceResponseModeEnum = typeof TerraformResourceResponseModeEnum[keyof typeof TerraformResourceResponseModeEnum];
|
|
19714
|
+
|
|
19715
|
+
/**
|
|
19716
|
+
* Request to store terraform resources from engine after deployment
|
|
19717
|
+
* @export
|
|
19718
|
+
* @interface TerraformResourcesRequest
|
|
19719
|
+
*/
|
|
19720
|
+
export interface TerraformResourcesRequest {
|
|
19721
|
+
/**
|
|
19722
|
+
* ID of the Terraform service
|
|
19723
|
+
* @type {string}
|
|
19724
|
+
* @memberof TerraformResourcesRequest
|
|
19725
|
+
*/
|
|
19726
|
+
'terraformId': string;
|
|
19727
|
+
/**
|
|
19728
|
+
* Execution ID in format \"UUID-version\" or \"UUID-version-timestamp\" Example: 550e8400-e29b-41d4-a716-446655440000-1
|
|
19729
|
+
* @type {string}
|
|
19730
|
+
* @memberof TerraformResourcesRequest
|
|
19731
|
+
*/
|
|
19732
|
+
'executionId': string;
|
|
19733
|
+
/**
|
|
19734
|
+
* JSON array of terraform resources extracted from terraform show output. Each resource contains: resource_type, name, provider, address, mode, attributes
|
|
19735
|
+
* @type {string}
|
|
19736
|
+
* @memberof TerraformResourcesRequest
|
|
19737
|
+
*/
|
|
19738
|
+
'resourcesJson': string;
|
|
19739
|
+
}
|
|
19740
|
+
/**
|
|
19741
|
+
* List of Terraform resources from the latest deployment
|
|
19742
|
+
* @export
|
|
19743
|
+
* @interface TerraformResourcesResponse
|
|
19744
|
+
*/
|
|
19745
|
+
export interface TerraformResourcesResponse {
|
|
19746
|
+
/**
|
|
19747
|
+
* Array of Terraform resources
|
|
19748
|
+
* @type {Array<TerraformResourceResponse>}
|
|
19749
|
+
* @memberof TerraformResourcesResponse
|
|
19750
|
+
*/
|
|
19751
|
+
'resources': Array<TerraformResourceResponse>;
|
|
19752
|
+
}
|
|
19615
19753
|
/**
|
|
19616
19754
|
* A Terraform service
|
|
19617
19755
|
* @export
|
|
@@ -63473,6 +63611,121 @@ export class TerraformMainCallsApi extends BaseAPI {
|
|
|
63473
63611
|
|
|
63474
63612
|
|
|
63475
63613
|
|
|
63614
|
+
/**
|
|
63615
|
+
* TerraformResourcesApi - axios parameter creator
|
|
63616
|
+
* @export
|
|
63617
|
+
*/
|
|
63618
|
+
export const TerraformResourcesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
63619
|
+
return {
|
|
63620
|
+
/**
|
|
63621
|
+
* Returns the list of Terraform resources from the most recent deployment execution
|
|
63622
|
+
* @summary Get terraform resources from latest deployment
|
|
63623
|
+
* @param {string} terraformId Terraform ID
|
|
63624
|
+
* @param {*} [options] Override http request option.
|
|
63625
|
+
* @throws {RequiredError}
|
|
63626
|
+
*/
|
|
63627
|
+
getTerraformResources: async (terraformId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
63628
|
+
// verify required parameter 'terraformId' is not null or undefined
|
|
63629
|
+
assertParamExists('getTerraformResources', 'terraformId', terraformId)
|
|
63630
|
+
const localVarPath = `/api/v1/terraform/{terraformId}/terraformResources`
|
|
63631
|
+
.replace(`{${"terraformId"}}`, encodeURIComponent(String(terraformId)));
|
|
63632
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
63633
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
63634
|
+
let baseOptions;
|
|
63635
|
+
if (configuration) {
|
|
63636
|
+
baseOptions = configuration.baseOptions;
|
|
63637
|
+
}
|
|
63638
|
+
|
|
63639
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
63640
|
+
const localVarHeaderParameter = {} as any;
|
|
63641
|
+
const localVarQueryParameter = {} as any;
|
|
63642
|
+
|
|
63643
|
+
// authentication ApiKeyAuth required
|
|
63644
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
63645
|
+
|
|
63646
|
+
// authentication bearerAuth required
|
|
63647
|
+
// http bearer authentication required
|
|
63648
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
63649
|
+
|
|
63650
|
+
|
|
63651
|
+
|
|
63652
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
63653
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
63654
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
63655
|
+
|
|
63656
|
+
return {
|
|
63657
|
+
url: toPathString(localVarUrlObj),
|
|
63658
|
+
options: localVarRequestOptions,
|
|
63659
|
+
};
|
|
63660
|
+
},
|
|
63661
|
+
}
|
|
63662
|
+
};
|
|
63663
|
+
|
|
63664
|
+
/**
|
|
63665
|
+
* TerraformResourcesApi - functional programming interface
|
|
63666
|
+
* @export
|
|
63667
|
+
*/
|
|
63668
|
+
export const TerraformResourcesApiFp = function(configuration?: Configuration) {
|
|
63669
|
+
const localVarAxiosParamCreator = TerraformResourcesApiAxiosParamCreator(configuration)
|
|
63670
|
+
return {
|
|
63671
|
+
/**
|
|
63672
|
+
* Returns the list of Terraform resources from the most recent deployment execution
|
|
63673
|
+
* @summary Get terraform resources from latest deployment
|
|
63674
|
+
* @param {string} terraformId Terraform ID
|
|
63675
|
+
* @param {*} [options] Override http request option.
|
|
63676
|
+
* @throws {RequiredError}
|
|
63677
|
+
*/
|
|
63678
|
+
async getTerraformResources(terraformId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerraformResourcesResponse>> {
|
|
63679
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getTerraformResources(terraformId, options);
|
|
63680
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
63681
|
+
const localVarOperationServerBasePath = operationServerMap['TerraformResourcesApi.getTerraformResources']?.[localVarOperationServerIndex]?.url;
|
|
63682
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
63683
|
+
},
|
|
63684
|
+
}
|
|
63685
|
+
};
|
|
63686
|
+
|
|
63687
|
+
/**
|
|
63688
|
+
* TerraformResourcesApi - factory interface
|
|
63689
|
+
* @export
|
|
63690
|
+
*/
|
|
63691
|
+
export const TerraformResourcesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
63692
|
+
const localVarFp = TerraformResourcesApiFp(configuration)
|
|
63693
|
+
return {
|
|
63694
|
+
/**
|
|
63695
|
+
* Returns the list of Terraform resources from the most recent deployment execution
|
|
63696
|
+
* @summary Get terraform resources from latest deployment
|
|
63697
|
+
* @param {string} terraformId Terraform ID
|
|
63698
|
+
* @param {*} [options] Override http request option.
|
|
63699
|
+
* @throws {RequiredError}
|
|
63700
|
+
*/
|
|
63701
|
+
getTerraformResources(terraformId: string, options?: RawAxiosRequestConfig): AxiosPromise<TerraformResourcesResponse> {
|
|
63702
|
+
return localVarFp.getTerraformResources(terraformId, options).then((request) => request(axios, basePath));
|
|
63703
|
+
},
|
|
63704
|
+
};
|
|
63705
|
+
};
|
|
63706
|
+
|
|
63707
|
+
/**
|
|
63708
|
+
* TerraformResourcesApi - object-oriented interface
|
|
63709
|
+
* @export
|
|
63710
|
+
* @class TerraformResourcesApi
|
|
63711
|
+
* @extends {BaseAPI}
|
|
63712
|
+
*/
|
|
63713
|
+
export class TerraformResourcesApi extends BaseAPI {
|
|
63714
|
+
/**
|
|
63715
|
+
* Returns the list of Terraform resources from the most recent deployment execution
|
|
63716
|
+
* @summary Get terraform resources from latest deployment
|
|
63717
|
+
* @param {string} terraformId Terraform ID
|
|
63718
|
+
* @param {*} [options] Override http request option.
|
|
63719
|
+
* @throws {RequiredError}
|
|
63720
|
+
* @memberof TerraformResourcesApi
|
|
63721
|
+
*/
|
|
63722
|
+
public getTerraformResources(terraformId: string, options?: RawAxiosRequestConfig) {
|
|
63723
|
+
return TerraformResourcesApiFp(this.configuration).getTerraformResources(terraformId, options).then((request) => request(this.axios, this.basePath));
|
|
63724
|
+
}
|
|
63725
|
+
}
|
|
63726
|
+
|
|
63727
|
+
|
|
63728
|
+
|
|
63476
63729
|
/**
|
|
63477
63730
|
* TerraformsApi - axios parameter creator
|
|
63478
63731
|
* @export
|
package/dist/api.d.ts
CHANGED
|
@@ -1261,6 +1261,12 @@ export interface ApplicationAdvancedSettings {
|
|
|
1261
1261
|
* @memberof ApplicationAdvancedSettings
|
|
1262
1262
|
*/
|
|
1263
1263
|
'hpa.cpu.average_utilization_percent'?: number;
|
|
1264
|
+
/**
|
|
1265
|
+
* Percentage value of memory usage at which point pods should scale up.
|
|
1266
|
+
* @type {number}
|
|
1267
|
+
* @memberof ApplicationAdvancedSettings
|
|
1268
|
+
*/
|
|
1269
|
+
'hpa.memory.average_utilization_percent'?: number | null;
|
|
1264
1270
|
/**
|
|
1265
1271
|
* Allows you to set an existing Kubernetes service account name
|
|
1266
1272
|
* @type {string}
|
|
@@ -4964,6 +4970,12 @@ export interface ContainerAdvancedSettings {
|
|
|
4964
4970
|
* @memberof ContainerAdvancedSettings
|
|
4965
4971
|
*/
|
|
4966
4972
|
'hpa.cpu.average_utilization_percent'?: number;
|
|
4973
|
+
/**
|
|
4974
|
+
* Percentage value of memory usage at which point pods should scale up.
|
|
4975
|
+
* @type {number}
|
|
4976
|
+
* @memberof ContainerAdvancedSettings
|
|
4977
|
+
*/
|
|
4978
|
+
'hpa.memory.average_utilization_percent'?: number | null;
|
|
4967
4979
|
/**
|
|
4968
4980
|
* Automount Kubernetes service account token to have access to Kubernetes API from pods
|
|
4969
4981
|
* @type {boolean}
|
|
@@ -18947,6 +18959,131 @@ export interface TerraformRequestTerraformFilesSourceOneOf {
|
|
|
18947
18959
|
*/
|
|
18948
18960
|
'git_repository'?: TerraformGitRepositoryRequest;
|
|
18949
18961
|
}
|
|
18962
|
+
/**
|
|
18963
|
+
* A single attribute of a Terraform resource with key and value
|
|
18964
|
+
* @export
|
|
18965
|
+
* @interface TerraformResourceAttribute
|
|
18966
|
+
*/
|
|
18967
|
+
export interface TerraformResourceAttribute {
|
|
18968
|
+
/**
|
|
18969
|
+
* The attribute key name
|
|
18970
|
+
* @type {string}
|
|
18971
|
+
* @memberof TerraformResourceAttribute
|
|
18972
|
+
*/
|
|
18973
|
+
'key': string;
|
|
18974
|
+
/**
|
|
18975
|
+
* The attribute value as a string
|
|
18976
|
+
* @type {string}
|
|
18977
|
+
* @memberof TerraformResourceAttribute
|
|
18978
|
+
*/
|
|
18979
|
+
'value': string;
|
|
18980
|
+
}
|
|
18981
|
+
/**
|
|
18982
|
+
* A Terraform resource from a deployment execution
|
|
18983
|
+
* @export
|
|
18984
|
+
* @interface TerraformResourceResponse
|
|
18985
|
+
*/
|
|
18986
|
+
export interface TerraformResourceResponse {
|
|
18987
|
+
/**
|
|
18988
|
+
* Unique identifier for this resource record
|
|
18989
|
+
* @type {string}
|
|
18990
|
+
* @memberof TerraformResourceResponse
|
|
18991
|
+
*/
|
|
18992
|
+
'id': string;
|
|
18993
|
+
/**
|
|
18994
|
+
* Type of the Terraform resource (e.g., aws_instance, aws_s3_bucket)
|
|
18995
|
+
* @type {string}
|
|
18996
|
+
* @memberof TerraformResourceResponse
|
|
18997
|
+
*/
|
|
18998
|
+
'resourceType': string;
|
|
18999
|
+
/**
|
|
19000
|
+
* Name of the resource as defined in Terraform configuration
|
|
19001
|
+
* @type {string}
|
|
19002
|
+
* @memberof TerraformResourceResponse
|
|
19003
|
+
*/
|
|
19004
|
+
'name': string;
|
|
19005
|
+
/**
|
|
19006
|
+
* Full address of the resource (e.g., aws_instance.web_server)
|
|
19007
|
+
* @type {string}
|
|
19008
|
+
* @memberof TerraformResourceResponse
|
|
19009
|
+
*/
|
|
19010
|
+
'address': string;
|
|
19011
|
+
/**
|
|
19012
|
+
* Terraform provider name (e.g., aws, google, azurerm)
|
|
19013
|
+
* @type {string}
|
|
19014
|
+
* @memberof TerraformResourceResponse
|
|
19015
|
+
*/
|
|
19016
|
+
'provider': string;
|
|
19017
|
+
/**
|
|
19018
|
+
* Resource mode (managed or data source)
|
|
19019
|
+
* @type {string}
|
|
19020
|
+
* @memberof TerraformResourceResponse
|
|
19021
|
+
*/
|
|
19022
|
+
'mode': TerraformResourceResponseModeEnum;
|
|
19023
|
+
/**
|
|
19024
|
+
* All resource attributes as key-value pairs
|
|
19025
|
+
* @type {{ [key: string]: any; }}
|
|
19026
|
+
* @memberof TerraformResourceResponse
|
|
19027
|
+
*/
|
|
19028
|
+
'attributes': {
|
|
19029
|
+
[key: string]: any;
|
|
19030
|
+
};
|
|
19031
|
+
/**
|
|
19032
|
+
* Timestamp when the resource was extracted from Terraform state
|
|
19033
|
+
* @type {string}
|
|
19034
|
+
* @memberof TerraformResourceResponse
|
|
19035
|
+
*/
|
|
19036
|
+
'extractedAt': string;
|
|
19037
|
+
/**
|
|
19038
|
+
* Most important attributes for this resource type (for display)
|
|
19039
|
+
* @type {Array<TerraformResourceAttribute>}
|
|
19040
|
+
* @memberof TerraformResourceResponse
|
|
19041
|
+
*/
|
|
19042
|
+
'keyAttributes': Array<TerraformResourceAttribute>;
|
|
19043
|
+
}
|
|
19044
|
+
export declare const TerraformResourceResponseModeEnum: {
|
|
19045
|
+
readonly MANAGED: "managed";
|
|
19046
|
+
readonly DATA: "data";
|
|
19047
|
+
};
|
|
19048
|
+
export type TerraformResourceResponseModeEnum = typeof TerraformResourceResponseModeEnum[keyof typeof TerraformResourceResponseModeEnum];
|
|
19049
|
+
/**
|
|
19050
|
+
* Request to store terraform resources from engine after deployment
|
|
19051
|
+
* @export
|
|
19052
|
+
* @interface TerraformResourcesRequest
|
|
19053
|
+
*/
|
|
19054
|
+
export interface TerraformResourcesRequest {
|
|
19055
|
+
/**
|
|
19056
|
+
* ID of the Terraform service
|
|
19057
|
+
* @type {string}
|
|
19058
|
+
* @memberof TerraformResourcesRequest
|
|
19059
|
+
*/
|
|
19060
|
+
'terraformId': string;
|
|
19061
|
+
/**
|
|
19062
|
+
* Execution ID in format \"UUID-version\" or \"UUID-version-timestamp\" Example: 550e8400-e29b-41d4-a716-446655440000-1
|
|
19063
|
+
* @type {string}
|
|
19064
|
+
* @memberof TerraformResourcesRequest
|
|
19065
|
+
*/
|
|
19066
|
+
'executionId': string;
|
|
19067
|
+
/**
|
|
19068
|
+
* JSON array of terraform resources extracted from terraform show output. Each resource contains: resource_type, name, provider, address, mode, attributes
|
|
19069
|
+
* @type {string}
|
|
19070
|
+
* @memberof TerraformResourcesRequest
|
|
19071
|
+
*/
|
|
19072
|
+
'resourcesJson': string;
|
|
19073
|
+
}
|
|
19074
|
+
/**
|
|
19075
|
+
* List of Terraform resources from the latest deployment
|
|
19076
|
+
* @export
|
|
19077
|
+
* @interface TerraformResourcesResponse
|
|
19078
|
+
*/
|
|
19079
|
+
export interface TerraformResourcesResponse {
|
|
19080
|
+
/**
|
|
19081
|
+
* Array of Terraform resources
|
|
19082
|
+
* @type {Array<TerraformResourceResponse>}
|
|
19083
|
+
* @memberof TerraformResourcesResponse
|
|
19084
|
+
*/
|
|
19085
|
+
'resources': Array<TerraformResourceResponse>;
|
|
19086
|
+
}
|
|
18950
19087
|
/**
|
|
18951
19088
|
* A Terraform service
|
|
18952
19089
|
* @export
|
|
@@ -39731,6 +39868,65 @@ export declare class TerraformMainCallsApi extends BaseAPI {
|
|
|
39731
39868
|
*/
|
|
39732
39869
|
listTerraformVersions(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TerraformVersionResponseList, any, {}>>;
|
|
39733
39870
|
}
|
|
39871
|
+
/**
|
|
39872
|
+
* TerraformResourcesApi - axios parameter creator
|
|
39873
|
+
* @export
|
|
39874
|
+
*/
|
|
39875
|
+
export declare const TerraformResourcesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
39876
|
+
/**
|
|
39877
|
+
* Returns the list of Terraform resources from the most recent deployment execution
|
|
39878
|
+
* @summary Get terraform resources from latest deployment
|
|
39879
|
+
* @param {string} terraformId Terraform ID
|
|
39880
|
+
* @param {*} [options] Override http request option.
|
|
39881
|
+
* @throws {RequiredError}
|
|
39882
|
+
*/
|
|
39883
|
+
getTerraformResources: (terraformId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
39884
|
+
};
|
|
39885
|
+
/**
|
|
39886
|
+
* TerraformResourcesApi - functional programming interface
|
|
39887
|
+
* @export
|
|
39888
|
+
*/
|
|
39889
|
+
export declare const TerraformResourcesApiFp: (configuration?: Configuration) => {
|
|
39890
|
+
/**
|
|
39891
|
+
* Returns the list of Terraform resources from the most recent deployment execution
|
|
39892
|
+
* @summary Get terraform resources from latest deployment
|
|
39893
|
+
* @param {string} terraformId Terraform ID
|
|
39894
|
+
* @param {*} [options] Override http request option.
|
|
39895
|
+
* @throws {RequiredError}
|
|
39896
|
+
*/
|
|
39897
|
+
getTerraformResources(terraformId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerraformResourcesResponse>>;
|
|
39898
|
+
};
|
|
39899
|
+
/**
|
|
39900
|
+
* TerraformResourcesApi - factory interface
|
|
39901
|
+
* @export
|
|
39902
|
+
*/
|
|
39903
|
+
export declare const TerraformResourcesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
39904
|
+
/**
|
|
39905
|
+
* Returns the list of Terraform resources from the most recent deployment execution
|
|
39906
|
+
* @summary Get terraform resources from latest deployment
|
|
39907
|
+
* @param {string} terraformId Terraform ID
|
|
39908
|
+
* @param {*} [options] Override http request option.
|
|
39909
|
+
* @throws {RequiredError}
|
|
39910
|
+
*/
|
|
39911
|
+
getTerraformResources(terraformId: string, options?: RawAxiosRequestConfig): AxiosPromise<TerraformResourcesResponse>;
|
|
39912
|
+
};
|
|
39913
|
+
/**
|
|
39914
|
+
* TerraformResourcesApi - object-oriented interface
|
|
39915
|
+
* @export
|
|
39916
|
+
* @class TerraformResourcesApi
|
|
39917
|
+
* @extends {BaseAPI}
|
|
39918
|
+
*/
|
|
39919
|
+
export declare class TerraformResourcesApi extends BaseAPI {
|
|
39920
|
+
/**
|
|
39921
|
+
* Returns the list of Terraform resources from the most recent deployment execution
|
|
39922
|
+
* @summary Get terraform resources from latest deployment
|
|
39923
|
+
* @param {string} terraformId Terraform ID
|
|
39924
|
+
* @param {*} [options] Override http request option.
|
|
39925
|
+
* @throws {RequiredError}
|
|
39926
|
+
* @memberof TerraformResourcesApi
|
|
39927
|
+
*/
|
|
39928
|
+
getTerraformResources(terraformId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TerraformResourcesResponse, any, {}>>;
|
|
39929
|
+
}
|
|
39734
39930
|
/**
|
|
39735
39931
|
* TerraformsApi - axios parameter creator
|
|
39736
39932
|
* @export
|
package/dist/api.js
CHANGED
|
@@ -24,14 +24,14 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
25
|
exports.EksInfrastructureOutputsKindEnum = exports.DockerfileFragmentInlineTypeEnum = exports.DockerfileFragmentFileTypeEnum = exports.DeploymentRestrictionTypeEnum = exports.DeploymentRestrictionModeEnum = exports.DeploymentHistoryTriggerAction = exports.DeploymentHistoryStatusEnum = exports.DeploymentHistoryServiceDetailsOneOf2JobTypeEnum = exports.DeploymentHistoryActionStatus = exports.DeleteTerraformAction = exports.DatabaseTypeEnum = exports.DatabaseModeEnum = exports.DatabaseAccessibilityEnum = exports.CustomDomainStatusEnum = exports.CreateEnvironmentModeEnum = exports.CpuArchitectureEnum = exports.ContainerRegistryKindEnum = exports.ContainerRegistryAssociatedServiceType = exports.ContainerAdvancedSettingsDeploymentUpdateStrategyTypeEnum = exports.ContainerAdvancedSettingsDeploymentAntiaffinityPodEnum = exports.CompanySizeEnum = exports.ClusterStateEnum = exports.ClusterLogsStepEnum = exports.ClusterFeatureResponseTypeEnum = exports.ClusterFeatureResponseValueTypeEnum = exports.ClusterDeploymentStatusEnum = exports.ClusterDeleteMode = exports.ClusterAdvancedSettingsAwsEksEc2MetadataImdsEnum = exports.CloudVendorEnum = exports.CloudProviderEnum = exports.CheckedCustomDomainStatus = exports.BuildModeEnum = exports.AzureStaticClusterCredentialsObjectTypeEnum = exports.AwsStaticClusterCredentialsObjectTypeEnum = exports.AwsRoleClusterCredentialsObjectTypeEnum = exports.AutoscalingMode = exports.ApplicationAdvancedSettingsDeploymentUpdateStrategyTypeEnum = exports.ApplicationAdvancedSettingsDeploymentAntiaffinityPodEnum = exports.AnnotationsGroupAssociatedItemType = exports.AlertTargetType = exports.AlertSeverity = exports.AlertRuleState = exports.AlertRuleSource = exports.AlertRuleConditionOperator = exports.AlertRuleConditionKind = exports.AlertRuleConditionFunction = exports.AlertReceiverType = exports.AksInfrastructureOutputsKindEnum = exports.APIVariableTypeEnum = exports.APIVariableScopeEnum = void 0;
|
|
26
26
|
exports.ServiceLightResponseJobTypeEnum = exports.ServiceDeploymentStatusEnum = exports.ServiceActionStatusEnum = exports.ServiceActionEnum = exports.ScalewayClusterCredentialsObjectTypeEnum = exports.RewardClaimTypeEnum = exports.RegistryMirroringModeEnum = exports.QueuedDeploymentRequestWithStagesStagesInnerServicesInnerDetailsOneOfJobTypeEnum = exports.PortProtocolEnum = exports.PlanEnum = exports.OrganizationWebhookKindEnum = exports.OrganizationWebhookEventEnum = exports.OrganizationEventType = exports.OrganizationEventTargetType = exports.OrganizationEventTargetLevel = exports.OrganizationEventSubTargetType = exports.OrganizationEventOrigin = exports.OrganizationCustomRoleProjectPermission = exports.OrganizationCustomRoleClusterPermission = exports.OrganizationApiTokenScope = exports.OrganizationAnnotationsGroupScopeEnum = exports.ObservabilityResourceProfile = exports.MetricsConfigurationManagedByQoveryKindEnum = exports.LinkedServiceTypeEnum = exports.LabelsGroupAssociatedItemType = exports.KubernetesEnum = exports.KedaScalerRole = exports.KarpenterNodePoolRequirementOperator = exports.KarpenterNodePoolRequirementKey = exports.KapsuleInfrastructureOutputsKindEnum = exports.JobTypeEnum = exports.JobScheduleEvent = exports.JobLifecycleTypeEnum = exports.JobForceEvent = exports.InvoiceStatusEnum = exports.InviteStatusEnum = exports.InviteMemberRoleEnum = exports.HelmRepositoryKindEnum = exports.HelmRepositoryAssociatedServiceType = exports.HelmPortProtocolEnum = exports.HelmForceEvent = exports.GkeInfrastructureOutputsKindEnum = exports.GitTokenAssociatedServiceType = exports.GitProviderEnum = exports.GenericClusterCredentialsObjectTypeEnum = exports.GcpStaticClusterCredentialsObjectTypeEnum = exports.EnvironmentStatusEventOriginEnum = exports.EnvironmentModeEnum = exports.EnvironmentLogTypeEnum = exports.EnvironmentDeploymentStatusEnum = void 0;
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.
|
|
33
|
-
exports.
|
|
34
|
-
exports.VariableMainCallsApi = exports.VariableMainCallsApiFactory = exports.VariableMainCallsApiFp = exports.VariableMainCallsApiAxiosParamCreator = exports.UserSignUpApi = exports.UserSignUpApiFactory = exports.UserSignUpApiFp = exports.UserSignUpApiAxiosParamCreator = exports.TerraformsApi = exports.TerraformsApiFactory = exports.TerraformsApiFp = exports.TerraformsApiAxiosParamCreator = exports.TerraformMainCallsApi = exports.TerraformMainCallsApiFactory = exports.TerraformMainCallsApiFp = exports.TerraformMainCallsApiAxiosParamCreator = exports.TerraformDeploymentRestrictionApi = exports.TerraformDeploymentRestrictionApiFactory = exports.TerraformDeploymentRestrictionApiFp = exports.TerraformDeploymentRestrictionApiAxiosParamCreator = exports.TerraformDeploymentHistoryApi = exports.TerraformDeploymentHistoryApiFactory = exports.TerraformDeploymentHistoryApiFp = exports.TerraformDeploymentHistoryApiAxiosParamCreator = exports.TerraformConfigurationApi = exports.TerraformConfigurationApiFactory = exports.TerraformConfigurationApiFp = exports.TerraformConfigurationApiAxiosParamCreator = exports.TerraformActionsApi = exports.TerraformActionsApiFactory = exports.TerraformActionsApiFp = exports.TerraformActionsApiAxiosParamCreator = exports.GetIngressDeploymentStatusServiceTypeEnum = void 0;
|
|
27
|
+
exports.ApplicationEnvironmentVariableApiAxiosParamCreator = exports.ApplicationDeploymentRestrictionApi = exports.ApplicationDeploymentRestrictionApiFactory = exports.ApplicationDeploymentRestrictionApiFp = exports.ApplicationDeploymentRestrictionApiAxiosParamCreator = exports.ApplicationDeploymentHistoryApi = exports.ApplicationDeploymentHistoryApiFactory = exports.ApplicationDeploymentHistoryApiFp = exports.ApplicationDeploymentHistoryApiAxiosParamCreator = exports.ApplicationCustomDomainApi = exports.ApplicationCustomDomainApiFactory = exports.ApplicationCustomDomainApiFp = exports.ApplicationCustomDomainApiAxiosParamCreator = exports.ApplicationConfigurationApi = exports.ApplicationConfigurationApiFactory = exports.ApplicationConfigurationApiFp = exports.ApplicationConfigurationApiAxiosParamCreator = exports.ApplicationActionsApi = exports.ApplicationActionsApiFactory = exports.ApplicationActionsApiFp = exports.ApplicationActionsApiAxiosParamCreator = exports.AlertRulesApi = exports.AlertRulesApiFactory = exports.AlertRulesApiFp = exports.AlertRulesApiAxiosParamCreator = exports.AlertReceiversApi = exports.AlertReceiversApiFactory = exports.AlertReceiversApiFp = exports.AlertReceiversApiAxiosParamCreator = exports.AccountInfoApi = exports.AccountInfoApiFactory = exports.AccountInfoApiFp = exports.AccountInfoApiAxiosParamCreator = exports.WeekdayEnum = exports.TypeOfUseEnum = exports.TfVarsDiscoveryModeSpecificPathsTypeEnum = exports.TfVarsDiscoveryModeAutoDiscoverTypeEnum = exports.TerraformResourceResponseModeEnum = exports.TerraformEngineEnum = exports.TerraformDeployRequestActionEnum = exports.StorageTypeEnum = exports.StepMetricStatusEnum = exports.StatusKindEnum = exports.StateEnum = exports.StageStepMetricNameEnum = exports.StageStatusEnum = exports.ServiceTypeForVariableEnum = exports.ServiceTypeEnum = exports.ServiceSubActionEnum = exports.ServiceStepMetricNameEnum = void 0;
|
|
28
|
+
exports.ContainerCustomDomainApiAxiosParamCreator = exports.ContainerConfigurationApi = exports.ContainerConfigurationApiFactory = exports.ContainerConfigurationApiFp = exports.ContainerConfigurationApiAxiosParamCreator = exports.ContainerActionsApi = exports.ContainerActionsApiFactory = exports.ContainerActionsApiFp = exports.ContainerActionsApiAxiosParamCreator = exports.ClustersApi = exports.ClustersApiFactory = exports.ClustersApiFp = exports.ClustersApiAxiosParamCreator = exports.CloudProviderCredentialsApi = exports.CloudProviderCredentialsApiFactory = exports.CloudProviderCredentialsApiFp = exports.CloudProviderCredentialsApiAxiosParamCreator = exports.ListAzureAKSInstanceTypeGpuEnum = exports.ListAWSEKSInstanceTypeGpuEnum = exports.CloudProviderApi = exports.CloudProviderApiFactory = exports.CloudProviderApiFp = exports.CloudProviderApiAxiosParamCreator = exports.BillingApi = exports.BillingApiFactory = exports.BillingApiFp = exports.BillingApiAxiosParamCreator = exports.BackupsApi = exports.BackupsApiFactory = exports.BackupsApiFp = exports.BackupsApiAxiosParamCreator = exports.ApplicationsApi = exports.ApplicationsApiFactory = exports.ApplicationsApiFp = exports.ApplicationsApiAxiosParamCreator = exports.ApplicationSecretApi = exports.ApplicationSecretApiFactory = exports.ApplicationSecretApiFp = exports.ApplicationSecretApiAxiosParamCreator = exports.ApplicationMainCallsApi = exports.ApplicationMainCallsApiFactory = exports.ApplicationMainCallsApiFp = exports.ApplicationMainCallsApiAxiosParamCreator = exports.ApplicationLogsApi = exports.ApplicationLogsApiFactory = exports.ApplicationLogsApiFp = exports.ApplicationLogsApiAxiosParamCreator = exports.ApplicationEnvironmentVariableApi = exports.ApplicationEnvironmentVariableApiFactory = exports.ApplicationEnvironmentVariableApiFp = void 0;
|
|
29
|
+
exports.DatabasesApiFactory = exports.DatabasesApiFp = exports.DatabasesApiAxiosParamCreator = exports.DatabaseMainCallsApi = exports.DatabaseMainCallsApiFactory = exports.DatabaseMainCallsApiFp = exports.DatabaseMainCallsApiAxiosParamCreator = exports.DatabaseDeploymentHistoryApi = exports.DatabaseDeploymentHistoryApiFactory = exports.DatabaseDeploymentHistoryApiFp = exports.DatabaseDeploymentHistoryApiAxiosParamCreator = exports.DatabaseApplicationApi = exports.DatabaseApplicationApiFactory = exports.DatabaseApplicationApiFp = exports.DatabaseApplicationApiAxiosParamCreator = exports.DatabaseActionsApi = exports.DatabaseActionsApiFactory = exports.DatabaseActionsApiFp = exports.DatabaseActionsApiAxiosParamCreator = exports.ContainersApi = exports.ContainersApiFactory = exports.ContainersApiFp = exports.ContainersApiAxiosParamCreator = exports.ContainerSecretApi = exports.ContainerSecretApiFactory = exports.ContainerSecretApiFp = exports.ContainerSecretApiAxiosParamCreator = exports.ContainerRegistriesApi = exports.ContainerRegistriesApiFactory = exports.ContainerRegistriesApiFp = exports.ContainerRegistriesApiAxiosParamCreator = exports.ContainerMainCallsApi = exports.ContainerMainCallsApiFactory = exports.ContainerMainCallsApiFp = exports.ContainerMainCallsApiAxiosParamCreator = exports.ContainerLogsApi = exports.ContainerLogsApiFactory = exports.ContainerLogsApiFp = exports.ContainerLogsApiAxiosParamCreator = exports.ContainerEnvironmentVariableApi = exports.ContainerEnvironmentVariableApiFactory = exports.ContainerEnvironmentVariableApiFp = exports.ContainerEnvironmentVariableApiAxiosParamCreator = exports.ContainerDeploymentHistoryApi = exports.ContainerDeploymentHistoryApiFactory = exports.ContainerDeploymentHistoryApiFp = exports.ContainerDeploymentHistoryApiAxiosParamCreator = exports.ContainerCustomDomainApi = exports.ContainerCustomDomainApiFactory = exports.ContainerCustomDomainApiFp = void 0;
|
|
30
|
+
exports.EnvironmentsApiAxiosParamCreator = exports.EnvironmentVariableApi = exports.EnvironmentVariableApiFactory = exports.EnvironmentVariableApiFp = exports.EnvironmentVariableApiAxiosParamCreator = exports.EnvironmentSecretApi = exports.EnvironmentSecretApiFactory = exports.EnvironmentSecretApiFp = exports.EnvironmentSecretApiAxiosParamCreator = exports.EnvironmentMainCallsApi = exports.EnvironmentMainCallsApiFactory = exports.EnvironmentMainCallsApiFp = exports.EnvironmentMainCallsApiAxiosParamCreator = exports.EnvironmentLogsApi = exports.EnvironmentLogsApiFactory = exports.EnvironmentLogsApiFp = exports.EnvironmentLogsApiAxiosParamCreator = exports.EnvironmentExportApi = exports.EnvironmentExportApiFactory = exports.EnvironmentExportApiFp = exports.EnvironmentExportApiAxiosParamCreator = exports.EnvironmentDeploymentRuleApi = exports.EnvironmentDeploymentRuleApiFactory = exports.EnvironmentDeploymentRuleApiFp = exports.EnvironmentDeploymentRuleApiAxiosParamCreator = exports.EnvironmentDeploymentHistoryApi = exports.EnvironmentDeploymentHistoryApiFactory = exports.EnvironmentDeploymentHistoryApiFp = exports.EnvironmentDeploymentHistoryApiAxiosParamCreator = exports.EnvironmentActionsApi = exports.EnvironmentActionsApiFactory = exports.EnvironmentActionsApiFp = exports.EnvironmentActionsApiAxiosParamCreator = exports.EnvironmentApi = exports.EnvironmentApiFactory = exports.EnvironmentApiFp = exports.EnvironmentApiAxiosParamCreator = exports.DeploymentStageMainCallsApi = exports.DeploymentStageMainCallsApiFactory = exports.DeploymentStageMainCallsApiFp = exports.DeploymentStageMainCallsApiAxiosParamCreator = exports.DeploymentQueueActionsApi = exports.DeploymentQueueActionsApiFactory = exports.DeploymentQueueActionsApiFp = exports.DeploymentQueueActionsApiAxiosParamCreator = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.DatabasesApi = void 0;
|
|
31
|
+
exports.JobConfigurationApiFactory = exports.JobConfigurationApiFp = exports.JobConfigurationApiAxiosParamCreator = exports.JobActionsApi = exports.JobActionsApiFactory = exports.JobActionsApiFp = exports.JobActionsApiAxiosParamCreator = exports.HelmsApi = exports.HelmsApiFactory = exports.HelmsApiFp = exports.HelmsApiAxiosParamCreator = exports.HelmRepositoriesApi = exports.HelmRepositoriesApiFactory = exports.HelmRepositoriesApiFp = exports.HelmRepositoriesApiAxiosParamCreator = exports.HelmMainCallsApi = exports.HelmMainCallsApiFactory = exports.HelmMainCallsApiFp = exports.HelmMainCallsApiAxiosParamCreator = exports.HelmDeploymentRestrictionApi = exports.HelmDeploymentRestrictionApiFactory = exports.HelmDeploymentRestrictionApiFp = exports.HelmDeploymentRestrictionApiAxiosParamCreator = exports.HelmDeploymentHistoryApi = exports.HelmDeploymentHistoryApiFactory = exports.HelmDeploymentHistoryApiFp = exports.HelmDeploymentHistoryApiAxiosParamCreator = exports.HelmCustomDomainApi = exports.HelmCustomDomainApiFactory = exports.HelmCustomDomainApiFp = exports.HelmCustomDomainApiAxiosParamCreator = exports.HelmConfigurationApi = exports.HelmConfigurationApiFactory = exports.HelmConfigurationApiFp = exports.HelmConfigurationApiAxiosParamCreator = exports.HelmActionsApi = exports.HelmActionsApiFactory = exports.HelmActionsApiFp = exports.HelmActionsApiAxiosParamCreator = exports.GithubAppApi = exports.GithubAppApiFactory = exports.GithubAppApiFp = exports.GithubAppApiAxiosParamCreator = exports.GitRepositoriesApi = exports.GitRepositoriesApiFactory = exports.GitRepositoriesApiFp = exports.GitRepositoriesApiAxiosParamCreator = exports.EnvironmentsApi = exports.EnvironmentsApiFactory = exports.EnvironmentsApiFp = void 0;
|
|
32
|
+
exports.OrganizationCustomRoleApiAxiosParamCreator = exports.OrganizationClusterLockApi = exports.OrganizationClusterLockApiFactory = exports.OrganizationClusterLockApiFp = exports.OrganizationClusterLockApiAxiosParamCreator = exports.OrganizationApiTokenApi = exports.OrganizationApiTokenApiFactory = exports.OrganizationApiTokenApiFp = exports.OrganizationApiTokenApiAxiosParamCreator = exports.OrganizationAnnotationsGroupApi = exports.OrganizationAnnotationsGroupApiFactory = exports.OrganizationAnnotationsGroupApiFp = exports.OrganizationAnnotationsGroupApiAxiosParamCreator = exports.OrganizationAccountGitRepositoriesApi = exports.OrganizationAccountGitRepositoriesApiFactory = exports.OrganizationAccountGitRepositoriesApiFp = exports.OrganizationAccountGitRepositoriesApiAxiosParamCreator = exports.MembersApi = exports.MembersApiFactory = exports.MembersApiFp = exports.MembersApiAxiosParamCreator = exports.LifecycleTemplateMainCallsApi = exports.LifecycleTemplateMainCallsApiFactory = exports.LifecycleTemplateMainCallsApiFp = exports.LifecycleTemplateMainCallsApiAxiosParamCreator = exports.JobsApi = exports.JobsApiFactory = exports.JobsApiFp = exports.JobsApiAxiosParamCreator = exports.JobSecretApi = exports.JobSecretApiFactory = exports.JobSecretApiFp = exports.JobSecretApiAxiosParamCreator = exports.JobMainCallsApi = exports.JobMainCallsApiFactory = exports.JobMainCallsApiFp = exports.JobMainCallsApiAxiosParamCreator = exports.JobEnvironmentVariableApi = exports.JobEnvironmentVariableApiFactory = exports.JobEnvironmentVariableApiFp = exports.JobEnvironmentVariableApiAxiosParamCreator = exports.JobDeploymentRestrictionApi = exports.JobDeploymentRestrictionApiFactory = exports.JobDeploymentRestrictionApiFp = exports.JobDeploymentRestrictionApiAxiosParamCreator = exports.JobDeploymentHistoryApi = exports.JobDeploymentHistoryApiFactory = exports.JobDeploymentHistoryApiFp = exports.JobDeploymentHistoryApiAxiosParamCreator = exports.JobConfigurationApi = void 0;
|
|
33
|
+
exports.ServiceStatusApiFactory = exports.ServiceStatusApiFp = exports.ServiceStatusApiAxiosParamCreator = exports.ReferralRewardsApi = exports.ReferralRewardsApiFactory = exports.ReferralRewardsApiFp = exports.ReferralRewardsApiAxiosParamCreator = exports.ProjectsApi = exports.ProjectsApiFactory = exports.ProjectsApiFp = exports.ProjectsApiAxiosParamCreator = exports.ProjectSecretApi = exports.ProjectSecretApiFactory = exports.ProjectSecretApiFp = exports.ProjectSecretApiAxiosParamCreator = exports.ProjectMainCallsApi = exports.ProjectMainCallsApiFactory = exports.ProjectMainCallsApiFp = exports.ProjectMainCallsApiAxiosParamCreator = exports.ProjectEnvironmentVariableApi = exports.ProjectEnvironmentVariableApiFactory = exports.ProjectEnvironmentVariableApiFp = exports.ProjectEnvironmentVariableApiAxiosParamCreator = exports.ProjectDeploymentRuleApi = exports.ProjectDeploymentRuleApiFactory = exports.ProjectDeploymentRuleApiFp = exports.ProjectDeploymentRuleApiAxiosParamCreator = exports.OrganizationWebhookApi = exports.OrganizationWebhookApiFactory = exports.OrganizationWebhookApiFp = exports.OrganizationWebhookApiAxiosParamCreator = exports.OrganizationMainCallsApi = exports.OrganizationMainCallsApiFactory = exports.OrganizationMainCallsApiFp = exports.OrganizationMainCallsApiAxiosParamCreator = exports.OrganizationLabelsGroupApi = exports.OrganizationLabelsGroupApiFactory = exports.OrganizationLabelsGroupApiFp = exports.OrganizationLabelsGroupApiAxiosParamCreator = exports.OrganizationEventApi = exports.OrganizationEventApiFactory = exports.OrganizationEventApiFp = exports.OrganizationEventApiAxiosParamCreator = exports.OrganizationEnterpriseConnectionApi = exports.OrganizationEnterpriseConnectionApiFactory = exports.OrganizationEnterpriseConnectionApiFp = exports.OrganizationEnterpriseConnectionApiAxiosParamCreator = exports.OrganizationCustomRoleApi = exports.OrganizationCustomRoleApiFactory = exports.OrganizationCustomRoleApiFp = void 0;
|
|
34
|
+
exports.VariableMainCallsApi = exports.VariableMainCallsApiFactory = exports.VariableMainCallsApiFp = exports.VariableMainCallsApiAxiosParamCreator = exports.UserSignUpApi = exports.UserSignUpApiFactory = exports.UserSignUpApiFp = exports.UserSignUpApiAxiosParamCreator = exports.TerraformsApi = exports.TerraformsApiFactory = exports.TerraformsApiFp = exports.TerraformsApiAxiosParamCreator = exports.TerraformResourcesApi = exports.TerraformResourcesApiFactory = exports.TerraformResourcesApiFp = exports.TerraformResourcesApiAxiosParamCreator = exports.TerraformMainCallsApi = exports.TerraformMainCallsApiFactory = exports.TerraformMainCallsApiFp = exports.TerraformMainCallsApiAxiosParamCreator = exports.TerraformDeploymentRestrictionApi = exports.TerraformDeploymentRestrictionApiFactory = exports.TerraformDeploymentRestrictionApiFp = exports.TerraformDeploymentRestrictionApiAxiosParamCreator = exports.TerraformDeploymentHistoryApi = exports.TerraformDeploymentHistoryApiFactory = exports.TerraformDeploymentHistoryApiFp = exports.TerraformDeploymentHistoryApiAxiosParamCreator = exports.TerraformConfigurationApi = exports.TerraformConfigurationApiFactory = exports.TerraformConfigurationApiFp = exports.TerraformConfigurationApiAxiosParamCreator = exports.TerraformActionsApi = exports.TerraformActionsApiFactory = exports.TerraformActionsApiFp = exports.TerraformActionsApiAxiosParamCreator = exports.GetIngressDeploymentStatusServiceTypeEnum = exports.ServiceStatusApi = void 0;
|
|
35
35
|
const axios_1 = require("axios");
|
|
36
36
|
// Some imports not used depending on template conditions
|
|
37
37
|
// @ts-ignore
|
|
@@ -1252,6 +1252,10 @@ exports.TerraformEngineEnum = {
|
|
|
1252
1252
|
TERRAFORM: 'TERRAFORM',
|
|
1253
1253
|
OPEN_TOFU: 'OPEN_TOFU'
|
|
1254
1254
|
};
|
|
1255
|
+
exports.TerraformResourceResponseModeEnum = {
|
|
1256
|
+
MANAGED: 'managed',
|
|
1257
|
+
DATA: 'data'
|
|
1258
|
+
};
|
|
1255
1259
|
exports.TfVarsDiscoveryModeAutoDiscoverTypeEnum = {
|
|
1256
1260
|
AUTO_DISCOVER: 'AutoDiscover'
|
|
1257
1261
|
};
|
|
@@ -41264,6 +41268,115 @@ class TerraformMainCallsApi extends base_1.BaseAPI {
|
|
|
41264
41268
|
}
|
|
41265
41269
|
}
|
|
41266
41270
|
exports.TerraformMainCallsApi = TerraformMainCallsApi;
|
|
41271
|
+
/**
|
|
41272
|
+
* TerraformResourcesApi - axios parameter creator
|
|
41273
|
+
* @export
|
|
41274
|
+
*/
|
|
41275
|
+
const TerraformResourcesApiAxiosParamCreator = function (configuration) {
|
|
41276
|
+
return {
|
|
41277
|
+
/**
|
|
41278
|
+
* Returns the list of Terraform resources from the most recent deployment execution
|
|
41279
|
+
* @summary Get terraform resources from latest deployment
|
|
41280
|
+
* @param {string} terraformId Terraform ID
|
|
41281
|
+
* @param {*} [options] Override http request option.
|
|
41282
|
+
* @throws {RequiredError}
|
|
41283
|
+
*/
|
|
41284
|
+
getTerraformResources: (terraformId_1, ...args_1) => __awaiter(this, [terraformId_1, ...args_1], void 0, function* (terraformId, options = {}) {
|
|
41285
|
+
// verify required parameter 'terraformId' is not null or undefined
|
|
41286
|
+
(0, common_1.assertParamExists)('getTerraformResources', 'terraformId', terraformId);
|
|
41287
|
+
const localVarPath = `/api/v1/terraform/{terraformId}/terraformResources`
|
|
41288
|
+
.replace(`{${"terraformId"}}`, encodeURIComponent(String(terraformId)));
|
|
41289
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
41290
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
41291
|
+
let baseOptions;
|
|
41292
|
+
if (configuration) {
|
|
41293
|
+
baseOptions = configuration.baseOptions;
|
|
41294
|
+
}
|
|
41295
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
41296
|
+
const localVarHeaderParameter = {};
|
|
41297
|
+
const localVarQueryParameter = {};
|
|
41298
|
+
// authentication ApiKeyAuth required
|
|
41299
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
41300
|
+
// authentication bearerAuth required
|
|
41301
|
+
// http bearer authentication required
|
|
41302
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
41303
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
41304
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
41305
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
41306
|
+
return {
|
|
41307
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
41308
|
+
options: localVarRequestOptions,
|
|
41309
|
+
};
|
|
41310
|
+
}),
|
|
41311
|
+
};
|
|
41312
|
+
};
|
|
41313
|
+
exports.TerraformResourcesApiAxiosParamCreator = TerraformResourcesApiAxiosParamCreator;
|
|
41314
|
+
/**
|
|
41315
|
+
* TerraformResourcesApi - functional programming interface
|
|
41316
|
+
* @export
|
|
41317
|
+
*/
|
|
41318
|
+
const TerraformResourcesApiFp = function (configuration) {
|
|
41319
|
+
const localVarAxiosParamCreator = (0, exports.TerraformResourcesApiAxiosParamCreator)(configuration);
|
|
41320
|
+
return {
|
|
41321
|
+
/**
|
|
41322
|
+
* Returns the list of Terraform resources from the most recent deployment execution
|
|
41323
|
+
* @summary Get terraform resources from latest deployment
|
|
41324
|
+
* @param {string} terraformId Terraform ID
|
|
41325
|
+
* @param {*} [options] Override http request option.
|
|
41326
|
+
* @throws {RequiredError}
|
|
41327
|
+
*/
|
|
41328
|
+
getTerraformResources(terraformId, options) {
|
|
41329
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
41330
|
+
var _a, _b, _c;
|
|
41331
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getTerraformResources(terraformId, options);
|
|
41332
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
41333
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TerraformResourcesApi.getTerraformResources']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
41334
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
41335
|
+
});
|
|
41336
|
+
},
|
|
41337
|
+
};
|
|
41338
|
+
};
|
|
41339
|
+
exports.TerraformResourcesApiFp = TerraformResourcesApiFp;
|
|
41340
|
+
/**
|
|
41341
|
+
* TerraformResourcesApi - factory interface
|
|
41342
|
+
* @export
|
|
41343
|
+
*/
|
|
41344
|
+
const TerraformResourcesApiFactory = function (configuration, basePath, axios) {
|
|
41345
|
+
const localVarFp = (0, exports.TerraformResourcesApiFp)(configuration);
|
|
41346
|
+
return {
|
|
41347
|
+
/**
|
|
41348
|
+
* Returns the list of Terraform resources from the most recent deployment execution
|
|
41349
|
+
* @summary Get terraform resources from latest deployment
|
|
41350
|
+
* @param {string} terraformId Terraform ID
|
|
41351
|
+
* @param {*} [options] Override http request option.
|
|
41352
|
+
* @throws {RequiredError}
|
|
41353
|
+
*/
|
|
41354
|
+
getTerraformResources(terraformId, options) {
|
|
41355
|
+
return localVarFp.getTerraformResources(terraformId, options).then((request) => request(axios, basePath));
|
|
41356
|
+
},
|
|
41357
|
+
};
|
|
41358
|
+
};
|
|
41359
|
+
exports.TerraformResourcesApiFactory = TerraformResourcesApiFactory;
|
|
41360
|
+
/**
|
|
41361
|
+
* TerraformResourcesApi - object-oriented interface
|
|
41362
|
+
* @export
|
|
41363
|
+
* @class TerraformResourcesApi
|
|
41364
|
+
* @extends {BaseAPI}
|
|
41365
|
+
*/
|
|
41366
|
+
class TerraformResourcesApi extends base_1.BaseAPI {
|
|
41367
|
+
/**
|
|
41368
|
+
* Returns the list of Terraform resources from the most recent deployment execution
|
|
41369
|
+
* @summary Get terraform resources from latest deployment
|
|
41370
|
+
* @param {string} terraformId Terraform ID
|
|
41371
|
+
* @param {*} [options] Override http request option.
|
|
41372
|
+
* @throws {RequiredError}
|
|
41373
|
+
* @memberof TerraformResourcesApi
|
|
41374
|
+
*/
|
|
41375
|
+
getTerraformResources(terraformId, options) {
|
|
41376
|
+
return (0, exports.TerraformResourcesApiFp)(this.configuration).getTerraformResources(terraformId, options).then((request) => request(this.axios, this.basePath));
|
|
41377
|
+
}
|
|
41378
|
+
}
|
|
41379
|
+
exports.TerraformResourcesApi = TerraformResourcesApi;
|
|
41267
41380
|
/**
|
|
41268
41381
|
* TerraformsApi - axios parameter creator
|
|
41269
41382
|
* @export
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -1261,6 +1261,12 @@ export interface ApplicationAdvancedSettings {
|
|
|
1261
1261
|
* @memberof ApplicationAdvancedSettings
|
|
1262
1262
|
*/
|
|
1263
1263
|
'hpa.cpu.average_utilization_percent'?: number;
|
|
1264
|
+
/**
|
|
1265
|
+
* Percentage value of memory usage at which point pods should scale up.
|
|
1266
|
+
* @type {number}
|
|
1267
|
+
* @memberof ApplicationAdvancedSettings
|
|
1268
|
+
*/
|
|
1269
|
+
'hpa.memory.average_utilization_percent'?: number | null;
|
|
1264
1270
|
/**
|
|
1265
1271
|
* Allows you to set an existing Kubernetes service account name
|
|
1266
1272
|
* @type {string}
|
|
@@ -4964,6 +4970,12 @@ export interface ContainerAdvancedSettings {
|
|
|
4964
4970
|
* @memberof ContainerAdvancedSettings
|
|
4965
4971
|
*/
|
|
4966
4972
|
'hpa.cpu.average_utilization_percent'?: number;
|
|
4973
|
+
/**
|
|
4974
|
+
* Percentage value of memory usage at which point pods should scale up.
|
|
4975
|
+
* @type {number}
|
|
4976
|
+
* @memberof ContainerAdvancedSettings
|
|
4977
|
+
*/
|
|
4978
|
+
'hpa.memory.average_utilization_percent'?: number | null;
|
|
4967
4979
|
/**
|
|
4968
4980
|
* Automount Kubernetes service account token to have access to Kubernetes API from pods
|
|
4969
4981
|
* @type {boolean}
|
|
@@ -18947,6 +18959,131 @@ export interface TerraformRequestTerraformFilesSourceOneOf {
|
|
|
18947
18959
|
*/
|
|
18948
18960
|
'git_repository'?: TerraformGitRepositoryRequest;
|
|
18949
18961
|
}
|
|
18962
|
+
/**
|
|
18963
|
+
* A single attribute of a Terraform resource with key and value
|
|
18964
|
+
* @export
|
|
18965
|
+
* @interface TerraformResourceAttribute
|
|
18966
|
+
*/
|
|
18967
|
+
export interface TerraformResourceAttribute {
|
|
18968
|
+
/**
|
|
18969
|
+
* The attribute key name
|
|
18970
|
+
* @type {string}
|
|
18971
|
+
* @memberof TerraformResourceAttribute
|
|
18972
|
+
*/
|
|
18973
|
+
'key': string;
|
|
18974
|
+
/**
|
|
18975
|
+
* The attribute value as a string
|
|
18976
|
+
* @type {string}
|
|
18977
|
+
* @memberof TerraformResourceAttribute
|
|
18978
|
+
*/
|
|
18979
|
+
'value': string;
|
|
18980
|
+
}
|
|
18981
|
+
/**
|
|
18982
|
+
* A Terraform resource from a deployment execution
|
|
18983
|
+
* @export
|
|
18984
|
+
* @interface TerraformResourceResponse
|
|
18985
|
+
*/
|
|
18986
|
+
export interface TerraformResourceResponse {
|
|
18987
|
+
/**
|
|
18988
|
+
* Unique identifier for this resource record
|
|
18989
|
+
* @type {string}
|
|
18990
|
+
* @memberof TerraformResourceResponse
|
|
18991
|
+
*/
|
|
18992
|
+
'id': string;
|
|
18993
|
+
/**
|
|
18994
|
+
* Type of the Terraform resource (e.g., aws_instance, aws_s3_bucket)
|
|
18995
|
+
* @type {string}
|
|
18996
|
+
* @memberof TerraformResourceResponse
|
|
18997
|
+
*/
|
|
18998
|
+
'resourceType': string;
|
|
18999
|
+
/**
|
|
19000
|
+
* Name of the resource as defined in Terraform configuration
|
|
19001
|
+
* @type {string}
|
|
19002
|
+
* @memberof TerraformResourceResponse
|
|
19003
|
+
*/
|
|
19004
|
+
'name': string;
|
|
19005
|
+
/**
|
|
19006
|
+
* Full address of the resource (e.g., aws_instance.web_server)
|
|
19007
|
+
* @type {string}
|
|
19008
|
+
* @memberof TerraformResourceResponse
|
|
19009
|
+
*/
|
|
19010
|
+
'address': string;
|
|
19011
|
+
/**
|
|
19012
|
+
* Terraform provider name (e.g., aws, google, azurerm)
|
|
19013
|
+
* @type {string}
|
|
19014
|
+
* @memberof TerraformResourceResponse
|
|
19015
|
+
*/
|
|
19016
|
+
'provider': string;
|
|
19017
|
+
/**
|
|
19018
|
+
* Resource mode (managed or data source)
|
|
19019
|
+
* @type {string}
|
|
19020
|
+
* @memberof TerraformResourceResponse
|
|
19021
|
+
*/
|
|
19022
|
+
'mode': TerraformResourceResponseModeEnum;
|
|
19023
|
+
/**
|
|
19024
|
+
* All resource attributes as key-value pairs
|
|
19025
|
+
* @type {{ [key: string]: any; }}
|
|
19026
|
+
* @memberof TerraformResourceResponse
|
|
19027
|
+
*/
|
|
19028
|
+
'attributes': {
|
|
19029
|
+
[key: string]: any;
|
|
19030
|
+
};
|
|
19031
|
+
/**
|
|
19032
|
+
* Timestamp when the resource was extracted from Terraform state
|
|
19033
|
+
* @type {string}
|
|
19034
|
+
* @memberof TerraformResourceResponse
|
|
19035
|
+
*/
|
|
19036
|
+
'extractedAt': string;
|
|
19037
|
+
/**
|
|
19038
|
+
* Most important attributes for this resource type (for display)
|
|
19039
|
+
* @type {Array<TerraformResourceAttribute>}
|
|
19040
|
+
* @memberof TerraformResourceResponse
|
|
19041
|
+
*/
|
|
19042
|
+
'keyAttributes': Array<TerraformResourceAttribute>;
|
|
19043
|
+
}
|
|
19044
|
+
export declare const TerraformResourceResponseModeEnum: {
|
|
19045
|
+
readonly MANAGED: "managed";
|
|
19046
|
+
readonly DATA: "data";
|
|
19047
|
+
};
|
|
19048
|
+
export type TerraformResourceResponseModeEnum = typeof TerraformResourceResponseModeEnum[keyof typeof TerraformResourceResponseModeEnum];
|
|
19049
|
+
/**
|
|
19050
|
+
* Request to store terraform resources from engine after deployment
|
|
19051
|
+
* @export
|
|
19052
|
+
* @interface TerraformResourcesRequest
|
|
19053
|
+
*/
|
|
19054
|
+
export interface TerraformResourcesRequest {
|
|
19055
|
+
/**
|
|
19056
|
+
* ID of the Terraform service
|
|
19057
|
+
* @type {string}
|
|
19058
|
+
* @memberof TerraformResourcesRequest
|
|
19059
|
+
*/
|
|
19060
|
+
'terraformId': string;
|
|
19061
|
+
/**
|
|
19062
|
+
* Execution ID in format \"UUID-version\" or \"UUID-version-timestamp\" Example: 550e8400-e29b-41d4-a716-446655440000-1
|
|
19063
|
+
* @type {string}
|
|
19064
|
+
* @memberof TerraformResourcesRequest
|
|
19065
|
+
*/
|
|
19066
|
+
'executionId': string;
|
|
19067
|
+
/**
|
|
19068
|
+
* JSON array of terraform resources extracted from terraform show output. Each resource contains: resource_type, name, provider, address, mode, attributes
|
|
19069
|
+
* @type {string}
|
|
19070
|
+
* @memberof TerraformResourcesRequest
|
|
19071
|
+
*/
|
|
19072
|
+
'resourcesJson': string;
|
|
19073
|
+
}
|
|
19074
|
+
/**
|
|
19075
|
+
* List of Terraform resources from the latest deployment
|
|
19076
|
+
* @export
|
|
19077
|
+
* @interface TerraformResourcesResponse
|
|
19078
|
+
*/
|
|
19079
|
+
export interface TerraformResourcesResponse {
|
|
19080
|
+
/**
|
|
19081
|
+
* Array of Terraform resources
|
|
19082
|
+
* @type {Array<TerraformResourceResponse>}
|
|
19083
|
+
* @memberof TerraformResourcesResponse
|
|
19084
|
+
*/
|
|
19085
|
+
'resources': Array<TerraformResourceResponse>;
|
|
19086
|
+
}
|
|
18950
19087
|
/**
|
|
18951
19088
|
* A Terraform service
|
|
18952
19089
|
* @export
|
|
@@ -39731,6 +39868,65 @@ export declare class TerraformMainCallsApi extends BaseAPI {
|
|
|
39731
39868
|
*/
|
|
39732
39869
|
listTerraformVersions(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TerraformVersionResponseList, any, {}>>;
|
|
39733
39870
|
}
|
|
39871
|
+
/**
|
|
39872
|
+
* TerraformResourcesApi - axios parameter creator
|
|
39873
|
+
* @export
|
|
39874
|
+
*/
|
|
39875
|
+
export declare const TerraformResourcesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
39876
|
+
/**
|
|
39877
|
+
* Returns the list of Terraform resources from the most recent deployment execution
|
|
39878
|
+
* @summary Get terraform resources from latest deployment
|
|
39879
|
+
* @param {string} terraformId Terraform ID
|
|
39880
|
+
* @param {*} [options] Override http request option.
|
|
39881
|
+
* @throws {RequiredError}
|
|
39882
|
+
*/
|
|
39883
|
+
getTerraformResources: (terraformId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
39884
|
+
};
|
|
39885
|
+
/**
|
|
39886
|
+
* TerraformResourcesApi - functional programming interface
|
|
39887
|
+
* @export
|
|
39888
|
+
*/
|
|
39889
|
+
export declare const TerraformResourcesApiFp: (configuration?: Configuration) => {
|
|
39890
|
+
/**
|
|
39891
|
+
* Returns the list of Terraform resources from the most recent deployment execution
|
|
39892
|
+
* @summary Get terraform resources from latest deployment
|
|
39893
|
+
* @param {string} terraformId Terraform ID
|
|
39894
|
+
* @param {*} [options] Override http request option.
|
|
39895
|
+
* @throws {RequiredError}
|
|
39896
|
+
*/
|
|
39897
|
+
getTerraformResources(terraformId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerraformResourcesResponse>>;
|
|
39898
|
+
};
|
|
39899
|
+
/**
|
|
39900
|
+
* TerraformResourcesApi - factory interface
|
|
39901
|
+
* @export
|
|
39902
|
+
*/
|
|
39903
|
+
export declare const TerraformResourcesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
39904
|
+
/**
|
|
39905
|
+
* Returns the list of Terraform resources from the most recent deployment execution
|
|
39906
|
+
* @summary Get terraform resources from latest deployment
|
|
39907
|
+
* @param {string} terraformId Terraform ID
|
|
39908
|
+
* @param {*} [options] Override http request option.
|
|
39909
|
+
* @throws {RequiredError}
|
|
39910
|
+
*/
|
|
39911
|
+
getTerraformResources(terraformId: string, options?: RawAxiosRequestConfig): AxiosPromise<TerraformResourcesResponse>;
|
|
39912
|
+
};
|
|
39913
|
+
/**
|
|
39914
|
+
* TerraformResourcesApi - object-oriented interface
|
|
39915
|
+
* @export
|
|
39916
|
+
* @class TerraformResourcesApi
|
|
39917
|
+
* @extends {BaseAPI}
|
|
39918
|
+
*/
|
|
39919
|
+
export declare class TerraformResourcesApi extends BaseAPI {
|
|
39920
|
+
/**
|
|
39921
|
+
* Returns the list of Terraform resources from the most recent deployment execution
|
|
39922
|
+
* @summary Get terraform resources from latest deployment
|
|
39923
|
+
* @param {string} terraformId Terraform ID
|
|
39924
|
+
* @param {*} [options] Override http request option.
|
|
39925
|
+
* @throws {RequiredError}
|
|
39926
|
+
* @memberof TerraformResourcesApi
|
|
39927
|
+
*/
|
|
39928
|
+
getTerraformResources(terraformId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TerraformResourcesResponse, any, {}>>;
|
|
39929
|
+
}
|
|
39734
39930
|
/**
|
|
39735
39931
|
* TerraformsApi - axios parameter creator
|
|
39736
39932
|
* @export
|
package/dist/esm/api.js
CHANGED
|
@@ -1240,6 +1240,10 @@ export const TerraformEngineEnum = {
|
|
|
1240
1240
|
TERRAFORM: 'TERRAFORM',
|
|
1241
1241
|
OPEN_TOFU: 'OPEN_TOFU'
|
|
1242
1242
|
};
|
|
1243
|
+
export const TerraformResourceResponseModeEnum = {
|
|
1244
|
+
MANAGED: 'managed',
|
|
1245
|
+
DATA: 'data'
|
|
1246
|
+
};
|
|
1243
1247
|
export const TfVarsDiscoveryModeAutoDiscoverTypeEnum = {
|
|
1244
1248
|
AUTO_DISCOVER: 'AutoDiscover'
|
|
1245
1249
|
};
|
|
@@ -40900,6 +40904,111 @@ export class TerraformMainCallsApi extends BaseAPI {
|
|
|
40900
40904
|
return TerraformMainCallsApiFp(this.configuration).listTerraformVersions(options).then((request) => request(this.axios, this.basePath));
|
|
40901
40905
|
}
|
|
40902
40906
|
}
|
|
40907
|
+
/**
|
|
40908
|
+
* TerraformResourcesApi - axios parameter creator
|
|
40909
|
+
* @export
|
|
40910
|
+
*/
|
|
40911
|
+
export const TerraformResourcesApiAxiosParamCreator = function (configuration) {
|
|
40912
|
+
return {
|
|
40913
|
+
/**
|
|
40914
|
+
* Returns the list of Terraform resources from the most recent deployment execution
|
|
40915
|
+
* @summary Get terraform resources from latest deployment
|
|
40916
|
+
* @param {string} terraformId Terraform ID
|
|
40917
|
+
* @param {*} [options] Override http request option.
|
|
40918
|
+
* @throws {RequiredError}
|
|
40919
|
+
*/
|
|
40920
|
+
getTerraformResources: (terraformId_1, ...args_1) => __awaiter(this, [terraformId_1, ...args_1], void 0, function* (terraformId, options = {}) {
|
|
40921
|
+
// verify required parameter 'terraformId' is not null or undefined
|
|
40922
|
+
assertParamExists('getTerraformResources', 'terraformId', terraformId);
|
|
40923
|
+
const localVarPath = `/api/v1/terraform/{terraformId}/terraformResources`
|
|
40924
|
+
.replace(`{${"terraformId"}}`, encodeURIComponent(String(terraformId)));
|
|
40925
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
40926
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
40927
|
+
let baseOptions;
|
|
40928
|
+
if (configuration) {
|
|
40929
|
+
baseOptions = configuration.baseOptions;
|
|
40930
|
+
}
|
|
40931
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
40932
|
+
const localVarHeaderParameter = {};
|
|
40933
|
+
const localVarQueryParameter = {};
|
|
40934
|
+
// authentication ApiKeyAuth required
|
|
40935
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
40936
|
+
// authentication bearerAuth required
|
|
40937
|
+
// http bearer authentication required
|
|
40938
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
40939
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
40940
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
40941
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
40942
|
+
return {
|
|
40943
|
+
url: toPathString(localVarUrlObj),
|
|
40944
|
+
options: localVarRequestOptions,
|
|
40945
|
+
};
|
|
40946
|
+
}),
|
|
40947
|
+
};
|
|
40948
|
+
};
|
|
40949
|
+
/**
|
|
40950
|
+
* TerraformResourcesApi - functional programming interface
|
|
40951
|
+
* @export
|
|
40952
|
+
*/
|
|
40953
|
+
export const TerraformResourcesApiFp = function (configuration) {
|
|
40954
|
+
const localVarAxiosParamCreator = TerraformResourcesApiAxiosParamCreator(configuration);
|
|
40955
|
+
return {
|
|
40956
|
+
/**
|
|
40957
|
+
* Returns the list of Terraform resources from the most recent deployment execution
|
|
40958
|
+
* @summary Get terraform resources from latest deployment
|
|
40959
|
+
* @param {string} terraformId Terraform ID
|
|
40960
|
+
* @param {*} [options] Override http request option.
|
|
40961
|
+
* @throws {RequiredError}
|
|
40962
|
+
*/
|
|
40963
|
+
getTerraformResources(terraformId, options) {
|
|
40964
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
40965
|
+
var _a, _b, _c;
|
|
40966
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getTerraformResources(terraformId, options);
|
|
40967
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
40968
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TerraformResourcesApi.getTerraformResources']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
40969
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
40970
|
+
});
|
|
40971
|
+
},
|
|
40972
|
+
};
|
|
40973
|
+
};
|
|
40974
|
+
/**
|
|
40975
|
+
* TerraformResourcesApi - factory interface
|
|
40976
|
+
* @export
|
|
40977
|
+
*/
|
|
40978
|
+
export const TerraformResourcesApiFactory = function (configuration, basePath, axios) {
|
|
40979
|
+
const localVarFp = TerraformResourcesApiFp(configuration);
|
|
40980
|
+
return {
|
|
40981
|
+
/**
|
|
40982
|
+
* Returns the list of Terraform resources from the most recent deployment execution
|
|
40983
|
+
* @summary Get terraform resources from latest deployment
|
|
40984
|
+
* @param {string} terraformId Terraform ID
|
|
40985
|
+
* @param {*} [options] Override http request option.
|
|
40986
|
+
* @throws {RequiredError}
|
|
40987
|
+
*/
|
|
40988
|
+
getTerraformResources(terraformId, options) {
|
|
40989
|
+
return localVarFp.getTerraformResources(terraformId, options).then((request) => request(axios, basePath));
|
|
40990
|
+
},
|
|
40991
|
+
};
|
|
40992
|
+
};
|
|
40993
|
+
/**
|
|
40994
|
+
* TerraformResourcesApi - object-oriented interface
|
|
40995
|
+
* @export
|
|
40996
|
+
* @class TerraformResourcesApi
|
|
40997
|
+
* @extends {BaseAPI}
|
|
40998
|
+
*/
|
|
40999
|
+
export class TerraformResourcesApi extends BaseAPI {
|
|
41000
|
+
/**
|
|
41001
|
+
* Returns the list of Terraform resources from the most recent deployment execution
|
|
41002
|
+
* @summary Get terraform resources from latest deployment
|
|
41003
|
+
* @param {string} terraformId Terraform ID
|
|
41004
|
+
* @param {*} [options] Override http request option.
|
|
41005
|
+
* @throws {RequiredError}
|
|
41006
|
+
* @memberof TerraformResourcesApi
|
|
41007
|
+
*/
|
|
41008
|
+
getTerraformResources(terraformId, options) {
|
|
41009
|
+
return TerraformResourcesApiFp(this.configuration).getTerraformResources(terraformId, options).then((request) => request(this.axios, this.basePath));
|
|
41010
|
+
}
|
|
41011
|
+
}
|
|
40903
41012
|
/**
|
|
40904
41013
|
* TerraformsApi - axios parameter creator
|
|
40905
41014
|
* @export
|