@volcengine/pulumi-volcenginecc 0.0.30 → 0.0.31

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.
Files changed (82) hide show
  1. package/cen/bandwidthPackage.d.ts +320 -0
  2. package/cen/bandwidthPackage.js +134 -0
  3. package/cen/bandwidthPackage.js.map +1 -0
  4. package/cen/getBandwidthPackage.d.ts +137 -0
  5. package/cen/getBandwidthPackage.js +28 -0
  6. package/cen/getBandwidthPackage.js.map +1 -0
  7. package/cen/getBandwidthPackages.d.ts +22 -0
  8. package/cen/getBandwidthPackages.js +24 -0
  9. package/cen/getBandwidthPackages.js.map +1 -0
  10. package/cen/index.d.ts +9 -0
  11. package/cen/index.js +12 -1
  12. package/cen/index.js.map +1 -1
  13. package/clb/clb.d.ts +8 -0
  14. package/clb/clb.js +2 -0
  15. package/clb/clb.js.map +1 -1
  16. package/clb/getClb.d.ts +4 -0
  17. package/clb/getClb.js.map +1 -1
  18. package/iam/accesskey.d.ts +2 -2
  19. package/iam/accesskey.js +2 -2
  20. package/iam/accesskey.js.map +1 -1
  21. package/mongodb/getInstance.d.ts +1 -1
  22. package/mongodb/instance.d.ts +3 -3
  23. package/package.json +1 -1
  24. package/privatelink/getVpcEndpoint.d.ts +137 -0
  25. package/privatelink/getVpcEndpoint.js +28 -0
  26. package/privatelink/getVpcEndpoint.js.map +1 -0
  27. package/privatelink/getVpcEndpoints.d.ts +22 -0
  28. package/privatelink/getVpcEndpoints.js +24 -0
  29. package/privatelink/getVpcEndpoints.js.map +1 -0
  30. package/privatelink/index.d.ts +9 -0
  31. package/privatelink/index.js +12 -1
  32. package/privatelink/index.js.map +1 -1
  33. package/privatelink/vpcEndpoint.d.ts +277 -0
  34. package/privatelink/vpcEndpoint.js +106 -0
  35. package/privatelink/vpcEndpoint.js.map +1 -0
  36. package/rdspostgresql/getInstance.d.ts +153 -0
  37. package/rdspostgresql/getInstance.js +28 -0
  38. package/rdspostgresql/getInstance.js.map +1 -0
  39. package/rdspostgresql/getInstances.d.ts +22 -0
  40. package/rdspostgresql/getInstances.js +24 -0
  41. package/rdspostgresql/getInstances.js.map +1 -0
  42. package/rdspostgresql/index.d.ts +9 -0
  43. package/rdspostgresql/index.js +12 -1
  44. package/rdspostgresql/index.js.map +1 -1
  45. package/rdspostgresql/instance.d.ts +303 -0
  46. package/rdspostgresql/instance.js +132 -0
  47. package/rdspostgresql/instance.js.map +1 -0
  48. package/tls/consumerGroup.d.ts +128 -0
  49. package/tls/consumerGroup.js +98 -0
  50. package/tls/consumerGroup.js.map +1 -0
  51. package/tls/getConsumerGroup.d.ts +60 -0
  52. package/tls/getConsumerGroup.js +28 -0
  53. package/tls/getConsumerGroup.js.map +1 -0
  54. package/tls/getConsumerGroups.d.ts +22 -0
  55. package/tls/getConsumerGroups.js +24 -0
  56. package/tls/getConsumerGroups.js.map +1 -0
  57. package/tls/getImportTask.d.ts +89 -0
  58. package/tls/getImportTask.js +28 -0
  59. package/tls/getImportTask.js.map +1 -0
  60. package/tls/getImportTasks.d.ts +22 -0
  61. package/tls/getImportTasks.js +24 -0
  62. package/tls/getImportTasks.js.map +1 -0
  63. package/tls/importTask.d.ts +183 -0
  64. package/tls/importTask.js +97 -0
  65. package/tls/importTask.js.map +1 -0
  66. package/tls/index.d.ts +18 -0
  67. package/tls/index.js +23 -1
  68. package/tls/index.js.map +1 -1
  69. package/types/input.d.ts +715 -0
  70. package/types/output.d.ts +1694 -388
  71. package/vedbm/endpoint.d.ts +247 -0
  72. package/vedbm/endpoint.js +93 -0
  73. package/vedbm/endpoint.js.map +1 -0
  74. package/vedbm/getEndpoint.d.ts +105 -0
  75. package/vedbm/getEndpoint.js +28 -0
  76. package/vedbm/getEndpoint.js.map +1 -0
  77. package/vedbm/getEndpoints.d.ts +22 -0
  78. package/vedbm/getEndpoints.js +24 -0
  79. package/vedbm/getEndpoints.js.map +1 -0
  80. package/vedbm/index.d.ts +9 -0
  81. package/vedbm/index.js +12 -1
  82. package/vedbm/index.js.map +1 -1
package/types/output.d.ts CHANGED
@@ -2889,6 +2889,14 @@ export declare namespace autoscaling {
2889
2889
  volumeType: string;
2890
2890
  }
