qovery-typescript-axios 1.1.928 → 1.1.929
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 +163 -0
- package/dist/api.d.ts +94 -0
- package/dist/api.js +118 -0
- package/dist/esm/api.d.ts +94 -0
- package/dist/esm/api.js +118 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -21540,6 +21540,43 @@ export const PlatformComponentConfigurationRequirementStatus = {
|
|
|
21540
21540
|
export type PlatformComponentConfigurationRequirementStatus = typeof PlatformComponentConfigurationRequirementStatus[keyof typeof PlatformComponentConfigurationRequirementStatus];
|
|
21541
21541
|
|
|
21542
21542
|
|
|
21543
|
+
/**
|
|
21544
|
+
* Component configuration resolved from an explicit template and cluster context before an actual cluster exists.
|
|
21545
|
+
* @export
|
|
21546
|
+
* @interface PlatformComponentConfigurationResolutionResponse
|
|
21547
|
+
*/
|
|
21548
|
+
export interface PlatformComponentConfigurationResolutionResponse {
|
|
21549
|
+
/**
|
|
21550
|
+
*
|
|
21551
|
+
* @type {string}
|
|
21552
|
+
* @memberof PlatformComponentConfigurationResolutionResponse
|
|
21553
|
+
*/
|
|
21554
|
+
'componentKey': string;
|
|
21555
|
+
/**
|
|
21556
|
+
*
|
|
21557
|
+
* @type {Array<FieldSchemaResponse>}
|
|
21558
|
+
* @memberof PlatformComponentConfigurationResolutionResponse
|
|
21559
|
+
*/
|
|
21560
|
+
'fields': Array<FieldSchemaResponse>;
|
|
21561
|
+
/**
|
|
21562
|
+
*
|
|
21563
|
+
* @type {Array<PlatformComponentInputRequirementResponse>}
|
|
21564
|
+
* @memberof PlatformComponentConfigurationResolutionResponse
|
|
21565
|
+
*/
|
|
21566
|
+
'requirements': Array<PlatformComponentInputRequirementResponse>;
|
|
21567
|
+
/**
|
|
21568
|
+
*
|
|
21569
|
+
* @type {Array<PlatformComponentOutputBindingResponse>}
|
|
21570
|
+
* @memberof PlatformComponentConfigurationResolutionResponse
|
|
21571
|
+
*/
|
|
21572
|
+
'componentBindings': Array<PlatformComponentOutputBindingResponse>;
|
|
21573
|
+
/**
|
|
21574
|
+
*
|
|
21575
|
+
* @type {Array<PlatformComponentConfigurationViolationResponse>}
|
|
21576
|
+
* @memberof PlatformComponentConfigurationResolutionResponse
|
|
21577
|
+
*/
|
|
21578
|
+
'violations': Array<PlatformComponentConfigurationViolationResponse>;
|
|
21579
|
+
}
|
|
21543
21580
|
/**
|
|
21544
21581
|
*
|
|
21545
21582
|
* @export
|
|
@@ -68871,6 +68908,79 @@ export const PlatformConfigurationApiAxiosParamCreator = function (configuration
|
|
|
68871
68908
|
|
|
68872
68909
|
|
|
68873
68910
|
|
|
68911
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
68912
|
+
|
|
68913
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
68914
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
68915
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
68916
|
+
localVarRequestOptions.data = serializeDataIfNeeded(platformComponentConfigurationPreviewRequest, localVarRequestOptions, configuration)
|
|
68917
|
+
|
|
68918
|
+
return {
|
|
68919
|
+
url: toPathString(localVarUrlObj),
|
|
68920
|
+
options: localVarRequestOptions,
|
|
68921
|
+
};
|
|
68922
|
+
},
|
|
68923
|
+
/**
|
|
68924
|
+
* Resolves the fields and runtime requirements to display for a component using an explicit cluster context and the values currently entered in the Console. This operation is read-only and does not require an existing cluster or platform binding.
|
|
68925
|
+
* @summary Resolve a platform component configuration before cluster creation
|
|
68926
|
+
* @param {string} organizationId Organization ID
|
|
68927
|
+
* @param {string} templateKey Platform template key
|
|
68928
|
+
* @param {string} templateVersion Platform template version
|
|
68929
|
+
* @param {string} componentKey Platform component key
|
|
68930
|
+
* @param {PlatformClusterMode} clusterMode Cluster management mode used to resolve component applicability
|
|
68931
|
+
* @param {PlatformCloudVendor} cloudProvider Cluster cloud provider used to resolve component applicability
|
|
68932
|
+
* @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
|
|
68933
|
+
* @param {*} [options] Override http request option.
|
|
68934
|
+
* @throws {RequiredError}
|
|
68935
|
+
*/
|
|
68936
|
+
resolvePlatformTemplateComponentConfiguration: async (organizationId: string, templateKey: string, templateVersion: string, componentKey: string, clusterMode: PlatformClusterMode, cloudProvider: PlatformCloudVendor, platformComponentConfigurationPreviewRequest: PlatformComponentConfigurationPreviewRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
68937
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
68938
|
+
assertParamExists('resolvePlatformTemplateComponentConfiguration', 'organizationId', organizationId)
|
|
68939
|
+
// verify required parameter 'templateKey' is not null or undefined
|
|
68940
|
+
assertParamExists('resolvePlatformTemplateComponentConfiguration', 'templateKey', templateKey)
|
|
68941
|
+
// verify required parameter 'templateVersion' is not null or undefined
|
|
68942
|
+
assertParamExists('resolvePlatformTemplateComponentConfiguration', 'templateVersion', templateVersion)
|
|
68943
|
+
// verify required parameter 'componentKey' is not null or undefined
|
|
68944
|
+
assertParamExists('resolvePlatformTemplateComponentConfiguration', 'componentKey', componentKey)
|
|
68945
|
+
// verify required parameter 'clusterMode' is not null or undefined
|
|
68946
|
+
assertParamExists('resolvePlatformTemplateComponentConfiguration', 'clusterMode', clusterMode)
|
|
68947
|
+
// verify required parameter 'cloudProvider' is not null or undefined
|
|
68948
|
+
assertParamExists('resolvePlatformTemplateComponentConfiguration', 'cloudProvider', cloudProvider)
|
|
68949
|
+
// verify required parameter 'platformComponentConfigurationPreviewRequest' is not null or undefined
|
|
68950
|
+
assertParamExists('resolvePlatformTemplateComponentConfiguration', 'platformComponentConfigurationPreviewRequest', platformComponentConfigurationPreviewRequest)
|
|
68951
|
+
const localVarPath = `/organization/{organizationId}/platformTemplate/{templateKey}/{templateVersion}/component/{componentKey}/resolve`
|
|
68952
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
68953
|
+
.replace(`{${"templateKey"}}`, encodeURIComponent(String(templateKey)))
|
|
68954
|
+
.replace(`{${"templateVersion"}}`, encodeURIComponent(String(templateVersion)))
|
|
68955
|
+
.replace(`{${"componentKey"}}`, encodeURIComponent(String(componentKey)));
|
|
68956
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
68957
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
68958
|
+
let baseOptions;
|
|
68959
|
+
if (configuration) {
|
|
68960
|
+
baseOptions = configuration.baseOptions;
|
|
68961
|
+
}
|
|
68962
|
+
|
|
68963
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
68964
|
+
const localVarHeaderParameter = {} as any;
|
|
68965
|
+
const localVarQueryParameter = {} as any;
|
|
68966
|
+
|
|
68967
|
+
// authentication ApiKeyAuth required
|
|
68968
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
68969
|
+
|
|
68970
|
+
// authentication bearerAuth required
|
|
68971
|
+
// http bearer authentication required
|
|
68972
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
68973
|
+
|
|
68974
|
+
if (clusterMode !== undefined) {
|
|
68975
|
+
localVarQueryParameter['clusterMode'] = clusterMode;
|
|
68976
|
+
}
|
|
68977
|
+
|
|
68978
|
+
if (cloudProvider !== undefined) {
|
|
68979
|
+
localVarQueryParameter['cloudProvider'] = cloudProvider;
|
|
68980
|
+
}
|
|
68981
|
+
|
|
68982
|
+
|
|
68983
|
+
|
|
68874
68984
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
68875
68985
|
|
|
68876
68986
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -68989,6 +69099,25 @@ export const PlatformConfigurationApiFp = function(configuration?: Configuration
|
|
|
68989
69099
|
const localVarOperationServerBasePath = operationServerMap['PlatformConfigurationApi.resolvePlatformComponentConfiguration']?.[localVarOperationServerIndex]?.url;
|
|
68990
69100
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
68991
69101
|
},
|
|
69102
|
+
/**
|
|
69103
|
+
* Resolves the fields and runtime requirements to display for a component using an explicit cluster context and the values currently entered in the Console. This operation is read-only and does not require an existing cluster or platform binding.
|
|
69104
|
+
* @summary Resolve a platform component configuration before cluster creation
|
|
69105
|
+
* @param {string} organizationId Organization ID
|
|
69106
|
+
* @param {string} templateKey Platform template key
|
|
69107
|
+
* @param {string} templateVersion Platform template version
|
|
69108
|
+
* @param {string} componentKey Platform component key
|
|
69109
|
+
* @param {PlatformClusterMode} clusterMode Cluster management mode used to resolve component applicability
|
|
69110
|
+
* @param {PlatformCloudVendor} cloudProvider Cluster cloud provider used to resolve component applicability
|
|
69111
|
+
* @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
|
|
69112
|
+
* @param {*} [options] Override http request option.
|
|
69113
|
+
* @throws {RequiredError}
|
|
69114
|
+
*/
|
|
69115
|
+
async resolvePlatformTemplateComponentConfiguration(organizationId: string, templateKey: string, templateVersion: string, componentKey: string, clusterMode: PlatformClusterMode, cloudProvider: PlatformCloudVendor, platformComponentConfigurationPreviewRequest: PlatformComponentConfigurationPreviewRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlatformComponentConfigurationResolutionResponse>> {
|
|
69116
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.resolvePlatformTemplateComponentConfiguration(organizationId, templateKey, templateVersion, componentKey, clusterMode, cloudProvider, platformComponentConfigurationPreviewRequest, options);
|
|
69117
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
69118
|
+
const localVarOperationServerBasePath = operationServerMap['PlatformConfigurationApi.resolvePlatformTemplateComponentConfiguration']?.[localVarOperationServerIndex]?.url;
|
|
69119
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
69120
|
+
},
|
|
68992
69121
|
/**
|
|
68993
69122
|
* Selects a platform template and stores layer selections, component profile values, and customer-provided runtime inputs for the cluster.
|
|
68994
69123
|
* @summary Update the cluster platform binding
|
|
@@ -69050,6 +69179,22 @@ export const PlatformConfigurationApiFactory = function (configuration?: Configu
|
|
|
69050
69179
|
resolvePlatformComponentConfiguration(organizationId: string, clusterId: string, componentKey: string, platformComponentConfigurationPreviewRequest: PlatformComponentConfigurationPreviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<PlatformComponentConfigurationPreviewResponse> {
|
|
69051
69180
|
return localVarFp.resolvePlatformComponentConfiguration(organizationId, clusterId, componentKey, platformComponentConfigurationPreviewRequest, options).then((request) => request(axios, basePath));
|
|
69052
69181
|
},
|
|
69182
|
+
/**
|
|
69183
|
+
* Resolves the fields and runtime requirements to display for a component using an explicit cluster context and the values currently entered in the Console. This operation is read-only and does not require an existing cluster or platform binding.
|
|
69184
|
+
* @summary Resolve a platform component configuration before cluster creation
|
|
69185
|
+
* @param {string} organizationId Organization ID
|
|
69186
|
+
* @param {string} templateKey Platform template key
|
|
69187
|
+
* @param {string} templateVersion Platform template version
|
|
69188
|
+
* @param {string} componentKey Platform component key
|
|
69189
|
+
* @param {PlatformClusterMode} clusterMode Cluster management mode used to resolve component applicability
|
|
69190
|
+
* @param {PlatformCloudVendor} cloudProvider Cluster cloud provider used to resolve component applicability
|
|
69191
|
+
* @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
|
|
69192
|
+
* @param {*} [options] Override http request option.
|
|
69193
|
+
* @throws {RequiredError}
|
|
69194
|
+
*/
|
|
69195
|
+
resolvePlatformTemplateComponentConfiguration(organizationId: string, templateKey: string, templateVersion: string, componentKey: string, clusterMode: PlatformClusterMode, cloudProvider: PlatformCloudVendor, platformComponentConfigurationPreviewRequest: PlatformComponentConfigurationPreviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<PlatformComponentConfigurationResolutionResponse> {
|
|
69196
|
+
return localVarFp.resolvePlatformTemplateComponentConfiguration(organizationId, templateKey, templateVersion, componentKey, clusterMode, cloudProvider, platformComponentConfigurationPreviewRequest, options).then((request) => request(axios, basePath));
|
|
69197
|
+
},
|
|
69053
69198
|
/**
|
|
69054
69199
|
* Selects a platform template and stores layer selections, component profile values, and customer-provided runtime inputs for the cluster.
|
|
69055
69200
|
* @summary Update the cluster platform binding
|
|
@@ -69114,6 +69259,24 @@ export class PlatformConfigurationApi extends BaseAPI {
|
|
|
69114
69259
|
return PlatformConfigurationApiFp(this.configuration).resolvePlatformComponentConfiguration(organizationId, clusterId, componentKey, platformComponentConfigurationPreviewRequest, options).then((request) => request(this.axios, this.basePath));
|
|
69115
69260
|
}
|
|
69116
69261
|
|
|
69262
|
+
/**
|
|
69263
|
+
* Resolves the fields and runtime requirements to display for a component using an explicit cluster context and the values currently entered in the Console. This operation is read-only and does not require an existing cluster or platform binding.
|
|
69264
|
+
* @summary Resolve a platform component configuration before cluster creation
|
|
69265
|
+
* @param {string} organizationId Organization ID
|
|
69266
|
+
* @param {string} templateKey Platform template key
|
|
69267
|
+
* @param {string} templateVersion Platform template version
|
|
69268
|
+
* @param {string} componentKey Platform component key
|
|
69269
|
+
* @param {PlatformClusterMode} clusterMode Cluster management mode used to resolve component applicability
|
|
69270
|
+
* @param {PlatformCloudVendor} cloudProvider Cluster cloud provider used to resolve component applicability
|
|
69271
|
+
* @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
|
|
69272
|
+
* @param {*} [options] Override http request option.
|
|
69273
|
+
* @throws {RequiredError}
|
|
69274
|
+
* @memberof PlatformConfigurationApi
|
|
69275
|
+
*/
|
|
69276
|
+
public resolvePlatformTemplateComponentConfiguration(organizationId: string, templateKey: string, templateVersion: string, componentKey: string, clusterMode: PlatformClusterMode, cloudProvider: PlatformCloudVendor, platformComponentConfigurationPreviewRequest: PlatformComponentConfigurationPreviewRequest, options?: RawAxiosRequestConfig) {
|
|
69277
|
+
return PlatformConfigurationApiFp(this.configuration).resolvePlatformTemplateComponentConfiguration(organizationId, templateKey, templateVersion, componentKey, clusterMode, cloudProvider, platformComponentConfigurationPreviewRequest, options).then((request) => request(this.axios, this.basePath));
|
|
69278
|
+
}
|
|
69279
|
+
|
|
69117
69280
|
/**
|
|
69118
69281
|
* Selects a platform template and stores layer selections, component profile values, and customer-provided runtime inputs for the cluster.
|
|
69119
69282
|
* @summary Update the cluster platform binding
|
package/dist/api.d.ts
CHANGED
|
@@ -20895,6 +20895,43 @@ export declare const PlatformComponentConfigurationRequirementStatus: {
|
|
|
20895
20895
|
readonly READY: "READY";
|
|
20896
20896
|
};
|
|
20897
20897
|
export type PlatformComponentConfigurationRequirementStatus = typeof PlatformComponentConfigurationRequirementStatus[keyof typeof PlatformComponentConfigurationRequirementStatus];
|
|
20898
|
+
/**
|
|
20899
|
+
* Component configuration resolved from an explicit template and cluster context before an actual cluster exists.
|
|
20900
|
+
* @export
|
|
20901
|
+
* @interface PlatformComponentConfigurationResolutionResponse
|
|
20902
|
+
*/
|
|
20903
|
+
export interface PlatformComponentConfigurationResolutionResponse {
|
|
20904
|
+
/**
|
|
20905
|
+
*
|
|
20906
|
+
* @type {string}
|
|
20907
|
+
* @memberof PlatformComponentConfigurationResolutionResponse
|
|
20908
|
+
*/
|
|
20909
|
+
'componentKey': string;
|
|
20910
|
+
/**
|
|
20911
|
+
*
|
|
20912
|
+
* @type {Array<FieldSchemaResponse>}
|
|
20913
|
+
* @memberof PlatformComponentConfigurationResolutionResponse
|
|
20914
|
+
*/
|
|
20915
|
+
'fields': Array<FieldSchemaResponse>;
|
|
20916
|
+
/**
|
|
20917
|
+
*
|
|
20918
|
+
* @type {Array<PlatformComponentInputRequirementResponse>}
|
|
20919
|
+
* @memberof PlatformComponentConfigurationResolutionResponse
|
|
20920
|
+
*/
|
|
20921
|
+
'requirements': Array<PlatformComponentInputRequirementResponse>;
|
|
20922
|
+
/**
|
|
20923
|
+
*
|
|
20924
|
+
* @type {Array<PlatformComponentOutputBindingResponse>}
|
|
20925
|
+
* @memberof PlatformComponentConfigurationResolutionResponse
|
|
20926
|
+
*/
|
|
20927
|
+
'componentBindings': Array<PlatformComponentOutputBindingResponse>;
|
|
20928
|
+
/**
|
|
20929
|
+
*
|
|
20930
|
+
* @type {Array<PlatformComponentConfigurationViolationResponse>}
|
|
20931
|
+
* @memberof PlatformComponentConfigurationResolutionResponse
|
|
20932
|
+
*/
|
|
20933
|
+
'violations': Array<PlatformComponentConfigurationViolationResponse>;
|
|
20934
|
+
}
|
|
20898
20935
|
/**
|
|
20899
20936
|
*
|
|
20900
20937
|
* @export
|
|
@@ -45163,6 +45200,20 @@ export declare const PlatformConfigurationApiAxiosParamCreator: (configuration?:
|
|
|
45163
45200
|
* @throws {RequiredError}
|
|
45164
45201
|
*/
|
|
45165
45202
|
resolvePlatformComponentConfiguration: (organizationId: string, clusterId: string, componentKey: string, platformComponentConfigurationPreviewRequest: PlatformComponentConfigurationPreviewRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
45203
|
+
/**
|
|
45204
|
+
* Resolves the fields and runtime requirements to display for a component using an explicit cluster context and the values currently entered in the Console. This operation is read-only and does not require an existing cluster or platform binding.
|
|
45205
|
+
* @summary Resolve a platform component configuration before cluster creation
|
|
45206
|
+
* @param {string} organizationId Organization ID
|
|
45207
|
+
* @param {string} templateKey Platform template key
|
|
45208
|
+
* @param {string} templateVersion Platform template version
|
|
45209
|
+
* @param {string} componentKey Platform component key
|
|
45210
|
+
* @param {PlatformClusterMode} clusterMode Cluster management mode used to resolve component applicability
|
|
45211
|
+
* @param {PlatformCloudVendor} cloudProvider Cluster cloud provider used to resolve component applicability
|
|
45212
|
+
* @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
|
|
45213
|
+
* @param {*} [options] Override http request option.
|
|
45214
|
+
* @throws {RequiredError}
|
|
45215
|
+
*/
|
|
45216
|
+
resolvePlatformTemplateComponentConfiguration: (organizationId: string, templateKey: string, templateVersion: string, componentKey: string, clusterMode: PlatformClusterMode, cloudProvider: PlatformCloudVendor, platformComponentConfigurationPreviewRequest: PlatformComponentConfigurationPreviewRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
45166
45217
|
/**
|
|
45167
45218
|
* Selects a platform template and stores layer selections, component profile values, and customer-provided runtime inputs for the cluster.
|
|
45168
45219
|
* @summary Update the cluster platform binding
|
|
@@ -45209,6 +45260,20 @@ export declare const PlatformConfigurationApiFp: (configuration?: Configuration)
|
|
|
45209
45260
|
* @throws {RequiredError}
|
|
45210
45261
|
*/
|
|
45211
45262
|
resolvePlatformComponentConfiguration(organizationId: string, clusterId: string, componentKey: string, platformComponentConfigurationPreviewRequest: PlatformComponentConfigurationPreviewRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlatformComponentConfigurationPreviewResponse>>;
|
|
45263
|
+
/**
|
|
45264
|
+
* Resolves the fields and runtime requirements to display for a component using an explicit cluster context and the values currently entered in the Console. This operation is read-only and does not require an existing cluster or platform binding.
|
|
45265
|
+
* @summary Resolve a platform component configuration before cluster creation
|
|
45266
|
+
* @param {string} organizationId Organization ID
|
|
45267
|
+
* @param {string} templateKey Platform template key
|
|
45268
|
+
* @param {string} templateVersion Platform template version
|
|
45269
|
+
* @param {string} componentKey Platform component key
|
|
45270
|
+
* @param {PlatformClusterMode} clusterMode Cluster management mode used to resolve component applicability
|
|
45271
|
+
* @param {PlatformCloudVendor} cloudProvider Cluster cloud provider used to resolve component applicability
|
|
45272
|
+
* @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
|
|
45273
|
+
* @param {*} [options] Override http request option.
|
|
45274
|
+
* @throws {RequiredError}
|
|
45275
|
+
*/
|
|
45276
|
+
resolvePlatformTemplateComponentConfiguration(organizationId: string, templateKey: string, templateVersion: string, componentKey: string, clusterMode: PlatformClusterMode, cloudProvider: PlatformCloudVendor, platformComponentConfigurationPreviewRequest: PlatformComponentConfigurationPreviewRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlatformComponentConfigurationResolutionResponse>>;
|
|
45212
45277
|
/**
|
|
45213
45278
|
* Selects a platform template and stores layer selections, component profile values, and customer-provided runtime inputs for the cluster.
|
|
45214
45279
|
* @summary Update the cluster platform binding
|
|
@@ -45255,6 +45320,20 @@ export declare const PlatformConfigurationApiFactory: (configuration?: Configura
|
|
|
45255
45320
|
* @throws {RequiredError}
|
|
45256
45321
|
*/
|
|
45257
45322
|
resolvePlatformComponentConfiguration(organizationId: string, clusterId: string, componentKey: string, platformComponentConfigurationPreviewRequest: PlatformComponentConfigurationPreviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<PlatformComponentConfigurationPreviewResponse>;
|
|
45323
|
+
/**
|
|
45324
|
+
* Resolves the fields and runtime requirements to display for a component using an explicit cluster context and the values currently entered in the Console. This operation is read-only and does not require an existing cluster or platform binding.
|
|
45325
|
+
* @summary Resolve a platform component configuration before cluster creation
|
|
45326
|
+
* @param {string} organizationId Organization ID
|
|
45327
|
+
* @param {string} templateKey Platform template key
|
|
45328
|
+
* @param {string} templateVersion Platform template version
|
|
45329
|
+
* @param {string} componentKey Platform component key
|
|
45330
|
+
* @param {PlatformClusterMode} clusterMode Cluster management mode used to resolve component applicability
|
|
45331
|
+
* @param {PlatformCloudVendor} cloudProvider Cluster cloud provider used to resolve component applicability
|
|
45332
|
+
* @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
|
|
45333
|
+
* @param {*} [options] Override http request option.
|
|
45334
|
+
* @throws {RequiredError}
|
|
45335
|
+
*/
|
|
45336
|
+
resolvePlatformTemplateComponentConfiguration(organizationId: string, templateKey: string, templateVersion: string, componentKey: string, clusterMode: PlatformClusterMode, cloudProvider: PlatformCloudVendor, platformComponentConfigurationPreviewRequest: PlatformComponentConfigurationPreviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<PlatformComponentConfigurationResolutionResponse>;
|
|
45258
45337
|
/**
|
|
45259
45338
|
* Selects a platform template and stores layer selections, component profile values, and customer-provided runtime inputs for the cluster.
|
|
45260
45339
|
* @summary Update the cluster platform binding
|
|
@@ -45306,6 +45385,21 @@ export declare class PlatformConfigurationApi extends BaseAPI {
|
|
|
45306
45385
|
* @memberof PlatformConfigurationApi
|
|
45307
45386
|
*/
|
|
45308
45387
|
resolvePlatformComponentConfiguration(organizationId: string, clusterId: string, componentKey: string, platformComponentConfigurationPreviewRequest: PlatformComponentConfigurationPreviewRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PlatformComponentConfigurationPreviewResponse, any, {}>>;
|
|
45388
|
+
/**
|
|
45389
|
+
* Resolves the fields and runtime requirements to display for a component using an explicit cluster context and the values currently entered in the Console. This operation is read-only and does not require an existing cluster or platform binding.
|
|
45390
|
+
* @summary Resolve a platform component configuration before cluster creation
|
|
45391
|
+
* @param {string} organizationId Organization ID
|
|
45392
|
+
* @param {string} templateKey Platform template key
|
|
45393
|
+
* @param {string} templateVersion Platform template version
|
|
45394
|
+
* @param {string} componentKey Platform component key
|
|
45395
|
+
* @param {PlatformClusterMode} clusterMode Cluster management mode used to resolve component applicability
|
|
45396
|
+
* @param {PlatformCloudVendor} cloudProvider Cluster cloud provider used to resolve component applicability
|
|
45397
|
+
* @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
|
|
45398
|
+
* @param {*} [options] Override http request option.
|
|
45399
|
+
* @throws {RequiredError}
|
|
45400
|
+
* @memberof PlatformConfigurationApi
|
|
45401
|
+
*/
|
|
45402
|
+
resolvePlatformTemplateComponentConfiguration(organizationId: string, templateKey: string, templateVersion: string, componentKey: string, clusterMode: PlatformClusterMode, cloudProvider: PlatformCloudVendor, platformComponentConfigurationPreviewRequest: PlatformComponentConfigurationPreviewRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PlatformComponentConfigurationResolutionResponse, any, {}>>;
|
|
45309
45403
|
/**
|
|
45310
45404
|
* Selects a platform template and stores layer selections, component profile values, and customer-provided runtime inputs for the cluster.
|
|
45311
45405
|
* @summary Update the cluster platform binding
|
package/dist/api.js
CHANGED
|
@@ -41134,6 +41134,69 @@ const PlatformConfigurationApiAxiosParamCreator = function (configuration) {
|
|
|
41134
41134
|
options: localVarRequestOptions,
|
|
41135
41135
|
};
|
|
41136
41136
|
}),
|
|
41137
|
+
/**
|
|
41138
|
+
* Resolves the fields and runtime requirements to display for a component using an explicit cluster context and the values currently entered in the Console. This operation is read-only and does not require an existing cluster or platform binding.
|
|
41139
|
+
* @summary Resolve a platform component configuration before cluster creation
|
|
41140
|
+
* @param {string} organizationId Organization ID
|
|
41141
|
+
* @param {string} templateKey Platform template key
|
|
41142
|
+
* @param {string} templateVersion Platform template version
|
|
41143
|
+
* @param {string} componentKey Platform component key
|
|
41144
|
+
* @param {PlatformClusterMode} clusterMode Cluster management mode used to resolve component applicability
|
|
41145
|
+
* @param {PlatformCloudVendor} cloudProvider Cluster cloud provider used to resolve component applicability
|
|
41146
|
+
* @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
|
|
41147
|
+
* @param {*} [options] Override http request option.
|
|
41148
|
+
* @throws {RequiredError}
|
|
41149
|
+
*/
|
|
41150
|
+
resolvePlatformTemplateComponentConfiguration: (organizationId_1, templateKey_1, templateVersion_1, componentKey_1, clusterMode_1, cloudProvider_1, platformComponentConfigurationPreviewRequest_1, ...args_1) => __awaiter(this, [organizationId_1, templateKey_1, templateVersion_1, componentKey_1, clusterMode_1, cloudProvider_1, platformComponentConfigurationPreviewRequest_1, ...args_1], void 0, function* (organizationId, templateKey, templateVersion, componentKey, clusterMode, cloudProvider, platformComponentConfigurationPreviewRequest, options = {}) {
|
|
41151
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
41152
|
+
(0, common_1.assertParamExists)('resolvePlatformTemplateComponentConfiguration', 'organizationId', organizationId);
|
|
41153
|
+
// verify required parameter 'templateKey' is not null or undefined
|
|
41154
|
+
(0, common_1.assertParamExists)('resolvePlatformTemplateComponentConfiguration', 'templateKey', templateKey);
|
|
41155
|
+
// verify required parameter 'templateVersion' is not null or undefined
|
|
41156
|
+
(0, common_1.assertParamExists)('resolvePlatformTemplateComponentConfiguration', 'templateVersion', templateVersion);
|
|
41157
|
+
// verify required parameter 'componentKey' is not null or undefined
|
|
41158
|
+
(0, common_1.assertParamExists)('resolvePlatformTemplateComponentConfiguration', 'componentKey', componentKey);
|
|
41159
|
+
// verify required parameter 'clusterMode' is not null or undefined
|
|
41160
|
+
(0, common_1.assertParamExists)('resolvePlatformTemplateComponentConfiguration', 'clusterMode', clusterMode);
|
|
41161
|
+
// verify required parameter 'cloudProvider' is not null or undefined
|
|
41162
|
+
(0, common_1.assertParamExists)('resolvePlatformTemplateComponentConfiguration', 'cloudProvider', cloudProvider);
|
|
41163
|
+
// verify required parameter 'platformComponentConfigurationPreviewRequest' is not null or undefined
|
|
41164
|
+
(0, common_1.assertParamExists)('resolvePlatformTemplateComponentConfiguration', 'platformComponentConfigurationPreviewRequest', platformComponentConfigurationPreviewRequest);
|
|
41165
|
+
const localVarPath = `/organization/{organizationId}/platformTemplate/{templateKey}/{templateVersion}/component/{componentKey}/resolve`
|
|
41166
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
41167
|
+
.replace(`{${"templateKey"}}`, encodeURIComponent(String(templateKey)))
|
|
41168
|
+
.replace(`{${"templateVersion"}}`, encodeURIComponent(String(templateVersion)))
|
|
41169
|
+
.replace(`{${"componentKey"}}`, encodeURIComponent(String(componentKey)));
|
|
41170
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
41171
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
41172
|
+
let baseOptions;
|
|
41173
|
+
if (configuration) {
|
|
41174
|
+
baseOptions = configuration.baseOptions;
|
|
41175
|
+
}
|
|
41176
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
41177
|
+
const localVarHeaderParameter = {};
|
|
41178
|
+
const localVarQueryParameter = {};
|
|
41179
|
+
// authentication ApiKeyAuth required
|
|
41180
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
41181
|
+
// authentication bearerAuth required
|
|
41182
|
+
// http bearer authentication required
|
|
41183
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
41184
|
+
if (clusterMode !== undefined) {
|
|
41185
|
+
localVarQueryParameter['clusterMode'] = clusterMode;
|
|
41186
|
+
}
|
|
41187
|
+
if (cloudProvider !== undefined) {
|
|
41188
|
+
localVarQueryParameter['cloudProvider'] = cloudProvider;
|
|
41189
|
+
}
|
|
41190
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
41191
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
41192
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
41193
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
41194
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(platformComponentConfigurationPreviewRequest, localVarRequestOptions, configuration);
|
|
41195
|
+
return {
|
|
41196
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
41197
|
+
options: localVarRequestOptions,
|
|
41198
|
+
};
|
|
41199
|
+
}),
|
|
41137
41200
|
/**
|
|
41138
41201
|
* Selects a platform template and stores layer selections, component profile values, and customer-provided runtime inputs for the cluster.
|
|
41139
41202
|
* @summary Update the cluster platform binding
|
|
@@ -41241,6 +41304,28 @@ const PlatformConfigurationApiFp = function (configuration) {
|
|
|
41241
41304
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
41242
41305
|
});
|
|
41243
41306
|
},
|
|
41307
|
+
/**
|
|
41308
|
+
* Resolves the fields and runtime requirements to display for a component using an explicit cluster context and the values currently entered in the Console. This operation is read-only and does not require an existing cluster or platform binding.
|
|
41309
|
+
* @summary Resolve a platform component configuration before cluster creation
|
|
41310
|
+
* @param {string} organizationId Organization ID
|
|
41311
|
+
* @param {string} templateKey Platform template key
|
|
41312
|
+
* @param {string} templateVersion Platform template version
|
|
41313
|
+
* @param {string} componentKey Platform component key
|
|
41314
|
+
* @param {PlatformClusterMode} clusterMode Cluster management mode used to resolve component applicability
|
|
41315
|
+
* @param {PlatformCloudVendor} cloudProvider Cluster cloud provider used to resolve component applicability
|
|
41316
|
+
* @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
|
|
41317
|
+
* @param {*} [options] Override http request option.
|
|
41318
|
+
* @throws {RequiredError}
|
|
41319
|
+
*/
|
|
41320
|
+
resolvePlatformTemplateComponentConfiguration(organizationId, templateKey, templateVersion, componentKey, clusterMode, cloudProvider, platformComponentConfigurationPreviewRequest, options) {
|
|
41321
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
41322
|
+
var _a, _b, _c;
|
|
41323
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.resolvePlatformTemplateComponentConfiguration(organizationId, templateKey, templateVersion, componentKey, clusterMode, cloudProvider, platformComponentConfigurationPreviewRequest, options);
|
|
41324
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
41325
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PlatformConfigurationApi.resolvePlatformTemplateComponentConfiguration']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
41326
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
41327
|
+
});
|
|
41328
|
+
},
|
|
41244
41329
|
/**
|
|
41245
41330
|
* Selects a platform template and stores layer selections, component profile values, and customer-provided runtime inputs for the cluster.
|
|
41246
41331
|
* @summary Update the cluster platform binding
|
|
@@ -41305,6 +41390,22 @@ const PlatformConfigurationApiFactory = function (configuration, basePath, axios
|
|
|
41305
41390
|
resolvePlatformComponentConfiguration(organizationId, clusterId, componentKey, platformComponentConfigurationPreviewRequest, options) {
|
|
41306
41391
|
return localVarFp.resolvePlatformComponentConfiguration(organizationId, clusterId, componentKey, platformComponentConfigurationPreviewRequest, options).then((request) => request(axios, basePath));
|
|
41307
41392
|
},
|
|
41393
|
+
/**
|
|
41394
|
+
* Resolves the fields and runtime requirements to display for a component using an explicit cluster context and the values currently entered in the Console. This operation is read-only and does not require an existing cluster or platform binding.
|
|
41395
|
+
* @summary Resolve a platform component configuration before cluster creation
|
|
41396
|
+
* @param {string} organizationId Organization ID
|
|
41397
|
+
* @param {string} templateKey Platform template key
|
|
41398
|
+
* @param {string} templateVersion Platform template version
|
|
41399
|
+
* @param {string} componentKey Platform component key
|
|
41400
|
+
* @param {PlatformClusterMode} clusterMode Cluster management mode used to resolve component applicability
|
|
41401
|
+
* @param {PlatformCloudVendor} cloudProvider Cluster cloud provider used to resolve component applicability
|
|
41402
|
+
* @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
|
|
41403
|
+
* @param {*} [options] Override http request option.
|
|
41404
|
+
* @throws {RequiredError}
|
|
41405
|
+
*/
|
|
41406
|
+
resolvePlatformTemplateComponentConfiguration(organizationId, templateKey, templateVersion, componentKey, clusterMode, cloudProvider, platformComponentConfigurationPreviewRequest, options) {
|
|
41407
|
+
return localVarFp.resolvePlatformTemplateComponentConfiguration(organizationId, templateKey, templateVersion, componentKey, clusterMode, cloudProvider, platformComponentConfigurationPreviewRequest, options).then((request) => request(axios, basePath));
|
|
41408
|
+
},
|
|
41308
41409
|
/**
|
|
41309
41410
|
* Selects a platform template and stores layer selections, component profile values, and customer-provided runtime inputs for the cluster.
|
|
41310
41411
|
* @summary Update the cluster platform binding
|
|
@@ -41366,6 +41467,23 @@ class PlatformConfigurationApi extends base_1.BaseAPI {
|
|
|
41366
41467
|
resolvePlatformComponentConfiguration(organizationId, clusterId, componentKey, platformComponentConfigurationPreviewRequest, options) {
|
|
41367
41468
|
return (0, exports.PlatformConfigurationApiFp)(this.configuration).resolvePlatformComponentConfiguration(organizationId, clusterId, componentKey, platformComponentConfigurationPreviewRequest, options).then((request) => request(this.axios, this.basePath));
|
|
41368
41469
|
}
|
|
41470
|
+
/**
|
|
41471
|
+
* Resolves the fields and runtime requirements to display for a component using an explicit cluster context and the values currently entered in the Console. This operation is read-only and does not require an existing cluster or platform binding.
|
|
41472
|
+
* @summary Resolve a platform component configuration before cluster creation
|
|
41473
|
+
* @param {string} organizationId Organization ID
|
|
41474
|
+
* @param {string} templateKey Platform template key
|
|
41475
|
+
* @param {string} templateVersion Platform template version
|
|
41476
|
+
* @param {string} componentKey Platform component key
|
|
41477
|
+
* @param {PlatformClusterMode} clusterMode Cluster management mode used to resolve component applicability
|
|
41478
|
+
* @param {PlatformCloudVendor} cloudProvider Cluster cloud provider used to resolve component applicability
|
|
41479
|
+
* @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
|
|
41480
|
+
* @param {*} [options] Override http request option.
|
|
41481
|
+
* @throws {RequiredError}
|
|
41482
|
+
* @memberof PlatformConfigurationApi
|
|
41483
|
+
*/
|
|
41484
|
+
resolvePlatformTemplateComponentConfiguration(organizationId, templateKey, templateVersion, componentKey, clusterMode, cloudProvider, platformComponentConfigurationPreviewRequest, options) {
|
|
41485
|
+
return (0, exports.PlatformConfigurationApiFp)(this.configuration).resolvePlatformTemplateComponentConfiguration(organizationId, templateKey, templateVersion, componentKey, clusterMode, cloudProvider, platformComponentConfigurationPreviewRequest, options).then((request) => request(this.axios, this.basePath));
|
|
41486
|
+
}
|
|
41369
41487
|
/**
|
|
41370
41488
|
* Selects a platform template and stores layer selections, component profile values, and customer-provided runtime inputs for the cluster.
|
|
41371
41489
|
* @summary Update the cluster platform binding
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -20895,6 +20895,43 @@ export declare const PlatformComponentConfigurationRequirementStatus: {
|
|
|
20895
20895
|
readonly READY: "READY";
|
|
20896
20896
|
};
|
|
20897
20897
|
export type PlatformComponentConfigurationRequirementStatus = typeof PlatformComponentConfigurationRequirementStatus[keyof typeof PlatformComponentConfigurationRequirementStatus];
|
|
20898
|
+
/**
|
|
20899
|
+
* Component configuration resolved from an explicit template and cluster context before an actual cluster exists.
|
|
20900
|
+
* @export
|
|
20901
|
+
* @interface PlatformComponentConfigurationResolutionResponse
|
|
20902
|
+
*/
|
|
20903
|
+
export interface PlatformComponentConfigurationResolutionResponse {
|
|
20904
|
+
/**
|
|
20905
|
+
*
|
|
20906
|
+
* @type {string}
|
|
20907
|
+
* @memberof PlatformComponentConfigurationResolutionResponse
|
|
20908
|
+
*/
|
|
20909
|
+
'componentKey': string;
|
|
20910
|
+
/**
|
|
20911
|
+
*
|
|
20912
|
+
* @type {Array<FieldSchemaResponse>}
|
|
20913
|
+
* @memberof PlatformComponentConfigurationResolutionResponse
|
|
20914
|
+
*/
|
|
20915
|
+
'fields': Array<FieldSchemaResponse>;
|
|
20916
|
+
/**
|
|
20917
|
+
*
|
|
20918
|
+
* @type {Array<PlatformComponentInputRequirementResponse>}
|
|
20919
|
+
* @memberof PlatformComponentConfigurationResolutionResponse
|
|
20920
|
+
*/
|
|
20921
|
+
'requirements': Array<PlatformComponentInputRequirementResponse>;
|
|
20922
|
+
/**
|
|
20923
|
+
*
|
|
20924
|
+
* @type {Array<PlatformComponentOutputBindingResponse>}
|
|
20925
|
+
* @memberof PlatformComponentConfigurationResolutionResponse
|
|
20926
|
+
*/
|
|
20927
|
+
'componentBindings': Array<PlatformComponentOutputBindingResponse>;
|
|
20928
|
+
/**
|
|
20929
|
+
*
|
|
20930
|
+
* @type {Array<PlatformComponentConfigurationViolationResponse>}
|
|
20931
|
+
* @memberof PlatformComponentConfigurationResolutionResponse
|
|
20932
|
+
*/
|
|
20933
|
+
'violations': Array<PlatformComponentConfigurationViolationResponse>;
|
|
20934
|
+
}
|
|
20898
20935
|
/**
|
|
20899
20936
|
*
|
|
20900
20937
|
* @export
|
|
@@ -45163,6 +45200,20 @@ export declare const PlatformConfigurationApiAxiosParamCreator: (configuration?:
|
|
|
45163
45200
|
* @throws {RequiredError}
|
|
45164
45201
|
*/
|
|
45165
45202
|
resolvePlatformComponentConfiguration: (organizationId: string, clusterId: string, componentKey: string, platformComponentConfigurationPreviewRequest: PlatformComponentConfigurationPreviewRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
45203
|
+
/**
|
|
45204
|
+
* Resolves the fields and runtime requirements to display for a component using an explicit cluster context and the values currently entered in the Console. This operation is read-only and does not require an existing cluster or platform binding.
|
|
45205
|
+
* @summary Resolve a platform component configuration before cluster creation
|
|
45206
|
+
* @param {string} organizationId Organization ID
|
|
45207
|
+
* @param {string} templateKey Platform template key
|
|
45208
|
+
* @param {string} templateVersion Platform template version
|
|
45209
|
+
* @param {string} componentKey Platform component key
|
|
45210
|
+
* @param {PlatformClusterMode} clusterMode Cluster management mode used to resolve component applicability
|
|
45211
|
+
* @param {PlatformCloudVendor} cloudProvider Cluster cloud provider used to resolve component applicability
|
|
45212
|
+
* @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
|
|
45213
|
+
* @param {*} [options] Override http request option.
|
|
45214
|
+
* @throws {RequiredError}
|
|
45215
|
+
*/
|
|
45216
|
+
resolvePlatformTemplateComponentConfiguration: (organizationId: string, templateKey: string, templateVersion: string, componentKey: string, clusterMode: PlatformClusterMode, cloudProvider: PlatformCloudVendor, platformComponentConfigurationPreviewRequest: PlatformComponentConfigurationPreviewRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
45166
45217
|
/**
|
|
45167
45218
|
* Selects a platform template and stores layer selections, component profile values, and customer-provided runtime inputs for the cluster.
|
|
45168
45219
|
* @summary Update the cluster platform binding
|
|
@@ -45209,6 +45260,20 @@ export declare const PlatformConfigurationApiFp: (configuration?: Configuration)
|
|
|
45209
45260
|
* @throws {RequiredError}
|
|
45210
45261
|
*/
|
|
45211
45262
|
resolvePlatformComponentConfiguration(organizationId: string, clusterId: string, componentKey: string, platformComponentConfigurationPreviewRequest: PlatformComponentConfigurationPreviewRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlatformComponentConfigurationPreviewResponse>>;
|
|
45263
|
+
/**
|
|
45264
|
+
* Resolves the fields and runtime requirements to display for a component using an explicit cluster context and the values currently entered in the Console. This operation is read-only and does not require an existing cluster or platform binding.
|
|
45265
|
+
* @summary Resolve a platform component configuration before cluster creation
|
|
45266
|
+
* @param {string} organizationId Organization ID
|
|
45267
|
+
* @param {string} templateKey Platform template key
|
|
45268
|
+
* @param {string} templateVersion Platform template version
|
|
45269
|
+
* @param {string} componentKey Platform component key
|
|
45270
|
+
* @param {PlatformClusterMode} clusterMode Cluster management mode used to resolve component applicability
|
|
45271
|
+
* @param {PlatformCloudVendor} cloudProvider Cluster cloud provider used to resolve component applicability
|
|
45272
|
+
* @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
|
|
45273
|
+
* @param {*} [options] Override http request option.
|
|
45274
|
+
* @throws {RequiredError}
|
|
45275
|
+
*/
|
|
45276
|
+
resolvePlatformTemplateComponentConfiguration(organizationId: string, templateKey: string, templateVersion: string, componentKey: string, clusterMode: PlatformClusterMode, cloudProvider: PlatformCloudVendor, platformComponentConfigurationPreviewRequest: PlatformComponentConfigurationPreviewRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlatformComponentConfigurationResolutionResponse>>;
|
|
45212
45277
|
/**
|
|
45213
45278
|
* Selects a platform template and stores layer selections, component profile values, and customer-provided runtime inputs for the cluster.
|
|
45214
45279
|
* @summary Update the cluster platform binding
|
|
@@ -45255,6 +45320,20 @@ export declare const PlatformConfigurationApiFactory: (configuration?: Configura
|
|
|
45255
45320
|
* @throws {RequiredError}
|
|
45256
45321
|
*/
|
|
45257
45322
|
resolvePlatformComponentConfiguration(organizationId: string, clusterId: string, componentKey: string, platformComponentConfigurationPreviewRequest: PlatformComponentConfigurationPreviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<PlatformComponentConfigurationPreviewResponse>;
|
|
45323
|
+
/**
|
|
45324
|
+
* Resolves the fields and runtime requirements to display for a component using an explicit cluster context and the values currently entered in the Console. This operation is read-only and does not require an existing cluster or platform binding.
|
|
45325
|
+
* @summary Resolve a platform component configuration before cluster creation
|
|
45326
|
+
* @param {string} organizationId Organization ID
|
|
45327
|
+
* @param {string} templateKey Platform template key
|
|
45328
|
+
* @param {string} templateVersion Platform template version
|
|
45329
|
+
* @param {string} componentKey Platform component key
|
|
45330
|
+
* @param {PlatformClusterMode} clusterMode Cluster management mode used to resolve component applicability
|
|
45331
|
+
* @param {PlatformCloudVendor} cloudProvider Cluster cloud provider used to resolve component applicability
|
|
45332
|
+
* @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
|
|
45333
|
+
* @param {*} [options] Override http request option.
|
|
45334
|
+
* @throws {RequiredError}
|
|
45335
|
+
*/
|
|
45336
|
+
resolvePlatformTemplateComponentConfiguration(organizationId: string, templateKey: string, templateVersion: string, componentKey: string, clusterMode: PlatformClusterMode, cloudProvider: PlatformCloudVendor, platformComponentConfigurationPreviewRequest: PlatformComponentConfigurationPreviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<PlatformComponentConfigurationResolutionResponse>;
|
|
45258
45337
|
/**
|
|
45259
45338
|
* Selects a platform template and stores layer selections, component profile values, and customer-provided runtime inputs for the cluster.
|
|
45260
45339
|
* @summary Update the cluster platform binding
|
|
@@ -45306,6 +45385,21 @@ export declare class PlatformConfigurationApi extends BaseAPI {
|
|
|
45306
45385
|
* @memberof PlatformConfigurationApi
|
|
45307
45386
|
*/
|
|
45308
45387
|
resolvePlatformComponentConfiguration(organizationId: string, clusterId: string, componentKey: string, platformComponentConfigurationPreviewRequest: PlatformComponentConfigurationPreviewRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PlatformComponentConfigurationPreviewResponse, any, {}>>;
|
|
45388
|
+
/**
|
|
45389
|
+
* Resolves the fields and runtime requirements to display for a component using an explicit cluster context and the values currently entered in the Console. This operation is read-only and does not require an existing cluster or platform binding.
|
|
45390
|
+
* @summary Resolve a platform component configuration before cluster creation
|
|
45391
|
+
* @param {string} organizationId Organization ID
|
|
45392
|
+
* @param {string} templateKey Platform template key
|
|
45393
|
+
* @param {string} templateVersion Platform template version
|
|
45394
|
+
* @param {string} componentKey Platform component key
|
|
45395
|
+
* @param {PlatformClusterMode} clusterMode Cluster management mode used to resolve component applicability
|
|
45396
|
+
* @param {PlatformCloudVendor} cloudProvider Cluster cloud provider used to resolve component applicability
|
|
45397
|
+
* @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
|
|
45398
|
+
* @param {*} [options] Override http request option.
|
|
45399
|
+
* @throws {RequiredError}
|
|
45400
|
+
* @memberof PlatformConfigurationApi
|
|
45401
|
+
*/
|
|
45402
|
+
resolvePlatformTemplateComponentConfiguration(organizationId: string, templateKey: string, templateVersion: string, componentKey: string, clusterMode: PlatformClusterMode, cloudProvider: PlatformCloudVendor, platformComponentConfigurationPreviewRequest: PlatformComponentConfigurationPreviewRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PlatformComponentConfigurationResolutionResponse, any, {}>>;
|
|
45309
45403
|
/**
|
|
45310
45404
|
* Selects a platform template and stores layer selections, component profile values, and customer-provided runtime inputs for the cluster.
|
|
45311
45405
|
* @summary Update the cluster platform binding
|
package/dist/esm/api.js
CHANGED
|
@@ -40796,6 +40796,69 @@ export const PlatformConfigurationApiAxiosParamCreator = function (configuration
|
|
|
40796
40796
|
options: localVarRequestOptions,
|
|
40797
40797
|
};
|
|
40798
40798
|
}),
|
|
40799
|
+
/**
|
|
40800
|
+
* Resolves the fields and runtime requirements to display for a component using an explicit cluster context and the values currently entered in the Console. This operation is read-only and does not require an existing cluster or platform binding.
|
|
40801
|
+
* @summary Resolve a platform component configuration before cluster creation
|
|
40802
|
+
* @param {string} organizationId Organization ID
|
|
40803
|
+
* @param {string} templateKey Platform template key
|
|
40804
|
+
* @param {string} templateVersion Platform template version
|
|
40805
|
+
* @param {string} componentKey Platform component key
|
|
40806
|
+
* @param {PlatformClusterMode} clusterMode Cluster management mode used to resolve component applicability
|
|
40807
|
+
* @param {PlatformCloudVendor} cloudProvider Cluster cloud provider used to resolve component applicability
|
|
40808
|
+
* @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
|
|
40809
|
+
* @param {*} [options] Override http request option.
|
|
40810
|
+
* @throws {RequiredError}
|
|
40811
|
+
*/
|
|
40812
|
+
resolvePlatformTemplateComponentConfiguration: (organizationId_1, templateKey_1, templateVersion_1, componentKey_1, clusterMode_1, cloudProvider_1, platformComponentConfigurationPreviewRequest_1, ...args_1) => __awaiter(this, [organizationId_1, templateKey_1, templateVersion_1, componentKey_1, clusterMode_1, cloudProvider_1, platformComponentConfigurationPreviewRequest_1, ...args_1], void 0, function* (organizationId, templateKey, templateVersion, componentKey, clusterMode, cloudProvider, platformComponentConfigurationPreviewRequest, options = {}) {
|
|
40813
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
40814
|
+
assertParamExists('resolvePlatformTemplateComponentConfiguration', 'organizationId', organizationId);
|
|
40815
|
+
// verify required parameter 'templateKey' is not null or undefined
|
|
40816
|
+
assertParamExists('resolvePlatformTemplateComponentConfiguration', 'templateKey', templateKey);
|
|
40817
|
+
// verify required parameter 'templateVersion' is not null or undefined
|
|
40818
|
+
assertParamExists('resolvePlatformTemplateComponentConfiguration', 'templateVersion', templateVersion);
|
|
40819
|
+
// verify required parameter 'componentKey' is not null or undefined
|
|
40820
|
+
assertParamExists('resolvePlatformTemplateComponentConfiguration', 'componentKey', componentKey);
|
|
40821
|
+
// verify required parameter 'clusterMode' is not null or undefined
|
|
40822
|
+
assertParamExists('resolvePlatformTemplateComponentConfiguration', 'clusterMode', clusterMode);
|
|
40823
|
+
// verify required parameter 'cloudProvider' is not null or undefined
|
|
40824
|
+
assertParamExists('resolvePlatformTemplateComponentConfiguration', 'cloudProvider', cloudProvider);
|
|
40825
|
+
// verify required parameter 'platformComponentConfigurationPreviewRequest' is not null or undefined
|
|
40826
|
+
assertParamExists('resolvePlatformTemplateComponentConfiguration', 'platformComponentConfigurationPreviewRequest', platformComponentConfigurationPreviewRequest);
|
|
40827
|
+
const localVarPath = `/organization/{organizationId}/platformTemplate/{templateKey}/{templateVersion}/component/{componentKey}/resolve`
|
|
40828
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
40829
|
+
.replace(`{${"templateKey"}}`, encodeURIComponent(String(templateKey)))
|
|
40830
|
+
.replace(`{${"templateVersion"}}`, encodeURIComponent(String(templateVersion)))
|
|
40831
|
+
.replace(`{${"componentKey"}}`, encodeURIComponent(String(componentKey)));
|
|
40832
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
40833
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
40834
|
+
let baseOptions;
|
|
40835
|
+
if (configuration) {
|
|
40836
|
+
baseOptions = configuration.baseOptions;
|
|
40837
|
+
}
|
|
40838
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
40839
|
+
const localVarHeaderParameter = {};
|
|
40840
|
+
const localVarQueryParameter = {};
|
|
40841
|
+
// authentication ApiKeyAuth required
|
|
40842
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
40843
|
+
// authentication bearerAuth required
|
|
40844
|
+
// http bearer authentication required
|
|
40845
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
40846
|
+
if (clusterMode !== undefined) {
|
|
40847
|
+
localVarQueryParameter['clusterMode'] = clusterMode;
|
|
40848
|
+
}
|
|
40849
|
+
if (cloudProvider !== undefined) {
|
|
40850
|
+
localVarQueryParameter['cloudProvider'] = cloudProvider;
|
|
40851
|
+
}
|
|
40852
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
40853
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
40854
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
40855
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
40856
|
+
localVarRequestOptions.data = serializeDataIfNeeded(platformComponentConfigurationPreviewRequest, localVarRequestOptions, configuration);
|
|
40857
|
+
return {
|
|
40858
|
+
url: toPathString(localVarUrlObj),
|
|
40859
|
+
options: localVarRequestOptions,
|
|
40860
|
+
};
|
|
40861
|
+
}),
|
|
40799
40862
|
/**
|
|
40800
40863
|
* Selects a platform template and stores layer selections, component profile values, and customer-provided runtime inputs for the cluster.
|
|
40801
40864
|
* @summary Update the cluster platform binding
|
|
@@ -40902,6 +40965,28 @@ export const PlatformConfigurationApiFp = function (configuration) {
|
|
|
40902
40965
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
40903
40966
|
});
|
|
40904
40967
|
},
|
|
40968
|
+
/**
|
|
40969
|
+
* Resolves the fields and runtime requirements to display for a component using an explicit cluster context and the values currently entered in the Console. This operation is read-only and does not require an existing cluster or platform binding.
|
|
40970
|
+
* @summary Resolve a platform component configuration before cluster creation
|
|
40971
|
+
* @param {string} organizationId Organization ID
|
|
40972
|
+
* @param {string} templateKey Platform template key
|
|
40973
|
+
* @param {string} templateVersion Platform template version
|
|
40974
|
+
* @param {string} componentKey Platform component key
|
|
40975
|
+
* @param {PlatformClusterMode} clusterMode Cluster management mode used to resolve component applicability
|
|
40976
|
+
* @param {PlatformCloudVendor} cloudProvider Cluster cloud provider used to resolve component applicability
|
|
40977
|
+
* @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
|
|
40978
|
+
* @param {*} [options] Override http request option.
|
|
40979
|
+
* @throws {RequiredError}
|
|
40980
|
+
*/
|
|
40981
|
+
resolvePlatformTemplateComponentConfiguration(organizationId, templateKey, templateVersion, componentKey, clusterMode, cloudProvider, platformComponentConfigurationPreviewRequest, options) {
|
|
40982
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
40983
|
+
var _a, _b, _c;
|
|
40984
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.resolvePlatformTemplateComponentConfiguration(organizationId, templateKey, templateVersion, componentKey, clusterMode, cloudProvider, platformComponentConfigurationPreviewRequest, options);
|
|
40985
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
40986
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PlatformConfigurationApi.resolvePlatformTemplateComponentConfiguration']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
40987
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
40988
|
+
});
|
|
40989
|
+
},
|
|
40905
40990
|
/**
|
|
40906
40991
|
* Selects a platform template and stores layer selections, component profile values, and customer-provided runtime inputs for the cluster.
|
|
40907
40992
|
* @summary Update the cluster platform binding
|
|
@@ -40965,6 +41050,22 @@ export const PlatformConfigurationApiFactory = function (configuration, basePath
|
|
|
40965
41050
|
resolvePlatformComponentConfiguration(organizationId, clusterId, componentKey, platformComponentConfigurationPreviewRequest, options) {
|
|
40966
41051
|
return localVarFp.resolvePlatformComponentConfiguration(organizationId, clusterId, componentKey, platformComponentConfigurationPreviewRequest, options).then((request) => request(axios, basePath));
|
|
40967
41052
|
},
|
|
41053
|
+
/**
|
|
41054
|
+
* Resolves the fields and runtime requirements to display for a component using an explicit cluster context and the values currently entered in the Console. This operation is read-only and does not require an existing cluster or platform binding.
|
|
41055
|
+
* @summary Resolve a platform component configuration before cluster creation
|
|
41056
|
+
* @param {string} organizationId Organization ID
|
|
41057
|
+
* @param {string} templateKey Platform template key
|
|
41058
|
+
* @param {string} templateVersion Platform template version
|
|
41059
|
+
* @param {string} componentKey Platform component key
|
|
41060
|
+
* @param {PlatformClusterMode} clusterMode Cluster management mode used to resolve component applicability
|
|
41061
|
+
* @param {PlatformCloudVendor} cloudProvider Cluster cloud provider used to resolve component applicability
|
|
41062
|
+
* @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
|
|
41063
|
+
* @param {*} [options] Override http request option.
|
|
41064
|
+
* @throws {RequiredError}
|
|
41065
|
+
*/
|
|
41066
|
+
resolvePlatformTemplateComponentConfiguration(organizationId, templateKey, templateVersion, componentKey, clusterMode, cloudProvider, platformComponentConfigurationPreviewRequest, options) {
|
|
41067
|
+
return localVarFp.resolvePlatformTemplateComponentConfiguration(organizationId, templateKey, templateVersion, componentKey, clusterMode, cloudProvider, platformComponentConfigurationPreviewRequest, options).then((request) => request(axios, basePath));
|
|
41068
|
+
},
|
|
40968
41069
|
/**
|
|
40969
41070
|
* Selects a platform template and stores layer selections, component profile values, and customer-provided runtime inputs for the cluster.
|
|
40970
41071
|
* @summary Update the cluster platform binding
|
|
@@ -41025,6 +41126,23 @@ export class PlatformConfigurationApi extends BaseAPI {
|
|
|
41025
41126
|
resolvePlatformComponentConfiguration(organizationId, clusterId, componentKey, platformComponentConfigurationPreviewRequest, options) {
|
|
41026
41127
|
return PlatformConfigurationApiFp(this.configuration).resolvePlatformComponentConfiguration(organizationId, clusterId, componentKey, platformComponentConfigurationPreviewRequest, options).then((request) => request(this.axios, this.basePath));
|
|
41027
41128
|
}
|
|
41129
|
+
/**
|
|
41130
|
+
* Resolves the fields and runtime requirements to display for a component using an explicit cluster context and the values currently entered in the Console. This operation is read-only and does not require an existing cluster or platform binding.
|
|
41131
|
+
* @summary Resolve a platform component configuration before cluster creation
|
|
41132
|
+
* @param {string} organizationId Organization ID
|
|
41133
|
+
* @param {string} templateKey Platform template key
|
|
41134
|
+
* @param {string} templateVersion Platform template version
|
|
41135
|
+
* @param {string} componentKey Platform component key
|
|
41136
|
+
* @param {PlatformClusterMode} clusterMode Cluster management mode used to resolve component applicability
|
|
41137
|
+
* @param {PlatformCloudVendor} cloudProvider Cluster cloud provider used to resolve component applicability
|
|
41138
|
+
* @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
|
|
41139
|
+
* @param {*} [options] Override http request option.
|
|
41140
|
+
* @throws {RequiredError}
|
|
41141
|
+
* @memberof PlatformConfigurationApi
|
|
41142
|
+
*/
|
|
41143
|
+
resolvePlatformTemplateComponentConfiguration(organizationId, templateKey, templateVersion, componentKey, clusterMode, cloudProvider, platformComponentConfigurationPreviewRequest, options) {
|
|
41144
|
+
return PlatformConfigurationApiFp(this.configuration).resolvePlatformTemplateComponentConfiguration(organizationId, templateKey, templateVersion, componentKey, clusterMode, cloudProvider, platformComponentConfigurationPreviewRequest, options).then((request) => request(this.axios, this.basePath));
|
|
41145
|
+
}
|
|
41028
41146
|
/**
|
|
41029
41147
|
* Selects a platform template and stores layer selections, component profile values, and customer-provided runtime inputs for the cluster.
|
|
41030
41148
|
* @summary Update the cluster platform binding
|