qovery-typescript-axios 1.1.988 → 1.1.990
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 +620 -12
- package/dist/api.d.ts +445 -12
- package/dist/api.js +352 -22
- package/dist/esm/api.d.ts +445 -12
- package/dist/esm/api.js +342 -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
|
|
@@ -23580,6 +23636,37 @@ export const PlatformLayerResolutionStatus = {
|
|
|
23580
23636
|
export type PlatformLayerResolutionStatus = typeof PlatformLayerResolutionStatus[keyof typeof PlatformLayerResolutionStatus];
|
|
23581
23637
|
|
|
23582
23638
|
|
|
23639
|
+
/**
|
|
23640
|
+
* Platform template release selected for a cluster, with its layer selections and component configuration. Sensitive managedConfig values are redacted in responses.
|
|
23641
|
+
* @export
|
|
23642
|
+
* @interface PlatformSelection
|
|
23643
|
+
*/
|
|
23644
|
+
export interface PlatformSelection {
|
|
23645
|
+
/**
|
|
23646
|
+
*
|
|
23647
|
+
* @type {string}
|
|
23648
|
+
* @memberof PlatformSelection
|
|
23649
|
+
*/
|
|
23650
|
+
'templateKey': string;
|
|
23651
|
+
/**
|
|
23652
|
+
*
|
|
23653
|
+
* @type {string}
|
|
23654
|
+
* @memberof PlatformSelection
|
|
23655
|
+
*/
|
|
23656
|
+
'templateVersion': string;
|
|
23657
|
+
/**
|
|
23658
|
+
*
|
|
23659
|
+
* @type {{ [key: string]: boolean; }}
|
|
23660
|
+
* @memberof PlatformSelection
|
|
23661
|
+
*/
|
|
23662
|
+
'layerSelections'?: { [key: string]: boolean; };
|
|
23663
|
+
/**
|
|
23664
|
+
* Component configuration values keyed by component key
|
|
23665
|
+
* @type {{ [key: string]: { [key: string]: any; }; }}
|
|
23666
|
+
* @memberof PlatformSelection
|
|
23667
|
+
*/
|
|
23668
|
+
'managedConfig'?: { [key: string]: { [key: string]: any; }; };
|
|
23669
|
+
}
|
|
23583
23670
|
/**
|
|
23584
23671
|
*
|
|
23585
23672
|
* @export
|
|
@@ -25574,6 +25661,19 @@ export interface SecretResponseList {
|
|
|
25574
25661
|
*/
|
|
25575
25662
|
'results'?: Array<Secret>;
|
|
25576
25663
|
}
|
|
25664
|
+
/**
|
|
25665
|
+
* AWS cloud credential of the organization that the cluster runs on. This operation only takes and returns its id.
|
|
25666
|
+
* @export
|
|
25667
|
+
* @interface SelfManagedClusterCredentials
|
|
25668
|
+
*/
|
|
25669
|
+
export interface SelfManagedClusterCredentials {
|
|
25670
|
+
/**
|
|
25671
|
+
* Id of an existing AWS cloud credential of the organization
|
|
25672
|
+
* @type {string}
|
|
25673
|
+
* @memberof SelfManagedClusterCredentials
|
|
25674
|
+
*/
|
|
25675
|
+
'id': string;
|
|
25676
|
+
}
|
|
25577
25677
|
/**
|
|
25578
25678
|
*
|
|
25579
25679
|
* @export
|
|
@@ -25591,6 +25691,164 @@ export const SelfManagedClusterKind = {
|
|
|
25591
25691
|
export type SelfManagedClusterKind = typeof SelfManagedClusterKind[keyof typeof SelfManagedClusterKind];
|
|
25592
25692
|
|
|
25593
25693
|
|
|
25694
|
+
/**
|
|
25695
|
+
* Default ECR registry of the cluster, derived from its cloud credential and region.
|
|
25696
|
+
* @export
|
|
25697
|
+
* @interface SelfManagedClusterRegistryResponse
|
|
25698
|
+
*/
|
|
25699
|
+
export interface SelfManagedClusterRegistryResponse {
|
|
25700
|
+
/**
|
|
25701
|
+
*
|
|
25702
|
+
* @type {string}
|
|
25703
|
+
* @memberof SelfManagedClusterRegistryResponse
|
|
25704
|
+
*/
|
|
25705
|
+
'id': string;
|
|
25706
|
+
/**
|
|
25707
|
+
*
|
|
25708
|
+
* @type {ContainerRegistryKindEnum}
|
|
25709
|
+
* @memberof SelfManagedClusterRegistryResponse
|
|
25710
|
+
*/
|
|
25711
|
+
'kind': ContainerRegistryKindEnum;
|
|
25712
|
+
}
|
|
25713
|
+
|
|
25714
|
+
|
|
25715
|
+
/**
|
|
25716
|
+
*
|
|
25717
|
+
* @export
|
|
25718
|
+
* @interface SelfManagedClusterRequest
|
|
25719
|
+
*/
|
|
25720
|
+
export interface SelfManagedClusterRequest {
|
|
25721
|
+
/**
|
|
25722
|
+
*
|
|
25723
|
+
* @type {string}
|
|
25724
|
+
* @memberof SelfManagedClusterRequest
|
|
25725
|
+
*/
|
|
25726
|
+
'name': string;
|
|
25727
|
+
/**
|
|
25728
|
+
*
|
|
25729
|
+
* @type {boolean}
|
|
25730
|
+
* @memberof SelfManagedClusterRequest
|
|
25731
|
+
*/
|
|
25732
|
+
'production'?: boolean;
|
|
25733
|
+
/**
|
|
25734
|
+
*
|
|
25735
|
+
* @type {string}
|
|
25736
|
+
* @memberof SelfManagedClusterRequest
|
|
25737
|
+
*/
|
|
25738
|
+
'provider': SelfManagedClusterRequestProviderEnum;
|
|
25739
|
+
/**
|
|
25740
|
+
*
|
|
25741
|
+
* @type {string}
|
|
25742
|
+
* @memberof SelfManagedClusterRequest
|
|
25743
|
+
*/
|
|
25744
|
+
'region': string;
|
|
25745
|
+
/**
|
|
25746
|
+
*
|
|
25747
|
+
* @type {SelfManagedClusterCredentials}
|
|
25748
|
+
* @memberof SelfManagedClusterRequest
|
|
25749
|
+
*/
|
|
25750
|
+
'credentials': SelfManagedClusterCredentials;
|
|
25751
|
+
/**
|
|
25752
|
+
*
|
|
25753
|
+
* @type {PlatformSelection}
|
|
25754
|
+
* @memberof SelfManagedClusterRequest
|
|
25755
|
+
*/
|
|
25756
|
+
'platform': PlatformSelection;
|
|
25757
|
+
/**
|
|
25758
|
+
* String values keyed first by component key and then by input key
|
|
25759
|
+
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
25760
|
+
* @memberof SelfManagedClusterRequest
|
|
25761
|
+
*/
|
|
25762
|
+
'clusterInputs'?: { [key: string]: { [key: string]: string; }; };
|
|
25763
|
+
}
|
|
25764
|
+
|
|
25765
|
+
export const SelfManagedClusterRequestProviderEnum = {
|
|
25766
|
+
AWS: 'AWS'
|
|
25767
|
+
} as const;
|
|
25768
|
+
|
|
25769
|
+
export type SelfManagedClusterRequestProviderEnum = typeof SelfManagedClusterRequestProviderEnum[keyof typeof SelfManagedClusterRequestProviderEnum];
|
|
25770
|
+
|
|
25771
|
+
/**
|
|
25772
|
+
*
|
|
25773
|
+
* @export
|
|
25774
|
+
* @interface SelfManagedClusterResponse
|
|
25775
|
+
*/
|
|
25776
|
+
export interface SelfManagedClusterResponse {
|
|
25777
|
+
/**
|
|
25778
|
+
*
|
|
25779
|
+
* @type {string}
|
|
25780
|
+
* @memberof SelfManagedClusterResponse
|
|
25781
|
+
*/
|
|
25782
|
+
'id': string;
|
|
25783
|
+
/**
|
|
25784
|
+
*
|
|
25785
|
+
* @type {string}
|
|
25786
|
+
* @memberof SelfManagedClusterResponse
|
|
25787
|
+
*/
|
|
25788
|
+
'organizationId': string;
|
|
25789
|
+
/**
|
|
25790
|
+
*
|
|
25791
|
+
* @type {string}
|
|
25792
|
+
* @memberof SelfManagedClusterResponse
|
|
25793
|
+
*/
|
|
25794
|
+
'name': string;
|
|
25795
|
+
/**
|
|
25796
|
+
*
|
|
25797
|
+
* @type {boolean}
|
|
25798
|
+
* @memberof SelfManagedClusterResponse
|
|
25799
|
+
*/
|
|
25800
|
+
'production': boolean;
|
|
25801
|
+
/**
|
|
25802
|
+
*
|
|
25803
|
+
* @type {CloudVendorEnum}
|
|
25804
|
+
* @memberof SelfManagedClusterResponse
|
|
25805
|
+
*/
|
|
25806
|
+
'provider': CloudVendorEnum;
|
|
25807
|
+
/**
|
|
25808
|
+
*
|
|
25809
|
+
* @type {string}
|
|
25810
|
+
* @memberof SelfManagedClusterResponse
|
|
25811
|
+
*/
|
|
25812
|
+
'region': string;
|
|
25813
|
+
/**
|
|
25814
|
+
*
|
|
25815
|
+
* @type {string}
|
|
25816
|
+
* @memberof SelfManagedClusterResponse
|
|
25817
|
+
*/
|
|
25818
|
+
'createdAt': string;
|
|
25819
|
+
/**
|
|
25820
|
+
*
|
|
25821
|
+
* @type {SelfManagedClusterCredentials}
|
|
25822
|
+
* @memberof SelfManagedClusterResponse
|
|
25823
|
+
*/
|
|
25824
|
+
'credentials': SelfManagedClusterCredentials;
|
|
25825
|
+
/**
|
|
25826
|
+
*
|
|
25827
|
+
* @type {SelfManagedClusterRegistryResponse}
|
|
25828
|
+
* @memberof SelfManagedClusterResponse
|
|
25829
|
+
*/
|
|
25830
|
+
'registry': SelfManagedClusterRegistryResponse;
|
|
25831
|
+
/**
|
|
25832
|
+
*
|
|
25833
|
+
* @type {PlatformSelection}
|
|
25834
|
+
* @memberof SelfManagedClusterResponse
|
|
25835
|
+
*/
|
|
25836
|
+
'platform': PlatformSelection;
|
|
25837
|
+
/**
|
|
25838
|
+
* String values keyed first by component key and then by input key
|
|
25839
|
+
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
25840
|
+
* @memberof SelfManagedClusterResponse
|
|
25841
|
+
*/
|
|
25842
|
+
'clusterInputs': { [key: string]: { [key: string]: string; }; };
|
|
25843
|
+
/**
|
|
25844
|
+
*
|
|
25845
|
+
* @type {Array<ClusterPlatformBindingLayerResponse>}
|
|
25846
|
+
* @memberof SelfManagedClusterResponse
|
|
25847
|
+
*/
|
|
25848
|
+
'layers': Array<ClusterPlatformBindingLayerResponse>;
|
|
25849
|
+
}
|
|
25850
|
+
|
|
25851
|
+
|
|
25594
25852
|
/**
|
|
25595
25853
|
*
|
|
25596
25854
|
* @export
|
|
@@ -42623,6 +42881,53 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
42623
42881
|
options: localVarRequestOptions,
|
|
42624
42882
|
};
|
|
42625
42883
|
},
|
|
42884
|
+
/**
|
|
42885
|
+
* Creates a self-managed cluster on an existing AWS cloud credential of the organization. The organization\'s plan must include self-managed clusters, otherwise the call answers 403. The credential only needs ECR permissions for the cluster itself, including `ecr:DescribeRepositories` in `us-east-1`, which Qovery calls to check the credential whatever the cluster region; features that call other AWS services with the credential, such as managed databases or Terraform services using the cluster credentials, need more. The credential, including its ECR access in the cluster region, and the platform configuration are checked before anything is created. One transaction then writes the cluster, its Qovery DNS and build providers, its default ECR registry derived from the credential, its initial deployment status, its platform configuration and its Qovery Operator enrollment. Only the AWS provider is supported. Install the Operator next with the cluster\'s Operator bootstrap.
|
|
42886
|
+
* @summary Create a self-managed cluster run by the Qovery Operator
|
|
42887
|
+
* @param {string} organizationId Organization ID
|
|
42888
|
+
* @param {SelfManagedClusterRequest} selfManagedClusterRequest
|
|
42889
|
+
* @param {*} [options] Override http request option.
|
|
42890
|
+
* @throws {RequiredError}
|
|
42891
|
+
*/
|
|
42892
|
+
createSelfManagedCluster: async (organizationId: string, selfManagedClusterRequest: SelfManagedClusterRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
42893
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
42894
|
+
assertParamExists('createSelfManagedCluster', 'organizationId', organizationId)
|
|
42895
|
+
// verify required parameter 'selfManagedClusterRequest' is not null or undefined
|
|
42896
|
+
assertParamExists('createSelfManagedCluster', 'selfManagedClusterRequest', selfManagedClusterRequest)
|
|
42897
|
+
const localVarPath = `/v1/organization/{organizationId}/selfManagedCluster`
|
|
42898
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
42899
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
42900
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42901
|
+
let baseOptions;
|
|
42902
|
+
if (configuration) {
|
|
42903
|
+
baseOptions = configuration.baseOptions;
|
|
42904
|
+
}
|
|
42905
|
+
|
|
42906
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
42907
|
+
const localVarHeaderParameter = {} as any;
|
|
42908
|
+
const localVarQueryParameter = {} as any;
|
|
42909
|
+
|
|
42910
|
+
// authentication ApiKeyAuth required
|
|
42911
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
42912
|
+
|
|
42913
|
+
// authentication bearerAuth required
|
|
42914
|
+
// http bearer authentication required
|
|
42915
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
42916
|
+
|
|
42917
|
+
|
|
42918
|
+
|
|
42919
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
42920
|
+
|
|
42921
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
42922
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
42923
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
42924
|
+
localVarRequestOptions.data = serializeDataIfNeeded(selfManagedClusterRequest, localVarRequestOptions, configuration)
|
|
42925
|
+
|
|
42926
|
+
return {
|
|
42927
|
+
url: toPathString(localVarUrlObj),
|
|
42928
|
+
options: localVarRequestOptions,
|
|
42929
|
+
};
|
|
42930
|
+
},
|
|
42626
42931
|
/**
|
|
42627
42932
|
*
|
|
42628
42933
|
* @summary Delete a cluster
|
|
@@ -44446,6 +44751,20 @@ export const ClustersApiFp = function(configuration?: Configuration) {
|
|
|
44446
44751
|
const localVarOperationServerBasePath = operationServerMap['ClustersApi.createCluster']?.[localVarOperationServerIndex]?.url;
|
|
44447
44752
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
44448
44753
|
},
|
|
44754
|
+
/**
|
|
44755
|
+
* Creates a self-managed cluster on an existing AWS cloud credential of the organization. The organization\'s plan must include self-managed clusters, otherwise the call answers 403. The credential only needs ECR permissions for the cluster itself, including `ecr:DescribeRepositories` in `us-east-1`, which Qovery calls to check the credential whatever the cluster region; features that call other AWS services with the credential, such as managed databases or Terraform services using the cluster credentials, need more. The credential, including its ECR access in the cluster region, and the platform configuration are checked before anything is created. One transaction then writes the cluster, its Qovery DNS and build providers, its default ECR registry derived from the credential, its initial deployment status, its platform configuration and its Qovery Operator enrollment. Only the AWS provider is supported. Install the Operator next with the cluster\'s Operator bootstrap.
|
|
44756
|
+
* @summary Create a self-managed cluster run by the Qovery Operator
|
|
44757
|
+
* @param {string} organizationId Organization ID
|
|
44758
|
+
* @param {SelfManagedClusterRequest} selfManagedClusterRequest
|
|
44759
|
+
* @param {*} [options] Override http request option.
|
|
44760
|
+
* @throws {RequiredError}
|
|
44761
|
+
*/
|
|
44762
|
+
async createSelfManagedCluster(organizationId: string, selfManagedClusterRequest: SelfManagedClusterRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SelfManagedClusterResponse>> {
|
|
44763
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createSelfManagedCluster(organizationId, selfManagedClusterRequest, options);
|
|
44764
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
44765
|
+
const localVarOperationServerBasePath = operationServerMap['ClustersApi.createSelfManagedCluster']?.[localVarOperationServerIndex]?.url;
|
|
44766
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
44767
|
+
},
|
|
44449
44768
|
/**
|
|
44450
44769
|
*
|
|
44451
44770
|
* @summary Delete a cluster
|
|
@@ -45003,6 +45322,17 @@ export const ClustersApiFactory = function (configuration?: Configuration, baseP
|
|
|
45003
45322
|
createCluster(organizationId: string, clusterRequest?: ClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<Cluster> {
|
|
45004
45323
|
return localVarFp.createCluster(organizationId, clusterRequest, options).then((request) => request(axios, basePath));
|
|
45005
45324
|
},
|
|
45325
|
+
/**
|
|
45326
|
+
* Creates a self-managed cluster on an existing AWS cloud credential of the organization. The organization\'s plan must include self-managed clusters, otherwise the call answers 403. The credential only needs ECR permissions for the cluster itself, including `ecr:DescribeRepositories` in `us-east-1`, which Qovery calls to check the credential whatever the cluster region; features that call other AWS services with the credential, such as managed databases or Terraform services using the cluster credentials, need more. The credential, including its ECR access in the cluster region, and the platform configuration are checked before anything is created. One transaction then writes the cluster, its Qovery DNS and build providers, its default ECR registry derived from the credential, its initial deployment status, its platform configuration and its Qovery Operator enrollment. Only the AWS provider is supported. Install the Operator next with the cluster\'s Operator bootstrap.
|
|
45327
|
+
* @summary Create a self-managed cluster run by the Qovery Operator
|
|
45328
|
+
* @param {string} organizationId Organization ID
|
|
45329
|
+
* @param {SelfManagedClusterRequest} selfManagedClusterRequest
|
|
45330
|
+
* @param {*} [options] Override http request option.
|
|
45331
|
+
* @throws {RequiredError}
|
|
45332
|
+
*/
|
|
45333
|
+
createSelfManagedCluster(organizationId: string, selfManagedClusterRequest: SelfManagedClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<SelfManagedClusterResponse> {
|
|
45334
|
+
return localVarFp.createSelfManagedCluster(organizationId, selfManagedClusterRequest, options).then((request) => request(axios, basePath));
|
|
45335
|
+
},
|
|
45006
45336
|
/**
|
|
45007
45337
|
*
|
|
45008
45338
|
* @summary Delete a cluster
|
|
@@ -45454,6 +45784,19 @@ export class ClustersApi extends BaseAPI {
|
|
|
45454
45784
|
return ClustersApiFp(this.configuration).createCluster(organizationId, clusterRequest, options).then((request) => request(this.axios, this.basePath));
|
|
45455
45785
|
}
|
|
45456
45786
|
|
|
45787
|
+
/**
|
|
45788
|
+
* Creates a self-managed cluster on an existing AWS cloud credential of the organization. The organization\'s plan must include self-managed clusters, otherwise the call answers 403. The credential only needs ECR permissions for the cluster itself, including `ecr:DescribeRepositories` in `us-east-1`, which Qovery calls to check the credential whatever the cluster region; features that call other AWS services with the credential, such as managed databases or Terraform services using the cluster credentials, need more. The credential, including its ECR access in the cluster region, and the platform configuration are checked before anything is created. One transaction then writes the cluster, its Qovery DNS and build providers, its default ECR registry derived from the credential, its initial deployment status, its platform configuration and its Qovery Operator enrollment. Only the AWS provider is supported. Install the Operator next with the cluster\'s Operator bootstrap.
|
|
45789
|
+
* @summary Create a self-managed cluster run by the Qovery Operator
|
|
45790
|
+
* @param {string} organizationId Organization ID
|
|
45791
|
+
* @param {SelfManagedClusterRequest} selfManagedClusterRequest
|
|
45792
|
+
* @param {*} [options] Override http request option.
|
|
45793
|
+
* @throws {RequiredError}
|
|
45794
|
+
* @memberof ClustersApi
|
|
45795
|
+
*/
|
|
45796
|
+
public createSelfManagedCluster(organizationId: string, selfManagedClusterRequest: SelfManagedClusterRequest, options?: RawAxiosRequestConfig) {
|
|
45797
|
+
return ClustersApiFp(this.configuration).createSelfManagedCluster(organizationId, selfManagedClusterRequest, options).then((request) => request(this.axios, this.basePath));
|
|
45798
|
+
}
|
|
45799
|
+
|
|
45457
45800
|
/**
|
|
45458
45801
|
*
|
|
45459
45802
|
* @summary Delete a cluster
|
|
@@ -73472,11 +73815,12 @@ export class OrganizationWebhookApi extends BaseAPI {
|
|
|
73472
73815
|
export const PlatformConfigurationApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
73473
73816
|
return {
|
|
73474
73817
|
/**
|
|
73475
|
-
* Returns the platform template selected for the cluster, its layer resolution, and the currently stored component configuration.
|
|
73818
|
+
* Returns the platform template selected for the cluster, its layer resolution, and the currently stored component configuration. Deprecated: use getClusterPlatformConfiguration instead.
|
|
73476
73819
|
* @summary Get the cluster platform binding
|
|
73477
73820
|
* @param {string} organizationId Organization ID
|
|
73478
73821
|
* @param {string} clusterId Cluster ID
|
|
73479
73822
|
* @param {*} [options] Override http request option.
|
|
73823
|
+
* @deprecated
|
|
73480
73824
|
* @throws {RequiredError}
|
|
73481
73825
|
*/
|
|
73482
73826
|
getClusterPlatformBinding: async (organizationId: string, clusterId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -73507,6 +73851,47 @@ export const PlatformConfigurationApiAxiosParamCreator = function (configuration
|
|
|
73507
73851
|
|
|
73508
73852
|
|
|
73509
73853
|
|
|
73854
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
73855
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
73856
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
73857
|
+
|
|
73858
|
+
return {
|
|
73859
|
+
url: toPathString(localVarUrlObj),
|
|
73860
|
+
options: localVarRequestOptions,
|
|
73861
|
+
};
|
|
73862
|
+
},
|
|
73863
|
+
/**
|
|
73864
|
+
* 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.
|
|
73865
|
+
* @summary Get the cluster platform configuration
|
|
73866
|
+
* @param {string} clusterId Cluster ID
|
|
73867
|
+
* @param {*} [options] Override http request option.
|
|
73868
|
+
* @throws {RequiredError}
|
|
73869
|
+
*/
|
|
73870
|
+
getClusterPlatformConfiguration: async (clusterId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
73871
|
+
// verify required parameter 'clusterId' is not null or undefined
|
|
73872
|
+
assertParamExists('getClusterPlatformConfiguration', 'clusterId', clusterId)
|
|
73873
|
+
const localVarPath = `/v1/cluster/{clusterId}/platformConfiguration`
|
|
73874
|
+
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
|
|
73875
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
73876
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
73877
|
+
let baseOptions;
|
|
73878
|
+
if (configuration) {
|
|
73879
|
+
baseOptions = configuration.baseOptions;
|
|
73880
|
+
}
|
|
73881
|
+
|
|
73882
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
73883
|
+
const localVarHeaderParameter = {} as any;
|
|
73884
|
+
const localVarQueryParameter = {} as any;
|
|
73885
|
+
|
|
73886
|
+
// authentication ApiKeyAuth required
|
|
73887
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
73888
|
+
|
|
73889
|
+
// authentication bearerAuth required
|
|
73890
|
+
// http bearer authentication required
|
|
73891
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
73892
|
+
|
|
73893
|
+
|
|
73894
|
+
|
|
73510
73895
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
73511
73896
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
73512
73897
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -73568,13 +73953,65 @@ export const PlatformConfigurationApiAxiosParamCreator = function (configuration
|
|
|
73568
73953
|
};
|
|
73569
73954
|
},
|
|
73570
73955
|
/**
|
|
73571
|
-
* Resolves the fields and runtime requirements
|
|
73956
|
+
* 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.
|
|
73957
|
+
* @summary Resolve a platform component configuration of the cluster
|
|
73958
|
+
* @param {string} clusterId Cluster ID
|
|
73959
|
+
* @param {string} componentKey Platform component key
|
|
73960
|
+
* @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
|
|
73961
|
+
* @param {*} [options] Override http request option.
|
|
73962
|
+
* @throws {RequiredError}
|
|
73963
|
+
*/
|
|
73964
|
+
resolveClusterPlatformComponentConfiguration: async (clusterId: string, componentKey: string, platformComponentConfigurationPreviewRequest: PlatformComponentConfigurationPreviewRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
73965
|
+
// verify required parameter 'clusterId' is not null or undefined
|
|
73966
|
+
assertParamExists('resolveClusterPlatformComponentConfiguration', 'clusterId', clusterId)
|
|
73967
|
+
// verify required parameter 'componentKey' is not null or undefined
|
|
73968
|
+
assertParamExists('resolveClusterPlatformComponentConfiguration', 'componentKey', componentKey)
|
|
73969
|
+
// verify required parameter 'platformComponentConfigurationPreviewRequest' is not null or undefined
|
|
73970
|
+
assertParamExists('resolveClusterPlatformComponentConfiguration', 'platformComponentConfigurationPreviewRequest', platformComponentConfigurationPreviewRequest)
|
|
73971
|
+
const localVarPath = `/v1/cluster/{clusterId}/platformConfiguration/component/{componentKey}/resolve`
|
|
73972
|
+
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)))
|
|
73973
|
+
.replace(`{${"componentKey"}}`, encodeURIComponent(String(componentKey)));
|
|
73974
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
73975
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
73976
|
+
let baseOptions;
|
|
73977
|
+
if (configuration) {
|
|
73978
|
+
baseOptions = configuration.baseOptions;
|
|
73979
|
+
}
|
|
73980
|
+
|
|
73981
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
73982
|
+
const localVarHeaderParameter = {} as any;
|
|
73983
|
+
const localVarQueryParameter = {} as any;
|
|
73984
|
+
|
|
73985
|
+
// authentication ApiKeyAuth required
|
|
73986
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
73987
|
+
|
|
73988
|
+
// authentication bearerAuth required
|
|
73989
|
+
// http bearer authentication required
|
|
73990
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
73991
|
+
|
|
73992
|
+
|
|
73993
|
+
|
|
73994
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
73995
|
+
|
|
73996
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
73997
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
73998
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
73999
|
+
localVarRequestOptions.data = serializeDataIfNeeded(platformComponentConfigurationPreviewRequest, localVarRequestOptions, configuration)
|
|
74000
|
+
|
|
74001
|
+
return {
|
|
74002
|
+
url: toPathString(localVarUrlObj),
|
|
74003
|
+
options: localVarRequestOptions,
|
|
74004
|
+
};
|
|
74005
|
+
},
|
|
74006
|
+
/**
|
|
74007
|
+
* 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.
|
|
73572
74008
|
* @summary Resolve a platform component configuration
|
|
73573
74009
|
* @param {string} organizationId Organization ID
|
|
73574
74010
|
* @param {string} clusterId Cluster ID
|
|
73575
74011
|
* @param {string} componentKey Platform component key
|
|
73576
74012
|
* @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
|
|
73577
74013
|
* @param {*} [options] Override http request option.
|
|
74014
|
+
* @deprecated
|
|
73578
74015
|
* @throws {RequiredError}
|
|
73579
74016
|
*/
|
|
73580
74017
|
resolvePlatformComponentConfiguration: async (organizationId: string, clusterId: string, componentKey: string, platformComponentConfigurationPreviewRequest: PlatformComponentConfigurationPreviewRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -73696,12 +74133,13 @@ export const PlatformConfigurationApiAxiosParamCreator = function (configuration
|
|
|
73696
74133
|
};
|
|
73697
74134
|
},
|
|
73698
74135
|
/**
|
|
73699
|
-
* Selects a platform template and stores layer selections, component profile values, and customer-provided runtime inputs for the cluster.
|
|
74136
|
+
* Selects a platform template and stores layer selections, component profile values, and customer-provided runtime inputs for the cluster. Deprecated: use updateClusterPlatformConfiguration instead.
|
|
73700
74137
|
* @summary Update the cluster platform binding
|
|
73701
74138
|
* @param {string} organizationId Organization ID
|
|
73702
74139
|
* @param {string} clusterId Cluster ID
|
|
73703
74140
|
* @param {ClusterPlatformBindingRequest} clusterPlatformBindingRequest
|
|
73704
74141
|
* @param {*} [options] Override http request option.
|
|
74142
|
+
* @deprecated
|
|
73705
74143
|
* @throws {RequiredError}
|
|
73706
74144
|
*/
|
|
73707
74145
|
updateClusterPlatformBinding: async (organizationId: string, clusterId: string, clusterPlatformBindingRequest: ClusterPlatformBindingRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -73741,6 +74179,53 @@ export const PlatformConfigurationApiAxiosParamCreator = function (configuration
|
|
|
73741
74179
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
73742
74180
|
localVarRequestOptions.data = serializeDataIfNeeded(clusterPlatformBindingRequest, localVarRequestOptions, configuration)
|
|
73743
74181
|
|
|
74182
|
+
return {
|
|
74183
|
+
url: toPathString(localVarUrlObj),
|
|
74184
|
+
options: localVarRequestOptions,
|
|
74185
|
+
};
|
|
74186
|
+
},
|
|
74187
|
+
/**
|
|
74188
|
+
* 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.
|
|
74189
|
+
* @summary Update the cluster platform configuration
|
|
74190
|
+
* @param {string} clusterId Cluster ID
|
|
74191
|
+
* @param {ClusterPlatformConfigurationRequest} clusterPlatformConfigurationRequest
|
|
74192
|
+
* @param {*} [options] Override http request option.
|
|
74193
|
+
* @throws {RequiredError}
|
|
74194
|
+
*/
|
|
74195
|
+
updateClusterPlatformConfiguration: async (clusterId: string, clusterPlatformConfigurationRequest: ClusterPlatformConfigurationRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
74196
|
+
// verify required parameter 'clusterId' is not null or undefined
|
|
74197
|
+
assertParamExists('updateClusterPlatformConfiguration', 'clusterId', clusterId)
|
|
74198
|
+
// verify required parameter 'clusterPlatformConfigurationRequest' is not null or undefined
|
|
74199
|
+
assertParamExists('updateClusterPlatformConfiguration', 'clusterPlatformConfigurationRequest', clusterPlatformConfigurationRequest)
|
|
74200
|
+
const localVarPath = `/v1/cluster/{clusterId}/platformConfiguration`
|
|
74201
|
+
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
|
|
74202
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
74203
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
74204
|
+
let baseOptions;
|
|
74205
|
+
if (configuration) {
|
|
74206
|
+
baseOptions = configuration.baseOptions;
|
|
74207
|
+
}
|
|
74208
|
+
|
|
74209
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
74210
|
+
const localVarHeaderParameter = {} as any;
|
|
74211
|
+
const localVarQueryParameter = {} as any;
|
|
74212
|
+
|
|
74213
|
+
// authentication ApiKeyAuth required
|
|
74214
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
74215
|
+
|
|
74216
|
+
// authentication bearerAuth required
|
|
74217
|
+
// http bearer authentication required
|
|
74218
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
74219
|
+
|
|
74220
|
+
|
|
74221
|
+
|
|
74222
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
74223
|
+
|
|
74224
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
74225
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
74226
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
74227
|
+
localVarRequestOptions.data = serializeDataIfNeeded(clusterPlatformConfigurationRequest, localVarRequestOptions, configuration)
|
|
74228
|
+
|
|
73744
74229
|
return {
|
|
73745
74230
|
url: toPathString(localVarUrlObj),
|
|
73746
74231
|
options: localVarRequestOptions,
|
|
@@ -73757,11 +74242,12 @@ export const PlatformConfigurationApiFp = function(configuration?: Configuration
|
|
|
73757
74242
|
const localVarAxiosParamCreator = PlatformConfigurationApiAxiosParamCreator(configuration)
|
|
73758
74243
|
return {
|
|
73759
74244
|
/**
|
|
73760
|
-
* Returns the platform template selected for the cluster, its layer resolution, and the currently stored component configuration.
|
|
74245
|
+
* Returns the platform template selected for the cluster, its layer resolution, and the currently stored component configuration. Deprecated: use getClusterPlatformConfiguration instead.
|
|
73761
74246
|
* @summary Get the cluster platform binding
|
|
73762
74247
|
* @param {string} organizationId Organization ID
|
|
73763
74248
|
* @param {string} clusterId Cluster ID
|
|
73764
74249
|
* @param {*} [options] Override http request option.
|
|
74250
|
+
* @deprecated
|
|
73765
74251
|
* @throws {RequiredError}
|
|
73766
74252
|
*/
|
|
73767
74253
|
async getClusterPlatformBinding(organizationId: string, clusterId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterPlatformBindingResponse>> {
|
|
@@ -73770,6 +74256,19 @@ export const PlatformConfigurationApiFp = function(configuration?: Configuration
|
|
|
73770
74256
|
const localVarOperationServerBasePath = operationServerMap['PlatformConfigurationApi.getClusterPlatformBinding']?.[localVarOperationServerIndex]?.url;
|
|
73771
74257
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
73772
74258
|
},
|
|
74259
|
+
/**
|
|
74260
|
+
* 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.
|
|
74261
|
+
* @summary Get the cluster platform configuration
|
|
74262
|
+
* @param {string} clusterId Cluster ID
|
|
74263
|
+
* @param {*} [options] Override http request option.
|
|
74264
|
+
* @throws {RequiredError}
|
|
74265
|
+
*/
|
|
74266
|
+
async getClusterPlatformConfiguration(clusterId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterPlatformConfigurationResponse>> {
|
|
74267
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterPlatformConfiguration(clusterId, options);
|
|
74268
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
74269
|
+
const localVarOperationServerBasePath = operationServerMap['PlatformConfigurationApi.getClusterPlatformConfiguration']?.[localVarOperationServerIndex]?.url;
|
|
74270
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
74271
|
+
},
|
|
73773
74272
|
/**
|
|
73774
74273
|
* 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.
|
|
73775
74274
|
* @summary List platform templates
|
|
@@ -73786,13 +74285,29 @@ export const PlatformConfigurationApiFp = function(configuration?: Configuration
|
|
|
73786
74285
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
73787
74286
|
},
|
|
73788
74287
|
/**
|
|
73789
|
-
* Resolves the fields and runtime requirements
|
|
74288
|
+
* 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.
|
|
74289
|
+
* @summary Resolve a platform component configuration of the cluster
|
|
74290
|
+
* @param {string} clusterId Cluster ID
|
|
74291
|
+
* @param {string} componentKey Platform component key
|
|
74292
|
+
* @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
|
|
74293
|
+
* @param {*} [options] Override http request option.
|
|
74294
|
+
* @throws {RequiredError}
|
|
74295
|
+
*/
|
|
74296
|
+
async resolveClusterPlatformComponentConfiguration(clusterId: string, componentKey: string, platformComponentConfigurationPreviewRequest: PlatformComponentConfigurationPreviewRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlatformComponentConfigurationPreviewResponse>> {
|
|
74297
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.resolveClusterPlatformComponentConfiguration(clusterId, componentKey, platformComponentConfigurationPreviewRequest, options);
|
|
74298
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
74299
|
+
const localVarOperationServerBasePath = operationServerMap['PlatformConfigurationApi.resolveClusterPlatformComponentConfiguration']?.[localVarOperationServerIndex]?.url;
|
|
74300
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
74301
|
+
},
|
|
74302
|
+
/**
|
|
74303
|
+
* 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.
|
|
73790
74304
|
* @summary Resolve a platform component configuration
|
|
73791
74305
|
* @param {string} organizationId Organization ID
|
|
73792
74306
|
* @param {string} clusterId Cluster ID
|
|
73793
74307
|
* @param {string} componentKey Platform component key
|
|
73794
74308
|
* @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
|
|
73795
74309
|
* @param {*} [options] Override http request option.
|
|
74310
|
+
* @deprecated
|
|
73796
74311
|
* @throws {RequiredError}
|
|
73797
74312
|
*/
|
|
73798
74313
|
async resolvePlatformComponentConfiguration(organizationId: string, clusterId: string, componentKey: string, platformComponentConfigurationPreviewRequest: PlatformComponentConfigurationPreviewRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlatformComponentConfigurationPreviewResponse>> {
|
|
@@ -73821,12 +74336,13 @@ export const PlatformConfigurationApiFp = function(configuration?: Configuration
|
|
|
73821
74336
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
73822
74337
|
},
|
|
73823
74338
|
/**
|
|
73824
|
-
* Selects a platform template and stores layer selections, component profile values, and customer-provided runtime inputs for the cluster.
|
|
74339
|
+
* Selects a platform template and stores layer selections, component profile values, and customer-provided runtime inputs for the cluster. Deprecated: use updateClusterPlatformConfiguration instead.
|
|
73825
74340
|
* @summary Update the cluster platform binding
|
|
73826
74341
|
* @param {string} organizationId Organization ID
|
|
73827
74342
|
* @param {string} clusterId Cluster ID
|
|
73828
74343
|
* @param {ClusterPlatformBindingRequest} clusterPlatformBindingRequest
|
|
73829
74344
|
* @param {*} [options] Override http request option.
|
|
74345
|
+
* @deprecated
|
|
73830
74346
|
* @throws {RequiredError}
|
|
73831
74347
|
*/
|
|
73832
74348
|
async updateClusterPlatformBinding(organizationId: string, clusterId: string, clusterPlatformBindingRequest: ClusterPlatformBindingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterPlatformBindingResponse>> {
|
|
@@ -73835,6 +74351,20 @@ export const PlatformConfigurationApiFp = function(configuration?: Configuration
|
|
|
73835
74351
|
const localVarOperationServerBasePath = operationServerMap['PlatformConfigurationApi.updateClusterPlatformBinding']?.[localVarOperationServerIndex]?.url;
|
|
73836
74352
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
73837
74353
|
},
|
|
74354
|
+
/**
|
|
74355
|
+
* 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.
|
|
74356
|
+
* @summary Update the cluster platform configuration
|
|
74357
|
+
* @param {string} clusterId Cluster ID
|
|
74358
|
+
* @param {ClusterPlatformConfigurationRequest} clusterPlatformConfigurationRequest
|
|
74359
|
+
* @param {*} [options] Override http request option.
|
|
74360
|
+
* @throws {RequiredError}
|
|
74361
|
+
*/
|
|
74362
|
+
async updateClusterPlatformConfiguration(clusterId: string, clusterPlatformConfigurationRequest: ClusterPlatformConfigurationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterPlatformConfigurationResponse>> {
|
|
74363
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateClusterPlatformConfiguration(clusterId, clusterPlatformConfigurationRequest, options);
|
|
74364
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
74365
|
+
const localVarOperationServerBasePath = operationServerMap['PlatformConfigurationApi.updateClusterPlatformConfiguration']?.[localVarOperationServerIndex]?.url;
|
|
74366
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
74367
|
+
},
|
|
73838
74368
|
}
|
|
73839
74369
|
};
|
|
73840
74370
|
|
|
@@ -73846,16 +74376,27 @@ export const PlatformConfigurationApiFactory = function (configuration?: Configu
|
|
|
73846
74376
|
const localVarFp = PlatformConfigurationApiFp(configuration)
|
|
73847
74377
|
return {
|
|
73848
74378
|
/**
|
|
73849
|
-
* Returns the platform template selected for the cluster, its layer resolution, and the currently stored component configuration.
|
|
74379
|
+
* Returns the platform template selected for the cluster, its layer resolution, and the currently stored component configuration. Deprecated: use getClusterPlatformConfiguration instead.
|
|
73850
74380
|
* @summary Get the cluster platform binding
|
|
73851
74381
|
* @param {string} organizationId Organization ID
|
|
73852
74382
|
* @param {string} clusterId Cluster ID
|
|
73853
74383
|
* @param {*} [options] Override http request option.
|
|
74384
|
+
* @deprecated
|
|
73854
74385
|
* @throws {RequiredError}
|
|
73855
74386
|
*/
|
|
73856
74387
|
getClusterPlatformBinding(organizationId: string, clusterId: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterPlatformBindingResponse> {
|
|
73857
74388
|
return localVarFp.getClusterPlatformBinding(organizationId, clusterId, options).then((request) => request(axios, basePath));
|
|
73858
74389
|
},
|
|
74390
|
+
/**
|
|
74391
|
+
* 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.
|
|
74392
|
+
* @summary Get the cluster platform configuration
|
|
74393
|
+
* @param {string} clusterId Cluster ID
|
|
74394
|
+
* @param {*} [options] Override http request option.
|
|
74395
|
+
* @throws {RequiredError}
|
|
74396
|
+
*/
|
|
74397
|
+
getClusterPlatformConfiguration(clusterId: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterPlatformConfigurationResponse> {
|
|
74398
|
+
return localVarFp.getClusterPlatformConfiguration(clusterId, options).then((request) => request(axios, basePath));
|
|
74399
|
+
},
|
|
73859
74400
|
/**
|
|
73860
74401
|
* 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.
|
|
73861
74402
|
* @summary List platform templates
|
|
@@ -73869,13 +74410,26 @@ export const PlatformConfigurationApiFactory = function (configuration?: Configu
|
|
|
73869
74410
|
return localVarFp.listPlatformTemplates(organizationId, clusterMode, cloudProvider, options).then((request) => request(axios, basePath));
|
|
73870
74411
|
},
|
|
73871
74412
|
/**
|
|
73872
|
-
* Resolves the fields and runtime requirements
|
|
74413
|
+
* 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.
|
|
74414
|
+
* @summary Resolve a platform component configuration of the cluster
|
|
74415
|
+
* @param {string} clusterId Cluster ID
|
|
74416
|
+
* @param {string} componentKey Platform component key
|
|
74417
|
+
* @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
|
|
74418
|
+
* @param {*} [options] Override http request option.
|
|
74419
|
+
* @throws {RequiredError}
|
|
74420
|
+
*/
|
|
74421
|
+
resolveClusterPlatformComponentConfiguration(clusterId: string, componentKey: string, platformComponentConfigurationPreviewRequest: PlatformComponentConfigurationPreviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<PlatformComponentConfigurationPreviewResponse> {
|
|
74422
|
+
return localVarFp.resolveClusterPlatformComponentConfiguration(clusterId, componentKey, platformComponentConfigurationPreviewRequest, options).then((request) => request(axios, basePath));
|
|
74423
|
+
},
|
|
74424
|
+
/**
|
|
74425
|
+
* 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.
|
|
73873
74426
|
* @summary Resolve a platform component configuration
|
|
73874
74427
|
* @param {string} organizationId Organization ID
|
|
73875
74428
|
* @param {string} clusterId Cluster ID
|
|
73876
74429
|
* @param {string} componentKey Platform component key
|
|
73877
74430
|
* @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
|
|
73878
74431
|
* @param {*} [options] Override http request option.
|
|
74432
|
+
* @deprecated
|
|
73879
74433
|
* @throws {RequiredError}
|
|
73880
74434
|
*/
|
|
73881
74435
|
resolvePlatformComponentConfiguration(organizationId: string, clusterId: string, componentKey: string, platformComponentConfigurationPreviewRequest: PlatformComponentConfigurationPreviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<PlatformComponentConfigurationPreviewResponse> {
|
|
@@ -73898,17 +74452,29 @@ export const PlatformConfigurationApiFactory = function (configuration?: Configu
|
|
|
73898
74452
|
return localVarFp.resolvePlatformTemplateComponentConfiguration(organizationId, templateKey, templateVersion, componentKey, clusterMode, cloudProvider, platformComponentConfigurationPreviewRequest, options).then((request) => request(axios, basePath));
|
|
73899
74453
|
},
|
|
73900
74454
|
/**
|
|
73901
|
-
* Selects a platform template and stores layer selections, component profile values, and customer-provided runtime inputs for the cluster.
|
|
74455
|
+
* Selects a platform template and stores layer selections, component profile values, and customer-provided runtime inputs for the cluster. Deprecated: use updateClusterPlatformConfiguration instead.
|
|
73902
74456
|
* @summary Update the cluster platform binding
|
|
73903
74457
|
* @param {string} organizationId Organization ID
|
|
73904
74458
|
* @param {string} clusterId Cluster ID
|
|
73905
74459
|
* @param {ClusterPlatformBindingRequest} clusterPlatformBindingRequest
|
|
73906
74460
|
* @param {*} [options] Override http request option.
|
|
74461
|
+
* @deprecated
|
|
73907
74462
|
* @throws {RequiredError}
|
|
73908
74463
|
*/
|
|
73909
74464
|
updateClusterPlatformBinding(organizationId: string, clusterId: string, clusterPlatformBindingRequest: ClusterPlatformBindingRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterPlatformBindingResponse> {
|
|
73910
74465
|
return localVarFp.updateClusterPlatformBinding(organizationId, clusterId, clusterPlatformBindingRequest, options).then((request) => request(axios, basePath));
|
|
73911
74466
|
},
|
|
74467
|
+
/**
|
|
74468
|
+
* 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.
|
|
74469
|
+
* @summary Update the cluster platform configuration
|
|
74470
|
+
* @param {string} clusterId Cluster ID
|
|
74471
|
+
* @param {ClusterPlatformConfigurationRequest} clusterPlatformConfigurationRequest
|
|
74472
|
+
* @param {*} [options] Override http request option.
|
|
74473
|
+
* @throws {RequiredError}
|
|
74474
|
+
*/
|
|
74475
|
+
updateClusterPlatformConfiguration(clusterId: string, clusterPlatformConfigurationRequest: ClusterPlatformConfigurationRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterPlatformConfigurationResponse> {
|
|
74476
|
+
return localVarFp.updateClusterPlatformConfiguration(clusterId, clusterPlatformConfigurationRequest, options).then((request) => request(axios, basePath));
|
|
74477
|
+
},
|
|
73912
74478
|
};
|
|
73913
74479
|
};
|
|
73914
74480
|
|
|
@@ -73920,11 +74486,12 @@ export const PlatformConfigurationApiFactory = function (configuration?: Configu
|
|
|
73920
74486
|
*/
|
|
73921
74487
|
export class PlatformConfigurationApi extends BaseAPI {
|
|
73922
74488
|
/**
|
|
73923
|
-
* Returns the platform template selected for the cluster, its layer resolution, and the currently stored component configuration.
|
|
74489
|
+
* Returns the platform template selected for the cluster, its layer resolution, and the currently stored component configuration. Deprecated: use getClusterPlatformConfiguration instead.
|
|
73924
74490
|
* @summary Get the cluster platform binding
|
|
73925
74491
|
* @param {string} organizationId Organization ID
|
|
73926
74492
|
* @param {string} clusterId Cluster ID
|
|
73927
74493
|
* @param {*} [options] Override http request option.
|
|
74494
|
+
* @deprecated
|
|
73928
74495
|
* @throws {RequiredError}
|
|
73929
74496
|
* @memberof PlatformConfigurationApi
|
|
73930
74497
|
*/
|
|
@@ -73932,6 +74499,18 @@ export class PlatformConfigurationApi extends BaseAPI {
|
|
|
73932
74499
|
return PlatformConfigurationApiFp(this.configuration).getClusterPlatformBinding(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
73933
74500
|
}
|
|
73934
74501
|
|
|
74502
|
+
/**
|
|
74503
|
+
* 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.
|
|
74504
|
+
* @summary Get the cluster platform configuration
|
|
74505
|
+
* @param {string} clusterId Cluster ID
|
|
74506
|
+
* @param {*} [options] Override http request option.
|
|
74507
|
+
* @throws {RequiredError}
|
|
74508
|
+
* @memberof PlatformConfigurationApi
|
|
74509
|
+
*/
|
|
74510
|
+
public getClusterPlatformConfiguration(clusterId: string, options?: RawAxiosRequestConfig) {
|
|
74511
|
+
return PlatformConfigurationApiFp(this.configuration).getClusterPlatformConfiguration(clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
74512
|
+
}
|
|
74513
|
+
|
|
73935
74514
|
/**
|
|
73936
74515
|
* 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.
|
|
73937
74516
|
* @summary List platform templates
|
|
@@ -73947,13 +74526,28 @@ export class PlatformConfigurationApi extends BaseAPI {
|
|
|
73947
74526
|
}
|
|
73948
74527
|
|
|
73949
74528
|
/**
|
|
73950
|
-
* Resolves the fields and runtime requirements
|
|
74529
|
+
* 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.
|
|
74530
|
+
* @summary Resolve a platform component configuration of the cluster
|
|
74531
|
+
* @param {string} clusterId Cluster ID
|
|
74532
|
+
* @param {string} componentKey Platform component key
|
|
74533
|
+
* @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
|
|
74534
|
+
* @param {*} [options] Override http request option.
|
|
74535
|
+
* @throws {RequiredError}
|
|
74536
|
+
* @memberof PlatformConfigurationApi
|
|
74537
|
+
*/
|
|
74538
|
+
public resolveClusterPlatformComponentConfiguration(clusterId: string, componentKey: string, platformComponentConfigurationPreviewRequest: PlatformComponentConfigurationPreviewRequest, options?: RawAxiosRequestConfig) {
|
|
74539
|
+
return PlatformConfigurationApiFp(this.configuration).resolveClusterPlatformComponentConfiguration(clusterId, componentKey, platformComponentConfigurationPreviewRequest, options).then((request) => request(this.axios, this.basePath));
|
|
74540
|
+
}
|
|
74541
|
+
|
|
74542
|
+
/**
|
|
74543
|
+
* 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.
|
|
73951
74544
|
* @summary Resolve a platform component configuration
|
|
73952
74545
|
* @param {string} organizationId Organization ID
|
|
73953
74546
|
* @param {string} clusterId Cluster ID
|
|
73954
74547
|
* @param {string} componentKey Platform component key
|
|
73955
74548
|
* @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
|
|
73956
74549
|
* @param {*} [options] Override http request option.
|
|
74550
|
+
* @deprecated
|
|
73957
74551
|
* @throws {RequiredError}
|
|
73958
74552
|
* @memberof PlatformConfigurationApi
|
|
73959
74553
|
*/
|
|
@@ -73980,18 +74574,32 @@ export class PlatformConfigurationApi extends BaseAPI {
|
|
|
73980
74574
|
}
|
|
73981
74575
|
|
|
73982
74576
|
/**
|
|
73983
|
-
* Selects a platform template and stores layer selections, component profile values, and customer-provided runtime inputs for the cluster.
|
|
74577
|
+
* Selects a platform template and stores layer selections, component profile values, and customer-provided runtime inputs for the cluster. Deprecated: use updateClusterPlatformConfiguration instead.
|
|
73984
74578
|
* @summary Update the cluster platform binding
|
|
73985
74579
|
* @param {string} organizationId Organization ID
|
|
73986
74580
|
* @param {string} clusterId Cluster ID
|
|
73987
74581
|
* @param {ClusterPlatformBindingRequest} clusterPlatformBindingRequest
|
|
73988
74582
|
* @param {*} [options] Override http request option.
|
|
74583
|
+
* @deprecated
|
|
73989
74584
|
* @throws {RequiredError}
|
|
73990
74585
|
* @memberof PlatformConfigurationApi
|
|
73991
74586
|
*/
|
|
73992
74587
|
public updateClusterPlatformBinding(organizationId: string, clusterId: string, clusterPlatformBindingRequest: ClusterPlatformBindingRequest, options?: RawAxiosRequestConfig) {
|
|
73993
74588
|
return PlatformConfigurationApiFp(this.configuration).updateClusterPlatformBinding(organizationId, clusterId, clusterPlatformBindingRequest, options).then((request) => request(this.axios, this.basePath));
|
|
73994
74589
|
}
|
|
74590
|
+
|
|
74591
|
+
/**
|
|
74592
|
+
* 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.
|
|
74593
|
+
* @summary Update the cluster platform configuration
|
|
74594
|
+
* @param {string} clusterId Cluster ID
|
|
74595
|
+
* @param {ClusterPlatformConfigurationRequest} clusterPlatformConfigurationRequest
|
|
74596
|
+
* @param {*} [options] Override http request option.
|
|
74597
|
+
* @throws {RequiredError}
|
|
74598
|
+
* @memberof PlatformConfigurationApi
|
|
74599
|
+
*/
|
|
74600
|
+
public updateClusterPlatformConfiguration(clusterId: string, clusterPlatformConfigurationRequest: ClusterPlatformConfigurationRequest, options?: RawAxiosRequestConfig) {
|
|
74601
|
+
return PlatformConfigurationApiFp(this.configuration).updateClusterPlatformConfiguration(clusterId, clusterPlatformConfigurationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
74602
|
+
}
|
|
73995
74603
|
}
|
|
73996
74604
|
|
|
73997
74605
|
|