2891
2891
  interface ScalingGroupInstance {
2892
+ /**
2893
+ * Time when the instance joined the scaling group
2894
+ */
2895
+ createdTime: string;
2896
+ /**
2897
+ * How the instance joined the scaling group (Attached / AutoCreated)
2898
+ */
2899
+ creationType: string;
2892
2900
  /**
2893
2901
  * Whether to enable managed mode for the instance when AttachInstances is performed
2894
2902
  */
@@ -2897,10 +2905,34 @@ export declare namespace autoscaling {
2897
2905
  * ECS instance ID, unique identifier of the subresource
2898
2906
  */
2899
2907
  instanceId: string;
2908
+ /**
2909
+ * Launch template ID used by the instance
2910
+ */
2911
+ launchTemplateId: string;
2912
+ /**
2913
+ * Launch template version used by the instance
2914
+ */
2915
+ launchTemplateVersion: string;
2900
2916
  /**
2901
2917
  * Whether to trigger lifecycle hooks when the instance is attached, detached, or removed
2902
2918
  */
2903
2919
  lifecycleHook: boolean;
2920
+ /**
2921
+ * Scaling configuration ID associated with the instance
2922
+ */
2923
+ scalingConfigurationId: string;
2924
+ /**
2925
+ * Scaling policy ID associated with the instance
2926
+ */
2927
+ scalingPolicyId: string;
2928
+ /**
2929
+ * Current status of the instance in the scaling group
2930
+ */
2931
+ status: string;
2932
+ /**
2933
+ * Availability zone of the instance
2934
+ */
2935
+ zoneId: string;
2904
2936
  }
2905
2937
  interface ScalingGroupInstanceRemovePolicy {
2906
2938
  /**
@@ -7923,6 +7955,16 @@ export declare namespace cdn {
7923
7955
  }
7924
7956
  }
7925
7957
  export declare namespace cen {
7958
+ interface BandwidthPackageTag {
7959
+ /**
7960
+ * Tag key for user tags. Parameter - N: indicates the tag key index, value range: 1–20. Use & to separate multiple tag keys. Cannot start with sys:, in any case. Length range: 1–128 characters. Supports all languages, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals (=), plus (+), hyphens (-), and @ (@). If a tag key starts or ends with a space, the system automatically removes it.
7961
+ */
7962
+ key: string;
7963
+ /**
7964
+ * Tag value for user tags. Parameter - N indicates the tag value index, range: 1–20. Use & to separate multiple tag values. Length range: 0–256 characters. If not specified, defaults to empty. Supports all languages, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals signs (=), plus signs (+), hyphens (-), and @ (@). Case-sensitive. If the tag value starts or ends with a space, the system automatically removes it.
7965
+ */
7966
+ value: string;
7967
+ }
7926
7968
  interface CenInstance {
7927
7969
  /**
7928
7970
  * Network instance ID
@@ -7951,6 +7993,16 @@ export declare namespace cen {
7951
7993
  */
7952
7994
  value: string;
7953
7995
  }
7996
+ interface GetBandwidthPackageTag {
7997
+ /**
7998
+ * Tag key for user tags. Parameter - N: indicates the tag key index, value range: 1–20. Use & to separate multiple tag keys. Cannot start with sys:, in any case. Length range: 1–128 characters. Supports all languages, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals (=), plus (+), hyphens (-), and @ (@). If a tag key starts or ends with a space, the system automatically removes it.
7999
+ */
8000
+ key: string;
8001
+ /**
8002
+ * Tag value for user tags. Parameter - N indicates the tag value index, range: 1–20. Use & to separate multiple tag values. Length range: 0–256 characters. If not specified, defaults to empty. Supports all languages, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals signs (=), plus signs (+), hyphens (-), and @ (@). Case-sensitive. If the tag value starts or ends with a space, the system automatically removes it.
8003
+ */
8004
+ value: string;
8005
+ }
7954
8006
  interface GetCenInstance {
7955
8007
  /**
7956
8008
  * CEN instance ID
@@ -8113,6 +8165,28 @@ export declare namespace clb {
8113
8165
  */
8114
8166
  eniId: string;
8115
8167
  }
8168
+ interface ClbIpv6AddressBandwidth {
8169
+ /**
8170
+ * Peak bandwidth of IPv6 public bandwidth, in Mbps
8171
+ */
8172
+ bandwidth: number;
8173
+ /**
8174
+ * Shared bandwidth package ID associated with IPv6 public bandwidth
8175
+ */
8176
+ bandwidthPackageId: string;
8177
+ /**
8178
+ * Billing type for IPv6 public bandwidth
8179
+ */
8180
+ billingType: number;
8181
+ /**
8182
+ * Line type of IPv6 public bandwidth
8183
+ */
8184
+ isp: string;
8185
+ /**
8186
+ * Network type of the load balancer instance's IPv6 address
8187
+ */
8188
+ networkType: string;
8189
+ }
8116
8190
  interface ClbListener {
8117
8191
  /**
8118
8192
  * Listener ID
@@ -8263,6 +8337,28 @@ export declare namespace clb {
8263
8337
  */
8264
8338
  eniId: string;
8265
8339
  }
8340
+ interface GetClbIpv6AddressBandwidth {
8341
+ /**
8342
+ * Peak bandwidth of IPv6 public bandwidth, in Mbps
8343
+ */
8344
+ bandwidth: number;
8345
+ /**
8346
+ * Shared bandwidth package ID associated with IPv6 public bandwidth
8347
+ */
8348
+ bandwidthPackageId: string;
8349
+ /**
8350
+ * Billing type for IPv6 public bandwidth
8351
+ */
8352
+ billingType: number;
8353
+ /**
8354
+ * Line type of IPv6 public bandwidth
8355
+ */
8356
+ isp: string;
8357
+ /**
8358
+ * Network type of the load balancer instance's IPv6 address
8359
+ */
8360
+ networkType: string;
8361
+ }
8266
8362
  interface GetClbListener {
8267
8363
  /**
8268
8364
  * Listener ID
@@ -9401,6 +9497,10 @@ export declare namespace cloudmonitor {
9401
9497
  * Comparison operators. Supports standard threshold alerting: >, >=, <, <=, !=, =, as well as the following period-over-period alerting: last*period*increase*pct: Increased compared to last period. last*period*decrease*pct: Decreased compared to last period. last*period*abs*pct: Increased or decreased compared to last period. last*day*increase*pct: Increased compared to the same period yesterday. last*day*decrease*pct: Decreased compared to the same period yesterday. last*day*abs*pct: Increased or decreased compared to the same period yesterday. last*week*increase*pct: Increased compared to the same period last week. last*week*decrease*pct: Decreased compared to the same period last week. last*week*abs_pct: Increased or decreased compared to the same period last week.
9402
9498
  */
9403
9499
  comparisonOperator: string;
9500
+ /**
9501
+ * Metric display name.
9502
+ */
9503
+ displayName: string;
9404
9504
  /**
9405
9505
  * Monitoring metric name. For details, see MetricName for each product in Cloud Monitoring Metric Query.
9406
9506
  */
@@ -10883,6 +10983,18 @@ export declare namespace ecs {
10883
10983
  * The number of IPv6 addresses for the instance.
10884
10984
  */
10885
10985
  ipv6AddressCount: number;
10986
+ /**
10987
+ * IPv6 address of the instance.
10988
+ */
10989
+ ipv6Addresses: string[];
10990
+ /**
10991
+ * Instance MAC address.
10992
+ */
10993
+ macAddress: string;
10994
+ /**
10995
+ * The network interface ID of the instance.
10996
+ */
10997
+ networkInterfaceId: string;
10886
10998
  /**
10887
10999
  * Instance primary IP address
10888
11000
  */
@@ -10899,6 +11011,10 @@ export declare namespace ecs {
10899
11011
  * Instance subnet ID.
10900
11012
  */
10901
11013
  subnetId: string;
11014
+ /**
11015
+ * VPC ID of the instance.
11016
+ */
11017
+ vpcId: string;
10902
11018
  }
10903
11019
  interface InstanceSystemVolume {
10904
11020
  /**
@@ -15545,6 +15661,82 @@ export declare namespace privatelink {
15545
15661
  */
15546
15662
  value: string;
15547
15663
  }
15664
+ interface GetVpcEndpointTag {
15665
+ /**
15666
+ * Tag key of the endpoint user tag. Length limit: 1–128 characters. Case sensitive. Cannot start with 'or' or 'sys:' in any case combination. Cannot start or end with a space. Allowed characters: letters, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equal signs (=), plus signs (+), hyphens (-), and @.
15667
+ */
15668
+ key: string;
15669
+ /**
15670
+ * Tag value of the endpoint user tag. Length limit: 0–256 characters. Case sensitive. Cannot start or end with a space. Allowed characters: letters, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equal signs (=), plus signs (+), hyphens (-), and @
15671
+ */
15672
+ value: string;
15673
+ }
15674
+ interface GetVpcEndpointZone {
15675
+ /**
15676
+ * Service status of the endpoint node's IPv6 address. Active: normal. Inactive: abnormal.
15677
+ */
15678
+ ipv6ServiceStatus: string;
15679
+ /**
15680
+ * ID of the endpoint NIC used to connect to new service resources. If not in the process of seamless service resource replacement, this parameter returns empty.
15681
+ */
15682
+ networkInterfaceId: string;
15683
+ /**
15684
+ * The private IPv4 address of the endpoint node's network interface must belong to the subnet's IPv4 CIDR block. You can call the DescribeSubnets API to obtain the subnet's CIDR block. Parameter -N: indicates the sequence number of the private IPv4 address, with a value range of 1–10. Use & to separate multiple private IPv4 addresses.
15685
+ */
15686
+ privateIpAddress: string;
15687
+ /**
15688
+ * The private IPv6 address of the endpoint node's network interface must belong to the subnet's IPv6 CIDR block. You can call the DescribeSubnets API to obtain the subnet's CIDR block. Parameter -N: indicates the sequence number of the private IPv6 address, with a value range of 1–10. Use & to separate multiple private IPv6 addresses. If not specified, an IPv6 address will be randomly assigned within the subnet's IPv6 CIDR block by default.
15689
+ */
15690
+ privateIpv6Address: string;
15691
+ /**
15692
+ * Service status of the endpoint IPv4 address. Active: Normal. Inactive: Abnormal.
15693
+ */
15694
+ serviceStatus: string;
15695
+ /**
15696
+ * ID of the subnet to which the NIC of the endpoint to be created belongs. You can call the DescribeSubnets API to obtain the subnet ID. Parameter -N: Indicates the sequence number of the subnet ID, value range: 1–10. Separate multiple subnet IDs with &.
15697
+ */
15698
+ subnetId: string;
15699
+ /**
15700
+ * Domain name of the endpoint availability zone.
15701
+ */
15702
+ zoneDomain: string;
15703
+ /**
15704
+ * ID of the availability zone to which the NIC of the endpoint to be created belongs. For more information about availability zones, see Regions and Availability Zones. Parameter -N: Indicates the sequence number of the availability zone, value range: 1–10. Separate multiple availability zone IDs with &.
15705
+ */
15706
+ zoneId: string;
15707
+ /**
15708
+ * Status of the endpoint node's availability zone. PendingAcceptance: waiting for connection. Connecting: connecting. Connected: connected. Disconnecting: disconnecting. Rejected: connection rejected. Failed: connection failed.
15709
+ */
15710
+ zoneStatus: string;
15711
+ }
15712
+ interface VpcEndpointTag {
15713
+ /**
15714
+ * Tag key of the endpoint user tag. Length limit: 1–128 characters. Case sensitive. Cannot start with 'or' or 'sys:' in any case combination. Cannot start or end with a space. Allowed characters: letters, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equal signs (=), plus signs (+), hyphens (-), and @.
15715
+ */
15716
+ key: string;
15717
+ /**
15718
+ * Tag value of the endpoint user tag. Length limit: 0–256 characters. Case sensitive. Cannot start or end with a space. Allowed characters: letters, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equal signs (=), plus signs (+), hyphens (-), and @
15719
+ */
15720
+ value: string;
15721
+ }
15722
+ interface VpcEndpointZone {
15723
+ /**
15724
+ * The private IPv4 address of the endpoint node's network interface must belong to the subnet's IPv4 CIDR block. You can call the DescribeSubnets API to obtain the subnet's CIDR block. Parameter -N: indicates the sequence number of the private IPv4 address, with a value range of 1–10. Use & to separate multiple private IPv4 addresses.
15725
+ */
15726
+ privateIpAddress: string;
15727
+ /**
15728
+ * The private IPv6 address of the endpoint node's network interface must belong to the subnet's IPv6 CIDR block. You can call the DescribeSubnets API to obtain the subnet's CIDR block. Parameter -N: indicates the sequence number of the private IPv6 address, with a value range of 1–10. Use & to separate multiple private IPv6 addresses. If not specified, an IPv6 address will be randomly assigned within the subnet's IPv6 CIDR block by default.
15729
+ */
15730
+ privateIpv6Address: string;
15731
+ /**
15732
+ * ID of the subnet to which the NIC of the endpoint to be created belongs. You can call the DescribeSubnets API to obtain the subnet ID. Parameter -N: Indicates the sequence number of the subnet ID, value range: 1–10. Separate multiple subnet IDs with &.
15733
+ */
15734
+ subnetId: string;
15735
+ /**
15736
+ * ID of the availability zone to which the NIC of the endpoint to be created belongs. For more information about availability zones, see Regions and Availability Zones. Parameter -N: Indicates the sequence number of the availability zone, value range: 1–10. Separate multiple availability zone IDs with &.
15737
+ */
15738
+ zoneId: string;
15739
+ }
15548
15740
  }
15549
15741
  export declare namespace privatezone {
15550
15742
  interface GetResolverEndpointIpConfig {
@@ -15960,6 +16152,26 @@ export declare namespace rdsmssql {
15960
16152
  * Instance ID
15961
16153
  */
15962
16154
  instanceId: string;
16155
+ /**
16156
+ * Instance name
16157
+ */
16158
+ instanceName: string;
16159
+ /**
16160
+ * Instance status
16161
+ */
16162
+ instanceStatus: string;
16163
+ /**
16164
+ * Sync latest allowlist IP
16165
+ */
16166
+ isLatest: boolean;
16167
+ /**
16168
+ * Project name of the instance
16169
+ */
16170
+ projectName: string;
16171
+ /**
16172
+ * VPC ID of the instance
16173
+ */
16174
+ vpc: string;
15963
16175
  }
15964
16176
  interface GetAllowListAssociatedInstance {
15965
16177
  /**
@@ -17408,416 +17620,889 @@ export declare namespace rdspostgresql {
17408
17620
  */
17409
17621
  weight: number;
17410
17622
  }
17411
- }
17412
- export declare namespace redis {
17413
- interface GetInstanceCapacity {
17623
+ interface GetInstanceChargeDetail {
17414
17624
  /**
17415
- * Total memory capacity of the current instance. Unit: MiB.
17625
+ * Enable auto-renewal for prepaid scenarios
17416
17626
  */
17417
- total: number;
17627
+ autoRenew: boolean;
17418
17628
  /**
17419
- * Used capacity of the current instance. Unit: MiB.
17629
+ * Billing expiration time for yearly/monthly instances
17420
17630
  */
17421
- used: number;
17422
- }
17423
- interface GetInstanceConfigureNode {
17631
+ chargeEndTime: string;
17424
17632
  /**
17425
- * The availability zone each node belongs to.
17633
+ * Instance billing start time
17426
17634
  */
17427
- az: string;
17428
- }
17429
- interface GetInstanceInstanceShard {
17635
+ chargeStartTime: string;
17430
17636
  /**
17431
- * Number of nodes in each shard
17637
+ * Payment status. Value: - `Normal`: Normal - `Overdue`: Overdue and suspended - `Unpaid`: Unpaid
17432
17638
  */
17433
- nodeNumber: number;
17639
+ chargeStatus: string;
17434
17640
  /**
17435
- * Detailed list of all Server nodes in the shard.
17641
+ * Payment type. Value: - `PostPaid`: Postpaid - `PrePaid`: Prepaid
17436
17642
  */
17437
- serverNodes: outputs.redis.GetInstanceInstanceShardServerNode[];
17643
+ chargeType: string;
17438
17644
  /**
17439
- * Shard ID.
17645
+ * Estimated release time after instance suspension due to overdue payment
17440
17646
  */
17441
- shardId: string;
17442
- }
17443
- interface GetInstanceInstanceShardServerNode {
17647
+ overdueReclaimTime: string;
17444
17648
  /**
17445
- * Current role of the node. Valid values: PrimaryNode: primary node; SecondaryNode: secondary node.
17649
+ * Instance shutdown time due to overdue payment
17446
17650
  */
17447
- currentRole: string;
17651
+ overdueTime: string;
17448
17652
  /**
17449
- * Node ID.
17653
+ * Purchase duration for prepaid scenarios
17450
17654
  */
17451
- nodeId: string;
17655
+ period: number;
17452
17656
  /**
17453
- * Node status. Valid values: deploy: starting; running: running; loading: loading data; error: error.
17657
+ * Purchase period for prepaid scenarios. Values: - `Month`: month - `Year`: year
17454
17658
  */
17455
- status: string;
17659
+ periodUnit: string;
17456
17660
  /**
17457
- * Availability zone where the node is located.
17661
+ * Rollback time for temporary upgrade
17458
17662
  */
17459
- zoneId: string;
17663
+ tempModifyEndTime: string;
17664
+ /**
17665
+ * Start time of temporary scaling
17666
+ */
17667
+ tempModifyStartTime: string;
17460
17668
  }
17461
- interface GetInstanceTag {
17669
+ interface GetInstanceEndpoint {
17462
17670
  /**
17463
- * Tag key.
17671
+ * Address list.
17464
17672
  */
17465
- key: string;
17673
+ addresses: outputs.rdspostgresql.GetInstanceEndpointAddress[];
17466
17674
  /**
17467
- * Tag value.
17675
+ * When the terminal type is read-write or read-only, you can set whether new nodes join automatically. Values: - `Enable`: join automatically - `Disable`: do not join automatically (default)
17468
17676
  */
17469
- value: string;
17470
- }
17471
- interface GetInstanceVisitAddr {
17677
+ autoAddNewNodes: string;
17472
17678
  /**
17473
- * Connection address type. Value options: Private: Private network connection address; Public: Public network connection address; DirectLink: Direct connection address.
17679
+ * Address description.
17474
17680
  */
17475
- addrType: string;
17681
+ description: string;
17476
17682
  /**
17477
- * IP address or domain name.
17683
+ * Enable global read-only mode. - `Enable`: enabled - `Disable`: not enabled
17478
17684
  */
17479
- address: string;
17685
+ enableReadOnly: string;
17480
17686
  /**
17481
- * EIP ID bound to the instance's public address. This parameter is returned only when the connection address type (AddrType) is Public.
17687
+ * Enable read-write separation. Values: - `Enable`: enabled - `Disable`: not enabled
17482
17688
  */
17483
- eipId: string;
17689
+ enableReadWriteSplitting: string;
17484
17690
  /**
17485
- * Port number.
17691
+ * Instance connection terminal ID
17486
17692
  */
17487
- port: string;
17693
+ endpointId: string;
17488
17694
  /**
17489
- * IPv6 address corresponding to the connection address.
17695
+ * Instance connection terminal name
17490
17696
  */
17491
- viPv6: string;
17697
+ endpointName: string;
17492
17698
  /**
17493
- * The IPv4 address corresponding to the connection address.
17699
+ * Endpoint type: - `Cluster`: Default endpoint (created by default) - `Custom`: Custom endpoint
17494
17700
  */
17495
- vip: string;
17496
- }
17497
- interface InstanceCapacity {
17701
+ endpointType: string;
17498
17702
  /**
17499
- * Total memory capacity of the current instance. Unit: MiB.
17703
+ * Read-only weight allocation mode. Options: - `Default`: Standard weight allocation (default). - `Custom`: Custom weight allocation
17500
17704
  */
17501
- total: number;
17705
+ readOnlyNodeDistributionType: string;
17502
17706
  /**
17503
- * Used capacity of the current instance. Unit: MiB.
17707
+ * Maximum latency threshold for read-only nodes. If a read-only node's latency exceeds this value, read traffic will not be sent to that node. Unit: seconds. Range: 0~3600. Default: 30.
17708
+ * **Note:** This parameter can be set for the default endpoint when read/write splitting is enabled.
17504
17709
  */
17505
- used: number;
17506
- }
17507
- interface InstanceConfigureNode {
17710
+ readOnlyNodeMaxDelayTime: number;
17508
17711
  /**
17509
- * The availability zone each node belongs to.
17712
+ * List of nodes configured for the endpoint and their corresponding read-only weights.
17510
17713
  */
17511
- az: string;
17512
- }
17513
- interface InstanceInstanceShard {
17714
+ readOnlyNodeWeights: outputs.rdspostgresql.GetInstanceEndpointReadOnlyNodeWeight[];
17514
17715
  /**
17515
- * Number of nodes in each shard
17716
+ * Read/write mode: - `ReadWrite`: Read/write - `ReadOnly`: Read-only
17516
17717
  */
17517
- nodeNumber: number;
17518
- serverNodes: outputs.redis.InstanceInstanceShardServerNode[];
17718
+ readWriteMode: string;
17519
17719
  /**
17520
- * Shard ID.
17720
+ * After read/write splitting is enabled for the terminal, set the number of proxy connections for the terminal. - The minimum value for proxy connections is 20. - The maximum value depends on the specification of the instance's primary node. Different specifications support different maximum proxy connections. For details, see [Product Specifications]
17521
17721
  */
17522
- shardId: string;
17722
+ readWriteProxyConnection: number;
17723
+ /**
17724
+ * Whether the endpoint sends write requests to the write node (currently, only the primary node is the write node). Value: - `true`: Yes. (Default) - `false`: No
17725
+ */
17726
+ writeNodeHaltWriting: boolean;
17523
17727
  }
17524
- interface InstanceInstanceShardServerNode {
17728
+ interface GetInstanceEndpointAddress {
17525
17729
  /**
17526
- * Current role of the node. Valid values: PrimaryNode: primary node; SecondaryNode: secondary node.
17730
+ * Private network address accessible across regions
17527
17731
  */
17528
- currentRole: string;
17732
+ crossRegionDomain: string;
17529
17733
  /**
17530
- * Node ID.
17734
+ * Enable public network resolution. Values: - false: default, private network resolution - true: private and public network resolution
17531
17735
  */
17532
- nodeId: string;
17736
+ dnsVisibility: boolean;
17533
17737
  /**
17534
- * Node status. Valid values: deploy: starting; running: running; loading: loading data; error: error.
17738
+ * Connection domain name
17535
17739
  */
17536
- status: string;
17740
+ domain: string;
17537
17741
  /**
17538
- * Availability zone where the node is located.
17742
+ * Private network address type. Values: LocalDomain: local region domain name CrossRegionDomain: cross-region accessible domain name
17539
17743
  */
17540
- zoneId: string;
17541
- }
17542
- interface InstanceTag {
17744
+ domainVisibilitySetting: string;
17543
17745
  /**
17544
- * Tag key.
17746
+ * EIP ID, valid only for Public addresses
17545
17747
  */
17546
- key: string;
17748
+ eipId: string;
17547
17749
  /**
17548
- * Tag value.
17750
+ * IP address
17549
17751
  */
17550
- value: string;
17551
- }
17552
- interface InstanceVisitAddr {
17752
+ ipAddress: string;
17553
17753
  /**
17554
- * Connection address type. Value options: Private: Private network connection address; Public: Public network connection address; DirectLink: Direct connection address.
17754
+ * Network address type. Value: - `Private`: Private network address - `Public`: Public network address - `Inner`: Public service zone address
17555
17755
  */
17556
- addrType: string;
17756
+ networkType: string;
17557
17757
  /**
17558
- * IP address or domain name.
17758
+ * Port.
17559
17759
  */
17560
- address: string;
17760
+ port: string;
17561
17761
  /**
17562
- * EIP ID bound to the instance's public address. This parameter is returned only when the connection address type (AddrType) is Public.
17762
+ * Subnet ID
17563
17763
  */
17564
- eipId: string;
17764
+ subnetId: string;
17765
+ }
17766
+ interface GetInstanceEndpointReadOnlyNodeWeight {
17565
17767
  /**
17566
- * Port number.
17768
+ * Read-only nodes require NodeId
17567
17769
  */
17568
- port: string;
17770
+ nodeId: string;
17569
17771
  /**
17570
- * IPv6 address corresponding to the connection address.
17772
+ * Node type
17571
17773
  */
17572
- viPv6: string;
17774
+ nodeType: string;
17573
17775
  /**
17574
- * The IPv4 address corresponding to the connection address.
17776
+ * Node read weight, increases by 100, maximum value is 10000
17575
17777
  */
17576
- vip: string;
17778
+ weight: number;
17577
17779
  }
17578
- }
17579
- export declare namespace rocketmq {
17580
- interface AllowListAssociatedInstance {
17780
+ interface GetInstanceMaintenanceWindow {
17581
17781
  /**
17582
- * Instance ID
17782
+ * Granularity of the maintenance cycle. Value: Week (week)
17583
17783
  */
17584
- instanceId: string;
17784
+ dayKind: string;
17785
+ /**
17786
+ * Detailed information about the instance's maintenance window.
17787
+ */
17788
+ dayOfWeekMaintenanceTimes: outputs.rdspostgresql.GetInstanceMaintenanceWindowDayOfWeekMaintenanceTime[];
17585
17789
  }
17586
- interface GetAllowListAssociatedInstance {
17790
+ interface GetInstanceMaintenanceWindowDayOfWeekMaintenanceTime {
17791
+ /**
17792
+ * Specify maintenance days for the instance each week. Multiple selections allowed. Monday: Monday. Tuesday: Tuesday. Wednesday: Wednesday. Thursday: Thursday. Friday: Friday. Saturday: Saturday. Sunday: Sunday. Note: If not specified or left blank, all seven days are enabled by default.
17793
+ */
17794
+ dayOfWeek: string;
17795
+ /**
17796
+ * Start time of the maintenance window on the maintenance day. Format: HH:mmZ (UTC time). Currently, only start times between 16:00Z and 20:00Z are supported.
17797
+ */
17798
+ maintenanceWindowStartTime: string;
17799
+ /**
17800
+ * Duration of the maintenance window on the maintenance day. Minimum duration is 2 hours, maximum is 6 hours.
17801
+ */
17802
+ period: number;
17803
+ }
17804
+ interface GetInstanceNodeInfo {
17805
+ /**
17806
+ * Node creation time. Format: yyyy-MM-ddTHH:mm:ss.sssZ (UTC time)
17807
+ */
17808
+ createTime: string;
17587
17809
  /**
17588
17810
  * Instance ID
17589
17811
  */
17590
17812
  instanceId: string;
17591
17813
  /**
17592
- * Instance Name
17814
+ * Memory size, unit: GB
17593
17815
  */
17594
- instanceName: string;
17816
+ memory: number;
17595
17817
  /**
17596
- * VPC ID of the instance
17818
+ * Node ID
17597
17819
  */
17598
- vpc: string;
17599
- }
17600
- interface GetGroupConsumedClient {
17820
+ nodeId: string;
17601
17821
  /**
17602
- * Address and port of this consumer instance.
17822
+ * Node specification
17603
17823
  */
17604
- clientAddress: string;
17824
+ nodeSpec: string;
17605
17825
  /**
17606
- * ID of this consumer instance.
17826
+ * Node status
17607
17827
  */
17608
- clientId: string;
17828
+ nodeStatus: string;
17609
17829
  /**
17610
- * Message backlog.
17830
+ * Node type
17611
17831
  */
17612
- diff: number;
17832
+ nodeType: string;
17613
17833
  /**
17614
- * Development language of the consumer application.
17834
+ * Region ID
17615
17835
  */
17616
- language: string;
17836
+ regionId: string;
17617
17837
  /**
17618
- * Consumer version.
17838
+ * Node update time. Format: yyyy-MM-ddTHH:mm:ss.sssZ (UTC time)
17619
17839
  */
17620
- version: string;
17621
- }
17622
- interface GetGroupConsumedTopic {
17840
+ updateTime: string;
17623
17841
  /**
17624
- * Number of queues associated with the Topic. Each Topic contains one or more queues for storing messages.
17842
+ * CPU size. For example: 1 means 1U
17625
17843
  */
17626
- queueNum: number;
17844
+ vcpu: number;
17627
17845
  /**
17628
- * Subscription rules.
17846
+ * Availability zone of the node
17629
17847
  */
17630
- subString: string;
17848
+ zoneId: string;
17849
+ }
17850
+ interface GetInstanceTag {
17631
17851
  /**
17632
- * Name of the Topic subscribed by the client.
17852
+ * Tag key
17633
17853
  */
17634
- topicName: string;
17854
+ key: string;
17855
+ /**
17856
+ * Tag value
17857
+ */
17858
+ value: string;
17635
17859
  }
17636
- interface GetInstanceChargeDetail {
17860
+ interface InstanceChargeDetail {
17637
17861
  /**
17638
- * Whether the subscription instance is automatically renewed upon expiration. true: automatically renewed. false: not automatically renewed. Manual renewal is required after expiration; otherwise, the instance will be shut down.
17862
+ * Enable auto-renewal for prepaid scenarios
17639
17863
  */
17640
17864
  autoRenew: boolean;
17641
17865
  /**
17642
- * Expiration time for yearly/monthly subscription instances. The time format is YYYY-MM-DD'T'HH:MM:SS'Z'. For pay-as-you-go instances, this field defaults to 1970-01-01T00:00:00Z.
17866
+ * Billing expiration time for yearly/monthly instances
17643
17867
  */
17644
- chargeExpireTime: string;
17868
+ chargeEndTime: string;
17645
17869
  /**
17646
- * Billing start time for the instance. The time format is YYYY-MM-DD'T'HH:MM:SS'Z'.
17870
+ * Instance billing start time
17647
17871
  */
17648
17872
  chargeStartTime: string;
17649
17873
  /**
17650
- * Instance billing status. Includes: Normal: normal Overdue: pay-as-you-go overdue Expired: subscription expired
17874
+ * Payment status. Value: - `Normal`: Normal - `Overdue`: Overdue and suspended - `Unpaid`: Unpaid
17651
17875
  */
17652
17876
  chargeStatus: string;
17653
17877
  /**
17654
- * Billing type for the instance. Supported types include: PostPaid: pay-as-you-go; PrePaid: yearly/monthly subscription
17878
+ * Payment type. Value: - `PostPaid`: Postpaid - `PrePaid`: Prepaid
17655
17879
  */
17656
17880
  chargeType: string;
17657
17881
  /**
17658
- * Estimated release time after the instance is suspended due to overdue payment. The time format is YYYY-MM-DD'T'HH:MM:SS'Z'.
17882
+ * Estimated release time after instance suspension due to overdue payment
17659
17883
  */
17660
17884
  overdueReclaimTime: string;
17661
17885
  /**
17662
- * Suspension time due to overdue payment for the instance. The time format is YYYY-MM-DD'T'HH:MM:SS'Z'.
17886
+ * Instance shutdown time due to overdue payment
17663
17887
  */
17664
17888
  overdueTime: string;
17665
17889
  /**
17666
- * Purchase duration for subscription instances. When PeriodUnit is set to Monthly, the value range is 1–9. When PeriodUnit is set to Yearly, the value range is 1–3. Only required for subscription instances, that is, when ChargeType is set to PrePaid.
17890
+ * Purchase duration for prepaid scenarios
17667
17891
  */
17668
17892
  period: number;
17669
17893
  /**
17670
- * Lifecycle unit for subscription-based instances, specifying whether to purchase by month or by year. Monthly: (default) monthly subscription Yearly: annual subscription
17894
+ * Purchase period for prepaid scenarios. Values: - `Month`: month - `Year`: year
17671
17895
  */
17672
17896
  periodUnit: string;
17673
- }
17674
- interface GetInstanceConnectionInfo {
17675
17897
  /**
17676
- * Instance endpoint IP address.
17898
+ * Rollback time for temporary upgrade
17677
17899
  */
17678
- endpointAddressIp: string;
17900
+ tempModifyEndTime: string;
17679
17901
  /**
17680
- * Instance access point type.
17902
+ * Start time of temporary scaling
17681
17903
  */
17682
- endpointType: string;
17904
+ tempModifyStartTime: string;
17905
+ }
17906
+ interface InstanceEndpoint {
17907
+ addresses: outputs.rdspostgresql.InstanceEndpointAddress[];
17683
17908
  /**
17684
- * Private network endpoint address for the instance.
17909
+ * When the terminal type is read-write or read-only, you can set whether new nodes join automatically. Values: - `Enable`: join automatically - `Disable`: do not join automatically (default)
17685
17910
  */
17686
- internalEndpoint: string;
17911
+ autoAddNewNodes: string;
17687
17912
  /**
17688
- * Instance access point type.
17913
+ * Address description.
17689
17914
  */
17690
- networkType: string;
17915
+ description: string;
17691
17916
  /**
17692
- * Public access point address of the instance.
17917
+ * Enable global read-only mode. - `Enable`: enabled - `Disable`: not enabled
17693
17918
  */
17694
- publicEndpoint: string;
17695
- }
17696
- interface GetInstanceProductInfo {
17919
+ enableReadOnly: string;
17697
17920
  /**
17698
- * Edit the read/write throttling ratio. The default read/write ratio is 50% each. For example, if set to 40, the sending TPS ratio is 40% and the subscription ratio is 60%. Note: Only RocketMQ 5.x instances support adjusting the TPS ratio for the instance.
17921
+ * Enable read-write separation. Values: - `Enable`: enabled - `Disable`: not enabled
17699
17922
  */
17700
- sendReceiveRatio: number;
17701
- }
17702
- interface GetInstanceTag {
17923
+ enableReadWriteSplitting: string;
17703
17924
  /**
17704
- * Tag key.
17925
+ * Instance connection terminal ID
17705
17926
  */
17706
- key: string;
17927
+ endpointId: string;
17707
17928
  /**
17708
- * Tag value.
17929
+ * Instance connection terminal name
17709
17930
  */
17710
- value: string;
17711
- }
17712
- interface GetTopicAccessPolicy {
17931
+ endpointName: string;
17713
17932
  /**
17714
- * AccessKey of the RocketMQ key.
17933
+ * Endpoint type: - `Cluster`: Default endpoint (created by default) - `Custom`: Custom endpoint
17715
17934
  */
17716
- accessKey: string;
17935
+ endpointType: string;
17717
17936
  /**
17718
- * User access permissions for the current Topic. ALL: Publish and subscribe permissions. PUB: Publish permission. SUB: Subscribe permission. DENY: No publish or subscribe permissions.
17937
+ * Read-only weight allocation mode. Options: - `Default`: Standard weight allocation (default). - `Custom`: Custom weight allocation
17719
17938
  */
17720
- authority: string;
17721
- }
17722
- interface GetTopicGroupsInfo {
17939
+ readOnlyNodeDistributionType: string;
17723
17940
  /**
17724
- * Group ID of the consumer group.
17941
+ * Maximum latency threshold for read-only nodes. If a read-only node's latency exceeds this value, read traffic will not be sent to that node. Unit: seconds. Range: 0~3600. Default: 30.
17942
+ * **Note:** This parameter can be set for the default endpoint when read/write splitting is enabled.
17725
17943
  */
17726
- groupId: string;
17944
+ readOnlyNodeMaxDelayTime: number;
17945
+ readOnlyNodeWeights: outputs.rdspostgresql.InstanceEndpointReadOnlyNodeWeight[];
17727
17946
  /**
17728
- * Consumption mode. The values are as follows: Clustering: cluster consumption mode. Broadcasting: broadcast consumption mode.
17947
+ * Read/write mode: - `ReadWrite`: Read/write - `ReadOnly`: Read-only
17729
17948
  */
17730
- messageModel: string;
17949
+ readWriteMode: string;
17731
17950
  /**
17732
- * Subscription rule. This field contains the exact string specified by the consumer group when subscribing to this Topic, usually * or TAG1 || TAG2.
17951
+ * After read/write splitting is enabled for the terminal, set the number of proxy connections for the terminal. - The minimum value for proxy connections is 20. - The maximum value depends on the specification of the instance's primary node. Different specifications support different maximum proxy connections. For details, see [Product Specifications]
17733
17952
  */
17734
- subString: string;
17953
+ readWriteProxyConnection: number;
17954
+ /**
17955
+ * Whether the endpoint sends write requests to the write node (currently, only the primary node is the write node). Value: - `true`: Yes. (Default) - `false`: No
17956
+ */
17957
+ writeNodeHaltWriting: boolean;
17735
17958
  }
17736
- interface GetTopicQueuesInfo {
17959
+ interface InstanceEndpointAddress {
17737
17960
  /**
17738
- * The maximum offset of the current queue, which is the offset of the next message. The position of the latest message is EndOffset - 1.
17961
+ * Private network address accessible across regions
17739
17962
  */
17740
- endOffset: number;
17963
+ crossRegionDomain: string;
17741
17964
  /**
17742
- * The time of the most recent message written to this queue.
17965
+ * Enable public network resolution. Values: - false: default, private network resolution - true: private and public network resolution
17743
17966
  */
17744
- lastUpdateTimestamp: number;
17967
+ dnsVisibility: boolean;
17745
17968
  /**
17746
- * The number of messages in the current queue. EndOffset is the offset of the next message, so MessageCount = EndOffset - StartOffset.
17969
+ * Connection domain name
17747
17970
  */
17748
- messageCount: number;
17971
+ domain: string;
17749
17972
  /**
17750
- * Queue ID.
17973
+ * Private network address type. Values: LocalDomain: local region domain name CrossRegionDomain: cross-region accessible domain name
17751
17974
  */
17752
- queueId: string;
17975
+ domainVisibilitySetting: string;
17753
17976
  /**
17754
- * The earliest message offset in the current queue.
17977
+ * EIP ID, valid only for Public addresses
17755
17978
  */
17756
- startOffset: number;
17757
- }
17758
- interface GetTopicReadAccessPolicy {
17979
+ eipId: string;
17759
17980
  /**
17760
- * AccessKey of the RocketMQ key.
17981
+ * IP address
17761
17982
  */
17762
- accessKey: string;
17983
+ ipAddress: string;
17763
17984
  /**
17764
- * User access permissions for the current Topic. ALL: Publish and subscribe permissions. PUB: Publish permission. SUB: Subscribe permission. DENY: No publish or subscribe permissions.
17985
+ * Network address type. Value: - `Private`: Private network address - `Public`: Public network address - `Inner`: Public service zone address
17765
17986
  */
17766
- authority: string;
17767
- }
17768
- interface GroupConsumedClient {
17987
+ networkType: string;
17769
17988
  /**
17770
- * Address and port of this consumer instance.
17989
+ * Port.
17771
17990
  */
17772
- clientAddress: string;
17991
+ port: string;
17773
17992
  /**
17774
- * ID of this consumer instance.
17993
+ * Subnet ID
17775
17994
  */
17776
- clientId: string;
17995
+ subnetId: string;
17996
+ }
17997
+ interface InstanceEndpointReadOnlyNodeWeight {
17777
17998
  /**
17778
- * Message backlog.
17999
+ * Read-only nodes require NodeId
17779
18000
  */
17780
- diff: number;
18001
+ nodeId: string;
17781
18002
  /**
17782
- * Development language of the consumer application.
18003
+ * Node type
17783
18004
  */
17784
- language: string;
18005
+ nodeType: string;
17785
18006
  /**
17786
- * Consumer version.
18007
+ * Node read weight, increases by 100, maximum value is 10000
17787
18008
  */
17788
- version: string;
18009
+ weight: number;
17789
18010
  }
17790
- interface GroupConsumedTopic {
18011
+ interface InstanceMaintenanceWindow {
17791
18012
  /**
17792
- * Number of queues associated with the Topic. Each Topic contains one or more queues for storing messages.
18013
+ * Granularity of the maintenance cycle. Value: Week (week)
17793
18014
  */
17794
- queueNum: number;
18015
+ dayKind: string;
18016
+ dayOfWeekMaintenanceTimes: outputs.rdspostgresql.InstanceMaintenanceWindowDayOfWeekMaintenanceTime[];
18017
+ }
18018
+ interface InstanceMaintenanceWindowDayOfWeekMaintenanceTime {
17795
18019
  /**
17796
- * Subscription rules.
18020
+ * Specify maintenance days for the instance each week. Multiple selections allowed. Monday: Monday. Tuesday: Tuesday. Wednesday: Wednesday. Thursday: Thursday. Friday: Friday. Saturday: Saturday. Sunday: Sunday. Note: If not specified or left blank, all seven days are enabled by default.
17797
18021
  */
17798
- subString: string;
18022
+ dayOfWeek: string;
17799
18023
  /**
17800
- * Name of the Topic subscribed by the client.
18024
+ * Start time of the maintenance window on the maintenance day. Format: HH:mmZ (UTC time). Currently, only start times between 16:00Z and 20:00Z are supported.
17801
18025
  */
17802
- topicName: string;
17803
- }
17804
- interface InstanceChargeDetail {
18026
+ maintenanceWindowStartTime: string;
17805
18027
  /**
17806
- * Whether the subscription instance is automatically renewed upon expiration. true: automatically renewed. false: not automatically renewed. Manual renewal is required after expiration; otherwise, the instance will be shut down.
18028
+ * Duration of the maintenance window on the maintenance day. Minimum duration is 2 hours, maximum is 6 hours.
17807
18029
  */
17808
- autoRenew: boolean;
18030
+ period: number;
18031
+ }
18032
+ interface InstanceNodeInfo {
17809
18033
  /**
17810
- * Expiration time for yearly/monthly subscription instances. The time format is YYYY-MM-DD'T'HH:MM:SS'Z'. For pay-as-you-go instances, this field defaults to 1970-01-01T00:00:00Z.
18034
+ * Node creation time. Format: yyyy-MM-ddTHH:mm:ss.sssZ (UTC time)
17811
18035
  */
17812
- chargeExpireTime: string;
18036
+ createTime: string;
17813
18037
  /**
17814
- * Billing start time for the instance. The time format is YYYY-MM-DD'T'HH:MM:SS'Z'.
18038
+ * Instance ID
17815
18039
  */
17816
- chargeStartTime: string;
18040
+ instanceId: string;
17817
18041
  /**
17818
- * Instance billing status. Includes: Normal: normal Overdue: pay-as-you-go overdue Expired: subscription expired
18042
+ * Memory size, unit: GB
17819
18043
  */
17820
- chargeStatus: string;
18044
+ memory: number;
18045
+ /**
18046
+ * Node ID
18047
+ */
18048
+ nodeId: string;
18049
+ /**
18050
+ * Node specification
18051
+ */
18052
+ nodeSpec: string;
18053
+ /**
18054
+ * Node status
18055
+ */
18056
+ nodeStatus: string;
18057
+ /**
18058
+ * Node type
18059
+ */
18060
+ nodeType: string;
18061
+ /**
18062
+ * Region ID
18063
+ */
18064
+ regionId: string;
18065
+ /**
18066
+ * Node update time. Format: yyyy-MM-ddTHH:mm:ss.sssZ (UTC time)
18067
+ */
18068
+ updateTime: string;
18069
+ /**
18070
+ * CPU size. For example: 1 means 1U
18071
+ */
18072
+ vcpu: number;
18073
+ /**
18074
+ * Availability zone of the node
18075
+ */
18076
+ zoneId: string;
18077
+ }
18078
+ interface InstanceTag {
18079
+ /**
18080
+ * Tag key
18081
+ */
18082
+ key: string;
18083
+ /**
18084
+ * Tag value
18085
+ */
18086
+ value: string;
18087
+ }
18088
+ }
18089
+ export declare namespace redis {
18090
+ interface GetInstanceCapacity {
18091
+ /**
18092
+ * Total memory capacity of the current instance. Unit: MiB.
18093
+ */
18094
+ total: number;
18095
+ /**
18096
+ * Used capacity of the current instance. Unit: MiB.
18097
+ */
18098
+ used: number;
18099
+ }
18100
+ interface GetInstanceConfigureNode {
18101
+ /**
18102
+ * The availability zone each node belongs to.
18103
+ */
18104
+ az: string;
18105
+ }
18106
+ interface GetInstanceInstanceShard {
18107
+ /**
18108
+ * Number of nodes in each shard
18109
+ */
18110
+ nodeNumber: number;
18111
+ /**
18112
+ * Detailed list of all Server nodes in the shard.
18113
+ */
18114
+ serverNodes: outputs.redis.GetInstanceInstanceShardServerNode[];
18115
+ /**
18116
+ * Shard ID.
18117
+ */
18118
+ shardId: string;
18119
+ }
18120
+ interface GetInstanceInstanceShardServerNode {
18121
+ /**
18122
+ * Current role of the node. Valid values: PrimaryNode: primary node; SecondaryNode: secondary node.
18123
+ */
18124
+ currentRole: string;
18125
+ /**
18126
+ * Node ID.
18127
+ */
18128
+ nodeId: string;
18129
+ /**
18130
+ * Node status. Valid values: deploy: starting; running: running; loading: loading data; error: error.
18131
+ */
18132
+ status: string;
18133
+ /**
18134
+ * Availability zone where the node is located.
18135
+ */
18136
+ zoneId: string;
18137
+ }
18138
+ interface GetInstanceTag {
18139
+ /**
18140
+ * Tag key.
18141
+ */
18142
+ key: string;
18143
+ /**
18144
+ * Tag value.
18145
+ */
18146
+ value: string;
18147
+ }
18148
+ interface GetInstanceVisitAddr {
18149
+ /**
18150
+ * Connection address type. Value options: Private: Private network connection address; Public: Public network connection address; DirectLink: Direct connection address.
18151
+ */
18152
+ addrType: string;
18153
+ /**
18154
+ * IP address or domain name.
18155
+ */
18156
+ address: string;
18157
+ /**
18158
+ * EIP ID bound to the instance's public address. This parameter is returned only when the connection address type (AddrType) is Public.
18159
+ */
18160
+ eipId: string;
18161
+ /**
18162
+ * Port number.
18163
+ */
18164
+ port: string;
18165
+ /**
18166
+ * IPv6 address corresponding to the connection address.
18167
+ */
18168
+ viPv6: string;
18169
+ /**
18170
+ * The IPv4 address corresponding to the connection address.
18171
+ */
18172
+ vip: string;
18173
+ }
18174
+ interface InstanceCapacity {
18175
+ /**
18176
+ * Total memory capacity of the current instance. Unit: MiB.
18177
+ */
18178
+ total: number;
18179
+ /**
18180
+ * Used capacity of the current instance. Unit: MiB.
18181
+ */
18182
+ used: number;
18183
+ }
18184
+ interface InstanceConfigureNode {
18185
+ /**
18186
+ * The availability zone each node belongs to.
18187
+ */
18188
+ az: string;
18189
+ }
18190
+ interface InstanceInstanceShard {
18191
+ /**
18192
+ * Number of nodes in each shard
18193
+ */
18194
+ nodeNumber: number;
18195
+ serverNodes: outputs.redis.InstanceInstanceShardServerNode[];
18196
+ /**
18197
+ * Shard ID.
18198
+ */
18199
+ shardId: string;
18200
+ }
18201
+ interface InstanceInstanceShardServerNode {
18202
+ /**
18203
+ * Current role of the node. Valid values: PrimaryNode: primary node; SecondaryNode: secondary node.
18204
+ */
18205
+ currentRole: string;
18206
+ /**
18207
+ * Node ID.
18208
+ */
18209
+ nodeId: string;
18210
+ /**
18211
+ * Node status. Valid values: deploy: starting; running: running; loading: loading data; error: error.
18212
+ */
18213
+ status: string;
18214
+ /**
18215
+ * Availability zone where the node is located.
18216
+ */
18217
+ zoneId: string;
18218
+ }
18219
+ interface InstanceTag {
18220
+ /**
18221
+ * Tag key.
18222
+ */
18223
+ key: string;
18224
+ /**
18225
+ * Tag value.
18226
+ */
18227
+ value: string;
18228
+ }
18229
+ interface InstanceVisitAddr {
18230
+ /**
18231
+ * Connection address type. Value options: Private: Private network connection address; Public: Public network connection address; DirectLink: Direct connection address.
18232
+ */
18233
+ addrType: string;
18234
+ /**
18235
+ * IP address or domain name.
18236
+ */
18237
+ address: string;
18238
+ /**
18239
+ * EIP ID bound to the instance's public address. This parameter is returned only when the connection address type (AddrType) is Public.
18240
+ */
18241
+ eipId: string;
18242
+ /**
18243
+ * Port number.
18244
+ */
18245
+ port: string;
18246
+ /**
18247
+ * IPv6 address corresponding to the connection address.
18248
+ */
18249
+ viPv6: string;
18250
+ /**
18251
+ * The IPv4 address corresponding to the connection address.
18252
+ */
18253
+ vip: string;
18254
+ }
18255
+ }
18256
+ export declare namespace rocketmq {
18257
+ interface AllowListAssociatedInstance {
18258
+ /**
18259
+ * Instance ID
18260
+ */
18261
+ instanceId: string;
18262
+ /**
18263
+ * Instance Name
18264
+ */
18265
+ instanceName: string;
18266
+ /**
18267
+ * VPC ID of the instance
18268
+ */
18269
+ vpc: string;
18270
+ }
18271
+ interface GetAllowListAssociatedInstance {
18272
+ /**
18273
+ * Instance ID
18274
+ */
18275
+ instanceId: string;
18276
+ /**
18277
+ * Instance Name
18278
+ */
18279
+ instanceName: string;
18280
+ /**
18281
+ * VPC ID of the instance
18282
+ */
18283
+ vpc: string;
18284
+ }
18285
+ interface GetGroupConsumedClient {
18286
+ /**
18287
+ * Address and port of this consumer instance.
18288
+ */
18289
+ clientAddress: string;
18290
+ /**
18291
+ * ID of this consumer instance.
18292
+ */
18293
+ clientId: string;
18294
+ /**
18295
+ * Message backlog.
18296
+ */
18297
+ diff: number;
18298
+ /**
18299
+ * Development language of the consumer application.
18300
+ */
18301
+ language: string;
18302
+ /**
18303
+ * Consumer version.
18304
+ */
18305
+ version: string;
18306
+ }
18307
+ interface GetGroupConsumedTopic {
18308
+ /**
18309
+ * Number of queues associated with the Topic. Each Topic contains one or more queues for storing messages.
18310
+ */
18311
+ queueNum: number;
18312
+ /**
18313
+ * Subscription rules.
18314
+ */
18315
+ subString: string;
18316
+ /**
18317
+ * Name of the Topic subscribed by the client.
18318
+ */
18319
+ topicName: string;
18320
+ }
18321
+ interface GetInstanceChargeDetail {
18322
+ /**
18323
+ * Whether the subscription instance is automatically renewed upon expiration. true: automatically renewed. false: not automatically renewed. Manual renewal is required after expiration; otherwise, the instance will be shut down.
18324
+ */
18325
+ autoRenew: boolean;
18326
+ /**
18327
+ * Expiration time for yearly/monthly subscription instances. The time format is YYYY-MM-DD'T'HH:MM:SS'Z'. For pay-as-you-go instances, this field defaults to 1970-01-01T00:00:00Z.
18328
+ */
18329
+ chargeExpireTime: string;
18330
+ /**
18331
+ * Billing start time for the instance. The time format is YYYY-MM-DD'T'HH:MM:SS'Z'.
18332
+ */
18333
+ chargeStartTime: string;
18334
+ /**
18335
+ * Instance billing status. Includes: Normal: normal Overdue: pay-as-you-go overdue Expired: subscription expired
18336
+ */
18337
+ chargeStatus: string;
18338
+ /**
18339
+ * Billing type for the instance. Supported types include: PostPaid: pay-as-you-go; PrePaid: yearly/monthly subscription
18340
+ */
18341
+ chargeType: string;
18342
+ /**
18343
+ * Estimated release time after the instance is suspended due to overdue payment. The time format is YYYY-MM-DD'T'HH:MM:SS'Z'.
18344
+ */
18345
+ overdueReclaimTime: string;
18346
+ /**
18347
+ * Suspension time due to overdue payment for the instance. The time format is YYYY-MM-DD'T'HH:MM:SS'Z'.
18348
+ */
18349
+ overdueTime: string;
18350
+ /**
18351
+ * Purchase duration for subscription instances. When PeriodUnit is set to Monthly, the value range is 1–9. When PeriodUnit is set to Yearly, the value range is 1–3. Only required for subscription instances, that is, when ChargeType is set to PrePaid.
18352
+ */
18353
+ period: number;
18354
+ /**
18355
+ * Lifecycle unit for subscription-based instances, specifying whether to purchase by month or by year. Monthly: (default) monthly subscription Yearly: annual subscription
18356
+ */
18357
+ periodUnit: string;
18358
+ }
18359
+ interface GetInstanceConnectionInfo {
18360
+ /**
18361
+ * Instance endpoint IP address.
18362
+ */
18363
+ endpointAddressIp: string;
18364
+ /**
18365
+ * Instance access point type.
18366
+ */
18367
+ endpointType: string;
18368
+ /**
18369
+ * Private network endpoint address for the instance.
18370
+ */
18371
+ internalEndpoint: string;
18372
+ /**
18373
+ * Instance access point type.
18374
+ */
18375
+ networkType: string;
18376
+ /**
18377
+ * Public access point address of the instance.
18378
+ */
18379
+ publicEndpoint: string;
18380
+ }
18381
+ interface GetInstanceProductInfo {
18382
+ /**
18383
+ * Edit the read/write throttling ratio. The default read/write ratio is 50% each. For example, if set to 40, the sending TPS ratio is 40% and the subscription ratio is 60%. Note: Only RocketMQ 5.x instances support adjusting the TPS ratio for the instance.
18384
+ */
18385
+ sendReceiveRatio: number;
18386
+ }
18387
+ interface GetInstanceTag {
18388
+ /**
18389
+ * Tag key.
18390
+ */
18391
+ key: string;
18392
+ /**
18393
+ * Tag value.
18394
+ */
18395
+ value: string;
18396
+ }
18397
+ interface GetTopicAccessPolicy {
18398
+ /**
18399
+ * AccessKey of the RocketMQ key.
18400
+ */
18401
+ accessKey: string;
18402
+ /**
18403
+ * User access permissions for the current Topic. ALL: Publish and subscribe permissions. PUB: Publish permission. SUB: Subscribe permission. DENY: No publish or subscribe permissions.
18404
+ */
18405
+ authority: string;
18406
+ }
18407
+ interface GetTopicGroupsInfo {
18408
+ /**
18409
+ * Group ID of the consumer group.
18410
+ */
18411
+ groupId: string;
18412
+ /**
18413
+ * Consumption mode. The values are as follows: Clustering: cluster consumption mode. Broadcasting: broadcast consumption mode.
18414
+ */
18415
+ messageModel: string;
18416
+ /**
18417
+ * Subscription rule. This field contains the exact string specified by the consumer group when subscribing to this Topic, usually * or TAG1 || TAG2.
18418
+ */
18419
+ subString: string;
18420
+ }
18421
+ interface GetTopicQueuesInfo {
18422
+ /**
18423
+ * The maximum offset of the current queue, which is the offset of the next message. The position of the latest message is EndOffset - 1.
18424
+ */
18425
+ endOffset: number;
18426
+ /**
18427
+ * The time of the most recent message written to this queue.
18428
+ */
18429
+ lastUpdateTimestamp: number;
18430
+ /**
18431
+ * The number of messages in the current queue. EndOffset is the offset of the next message, so MessageCount = EndOffset - StartOffset.
18432
+ */
18433
+ messageCount: number;
18434
+ /**
18435
+ * Queue ID.
18436
+ */
18437
+ queueId: string;
18438
+ /**
18439
+ * The earliest message offset in the current queue.
18440
+ */
18441
+ startOffset: number;
18442
+ }
18443
+ interface GetTopicReadAccessPolicy {
18444
+ /**
18445
+ * AccessKey of the RocketMQ key.
18446
+ */
18447
+ accessKey: string;
18448
+ /**
18449
+ * User access permissions for the current Topic. ALL: Publish and subscribe permissions. PUB: Publish permission. SUB: Subscribe permission. DENY: No publish or subscribe permissions.
18450
+ */
18451
+ authority: string;
18452
+ }
18453
+ interface GroupConsumedClient {
18454
+ /**
18455
+ * Address and port of this consumer instance.
18456
+ */
18457
+ clientAddress: string;
18458
+ /**
18459
+ * ID of this consumer instance.
18460
+ */
18461
+ clientId: string;
18462
+ /**
18463
+ * Message backlog.
18464
+ */
18465
+ diff: number;
18466
+ /**
18467
+ * Development language of the consumer application.
18468
+ */
18469
+ language: string;
18470
+ /**
18471
+ * Consumer version.
18472
+ */
18473
+ version: string;
18474
+ }
18475
+ interface GroupConsumedTopic {
18476
+ /**
18477
+ * Number of queues associated with the Topic. Each Topic contains one or more queues for storing messages.
18478
+ */
18479
+ queueNum: number;
18480
+ /**
18481
+ * Subscription rules.
18482
+ */
18483
+ subString: string;
18484
+ /**
18485
+ * Name of the Topic subscribed by the client.
18486
+ */
18487
+ topicName: string;
18488
+ }
18489
+ interface InstanceChargeDetail {
18490
+ /**
18491
+ * Whether the subscription instance is automatically renewed upon expiration. true: automatically renewed. false: not automatically renewed. Manual renewal is required after expiration; otherwise, the instance will be shut down.
18492
+ */
18493
+ autoRenew: boolean;
18494
+ /**
18495
+ * Expiration time for yearly/monthly subscription instances. The time format is YYYY-MM-DD'T'HH:MM:SS'Z'. For pay-as-you-go instances, this field defaults to 1970-01-01T00:00:00Z.
18496
+ */
18497
+ chargeExpireTime: string;
18498
+ /**
18499
+ * Billing start time for the instance. The time format is YYYY-MM-DD'T'HH:MM:SS'Z'.
18500
+ */
18501
+ chargeStartTime: string;
18502
+ /**
18503
+ * Instance billing status. Includes: Normal: normal Overdue: pay-as-you-go overdue Expired: subscription expired
18504
+ */
18505
+ chargeStatus: string;
17821
18506
  /**
17822
18507
  * Billing type for the instance. Supported types include: PostPaid: pay-as-you-go; PrePaid: yearly/monthly subscription
17823
18508
  */
@@ -17905,161 +18590,475 @@ export declare namespace rocketmq {
17905
18590
  /**
17906
18591
  * The maximum offset of the current queue, which is the offset of the next message. The position of the latest message is EndOffset - 1.
17907
18592
  */
17908
- endOffset: number;
18593
+ endOffset: number;
18594
+ /**
18595
+ * The time of the most recent message written to this queue.
18596
+ */
18597
+ lastUpdateTimestamp: number;
18598
+ /**
18599
+ * The number of messages in the current queue. EndOffset is the offset of the next message, so MessageCount = EndOffset - StartOffset.
18600
+ */
18601
+ messageCount: number;
18602
+ /**
18603
+ * Queue ID.
18604
+ */
18605
+ queueId: string;
18606
+ /**
18607
+ * The earliest message offset in the current queue.
18608
+ */
18609
+ startOffset: number;
18610
+ }
18611
+ interface TopicReadAccessPolicy {
18612
+ /**
18613
+ * AccessKey of the RocketMQ key.
18614
+ */
18615
+ accessKey: string;
18616
+ /**
18617
+ * User access permissions for the current Topic. ALL: Publish and subscribe permissions. PUB: Publish permission. SUB: Subscribe permission. DENY: No publish or subscribe permissions.
18618
+ */
18619
+ authority: string;
18620
+ }
18621
+ }
18622
+ export declare namespace storageebs {
18623
+ interface GetSnapshotTag {
18624
+ /**
18625
+ * User tag key added to the resource. Naming rules: Cannot start with volc: or sys: in any case. Keys starting with volc: or sys: are reserved system tag keys and cannot be created. Only language characters, numbers, spaces, and the following English symbols are allowed: '_', '.', ':', '/', '=', '+', '-', '@'. Length must be between 1 and 128 characters.
18626
+ */
18627
+ key: string;
18628
+ /**
18629
+ * User tag value added to the resource. Naming rules: Only language characters, numbers, spaces, and the following English symbols are allowed: '_', '.', ':', '/', '=', '+', '-', '@'. Can be empty. Length must be between 0 and 256 characters.
18630
+ */
18631
+ value: string;
18632
+ }
18633
+ interface GetVolumeBaselinePerformance {
18634
+ /**
18635
+ * Total IOPS of the disk, which is the sum of the baseline IOPS and extra IOPS.
18636
+ */
18637
+ iops: number;
18638
+ /**
18639
+ * The total throughput of the cloud disk is the sum of its baseline throughput and additional throughput.
18640
+ */
18641
+ throughput: number;
18642
+ }
18643
+ interface GetVolumeExtraPerformance {
18644
+ /**
18645
+ * Type of extra performance. Value description: Balance: Balanced extra performance; IOPS: IOPS extra performance; Throughput: Throughput extra performance.
18646
+ */
18647
+ extraPerformanceTypeId: string;
18648
+ /**
18649
+ * Extra IOPS of the disk.
18650
+ */
18651
+ iops: number;
18652
+ /**
18653
+ * Extra throughput of the disk.
18654
+ */
18655
+ throughput: number;
18656
+ }
18657
+ interface GetVolumeTag {
18658
+ /**
18659
+ * Tag key.
18660
+ */
18661
+ key: string;
18662
+ /**
18663
+ * Tag value.
18664
+ */
18665
+ value: string;
18666
+ }
18667
+ interface GetVolumeTotalPerformance {
18668
+ /**
18669
+ * Total IOPS of the disk, which is the sum of the baseline IOPS and extra IOPS.
18670
+ */
18671
+ iops: number;
18672
+ /**
18673
+ * The total throughput of the cloud disk is the sum of its baseline throughput and additional throughput.
18674
+ */
18675
+ throughput: number;
18676
+ }
18677
+ interface SnapshotTag {
18678
+ /**
18679
+ * User tag key added to the resource. Naming rules: Cannot start with volc: or sys: in any case. Keys starting with volc: or sys: are reserved system tag keys and cannot be created. Only language characters, numbers, spaces, and the following English symbols are allowed: '_', '.', ':', '/', '=', '+', '-', '@'. Length must be between 1 and 128 characters.
18680
+ */
18681
+ key: string;
18682
+ /**
18683
+ * User tag value added to the resource. Naming rules: Only language characters, numbers, spaces, and the following English symbols are allowed: '_', '.', ':', '/', '=', '+', '-', '@'. Can be empty. Length must be between 0 and 256 characters.
18684
+ */
18685
+ value: string;
18686
+ }
18687
+ interface VolumeBaselinePerformance {
18688
+ /**
18689
+ * Total IOPS of the disk, which is the sum of the baseline IOPS and extra IOPS.
18690
+ */
18691
+ iops: number;
18692
+ /**
18693
+ * The total throughput of the cloud disk is the sum of its baseline throughput and additional throughput.
18694
+ */
18695
+ throughput: number;
18696
+ }
18697
+ interface VolumeExtraPerformance {
18698
+ /**
18699
+ * Type of extra performance. Value description: Balance: Balanced extra performance; IOPS: IOPS extra performance; Throughput: Throughput extra performance.
18700
+ */
18701
+ extraPerformanceTypeId: string;
18702
+ /**
18703
+ * Extra IOPS of the disk.
18704
+ */
18705
+ iops: number;
18706
+ /**
18707
+ * Extra throughput of the disk.
18708
+ */
18709
+ throughput: number;
18710
+ }
18711
+ interface VolumeTag {
18712
+ /**
18713
+ * Tag key.
18714
+ */
18715
+ key: string;
18716
+ /**
18717
+ * Tag value.
18718
+ */
18719
+ value: string;
18720
+ }
18721
+ interface VolumeTotalPerformance {
18722
+ /**
18723
+ * Total IOPS of the disk, which is the sum of the baseline IOPS and extra IOPS.
18724
+ */
18725
+ iops: number;
18726
+ /**
18727
+ * The total throughput of the cloud disk is the sum of its baseline throughput and additional throughput.
18728
+ */
18729
+ throughput: number;
18730
+ }
18731
+ }
18732
+ export declare namespace tls {
18733
+ interface GetImportTaskImportSourceInfo {
18734
+ /**
18735
+ * Kafka data source information. When sourceType is kafka, the KafkaSourceInfo field is required
18736
+ */
18737
+ kafkaSourceInfo: outputs.tls.GetImportTaskImportSourceInfoKafkaSourceInfo;
18738
+ /**
18739
+ * TOS data source information. When sourceType is tos, the TosSourceInfo field is required.
18740
+ */
18741
+ tosSourceInfo: outputs.tls.GetImportTaskImportSourceInfoTosSourceInfo;
18742
+ }
18743
+ interface GetImportTaskImportSourceInfoKafkaSourceInfo {
18744
+ /**
18745
+ * Data encoding format. Available options: UTF-8, GBK.
18746
+ */
18747
+ encode: string;
18748
+ /**
18749
+ * Kafka consumer group. If not specified, the system will automatically create a Kafka consumer group.
18750
+ */
18751
+ group: string;
18752
+ /**
18753
+ * The service addresses for different types of Kafka clusters vary. Details are as follows: Message Queue Kafka Edition: Use the access point of the Kafka instance. For more information, see Access Point. If the Kafka instance and the Log Service Project are in the same region, you can use private network access; otherwise, use public network access. Self-hosted Kafka clusters: Use the IP address and port number or the domain name and port number of the Kafka Broker. Only public network access is supported. Separate multiple service addresses with a comma (,).
18754
+ */
18755
+ host: string;
18756
+ /**
18757
+ * Starting position for data import. Options: 0: Earliest time, start importing from the first record in the specified Kafka Topic. 1: Latest time, start importing from the most recently generated record in the specified Kafka Topic.
18758
+ */
18759
+ initialOffset: number;
18760
+ /**
18761
+ * If you are using Message Queue Kafka Edition, set this to the Kafka instance ID.
18762
+ */
18763
+ instanceId: string;
18764
+ /**
18765
+ * Whether to enable authentication. If you use a public service address, it is recommended to enable authentication.
18766
+ */
18767
+ isNeedAuth: boolean;
18768
+ /**
18769
+ * Password authentication mechanism. Available options: PLAIN, SCRAM-SHA-256, and SCRAM-SHA-512.
18770
+ */
18771
+ mechanism: string;
18772
+ /**
18773
+ * Kafka SASL user password for authentication.
18774
+ */
18775
+ password: string;
18776
+ /**
18777
+ * Secure transmission protocol. Options include plaintext, sasl*ssl, ssl, and sasl*plaintext
18778
+ */
18779
+ protocol: string;
18780
+ /**
18781
+ * Specify log time. Options: 0: Use Kafka message timestamp. 1: Use current system time.
18782
+ */
18783
+ timeSourceDefault: number;
18784
+ /**
18785
+ * Kafka Topic name. Separate multiple Kafka Topics with commas (,).
18786
+ */
18787
+ topic: string;
18788
+ /**
18789
+ * Kafka SASL username for authentication.
18790
+ */
18791
+ username: string;
18792
+ }
18793
+ interface GetImportTaskImportSourceInfoTosSourceInfo {
18794
+ /**
18795
+ * TOS bucket name
18796
+ */
18797
+ bucket: string;
18798
+ /**
18799
+ * Compression mode for data in the TOS bucket. none: No compression. snappy: Compress using snappy. gzip: Compress using gzip. lz4: Compress using lz4.
18800
+ */
18801
+ compressType: string;
18802
+ /**
18803
+ * Path of the file to be imported in the TOS bucket.
18804
+ */
18805
+ prefix: string;
18806
+ /**
18807
+ * Region where the TOS bucket is located. Cross-region data import is supported
18808
+ */
18809
+ region: string;
18810
+ }
18811
+ interface GetImportTaskTargetInfo {
18812
+ /**
18813
+ * Log extraction rule.
18814
+ */
18815
+ extractRule: outputs.tls.GetImportTaskTargetInfoExtractRule;
18816
+ /**
18817
+ * Log sample. When LogType is set to multiline_log, you must configure log samples. It is recommended to provide more than two log entries as examples to ensure the regular expression matches the first line of each log. Use real samples from the production environment.
18818
+ */
18819
+ logSample: string;
18820
+ /**
18821
+ * Specify log parsing type during import. delimiter*log: CSV type. multiline*log: multiline full text type. minimalist*log: single line full text type. json*log: JSON type.
18822
+ */
18823
+ logType: string;
18824
+ /**
18825
+ * Region.
18826
+ */
18827
+ region: string;
18828
+ }
18829
+ interface GetImportTaskTargetInfoExtractRule {
18830
+ /**
18831
+ * Basic content of log extraction rules.
18832
+ */
18833
+ extractRule: outputs.tls.GetImportTaskTargetInfoExtractRuleExtractRule;
18834
+ /**
18835
+ * Number of skipped rows. Only valid when the log type is delimiterLog and the import type is tos.
18836
+ */
18837
+ skipLineCount: number;
18838
+ /**
18839
+ * Time extraction regular expression, used to extract the time value from the TimeKey field and parse it as the collection time
18840
+ */
18841
+ timeExtractRegex: string;
18842
+ /**
18843
+ * Time zone. Supports machine time zone (default) and custom time zone. Custom time zone supports GMT and UTC. GMT format: GMT+08:00. UTC format: Asia/Shanghai.
18844
+ */
18845
+ timeZone: string;
18846
+ }
18847
+ interface GetImportTaskTargetInfoExtractRuleExtractRule {
18848
+ /**
18849
+ * Regular expression for identifying the first line of each log. The matched part is treated as the start of the log. When LogType is set to multiline_log, you must configure a log sample
18850
+ */
18851
+ beginRegex: string;
18852
+ /**
18853
+ * Delimiter. Only valid when LogType is delimiter_log.
18854
+ */
18855
+ delimiter: string;
18856
+ /**
18857
+ * Enable nanoseconds.
18858
+ */
18859
+ enableNanosecond: boolean;
18860
+ /**
18861
+ * Filter key regular expression.
18862
+ */
18863
+ filterKeyRegexes: outputs.tls.GetImportTaskTargetInfoExtractRuleExtractRuleFilterKeyRegex[];
18864
+ /**
18865
+ * List of log field names (Key). Valid only when LogType is delimiter_log. Supports up to 100 field names. Duplicate field names are not allowed, and all field names cannot be left blank
18866
+ */
18867
+ keys: string[];
18868
+ /**
18869
+ * Log regular expression
18870
+ */
18871
+ logRegex: string;
18872
+ /**
18873
+ * Log template.
18874
+ */
18875
+ logTemplate: outputs.tls.GetImportTaskTargetInfoExtractRuleExtractRuleLogTemplate;
18876
+ /**
18877
+ * Quotation mark. Content enclosed by the quotation mark will not be separated and will be parsed as a complete field. Only valid when LogType is delimiter_log.
18878
+ */
18879
+ quote: string;
18880
+ /**
18881
+ * Parsing format for the time field. If you use a specified time field in the log as the log timestamp, you must fill in TimeKey and TimeFormat. TimeKey and TimeFormat must be paired. For configuration details, see time format.
18882
+ */
18883
+ timeFormat: string;
18884
+ /**
18885
+ * Name of the log time field. If you use a specific time field in the log as the log timestamp, you must provide both TimeKey and TimeFormat. TimeKey and TimeFormat must appear in pairs
18886
+ */
18887
+ timeKey: string;
18888
+ /**
18889
+ * Time sample. Used to verify whether the entered time parsing format is correct
18890
+ */
18891
+ timeSample: string;
18892
+ /**
18893
+ * When uploading logs that failed to parse, specify the key name for the failed logs. UnMatchUpLoadSwitch=true and UnMatchLogKey must be used together.
18894
+ */
18895
+ unMatchLogKey: string;
18896
+ /**
18897
+ * Whether to upload logs that failed to parse. UnMatchUpLoadSwitch=true and UnMatchLogKey must be paired. true: Upload logs that failed to parse. false: Do not upload logs that failed to parse.
18898
+ */
18899
+ unMatchUpLoadSwitch: boolean;
18900
+ }
18901
+ interface GetImportTaskTargetInfoExtractRuleExtractRuleFilterKeyRegex {
18902
+ /**
18903
+ * Key.
18904
+ */
18905
+ key: string;
18906
+ /**
18907
+ * Regular expression.
18908
+ */
18909
+ regex: string;
18910
+ }
18911
+ interface GetImportTaskTargetInfoExtractRuleExtractRuleLogTemplate {
17909
18912
  /**
17910
- * The time of the most recent message written to this queue.
18913
+ * Format.
17911
18914
  */
17912
- lastUpdateTimestamp: number;
18915
+ format: string;
17913
18916
  /**
17914
- * The number of messages in the current queue. EndOffset is the offset of the next message, so MessageCount = EndOffset - StartOffset.
18917
+ * Type
17915
18918
  */
17916
- messageCount: number;
18919
+ type: string;
18920
+ }
18921
+ interface GetImportTaskTaskStatistics {
17917
18922
  /**
17918
- * Queue ID.
18923
+ * Total resource bytes enumerated
17919
18924
  */
17920
- queueId: string;
18925
+ bytesTotal: number;
17921
18926
  /**
17922
- * The earliest message offset in the current queue.
18927
+ * Bytes transferred.
17923
18928
  */
17924
- startOffset: number;
17925
- }
17926
- interface TopicReadAccessPolicy {
18929
+ bytesTransferred: number;
17927
18930
  /**
17928
- * AccessKey of the RocketMQ key.
18931
+ * Number of resources failed to import.
17929
18932
  */
17930
- accessKey: string;
18933
+ failed: number;
17931
18934
  /**
17932
- * User access permissions for the current Topic. ALL: Publish and subscribe permissions. PUB: Publish permission. SUB: Subscribe permission. DENY: No publish or subscribe permissions.
18935
+ * Number of resources not found.
17933
18936
  */
17934
- authority: string;
17935
- }
17936
- }
17937
- export declare namespace storageebs {
17938
- interface GetSnapshotTag {
18937
+ notExist: number;
17939
18938
  /**
17940
- * User tag key added to the resource. Naming rules: Cannot start with volc: or sys: in any case. Keys starting with volc: or sys: are reserved system tag keys and cannot be created. Only language characters, numbers, spaces, and the following English symbols are allowed: '_', '.', ':', '/', '=', '+', '-', '@'. Length must be between 1 and 128 characters.
18939
+ * Number of resources skipped during import
17941
18940
  */
17942
- key: string;
18941
+ skipped: number;
17943
18942
  /**
17944
- * User tag value added to the resource. Naming rules: Only language characters, numbers, spaces, and the following English symbols are allowed: '_', '.', ':', '/', '=', '+', '-', '@'. Can be empty. Length must be between 0 and 256 characters.
18943
+ * Task status. Status of the import task. Preparing: Preparing for import. Importing: Importing data. Success: Import completed successfully. Failed: Import failed. Stopped: Import paused.
17945
18944
  */
17946
- value: string;
17947
- }
17948
- interface GetVolumeBaselinePerformance {
18945
+ taskStatus: string;
17949
18946
  /**
17950
- * Total IOPS of the disk, which is the sum of the baseline IOPS and extra IOPS.
18947
+ * Total number of resources enumerated.
17951
18948
  */
17952
- iops: number;
18949
+ total: number;
17953
18950
  /**
17954
- * The total throughput of the cloud disk is the sum of its baseline throughput and additional throughput.
18951
+ * Number of records transferred.
17955
18952
  */
17956
- throughput: number;
18953
+ transferred: number;
17957
18954
  }
17958
- interface GetVolumeExtraPerformance {
18955
+ interface GetIndexFullText {
17959
18956
  /**
17960
- * Type of extra performance. Value description: Balance: Balanced extra performance; IOPS: IOPS extra performance; Throughput: Throughput extra performance.
18957
+ * Case sensitivity. true: Case sensitive. false: Not case sensitive.
17961
18958
  */
17962
- extraPerformanceTypeId: string;
18959
+ caseSensitive: boolean;
17963
18960
  /**
17964
- * Extra IOPS of the disk.
18961
+ * Token separators for the full-text index. Each character in the string represents a token separator. Length: 1–256 bytes. Only one or more of the following characters are supported: letters, numbers, and !@#%^&*()-_=\\"', <>/?|;:\ \r[]{}. . Supports configuring both Chinese characters and token separators simultaneously.
17965
18962
  */
17966
- iops: number;
18963
+ delimiter: string;
17967
18964
  /**
17968
- * Extra throughput of the disk.
18965
+ * When searching, specify whether to segment Chinese content in logs according to Chinese grammar. The default is false. true: For Chinese characters in logs, segment the log according to common Chinese grammar rules. Custom segmentation symbols for Chinese content are not supported. For non-Chinese characters in logs, segment the log using the segmentation symbols specified in the parameter. false: Segment the log using the segmentation symbols specified in the parameter.
17969
18966
  */
17970
- throughput: number;
18967
+ includeChinese: boolean;
17971
18968
  }
17972
- interface GetVolumeTag {
18969
+ interface GetIndexKeyValue {
17973
18970
  /**
17974
- * Tag key.
18971
+ * Specify the field names for key-value indexing. Up to 100 fields can be added. Only letters, numbers, spaces, underscores (_), hyphens (-), and slashes (/) are supported, and field names cannot start or end with a space. Each key name must be unique within the same index. Length: 1–128 characters. For subfields in JSON-type key-value indexes, use a dot (.) to indicate the hierarchy between JSON fields. For example, if the JSON field 'namelist' contains a text-type subfield 'totalcount' and a JSON-type subfield 'info', and 'info' contains the field 'name', the field names should be configured as 'totalcount' and 'info.name' respectively.
17975
18972
  */
17976
18973
  key: string;
17977
18974
  /**
17978
- * Tag value.
18975
+ * Field description information required for configuring key-value indexes.
17979
18976
  */
17980
- value: string;
18977
+ value: outputs.tls.GetIndexKeyValueValue;
17981
18978
  }
17982
- interface GetVolumeTotalPerformance {
18979
+ interface GetIndexKeyValueValue {
17983
18980
  /**
17984
- * Total IOPS of the disk, which is the sum of the baseline IOPS and extra IOPS.
18981
+ * Indicates whether the index was added automatically. true: The index was added automatically. false: The index was not added automatically.
17985
18982
  */
17986
- iops: number;
18983
+ autoIndexFlag: boolean;
17987
18984
  /**
17988
- * The total throughput of the cloud disk is the sum of its baseline throughput and additional throughput.
18985
+ * Whether to distinguish case. Default is false.
17989
18986
  */
17990
- throughput: number;
17991
- }
17992
- interface SnapshotTag {
18987
+ caseSensitive: boolean;
17993
18988
  /**
17994
- * User tag key added to the resource. Naming rules: Cannot start with volc: or sys: in any case. Keys starting with volc: or sys: are reserved system tag keys and cannot be created. Only language characters, numbers, spaces, and the following English symbols are allowed: '_', '.', ':', '/', '=', '+', '-', '@'. Length must be between 1 and 128 characters.
18989
+ * Token separators for the field. Default is empty (""). Each character in the string represents a token separator. Length: 0–256 bytes. If the length is 0, segmentation is disabled. Only one or more of the following characters are supported: letters, numbers, and !@#%^&*()-_=\\"', <>/?|;:\ \r[]{}. . Supports configuring both Chinese characters and token separators simultaneously.
17995
18990
  */
17996
- key: string;
18991
+ delimiter: string;
17997
18992
  /**
17998
- * User tag value added to the resource. Naming rules: Only language characters, numbers, spaces, and the following English symbols are allowed: '_', '.', ':', '/', '=', '+', '-', '@'. Can be empty. Length must be between 0 and 256 characters.
18993
+ * When searching, determines whether to segment Chinese log content according to Chinese syntax. Enabled: Chinese characters in logs are segmented based on common Chinese syntax; custom segmentation for Chinese content is not supported. Non-Chinese characters in logs are segmented using the token separators specified in the parameter. Disabled: Logs are segmented using the token separators specified in the parameter.
17999
18994
  */
18000
- value: string;
18001
- }
18002
- interface VolumeBaselinePerformance {
18995
+ includeChinese: boolean;
18003
18996
  /**
18004
- * Total IOPS of the disk, which is the sum of the baseline IOPS and extra IOPS.
18997
+ * Create indexes for all fields with text values in the JSON field.
18005
18998
  */
18006
- iops: number;
18999
+ indexAll: boolean;
18007
19000
  /**
18008
- * The total throughput of the cloud disk is the sum of its baseline throughput and additional throughput.
19001
+ * Enable automatic indexing and statistics for JSON fields. true: Enable automatic indexing and statistics. false: Disable automatic indexing and statistics.
18009
19002
  */
18010
- throughput: number;
18011
- }
18012
- interface VolumeExtraPerformance {
19003
+ indexSqlAll: boolean;
18013
19004
  /**
18014
- * Type of extra performance. Value description: Balance: Balanced extra performance; IOPS: IOPS extra performance; Throughput: Throughput extra performance.
19005
+ * When ValueType is json, you can configure key-value indexes for JSON subfields using the JsonKeys field, which is an array of KeyValueInfo. Each element in the JsonKeys list is a KeyValueInfo, and you can further nest text, long, and double type subfields. For subfields in JSON key-value indexes, use . to indicate the hierarchy between JSON fields. For example, the JSON field namelist contains a text-type subfield totalcount and a JSON-type info, which itself contains the field name. Each field name should be configured as totalcount and info.name, respectively. The SqlFlag setting for subfield key-value indexes defined in JsonKeys must match their parent field, meaning they must be enabled or disabled together. The default is disabled. Subfields do not support separate settings for Delimiter, CaseSensitive, or IncludeChinese. For text-type fields, CaseSensitive, Delimiter, and IncludeChinese always inherit the parent field settings. This is only set when ValueType is json.
18015
19006
  */
18016
- extraPerformanceTypeId: string;
19007
+ jsonKeys: outputs.tls.GetIndexKeyValueValueJsonKey[];
18017
19008
  /**
18018
- * Extra IOPS of the disk.
19009
+ * Whether analysis is enabled for the field. Default is false. After enabling statistical analysis, you can configure token delimiters and whether to include Chinese content.
18019
19010
  */
18020
- iops: number;
19011
+ sqlFlag: boolean;
18021
19012
  /**
18022
- * Extra throughput of the disk.
19013
+ * Field type. Currently supports long, double, text, and json. The long and double types do not support configuring delimiters, including Chinese, or case sensitivity. Only the json type supports further configuration of JsonKeys subfields.
18023
19014
  */
18024
- throughput: number;
19015
+ valueType: string;
18025
19016
  }
18026
- interface VolumeTag {
19017
+ interface GetIndexKeyValueValueJsonKey {
18027
19018
  /**
18028
- * Tag key.
19019
+ * Specify the field names for key-value indexing. Up to 100 fields can be added. Only letters, numbers, spaces, underscores (_), hyphens (-), and slashes (/) are supported, and field names cannot start or end with a space. Each key name must be unique within the same index. Length: 1–128 characters. For subfields in JSON-type key-value indexes, use a dot (.) to indicate the hierarchy between JSON fields. For example, if the JSON field 'namelist' contains a text-type subfield 'totalcount' and a JSON-type subfield 'info', and 'info' contains the field 'name', the field names should be configured as 'totalcount' and 'info.name' respectively.
18029
19020
  */
18030
19021
  key: string;
18031
19022
  /**
18032
- * Tag value.
19023
+ * Field description information required for configuring key-value indexes.
18033
19024
  */
18034
- value: string;
19025
+ value: outputs.tls.GetIndexKeyValueValueJsonKeyValue;
18035
19026
  }
18036
- interface VolumeTotalPerformance {
18037
- /**
18038
- * Total IOPS of the disk, which is the sum of the baseline IOPS and extra IOPS.
18039
- */
18040
- iops: number;
19027
+ interface GetIndexKeyValueValueJsonKeyValue {
18041
19028
  /**
18042
- * The total throughput of the cloud disk is the sum of its baseline throughput and additional throughput.
19029
+ * Indicates whether the index was added automatically. true: The index was added automatically. false: The index was not added automatically.
18043
19030
  */
18044
- throughput: number;
18045
- }
18046
- }
18047
- export declare namespace tls {
18048
- interface GetIndexFullText {
19031
+ autoIndexFlag: boolean;
18049
19032
  /**
18050
- * Case sensitivity. true: Case sensitive. false: Not case sensitive.
19033
+ * Whether to distinguish case. Default is false.
18051
19034
  */
18052
19035
  caseSensitive: boolean;
18053
19036
  /**
18054
- * Token separators for the full-text index. Each character in the string represents a token separator. Length: 1–256 bytes. Only one or more of the following characters are supported: letters, numbers, and !@#%^&*()-_=\\"', <>/?|;:\ \r[]{}. . Supports configuring both Chinese characters and token separators simultaneously.
19037
+ * Token separators for the field. Default is empty (""). Each character in the string represents a token separator. Length: 0–256 bytes. If the length is 0, segmentation is disabled. Only one or more of the following characters are supported: letters, numbers, and !@#%^&*()-_=\\"', <>/?|;:\ \r[]{}. . Supports configuring both Chinese characters and token separators simultaneously.
18055
19038
  */
18056
19039
  delimiter: string;
18057
19040
  /**
18058
- * When searching, specify whether to segment Chinese content in logs according to Chinese grammar. The default is false. true: For Chinese characters in logs, segment the log according to common Chinese grammar rules. Custom segmentation symbols for Chinese content are not supported. For non-Chinese characters in logs, segment the log using the segmentation symbols specified in the parameter. false: Segment the log using the segmentation symbols specified in the parameter.
19041
+ * When searching, determines whether to segment Chinese log content according to Chinese syntax. Enabled: Chinese characters in logs are segmented based on common Chinese syntax; custom segmentation for Chinese content is not supported. Non-Chinese characters in logs are segmented using the token separators specified in the parameter. Disabled: Logs are segmented using the token separators specified in the parameter.
18059
19042
  */
18060
19043
  includeChinese: boolean;
19044
+ /**
19045
+ * Create indexes for all fields with text values in the JSON field.
19046
+ */
19047
+ indexAll: boolean;
19048
+ /**
19049
+ * Enable automatic indexing and statistics for JSON fields. true: Enable automatic indexing and statistics. false: Disable automatic indexing and statistics.
19050
+ */
19051
+ indexSqlAll: boolean;
19052
+ /**
19053
+ * Whether analysis is enabled for the field. Default is false. After enabling statistical analysis, you can configure token delimiters and whether to include Chinese content.
19054
+ */
19055
+ sqlFlag: boolean;
19056
+ /**
19057
+ * Field type. Currently supports long, double, text, and json. The long and double types do not support configuring delimiters, including Chinese, or case sensitivity. Only the json type supports further configuration of JsonKeys subfields.
19058
+ */
19059
+ valueType: string;
18061
19060
  }
18062
- interface GetIndexKeyValue {
19061
+ interface GetIndexUserInnerKeyValue {
18063
19062
  /**
18064
19063
  * Specify the field names for key-value indexing. Up to 100 fields can be added. Only letters, numbers, spaces, underscores (_), hyphens (-), and slashes (/) are supported, and field names cannot start or end with a space. Each key name must be unique within the same index. Length: 1–128 characters. For subfields in JSON-type key-value indexes, use a dot (.) to indicate the hierarchy between JSON fields. For example, if the JSON field 'namelist' contains a text-type subfield 'totalcount' and a JSON-type subfield 'info', and 'info' contains the field 'name', the field names should be configured as 'totalcount' and 'info.name' respectively.
18065
19064
  */
@@ -18067,9 +19066,9 @@ export declare namespace tls {
18067
19066
  /**
18068
19067
  * Field description information required for configuring key-value indexes.
18069
19068
  */
18070
- value: outputs.tls.GetIndexKeyValueValue;
19069
+ value: outputs.tls.GetIndexUserInnerKeyValueValue;
18071
19070
  }
18072
- interface GetIndexKeyValueValue {
19071
+ interface GetIndexUserInnerKeyValueValue {
18073
19072
  /**
18074
19073
  * Indicates whether the index was added automatically. true: The index was added automatically. false: The index was not added automatically.
18075
19074
  */
@@ -18097,7 +19096,7 @@ export declare namespace tls {
18097
19096
  /**
18098
19097
  * When ValueType is json, you can configure key-value indexes for JSON subfields using the JsonKeys field, which is an array of KeyValueInfo. Each element in the JsonKeys list is a KeyValueInfo, and you can further nest text, long, and double type subfields. For subfields in JSON key-value indexes, use . to indicate the hierarchy between JSON fields. For example, the JSON field namelist contains a text-type subfield totalcount and a JSON-type info, which itself contains the field name. Each field name should be configured as totalcount and info.name, respectively. The SqlFlag setting for subfield key-value indexes defined in JsonKeys must match their parent field, meaning they must be enabled or disabled together. The default is disabled. Subfields do not support separate settings for Delimiter, CaseSensitive, or IncludeChinese. For text-type fields, CaseSensitive, Delimiter, and IncludeChinese always inherit the parent field settings. This is only set when ValueType is json.
18099
19098
  */
18100
- jsonKeys: outputs.tls.GetIndexKeyValueValueJsonKey[];
19099
+ jsonKeys: outputs.tls.GetIndexUserInnerKeyValueValueJsonKey[];
18101
19100
  /**
18102
19101
  * Whether analysis is enabled for the field. Default is false. After enabling statistical analysis, you can configure token delimiters and whether to include Chinese content.
18103
19102
  */
@@ -18107,7 +19106,7 @@ export declare namespace tls {
18107
19106
  */
18108
19107
  valueType: string;
18109
19108
  }
18110
- interface GetIndexKeyValueValueJsonKey {
19109
+ interface GetIndexUserInnerKeyValueValueJsonKey {
18111
19110
  /**
18112
19111
  * Specify the field names for key-value indexing. Up to 100 fields can be added. Only letters, numbers, spaces, underscores (_), hyphens (-), and slashes (/) are supported, and field names cannot start or end with a space. Each key name must be unique within the same index. Length: 1–128 characters. For subfields in JSON-type key-value indexes, use a dot (.) to indicate the hierarchy between JSON fields. For example, if the JSON field 'namelist' contains a text-type subfield 'totalcount' and a JSON-type subfield 'info', and 'info' contains the field 'name', the field names should be configured as 'totalcount' and 'info.name' respectively.
18113
19112
  */
@@ -18115,9 +19114,9 @@ export declare namespace tls {
18115
19114
  /**
18116
19115
  * Field description information required for configuring key-value indexes.
18117
19116
  */
18118
- value: outputs.tls.GetIndexKeyValueValueJsonKeyValue;
19117
+ value: outputs.tls.GetIndexUserInnerKeyValueValueJsonKeyValue;
18119
19118
  }
18120
- interface GetIndexKeyValueValueJsonKeyValue {
19119
+ interface GetIndexUserInnerKeyValueValueJsonKeyValue {
18121
19120
  /**
18122
19121
  * Indicates whether the index was added automatically. true: The index was added automatically. false: The index was not added automatically.
18123
19122
  */
@@ -18129,157 +19128,284 @@ export declare namespace tls {
18129
19128
  /**
18130
19129
  * Token separators for the field. Default is empty (""). Each character in the string represents a token separator. Length: 0–256 bytes. If the length is 0, segmentation is disabled. Only one or more of the following characters are supported: letters, numbers, and !@#%^&*()-_=\\"', <>/?|;:\ \r[]{}. . Supports configuring both Chinese characters and token separators simultaneously.
18131
19130
  */
18132
- delimiter: string;
19131
+ delimiter: string;
19132
+ /**
19133
+ * When searching, determines whether to segment Chinese log content according to Chinese syntax. Enabled: Chinese characters in logs are segmented based on common Chinese syntax; custom segmentation for Chinese content is not supported. Non-Chinese characters in logs are segmented using the token separators specified in the parameter. Disabled: Logs are segmented using the token separators specified in the parameter.
19134
+ */
19135
+ includeChinese: boolean;
19136
+ /**
19137
+ * Create indexes for all fields with text values in the JSON field.
19138
+ */
19139
+ indexAll: boolean;
19140
+ /**
19141
+ * Enable automatic indexing and statistics for JSON fields. true: Enable automatic indexing and statistics. false: Disable automatic indexing and statistics.
19142
+ */
19143
+ indexSqlAll: boolean;
19144
+ /**
19145
+ * Whether analysis is enabled for the field. Default is false. After enabling statistical analysis, you can configure token delimiters and whether to include Chinese content.
19146
+ */
19147
+ sqlFlag: boolean;
19148
+ /**
19149
+ * Field type. Currently supports long, double, text, and json. The long and double types do not support configuring delimiters, including Chinese, or case sensitivity. Only the json type supports further configuration of JsonKeys subfields.
19150
+ */
19151
+ valueType: string;
19152
+ }
19153
+ interface GetProjectTag {
19154
+ /**
19155
+ * Tag key
19156
+ */
19157
+ key: string;
19158
+ /**
19159
+ * Tag value
19160
+ */
19161
+ value: string;
19162
+ }
19163
+ interface GetScheduleSqlTaskRequestCycle {
19164
+ /**
19165
+ * Cron expression, with a minimum granularity of minutes, using 24-hour format. For example, 0 18 * * * means execution at 18:00 every day.
19166
+ */
19167
+ cronTab: string;
19168
+ /**
19169
+ * If Type is set to Cron, you must also set the time zone.
19170
+ */
19171
+ cronTimeZone: string;
19172
+ /**
19173
+ * Scheduling period or the time point for periodic execution (minutes from 00:00). Range: 1–1440 minutes.
19174
+ */
19175
+ time: number;
19176
+ /**
19177
+ * Scheduling period type. Options: Period, Fixed, Cron.
19178
+ */
19179
+ type: string;
19180
+ }
19181
+ interface GetTopicTag {
19182
+ /**
19183
+ * User tag key.
19184
+ */
19185
+ key: string;
19186
+ /**
19187
+ * User tag value.
19188
+ */
19189
+ value: string;
19190
+ }
19191
+ interface ImportTaskImportSourceInfo {
19192
+ /**
19193
+ * Kafka data source information. When sourceType is kafka, the KafkaSourceInfo field is required
19194
+ */
19195
+ kafkaSourceInfo: outputs.tls.ImportTaskImportSourceInfoKafkaSourceInfo;
19196
+ /**
19197
+ * TOS data source information. When sourceType is tos, the TosSourceInfo field is required.
19198
+ */
19199
+ tosSourceInfo: outputs.tls.ImportTaskImportSourceInfoTosSourceInfo;
19200
+ }
19201
+ interface ImportTaskImportSourceInfoKafkaSourceInfo {
19202
+ /**
19203
+ * Data encoding format. Available options: UTF-8, GBK.
19204
+ */
19205
+ encode: string;
19206
+ /**
19207
+ * Kafka consumer group. If not specified, the system will automatically create a Kafka consumer group.
19208
+ */
19209
+ group: string;
19210
+ /**
19211
+ * The service addresses for different types of Kafka clusters vary. Details are as follows: Message Queue Kafka Edition: Use the access point of the Kafka instance. For more information, see Access Point. If the Kafka instance and the Log Service Project are in the same region, you can use private network access; otherwise, use public network access. Self-hosted Kafka clusters: Use the IP address and port number or the domain name and port number of the Kafka Broker. Only public network access is supported. Separate multiple service addresses with a comma (,).
19212
+ */
19213
+ host: string;
19214
+ /**
19215
+ * Starting position for data import. Options: 0: Earliest time, start importing from the first record in the specified Kafka Topic. 1: Latest time, start importing from the most recently generated record in the specified Kafka Topic.
19216
+ */
19217
+ initialOffset: number;
19218
+ /**
19219
+ * If you are using Message Queue Kafka Edition, set this to the Kafka instance ID.
19220
+ */
19221
+ instanceId: string;
19222
+ /**
19223
+ * Whether to enable authentication. If you use a public service address, it is recommended to enable authentication.
19224
+ */
19225
+ isNeedAuth: boolean;
19226
+ /**
19227
+ * Password authentication mechanism. Available options: PLAIN, SCRAM-SHA-256, and SCRAM-SHA-512.
19228
+ */
19229
+ mechanism: string;
19230
+ /**
19231
+ * Kafka SASL user password for authentication.
19232
+ */
19233
+ password: string;
19234
+ /**
19235
+ * Secure transmission protocol. Options include plaintext, sasl*ssl, ssl, and sasl*plaintext
19236
+ */
19237
+ protocol: string;
19238
+ /**
19239
+ * Specify log time. Options: 0: Use Kafka message timestamp. 1: Use current system time.
19240
+ */
19241
+ timeSourceDefault: number;
19242
+ /**
19243
+ * Kafka Topic name. Separate multiple Kafka Topics with commas (,).
19244
+ */
19245
+ topic: string;
19246
+ /**
19247
+ * Kafka SASL username for authentication.
19248
+ */
19249
+ username: string;
19250
+ }
19251
+ interface ImportTaskImportSourceInfoTosSourceInfo {
19252
+ /**
19253
+ * TOS bucket name
19254
+ */
19255
+ bucket: string;
18133
19256
  /**
18134
- * When searching, determines whether to segment Chinese log content according to Chinese syntax. Enabled: Chinese characters in logs are segmented based on common Chinese syntax; custom segmentation for Chinese content is not supported. Non-Chinese characters in logs are segmented using the token separators specified in the parameter. Disabled: Logs are segmented using the token separators specified in the parameter.
19257
+ * Compression mode for data in the TOS bucket. none: No compression. snappy: Compress using snappy. gzip: Compress using gzip. lz4: Compress using lz4.
18135
19258
  */
18136
- includeChinese: boolean;
19259
+ compressType: string;
18137
19260
  /**
18138
- * Create indexes for all fields with text values in the JSON field.
19261
+ * Path of the file to be imported in the TOS bucket.
18139
19262
  */
18140
- indexAll: boolean;
19263
+ prefix: string;
18141
19264
  /**
18142
- * Enable automatic indexing and statistics for JSON fields. true: Enable automatic indexing and statistics. false: Disable automatic indexing and statistics.
19265
+ * Region where the TOS bucket is located. Cross-region data import is supported
18143
19266
  */
18144
- indexSqlAll: boolean;
19267
+ region: string;
19268
+ }
19269
+ interface ImportTaskTargetInfo {
18145
19270
  /**
18146
- * Whether analysis is enabled for the field. Default is false. After enabling statistical analysis, you can configure token delimiters and whether to include Chinese content.
19271
+ * Log extraction rule.
18147
19272
  */
18148
- sqlFlag: boolean;
19273
+ extractRule: outputs.tls.ImportTaskTargetInfoExtractRule;
18149
19274
  /**
18150
- * Field type. Currently supports long, double, text, and json. The long and double types do not support configuring delimiters, including Chinese, or case sensitivity. Only the json type supports further configuration of JsonKeys subfields.
19275
+ * Log sample. When LogType is set to multiline_log, you must configure log samples. It is recommended to provide more than two log entries as examples to ensure the regular expression matches the first line of each log. Use real samples from the production environment.
18151
19276
  */
18152
- valueType: string;
18153
- }
18154
- interface GetIndexUserInnerKeyValue {
19277
+ logSample: string;
18155
19278
  /**
18156
- * Specify the field names for key-value indexing. Up to 100 fields can be added. Only letters, numbers, spaces, underscores (_), hyphens (-), and slashes (/) are supported, and field names cannot start or end with a space. Each key name must be unique within the same index. Length: 1–128 characters. For subfields in JSON-type key-value indexes, use a dot (.) to indicate the hierarchy between JSON fields. For example, if the JSON field 'namelist' contains a text-type subfield 'totalcount' and a JSON-type subfield 'info', and 'info' contains the field 'name', the field names should be configured as 'totalcount' and 'info.name' respectively.
19279
+ * Specify log parsing type during import. delimiter*log: CSV type. multiline*log: multiline full text type. minimalist*log: single line full text type. json*log: JSON type.
18157
19280
  */
18158
- key: string;
19281
+ logType: string;
18159
19282
  /**
18160
- * Field description information required for configuring key-value indexes.
19283
+ * Region.
18161
19284
  */
18162
- value: outputs.tls.GetIndexUserInnerKeyValueValue;
19285
+ region: string;
18163
19286
  }
18164
- interface GetIndexUserInnerKeyValueValue {
19287
+ interface ImportTaskTargetInfoExtractRule {
18165
19288
  /**
18166
- * Indicates whether the index was added automatically. true: The index was added automatically. false: The index was not added automatically.
19289
+ * Basic content of log extraction rules.
18167
19290
  */
18168
- autoIndexFlag: boolean;
19291
+ extractRule: outputs.tls.ImportTaskTargetInfoExtractRuleExtractRule;
18169
19292
  /**
18170
- * Whether to distinguish case. Default is false.
19293
+ * Number of skipped rows. Only valid when the log type is delimiterLog and the import type is tos.
18171
19294
  */
18172
- caseSensitive: boolean;
19295
+ skipLineCount: number;
18173
19296
  /**
18174
- * Token separators for the field. Default is empty (""). Each character in the string represents a token separator. Length: 0–256 bytes. If the length is 0, segmentation is disabled. Only one or more of the following characters are supported: letters, numbers, and !@#%^&*()-_=\\"', <>/?|;:\ \r[]{}. . Supports configuring both Chinese characters and token separators simultaneously.
19297
+ * Time extraction regular expression, used to extract the time value from the TimeKey field and parse it as the collection time
18175
19298
  */
18176
- delimiter: string;
19299
+ timeExtractRegex: string;
18177
19300
  /**
18178
- * When searching, determines whether to segment Chinese log content according to Chinese syntax. Enabled: Chinese characters in logs are segmented based on common Chinese syntax; custom segmentation for Chinese content is not supported. Non-Chinese characters in logs are segmented using the token separators specified in the parameter. Disabled: Logs are segmented using the token separators specified in the parameter.
19301
+ * Time zone. Supports machine time zone (default) and custom time zone. Custom time zone supports GMT and UTC. GMT format: GMT+08:00. UTC format: Asia/Shanghai.
18179
19302
  */
18180
- includeChinese: boolean;
19303
+ timeZone: string;
19304
+ }
19305
+ interface ImportTaskTargetInfoExtractRuleExtractRule {
18181
19306
  /**
18182
- * Create indexes for all fields with text values in the JSON field.
19307
+ * Regular expression for identifying the first line of each log. The matched part is treated as the start of the log. When LogType is set to multiline_log, you must configure a log sample
18183
19308
  */
18184
- indexAll: boolean;
19309
+ beginRegex: string;
18185
19310
  /**
18186
- * Enable automatic indexing and statistics for JSON fields. true: Enable automatic indexing and statistics. false: Disable automatic indexing and statistics.
19311
+ * Delimiter. Only valid when LogType is delimiter_log.
18187
19312
  */
18188
- indexSqlAll: boolean;
19313
+ delimiter: string;
18189
19314
  /**
18190
- * When ValueType is json, you can configure key-value indexes for JSON subfields using the JsonKeys field, which is an array of KeyValueInfo. Each element in the JsonKeys list is a KeyValueInfo, and you can further nest text, long, and double type subfields. For subfields in JSON key-value indexes, use . to indicate the hierarchy between JSON fields. For example, the JSON field namelist contains a text-type subfield totalcount and a JSON-type info, which itself contains the field name. Each field name should be configured as totalcount and info.name, respectively. The SqlFlag setting for subfield key-value indexes defined in JsonKeys must match their parent field, meaning they must be enabled or disabled together. The default is disabled. Subfields do not support separate settings for Delimiter, CaseSensitive, or IncludeChinese. For text-type fields, CaseSensitive, Delimiter, and IncludeChinese always inherit the parent field settings. This is only set when ValueType is json.
19315
+ * Enable nanoseconds.
18191
19316
  */
18192
- jsonKeys: outputs.tls.GetIndexUserInnerKeyValueValueJsonKey[];
19317
+ enableNanosecond: boolean;
19318
+ filterKeyRegexes: outputs.tls.ImportTaskTargetInfoExtractRuleExtractRuleFilterKeyRegex[];
18193
19319
  /**
18194
- * Whether analysis is enabled for the field. Default is false. After enabling statistical analysis, you can configure token delimiters and whether to include Chinese content.
19320
+ * List of log field names (Key). Valid only when LogType is delimiter_log. Supports up to 100 field names. Duplicate field names are not allowed, and all field names cannot be left blank
18195
19321
  */
18196
- sqlFlag: boolean;
19322
+ keys: string[];
18197
19323
  /**
18198
- * Field type. Currently supports long, double, text, and json. The long and double types do not support configuring delimiters, including Chinese, or case sensitivity. Only the json type supports further configuration of JsonKeys subfields.
19324
+ * Log regular expression
18199
19325
  */
18200
- valueType: string;
18201
- }
18202
- interface GetIndexUserInnerKeyValueValueJsonKey {
19326
+ logRegex: string;
18203
19327
  /**
18204
- * Specify the field names for key-value indexing. Up to 100 fields can be added. Only letters, numbers, spaces, underscores (_), hyphens (-), and slashes (/) are supported, and field names cannot start or end with a space. Each key name must be unique within the same index. Length: 1–128 characters. For subfields in JSON-type key-value indexes, use a dot (.) to indicate the hierarchy between JSON fields. For example, if the JSON field 'namelist' contains a text-type subfield 'totalcount' and a JSON-type subfield 'info', and 'info' contains the field 'name', the field names should be configured as 'totalcount' and 'info.name' respectively.
19328
+ * Log template.
18205
19329
  */
18206
- key: string;
19330
+ logTemplate: outputs.tls.ImportTaskTargetInfoExtractRuleExtractRuleLogTemplate;
18207
19331
  /**
18208
- * Field description information required for configuring key-value indexes.
19332
+ * Quotation mark. Content enclosed by the quotation mark will not be separated and will be parsed as a complete field. Only valid when LogType is delimiter_log.
18209
19333
  */
18210
- value: outputs.tls.GetIndexUserInnerKeyValueValueJsonKeyValue;
18211
- }
18212
- interface GetIndexUserInnerKeyValueValueJsonKeyValue {
19334
+ quote: string;
18213
19335
  /**
18214
- * Indicates whether the index was added automatically. true: The index was added automatically. false: The index was not added automatically.
19336
+ * Parsing format for the time field. If you use a specified time field in the log as the log timestamp, you must fill in TimeKey and TimeFormat. TimeKey and TimeFormat must be paired. For configuration details, see time format.
18215
19337
  */
18216
- autoIndexFlag: boolean;
19338
+ timeFormat: string;
18217
19339
  /**
18218
- * Whether to distinguish case. Default is false.
19340
+ * Name of the log time field. If you use a specific time field in the log as the log timestamp, you must provide both TimeKey and TimeFormat. TimeKey and TimeFormat must appear in pairs
18219
19341
  */
18220
- caseSensitive: boolean;
19342
+ timeKey: string;
18221
19343
  /**
18222
- * Token separators for the field. Default is empty (""). Each character in the string represents a token separator. Length: 0–256 bytes. If the length is 0, segmentation is disabled. Only one or more of the following characters are supported: letters, numbers, and !@#%^&*()-_=\\"', <>/?|;:\ \r[]{}. . Supports configuring both Chinese characters and token separators simultaneously.
19344
+ * Time sample. Used to verify whether the entered time parsing format is correct
18223
19345
  */
18224
- delimiter: string;
19346
+ timeSample: string;
18225
19347
  /**
18226
- * When searching, determines whether to segment Chinese log content according to Chinese syntax. Enabled: Chinese characters in logs are segmented based on common Chinese syntax; custom segmentation for Chinese content is not supported. Non-Chinese characters in logs are segmented using the token separators specified in the parameter. Disabled: Logs are segmented using the token separators specified in the parameter.
19348
+ * When uploading logs that failed to parse, specify the key name for the failed logs. UnMatchUpLoadSwitch=true and UnMatchLogKey must be used together.
18227
19349
  */
18228
- includeChinese: boolean;
19350
+ unMatchLogKey: string;
18229
19351
  /**
18230
- * Create indexes for all fields with text values in the JSON field.
19352
+ * Whether to upload logs that failed to parse. UnMatchUpLoadSwitch=true and UnMatchLogKey must be paired. true: Upload logs that failed to parse. false: Do not upload logs that failed to parse.
18231
19353
  */
18232
- indexAll: boolean;
19354
+ unMatchUpLoadSwitch: boolean;
19355
+ }
19356
+ interface ImportTaskTargetInfoExtractRuleExtractRuleFilterKeyRegex {
18233
19357
  /**
18234
- * Enable automatic indexing and statistics for JSON fields. true: Enable automatic indexing and statistics. false: Disable automatic indexing and statistics.
19358
+ * Key.
18235
19359
  */
18236
- indexSqlAll: boolean;
19360
+ key: string;
18237
19361
  /**
18238
- * Whether analysis is enabled for the field. Default is false. After enabling statistical analysis, you can configure token delimiters and whether to include Chinese content.
19362
+ * Regular expression.
18239
19363
  */
18240
- sqlFlag: boolean;
19364
+ regex: string;
19365
+ }
19366
+ interface ImportTaskTargetInfoExtractRuleExtractRuleLogTemplate {
18241
19367
  /**
18242
- * Field type. Currently supports long, double, text, and json. The long and double types do not support configuring delimiters, including Chinese, or case sensitivity. Only the json type supports further configuration of JsonKeys subfields.
19368
+ * Format.
18243
19369
  */
18244
- valueType: string;
19370
+ format: string;
19371
+ /**
19372
+ * Type
19373
+ */
19374
+ type: string;
18245
19375
  }
18246
- interface GetProjectTag {
19376
+ interface ImportTaskTaskStatistics {
18247
19377
  /**
18248
- * Tag key
19378
+ * Total resource bytes enumerated
18249
19379
  */
18250
- key: string;
19380
+ bytesTotal: number;
18251
19381
  /**
18252
- * Tag value
19382
+ * Bytes transferred.
18253
19383
  */
18254
- value: string;
18255
- }
18256
- interface GetScheduleSqlTaskRequestCycle {
19384
+ bytesTransferred: number;
18257
19385
  /**
18258
- * Cron expression, with a minimum granularity of minutes, using 24-hour format. For example, 0 18 * * * means execution at 18:00 every day.
19386
+ * Number of resources failed to import.
18259
19387
  */
18260
- cronTab: string;
19388
+ failed: number;
18261
19389
  /**
18262
- * If Type is set to Cron, you must also set the time zone.
19390
+ * Number of resources not found.
18263
19391
  */
18264
- cronTimeZone: string;
19392
+ notExist: number;
18265
19393
  /**
18266
- * Scheduling period or the time point for periodic execution (minutes from 00:00). Range: 1–1440 minutes.
19394
+ * Number of resources skipped during import
18267
19395
  */
18268
- time: number;
19396
+ skipped: number;
18269
19397
  /**
18270
- * Scheduling period type. Options: Period, Fixed, Cron.
19398
+ * Task status. Status of the import task. Preparing: Preparing for import. Importing: Importing data. Success: Import completed successfully. Failed: Import failed. Stopped: Import paused.
18271
19399
  */
18272
- type: string;
18273
- }
18274
- interface GetTopicTag {
19400
+ taskStatus: string;
18275
19401
  /**
18276
- * User tag key.
19402
+ * Total number of resources enumerated.
18277
19403
  */
18278
- key: string;
19404
+ total: number;
18279
19405
  /**
18280
- * User tag value.
19406
+ * Number of records transferred.
18281
19407
  */
18282
- value: string;
19408
+ transferred: number;
18283
19409
  }
18284
19410
  interface IndexFullText {
18285
19411
  /**
@@ -18355,6 +19481,18 @@ export declare namespace tls {
18355
19481
  * Indicates whether the index was added automatically. true: The index was added automatically. false: The index was not added automatically.
18356
19482
  */
18357
19483
  autoIndexFlag: boolean;
19484
+ /**
19485
+ * Whether to distinguish case. Default is false.
19486
+ */
19487
+ caseSensitive: boolean;
19488
+ /**
19489
+ * Token separators for the field. Default is empty (""). Each character in the string represents a token separator. Length: 0–256 bytes. If the length is 0, segmentation is disabled. Only one or more of the following characters are supported: letters, numbers, and !@#%^&*()-_=\\"', <>/?|;:\ \r[]{}. . Supports configuring both Chinese characters and token separators simultaneously.
19490
+ */
19491
+ delimiter: string;
19492
+ /**
19493
+ * When searching, determines whether to segment Chinese log content according to Chinese syntax. Enabled: Chinese characters in logs are segmented based on common Chinese syntax; custom segmentation for Chinese content is not supported. Non-Chinese characters in logs are segmented using the token separators specified in the parameter. Disabled: Logs are segmented using the token separators specified in the parameter.
19494
+ */
19495
+ includeChinese: boolean;
18358
19496
  /**
18359
19497
  * Create indexes for all fields with text values in the JSON field.
18360
19498
  */
@@ -18432,6 +19570,18 @@ export declare namespace tls {
18432
19570
  * Indicates whether the index was added automatically. true: The index was added automatically. false: The index was not added automatically.
18433
19571
  */
18434
19572
  autoIndexFlag: boolean;
19573
+ /**
19574
+ * Whether to distinguish case. Default is false.
19575
+ */
19576
+ caseSensitive: boolean;
19577
+ /**
19578
+ * Token separators for the field. Default is empty (""). Each character in the string represents a token separator. Length: 0–256 bytes. If the length is 0, segmentation is disabled. Only one or more of the following characters are supported: letters, numbers, and !@#%^&*()-_=\\"', <>/?|;:\ \r[]{}. . Supports configuring both Chinese characters and token separators simultaneously.
19579
+ */
19580
+ delimiter: string;
19581
+ /**
19582
+ * When searching, determines whether to segment Chinese log content according to Chinese syntax. Enabled: Chinese characters in logs are segmented based on common Chinese syntax; custom segmentation for Chinese content is not supported. Non-Chinese characters in logs are segmented using the token separators specified in the parameter. Disabled: Logs are segmented using the token separators specified in the parameter.
19583
+ */
19584
+ includeChinese: boolean;
18435
19585
  /**
18436
19586
  * Create indexes for all fields with text values in the JSON field.
18437
19587
  */
@@ -19125,6 +20275,14 @@ export declare namespace vedbm {
19125
20275
  * Instance ID.
19126
20276
  */
19127
20277
  instanceId: string;
20278
+ /**
20279
+ * Instance name.
20280
+ */
20281
+ instanceName: string;
20282
+ /**
20283
+ * Instance VPC ID.
20284
+ */
20285
+ vpc: string;
19128
20286
  }
19129
20287
  interface DatabaseDatabasesPrivilege {
19130
20288
  /**
@@ -19140,6 +20298,58 @@ export declare namespace vedbm {
19140
20298
  */
19141
20299
  accountPrivilegeDetails: string[];
19142
20300
  }
20301
+ interface EndpointPrivateAddresses {
20302
+ /**
20303
+ * Resolution method, fixed as false
20304
+ */
20305
+ dnsVisibility: boolean;
20306
+ /**
20307
+ * Instance intranet access domain name
20308
+ */
20309
+ domain: string;
20310
+ /**
20311
+ * Public network ID
20312
+ */
20313
+ eipId: string;
20314
+ /**
20315
+ * IP address
20316
+ */
20317
+ ipAddress: string;
20318
+ /**
20319
+ * Network type
20320
+ */
20321
+ networkType: string;
20322
+ /**
20323
+ * Subnet ID
20324
+ */
20325
+ subnetId: string;
20326
+ }
20327
+ interface EndpointPublicAddresses {
20328
+ /**
20329
+ * Resolution method, fixed as false
20330
+ */
20331
+ dnsVisibility: boolean;
20332
+ /**
20333
+ * Instance intranet access domain name
20334
+ */
20335
+ domain: string;
20336
+ /**
20337
+ * Public network ID
20338
+ */
20339
+ eipId: string;
20340
+ /**
20341
+ * IP address
20342
+ */
20343
+ ipAddress: string;
20344
+ /**
20345
+ * Network type
20346
+ */
20347
+ networkType: string;
20348
+ /**
20349
+ * Subnet ID
20350
+ */
20351
+ subnetId: string;
20352
+ }
19143
20353
  interface GetAllowListAssociatedInstance {
19144
20354
  /**
19145
20355
  * Instance ID.
@@ -19168,6 +20378,58 @@ export declare namespace vedbm {
19168
20378
  */
19169
20379
  accountPrivilegeDetails: string[];
19170
20380
  }
20381
+ interface GetEndpointPrivateAddresses {
20382
+ /**
20383
+ * Resolution method, fixed as false
20384
+ */
20385
+ dnsVisibility: boolean;
20386
+ /**
20387
+ * Instance intranet access domain name
20388
+ */
20389
+ domain: string;
20390
+ /**
20391
+ * Public network ID
20392
+ */
20393
+ eipId: string;
20394
+ /**
20395
+ * IP address
20396
+ */
20397
+ ipAddress: string;
20398
+ /**
20399
+ * Network type
20400
+ */
20401
+ networkType: string;
20402
+ /**
20403
+ * Subnet ID
20404
+ */
20405
+ subnetId: string;
20406
+ }
20407
+ interface GetEndpointPublicAddresses {
20408
+ /**
20409
+ * Resolution method, fixed as false
20410
+ */
20411
+ dnsVisibility: boolean;
20412
+ /**
20413
+ * Instance intranet access domain name
20414
+ */
20415
+ domain: string;
20416
+ /**
20417
+ * Public network ID
20418
+ */
20419
+ eipId: string;
20420
+ /**
20421
+ * IP address
20422
+ */
20423
+ ipAddress: string;
20424
+ /**
20425
+ * Network type
20426
+ */
20427
+ networkType: string;
20428
+ /**
20429
+ * Subnet ID
20430
+ */
20431
+ subnetId: string;
20432
+ }
19171
20433
  interface GetInstanceChargeDetail {
19172
20434
  /**
19173
20435
  * Whether to enable auto-renewal in prepaid scenarios. Values: true: auto-renewal. false: no auto-renewal.
@@ -19490,10 +20752,30 @@ export declare namespace vedbm {
19490
20752
  * Node failover priority. Range: 0~15. Higher values indicate higher priority
19491
20753
  */
19492
20754
  failoverPriority: number;
20755
+ /**
20756
+ * Memory size, in GiB.
20757
+ */
20758
+ memory: number;
20759
+ /**
20760
+ * Node ID
20761
+ */
20762
+ nodeId: string;
20763
+ /**
20764
+ * Node specification.
20765
+ */
20766
+ nodeSpec: string;
19493
20767
  /**
19494
20768
  * Node type. Values: Primary: primary node. ReadOnly: read-only node.
19495
20769
  */
19496
20770
  nodeType: string;
20771
+ /**
20772
+ * CPU size. For example, a value of 1 indicates a CPU size of 1U.
20773
+ */
20774
+ vCpu: number;
20775
+ /**
20776
+ * Availability zone ID
20777
+ */
20778
+ zoneId: string;
19497
20779
  }
19498
20780
  interface InstanceTag {
19499
20781
  /**
@@ -24756,6 +26038,10 @@ export declare namespace vpn {
24756
26038
  value: string;
24757
26039
  }
24758
26040
  interface VpnConnectionTunnelOption {
26041
+ /**
26042
+ * IPsec tunnel status. ike*sa*negotiation*failed: Phase one negotiation failed; nike*sa*negotiation*completed: Phase one negotiation succeeded; nipsec*sa*negotiation*failed: Phase two negotiation failed; nipsec*sa*negotiation*completed: Phase two negotiation succeeded.
26043
+ */
26044
+ connectStatus: string;
24759
26045
  /**
24760
26046
  * ID of the customer gateway associated with the IPsec connection.
24761
26047
  */
@@ -24846,10 +26132,30 @@ export declare namespace vpn {
24846
26132
  lifetime: number;
24847
26133
  }
24848
26134
  interface VpnConnectionTunnelOptionTunnelBgpInfo {
26135
+ /**
26136
+ * Enable dynamic route propagation. false (default): No, use static routing mode. true: Yes, use BGP routing mode.
26137
+ */
26138
+ enableBgp: boolean;
26139
+ /**
26140
+ * The ASN of the VPN gateway.
26141
+ */
26142
+ localAsn: number;
24849
26143
  /**
24850
26144
  * BGP address. Defaults to the first host address of TunnelOptions.N.BGPConfig.TunnelCidr. This address must be an IP address within the IPsec tunnel CIDR block. If EnableTunnelsBgp is set to true, this parameter must be specified.
24851
26145
  */
24852
26146
  localBgpIp: string;
26147
+ /**
26148
+ * ASN of the customer gateway.
26149
+ */
26150
+ peerAsn: number;
26151
+ /**
26152
+ * BGP peer IP, that is, the BGP address on the customer gateway side.
26153
+ */
26154
+ peerBgpIp: string;
26155
+ /**
26156
+ * Status of the BGP connection. Up: BGP connection is normal. Down: BGP connection is not working.
26157
+ */
26158
+ sessionStatus: string;
24853
26159
  /**
24854
26160
  * The CIDR address range for the local and peer IPs of the BGP session. This range must be within the 169.254.0.0/16 subnet with a subnet mask length of 30. If EnableTunnelsBgp is set to true, this parameter must be provided.
24855
26161
  */