import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DataTencentcloudMongodbInstanceCurrentOpConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mongodb_instance_current_op#id DataTencentcloudMongodbInstanceCurrentOp#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; /** * Instance ID, the format is: cmgo-9d0p6umb.Same as the instance ID displayed in the cloud database console page. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mongodb_instance_current_op#instance_id DataTencentcloudMongodbInstanceCurrentOp#instance_id} */ readonly instanceId: string; /** * Filter condition, the time that the operation has been executed (unit: millisecond),the result will return the operation that exceeds the set time, the default value is 0,and the value range is [0, 3600000]. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mongodb_instance_current_op#millisecond_running DataTencentcloudMongodbInstanceCurrentOp#millisecond_running} */ readonly millisecondRunning?: number; /** * Filter condition, the namespace namespace to which the operation belongs, in the format of db.collection. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mongodb_instance_current_op#ns DataTencentcloudMongodbInstanceCurrentOp#ns} */ readonly ns?: string; /** * Filter condition, operation type, possible values: none, update, insert, query, command, getmore,remove and killcursors. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mongodb_instance_current_op#op DataTencentcloudMongodbInstanceCurrentOp#op} */ readonly op?: string; /** * Returns the sorted field of the result set, currently supports: MicrosecsRunning/microsecsrunning,the default is ascending sort. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mongodb_instance_current_op#order_by DataTencentcloudMongodbInstanceCurrentOp#order_by} */ readonly orderBy?: string; /** * Returns the sorting method of the result set, possible values: ASC/asc or DESC/desc. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mongodb_instance_current_op#order_by_type DataTencentcloudMongodbInstanceCurrentOp#order_by_type} */ readonly orderByType?: string; /** * filter condition, shard name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mongodb_instance_current_op#replica_set_name DataTencentcloudMongodbInstanceCurrentOp#replica_set_name} */ readonly replicaSetName?: string; /** * Used to save results. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mongodb_instance_current_op#result_output_file DataTencentcloudMongodbInstanceCurrentOp#result_output_file} */ readonly resultOutputFile?: string; /** * Filter condition, node status, possible value: primary, secondary. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mongodb_instance_current_op#state DataTencentcloudMongodbInstanceCurrentOp#state} */ readonly state?: string; } export interface DataTencentcloudMongodbInstanceCurrentOpCurrentOps { } export declare function dataTencentcloudMongodbInstanceCurrentOpCurrentOpsToTerraform(struct?: DataTencentcloudMongodbInstanceCurrentOpCurrentOps): any; export declare function dataTencentcloudMongodbInstanceCurrentOpCurrentOpsToHclTerraform(struct?: DataTencentcloudMongodbInstanceCurrentOpCurrentOps): any; export declare class DataTencentcloudMongodbInstanceCurrentOpCurrentOpsOutputReference 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(): DataTencentcloudMongodbInstanceCurrentOpCurrentOps | undefined; set internalValue(value: DataTencentcloudMongodbInstanceCurrentOpCurrentOps | undefined); get microsecsRunning(): any; get nodeName(): any; get ns(): any; get op(): any; get opId(): any; get operation(): any; get query(): any; get replicaSetName(): any; get state(): any; } export declare class DataTencentcloudMongodbInstanceCurrentOpCurrentOpsList 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): DataTencentcloudMongodbInstanceCurrentOpCurrentOpsOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mongodb_instance_current_op tencentcloud_mongodb_instance_current_op} */ export declare class DataTencentcloudMongodbInstanceCurrentOp extends cdktf.TerraformDataSource { static readonly tfResourceType = "tencentcloud_mongodb_instance_current_op"; /** * Generates CDKTF code for importing a DataTencentcloudMongodbInstanceCurrentOp 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 DataTencentcloudMongodbInstanceCurrentOp to import * @param importFromId The id of the existing DataTencentcloudMongodbInstanceCurrentOp that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mongodb_instance_current_op#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataTencentcloudMongodbInstanceCurrentOp 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/data-sources/mongodb_instance_current_op tencentcloud_mongodb_instance_current_op} Data Source * * @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 DataTencentcloudMongodbInstanceCurrentOpConfig */ constructor(scope: Construct, id: string, config: DataTencentcloudMongodbInstanceCurrentOpConfig); private _currentOps; get currentOps(): DataTencentcloudMongodbInstanceCurrentOpCurrentOpsList; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _instanceId?; get instanceId(): string; set instanceId(value: string); get instanceIdInput(): string; private _millisecondRunning?; get millisecondRunning(): number; set millisecondRunning(value: number); resetMillisecondRunning(): void; get millisecondRunningInput(): number; private _ns?; get ns(): string; set ns(value: string); resetNs(): void; get nsInput(): string; private _op?; get op(): string; set op(value: string); resetOp(): void; get opInput(): string; private _orderBy?; get orderBy(): string; set orderBy(value: string); resetOrderBy(): void; get orderByInput(): string; private _orderByType?; get orderByType(): string; set orderByType(value: string); resetOrderByType(): void; get orderByTypeInput(): string; private _replicaSetName?; get replicaSetName(): string; set replicaSetName(value: string); resetReplicaSetName(): void; get replicaSetNameInput(): string; private _resultOutputFile?; get resultOutputFile(): string; set resultOutputFile(value: string); resetResultOutputFile(): void; get resultOutputFileInput(): string; private _state?; get state(): string; set state(value: string); resetState(): void; get stateInput(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }