import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface TemApplicationServiceConfig extends cdktf.TerraformMetaArguments { /** * application ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tem_application_service#application_id TemApplicationService#application_id} */ readonly applicationId: string; /** * environment ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tem_application_service#environment_id TemApplicationService#environment_id} */ readonly environmentId: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tem_application_service#id TemApplicationService#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; /** * service block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tem_application_service#service TemApplicationService#service} */ readonly service?: TemApplicationServiceService; } export interface TemApplicationServiceServicePortMappingItemListStruct { /** * container port. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tem_application_service#port TemApplicationService#port} */ readonly port?: number; /** * UDP or TCP. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tem_application_service#protocol TemApplicationService#protocol} */ readonly protocol?: string; /** * application listen port. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tem_application_service#target_port TemApplicationService#target_port} */ readonly targetPort?: number; } export declare function temApplicationServiceServicePortMappingItemListStructToTerraform(struct?: TemApplicationServiceServicePortMappingItemListStruct | cdktf.IResolvable): any; export declare function temApplicationServiceServicePortMappingItemListStructToHclTerraform(struct?: TemApplicationServiceServicePortMappingItemListStruct | cdktf.IResolvable): any; export declare class TemApplicationServiceServicePortMappingItemListStructOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @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(): TemApplicationServiceServicePortMappingItemListStruct | cdktf.IResolvable | undefined; set internalValue(value: TemApplicationServiceServicePortMappingItemListStruct | cdktf.IResolvable | undefined); private _port?; get port(): number; set port(value: number); resetPort(): void; get portInput(): number; private _protocol?; get protocol(): string; set protocol(value: string); resetProtocol(): void; get protocolInput(): string; private _targetPort?; get targetPort(): number; set targetPort(value: number); resetTargetPort(): void; get targetPortInput(): number; } export declare class TemApplicationServiceServicePortMappingItemListStructList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: TemApplicationServiceServicePortMappingItemListStruct[] | cdktf.IResolvable; /** * @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): TemApplicationServiceServicePortMappingItemListStructOutputReference; } export interface TemApplicationServiceService { /** * application service name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tem_application_service#service_name TemApplicationService#service_name} */ readonly serviceName?: string; /** * ID of subnet instance, required when type is `VPC`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tem_application_service#subnet_id TemApplicationService#subnet_id} */ readonly subnetId?: string; /** * application service type: EXTERNAL | VPC | CLUSTER. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tem_application_service#type TemApplicationService#type} */ readonly type?: string; /** * ID of vpc instance, required when type is `VPC`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tem_application_service#vpc_id TemApplicationService#vpc_id} */ readonly vpcId?: string; /** * port_mapping_item_list block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tem_application_service#port_mapping_item_list TemApplicationService#port_mapping_item_list} */ readonly portMappingItemList?: TemApplicationServiceServicePortMappingItemListStruct[] | cdktf.IResolvable; } export declare function temApplicationServiceServiceToTerraform(struct?: TemApplicationServiceServiceOutputReference | TemApplicationServiceService): any; export declare function temApplicationServiceServiceToHclTerraform(struct?: TemApplicationServiceServiceOutputReference | TemApplicationServiceService): any; export declare class TemApplicationServiceServiceOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): TemApplicationServiceService | undefined; set internalValue(value: TemApplicationServiceService | undefined); get ip(): any; private _serviceName?; get serviceName(): string; set serviceName(value: string); resetServiceName(): void; get serviceNameInput(): string; private _subnetId?; get subnetId(): string; set subnetId(value: string); resetSubnetId(): void; get subnetIdInput(): string; private _type?; get type(): string; set type(value: string); resetType(): void; get typeInput(): string; private _vpcId?; get vpcId(): string; set vpcId(value: string); resetVpcId(): void; get vpcIdInput(): string; private _portMappingItemList; get portMappingItemList(): TemApplicationServiceServicePortMappingItemListStructList; putPortMappingItemList(value: TemApplicationServiceServicePortMappingItemListStruct[] | cdktf.IResolvable): void; resetPortMappingItemList(): void; get portMappingItemListInput(): any; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tem_application_service tencentcloud_tem_application_service} */ export declare class TemApplicationService extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_tem_application_service"; /** * Generates CDKTF code for importing a TemApplicationService 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 TemApplicationService to import * @param importFromId The id of the existing TemApplicationService that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tem_application_service#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the TemApplicationService 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/tem_application_service tencentcloud_tem_application_service} 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 TemApplicationServiceConfig */ constructor(scope: Construct, id: string, config: TemApplicationServiceConfig); private _applicationId?; get applicationId(): string; set applicationId(value: string); get applicationIdInput(): string; private _environmentId?; get environmentId(): string; set environmentId(value: string); get environmentIdInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _service; get service(): TemApplicationServiceServiceOutputReference; putService(value: TemApplicationServiceService): void; resetService(): void; get serviceInput(): TemApplicationServiceService; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }