import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface TsfClusterConfig extends cdktf.TerraformMetaArguments { /** * CIDR assigned to cluster containers and service IP. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tsf_cluster#cluster_cidr TsfCluster#cluster_cidr} */ readonly clusterCidr?: string; /** * cluster notes. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tsf_cluster#cluster_desc TsfCluster#cluster_desc} */ readonly clusterDesc?: string; /** * Cluster name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tsf_cluster#cluster_name TsfCluster#cluster_name} */ readonly clusterName: string; /** * cluster remark name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tsf_cluster#cluster_remark_name TsfCluster#cluster_remark_name} */ readonly clusterRemarkName?: string; /** * Cluster type. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tsf_cluster#cluster_type TsfCluster#cluster_type} */ readonly clusterType: string; /** * cluster version. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tsf_cluster#cluster_version TsfCluster#cluster_version} */ readonly clusterVersion?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tsf_cluster#id TsfCluster#id} * * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. * If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. */ readonly id?: string; /** * api address. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tsf_cluster#kubernete_api_server TsfCluster#kubernete_api_server} */ readonly kuberneteApiServer?: string; /** * native secret. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tsf_cluster#kubernete_native_secret TsfCluster#kubernete_native_secret} */ readonly kuberneteNativeSecret?: string; /** * `K`:kubeconfig, `S`:service account. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tsf_cluster#kubernete_native_type TsfCluster#kubernete_native_type} */ readonly kuberneteNativeType?: string; /** * The maximum number of services in the cluster. The value ranges from 32 to 32768. If it is not a power of 2, the nearest power of 2 will be taken up. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tsf_cluster#max_cluster_service_num TsfCluster#max_cluster_service_num} */ readonly maxClusterServiceNum?: number; /** * The maximum number of Pods on each Node in the cluster. The value ranges from 4 to 256. When the value is not a power of 2, the nearest power of 2 will be taken up. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tsf_cluster#max_node_pod_num TsfCluster#max_node_pod_num} */ readonly maxNodePodNum?: number; /** * The dataset ID to be bound. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tsf_cluster#program_id TsfCluster#program_id} */ readonly programId?: string; /** * Program id list. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tsf_cluster#program_id_list TsfCluster#program_id_list} */ readonly programIdList?: string[]; /** * Subnet id. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tsf_cluster#subnet_id TsfCluster#subnet_id} */ readonly subnetId?: string; /** * Tag description list. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tsf_cluster#tags TsfCluster#tags} */ readonly tags?: { [key: string]: string; }; /** * The TSF region to which the cluster belongs. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tsf_cluster#tsf_region_id TsfCluster#tsf_region_id} */ readonly tsfRegionId?: string; /** * The TSF availability zone to which the cluster belongs. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tsf_cluster#tsf_zone_id TsfCluster#tsf_zone_id} */ readonly tsfZoneId?: string; /** * Vpc id. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tsf_cluster#vpc_id TsfCluster#vpc_id} */ readonly vpcId: string; } export interface TsfClusterOperationInfoAddInstance { } export declare function tsfClusterOperationInfoAddInstanceToTerraform(struct?: TsfClusterOperationInfoAddInstance): any; export declare function tsfClusterOperationInfoAddInstanceToHclTerraform(struct?: TsfClusterOperationInfoAddInstance): any; export declare class TsfClusterOperationInfoAddInstanceOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): TsfClusterOperationInfoAddInstance | undefined; set internalValue(value: TsfClusterOperationInfoAddInstance | undefined); get disabledReason(): any; get enabled(): any; get supported(): any; } export declare class TsfClusterOperationInfoAddInstanceList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): TsfClusterOperationInfoAddInstanceOutputReference; } export interface TsfClusterOperationInfoDestroy { } export declare function tsfClusterOperationInfoDestroyToTerraform(struct?: TsfClusterOperationInfoDestroy): any; export declare function tsfClusterOperationInfoDestroyToHclTerraform(struct?: TsfClusterOperationInfoDestroy): any; export declare class TsfClusterOperationInfoDestroyOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): TsfClusterOperationInfoDestroy | undefined; set internalValue(value: TsfClusterOperationInfoDestroy | undefined); get disabledReason(): any; get enabled(): any; get supported(): any; } export declare class TsfClusterOperationInfoDestroyList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): TsfClusterOperationInfoDestroyOutputReference; } export interface TsfClusterOperationInfoInit { } export declare function tsfClusterOperationInfoInitToTerraform(struct?: TsfClusterOperationInfoInit): any; export declare function tsfClusterOperationInfoInitToHclTerraform(struct?: TsfClusterOperationInfoInit): any; export declare class TsfClusterOperationInfoInitOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): TsfClusterOperationInfoInit | undefined; set internalValue(value: TsfClusterOperationInfoInit | undefined); get disabledReason(): any; get enabled(): any; get supported(): any; } export declare class TsfClusterOperationInfoInitList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): TsfClusterOperationInfoInitOutputReference; } export interface TsfClusterOperationInfo { } export declare function tsfClusterOperationInfoToTerraform(struct?: TsfClusterOperationInfo): any; export declare function tsfClusterOperationInfoToHclTerraform(struct?: TsfClusterOperationInfo): any; export declare class TsfClusterOperationInfoOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): TsfClusterOperationInfo | undefined; set internalValue(value: TsfClusterOperationInfo | undefined); private _addInstance; get addInstance(): TsfClusterOperationInfoAddInstanceList; private _destroy; get destroy(): TsfClusterOperationInfoDestroyList; private _init; get init(): TsfClusterOperationInfoInitList; } export declare class TsfClusterOperationInfoList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): TsfClusterOperationInfoOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tsf_cluster tencentcloud_tsf_cluster} */ export declare class TsfCluster extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_tsf_cluster"; /** * Generates CDKTF code for importing a TsfCluster resource upon running "cdktf plan " * @param scope The scope in which to define this construct * @param importToId The construct id used in the generated config for the TsfCluster to import * @param importFromId The id of the existing TsfCluster that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tsf_cluster#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the TsfCluster to import is found */ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any; /** * Create a new {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tsf_cluster tencentcloud_tsf_cluster} Resource * * @param scope The scope in which to define this construct * @param id The scoped construct ID. Must be unique amongst siblings in the same scope * @param options TsfClusterConfig */ constructor(scope: Construct, id: string, config: TsfClusterConfig); get abnormalGroupCount(): any; private _clusterCidr?; get clusterCidr(): string; set clusterCidr(value: string); resetClusterCidr(): void; get clusterCidrInput(): string; private _clusterDesc?; get clusterDesc(): string; set clusterDesc(value: string); resetClusterDesc(): void; get clusterDescInput(): string; get clusterId(): any; get clusterLimitCpu(): any; get clusterLimitMem(): any; private _clusterName?; get clusterName(): string; set clusterName(value: string); get clusterNameInput(): string; private _clusterRemarkName?; get clusterRemarkName(): string; set clusterRemarkName(value: string); resetClusterRemarkName(): void; get clusterRemarkNameInput(): string; get clusterStatus(): any; get clusterTotalCpu(): any; get clusterTotalMem(): any; private _clusterType?; get clusterType(): string; set clusterType(value: string); get clusterTypeInput(): string; get clusterUsedCpu(): any; get clusterUsedMem(): any; private _clusterVersion?; get clusterVersion(): string; set clusterVersion(value: string); resetClusterVersion(): void; get clusterVersionInput(): string; get createTime(): any; get deleteFlag(): any; get deleteFlagReason(): any; get groupCount(): any; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; get instanceCount(): any; private _kuberneteApiServer?; get kuberneteApiServer(): string; set kuberneteApiServer(value: string); resetKuberneteApiServer(): void; get kuberneteApiServerInput(): string; private _kuberneteNativeSecret?; get kuberneteNativeSecret(): string; set kuberneteNativeSecret(value: string); resetKuberneteNativeSecret(): void; get kuberneteNativeSecretInput(): string; private _kuberneteNativeType?; get kuberneteNativeType(): string; set kuberneteNativeType(value: string); resetKuberneteNativeType(): void; get kuberneteNativeTypeInput(): string; private _maxClusterServiceNum?; get maxClusterServiceNum(): number; set maxClusterServiceNum(value: number); resetMaxClusterServiceNum(): void; get maxClusterServiceNumInput(): number; private _maxNodePodNum?; get maxNodePodNum(): number; set maxNodePodNum(value: number); resetMaxNodePodNum(): void; get maxNodePodNumInput(): number; get normalInstanceCount(): any; private _operationInfo; get operationInfo(): TsfClusterOperationInfoList; private _programId?; get programId(): string; set programId(value: string); resetProgramId(): void; get programIdInput(): string; private _programIdList?; get programIdList(): string[]; set programIdList(value: string[]); resetProgramIdList(): void; get programIdListInput(): string[]; get runGroupCount(): any; get runInstanceCount(): any; get runServiceInstanceCount(): any; get stopGroupCount(): any; private _subnetId?; get subnetId(): string; set subnetId(value: string); resetSubnetId(): void; get subnetIdInput(): string; private _tags?; get tags(): { [key: string]: string; }; set tags(value: { [key: string]: string; }); resetTags(): void; get tagsInput(): { [key: string]: string; }; private _tsfRegionId?; get tsfRegionId(): string; set tsfRegionId(value: string); resetTsfRegionId(): void; get tsfRegionIdInput(): string; get tsfRegionName(): any; private _tsfZoneId?; get tsfZoneId(): string; set tsfZoneId(value: string); resetTsfZoneId(): void; get tsfZoneIdInput(): string; get tsfZoneName(): any; get updateTime(): any; private _vpcId?; get vpcId(): string; set vpcId(value: string); get vpcIdInput(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }