qovery-typescript-axios 1.1.979 → 1.1.981
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 +111 -4
- package/dist/api.d.ts +68 -4
- package/dist/api.js +75 -4
- package/dist/esm/api.d.ts +68 -4
- package/dist/esm/api.js +75 -4
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -4166,6 +4166,31 @@ export interface BlueprintCatalogResponse {
|
|
|
4166
4166
|
*/
|
|
4167
4167
|
'blueprints': Array<BlueprintItem>;
|
|
4168
4168
|
}
|
|
4169
|
+
/**
|
|
4170
|
+
*
|
|
4171
|
+
* @export
|
|
4172
|
+
* @interface BlueprintConfigurationVariable
|
|
4173
|
+
*/
|
|
4174
|
+
export interface BlueprintConfigurationVariable {
|
|
4175
|
+
/**
|
|
4176
|
+
*
|
|
4177
|
+
* @type {string}
|
|
4178
|
+
* @memberof BlueprintConfigurationVariable
|
|
4179
|
+
*/
|
|
4180
|
+
'name': string;
|
|
4181
|
+
/**
|
|
4182
|
+
* Omitted for secret variables.
|
|
4183
|
+
* @type {string}
|
|
4184
|
+
* @memberof BlueprintConfigurationVariable
|
|
4185
|
+
*/
|
|
4186
|
+
'value'?: string;
|
|
4187
|
+
/**
|
|
4188
|
+
*
|
|
4189
|
+
* @type {boolean}
|
|
4190
|
+
* @memberof BlueprintConfigurationVariable
|
|
4191
|
+
*/
|
|
4192
|
+
'is_secret': boolean;
|
|
4193
|
+
}
|
|
4169
4194
|
/**
|
|
4170
4195
|
*
|
|
4171
4196
|
* @export
|
|
@@ -6793,6 +6818,12 @@ export interface ClusterDeploymentHistory {
|
|
|
6793
6818
|
* @memberof ClusterDeploymentHistory
|
|
6794
6819
|
*/
|
|
6795
6820
|
'trigger_action': DeploymentHistoryTriggerAction;
|
|
6821
|
+
/**
|
|
6822
|
+
*
|
|
6823
|
+
* @type {boolean}
|
|
6824
|
+
* @memberof ClusterDeploymentHistory
|
|
6825
|
+
*/
|
|
6826
|
+
'is_dry_run': boolean;
|
|
6796
6827
|
/**
|
|
6797
6828
|
*
|
|
6798
6829
|
* @type {string}
|
|
@@ -37523,6 +37554,47 @@ export const BlueprintMainCallsApiAxiosParamCreator = function (configuration?:
|
|
|
37523
37554
|
|
|
37524
37555
|
|
|
37525
37556
|
|
|
37557
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
37558
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
37559
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
37560
|
+
|
|
37561
|
+
return {
|
|
37562
|
+
url: toPathString(localVarUrlObj),
|
|
37563
|
+
options: localVarRequestOptions,
|
|
37564
|
+
};
|
|
37565
|
+
},
|
|
37566
|
+
/**
|
|
37567
|
+
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
37568
|
+
* @summary Get persisted blueprint variables
|
|
37569
|
+
* @param {string} blueprintId Blueprint ID
|
|
37570
|
+
* @param {*} [options] Override http request option.
|
|
37571
|
+
* @throws {RequiredError}
|
|
37572
|
+
*/
|
|
37573
|
+
getBlueprintVariables: async (blueprintId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
37574
|
+
// verify required parameter 'blueprintId' is not null or undefined
|
|
37575
|
+
assertParamExists('getBlueprintVariables', 'blueprintId', blueprintId)
|
|
37576
|
+
const localVarPath = `/blueprint/{blueprintId}/variables`
|
|
37577
|
+
.replace(`{${"blueprintId"}}`, encodeURIComponent(String(blueprintId)));
|
|
37578
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
37579
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
37580
|
+
let baseOptions;
|
|
37581
|
+
if (configuration) {
|
|
37582
|
+
baseOptions = configuration.baseOptions;
|
|
37583
|
+
}
|
|
37584
|
+
|
|
37585
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
37586
|
+
const localVarHeaderParameter = {} as any;
|
|
37587
|
+
const localVarQueryParameter = {} as any;
|
|
37588
|
+
|
|
37589
|
+
// authentication ApiKeyAuth required
|
|
37590
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
37591
|
+
|
|
37592
|
+
// authentication bearerAuth required
|
|
37593
|
+
// http bearer authentication required
|
|
37594
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
37595
|
+
|
|
37596
|
+
|
|
37597
|
+
|
|
37526
37598
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
37527
37599
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
37528
37600
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -37718,6 +37790,19 @@ export const BlueprintMainCallsApiFp = function(configuration?: Configuration) {
|
|
|
37718
37790
|
const localVarOperationServerBasePath = operationServerMap['BlueprintMainCallsApi.getBlueprintCatalog']?.[localVarOperationServerIndex]?.url;
|
|
37719
37791
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
37720
37792
|
},
|
|
37793
|
+
/**
|
|
37794
|
+
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
37795
|
+
* @summary Get persisted blueprint variables
|
|
37796
|
+
* @param {string} blueprintId Blueprint ID
|
|
37797
|
+
* @param {*} [options] Override http request option.
|
|
37798
|
+
* @throws {RequiredError}
|
|
37799
|
+
*/
|
|
37800
|
+
async getBlueprintVariables(blueprintId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BlueprintConfigurationVariable>>> {
|
|
37801
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getBlueprintVariables(blueprintId, options);
|
|
37802
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
37803
|
+
const localVarOperationServerBasePath = operationServerMap['BlueprintMainCallsApi.getBlueprintVariables']?.[localVarOperationServerIndex]?.url;
|
|
37804
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
37805
|
+
},
|
|
37721
37806
|
/**
|
|
37722
37807
|
* Dry-runs a blueprint update without persisting any changes. Returns a preview ID and the resolved service type. Both `variables` and `spec_overrides` follow RFC 7396 patch semantics.
|
|
37723
37808
|
* @summary Preview a blueprint update
|
|
@@ -37820,6 +37905,16 @@ export const BlueprintMainCallsApiFactory = function (configuration?: Configurat
|
|
|
37820
37905
|
getBlueprintCatalog(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintCatalogResponse> {
|
|
37821
37906
|
return localVarFp.getBlueprintCatalog(organizationId, options).then((request) => request(axios, basePath));
|
|
37822
37907
|
},
|
|
37908
|
+
/**
|
|
37909
|
+
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
37910
|
+
* @summary Get persisted blueprint variables
|
|
37911
|
+
* @param {string} blueprintId Blueprint ID
|
|
37912
|
+
* @param {*} [options] Override http request option.
|
|
37913
|
+
* @throws {RequiredError}
|
|
37914
|
+
*/
|
|
37915
|
+
getBlueprintVariables(blueprintId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<BlueprintConfigurationVariable>> {
|
|
37916
|
+
return localVarFp.getBlueprintVariables(blueprintId, options).then((request) => request(axios, basePath));
|
|
37917
|
+
},
|
|
37823
37918
|
/**
|
|
37824
37919
|
* Dry-runs a blueprint update without persisting any changes. Returns a preview ID and the resolved service type. Both `variables` and `spec_overrides` follow RFC 7396 patch semantics.
|
|
37825
37920
|
* @summary Preview a blueprint update
|
|
@@ -37928,6 +38023,18 @@ export class BlueprintMainCallsApi extends BaseAPI {
|
|
|
37928
38023
|
return BlueprintMainCallsApiFp(this.configuration).getBlueprintCatalog(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
37929
38024
|
}
|
|
37930
38025
|
|
|
38026
|
+
/**
|
|
38027
|
+
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
38028
|
+
* @summary Get persisted blueprint variables
|
|
38029
|
+
* @param {string} blueprintId Blueprint ID
|
|
38030
|
+
* @param {*} [options] Override http request option.
|
|
38031
|
+
* @throws {RequiredError}
|
|
38032
|
+
* @memberof BlueprintMainCallsApi
|
|
38033
|
+
*/
|
|
38034
|
+
public getBlueprintVariables(blueprintId: string, options?: RawAxiosRequestConfig) {
|
|
38035
|
+
return BlueprintMainCallsApiFp(this.configuration).getBlueprintVariables(blueprintId, options).then((request) => request(this.axios, this.basePath));
|
|
38036
|
+
}
|
|
38037
|
+
|
|
37931
38038
|
/**
|
|
37932
38039
|
* Dry-runs a blueprint update without persisting any changes. Returns a preview ID and the resolved service type. Both `variables` and `spec_overrides` follow RFC 7396 patch semantics.
|
|
37933
38040
|
* @summary Preview a blueprint update
|
|
@@ -41467,7 +41574,7 @@ export class CloudProviderCredentialsApi extends BaseAPI {
|
|
|
41467
41574
|
export const ClusterDeploymentHistoryApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
41468
41575
|
return {
|
|
41469
41576
|
/**
|
|
41470
|
-
* List previous and current cluster
|
|
41577
|
+
* List previous and current cluster deployment operations. It returns applied deployments and dry-runs; stop/delete operations are excluded. By default it returns the 20 last results. Use the pageSize query parameter to adjust the number of returned results
|
|
41471
41578
|
* @summary List cluster deployments
|
|
41472
41579
|
* @param {string} organizationId Organization ID
|
|
41473
41580
|
* @param {string} clusterId Cluster ID
|
|
@@ -41576,7 +41683,7 @@ export const ClusterDeploymentHistoryApiFp = function(configuration?: Configurat
|
|
|
41576
41683
|
const localVarAxiosParamCreator = ClusterDeploymentHistoryApiAxiosParamCreator(configuration)
|
|
41577
41684
|
return {
|
|
41578
41685
|
/**
|
|
41579
|
-
* List previous and current cluster
|
|
41686
|
+
* List previous and current cluster deployment operations. It returns applied deployments and dry-runs; stop/delete operations are excluded. By default it returns the 20 last results. Use the pageSize query parameter to adjust the number of returned results
|
|
41580
41687
|
* @summary List cluster deployments
|
|
41581
41688
|
* @param {string} organizationId Organization ID
|
|
41582
41689
|
* @param {string} clusterId Cluster ID
|
|
@@ -41616,7 +41723,7 @@ export const ClusterDeploymentHistoryApiFactory = function (configuration?: Conf
|
|
|
41616
41723
|
const localVarFp = ClusterDeploymentHistoryApiFp(configuration)
|
|
41617
41724
|
return {
|
|
41618
41725
|
/**
|
|
41619
|
-
* List previous and current cluster
|
|
41726
|
+
* List previous and current cluster deployment operations. It returns applied deployments and dry-runs; stop/delete operations are excluded. By default it returns the 20 last results. Use the pageSize query parameter to adjust the number of returned results
|
|
41620
41727
|
* @summary List cluster deployments
|
|
41621
41728
|
* @param {string} organizationId Organization ID
|
|
41622
41729
|
* @param {string} clusterId Cluster ID
|
|
@@ -41650,7 +41757,7 @@ export const ClusterDeploymentHistoryApiFactory = function (configuration?: Conf
|
|
|
41650
41757
|
*/
|
|
41651
41758
|
export class ClusterDeploymentHistoryApi extends BaseAPI {
|
|
41652
41759
|
/**
|
|
41653
|
-
* List previous and current cluster
|
|
41760
|
+
* List previous and current cluster deployment operations. It returns applied deployments and dry-runs; stop/delete operations are excluded. By default it returns the 20 last results. Use the pageSize query parameter to adjust the number of returned results
|
|
41654
41761
|
* @summary List cluster deployments
|
|
41655
41762
|
* @param {string} organizationId Organization ID
|
|
41656
41763
|
* @param {string} clusterId Cluster ID
|
package/dist/api.d.ts
CHANGED
|
@@ -4031,6 +4031,31 @@ export interface BlueprintCatalogResponse {
|
|
|
4031
4031
|
*/
|
|
4032
4032
|
'blueprints': Array<BlueprintItem>;
|
|
4033
4033
|
}
|
|
4034
|
+
/**
|
|
4035
|
+
*
|
|
4036
|
+
* @export
|
|
4037
|
+
* @interface BlueprintConfigurationVariable
|
|
4038
|
+
*/
|
|
4039
|
+
export interface BlueprintConfigurationVariable {
|
|
4040
|
+
/**
|
|
4041
|
+
*
|
|
4042
|
+
* @type {string}
|
|
4043
|
+
* @memberof BlueprintConfigurationVariable
|
|
4044
|
+
*/
|
|
4045
|
+
'name': string;
|
|
4046
|
+
/**
|
|
4047
|
+
* Omitted for secret variables.
|
|
4048
|
+
* @type {string}
|
|
4049
|
+
* @memberof BlueprintConfigurationVariable
|
|
4050
|
+
*/
|
|
4051
|
+
'value'?: string;
|
|
4052
|
+
/**
|
|
4053
|
+
*
|
|
4054
|
+
* @type {boolean}
|
|
4055
|
+
* @memberof BlueprintConfigurationVariable
|
|
4056
|
+
*/
|
|
4057
|
+
'is_secret': boolean;
|
|
4058
|
+
}
|
|
4034
4059
|
/**
|
|
4035
4060
|
*
|
|
4036
4061
|
* @export
|
|
@@ -6597,6 +6622,12 @@ export interface ClusterDeploymentHistory {
|
|
|
6597
6622
|
* @memberof ClusterDeploymentHistory
|
|
6598
6623
|
*/
|
|
6599
6624
|
'trigger_action': DeploymentHistoryTriggerAction;
|
|
6625
|
+
/**
|
|
6626
|
+
*
|
|
6627
|
+
* @type {boolean}
|
|
6628
|
+
* @memberof ClusterDeploymentHistory
|
|
6629
|
+
*/
|
|
6630
|
+
'is_dry_run': boolean;
|
|
6600
6631
|
/**
|
|
6601
6632
|
*
|
|
6602
6633
|
* @type {string}
|
|
@@ -31674,6 +31705,14 @@ export declare const BlueprintMainCallsApiAxiosParamCreator: (configuration?: Co
|
|
|
31674
31705
|
* @throws {RequiredError}
|
|
31675
31706
|
*/
|
|
31676
31707
|
getBlueprintCatalog: (organizationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
31708
|
+
/**
|
|
31709
|
+
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
31710
|
+
* @summary Get persisted blueprint variables
|
|
31711
|
+
* @param {string} blueprintId Blueprint ID
|
|
31712
|
+
* @param {*} [options] Override http request option.
|
|
31713
|
+
* @throws {RequiredError}
|
|
31714
|
+
*/
|
|
31715
|
+
getBlueprintVariables: (blueprintId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
31677
31716
|
/**
|
|
31678
31717
|
* Dry-runs a blueprint update without persisting any changes. Returns a preview ID and the resolved service type. Both `variables` and `spec_overrides` follow RFC 7396 patch semantics.
|
|
31679
31718
|
* @summary Preview a blueprint update
|
|
@@ -31750,6 +31789,14 @@ export declare const BlueprintMainCallsApiFp: (configuration?: Configuration) =>
|
|
|
31750
31789
|
* @throws {RequiredError}
|
|
31751
31790
|
*/
|
|
31752
31791
|
getBlueprintCatalog(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlueprintCatalogResponse>>;
|
|
31792
|
+
/**
|
|
31793
|
+
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
31794
|
+
* @summary Get persisted blueprint variables
|
|
31795
|
+
* @param {string} blueprintId Blueprint ID
|
|
31796
|
+
* @param {*} [options] Override http request option.
|
|
31797
|
+
* @throws {RequiredError}
|
|
31798
|
+
*/
|
|
31799
|
+
getBlueprintVariables(blueprintId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BlueprintConfigurationVariable>>>;
|
|
31753
31800
|
/**
|
|
31754
31801
|
* Dry-runs a blueprint update without persisting any changes. Returns a preview ID and the resolved service type. Both `variables` and `spec_overrides` follow RFC 7396 patch semantics.
|
|
31755
31802
|
* @summary Preview a blueprint update
|
|
@@ -31826,6 +31873,14 @@ export declare const BlueprintMainCallsApiFactory: (configuration?: Configuratio
|
|
|
31826
31873
|
* @throws {RequiredError}
|
|
31827
31874
|
*/
|
|
31828
31875
|
getBlueprintCatalog(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintCatalogResponse>;
|
|
31876
|
+
/**
|
|
31877
|
+
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
31878
|
+
* @summary Get persisted blueprint variables
|
|
31879
|
+
* @param {string} blueprintId Blueprint ID
|
|
31880
|
+
* @param {*} [options] Override http request option.
|
|
31881
|
+
* @throws {RequiredError}
|
|
31882
|
+
*/
|
|
31883
|
+
getBlueprintVariables(blueprintId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<BlueprintConfigurationVariable>>;
|
|
31829
31884
|
/**
|
|
31830
31885
|
* Dry-runs a blueprint update without persisting any changes. Returns a preview ID and the resolved service type. Both `variables` and `spec_overrides` follow RFC 7396 patch semantics.
|
|
31831
31886
|
* @summary Preview a blueprint update
|
|
@@ -31910,6 +31965,15 @@ export declare class BlueprintMainCallsApi extends BaseAPI {
|
|
|
31910
31965
|
* @memberof BlueprintMainCallsApi
|
|
31911
31966
|
*/
|
|
31912
31967
|
getBlueprintCatalog(organizationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BlueprintCatalogResponse, any, {}>>;
|
|
31968
|
+
/**
|
|
31969
|
+
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
31970
|
+
* @summary Get persisted blueprint variables
|
|
31971
|
+
* @param {string} blueprintId Blueprint ID
|
|
31972
|
+
* @param {*} [options] Override http request option.
|
|
31973
|
+
* @throws {RequiredError}
|
|
31974
|
+
* @memberof BlueprintMainCallsApi
|
|
31975
|
+
*/
|
|
31976
|
+
getBlueprintVariables(blueprintId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BlueprintConfigurationVariable[], any, {}>>;
|
|
31913
31977
|
/**
|
|
31914
31978
|
* Dry-runs a blueprint update without persisting any changes. Returns a preview ID and the resolved service type. Both `variables` and `spec_overrides` follow RFC 7396 patch semantics.
|
|
31915
31979
|
* @summary Preview a blueprint update
|
|
@@ -33502,7 +33566,7 @@ export declare class CloudProviderCredentialsApi extends BaseAPI {
|
|
|
33502
33566
|
*/
|
|
33503
33567
|
export declare const ClusterDeploymentHistoryApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
33504
33568
|
/**
|
|
33505
|
-
* List previous and current cluster
|
|
33569
|
+
* List previous and current cluster deployment operations. It returns applied deployments and dry-runs; stop/delete operations are excluded. By default it returns the 20 last results. Use the pageSize query parameter to adjust the number of returned results
|
|
33506
33570
|
* @summary List cluster deployments
|
|
33507
33571
|
* @param {string} organizationId Organization ID
|
|
33508
33572
|
* @param {string} clusterId Cluster ID
|
|
@@ -33528,7 +33592,7 @@ export declare const ClusterDeploymentHistoryApiAxiosParamCreator: (configuratio
|
|
|
33528
33592
|
*/
|
|
33529
33593
|
export declare const ClusterDeploymentHistoryApiFp: (configuration?: Configuration) => {
|
|
33530
33594
|
/**
|
|
33531
|
-
* List previous and current cluster
|
|
33595
|
+
* List previous and current cluster deployment operations. It returns applied deployments and dry-runs; stop/delete operations are excluded. By default it returns the 20 last results. Use the pageSize query parameter to adjust the number of returned results
|
|
33532
33596
|
* @summary List cluster deployments
|
|
33533
33597
|
* @param {string} organizationId Organization ID
|
|
33534
33598
|
* @param {string} clusterId Cluster ID
|
|
@@ -33554,7 +33618,7 @@ export declare const ClusterDeploymentHistoryApiFp: (configuration?: Configurati
|
|
|
33554
33618
|
*/
|
|
33555
33619
|
export declare const ClusterDeploymentHistoryApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
33556
33620
|
/**
|
|
33557
|
-
* List previous and current cluster
|
|
33621
|
+
* List previous and current cluster deployment operations. It returns applied deployments and dry-runs; stop/delete operations are excluded. By default it returns the 20 last results. Use the pageSize query parameter to adjust the number of returned results
|
|
33558
33622
|
* @summary List cluster deployments
|
|
33559
33623
|
* @param {string} organizationId Organization ID
|
|
33560
33624
|
* @param {string} clusterId Cluster ID
|
|
@@ -33582,7 +33646,7 @@ export declare const ClusterDeploymentHistoryApiFactory: (configuration?: Config
|
|
|
33582
33646
|
*/
|
|
33583
33647
|
export declare class ClusterDeploymentHistoryApi extends BaseAPI {
|
|
33584
33648
|
/**
|
|
33585
|
-
* List previous and current cluster
|
|
33649
|
+
* List previous and current cluster deployment operations. It returns applied deployments and dry-runs; stop/delete operations are excluded. By default it returns the 20 last results. Use the pageSize query parameter to adjust the number of returned results
|
|
33586
33650
|
* @summary List cluster deployments
|
|
33587
33651
|
* @param {string} organizationId Organization ID
|
|
33588
33652
|
* @param {string} clusterId Cluster ID
|
package/dist/api.js
CHANGED
|
@@ -10214,6 +10214,40 @@ const BlueprintMainCallsApiAxiosParamCreator = function (configuration) {
|
|
|
10214
10214
|
options: localVarRequestOptions,
|
|
10215
10215
|
};
|
|
10216
10216
|
}),
|
|
10217
|
+
/**
|
|
10218
|
+
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
10219
|
+
* @summary Get persisted blueprint variables
|
|
10220
|
+
* @param {string} blueprintId Blueprint ID
|
|
10221
|
+
* @param {*} [options] Override http request option.
|
|
10222
|
+
* @throws {RequiredError}
|
|
10223
|
+
*/
|
|
10224
|
+
getBlueprintVariables: (blueprintId_1, ...args_1) => __awaiter(this, [blueprintId_1, ...args_1], void 0, function* (blueprintId, options = {}) {
|
|
10225
|
+
// verify required parameter 'blueprintId' is not null or undefined
|
|
10226
|
+
(0, common_1.assertParamExists)('getBlueprintVariables', 'blueprintId', blueprintId);
|
|
10227
|
+
const localVarPath = `/blueprint/{blueprintId}/variables`
|
|
10228
|
+
.replace(`{${"blueprintId"}}`, encodeURIComponent(String(blueprintId)));
|
|
10229
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10230
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10231
|
+
let baseOptions;
|
|
10232
|
+
if (configuration) {
|
|
10233
|
+
baseOptions = configuration.baseOptions;
|
|
10234
|
+
}
|
|
10235
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
10236
|
+
const localVarHeaderParameter = {};
|
|
10237
|
+
const localVarQueryParameter = {};
|
|
10238
|
+
// authentication ApiKeyAuth required
|
|
10239
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
10240
|
+
// authentication bearerAuth required
|
|
10241
|
+
// http bearer authentication required
|
|
10242
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
10243
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
10244
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10245
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
10246
|
+
return {
|
|
10247
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
10248
|
+
options: localVarRequestOptions,
|
|
10249
|
+
};
|
|
10250
|
+
}),
|
|
10217
10251
|
/**
|
|
10218
10252
|
* Dry-runs a blueprint update without persisting any changes. Returns a preview ID and the resolved service type. Both `variables` and `spec_overrides` follow RFC 7396 patch semantics.
|
|
10219
10253
|
* @summary Preview a blueprint update
|
|
@@ -10402,6 +10436,22 @@ const BlueprintMainCallsApiFp = function (configuration) {
|
|
|
10402
10436
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10403
10437
|
});
|
|
10404
10438
|
},
|
|
10439
|
+
/**
|
|
10440
|
+
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
10441
|
+
* @summary Get persisted blueprint variables
|
|
10442
|
+
* @param {string} blueprintId Blueprint ID
|
|
10443
|
+
* @param {*} [options] Override http request option.
|
|
10444
|
+
* @throws {RequiredError}
|
|
10445
|
+
*/
|
|
10446
|
+
getBlueprintVariables(blueprintId, options) {
|
|
10447
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
10448
|
+
var _a, _b, _c;
|
|
10449
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getBlueprintVariables(blueprintId, options);
|
|
10450
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
10451
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BlueprintMainCallsApi.getBlueprintVariables']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
10452
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10453
|
+
});
|
|
10454
|
+
},
|
|
10405
10455
|
/**
|
|
10406
10456
|
* Dry-runs a blueprint update without persisting any changes. Returns a preview ID and the resolved service type. Both `variables` and `spec_overrides` follow RFC 7396 patch semantics.
|
|
10407
10457
|
* @summary Preview a blueprint update
|
|
@@ -10510,6 +10560,16 @@ const BlueprintMainCallsApiFactory = function (configuration, basePath, axios) {
|
|
|
10510
10560
|
getBlueprintCatalog(organizationId, options) {
|
|
10511
10561
|
return localVarFp.getBlueprintCatalog(organizationId, options).then((request) => request(axios, basePath));
|
|
10512
10562
|
},
|
|
10563
|
+
/**
|
|
10564
|
+
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
10565
|
+
* @summary Get persisted blueprint variables
|
|
10566
|
+
* @param {string} blueprintId Blueprint ID
|
|
10567
|
+
* @param {*} [options] Override http request option.
|
|
10568
|
+
* @throws {RequiredError}
|
|
10569
|
+
*/
|
|
10570
|
+
getBlueprintVariables(blueprintId, options) {
|
|
10571
|
+
return localVarFp.getBlueprintVariables(blueprintId, options).then((request) => request(axios, basePath));
|
|
10572
|
+
},
|
|
10513
10573
|
/**
|
|
10514
10574
|
* Dry-runs a blueprint update without persisting any changes. Returns a preview ID and the resolved service type. Both `variables` and `spec_overrides` follow RFC 7396 patch semantics.
|
|
10515
10575
|
* @summary Preview a blueprint update
|
|
@@ -10612,6 +10672,17 @@ class BlueprintMainCallsApi extends base_1.BaseAPI {
|
|
|
10612
10672
|
getBlueprintCatalog(organizationId, options) {
|
|
10613
10673
|
return (0, exports.BlueprintMainCallsApiFp)(this.configuration).getBlueprintCatalog(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
10614
10674
|
}
|
|
10675
|
+
/**
|
|
10676
|
+
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
10677
|
+
* @summary Get persisted blueprint variables
|
|
10678
|
+
* @param {string} blueprintId Blueprint ID
|
|
10679
|
+
* @param {*} [options] Override http request option.
|
|
10680
|
+
* @throws {RequiredError}
|
|
10681
|
+
* @memberof BlueprintMainCallsApi
|
|
10682
|
+
*/
|
|
10683
|
+
getBlueprintVariables(blueprintId, options) {
|
|
10684
|
+
return (0, exports.BlueprintMainCallsApiFp)(this.configuration).getBlueprintVariables(blueprintId, options).then((request) => request(this.axios, this.basePath));
|
|
10685
|
+
}
|
|
10615
10686
|
/**
|
|
10616
10687
|
* Dry-runs a blueprint update without persisting any changes. Returns a preview ID and the resolved service type. Both `variables` and `spec_overrides` follow RFC 7396 patch semantics.
|
|
10617
10688
|
* @summary Preview a blueprint update
|
|
@@ -13913,7 +13984,7 @@ exports.CloudProviderCredentialsApi = CloudProviderCredentialsApi;
|
|
|
13913
13984
|
const ClusterDeploymentHistoryApiAxiosParamCreator = function (configuration) {
|
|
13914
13985
|
return {
|
|
13915
13986
|
/**
|
|
13916
|
-
* List previous and current cluster
|
|
13987
|
+
* List previous and current cluster deployment operations. It returns applied deployments and dry-runs; stop/delete operations are excluded. By default it returns the 20 last results. Use the pageSize query parameter to adjust the number of returned results
|
|
13917
13988
|
* @summary List cluster deployments
|
|
13918
13989
|
* @param {string} organizationId Organization ID
|
|
13919
13990
|
* @param {string} clusterId Cluster ID
|
|
@@ -14007,7 +14078,7 @@ const ClusterDeploymentHistoryApiFp = function (configuration) {
|
|
|
14007
14078
|
const localVarAxiosParamCreator = (0, exports.ClusterDeploymentHistoryApiAxiosParamCreator)(configuration);
|
|
14008
14079
|
return {
|
|
14009
14080
|
/**
|
|
14010
|
-
* List previous and current cluster
|
|
14081
|
+
* List previous and current cluster deployment operations. It returns applied deployments and dry-runs; stop/delete operations are excluded. By default it returns the 20 last results. Use the pageSize query parameter to adjust the number of returned results
|
|
14011
14082
|
* @summary List cluster deployments
|
|
14012
14083
|
* @param {string} organizationId Organization ID
|
|
14013
14084
|
* @param {string} clusterId Cluster ID
|
|
@@ -14053,7 +14124,7 @@ const ClusterDeploymentHistoryApiFactory = function (configuration, basePath, ax
|
|
|
14053
14124
|
const localVarFp = (0, exports.ClusterDeploymentHistoryApiFp)(configuration);
|
|
14054
14125
|
return {
|
|
14055
14126
|
/**
|
|
14056
|
-
* List previous and current cluster
|
|
14127
|
+
* List previous and current cluster deployment operations. It returns applied deployments and dry-runs; stop/delete operations are excluded. By default it returns the 20 last results. Use the pageSize query parameter to adjust the number of returned results
|
|
14057
14128
|
* @summary List cluster deployments
|
|
14058
14129
|
* @param {string} organizationId Organization ID
|
|
14059
14130
|
* @param {string} clusterId Cluster ID
|
|
@@ -14087,7 +14158,7 @@ exports.ClusterDeploymentHistoryApiFactory = ClusterDeploymentHistoryApiFactory;
|
|
|
14087
14158
|
*/
|
|
14088
14159
|
class ClusterDeploymentHistoryApi extends base_1.BaseAPI {
|
|
14089
14160
|
/**
|
|
14090
|
-
* List previous and current cluster
|
|
14161
|
+
* List previous and current cluster deployment operations. It returns applied deployments and dry-runs; stop/delete operations are excluded. By default it returns the 20 last results. Use the pageSize query parameter to adjust the number of returned results
|
|
14091
14162
|
* @summary List cluster deployments
|
|
14092
14163
|
* @param {string} organizationId Organization ID
|
|
14093
14164
|
* @param {string} clusterId Cluster ID
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -4031,6 +4031,31 @@ export interface BlueprintCatalogResponse {
|
|
|
4031
4031
|
*/
|
|
4032
4032
|
'blueprints': Array<BlueprintItem>;
|
|
4033
4033
|
}
|
|
4034
|
+
/**
|
|
4035
|
+
*
|
|
4036
|
+
* @export
|
|
4037
|
+
* @interface BlueprintConfigurationVariable
|
|
4038
|
+
*/
|
|
4039
|
+
export interface BlueprintConfigurationVariable {
|
|
4040
|
+
/**
|
|
4041
|
+
*
|
|
4042
|
+
* @type {string}
|
|
4043
|
+
* @memberof BlueprintConfigurationVariable
|
|
4044
|
+
*/
|
|
4045
|
+
'name': string;
|
|
4046
|
+
/**
|
|
4047
|
+
* Omitted for secret variables.
|
|
4048
|
+
* @type {string}
|
|
4049
|
+
* @memberof BlueprintConfigurationVariable
|
|
4050
|
+
*/
|
|
4051
|
+
'value'?: string;
|
|
4052
|
+
/**
|
|
4053
|
+
*
|
|
4054
|
+
* @type {boolean}
|
|
4055
|
+
* @memberof BlueprintConfigurationVariable
|
|
4056
|
+
*/
|
|
4057
|
+
'is_secret': boolean;
|
|
4058
|
+
}
|
|
4034
4059
|
/**
|
|
4035
4060
|
*
|
|
4036
4061
|
* @export
|
|
@@ -6597,6 +6622,12 @@ export interface ClusterDeploymentHistory {
|
|
|
6597
6622
|
* @memberof ClusterDeploymentHistory
|
|
6598
6623
|
*/
|
|
6599
6624
|
'trigger_action': DeploymentHistoryTriggerAction;
|
|
6625
|
+
/**
|
|
6626
|
+
*
|
|
6627
|
+
* @type {boolean}
|
|
6628
|
+
* @memberof ClusterDeploymentHistory
|
|
6629
|
+
*/
|
|
6630
|
+
'is_dry_run': boolean;
|
|
6600
6631
|
/**
|
|
6601
6632
|
*
|
|
6602
6633
|
* @type {string}
|
|
@@ -31674,6 +31705,14 @@ export declare const BlueprintMainCallsApiAxiosParamCreator: (configuration?: Co
|
|
|
31674
31705
|
* @throws {RequiredError}
|
|
31675
31706
|
*/
|
|
31676
31707
|
getBlueprintCatalog: (organizationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
31708
|
+
/**
|
|
31709
|
+
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
31710
|
+
* @summary Get persisted blueprint variables
|
|
31711
|
+
* @param {string} blueprintId Blueprint ID
|
|
31712
|
+
* @param {*} [options] Override http request option.
|
|
31713
|
+
* @throws {RequiredError}
|
|
31714
|
+
*/
|
|
31715
|
+
getBlueprintVariables: (blueprintId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
31677
31716
|
/**
|
|
31678
31717
|
* Dry-runs a blueprint update without persisting any changes. Returns a preview ID and the resolved service type. Both `variables` and `spec_overrides` follow RFC 7396 patch semantics.
|
|
31679
31718
|
* @summary Preview a blueprint update
|
|
@@ -31750,6 +31789,14 @@ export declare const BlueprintMainCallsApiFp: (configuration?: Configuration) =>
|
|
|
31750
31789
|
* @throws {RequiredError}
|
|
31751
31790
|
*/
|
|
31752
31791
|
getBlueprintCatalog(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlueprintCatalogResponse>>;
|
|
31792
|
+
/**
|
|
31793
|
+
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
31794
|
+
* @summary Get persisted blueprint variables
|
|
31795
|
+
* @param {string} blueprintId Blueprint ID
|
|
31796
|
+
* @param {*} [options] Override http request option.
|
|
31797
|
+
* @throws {RequiredError}
|
|
31798
|
+
*/
|
|
31799
|
+
getBlueprintVariables(blueprintId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BlueprintConfigurationVariable>>>;
|
|
31753
31800
|
/**
|
|
31754
31801
|
* Dry-runs a blueprint update without persisting any changes. Returns a preview ID and the resolved service type. Both `variables` and `spec_overrides` follow RFC 7396 patch semantics.
|
|
31755
31802
|
* @summary Preview a blueprint update
|
|
@@ -31826,6 +31873,14 @@ export declare const BlueprintMainCallsApiFactory: (configuration?: Configuratio
|
|
|
31826
31873
|
* @throws {RequiredError}
|
|
31827
31874
|
*/
|
|
31828
31875
|
getBlueprintCatalog(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintCatalogResponse>;
|
|
31876
|
+
/**
|
|
31877
|
+
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
31878
|
+
* @summary Get persisted blueprint variables
|
|
31879
|
+
* @param {string} blueprintId Blueprint ID
|
|
31880
|
+
* @param {*} [options] Override http request option.
|
|
31881
|
+
* @throws {RequiredError}
|
|
31882
|
+
*/
|
|
31883
|
+
getBlueprintVariables(blueprintId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<BlueprintConfigurationVariable>>;
|
|
31829
31884
|
/**
|
|
31830
31885
|
* Dry-runs a blueprint update without persisting any changes. Returns a preview ID and the resolved service type. Both `variables` and `spec_overrides` follow RFC 7396 patch semantics.
|
|
31831
31886
|
* @summary Preview a blueprint update
|
|
@@ -31910,6 +31965,15 @@ export declare class BlueprintMainCallsApi extends BaseAPI {
|
|
|
31910
31965
|
* @memberof BlueprintMainCallsApi
|
|
31911
31966
|
*/
|
|
31912
31967
|
getBlueprintCatalog(organizationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BlueprintCatalogResponse, any, {}>>;
|
|
31968
|
+
/**
|
|
31969
|
+
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
31970
|
+
* @summary Get persisted blueprint variables
|
|
31971
|
+
* @param {string} blueprintId Blueprint ID
|
|
31972
|
+
* @param {*} [options] Override http request option.
|
|
31973
|
+
* @throws {RequiredError}
|
|
31974
|
+
* @memberof BlueprintMainCallsApi
|
|
31975
|
+
*/
|
|
31976
|
+
getBlueprintVariables(blueprintId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BlueprintConfigurationVariable[], any, {}>>;
|
|
31913
31977
|
/**
|
|
31914
31978
|
* Dry-runs a blueprint update without persisting any changes. Returns a preview ID and the resolved service type. Both `variables` and `spec_overrides` follow RFC 7396 patch semantics.
|
|
31915
31979
|
* @summary Preview a blueprint update
|
|
@@ -33502,7 +33566,7 @@ export declare class CloudProviderCredentialsApi extends BaseAPI {
|
|
|
33502
33566
|
*/
|
|
33503
33567
|
export declare const ClusterDeploymentHistoryApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
33504
33568
|
/**
|
|
33505
|
-
* List previous and current cluster
|
|
33569
|
+
* List previous and current cluster deployment operations. It returns applied deployments and dry-runs; stop/delete operations are excluded. By default it returns the 20 last results. Use the pageSize query parameter to adjust the number of returned results
|
|
33506
33570
|
* @summary List cluster deployments
|
|
33507
33571
|
* @param {string} organizationId Organization ID
|
|
33508
33572
|
* @param {string} clusterId Cluster ID
|
|
@@ -33528,7 +33592,7 @@ export declare const ClusterDeploymentHistoryApiAxiosParamCreator: (configuratio
|
|
|
33528
33592
|
*/
|
|
33529
33593
|
export declare const ClusterDeploymentHistoryApiFp: (configuration?: Configuration) => {
|
|
33530
33594
|
/**
|
|
33531
|
-
* List previous and current cluster
|
|
33595
|
+
* List previous and current cluster deployment operations. It returns applied deployments and dry-runs; stop/delete operations are excluded. By default it returns the 20 last results. Use the pageSize query parameter to adjust the number of returned results
|
|
33532
33596
|
* @summary List cluster deployments
|
|
33533
33597
|
* @param {string} organizationId Organization ID
|
|
33534
33598
|
* @param {string} clusterId Cluster ID
|
|
@@ -33554,7 +33618,7 @@ export declare const ClusterDeploymentHistoryApiFp: (configuration?: Configurati
|
|
|
33554
33618
|
*/
|
|
33555
33619
|
export declare const ClusterDeploymentHistoryApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
33556
33620
|
/**
|
|
33557
|
-
* List previous and current cluster
|
|
33621
|
+
* List previous and current cluster deployment operations. It returns applied deployments and dry-runs; stop/delete operations are excluded. By default it returns the 20 last results. Use the pageSize query parameter to adjust the number of returned results
|
|
33558
33622
|
* @summary List cluster deployments
|
|
33559
33623
|
* @param {string} organizationId Organization ID
|
|
33560
33624
|
* @param {string} clusterId Cluster ID
|
|
@@ -33582,7 +33646,7 @@ export declare const ClusterDeploymentHistoryApiFactory: (configuration?: Config
|
|
|
33582
33646
|
*/
|
|
33583
33647
|
export declare class ClusterDeploymentHistoryApi extends BaseAPI {
|
|
33584
33648
|
/**
|
|
33585
|
-
* List previous and current cluster
|
|
33649
|
+
* List previous and current cluster deployment operations. It returns applied deployments and dry-runs; stop/delete operations are excluded. By default it returns the 20 last results. Use the pageSize query parameter to adjust the number of returned results
|
|
33586
33650
|
* @summary List cluster deployments
|
|
33587
33651
|
* @param {string} organizationId Organization ID
|
|
33588
33652
|
* @param {string} clusterId Cluster ID
|
package/dist/esm/api.js
CHANGED
|
@@ -10127,6 +10127,40 @@ export const BlueprintMainCallsApiAxiosParamCreator = function (configuration) {
|
|
|
10127
10127
|
options: localVarRequestOptions,
|
|
10128
10128
|
};
|
|
10129
10129
|
}),
|
|
10130
|
+
/**
|
|
10131
|
+
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
10132
|
+
* @summary Get persisted blueprint variables
|
|
10133
|
+
* @param {string} blueprintId Blueprint ID
|
|
10134
|
+
* @param {*} [options] Override http request option.
|
|
10135
|
+
* @throws {RequiredError}
|
|
10136
|
+
*/
|
|
10137
|
+
getBlueprintVariables: (blueprintId_1, ...args_1) => __awaiter(this, [blueprintId_1, ...args_1], void 0, function* (blueprintId, options = {}) {
|
|
10138
|
+
// verify required parameter 'blueprintId' is not null or undefined
|
|
10139
|
+
assertParamExists('getBlueprintVariables', 'blueprintId', blueprintId);
|
|
10140
|
+
const localVarPath = `/blueprint/{blueprintId}/variables`
|
|
10141
|
+
.replace(`{${"blueprintId"}}`, encodeURIComponent(String(blueprintId)));
|
|
10142
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10143
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10144
|
+
let baseOptions;
|
|
10145
|
+
if (configuration) {
|
|
10146
|
+
baseOptions = configuration.baseOptions;
|
|
10147
|
+
}
|
|
10148
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
10149
|
+
const localVarHeaderParameter = {};
|
|
10150
|
+
const localVarQueryParameter = {};
|
|
10151
|
+
// authentication ApiKeyAuth required
|
|
10152
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
10153
|
+
// authentication bearerAuth required
|
|
10154
|
+
// http bearer authentication required
|
|
10155
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
10156
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10157
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10158
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
10159
|
+
return {
|
|
10160
|
+
url: toPathString(localVarUrlObj),
|
|
10161
|
+
options: localVarRequestOptions,
|
|
10162
|
+
};
|
|
10163
|
+
}),
|
|
10130
10164
|
/**
|
|
10131
10165
|
* Dry-runs a blueprint update without persisting any changes. Returns a preview ID and the resolved service type. Both `variables` and `spec_overrides` follow RFC 7396 patch semantics.
|
|
10132
10166
|
* @summary Preview a blueprint update
|
|
@@ -10314,6 +10348,22 @@ export const BlueprintMainCallsApiFp = function (configuration) {
|
|
|
10314
10348
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10315
10349
|
});
|
|
10316
10350
|
},
|
|
10351
|
+
/**
|
|
10352
|
+
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
10353
|
+
* @summary Get persisted blueprint variables
|
|
10354
|
+
* @param {string} blueprintId Blueprint ID
|
|
10355
|
+
* @param {*} [options] Override http request option.
|
|
10356
|
+
* @throws {RequiredError}
|
|
10357
|
+
*/
|
|
10358
|
+
getBlueprintVariables(blueprintId, options) {
|
|
10359
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
10360
|
+
var _a, _b, _c;
|
|
10361
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getBlueprintVariables(blueprintId, options);
|
|
10362
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
10363
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BlueprintMainCallsApi.getBlueprintVariables']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
10364
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10365
|
+
});
|
|
10366
|
+
},
|
|
10317
10367
|
/**
|
|
10318
10368
|
* Dry-runs a blueprint update without persisting any changes. Returns a preview ID and the resolved service type. Both `variables` and `spec_overrides` follow RFC 7396 patch semantics.
|
|
10319
10369
|
* @summary Preview a blueprint update
|
|
@@ -10421,6 +10471,16 @@ export const BlueprintMainCallsApiFactory = function (configuration, basePath, a
|
|
|
10421
10471
|
getBlueprintCatalog(organizationId, options) {
|
|
10422
10472
|
return localVarFp.getBlueprintCatalog(organizationId, options).then((request) => request(axios, basePath));
|
|
10423
10473
|
},
|
|
10474
|
+
/**
|
|
10475
|
+
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
10476
|
+
* @summary Get persisted blueprint variables
|
|
10477
|
+
* @param {string} blueprintId Blueprint ID
|
|
10478
|
+
* @param {*} [options] Override http request option.
|
|
10479
|
+
* @throws {RequiredError}
|
|
10480
|
+
*/
|
|
10481
|
+
getBlueprintVariables(blueprintId, options) {
|
|
10482
|
+
return localVarFp.getBlueprintVariables(blueprintId, options).then((request) => request(axios, basePath));
|
|
10483
|
+
},
|
|
10424
10484
|
/**
|
|
10425
10485
|
* Dry-runs a blueprint update without persisting any changes. Returns a preview ID and the resolved service type. Both `variables` and `spec_overrides` follow RFC 7396 patch semantics.
|
|
10426
10486
|
* @summary Preview a blueprint update
|
|
@@ -10522,6 +10582,17 @@ export class BlueprintMainCallsApi extends BaseAPI {
|
|
|
10522
10582
|
getBlueprintCatalog(organizationId, options) {
|
|
10523
10583
|
return BlueprintMainCallsApiFp(this.configuration).getBlueprintCatalog(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
10524
10584
|
}
|
|
10585
|
+
/**
|
|
10586
|
+
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
10587
|
+
* @summary Get persisted blueprint variables
|
|
10588
|
+
* @param {string} blueprintId Blueprint ID
|
|
10589
|
+
* @param {*} [options] Override http request option.
|
|
10590
|
+
* @throws {RequiredError}
|
|
10591
|
+
* @memberof BlueprintMainCallsApi
|
|
10592
|
+
*/
|
|
10593
|
+
getBlueprintVariables(blueprintId, options) {
|
|
10594
|
+
return BlueprintMainCallsApiFp(this.configuration).getBlueprintVariables(blueprintId, options).then((request) => request(this.axios, this.basePath));
|
|
10595
|
+
}
|
|
10525
10596
|
/**
|
|
10526
10597
|
* Dry-runs a blueprint update without persisting any changes. Returns a preview ID and the resolved service type. Both `variables` and `spec_overrides` follow RFC 7396 patch semantics.
|
|
10527
10598
|
* @summary Preview a blueprint update
|
|
@@ -13814,7 +13885,7 @@ export class CloudProviderCredentialsApi extends BaseAPI {
|
|
|
13814
13885
|
export const ClusterDeploymentHistoryApiAxiosParamCreator = function (configuration) {
|
|
13815
13886
|
return {
|
|
13816
13887
|
/**
|
|
13817
|
-
* List previous and current cluster
|
|
13888
|
+
* List previous and current cluster deployment operations. It returns applied deployments and dry-runs; stop/delete operations are excluded. By default it returns the 20 last results. Use the pageSize query parameter to adjust the number of returned results
|
|
13818
13889
|
* @summary List cluster deployments
|
|
13819
13890
|
* @param {string} organizationId Organization ID
|
|
13820
13891
|
* @param {string} clusterId Cluster ID
|
|
@@ -13907,7 +13978,7 @@ export const ClusterDeploymentHistoryApiFp = function (configuration) {
|
|
|
13907
13978
|
const localVarAxiosParamCreator = ClusterDeploymentHistoryApiAxiosParamCreator(configuration);
|
|
13908
13979
|
return {
|
|
13909
13980
|
/**
|
|
13910
|
-
* List previous and current cluster
|
|
13981
|
+
* List previous and current cluster deployment operations. It returns applied deployments and dry-runs; stop/delete operations are excluded. By default it returns the 20 last results. Use the pageSize query parameter to adjust the number of returned results
|
|
13911
13982
|
* @summary List cluster deployments
|
|
13912
13983
|
* @param {string} organizationId Organization ID
|
|
13913
13984
|
* @param {string} clusterId Cluster ID
|
|
@@ -13952,7 +14023,7 @@ export const ClusterDeploymentHistoryApiFactory = function (configuration, baseP
|
|
|
13952
14023
|
const localVarFp = ClusterDeploymentHistoryApiFp(configuration);
|
|
13953
14024
|
return {
|
|
13954
14025
|
/**
|
|
13955
|
-
* List previous and current cluster
|
|
14026
|
+
* List previous and current cluster deployment operations. It returns applied deployments and dry-runs; stop/delete operations are excluded. By default it returns the 20 last results. Use the pageSize query parameter to adjust the number of returned results
|
|
13956
14027
|
* @summary List cluster deployments
|
|
13957
14028
|
* @param {string} organizationId Organization ID
|
|
13958
14029
|
* @param {string} clusterId Cluster ID
|
|
@@ -13985,7 +14056,7 @@ export const ClusterDeploymentHistoryApiFactory = function (configuration, baseP
|
|
|
13985
14056
|
*/
|
|
13986
14057
|
export class ClusterDeploymentHistoryApi extends BaseAPI {
|
|
13987
14058
|
/**
|
|
13988
|
-
* List previous and current cluster
|
|
14059
|
+
* List previous and current cluster deployment operations. It returns applied deployments and dry-runs; stop/delete operations are excluded. By default it returns the 20 last results. Use the pageSize query parameter to adjust the number of returned results
|
|
13989
14060
|
* @summary List cluster deployments
|
|
13990
14061
|
* @param {string} organizationId Organization ID
|
|
13991
14062
|
* @param {string} clusterId Cluster ID
|