qovery-typescript-axios 1.1.989 → 1.1.991
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 +339 -12
- package/dist/api.d.ts +205 -12
- package/dist/api.js +260 -12
- package/dist/esm/api.d.ts +205 -12
- package/dist/esm/api.js +260 -12
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -8950,6 +8950,62 @@ export interface ClusterPlatformBindingResponse {
|
|
|
8950
8950
|
*/
|
|
8951
8951
|
'layers': Array<ClusterPlatformBindingLayerResponse>;
|
|
8952
8952
|
}
|
|
8953
|
+
/**
|
|
8954
|
+
* Complete platform configuration of a cluster. It replaces the stored one; omitted layerSelections and managedConfig are stored empty.
|
|
8955
|
+
* @export
|
|
8956
|
+
* @interface ClusterPlatformConfigurationRequest
|
|
8957
|
+
*/
|
|
8958
|
+
export interface ClusterPlatformConfigurationRequest {
|
|
8959
|
+
/**
|
|
8960
|
+
*
|
|
8961
|
+
* @type {PlatformSelection}
|
|
8962
|
+
* @memberof ClusterPlatformConfigurationRequest
|
|
8963
|
+
*/
|
|
8964
|
+
'platform': PlatformSelection;
|
|
8965
|
+
/**
|
|
8966
|
+
* String values keyed first by component key and then by input key
|
|
8967
|
+
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
8968
|
+
* @memberof ClusterPlatformConfigurationRequest
|
|
8969
|
+
*/
|
|
8970
|
+
'clusterInputs': { [key: string]: { [key: string]: string; }; };
|
|
8971
|
+
}
|
|
8972
|
+
/**
|
|
8973
|
+
*
|
|
8974
|
+
* @export
|
|
8975
|
+
* @interface ClusterPlatformConfigurationResponse
|
|
8976
|
+
*/
|
|
8977
|
+
export interface ClusterPlatformConfigurationResponse {
|
|
8978
|
+
/**
|
|
8979
|
+
*
|
|
8980
|
+
* @type {string}
|
|
8981
|
+
* @memberof ClusterPlatformConfigurationResponse
|
|
8982
|
+
*/
|
|
8983
|
+
'clusterId': string;
|
|
8984
|
+
/**
|
|
8985
|
+
*
|
|
8986
|
+
* @type {string}
|
|
8987
|
+
* @memberof ClusterPlatformConfigurationResponse
|
|
8988
|
+
*/
|
|
8989
|
+
'organizationId': string;
|
|
8990
|
+
/**
|
|
8991
|
+
*
|
|
8992
|
+
* @type {PlatformSelection}
|
|
8993
|
+
* @memberof ClusterPlatformConfigurationResponse
|
|
8994
|
+
*/
|
|
8995
|
+
'platform': PlatformSelection;
|
|
8996
|
+
/**
|
|
8997
|
+
* String values keyed first by component key and then by input key
|
|
8998
|
+
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
8999
|
+
* @memberof ClusterPlatformConfigurationResponse
|
|
9000
|
+
*/
|
|
9001
|
+
'clusterInputs': { [key: string]: { [key: string]: string; }; };
|
|
9002
|
+
/**
|
|
9003
|
+
*
|
|
9004
|
+
* @type {Array<ClusterPlatformBindingLayerResponse>}
|
|
9005
|
+
* @memberof ClusterPlatformConfigurationResponse
|
|
9006
|
+
*/
|
|
9007
|
+
'layers': Array<ClusterPlatformBindingLayerResponse>;
|
|
9008
|
+
}
|
|
8953
9009
|
/**
|
|
8954
9010
|
*
|
|
8955
9011
|
* @export
|
|
@@ -21089,6 +21145,12 @@ export interface Organization {
|
|
|
21089
21145
|
* @memberof Organization
|
|
21090
21146
|
*/
|
|
21091
21147
|
'billing_deployment_restriction'?: string | null;
|
|
21148
|
+
/**
|
|
21149
|
+
* Indicates if the organization uses SAML or OIDC
|
|
21150
|
+
* @type {boolean}
|
|
21151
|
+
* @memberof Organization
|
|
21152
|
+
*/
|
|
21153
|
+
'has_enterprise_connection'?: boolean;
|
|
21092
21154
|
/**
|
|
21093
21155
|
*
|
|
21094
21156
|
* @type {OrganizationAllOfOrganizationPlan}
|
|
@@ -73759,11 +73821,12 @@ export class OrganizationWebhookApi extends BaseAPI {
|
|
|
73759
73821
|
export const PlatformConfigurationApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
73760
73822
|
return {
|
|
73761
73823
|
/**
|
|
73762
|
-
* Returns the platform template selected for the cluster, its layer resolution, and the currently stored component configuration.
|
|
73824
|
+
* Returns the platform template selected for the cluster, its layer resolution, and the currently stored component configuration. Deprecated: use getClusterPlatformConfiguration instead.
|
|
73763
73825
|
* @summary Get the cluster platform binding
|
|
73764
73826
|
* @param {string} organizationId Organization ID
|
|
73765
73827
|
* @param {string} clusterId Cluster ID
|
|
73766
73828
|
* @param {*} [options] Override http request option.
|
|
73829
|
+
* @deprecated
|
|
73767
73830
|
* @throws {RequiredError}
|
|
73768
73831
|
*/
|
|
73769
73832
|
getClusterPlatformBinding: async (organizationId: string, clusterId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -73794,6 +73857,47 @@ export const PlatformConfigurationApiAxiosParamCreator = function (configuration
|
|
|
73794
73857
|
|
|
73795
73858
|
|
|
73796
73859
|
|
|
73860
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
73861
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
73862
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
73863
|
+
|
|
73864
|
+
return {
|
|
73865
|
+
url: toPathString(localVarUrlObj),
|
|
73866
|
+
options: localVarRequestOptions,
|
|
73867
|
+
};
|
|
73868
|
+
},
|
|
73869
|
+
/**
|
|
73870
|
+
* Returns the platform selection of the cluster (template release, layer selections and component configuration), its cluster inputs and the resolution of each layer. Sensitive managedConfig values are returned as `\"<redacted>\"`. Cluster inputs are identifiers, never secrets, and are returned as stored.
|
|
73871
|
+
* @summary Get the cluster platform configuration
|
|
73872
|
+
* @param {string} clusterId Cluster ID
|
|
73873
|
+
* @param {*} [options] Override http request option.
|
|
73874
|
+
* @throws {RequiredError}
|
|
73875
|
+
*/
|
|
73876
|
+
getClusterPlatformConfiguration: async (clusterId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
73877
|
+
// verify required parameter 'clusterId' is not null or undefined
|
|
73878
|
+
assertParamExists('getClusterPlatformConfiguration', 'clusterId', clusterId)
|
|
73879
|
+
const localVarPath = `/v1/cluster/{clusterId}/platformConfiguration`
|
|
73880
|
+
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
|
|
73881
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
73882
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
73883
|
+
let baseOptions;
|
|
73884
|
+
if (configuration) {
|
|
73885
|
+
baseOptions = configuration.baseOptions;
|
|
73886
|
+
}
|
|
73887
|
+
|
|
73888
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
73889
|
+
const localVarHeaderParameter = {} as any;
|
|
73890
|
+
const localVarQueryParameter = {} as any;
|
|
73891
|
+
|
|
73892
|
+
// authentication ApiKeyAuth required
|
|
73893
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
73894
|
+
|
|
73895
|
+
// authentication bearerAuth required
|
|
73896
|
+
// http bearer authentication required
|
|
73897
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
73898
|
+
|
|
73899
|
+
|
|
73900
|
+
|
|
73797
73901
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
73798
73902
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
73799
73903
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -73855,13 +73959,65 @@ export const PlatformConfigurationApiAxiosParamCreator = function (configuration
|
|
|
73855
73959
|
};
|
|
73856
73960
|
},
|
|
73857
73961
|
/**
|
|
73858
|
-
* Resolves the fields and runtime requirements
|
|
73962
|
+
* Resolves the fields and runtime requirements of a component from the cluster context, its stored platform configuration (the default template release when it has none) and the draft values of the request. This operation is read-only.
|
|
73963
|
+
* @summary Resolve a platform component configuration of the cluster
|
|
73964
|
+
* @param {string} clusterId Cluster ID
|
|
73965
|
+
* @param {string} componentKey Platform component key
|
|
73966
|
+
* @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
|
|
73967
|
+
* @param {*} [options] Override http request option.
|
|
73968
|
+
* @throws {RequiredError}
|
|
73969
|
+
*/
|
|
73970
|
+
resolveClusterPlatformComponentConfiguration: async (clusterId: string, componentKey: string, platformComponentConfigurationPreviewRequest: PlatformComponentConfigurationPreviewRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
73971
|
+
// verify required parameter 'clusterId' is not null or undefined
|
|
73972
|
+
assertParamExists('resolveClusterPlatformComponentConfiguration', 'clusterId', clusterId)
|
|
73973
|
+
// verify required parameter 'componentKey' is not null or undefined
|
|
73974
|
+
assertParamExists('resolveClusterPlatformComponentConfiguration', 'componentKey', componentKey)
|
|
73975
|
+
// verify required parameter 'platformComponentConfigurationPreviewRequest' is not null or undefined
|
|
73976
|
+
assertParamExists('resolveClusterPlatformComponentConfiguration', 'platformComponentConfigurationPreviewRequest', platformComponentConfigurationPreviewRequest)
|
|
73977
|
+
const localVarPath = `/v1/cluster/{clusterId}/platformConfiguration/component/{componentKey}/resolve`
|
|
73978
|
+
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)))
|
|
73979
|
+
.replace(`{${"componentKey"}}`, encodeURIComponent(String(componentKey)));
|
|
73980
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
73981
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
73982
|
+
let baseOptions;
|
|
73983
|
+
if (configuration) {
|
|
73984
|
+
baseOptions = configuration.baseOptions;
|
|
73985
|
+
}
|
|
73986
|
+
|
|
73987
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
73988
|
+
const localVarHeaderParameter = {} as any;
|
|
73989
|
+
const localVarQueryParameter = {} as any;
|
|
73990
|
+
|
|
73991
|
+
// authentication ApiKeyAuth required
|
|
73992
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
73993
|
+
|
|
73994
|
+
// authentication bearerAuth required
|
|
73995
|
+
// http bearer authentication required
|
|
73996
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
73997
|
+
|
|
73998
|
+
|
|
73999
|
+
|
|
74000
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
74001
|
+
|
|
74002
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
74003
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
74004
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
74005
|
+
localVarRequestOptions.data = serializeDataIfNeeded(platformComponentConfigurationPreviewRequest, localVarRequestOptions, configuration)
|
|
74006
|
+
|
|
74007
|
+
return {
|
|
74008
|
+
url: toPathString(localVarUrlObj),
|
|
74009
|
+
options: localVarRequestOptions,
|
|
74010
|
+
};
|
|
74011
|
+
},
|
|
74012
|
+
/**
|
|
74013
|
+
* Resolves the fields and runtime requirements to display for a component using the cluster context and the values currently entered in the Console. This operation is read-only. Deprecated: use resolveClusterPlatformComponentConfiguration instead.
|
|
73859
74014
|
* @summary Resolve a platform component configuration
|
|
73860
74015
|
* @param {string} organizationId Organization ID
|
|
73861
74016
|
* @param {string} clusterId Cluster ID
|
|
73862
74017
|
* @param {string} componentKey Platform component key
|
|
73863
74018
|
* @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
|
|
73864
74019
|
* @param {*} [options] Override http request option.
|
|
74020
|
+
* @deprecated
|
|
73865
74021
|
* @throws {RequiredError}
|
|
73866
74022
|
*/
|
|
73867
74023
|
resolvePlatformComponentConfiguration: async (organizationId: string, clusterId: string, componentKey: string, platformComponentConfigurationPreviewRequest: PlatformComponentConfigurationPreviewRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -73983,12 +74139,13 @@ export const PlatformConfigurationApiAxiosParamCreator = function (configuration
|
|
|
73983
74139
|
};
|
|
73984
74140
|
},
|
|
73985
74141
|
/**
|
|
73986
|
-
* Selects a platform template and stores layer selections, component profile values, and customer-provided runtime inputs for the cluster.
|
|
74142
|
+
* Selects a platform template and stores layer selections, component profile values, and customer-provided runtime inputs for the cluster. Deprecated: use updateClusterPlatformConfiguration instead.
|
|
73987
74143
|
* @summary Update the cluster platform binding
|
|
73988
74144
|
* @param {string} organizationId Organization ID
|
|
73989
74145
|
* @param {string} clusterId Cluster ID
|
|
73990
74146
|
* @param {ClusterPlatformBindingRequest} clusterPlatformBindingRequest
|
|
73991
74147
|
* @param {*} [options] Override http request option.
|
|
74148
|
+
* @deprecated
|
|
73992
74149
|
* @throws {RequiredError}
|
|
73993
74150
|
*/
|
|
73994
74151
|
updateClusterPlatformBinding: async (organizationId: string, clusterId: string, clusterPlatformBindingRequest: ClusterPlatformBindingRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -74028,6 +74185,53 @@ export const PlatformConfigurationApiAxiosParamCreator = function (configuration
|
|
|
74028
74185
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
74029
74186
|
localVarRequestOptions.data = serializeDataIfNeeded(clusterPlatformBindingRequest, localVarRequestOptions, configuration)
|
|
74030
74187
|
|
|
74188
|
+
return {
|
|
74189
|
+
url: toPathString(localVarUrlObj),
|
|
74190
|
+
options: localVarRequestOptions,
|
|
74191
|
+
};
|
|
74192
|
+
},
|
|
74193
|
+
/**
|
|
74194
|
+
* Replaces the whole platform configuration of the cluster, its platform selection and its cluster inputs, after validating it against the template release. Saving does not deploy it. `\"<redacted>\"` is not a keep-existing value: never send it back.
|
|
74195
|
+
* @summary Update the cluster platform configuration
|
|
74196
|
+
* @param {string} clusterId Cluster ID
|
|
74197
|
+
* @param {ClusterPlatformConfigurationRequest} clusterPlatformConfigurationRequest
|
|
74198
|
+
* @param {*} [options] Override http request option.
|
|
74199
|
+
* @throws {RequiredError}
|
|
74200
|
+
*/
|
|
74201
|
+
updateClusterPlatformConfiguration: async (clusterId: string, clusterPlatformConfigurationRequest: ClusterPlatformConfigurationRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
74202
|
+
// verify required parameter 'clusterId' is not null or undefined
|
|
74203
|
+
assertParamExists('updateClusterPlatformConfiguration', 'clusterId', clusterId)
|
|
74204
|
+
// verify required parameter 'clusterPlatformConfigurationRequest' is not null or undefined
|
|
74205
|
+
assertParamExists('updateClusterPlatformConfiguration', 'clusterPlatformConfigurationRequest', clusterPlatformConfigurationRequest)
|
|
74206
|
+
const localVarPath = `/v1/cluster/{clusterId}/platformConfiguration`
|
|
74207
|
+
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
|
|
74208
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
74209
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
74210
|
+
let baseOptions;
|
|
74211
|
+
if (configuration) {
|
|
74212
|
+
baseOptions = configuration.baseOptions;
|
|
74213
|
+
}
|
|
74214
|
+
|
|
74215
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
74216
|
+
const localVarHeaderParameter = {} as any;
|
|
74217
|
+
const localVarQueryParameter = {} as any;
|
|
74218
|
+
|
|
74219
|
+
// authentication ApiKeyAuth required
|
|
74220
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
74221
|
+
|
|
74222
|
+
// authentication bearerAuth required
|
|
74223
|
+
// http bearer authentication required
|
|
74224
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
74225
|
+
|
|
74226
|
+
|
|
74227
|
+
|
|
74228
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
74229
|
+
|
|
74230
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
74231
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
74232
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
74233
|
+
localVarRequestOptions.data = serializeDataIfNeeded(clusterPlatformConfigurationRequest, localVarRequestOptions, configuration)
|
|
74234
|
+
|
|
74031
74235
|
return {
|
|
74032
74236
|
url: toPathString(localVarUrlObj),
|
|
74033
74237
|
options: localVarRequestOptions,
|
|
@@ -74044,11 +74248,12 @@ export const PlatformConfigurationApiFp = function(configuration?: Configuration
|
|
|
74044
74248
|
const localVarAxiosParamCreator = PlatformConfigurationApiAxiosParamCreator(configuration)
|
|
74045
74249
|
return {
|
|
74046
74250
|
/**
|
|
74047
|
-
* Returns the platform template selected for the cluster, its layer resolution, and the currently stored component configuration.
|
|
74251
|
+
* Returns the platform template selected for the cluster, its layer resolution, and the currently stored component configuration. Deprecated: use getClusterPlatformConfiguration instead.
|
|
74048
74252
|
* @summary Get the cluster platform binding
|
|
74049
74253
|
* @param {string} organizationId Organization ID
|
|
74050
74254
|
* @param {string} clusterId Cluster ID
|
|
74051
74255
|
* @param {*} [options] Override http request option.
|
|
74256
|
+
* @deprecated
|
|
74052
74257
|
* @throws {RequiredError}
|
|
74053
74258
|
*/
|
|
74054
74259
|
async getClusterPlatformBinding(organizationId: string, clusterId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterPlatformBindingResponse>> {
|
|
@@ -74057,6 +74262,19 @@ export const PlatformConfigurationApiFp = function(configuration?: Configuration
|
|
|
74057
74262
|
const localVarOperationServerBasePath = operationServerMap['PlatformConfigurationApi.getClusterPlatformBinding']?.[localVarOperationServerIndex]?.url;
|
|
74058
74263
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
74059
74264
|
},
|
|
74265
|
+
/**
|
|
74266
|
+
* Returns the platform selection of the cluster (template release, layer selections and component configuration), its cluster inputs and the resolution of each layer. Sensitive managedConfig values are returned as `\"<redacted>\"`. Cluster inputs are identifiers, never secrets, and are returned as stored.
|
|
74267
|
+
* @summary Get the cluster platform configuration
|
|
74268
|
+
* @param {string} clusterId Cluster ID
|
|
74269
|
+
* @param {*} [options] Override http request option.
|
|
74270
|
+
* @throws {RequiredError}
|
|
74271
|
+
*/
|
|
74272
|
+
async getClusterPlatformConfiguration(clusterId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterPlatformConfigurationResponse>> {
|
|
74273
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterPlatformConfiguration(clusterId, options);
|
|
74274
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
74275
|
+
const localVarOperationServerBasePath = operationServerMap['PlatformConfigurationApi.getClusterPlatformConfiguration']?.[localVarOperationServerIndex]?.url;
|
|
74276
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
74277
|
+
},
|
|
74060
74278
|
/**
|
|
74061
74279
|
* Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render. When clusterMode and cloudProvider are supplied together, component field constraints are narrowed to the effective choices for that cluster context.
|
|
74062
74280
|
* @summary List platform templates
|
|
@@ -74073,13 +74291,29 @@ export const PlatformConfigurationApiFp = function(configuration?: Configuration
|
|
|
74073
74291
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
74074
74292
|
},
|
|
74075
74293
|
/**
|
|
74076
|
-
* Resolves the fields and runtime requirements
|
|
74294
|
+
* Resolves the fields and runtime requirements of a component from the cluster context, its stored platform configuration (the default template release when it has none) and the draft values of the request. This operation is read-only.
|
|
74295
|
+
* @summary Resolve a platform component configuration of the cluster
|
|
74296
|
+
* @param {string} clusterId Cluster ID
|
|
74297
|
+
* @param {string} componentKey Platform component key
|
|
74298
|
+
* @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
|
|
74299
|
+
* @param {*} [options] Override http request option.
|
|
74300
|
+
* @throws {RequiredError}
|
|
74301
|
+
*/
|
|
74302
|
+
async resolveClusterPlatformComponentConfiguration(clusterId: string, componentKey: string, platformComponentConfigurationPreviewRequest: PlatformComponentConfigurationPreviewRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlatformComponentConfigurationPreviewResponse>> {
|
|
74303
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.resolveClusterPlatformComponentConfiguration(clusterId, componentKey, platformComponentConfigurationPreviewRequest, options);
|
|
74304
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
74305
|
+
const localVarOperationServerBasePath = operationServerMap['PlatformConfigurationApi.resolveClusterPlatformComponentConfiguration']?.[localVarOperationServerIndex]?.url;
|
|
74306
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
74307
|
+
},
|
|
74308
|
+
/**
|
|
74309
|
+
* Resolves the fields and runtime requirements to display for a component using the cluster context and the values currently entered in the Console. This operation is read-only. Deprecated: use resolveClusterPlatformComponentConfiguration instead.
|
|
74077
74310
|
* @summary Resolve a platform component configuration
|
|
74078
74311
|
* @param {string} organizationId Organization ID
|
|
74079
74312
|
* @param {string} clusterId Cluster ID
|
|
74080
74313
|
* @param {string} componentKey Platform component key
|
|
74081
74314
|
* @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
|
|
74082
74315
|
* @param {*} [options] Override http request option.
|
|
74316
|
+
* @deprecated
|
|
74083
74317
|
* @throws {RequiredError}
|
|
74084
74318
|
*/
|
|
74085
74319
|
async resolvePlatformComponentConfiguration(organizationId: string, clusterId: string, componentKey: string, platformComponentConfigurationPreviewRequest: PlatformComponentConfigurationPreviewRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlatformComponentConfigurationPreviewResponse>> {
|
|
@@ -74108,12 +74342,13 @@ export const PlatformConfigurationApiFp = function(configuration?: Configuration
|
|
|
74108
74342
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
74109
74343
|
},
|
|
74110
74344
|
/**
|
|
74111
|
-
* Selects a platform template and stores layer selections, component profile values, and customer-provided runtime inputs for the cluster.
|
|
74345
|
+
* Selects a platform template and stores layer selections, component profile values, and customer-provided runtime inputs for the cluster. Deprecated: use updateClusterPlatformConfiguration instead.
|
|
74112
74346
|
* @summary Update the cluster platform binding
|
|
74113
74347
|
* @param {string} organizationId Organization ID
|
|
74114
74348
|
* @param {string} clusterId Cluster ID
|
|
74115
74349
|
* @param {ClusterPlatformBindingRequest} clusterPlatformBindingRequest
|
|
74116
74350
|
* @param {*} [options] Override http request option.
|
|
74351
|
+
* @deprecated
|
|
74117
74352
|
* @throws {RequiredError}
|
|
74118
74353
|
*/
|
|
74119
74354
|
async updateClusterPlatformBinding(organizationId: string, clusterId: string, clusterPlatformBindingRequest: ClusterPlatformBindingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterPlatformBindingResponse>> {
|
|
@@ -74122,6 +74357,20 @@ export const PlatformConfigurationApiFp = function(configuration?: Configuration
|
|
|
74122
74357
|
const localVarOperationServerBasePath = operationServerMap['PlatformConfigurationApi.updateClusterPlatformBinding']?.[localVarOperationServerIndex]?.url;
|
|
74123
74358
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
74124
74359
|
},
|
|
74360
|
+
/**
|
|
74361
|
+
* Replaces the whole platform configuration of the cluster, its platform selection and its cluster inputs, after validating it against the template release. Saving does not deploy it. `\"<redacted>\"` is not a keep-existing value: never send it back.
|
|
74362
|
+
* @summary Update the cluster platform configuration
|
|
74363
|
+
* @param {string} clusterId Cluster ID
|
|
74364
|
+
* @param {ClusterPlatformConfigurationRequest} clusterPlatformConfigurationRequest
|
|
74365
|
+
* @param {*} [options] Override http request option.
|
|
74366
|
+
* @throws {RequiredError}
|
|
74367
|
+
*/
|
|
74368
|
+
async updateClusterPlatformConfiguration(clusterId: string, clusterPlatformConfigurationRequest: ClusterPlatformConfigurationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterPlatformConfigurationResponse>> {
|
|
74369
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateClusterPlatformConfiguration(clusterId, clusterPlatformConfigurationRequest, options);
|
|
74370
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
74371
|
+
const localVarOperationServerBasePath = operationServerMap['PlatformConfigurationApi.updateClusterPlatformConfiguration']?.[localVarOperationServerIndex]?.url;
|
|
74372
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
74373
|
+
},
|
|
74125
74374
|
}
|
|
74126
74375
|
};
|
|
74127
74376
|
|
|
@@ -74133,16 +74382,27 @@ export const PlatformConfigurationApiFactory = function (configuration?: Configu
|
|
|
74133
74382
|
const localVarFp = PlatformConfigurationApiFp(configuration)
|
|
74134
74383
|
return {
|
|
74135
74384
|
/**
|
|
74136
|
-
* Returns the platform template selected for the cluster, its layer resolution, and the currently stored component configuration.
|
|
74385
|
+
* Returns the platform template selected for the cluster, its layer resolution, and the currently stored component configuration. Deprecated: use getClusterPlatformConfiguration instead.
|
|
74137
74386
|
* @summary Get the cluster platform binding
|
|
74138
74387
|
* @param {string} organizationId Organization ID
|
|
74139
74388
|
* @param {string} clusterId Cluster ID
|
|
74140
74389
|
* @param {*} [options] Override http request option.
|
|
74390
|
+
* @deprecated
|
|
74141
74391
|
* @throws {RequiredError}
|
|
74142
74392
|
*/
|
|
74143
74393
|
getClusterPlatformBinding(organizationId: string, clusterId: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterPlatformBindingResponse> {
|
|
74144
74394
|
return localVarFp.getClusterPlatformBinding(organizationId, clusterId, options).then((request) => request(axios, basePath));
|
|
74145
74395
|
},
|
|
74396
|
+
/**
|
|
74397
|
+
* Returns the platform selection of the cluster (template release, layer selections and component configuration), its cluster inputs and the resolution of each layer. Sensitive managedConfig values are returned as `\"<redacted>\"`. Cluster inputs are identifiers, never secrets, and are returned as stored.
|
|
74398
|
+
* @summary Get the cluster platform configuration
|
|
74399
|
+
* @param {string} clusterId Cluster ID
|
|
74400
|
+
* @param {*} [options] Override http request option.
|
|
74401
|
+
* @throws {RequiredError}
|
|
74402
|
+
*/
|
|
74403
|
+
getClusterPlatformConfiguration(clusterId: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterPlatformConfigurationResponse> {
|
|
74404
|
+
return localVarFp.getClusterPlatformConfiguration(clusterId, options).then((request) => request(axios, basePath));
|
|
74405
|
+
},
|
|
74146
74406
|
/**
|
|
74147
74407
|
* Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render. When clusterMode and cloudProvider are supplied together, component field constraints are narrowed to the effective choices for that cluster context.
|
|
74148
74408
|
* @summary List platform templates
|
|
@@ -74156,13 +74416,26 @@ export const PlatformConfigurationApiFactory = function (configuration?: Configu
|
|
|
74156
74416
|
return localVarFp.listPlatformTemplates(organizationId, clusterMode, cloudProvider, options).then((request) => request(axios, basePath));
|
|
74157
74417
|
},
|
|
74158
74418
|
/**
|
|
74159
|
-
* Resolves the fields and runtime requirements
|
|
74419
|
+
* Resolves the fields and runtime requirements of a component from the cluster context, its stored platform configuration (the default template release when it has none) and the draft values of the request. This operation is read-only.
|
|
74420
|
+
* @summary Resolve a platform component configuration of the cluster
|
|
74421
|
+
* @param {string} clusterId Cluster ID
|
|
74422
|
+
* @param {string} componentKey Platform component key
|
|
74423
|
+
* @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
|
|
74424
|
+
* @param {*} [options] Override http request option.
|
|
74425
|
+
* @throws {RequiredError}
|
|
74426
|
+
*/
|
|
74427
|
+
resolveClusterPlatformComponentConfiguration(clusterId: string, componentKey: string, platformComponentConfigurationPreviewRequest: PlatformComponentConfigurationPreviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<PlatformComponentConfigurationPreviewResponse> {
|
|
74428
|
+
return localVarFp.resolveClusterPlatformComponentConfiguration(clusterId, componentKey, platformComponentConfigurationPreviewRequest, options).then((request) => request(axios, basePath));
|
|
74429
|
+
},
|
|
74430
|
+
/**
|
|
74431
|
+
* Resolves the fields and runtime requirements to display for a component using the cluster context and the values currently entered in the Console. This operation is read-only. Deprecated: use resolveClusterPlatformComponentConfiguration instead.
|
|
74160
74432
|
* @summary Resolve a platform component configuration
|
|
74161
74433
|
* @param {string} organizationId Organization ID
|
|
74162
74434
|
* @param {string} clusterId Cluster ID
|
|
74163
74435
|
* @param {string} componentKey Platform component key
|
|
74164
74436
|
* @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
|
|
74165
74437
|
* @param {*} [options] Override http request option.
|
|
74438
|
+
* @deprecated
|
|
74166
74439
|
* @throws {RequiredError}
|
|
74167
74440
|
*/
|
|
74168
74441
|
resolvePlatformComponentConfiguration(organizationId: string, clusterId: string, componentKey: string, platformComponentConfigurationPreviewRequest: PlatformComponentConfigurationPreviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<PlatformComponentConfigurationPreviewResponse> {
|
|
@@ -74185,17 +74458,29 @@ export const PlatformConfigurationApiFactory = function (configuration?: Configu
|
|
|
74185
74458
|
return localVarFp.resolvePlatformTemplateComponentConfiguration(organizationId, templateKey, templateVersion, componentKey, clusterMode, cloudProvider, platformComponentConfigurationPreviewRequest, options).then((request) => request(axios, basePath));
|
|
74186
74459
|
},
|
|
74187
74460
|
/**
|
|
74188
|
-
* Selects a platform template and stores layer selections, component profile values, and customer-provided runtime inputs for the cluster.
|
|
74461
|
+
* Selects a platform template and stores layer selections, component profile values, and customer-provided runtime inputs for the cluster. Deprecated: use updateClusterPlatformConfiguration instead.
|
|
74189
74462
|
* @summary Update the cluster platform binding
|
|
74190
74463
|
* @param {string} organizationId Organization ID
|
|
74191
74464
|
* @param {string} clusterId Cluster ID
|
|
74192
74465
|
* @param {ClusterPlatformBindingRequest} clusterPlatformBindingRequest
|
|
74193
74466
|
* @param {*} [options] Override http request option.
|
|
74467
|
+
* @deprecated
|
|
74194
74468
|
* @throws {RequiredError}
|
|
74195
74469
|
*/
|
|
74196
74470
|
updateClusterPlatformBinding(organizationId: string, clusterId: string, clusterPlatformBindingRequest: ClusterPlatformBindingRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterPlatformBindingResponse> {
|
|
74197
74471
|
return localVarFp.updateClusterPlatformBinding(organizationId, clusterId, clusterPlatformBindingRequest, options).then((request) => request(axios, basePath));
|
|
74198
74472
|
},
|
|
74473
|
+
/**
|
|
74474
|
+
* Replaces the whole platform configuration of the cluster, its platform selection and its cluster inputs, after validating it against the template release. Saving does not deploy it. `\"<redacted>\"` is not a keep-existing value: never send it back.
|
|
74475
|
+
* @summary Update the cluster platform configuration
|
|
74476
|
+
* @param {string} clusterId Cluster ID
|
|
74477
|
+
* @param {ClusterPlatformConfigurationRequest} clusterPlatformConfigurationRequest
|
|
74478
|
+
* @param {*} [options] Override http request option.
|
|
74479
|
+
* @throws {RequiredError}
|
|
74480
|
+
*/
|
|
74481
|
+
updateClusterPlatformConfiguration(clusterId: string, clusterPlatformConfigurationRequest: ClusterPlatformConfigurationRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterPlatformConfigurationResponse> {
|
|
74482
|
+
return localVarFp.updateClusterPlatformConfiguration(clusterId, clusterPlatformConfigurationRequest, options).then((request) => request(axios, basePath));
|
|
74483
|
+
},
|
|
74199
74484
|
};
|
|
74200
74485
|
};
|
|
74201
74486
|
|
|
@@ -74207,11 +74492,12 @@ export const PlatformConfigurationApiFactory = function (configuration?: Configu
|
|
|
74207
74492
|
*/
|
|
74208
74493
|
export class PlatformConfigurationApi extends BaseAPI {
|
|
74209
74494
|
/**
|
|
74210
|
-
* Returns the platform template selected for the cluster, its layer resolution, and the currently stored component configuration.
|
|
74495
|
+
* Returns the platform template selected for the cluster, its layer resolution, and the currently stored component configuration. Deprecated: use getClusterPlatformConfiguration instead.
|
|
74211
74496
|
* @summary Get the cluster platform binding
|
|
74212
74497
|
* @param {string} organizationId Organization ID
|
|
74213
74498
|
* @param {string} clusterId Cluster ID
|
|
74214
74499
|
* @param {*} [options] Override http request option.
|
|
74500
|
+
* @deprecated
|
|
74215
74501
|
* @throws {RequiredError}
|
|
74216
74502
|
* @memberof PlatformConfigurationApi
|
|
74217
74503
|
*/
|
|
@@ -74219,6 +74505,18 @@ export class PlatformConfigurationApi extends BaseAPI {
|
|
|
74219
74505
|
return PlatformConfigurationApiFp(this.configuration).getClusterPlatformBinding(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
74220
74506
|
}
|
|
74221
74507
|
|
|
74508
|
+
/**
|
|
74509
|
+
* Returns the platform selection of the cluster (template release, layer selections and component configuration), its cluster inputs and the resolution of each layer. Sensitive managedConfig values are returned as `\"<redacted>\"`. Cluster inputs are identifiers, never secrets, and are returned as stored.
|
|
74510
|
+
* @summary Get the cluster platform configuration
|
|
74511
|
+
* @param {string} clusterId Cluster ID
|
|
74512
|
+
* @param {*} [options] Override http request option.
|
|
74513
|
+
* @throws {RequiredError}
|
|
74514
|
+
* @memberof PlatformConfigurationApi
|
|
74515
|
+
*/
|
|
74516
|
+
public getClusterPlatformConfiguration(clusterId: string, options?: RawAxiosRequestConfig) {
|
|
74517
|
+
return PlatformConfigurationApiFp(this.configuration).getClusterPlatformConfiguration(clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
74518
|
+
}
|
|
74519
|
+
|
|
74222
74520
|
/**
|
|
74223
74521
|
* Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render. When clusterMode and cloudProvider are supplied together, component field constraints are narrowed to the effective choices for that cluster context.
|
|
74224
74522
|
* @summary List platform templates
|
|
@@ -74234,13 +74532,28 @@ export class PlatformConfigurationApi extends BaseAPI {
|
|
|
74234
74532
|
}
|
|
74235
74533
|
|
|
74236
74534
|
/**
|
|
74237
|
-
* Resolves the fields and runtime requirements
|
|
74535
|
+
* Resolves the fields and runtime requirements of a component from the cluster context, its stored platform configuration (the default template release when it has none) and the draft values of the request. This operation is read-only.
|
|
74536
|
+
* @summary Resolve a platform component configuration of the cluster
|
|
74537
|
+
* @param {string} clusterId Cluster ID
|
|
74538
|
+
* @param {string} componentKey Platform component key
|
|
74539
|
+
* @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
|
|
74540
|
+
* @param {*} [options] Override http request option.
|
|
74541
|
+
* @throws {RequiredError}
|
|
74542
|
+
* @memberof PlatformConfigurationApi
|
|
74543
|
+
*/
|
|
74544
|
+
public resolveClusterPlatformComponentConfiguration(clusterId: string, componentKey: string, platformComponentConfigurationPreviewRequest: PlatformComponentConfigurationPreviewRequest, options?: RawAxiosRequestConfig) {
|
|
74545
|
+
return PlatformConfigurationApiFp(this.configuration).resolveClusterPlatformComponentConfiguration(clusterId, componentKey, platformComponentConfigurationPreviewRequest, options).then((request) => request(this.axios, this.basePath));
|
|
74546
|
+
}
|
|
74547
|
+
|
|
74548
|
+
/**
|
|
74549
|
+
* Resolves the fields and runtime requirements to display for a component using the cluster context and the values currently entered in the Console. This operation is read-only. Deprecated: use resolveClusterPlatformComponentConfiguration instead.
|
|
74238
74550
|
* @summary Resolve a platform component configuration
|
|
74239
74551
|
* @param {string} organizationId Organization ID
|
|
74240
74552
|
* @param {string} clusterId Cluster ID
|
|
74241
74553
|
* @param {string} componentKey Platform component key
|
|
74242
74554
|
* @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
|
|
74243
74555
|
* @param {*} [options] Override http request option.
|
|
74556
|
+
* @deprecated
|
|
74244
74557
|
* @throws {RequiredError}
|
|
74245
74558
|
* @memberof PlatformConfigurationApi
|
|
74246
74559
|
*/
|
|
@@ -74267,18 +74580,32 @@ export class PlatformConfigurationApi extends BaseAPI {
|
|
|
74267
74580
|
}
|
|
74268
74581
|
|
|
74269
74582
|
/**
|
|
74270
|
-
* Selects a platform template and stores layer selections, component profile values, and customer-provided runtime inputs for the cluster.
|
|
74583
|
+
* Selects a platform template and stores layer selections, component profile values, and customer-provided runtime inputs for the cluster. Deprecated: use updateClusterPlatformConfiguration instead.
|
|
74271
74584
|
* @summary Update the cluster platform binding
|
|
74272
74585
|
* @param {string} organizationId Organization ID
|
|
74273
74586
|
* @param {string} clusterId Cluster ID
|
|
74274
74587
|
* @param {ClusterPlatformBindingRequest} clusterPlatformBindingRequest
|
|
74275
74588
|
* @param {*} [options] Override http request option.
|
|
74589
|
+
* @deprecated
|
|
74276
74590
|
* @throws {RequiredError}
|
|
74277
74591
|
* @memberof PlatformConfigurationApi
|
|
74278
74592
|
*/
|
|
74279
74593
|
public updateClusterPlatformBinding(organizationId: string, clusterId: string, clusterPlatformBindingRequest: ClusterPlatformBindingRequest, options?: RawAxiosRequestConfig) {
|
|
74280
74594
|
return PlatformConfigurationApiFp(this.configuration).updateClusterPlatformBinding(organizationId, clusterId, clusterPlatformBindingRequest, options).then((request) => request(this.axios, this.basePath));
|
|
74281
74595
|
}
|
|
74596
|
+
|
|
74597
|
+
/**
|
|
74598
|
+
* Replaces the whole platform configuration of the cluster, its platform selection and its cluster inputs, after validating it against the template release. Saving does not deploy it. `\"<redacted>\"` is not a keep-existing value: never send it back.
|
|
74599
|
+
* @summary Update the cluster platform configuration
|
|
74600
|
+
* @param {string} clusterId Cluster ID
|
|
74601
|
+
* @param {ClusterPlatformConfigurationRequest} clusterPlatformConfigurationRequest
|
|
74602
|
+
* @param {*} [options] Override http request option.
|
|
74603
|
+
* @throws {RequiredError}
|
|
74604
|
+
* @memberof PlatformConfigurationApi
|
|
74605
|
+
*/
|
|
74606
|
+
public updateClusterPlatformConfiguration(clusterId: string, clusterPlatformConfigurationRequest: ClusterPlatformConfigurationRequest, options?: RawAxiosRequestConfig) {
|
|
74607
|
+
return PlatformConfigurationApiFp(this.configuration).updateClusterPlatformConfiguration(clusterId, clusterPlatformConfigurationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
74608
|
+
}
|
|
74282
74609
|
}
|
|
74283
74610
|
|
|
74284
74611
|
|