qovery-typescript-axios 1.1.987 → 1.1.989
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 +289 -1
- package/dist/api.d.ts +247 -0
- package/dist/api.js +94 -11
- package/dist/esm/api.d.ts +247 -0
- package/dist/esm/api.js +84 -1
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -22396,7 +22396,8 @@ export const OrganizationEventType = {
|
|
|
22396
22396
|
IMPORT: 'IMPORT',
|
|
22397
22397
|
LOCK: 'LOCK',
|
|
22398
22398
|
UNLOCK: 'UNLOCK',
|
|
22399
|
-
POLICY_FAILED: 'POLICY_FAILED'
|
|
22399
|
+
POLICY_FAILED: 'POLICY_FAILED',
|
|
22400
|
+
ACCESS_DENIED: 'ACCESS_DENIED'
|
|
22400
22401
|
} as const;
|
|
22401
22402
|
|
|
22402
22403
|
export type OrganizationEventType = typeof OrganizationEventType[keyof typeof OrganizationEventType];
|
|
@@ -23579,6 +23580,37 @@ export const PlatformLayerResolutionStatus = {
|
|
|
23579
23580
|
export type PlatformLayerResolutionStatus = typeof PlatformLayerResolutionStatus[keyof typeof PlatformLayerResolutionStatus];
|
|
23580
23581
|
|
|
23581
23582
|
|
|
23583
|
+
/**
|
|
23584
|
+
* Platform template release selected for a cluster, with its layer selections and component configuration. Sensitive managedConfig values are redacted in responses.
|
|
23585
|
+
* @export
|
|
23586
|
+
* @interface PlatformSelection
|
|
23587
|
+
*/
|
|
23588
|
+
export interface PlatformSelection {
|
|
23589
|
+
/**
|
|
23590
|
+
*
|
|
23591
|
+
* @type {string}
|
|
23592
|
+
* @memberof PlatformSelection
|
|
23593
|
+
*/
|
|
23594
|
+
'templateKey': string;
|
|
23595
|
+
/**
|
|
23596
|
+
*
|
|
23597
|
+
* @type {string}
|
|
23598
|
+
* @memberof PlatformSelection
|
|
23599
|
+
*/
|
|
23600
|
+
'templateVersion': string;
|
|
23601
|
+
/**
|
|
23602
|
+
*
|
|
23603
|
+
* @type {{ [key: string]: boolean; }}
|
|
23604
|
+
* @memberof PlatformSelection
|
|
23605
|
+
*/
|
|
23606
|
+
'layerSelections'?: { [key: string]: boolean; };
|
|
23607
|
+
/**
|
|
23608
|
+
* Component configuration values keyed by component key
|
|
23609
|
+
* @type {{ [key: string]: { [key: string]: any; }; }}
|
|
23610
|
+
* @memberof PlatformSelection
|
|
23611
|
+
*/
|
|
23612
|
+
'managedConfig'?: { [key: string]: { [key: string]: any; }; };
|
|
23613
|
+
}
|
|
23582
23614
|
/**
|
|
23583
23615
|
*
|
|
23584
23616
|
* @export
|
|
@@ -25573,6 +25605,19 @@ export interface SecretResponseList {
|
|
|
25573
25605
|
*/
|
|
25574
25606
|
'results'?: Array<Secret>;
|
|
25575
25607
|
}
|
|
25608
|
+
/**
|
|
25609
|
+
* AWS cloud credential of the organization that the cluster runs on. This operation only takes and returns its id.
|
|
25610
|
+
* @export
|
|
25611
|
+
* @interface SelfManagedClusterCredentials
|
|
25612
|
+
*/
|
|
25613
|
+
export interface SelfManagedClusterCredentials {
|
|
25614
|
+
/**
|
|
25615
|
+
* Id of an existing AWS cloud credential of the organization
|
|
25616
|
+
* @type {string}
|
|
25617
|
+
* @memberof SelfManagedClusterCredentials
|
|
25618
|
+
*/
|
|
25619
|
+
'id': string;
|
|
25620
|
+
}
|
|
25576
25621
|
/**
|
|
25577
25622
|
*
|
|
25578
25623
|
* @export
|
|
@@ -25590,6 +25635,164 @@ export const SelfManagedClusterKind = {
|
|
|
25590
25635
|
export type SelfManagedClusterKind = typeof SelfManagedClusterKind[keyof typeof SelfManagedClusterKind];
|
|
25591
25636
|
|
|
25592
25637
|
|
|
25638
|
+
/**
|
|
25639
|
+
* Default ECR registry of the cluster, derived from its cloud credential and region.
|
|
25640
|
+
* @export
|
|
25641
|
+
* @interface SelfManagedClusterRegistryResponse
|
|
25642
|
+
*/
|
|
25643
|
+
export interface SelfManagedClusterRegistryResponse {
|
|
25644
|
+
/**
|
|
25645
|
+
*
|
|
25646
|
+
* @type {string}
|
|
25647
|
+
* @memberof SelfManagedClusterRegistryResponse
|
|
25648
|
+
*/
|
|
25649
|
+
'id': string;
|
|
25650
|
+
/**
|
|
25651
|
+
*
|
|
25652
|
+
* @type {ContainerRegistryKindEnum}
|
|
25653
|
+
* @memberof SelfManagedClusterRegistryResponse
|
|
25654
|
+
*/
|
|
25655
|
+
'kind': ContainerRegistryKindEnum;
|
|
25656
|
+
}
|
|
25657
|
+
|
|
25658
|
+
|
|
25659
|
+
/**
|
|
25660
|
+
*
|
|
25661
|
+
* @export
|
|
25662
|
+
* @interface SelfManagedClusterRequest
|
|
25663
|
+
*/
|
|
25664
|
+
export interface SelfManagedClusterRequest {
|
|
25665
|
+
/**
|
|
25666
|
+
*
|
|
25667
|
+
* @type {string}
|
|
25668
|
+
* @memberof SelfManagedClusterRequest
|
|
25669
|
+
*/
|
|
25670
|
+
'name': string;
|
|
25671
|
+
/**
|
|
25672
|
+
*
|
|
25673
|
+
* @type {boolean}
|
|
25674
|
+
* @memberof SelfManagedClusterRequest
|
|
25675
|
+
*/
|
|
25676
|
+
'production'?: boolean;
|
|
25677
|
+
/**
|
|
25678
|
+
*
|
|
25679
|
+
* @type {string}
|
|
25680
|
+
* @memberof SelfManagedClusterRequest
|
|
25681
|
+
*/
|
|
25682
|
+
'provider': SelfManagedClusterRequestProviderEnum;
|
|
25683
|
+
/**
|
|
25684
|
+
*
|
|
25685
|
+
* @type {string}
|
|
25686
|
+
* @memberof SelfManagedClusterRequest
|
|
25687
|
+
*/
|
|
25688
|
+
'region': string;
|
|
25689
|
+
/**
|
|
25690
|
+
*
|
|
25691
|
+
* @type {SelfManagedClusterCredentials}
|
|
25692
|
+
* @memberof SelfManagedClusterRequest
|
|
25693
|
+
*/
|
|
25694
|
+
'credentials': SelfManagedClusterCredentials;
|
|
25695
|
+
/**
|
|
25696
|
+
*
|
|
25697
|
+
* @type {PlatformSelection}
|
|
25698
|
+
* @memberof SelfManagedClusterRequest
|
|
25699
|
+
*/
|
|
25700
|
+
'platform': PlatformSelection;
|
|
25701
|
+
/**
|
|
25702
|
+
* String values keyed first by component key and then by input key
|
|
25703
|
+
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
25704
|
+
* @memberof SelfManagedClusterRequest
|
|
25705
|
+
*/
|
|
25706
|
+
'clusterInputs'?: { [key: string]: { [key: string]: string; }; };
|
|
25707
|
+
}
|
|
25708
|
+
|
|
25709
|
+
export const SelfManagedClusterRequestProviderEnum = {
|
|
25710
|
+
AWS: 'AWS'
|
|
25711
|
+
} as const;
|
|
25712
|
+
|
|
25713
|
+
export type SelfManagedClusterRequestProviderEnum = typeof SelfManagedClusterRequestProviderEnum[keyof typeof SelfManagedClusterRequestProviderEnum];
|
|
25714
|
+
|
|
25715
|
+
/**
|
|
25716
|
+
*
|
|
25717
|
+
* @export
|
|
25718
|
+
* @interface SelfManagedClusterResponse
|
|
25719
|
+
*/
|
|
25720
|
+
export interface SelfManagedClusterResponse {
|
|
25721
|
+
/**
|
|
25722
|
+
*
|
|
25723
|
+
* @type {string}
|
|
25724
|
+
* @memberof SelfManagedClusterResponse
|
|
25725
|
+
*/
|
|
25726
|
+
'id': string;
|
|
25727
|
+
/**
|
|
25728
|
+
*
|
|
25729
|
+
* @type {string}
|
|
25730
|
+
* @memberof SelfManagedClusterResponse
|
|
25731
|
+
*/
|
|
25732
|
+
'organizationId': string;
|
|
25733
|
+
/**
|
|
25734
|
+
*
|
|
25735
|
+
* @type {string}
|
|
25736
|
+
* @memberof SelfManagedClusterResponse
|
|
25737
|
+
*/
|
|
25738
|
+
'name': string;
|
|
25739
|
+
/**
|
|
25740
|
+
*
|
|
25741
|
+
* @type {boolean}
|
|
25742
|
+
* @memberof SelfManagedClusterResponse
|
|
25743
|
+
*/
|
|
25744
|
+
'production': boolean;
|
|
25745
|
+
/**
|
|
25746
|
+
*
|
|
25747
|
+
* @type {CloudVendorEnum}
|
|
25748
|
+
* @memberof SelfManagedClusterResponse
|
|
25749
|
+
*/
|
|
25750
|
+
'provider': CloudVendorEnum;
|
|
25751
|
+
/**
|
|
25752
|
+
*
|
|
25753
|
+
* @type {string}
|
|
25754
|
+
* @memberof SelfManagedClusterResponse
|
|
25755
|
+
*/
|
|
25756
|
+
'region': string;
|
|
25757
|
+
/**
|
|
25758
|
+
*
|
|
25759
|
+
* @type {string}
|
|
25760
|
+
* @memberof SelfManagedClusterResponse
|
|
25761
|
+
*/
|
|
25762
|
+
'createdAt': string;
|
|
25763
|
+
/**
|
|
25764
|
+
*
|
|
25765
|
+
* @type {SelfManagedClusterCredentials}
|
|
25766
|
+
* @memberof SelfManagedClusterResponse
|
|
25767
|
+
*/
|
|
25768
|
+
'credentials': SelfManagedClusterCredentials;
|
|
25769
|
+
/**
|
|
25770
|
+
*
|
|
25771
|
+
* @type {SelfManagedClusterRegistryResponse}
|
|
25772
|
+
* @memberof SelfManagedClusterResponse
|
|
25773
|
+
*/
|
|
25774
|
+
'registry': SelfManagedClusterRegistryResponse;
|
|
25775
|
+
/**
|
|
25776
|
+
*
|
|
25777
|
+
* @type {PlatformSelection}
|
|
25778
|
+
* @memberof SelfManagedClusterResponse
|
|
25779
|
+
*/
|
|
25780
|
+
'platform': PlatformSelection;
|
|
25781
|
+
/**
|
|
25782
|
+
* String values keyed first by component key and then by input key
|
|
25783
|
+
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
25784
|
+
* @memberof SelfManagedClusterResponse
|
|
25785
|
+
*/
|
|
25786
|
+
'clusterInputs': { [key: string]: { [key: string]: string; }; };
|
|
25787
|
+
/**
|
|
25788
|
+
*
|
|
25789
|
+
* @type {Array<ClusterPlatformBindingLayerResponse>}
|
|
25790
|
+
* @memberof SelfManagedClusterResponse
|
|
25791
|
+
*/
|
|
25792
|
+
'layers': Array<ClusterPlatformBindingLayerResponse>;
|
|
25793
|
+
}
|
|
25794
|
+
|
|
25795
|
+
|
|
25593
25796
|
/**
|
|
25594
25797
|
*
|
|
25595
25798
|
* @export
|
|
@@ -42622,6 +42825,53 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
42622
42825
|
options: localVarRequestOptions,
|
|
42623
42826
|
};
|
|
42624
42827
|
},
|
|
42828
|
+
/**
|
|
42829
|
+
* 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.
|
|
42830
|
+
* @summary Create a self-managed cluster run by the Qovery Operator
|
|
42831
|
+
* @param {string} organizationId Organization ID
|
|
42832
|
+
* @param {SelfManagedClusterRequest} selfManagedClusterRequest
|
|
42833
|
+
* @param {*} [options] Override http request option.
|
|
42834
|
+
* @throws {RequiredError}
|
|
42835
|
+
*/
|
|
42836
|
+
createSelfManagedCluster: async (organizationId: string, selfManagedClusterRequest: SelfManagedClusterRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
42837
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
42838
|
+
assertParamExists('createSelfManagedCluster', 'organizationId', organizationId)
|
|
42839
|
+
// verify required parameter 'selfManagedClusterRequest' is not null or undefined
|
|
42840
|
+
assertParamExists('createSelfManagedCluster', 'selfManagedClusterRequest', selfManagedClusterRequest)
|
|
42841
|
+
const localVarPath = `/v1/organization/{organizationId}/selfManagedCluster`
|
|
42842
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
42843
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
42844
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42845
|
+
let baseOptions;
|
|
42846
|
+
if (configuration) {
|
|
42847
|
+
baseOptions = configuration.baseOptions;
|
|
42848
|
+
}
|
|
42849
|
+
|
|
42850
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
42851
|
+
const localVarHeaderParameter = {} as any;
|
|
42852
|
+
const localVarQueryParameter = {} as any;
|
|
42853
|
+
|
|
42854
|
+
// authentication ApiKeyAuth required
|
|
42855
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
42856
|
+
|
|
42857
|
+
// authentication bearerAuth required
|
|
42858
|
+
// http bearer authentication required
|
|
42859
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
42860
|
+
|
|
42861
|
+
|
|
42862
|
+
|
|
42863
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
42864
|
+
|
|
42865
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
42866
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
42867
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
42868
|
+
localVarRequestOptions.data = serializeDataIfNeeded(selfManagedClusterRequest, localVarRequestOptions, configuration)
|
|
42869
|
+
|
|
42870
|
+
return {
|
|
42871
|
+
url: toPathString(localVarUrlObj),
|
|
42872
|
+
options: localVarRequestOptions,
|
|
42873
|
+
};
|
|
42874
|
+
},
|
|
42625
42875
|
/**
|
|
42626
42876
|
*
|
|
42627
42877
|
* @summary Delete a cluster
|
|
@@ -44445,6 +44695,20 @@ export const ClustersApiFp = function(configuration?: Configuration) {
|
|
|
44445
44695
|
const localVarOperationServerBasePath = operationServerMap['ClustersApi.createCluster']?.[localVarOperationServerIndex]?.url;
|
|
44446
44696
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
44447
44697
|
},
|
|
44698
|
+
/**
|
|
44699
|
+
* 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.
|
|
44700
|
+
* @summary Create a self-managed cluster run by the Qovery Operator
|
|
44701
|
+
* @param {string} organizationId Organization ID
|
|
44702
|
+
* @param {SelfManagedClusterRequest} selfManagedClusterRequest
|
|
44703
|
+
* @param {*} [options] Override http request option.
|
|
44704
|
+
* @throws {RequiredError}
|
|
44705
|
+
*/
|
|
44706
|
+
async createSelfManagedCluster(organizationId: string, selfManagedClusterRequest: SelfManagedClusterRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SelfManagedClusterResponse>> {
|
|
44707
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createSelfManagedCluster(organizationId, selfManagedClusterRequest, options);
|
|
44708
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
44709
|
+
const localVarOperationServerBasePath = operationServerMap['ClustersApi.createSelfManagedCluster']?.[localVarOperationServerIndex]?.url;
|
|
44710
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
44711
|
+
},
|
|
44448
44712
|
/**
|
|
44449
44713
|
*
|
|
44450
44714
|
* @summary Delete a cluster
|
|
@@ -45002,6 +45266,17 @@ export const ClustersApiFactory = function (configuration?: Configuration, baseP
|
|
|
45002
45266
|
createCluster(organizationId: string, clusterRequest?: ClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<Cluster> {
|
|
45003
45267
|
return localVarFp.createCluster(organizationId, clusterRequest, options).then((request) => request(axios, basePath));
|
|
45004
45268
|
},
|
|
45269
|
+
/**
|
|
45270
|
+
* 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.
|
|
45271
|
+
* @summary Create a self-managed cluster run by the Qovery Operator
|
|
45272
|
+
* @param {string} organizationId Organization ID
|
|
45273
|
+
* @param {SelfManagedClusterRequest} selfManagedClusterRequest
|
|
45274
|
+
* @param {*} [options] Override http request option.
|
|
45275
|
+
* @throws {RequiredError}
|
|
45276
|
+
*/
|
|
45277
|
+
createSelfManagedCluster(organizationId: string, selfManagedClusterRequest: SelfManagedClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<SelfManagedClusterResponse> {
|
|
45278
|
+
return localVarFp.createSelfManagedCluster(organizationId, selfManagedClusterRequest, options).then((request) => request(axios, basePath));
|
|
45279
|
+
},
|
|
45005
45280
|
/**
|
|
45006
45281
|
*
|
|
45007
45282
|
* @summary Delete a cluster
|
|
@@ -45453,6 +45728,19 @@ export class ClustersApi extends BaseAPI {
|
|
|
45453
45728
|
return ClustersApiFp(this.configuration).createCluster(organizationId, clusterRequest, options).then((request) => request(this.axios, this.basePath));
|
|
45454
45729
|
}
|
|
45455
45730
|
|
|
45731
|
+
/**
|
|
45732
|
+
* 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.
|
|
45733
|
+
* @summary Create a self-managed cluster run by the Qovery Operator
|
|
45734
|
+
* @param {string} organizationId Organization ID
|
|
45735
|
+
* @param {SelfManagedClusterRequest} selfManagedClusterRequest
|
|
45736
|
+
* @param {*} [options] Override http request option.
|
|
45737
|
+
* @throws {RequiredError}
|
|
45738
|
+
* @memberof ClustersApi
|
|
45739
|
+
*/
|
|
45740
|
+
public createSelfManagedCluster(organizationId: string, selfManagedClusterRequest: SelfManagedClusterRequest, options?: RawAxiosRequestConfig) {
|
|
45741
|
+
return ClustersApiFp(this.configuration).createSelfManagedCluster(organizationId, selfManagedClusterRequest, options).then((request) => request(this.axios, this.basePath));
|
|
45742
|
+
}
|
|
45743
|
+
|
|
45456
45744
|
/**
|
|
45457
45745
|
*
|
|
45458
45746
|
* @summary Delete a cluster
|
package/dist/api.d.ts
CHANGED
|
@@ -21753,6 +21753,7 @@ export declare const OrganizationEventType: {
|
|
|
21753
21753
|
readonly LOCK: "LOCK";
|
|
21754
21754
|
readonly UNLOCK: "UNLOCK";
|
|
21755
21755
|
readonly POLICY_FAILED: "POLICY_FAILED";
|
|
21756
|
+
readonly ACCESS_DENIED: "ACCESS_DENIED";
|
|
21756
21757
|
};
|
|
21757
21758
|
export type OrganizationEventType = typeof OrganizationEventType[keyof typeof OrganizationEventType];
|
|
21758
21759
|
/**
|
|
@@ -22887,6 +22888,43 @@ export declare const PlatformLayerResolutionStatus: {
|
|
|
22887
22888
|
readonly SKIPPED: "SKIPPED";
|
|
22888
22889
|
};
|
|
22889
22890
|
export type PlatformLayerResolutionStatus = typeof PlatformLayerResolutionStatus[keyof typeof PlatformLayerResolutionStatus];
|
|
22891
|
+
/**
|
|
22892
|
+
* Platform template release selected for a cluster, with its layer selections and component configuration. Sensitive managedConfig values are redacted in responses.
|
|
22893
|
+
* @export
|
|
22894
|
+
* @interface PlatformSelection
|
|
22895
|
+
*/
|
|
22896
|
+
export interface PlatformSelection {
|
|
22897
|
+
/**
|
|
22898
|
+
*
|
|
22899
|
+
* @type {string}
|
|
22900
|
+
* @memberof PlatformSelection
|
|
22901
|
+
*/
|
|
22902
|
+
'templateKey': string;
|
|
22903
|
+
/**
|
|
22904
|
+
*
|
|
22905
|
+
* @type {string}
|
|
22906
|
+
* @memberof PlatformSelection
|
|
22907
|
+
*/
|
|
22908
|
+
'templateVersion': string;
|
|
22909
|
+
/**
|
|
22910
|
+
*
|
|
22911
|
+
* @type {{ [key: string]: boolean; }}
|
|
22912
|
+
* @memberof PlatformSelection
|
|
22913
|
+
*/
|
|
22914
|
+
'layerSelections'?: {
|
|
22915
|
+
[key: string]: boolean;
|
|
22916
|
+
};
|
|
22917
|
+
/**
|
|
22918
|
+
* Component configuration values keyed by component key
|
|
22919
|
+
* @type {{ [key: string]: { [key: string]: any; }; }}
|
|
22920
|
+
* @memberof PlatformSelection
|
|
22921
|
+
*/
|
|
22922
|
+
'managedConfig'?: {
|
|
22923
|
+
[key: string]: {
|
|
22924
|
+
[key: string]: any;
|
|
22925
|
+
};
|
|
22926
|
+
};
|
|
22927
|
+
}
|
|
22890
22928
|
/**
|
|
22891
22929
|
*
|
|
22892
22930
|
* @export
|
|
@@ -24815,6 +24853,19 @@ export interface SecretResponseList {
|
|
|
24815
24853
|
*/
|
|
24816
24854
|
'results'?: Array<Secret>;
|
|
24817
24855
|
}
|
|
24856
|
+
/**
|
|
24857
|
+
* AWS cloud credential of the organization that the cluster runs on. This operation only takes and returns its id.
|
|
24858
|
+
* @export
|
|
24859
|
+
* @interface SelfManagedClusterCredentials
|
|
24860
|
+
*/
|
|
24861
|
+
export interface SelfManagedClusterCredentials {
|
|
24862
|
+
/**
|
|
24863
|
+
* Id of an existing AWS cloud credential of the organization
|
|
24864
|
+
* @type {string}
|
|
24865
|
+
* @memberof SelfManagedClusterCredentials
|
|
24866
|
+
*/
|
|
24867
|
+
'id': string;
|
|
24868
|
+
}
|
|
24818
24869
|
/**
|
|
24819
24870
|
*
|
|
24820
24871
|
* @export
|
|
@@ -24828,6 +24879,165 @@ export declare const SelfManagedClusterKind: {
|
|
|
24828
24879
|
readonly SELF_MANAGED: "SELF_MANAGED";
|
|
24829
24880
|
};
|
|
24830
24881
|
export type SelfManagedClusterKind = typeof SelfManagedClusterKind[keyof typeof SelfManagedClusterKind];
|
|
24882
|
+
/**
|
|
24883
|
+
* Default ECR registry of the cluster, derived from its cloud credential and region.
|
|
24884
|
+
* @export
|
|
24885
|
+
* @interface SelfManagedClusterRegistryResponse
|
|
24886
|
+
*/
|
|
24887
|
+
export interface SelfManagedClusterRegistryResponse {
|
|
24888
|
+
/**
|
|
24889
|
+
*
|
|
24890
|
+
* @type {string}
|
|
24891
|
+
* @memberof SelfManagedClusterRegistryResponse
|
|
24892
|
+
*/
|
|
24893
|
+
'id': string;
|
|
24894
|
+
/**
|
|
24895
|
+
*
|
|
24896
|
+
* @type {ContainerRegistryKindEnum}
|
|
24897
|
+
* @memberof SelfManagedClusterRegistryResponse
|
|
24898
|
+
*/
|
|
24899
|
+
'kind': ContainerRegistryKindEnum;
|
|
24900
|
+
}
|
|
24901
|
+
/**
|
|
24902
|
+
*
|
|
24903
|
+
* @export
|
|
24904
|
+
* @interface SelfManagedClusterRequest
|
|
24905
|
+
*/
|
|
24906
|
+
export interface SelfManagedClusterRequest {
|
|
24907
|
+
/**
|
|
24908
|
+
*
|
|
24909
|
+
* @type {string}
|
|
24910
|
+
* @memberof SelfManagedClusterRequest
|
|
24911
|
+
*/
|
|
24912
|
+
'name': string;
|
|
24913
|
+
/**
|
|
24914
|
+
*
|
|
24915
|
+
* @type {boolean}
|
|
24916
|
+
* @memberof SelfManagedClusterRequest
|
|
24917
|
+
*/
|
|
24918
|
+
'production'?: boolean;
|
|
24919
|
+
/**
|
|
24920
|
+
*
|
|
24921
|
+
* @type {string}
|
|
24922
|
+
* @memberof SelfManagedClusterRequest
|
|
24923
|
+
*/
|
|
24924
|
+
'provider': SelfManagedClusterRequestProviderEnum;
|
|
24925
|
+
/**
|
|
24926
|
+
*
|
|
24927
|
+
* @type {string}
|
|
24928
|
+
* @memberof SelfManagedClusterRequest
|
|
24929
|
+
*/
|
|
24930
|
+
'region': string;
|
|
24931
|
+
/**
|
|
24932
|
+
*
|
|
24933
|
+
* @type {SelfManagedClusterCredentials}
|
|
24934
|
+
* @memberof SelfManagedClusterRequest
|
|
24935
|
+
*/
|
|
24936
|
+
'credentials': SelfManagedClusterCredentials;
|
|
24937
|
+
/**
|
|
24938
|
+
*
|
|
24939
|
+
* @type {PlatformSelection}
|
|
24940
|
+
* @memberof SelfManagedClusterRequest
|
|
24941
|
+
*/
|
|
24942
|
+
'platform': PlatformSelection;
|
|
24943
|
+
/**
|
|
24944
|
+
* String values keyed first by component key and then by input key
|
|
24945
|
+
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
24946
|
+
* @memberof SelfManagedClusterRequest
|
|
24947
|
+
*/
|
|
24948
|
+
'clusterInputs'?: {
|
|
24949
|
+
[key: string]: {
|
|
24950
|
+
[key: string]: string;
|
|
24951
|
+
};
|
|
24952
|
+
};
|
|
24953
|
+
}
|
|
24954
|
+
export declare const SelfManagedClusterRequestProviderEnum: {
|
|
24955
|
+
readonly AWS: "AWS";
|
|
24956
|
+
};
|
|
24957
|
+
export type SelfManagedClusterRequestProviderEnum = typeof SelfManagedClusterRequestProviderEnum[keyof typeof SelfManagedClusterRequestProviderEnum];
|
|
24958
|
+
/**
|
|
24959
|
+
*
|
|
24960
|
+
* @export
|
|
24961
|
+
* @interface SelfManagedClusterResponse
|
|
24962
|
+
*/
|
|
24963
|
+
export interface SelfManagedClusterResponse {
|
|
24964
|
+
/**
|
|
24965
|
+
*
|
|
24966
|
+
* @type {string}
|
|
24967
|
+
* @memberof SelfManagedClusterResponse
|
|
24968
|
+
*/
|
|
24969
|
+
'id': string;
|
|
24970
|
+
/**
|
|
24971
|
+
*
|
|
24972
|
+
* @type {string}
|
|
24973
|
+
* @memberof SelfManagedClusterResponse
|
|
24974
|
+
*/
|
|
24975
|
+
'organizationId': string;
|
|
24976
|
+
/**
|
|
24977
|
+
*
|
|
24978
|
+
* @type {string}
|
|
24979
|
+
* @memberof SelfManagedClusterResponse
|
|
24980
|
+
*/
|
|
24981
|
+
'name': string;
|
|
24982
|
+
/**
|
|
24983
|
+
*
|
|
24984
|
+
* @type {boolean}
|
|
24985
|
+
* @memberof SelfManagedClusterResponse
|
|
24986
|
+
*/
|
|
24987
|
+
'production': boolean;
|
|
24988
|
+
/**
|
|
24989
|
+
*
|
|
24990
|
+
* @type {CloudVendorEnum}
|
|
24991
|
+
* @memberof SelfManagedClusterResponse
|
|
24992
|
+
*/
|
|
24993
|
+
'provider': CloudVendorEnum;
|
|
24994
|
+
/**
|
|
24995
|
+
*
|
|
24996
|
+
* @type {string}
|
|
24997
|
+
* @memberof SelfManagedClusterResponse
|
|
24998
|
+
*/
|
|
24999
|
+
'region': string;
|
|
25000
|
+
/**
|
|
25001
|
+
*
|
|
25002
|
+
* @type {string}
|
|
25003
|
+
* @memberof SelfManagedClusterResponse
|
|
25004
|
+
*/
|
|
25005
|
+
'createdAt': string;
|
|
25006
|
+
/**
|
|
25007
|
+
*
|
|
25008
|
+
* @type {SelfManagedClusterCredentials}
|
|
25009
|
+
* @memberof SelfManagedClusterResponse
|
|
25010
|
+
*/
|
|
25011
|
+
'credentials': SelfManagedClusterCredentials;
|
|
25012
|
+
/**
|
|
25013
|
+
*
|
|
25014
|
+
* @type {SelfManagedClusterRegistryResponse}
|
|
25015
|
+
* @memberof SelfManagedClusterResponse
|
|
25016
|
+
*/
|
|
25017
|
+
'registry': SelfManagedClusterRegistryResponse;
|
|
25018
|
+
/**
|
|
25019
|
+
*
|
|
25020
|
+
* @type {PlatformSelection}
|
|
25021
|
+
* @memberof SelfManagedClusterResponse
|
|
25022
|
+
*/
|
|
25023
|
+
'platform': PlatformSelection;
|
|
25024
|
+
/**
|
|
25025
|
+
* String values keyed first by component key and then by input key
|
|
25026
|
+
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
25027
|
+
* @memberof SelfManagedClusterResponse
|
|
25028
|
+
*/
|
|
25029
|
+
'clusterInputs': {
|
|
25030
|
+
[key: string]: {
|
|
25031
|
+
[key: string]: string;
|
|
25032
|
+
};
|
|
25033
|
+
};
|
|
25034
|
+
/**
|
|
25035
|
+
*
|
|
25036
|
+
* @type {Array<ClusterPlatformBindingLayerResponse>}
|
|
25037
|
+
* @memberof SelfManagedClusterResponse
|
|
25038
|
+
*/
|
|
25039
|
+
'layers': Array<ClusterPlatformBindingLayerResponse>;
|
|
25040
|
+
}
|
|
24831
25041
|
/**
|
|
24832
25042
|
*
|
|
24833
25043
|
* @export
|
|
@@ -34167,6 +34377,15 @@ export declare const ClustersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
34167
34377
|
* @throws {RequiredError}
|
|
34168
34378
|
*/
|
|
34169
34379
|
createCluster: (organizationId: string, clusterRequest?: ClusterRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
34380
|
+
/**
|
|
34381
|
+
* 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.
|
|
34382
|
+
* @summary Create a self-managed cluster run by the Qovery Operator
|
|
34383
|
+
* @param {string} organizationId Organization ID
|
|
34384
|
+
* @param {SelfManagedClusterRequest} selfManagedClusterRequest
|
|
34385
|
+
* @param {*} [options] Override http request option.
|
|
34386
|
+
* @throws {RequiredError}
|
|
34387
|
+
*/
|
|
34388
|
+
createSelfManagedCluster: (organizationId: string, selfManagedClusterRequest: SelfManagedClusterRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
34170
34389
|
/**
|
|
34171
34390
|
*
|
|
34172
34391
|
* @summary Delete a cluster
|
|
@@ -34538,6 +34757,15 @@ export declare const ClustersApiFp: (configuration?: Configuration) => {
|
|
|
34538
34757
|
* @throws {RequiredError}
|
|
34539
34758
|
*/
|
|
34540
34759
|
createCluster(organizationId: string, clusterRequest?: ClusterRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Cluster>>;
|
|
34760
|
+
/**
|
|
34761
|
+
* 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.
|
|
34762
|
+
* @summary Create a self-managed cluster run by the Qovery Operator
|
|
34763
|
+
* @param {string} organizationId Organization ID
|
|
34764
|
+
* @param {SelfManagedClusterRequest} selfManagedClusterRequest
|
|
34765
|
+
* @param {*} [options] Override http request option.
|
|
34766
|
+
* @throws {RequiredError}
|
|
34767
|
+
*/
|
|
34768
|
+
createSelfManagedCluster(organizationId: string, selfManagedClusterRequest: SelfManagedClusterRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SelfManagedClusterResponse>>;
|
|
34541
34769
|
/**
|
|
34542
34770
|
*
|
|
34543
34771
|
* @summary Delete a cluster
|
|
@@ -34909,6 +35137,15 @@ export declare const ClustersApiFactory: (configuration?: Configuration, basePat
|
|
|
34909
35137
|
* @throws {RequiredError}
|
|
34910
35138
|
*/
|
|
34911
35139
|
createCluster(organizationId: string, clusterRequest?: ClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<Cluster>;
|
|
35140
|
+
/**
|
|
35141
|
+
* 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.
|
|
35142
|
+
* @summary Create a self-managed cluster run by the Qovery Operator
|
|
35143
|
+
* @param {string} organizationId Organization ID
|
|
35144
|
+
* @param {SelfManagedClusterRequest} selfManagedClusterRequest
|
|
35145
|
+
* @param {*} [options] Override http request option.
|
|
35146
|
+
* @throws {RequiredError}
|
|
35147
|
+
*/
|
|
35148
|
+
createSelfManagedCluster(organizationId: string, selfManagedClusterRequest: SelfManagedClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<SelfManagedClusterResponse>;
|
|
34912
35149
|
/**
|
|
34913
35150
|
*
|
|
34914
35151
|
* @summary Delete a cluster
|
|
@@ -35283,6 +35520,16 @@ export declare class ClustersApi extends BaseAPI {
|
|
|
35283
35520
|
* @memberof ClustersApi
|
|
35284
35521
|
*/
|
|
35285
35522
|
createCluster(organizationId: string, clusterRequest?: ClusterRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Cluster, any, {}>>;
|
|
35523
|
+
/**
|
|
35524
|
+
* 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.
|
|
35525
|
+
* @summary Create a self-managed cluster run by the Qovery Operator
|
|
35526
|
+
* @param {string} organizationId Organization ID
|
|
35527
|
+
* @param {SelfManagedClusterRequest} selfManagedClusterRequest
|
|
35528
|
+
* @param {*} [options] Override http request option.
|
|
35529
|
+
* @throws {RequiredError}
|
|
35530
|
+
* @memberof ClustersApi
|
|
35531
|
+
*/
|
|
35532
|
+
createSelfManagedCluster(organizationId: string, selfManagedClusterRequest: SelfManagedClusterRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SelfManagedClusterResponse, any, {}>>;
|
|
35286
35533
|
/**
|
|
35287
35534
|
*
|
|
35288
35535
|
* @summary Delete a cluster
|