@byteplus/pulumi-bytepluscc 0.0.34 → 0.0.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cloudmonitor/eventRule.d.ts +226 -0
- package/cloudmonitor/eventRule.js +126 -0
- package/cloudmonitor/eventRule.js.map +1 -0
- package/cloudmonitor/getEventRule.d.ts +65 -0
- package/cloudmonitor/getEventRule.js +28 -0
- package/cloudmonitor/getEventRule.js.map +1 -0
- package/cloudmonitor/getEventRules.d.ts +22 -0
- package/cloudmonitor/getEventRules.js +24 -0
- package/cloudmonitor/getEventRules.js.map +1 -0
- package/cloudmonitor/index.d.ts +9 -0
- package/cloudmonitor/index.js +12 -1
- package/cloudmonitor/index.js.map +1 -1
- package/cr/getVpcEndpoint.d.ts +45 -0
- package/cr/getVpcEndpoint.js +28 -0
- package/cr/getVpcEndpoint.js.map +1 -0
- package/cr/getVpcEndpoints.d.ts +22 -0
- package/cr/getVpcEndpoints.js +24 -0
- package/cr/getVpcEndpoints.js.map +1 -0
- package/cr/index.d.ts +9 -0
- package/cr/index.js +12 -1
- package/cr/index.js.map +1 -1
- package/cr/vpcEndpoint.d.ts +62 -0
- package/cr/vpcEndpoint.js +66 -0
- package/cr/vpcEndpoint.js.map +1 -0
- package/dns/backup.d.ts +90 -0
- package/dns/backup.js +76 -0
- package/dns/backup.js.map +1 -0
- package/dns/backupSchedule.d.ts +89 -0
- package/dns/backupSchedule.js +80 -0
- package/dns/backupSchedule.js.map +1 -0
- package/dns/getBackup.d.ts +52 -0
- package/dns/getBackup.js +28 -0
- package/dns/getBackup.js.map +1 -0
- package/dns/getBackupSchedule.d.ts +48 -0
- package/dns/getBackupSchedule.js +28 -0
- package/dns/getBackupSchedule.js.map +1 -0
- package/dns/getBackupSchedules.d.ts +22 -0
- package/dns/getBackupSchedules.js +24 -0
- package/dns/getBackupSchedules.js.map +1 -0
- package/dns/getBackups.d.ts +22 -0
- package/dns/getBackups.js +24 -0
- package/dns/getBackups.js.map +1 -0
- package/dns/index.d.ts +18 -0
- package/dns/index.js +23 -1
- package/dns/index.js.map +1 -1
- package/gtm/getPolicies.d.ts +22 -0
- package/gtm/getPolicies.js +24 -0
- package/gtm/getPolicies.js.map +1 -0
- package/gtm/getPolicy.d.ts +65 -0
- package/gtm/getPolicy.js +28 -0
- package/gtm/getPolicy.js.map +1 -0
- package/gtm/index.d.ts +9 -0
- package/gtm/index.js +12 -1
- package/gtm/index.js.map +1 -1
- package/gtm/policy.d.ts +114 -0
- package/gtm/policy.js +76 -0
- package/gtm/policy.js.map +1 -0
- package/iam/allowedIpAddress.d.ts +107 -0
- package/iam/allowedIpAddress.js +95 -0
- package/iam/allowedIpAddress.js.map +1 -0
- package/iam/getAllowedIpAddress.d.ts +53 -0
- package/iam/getAllowedIpAddress.js +28 -0
- package/iam/getAllowedIpAddress.js.map +1 -0
- package/iam/getAllowedIpAddresses.d.ts +22 -0
- package/iam/getAllowedIpAddresses.js +24 -0
- package/iam/getAllowedIpAddresses.js.map +1 -0
- package/iam/index.d.ts +9 -0
- package/iam/index.js +12 -1
- package/iam/index.js.map +1 -1
- package/kafka/getGroup.d.ts +65 -0
- package/kafka/getGroup.js +28 -0
- package/kafka/getGroup.js.map +1 -0
- package/kafka/getGroups.d.ts +22 -0
- package/kafka/getGroups.js +24 -0
- package/kafka/getGroups.js.map +1 -0
- package/kafka/group.d.ts +127 -0
- package/kafka/group.js +93 -0
- package/kafka/group.js.map +1 -0
- package/kafka/index.d.ts +9 -0
- package/kafka/index.js +12 -1
- package/kafka/index.js.map +1 -1
- package/mongodb/endpoint.d.ts +175 -0
- package/mongodb/endpoint.js +97 -0
- package/mongodb/endpoint.js.map +1 -0
- package/mongodb/getEndpoint.d.ts +39 -0
- package/mongodb/getEndpoint.js +28 -0
- package/mongodb/getEndpoint.js.map +1 -0
- package/mongodb/getEndpoints.d.ts +22 -0
- package/mongodb/getEndpoints.js +24 -0
- package/mongodb/getEndpoints.js.map +1 -0
- package/mongodb/index.d.ts +9 -0
- package/mongodb/index.js +12 -1
- package/mongodb/index.js.map +1 -1
- package/package.json +1 -1
- package/privatelink/gatewayEndpoint.d.ts +182 -0
- package/privatelink/gatewayEndpoint.js +106 -0
- package/privatelink/gatewayEndpoint.js.map +1 -0
- package/privatelink/getGatewayEndpoint.d.ts +85 -0
- package/privatelink/getGatewayEndpoint.js +28 -0
- package/privatelink/getGatewayEndpoint.js.map +1 -0
- package/privatelink/getGatewayEndpoints.d.ts +22 -0
- package/privatelink/getGatewayEndpoints.js +24 -0
- package/privatelink/getGatewayEndpoints.js.map +1 -0
- package/privatelink/index.d.ts +9 -0
- package/privatelink/index.js +12 -1
- package/privatelink/index.js.map +1 -1
- package/rdsmssql/backup.d.ts +148 -0
- package/rdsmssql/backup.js +85 -0
- package/rdsmssql/backup.js.map +1 -0
- package/rdsmssql/getBackup.d.ts +89 -0
- package/rdsmssql/getBackup.js +28 -0
- package/rdsmssql/getBackup.js.map +1 -0
- package/rdsmssql/getBackups.d.ts +22 -0
- package/rdsmssql/getBackups.js +24 -0
- package/rdsmssql/getBackups.js.map +1 -0
- package/rdsmssql/index.d.ts +9 -0
- package/rdsmssql/index.js +12 -1
- package/rdsmssql/index.js.map +1 -1
- package/rdsmysql/allowList.d.ts +1 -0
- package/rdsmysql/allowList.js +1 -1
- package/rdsmysql/allowList.js.map +1 -1
- package/rdspostgresql/allowList.d.ts +24 -0
- package/rdspostgresql/allowList.js +4 -0
- package/rdspostgresql/allowList.js.map +1 -1
- package/rdspostgresql/getAllowList.d.ts +8 -0
- package/rdspostgresql/getAllowList.js.map +1 -1
- package/rdspostgresql/getInstanceSsl.d.ts +68 -0
- package/rdspostgresql/getInstanceSsl.js +28 -0
- package/rdspostgresql/getInstanceSsl.js.map +1 -0
- package/rdspostgresql/getInstanceSsls.d.ts +22 -0
- package/rdspostgresql/getInstanceSsls.js +24 -0
- package/rdspostgresql/getInstanceSsls.js.map +1 -0
- package/rdspostgresql/index.d.ts +9 -0
- package/rdspostgresql/index.js +12 -1
- package/rdspostgresql/index.js.map +1 -1
- package/rdspostgresql/instanceSsl.d.ts +134 -0
- package/rdspostgresql/instanceSsl.js +88 -0
- package/rdspostgresql/instanceSsl.js.map +1 -0
- package/redis/allowList.d.ts +2 -2
- package/redis/allowList.js +3 -0
- package/redis/allowList.js.map +1 -1
- package/storageebs/getSnapshotPolicies.d.ts +22 -0
- package/storageebs/getSnapshotPolicies.js +24 -0
- package/storageebs/getSnapshotPolicies.js.map +1 -0
- package/storageebs/getSnapshotPolicy.d.ts +93 -0
- package/storageebs/getSnapshotPolicy.js +28 -0
- package/storageebs/getSnapshotPolicy.js.map +1 -0
- package/storageebs/index.d.ts +9 -0
- package/storageebs/index.js +12 -1
- package/storageebs/index.js.map +1 -1
- package/storageebs/snapshotPolicy.d.ts +215 -0
- package/storageebs/snapshotPolicy.js +122 -0
- package/storageebs/snapshotPolicy.js.map +1 -0
- package/tls/etl.d.ts +222 -0
- package/tls/etl.js +113 -0
- package/tls/etl.js.map +1 -0
- package/tls/getEtl.d.ts +109 -0
- package/tls/getEtl.js +28 -0
- package/tls/getEtl.js.map +1 -0
- package/tls/getEtls.d.ts +22 -0
- package/tls/getEtls.js +24 -0
- package/tls/getEtls.js.map +1 -0
- package/tls/getHost.d.ts +52 -0
- package/tls/getHost.js +28 -0
- package/tls/getHost.js.map +1 -0
- package/tls/getHostGroup.d.ts +113 -0
- package/tls/getHostGroup.js +28 -0
- package/tls/getHostGroup.js.map +1 -0
- package/tls/getHostGroups.d.ts +22 -0
- package/tls/getHostGroups.js +24 -0
- package/tls/getHostGroups.js.map +1 -0
- package/tls/getHosts.d.ts +22 -0
- package/tls/getHosts.js +24 -0
- package/tls/getHosts.js.map +1 -0
- package/tls/host.d.ts +97 -0
- package/tls/host.js +82 -0
- package/tls/host.js.map +1 -0
- package/tls/hostGroup.d.ts +254 -0
- package/tls/hostGroup.js +121 -0
- package/tls/hostGroup.js.map +1 -0
- package/tls/index.d.ts +27 -0
- package/tls/index.js +35 -1
- package/tls/index.js.map +1 -1
- package/transitrouter/directConnectGatewayAttachment.d.ts +180 -0
- package/transitrouter/directConnectGatewayAttachment.js +106 -0
- package/transitrouter/directConnectGatewayAttachment.js.map +1 -0
- package/transitrouter/getDirectConnectGatewayAttachment.d.ts +89 -0
- package/transitrouter/getDirectConnectGatewayAttachment.js +28 -0
- package/transitrouter/getDirectConnectGatewayAttachment.js.map +1 -0
- package/transitrouter/getDirectConnectGatewayAttachments.d.ts +22 -0
- package/transitrouter/getDirectConnectGatewayAttachments.js +24 -0
- package/transitrouter/getDirectConnectGatewayAttachments.js.map +1 -0
- package/transitrouter/getTransitRouterBandwidthPackage.d.ts +141 -0
- package/transitrouter/getTransitRouterBandwidthPackage.js +28 -0
- package/transitrouter/getTransitRouterBandwidthPackage.js.map +1 -0
- package/transitrouter/getTransitRouterBandwidthPackages.d.ts +22 -0
- package/transitrouter/getTransitRouterBandwidthPackages.js +24 -0
- package/transitrouter/getTransitRouterBandwidthPackages.js.map +1 -0
- package/transitrouter/getTransitRouterRouteTableAssociation.d.ts +48 -0
- package/transitrouter/getTransitRouterRouteTableAssociation.js +28 -0
- package/transitrouter/getTransitRouterRouteTableAssociation.js.map +1 -0
- package/transitrouter/getTransitRouterRouteTableAssociations.d.ts +22 -0
- package/transitrouter/getTransitRouterRouteTableAssociations.js +24 -0
- package/transitrouter/getTransitRouterRouteTableAssociations.js.map +1 -0
- package/transitrouter/index.d.ts +27 -0
- package/transitrouter/index.js +34 -1
- package/transitrouter/index.js.map +1 -1
- package/transitrouter/transitRouterBandwidthPackage.d.ts +320 -0
- package/transitrouter/transitRouterBandwidthPackage.js +138 -0
- package/transitrouter/transitRouterBandwidthPackage.js.map +1 -0
- package/transitrouter/transitRouterRouteTableAssociation.d.ts +89 -0
- package/transitrouter/transitRouterRouteTableAssociation.js +80 -0
- package/transitrouter/transitRouterRouteTableAssociation.js.map +1 -0
- package/types/input.d.ts +651 -20
- package/types/output.d.ts +1910 -554
package/types/output.d.ts
CHANGED
|
@@ -9592,6 +9592,36 @@ export declare namespace cr {
|
|
|
9592
9592
|
*/
|
|
9593
9593
|
value: string;
|
|
9594
9594
|
}
|
|
9595
|
+
interface GetVpcEndpointVpc {
|
|
9596
|
+
/**
|
|
9597
|
+
* Primary account ID for the VPC
|
|
9598
|
+
*/
|
|
9599
|
+
accountId: number;
|
|
9600
|
+
/**
|
|
9601
|
+
* Creation time
|
|
9602
|
+
*/
|
|
9603
|
+
createTime: string;
|
|
9604
|
+
/**
|
|
9605
|
+
* IP address of the image repository within the VPC
|
|
9606
|
+
*/
|
|
9607
|
+
ip: string;
|
|
9608
|
+
/**
|
|
9609
|
+
* VPC region
|
|
9610
|
+
*/
|
|
9611
|
+
region: string;
|
|
9612
|
+
/**
|
|
9613
|
+
* Access endpoint status: Enabling: in progress. Enabled: enabled. Disabling: in progress. Failed: failed.
|
|
9614
|
+
*/
|
|
9615
|
+
status: string;
|
|
9616
|
+
/**
|
|
9617
|
+
* Subnet ID
|
|
9618
|
+
*/
|
|
9619
|
+
subnetId: string;
|
|
9620
|
+
/**
|
|
9621
|
+
* VPC ID。
|
|
9622
|
+
*/
|
|
9623
|
+
vpcId: string;
|
|
9624
|
+
}
|
|
9595
9625
|
interface RegistryEndpoint {
|
|
9596
9626
|
aclPolicies: outputs.cr.RegistryEndpointAclPolicy[];
|
|
9597
9627
|
/**
|
|
@@ -9639,6 +9669,20 @@ export declare namespace cr {
|
|
|
9639
9669
|
*/
|
|
9640
9670
|
value: string;
|
|
9641
9671
|
}
|
|
9672
|
+
interface VpcEndpointVpc {
|
|
9673
|
+
/**
|
|
9674
|
+
* Primary account ID for the VPC
|
|
9675
|
+
*/
|
|
9676
|
+
accountId: number;
|
|
9677
|
+
/**
|
|
9678
|
+
* Subnet ID
|
|
9679
|
+
*/
|
|
9680
|
+
subnetId: string;
|
|
9681
|
+
/**
|
|
9682
|
+
* VPC ID。
|
|
9683
|
+
*/
|
|
9684
|
+
vpcId: string;
|
|
9685
|
+
}
|
|
9642
9686
|
}
|
|
9643
9687
|
export declare namespace directconnect {
|
|
9644
9688
|
interface DirectConnectGatewayAssociateCen {
|
|
@@ -13714,6 +13758,22 @@ export declare namespace fwcenter {
|
|
|
13714
13758
|
}
|
|
13715
13759
|
}
|
|
13716
13760
|
export declare namespace gtm {
|
|
13761
|
+
interface GetPolicyStatistics {
|
|
13762
|
+
/**
|
|
13763
|
+
* Number of available addresses
|
|
13764
|
+
*/
|
|
13765
|
+
activeAddr: number;
|
|
13766
|
+
/**
|
|
13767
|
+
* Number of unavailable addresses
|
|
13768
|
+
*/
|
|
13769
|
+
inactiveAddr: number;
|
|
13770
|
+
}
|
|
13771
|
+
interface GetPolicyTarget {
|
|
13772
|
+
/**
|
|
13773
|
+
* Address pool ID.
|
|
13774
|
+
*/
|
|
13775
|
+
poolId: string;
|
|
13776
|
+
}
|
|
13717
13777
|
interface GetPoolAddress {
|
|
13718
13778
|
/**
|
|
13719
13779
|
* Address capacity
|
|
@@ -13890,6 +13950,22 @@ export declare namespace gtm {
|
|
|
13890
13950
|
*/
|
|
13891
13951
|
operator: string;
|
|
13892
13952
|
}
|
|
13953
|
+
interface PolicyStatistics {
|
|
13954
|
+
/**
|
|
13955
|
+
* Number of available addresses
|
|
13956
|
+
*/
|
|
13957
|
+
activeAddr: number;
|
|
13958
|
+
/**
|
|
13959
|
+
* Number of unavailable addresses
|
|
13960
|
+
*/
|
|
13961
|
+
inactiveAddr: number;
|
|
13962
|
+
}
|
|
13963
|
+
interface PolicyTarget {
|
|
13964
|
+
/**
|
|
13965
|
+
* Address pool ID.
|
|
13966
|
+
*/
|
|
13967
|
+
poolId: string;
|
|
13968
|
+
}
|
|
13893
13969
|
interface PoolAddress {
|
|
13894
13970
|
/**
|
|
13895
13971
|
* Address capacity
|
|
@@ -14121,6 +14197,26 @@ export declare namespace hbase {
|
|
|
14121
14197
|
}
|
|
14122
14198
|
}
|
|
14123
14199
|
export declare namespace iam {
|
|
14200
|
+
interface AllowedIpAddressIpList {
|
|
14201
|
+
/**
|
|
14202
|
+
* Description
|
|
14203
|
+
*/
|
|
14204
|
+
description: string;
|
|
14205
|
+
/**
|
|
14206
|
+
* IP address
|
|
14207
|
+
*/
|
|
14208
|
+
ip: string;
|
|
14209
|
+
}
|
|
14210
|
+
interface GetAllowedIpAddressIpList {
|
|
14211
|
+
/**
|
|
14212
|
+
* Description
|
|
14213
|
+
*/
|
|
14214
|
+
description: string;
|
|
14215
|
+
/**
|
|
14216
|
+
* IP address
|
|
14217
|
+
*/
|
|
14218
|
+
ip: string;
|
|
14219
|
+
}
|
|
14124
14220
|
interface GetGroupAttachedPolicy {
|
|
14125
14221
|
/**
|
|
14126
14222
|
* Policy binding time.
|
|
@@ -15138,6 +15234,16 @@ export declare namespace kafka {
|
|
|
15138
15234
|
*/
|
|
15139
15235
|
instanceName: string;
|
|
15140
15236
|
}
|
|
15237
|
+
interface GetGroupTag {
|
|
15238
|
+
/**
|
|
15239
|
+
* Tag key
|
|
15240
|
+
*/
|
|
15241
|
+
key: string;
|
|
15242
|
+
/**
|
|
15243
|
+
* Tag value
|
|
15244
|
+
*/
|
|
15245
|
+
value: string;
|
|
15246
|
+
}
|
|
15141
15247
|
interface GetInstanceChargeInfo {
|
|
15142
15248
|
/**
|
|
15143
15249
|
* Whether to automatically renew the subscription instance after expiration. true - auto renewal; false (default) - no auto renewal, instance will be stopped upon expiration.
|
|
@@ -15224,6 +15330,16 @@ export declare namespace kafka {
|
|
|
15224
15330
|
*/
|
|
15225
15331
|
value: string;
|
|
15226
15332
|
}
|
|
15333
|
+
interface GroupTag {
|
|
15334
|
+
/**
|
|
15335
|
+
* Tag key
|
|
15336
|
+
*/
|
|
15337
|
+
key: string;
|
|
15338
|
+
/**
|
|
15339
|
+
* Tag value
|
|
15340
|
+
*/
|
|
15341
|
+
value: string;
|
|
15342
|
+
}
|
|
15227
15343
|
interface InstanceChargeInfo {
|
|
15228
15344
|
/**
|
|
15229
15345
|
* Whether to automatically renew the subscription instance after expiration. true - auto renewal; false (default) - no auto renewal, instance will be stopped upon expiration.
|
|
@@ -15632,6 +15748,49 @@ export declare namespace mongodb {
|
|
|
15632
15748
|
*/
|
|
15633
15749
|
vpc: string;
|
|
15634
15750
|
}
|
|
15751
|
+
interface EndpointDbAddress {
|
|
15752
|
+
/**
|
|
15753
|
+
* Domain name of the connection address
|
|
15754
|
+
*/
|
|
15755
|
+
addressDomain: string;
|
|
15756
|
+
/**
|
|
15757
|
+
* IP corresponding to the connection address
|
|
15758
|
+
*/
|
|
15759
|
+
addressIp: string;
|
|
15760
|
+
/**
|
|
15761
|
+
* Port number of the connection address
|
|
15762
|
+
*/
|
|
15763
|
+
addressPort: string;
|
|
15764
|
+
/**
|
|
15765
|
+
* Connection address type of the node. Possible values:
|
|
15766
|
+
*
|
|
15767
|
+
* Primary: Primary node connection address
|
|
15768
|
+
* Secondary: Secondary node connection address
|
|
15769
|
+
* Hidden: Hidden node connection address
|
|
15770
|
+
* ReadOnly: Read-only node connection address
|
|
15771
|
+
*
|
|
15772
|
+
*
|
|
15773
|
+
* **Note:**
|
|
15774
|
+
* Hidden node connection address information is returned only when the connection address type is a private connection address (that is, when `NetworkType` is set to `Private`).
|
|
15775
|
+
*/
|
|
15776
|
+
addressType: string;
|
|
15777
|
+
/**
|
|
15778
|
+
* EIP ID bound to the instance's public address
|
|
15779
|
+
*
|
|
15780
|
+
*
|
|
15781
|
+
* **Note:**
|
|
15782
|
+
* This parameter is returned only when the connection address type is a public connection address (that is, when `NetworkType` is set to `Public`).
|
|
15783
|
+
*/
|
|
15784
|
+
eipId: string;
|
|
15785
|
+
/**
|
|
15786
|
+
* Node ID associated with the connection address
|
|
15787
|
+
*/
|
|
15788
|
+
nodeId: string;
|
|
15789
|
+
/**
|
|
15790
|
+
* AZ of the node; all nodes are consistent for single-AZ instances, while nodes differ for multi-AZ instances
|
|
15791
|
+
*/
|
|
15792
|
+
zoneId: string;
|
|
15793
|
+
}
|
|
15635
15794
|
interface GetAccountAccountPrivilege {
|
|
15636
15795
|
/**
|
|
15637
15796
|
* Databases for which the account has permissions.
|
|
@@ -15660,6 +15819,53 @@ export declare namespace mongodb {
|
|
|
15660
15819
|
*/
|
|
15661
15820
|
vpc: string;
|
|
15662
15821
|
}
|
|
15822
|
+
interface GetEndpointDbAddress {
|
|
15823
|
+
/**
|
|
15824
|
+
* Domain name of the connection address
|
|
15825
|
+
*/
|
|
15826
|
+
addressDomain: string;
|
|
15827
|
+
/**
|
|
15828
|
+
* IP corresponding to the connection address
|
|
15829
|
+
*
|
|
15830
|
+
*
|
|
15831
|
+
* **Note:**
|
|
15832
|
+
* It is not recommended to connect to the instance using the `IP:port` format, as the IP address may change after switching subnets. If the client code is not updated in time, instance connection failures may occur. We recommend accessing the MongoDB instance using the `domain:port` format to avoid connection issues caused by IP address changes. For detailed steps to connect to a MongoDB instance, see Connect to an Instance Using the Mongo Shell Tool.
|
|
15833
|
+
*/
|
|
15834
|
+
addressIp: string;
|
|
15835
|
+
/**
|
|
15836
|
+
* Port number of the connection address
|
|
15837
|
+
*/
|
|
15838
|
+
addressPort: string;
|
|
15839
|
+
/**
|
|
15840
|
+
* Connection address type of the node. Possible values:
|
|
15841
|
+
*
|
|
15842
|
+
* Primary: Primary node connection address
|
|
15843
|
+
* Secondary: Secondary node connection address
|
|
15844
|
+
* Hidden: Hidden node connection address
|
|
15845
|
+
* ReadOnly: Read-only node connection address
|
|
15846
|
+
*
|
|
15847
|
+
*
|
|
15848
|
+
* **Note:**
|
|
15849
|
+
* Hidden node connection address information is returned only when the connection address type is a private connection address (that is, when `NetworkType` is set to `Private`).
|
|
15850
|
+
*/
|
|
15851
|
+
addressType: string;
|
|
15852
|
+
/**
|
|
15853
|
+
* EIP ID bound to the instance's public address
|
|
15854
|
+
*
|
|
15855
|
+
*
|
|
15856
|
+
* **Note:**
|
|
15857
|
+
* This parameter is returned only when the connection address type is a public connection address (that is, when `NetworkType` is set to `Public`).
|
|
15858
|
+
*/
|
|
15859
|
+
eipId: string;
|
|
15860
|
+
/**
|
|
15861
|
+
* Node ID associated with the connection address
|
|
15862
|
+
*/
|
|
15863
|
+
nodeId: string;
|
|
15864
|
+
/**
|
|
15865
|
+
* AZ of the node; all nodes are consistent for single-AZ instances, while nodes differ for multi-AZ instances
|
|
15866
|
+
*/
|
|
15867
|
+
zoneId: string;
|
|
15868
|
+
}
|
|
15663
15869
|
interface GetInstanceConfigServer {
|
|
15664
15870
|
/**
|
|
15665
15871
|
* ConfigServer node ID
|
|
@@ -16405,6 +16611,16 @@ export declare namespace privatelink {
|
|
|
16405
16611
|
*/
|
|
16406
16612
|
value: string;
|
|
16407
16613
|
}
|
|
16614
|
+
interface GatewayEndpointTag {
|
|
16615
|
+
/**
|
|
16616
|
+
* Tag key of the endpoint tag
|
|
16617
|
+
*/
|
|
16618
|
+
key: string;
|
|
16619
|
+
/**
|
|
16620
|
+
* Tag value of the endpoint tag
|
|
16621
|
+
*/
|
|
16622
|
+
value: string;
|
|
16623
|
+
}
|
|
16408
16624
|
interface GetEndpointServicePrivateDnsNameConfiguration {
|
|
16409
16625
|
/**
|
|
16410
16626
|
* Domain verification name.
|
|
@@ -16447,6 +16663,16 @@ export declare namespace privatelink {
|
|
|
16447
16663
|
*/
|
|
16448
16664
|
value: string;
|
|
16449
16665
|
}
|
|
16666
|
+
interface GetGatewayEndpointTag {
|
|
16667
|
+
/**
|
|
16668
|
+
* Tag key of the endpoint tag
|
|
16669
|
+
*/
|
|
16670
|
+
key: string;
|
|
16671
|
+
/**
|
|
16672
|
+
* Tag value of the endpoint tag
|
|
16673
|
+
*/
|
|
16674
|
+
value: string;
|
|
16675
|
+
}
|
|
16450
16676
|
interface GetVpcEndpointConnectionResourcesAllocate {
|
|
16451
16677
|
/**
|
|
16452
16678
|
* Specify the service resource for the endpoint connection
|
|
@@ -17175,6 +17401,58 @@ export declare namespace rdsmssql {
|
|
|
17175
17401
|
*/
|
|
17176
17402
|
vpc: string;
|
|
17177
17403
|
}
|
|
17404
|
+
interface BackupBackupDatabaseDetail {
|
|
17405
|
+
/**
|
|
17406
|
+
* External network backup download link.
|
|
17407
|
+
*/
|
|
17408
|
+
backupDownloadLinkEip: string;
|
|
17409
|
+
/**
|
|
17410
|
+
* Internal network backup download link.
|
|
17411
|
+
*/
|
|
17412
|
+
backupDownloadLinkInner: string;
|
|
17413
|
+
/**
|
|
17414
|
+
* Backup end time. Format: yyyy-MM-ddTHH:mm:ss.sZ (UTC time).
|
|
17415
|
+
*/
|
|
17416
|
+
backupEndTime: string;
|
|
17417
|
+
/**
|
|
17418
|
+
* Backup file name.
|
|
17419
|
+
*/
|
|
17420
|
+
backupFileName: string;
|
|
17421
|
+
/**
|
|
17422
|
+
* Backup file size (Bytes).
|
|
17423
|
+
*/
|
|
17424
|
+
backupFileSize: number;
|
|
17425
|
+
/**
|
|
17426
|
+
* Backup start time. Format: yyyy-MM-ddTHH:mm:ss.sZ (UTC time).
|
|
17427
|
+
*/
|
|
17428
|
+
backupStartTime: string;
|
|
17429
|
+
/**
|
|
17430
|
+
* Backup type. Values: Full (full backup), Diff (differential backup).
|
|
17431
|
+
*/
|
|
17432
|
+
backupType: string;
|
|
17433
|
+
/**
|
|
17434
|
+
* Database name.
|
|
17435
|
+
*/
|
|
17436
|
+
databaseName: string;
|
|
17437
|
+
/**
|
|
17438
|
+
* Backup file preparation progress (%).
|
|
17439
|
+
*/
|
|
17440
|
+
downloadProgress: number;
|
|
17441
|
+
/**
|
|
17442
|
+
* Backup file preparation status. Values: Success (preparation completed), Failed (preparation failed), Running (preparing), NotDownload (not downloaded).
|
|
17443
|
+
*/
|
|
17444
|
+
downloadStatus: string;
|
|
17445
|
+
/**
|
|
17446
|
+
* Download link expiration time. Format: yyyy-MM-ddTHH:mm:sssZ (UTC time).
|
|
17447
|
+
*/
|
|
17448
|
+
linkExpiredTime: string;
|
|
17449
|
+
}
|
|
17450
|
+
interface BackupBackupMeta {
|
|
17451
|
+
/**
|
|
17452
|
+
* Backup database name.
|
|
17453
|
+
*/
|
|
17454
|
+
dbName: string;
|
|
17455
|
+
}
|
|
17178
17456
|
interface GetAllowListAssociatedInstance {
|
|
17179
17457
|
/**
|
|
17180
17458
|
* Instance ID
|
|
@@ -17201,6 +17479,58 @@ export declare namespace rdsmssql {
|
|
|
17201
17479
|
*/
|
|
17202
17480
|
vpc: string;
|
|
17203
17481
|
}
|
|
17482
|
+
interface GetBackupBackupDatabaseDetail {
|
|
17483
|
+
/**
|
|
17484
|
+
* External network backup download link.
|
|
17485
|
+
*/
|
|
17486
|
+
backupDownloadLinkEip: string;
|
|
17487
|
+
/**
|
|
17488
|
+
* Internal network backup download link.
|
|
17489
|
+
*/
|
|
17490
|
+
backupDownloadLinkInner: string;
|
|
17491
|
+
/**
|
|
17492
|
+
* Backup end time. Format: yyyy-MM-ddTHH:mm:ss.sZ (UTC time).
|
|
17493
|
+
*/
|
|
17494
|
+
backupEndTime: string;
|
|
17495
|
+
/**
|
|
17496
|
+
* Backup file name.
|
|
17497
|
+
*/
|
|
17498
|
+
backupFileName: string;
|
|
17499
|
+
/**
|
|
17500
|
+
* Backup file size (Bytes).
|
|
17501
|
+
*/
|
|
17502
|
+
backupFileSize: number;
|
|
17503
|
+
/**
|
|
17504
|
+
* Backup start time. Format: yyyy-MM-ddTHH:mm:ss.sZ (UTC time).
|
|
17505
|
+
*/
|
|
17506
|
+
backupStartTime: string;
|
|
17507
|
+
/**
|
|
17508
|
+
* Backup type. Values: Full (full backup), Diff (differential backup).
|
|
17509
|
+
*/
|
|
17510
|
+
backupType: string;
|
|
17511
|
+
/**
|
|
17512
|
+
* Database name.
|
|
17513
|
+
*/
|
|
17514
|
+
databaseName: string;
|
|
17515
|
+
/**
|
|
17516
|
+
* Backup file preparation progress (%).
|
|
17517
|
+
*/
|
|
17518
|
+
downloadProgress: number;
|
|
17519
|
+
/**
|
|
17520
|
+
* Backup file preparation status. Values: Success (preparation completed), Failed (preparation failed), Running (preparing), NotDownload (not downloaded).
|
|
17521
|
+
*/
|
|
17522
|
+
downloadStatus: string;
|
|
17523
|
+
/**
|
|
17524
|
+
* Download link expiration time. Format: yyyy-MM-ddTHH:mm:sssZ (UTC time).
|
|
17525
|
+
*/
|
|
17526
|
+
linkExpiredTime: string;
|
|
17527
|
+
}
|
|
17528
|
+
interface GetBackupBackupMeta {
|
|
17529
|
+
/**
|
|
17530
|
+
* Backup database name.
|
|
17531
|
+
*/
|
|
17532
|
+
dbName: string;
|
|
17533
|
+
}
|
|
17204
17534
|
interface GetInstanceChargeInfo {
|
|
17205
17535
|
/**
|
|
17206
17536
|
* Auto-renewal for prepaid scenarios. true: auto-renew (default). false: do not auto-renew.
|
|
@@ -17513,32 +17843,12 @@ export declare namespace rdsmysql {
|
|
|
17513
17843
|
* Instance ID bound to the current allowlist.
|
|
17514
17844
|
*/
|
|
17515
17845
|
instanceId: string;
|
|
17516
|
-
/**
|
|
17517
|
-
* Instance name bound to the current allowlist.
|
|
17518
|
-
*/
|
|
17519
|
-
instanceName: string;
|
|
17520
|
-
/**
|
|
17521
|
-
* Instance status.
|
|
17522
|
-
*/
|
|
17523
|
-
instanceStatus: string;
|
|
17524
|
-
/**
|
|
17525
|
-
* Has the latest allowlist been synchronized? Values: true: Yes. false: No. Note: When modifying the allowlist, if the instance is not running, changes to the allowlist will not be immediately synchronized to the instance.
|
|
17526
|
-
*/
|
|
17527
|
-
isLatest: boolean;
|
|
17528
|
-
/**
|
|
17529
|
-
* Private network ID of the instance.
|
|
17530
|
-
*/
|
|
17531
|
-
vpc: string;
|
|
17532
17846
|
}
|
|
17533
17847
|
interface AllowListSecurityGroupBindInfo {
|
|
17534
17848
|
/**
|
|
17535
17849
|
* Mode for associating security groups. Values: IngressDirectionIp: Inbound IP. AssociateEcsIp: Associate ECS IP. Note: In the CreateAllowList API, the BindMode and SecurityGroupId fields of SecurityGroupBindInfoObject are required.
|
|
17536
17850
|
*/
|
|
17537
17851
|
bindMode: string;
|
|
17538
|
-
/**
|
|
17539
|
-
* Security group IP address list.
|
|
17540
|
-
*/
|
|
17541
|
-
ipLists: string[];
|
|
17542
17852
|
/**
|
|
17543
17853
|
* Security group ID.
|
|
17544
17854
|
*/
|
|
@@ -19999,6 +20309,16 @@ export declare namespace storageebs {
|
|
|
19999
20309
|
*/
|
|
20000
20310
|
value: string;
|
|
20001
20311
|
}
|
|
20312
|
+
interface GetSnapshotPolicyTag {
|
|
20313
|
+
/**
|
|
20314
|
+
* Tag key
|
|
20315
|
+
*/
|
|
20316
|
+
key: string;
|
|
20317
|
+
/**
|
|
20318
|
+
* Tag value
|
|
20319
|
+
*/
|
|
20320
|
+
value: string;
|
|
20321
|
+
}
|
|
20002
20322
|
interface GetSnapshotTag {
|
|
20003
20323
|
/**
|
|
20004
20324
|
* 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.
|
|
@@ -20156,17 +20476,27 @@ export declare namespace storageebs {
|
|
|
20156
20476
|
*/
|
|
20157
20477
|
value: string;
|
|
20158
20478
|
}
|
|
20159
|
-
interface
|
|
20479
|
+
interface SnapshotPolicyTag {
|
|
20160
20480
|
/**
|
|
20161
|
-
*
|
|
20481
|
+
* Tag key
|
|
20162
20482
|
*/
|
|
20163
20483
|
key: string;
|
|
20164
20484
|
/**
|
|
20165
|
-
*
|
|
20485
|
+
* Tag value
|
|
20166
20486
|
*/
|
|
20167
20487
|
value: string;
|
|
20168
20488
|
}
|
|
20169
|
-
interface
|
|
20489
|
+
interface SnapshotTag {
|
|
20490
|
+
/**
|
|
20491
|
+
* 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.
|
|
20492
|
+
*/
|
|
20493
|
+
key: string;
|
|
20494
|
+
/**
|
|
20495
|
+
* 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.
|
|
20496
|
+
*/
|
|
20497
|
+
value: string;
|
|
20498
|
+
}
|
|
20499
|
+
interface VolumeBaselinePerformance {
|
|
20170
20500
|
/**
|
|
20171
20501
|
* Total IOPS of the disk, which is the sum of the baseline IOPS and extra IOPS.
|
|
20172
20502
|
*/
|
|
@@ -20473,6 +20803,24 @@ export declare namespace tls {
|
|
|
20473
20803
|
*/
|
|
20474
20804
|
severity: string;
|
|
20475
20805
|
}
|
|
20806
|
+
interface EtlTargetResource {
|
|
20807
|
+
/**
|
|
20808
|
+
* Name of the custom output target. You must use this name to refer to the output target in the data processing rules
|
|
20809
|
+
*/
|
|
20810
|
+
alias: string;
|
|
20811
|
+
/**
|
|
20812
|
+
* Region of the log topic for storing processed logs
|
|
20813
|
+
*/
|
|
20814
|
+
region: string;
|
|
20815
|
+
/**
|
|
20816
|
+
* Cross-account authorization role name
|
|
20817
|
+
*/
|
|
20818
|
+
roleTrn: string;
|
|
20819
|
+
/**
|
|
20820
|
+
* Log topic ID for storing processed logs
|
|
20821
|
+
*/
|
|
20822
|
+
topicId: string;
|
|
20823
|
+
}
|
|
20476
20824
|
interface GetAlarmAlarmNotifyGroup {
|
|
20477
20825
|
/**
|
|
20478
20826
|
* Alert notification group ID.
|
|
@@ -20937,481 +21285,469 @@ export declare namespace tls {
|
|
|
20937
21285
|
*/
|
|
20938
21286
|
severity: string;
|
|
20939
21287
|
}
|
|
20940
|
-
interface
|
|
21288
|
+
interface GetEtlTargetResource {
|
|
20941
21289
|
/**
|
|
20942
|
-
*
|
|
21290
|
+
* Name of the custom output target. You must use this name to refer to the output target in the data processing rules
|
|
20943
21291
|
*/
|
|
20944
|
-
|
|
21292
|
+
alias: string;
|
|
20945
21293
|
/**
|
|
20946
|
-
*
|
|
21294
|
+
* Log project ID for storing processed logs
|
|
20947
21295
|
*/
|
|
20948
|
-
|
|
20949
|
-
}
|
|
20950
|
-
interface GetImportTaskImportSourceInfoKafkaSourceInfo {
|
|
21296
|
+
projectId: string;
|
|
20951
21297
|
/**
|
|
20952
|
-
*
|
|
21298
|
+
* Log project name for storing processed logs
|
|
20953
21299
|
*/
|
|
20954
|
-
|
|
21300
|
+
projectName: string;
|
|
20955
21301
|
/**
|
|
20956
|
-
*
|
|
21302
|
+
* Region of the log topic for storing processed logs
|
|
20957
21303
|
*/
|
|
20958
|
-
|
|
21304
|
+
region: string;
|
|
20959
21305
|
/**
|
|
20960
|
-
*
|
|
21306
|
+
* Cross-account authorization role name
|
|
20961
21307
|
*/
|
|
20962
|
-
|
|
21308
|
+
roleTrn: string;
|
|
20963
21309
|
/**
|
|
20964
|
-
*
|
|
21310
|
+
* Log topic ID for storing processed logs
|
|
20965
21311
|
*/
|
|
20966
|
-
|
|
21312
|
+
topicId: string;
|
|
20967
21313
|
/**
|
|
20968
|
-
*
|
|
21314
|
+
* Log topic name for storing processed logs
|
|
20969
21315
|
*/
|
|
20970
|
-
|
|
21316
|
+
topicName: string;
|
|
21317
|
+
}
|
|
21318
|
+
interface GetHostGroupRule {
|
|
20971
21319
|
/**
|
|
20972
|
-
*
|
|
21320
|
+
* Container collection rules
|
|
20973
21321
|
*/
|
|
20974
|
-
|
|
21322
|
+
containerRule: outputs.tls.GetHostGroupRuleContainerRule;
|
|
20975
21323
|
/**
|
|
20976
|
-
*
|
|
21324
|
+
* Time when the collection configuration was created.
|
|
20977
21325
|
*/
|
|
20978
|
-
|
|
21326
|
+
createTime: string;
|
|
20979
21327
|
/**
|
|
20980
|
-
*
|
|
21328
|
+
* Extraction rule list.
|
|
20981
21329
|
*/
|
|
20982
|
-
|
|
21330
|
+
excludePaths: outputs.tls.GetHostGroupRuleExcludePath[];
|
|
20983
21331
|
/**
|
|
20984
|
-
*
|
|
21332
|
+
* Extraction rules
|
|
20985
21333
|
*/
|
|
20986
|
-
|
|
21334
|
+
extractRule: outputs.tls.GetHostGroupRuleExtractRule;
|
|
20987
21335
|
/**
|
|
20988
|
-
*
|
|
21336
|
+
* Collection type. 0: Host log file. 1: K8s container standard output. 2: Log file inside K8s container.
|
|
20989
21337
|
*/
|
|
20990
|
-
|
|
21338
|
+
inputType: number;
|
|
20991
21339
|
/**
|
|
20992
|
-
*
|
|
21340
|
+
* Log sample.
|
|
20993
21341
|
*/
|
|
20994
|
-
|
|
21342
|
+
logSample: string;
|
|
20995
21343
|
/**
|
|
20996
|
-
*
|
|
21344
|
+
* Collection modes. minimalist*log: single-line full mode. json*log: JSON mode. delimiter*log: delimiter mode. multiline*log: multi-line full mode. fullregex_log: full regex mode.
|
|
20997
21345
|
*/
|
|
20998
|
-
|
|
20999
|
-
}
|
|
21000
|
-
interface GetImportTaskImportSourceInfoTosSourceInfo {
|
|
21346
|
+
logType: string;
|
|
21001
21347
|
/**
|
|
21002
|
-
*
|
|
21348
|
+
* Time when the collection configuration was modified.
|
|
21003
21349
|
*/
|
|
21004
|
-
|
|
21350
|
+
modifyTime: string;
|
|
21005
21351
|
/**
|
|
21006
|
-
*
|
|
21352
|
+
* Data collection path list
|
|
21007
21353
|
*/
|
|
21008
|
-
|
|
21354
|
+
paths: string[];
|
|
21009
21355
|
/**
|
|
21010
|
-
*
|
|
21356
|
+
* Running status of the collection configuration. 0: Running. 1: Paused.
|
|
21011
21357
|
*/
|
|
21012
|
-
|
|
21358
|
+
pause: number;
|
|
21013
21359
|
/**
|
|
21014
|
-
*
|
|
21360
|
+
* Collection configuration ID.
|
|
21015
21361
|
*/
|
|
21016
|
-
|
|
21017
|
-
}
|
|
21018
|
-
interface GetImportTaskTargetInfo {
|
|
21362
|
+
ruleId: string;
|
|
21019
21363
|
/**
|
|
21020
|
-
*
|
|
21364
|
+
* Name of the collection configuration.
|
|
21021
21365
|
*/
|
|
21022
|
-
|
|
21366
|
+
ruleName: string;
|
|
21023
21367
|
/**
|
|
21024
|
-
*
|
|
21368
|
+
* ID of the log topic to which the collection configuration belongs.
|
|
21025
21369
|
*/
|
|
21026
|
-
|
|
21370
|
+
topicId: string;
|
|
21027
21371
|
/**
|
|
21028
|
-
*
|
|
21372
|
+
* Name of the log topic associated with the collection configuration
|
|
21029
21373
|
*/
|
|
21030
|
-
|
|
21374
|
+
topicName: string;
|
|
21031
21375
|
/**
|
|
21032
|
-
*
|
|
21376
|
+
* User-defined collection rules.
|
|
21033
21377
|
*/
|
|
21034
|
-
|
|
21378
|
+
userDefineRule: outputs.tls.GetHostGroupRuleUserDefineRule;
|
|
21035
21379
|
}
|
|
21036
|
-
interface
|
|
21037
|
-
/**
|
|
21038
|
-
* Basic content of log extraction rules.
|
|
21039
|
-
*/
|
|
21040
|
-
extractRule: outputs.tls.GetImportTaskTargetInfoExtractRuleExtractRule;
|
|
21041
|
-
/**
|
|
21042
|
-
* Number of skipped rows. Only valid when the log type is delimiterLog and the import type is tos.
|
|
21043
|
-
*/
|
|
21044
|
-
skipLineCount: number;
|
|
21045
|
-
/**
|
|
21046
|
-
* Time extraction regular expression, used to extract the time value from the TimeKey field and parse it as the collection time
|
|
21047
|
-
*/
|
|
21048
|
-
timeExtractRegex: string;
|
|
21380
|
+
interface GetHostGroupRuleContainerRule {
|
|
21049
21381
|
/**
|
|
21050
|
-
*
|
|
21382
|
+
* Container name to collect. If no container name is specified, all containers in the machine group are collected. Supports regular expressions. For example, setting the container name to ^(container-test)$ collects all containers named container-test.
|
|
21051
21383
|
*/
|
|
21052
|
-
|
|
21053
|
-
}
|
|
21054
|
-
interface GetImportTaskTargetInfoExtractRuleExtractRule {
|
|
21384
|
+
containerNameRegex: string;
|
|
21055
21385
|
/**
|
|
21056
|
-
*
|
|
21386
|
+
* Whether to add environment variables as log tags to the raw log data. When enabled, Log Service adds container environment variable fields to logs. Setting multiple key-value pairs adds multiple fields. For example, set Key to source and Value to data_source. If the container has the environment variable source=DC, Log Service adds the field **tag**data_source_*: DC to the log.
|
|
21057
21387
|
*/
|
|
21058
|
-
|
|
21388
|
+
envTags: outputs.tls.GetHostGroupRuleContainerRuleEnvTag[];
|
|
21059
21389
|
/**
|
|
21060
|
-
*
|
|
21390
|
+
* Container environment variable denylist/blocklist specifies containers to exclude from collection. If the denylist/blocklist is not enabled, all containers are collected. If enabled, Key is required and Value is optional. If Value is empty, all containers with the specified Key in their environment variables are excluded. If Value is not empty, only containers matching the key-value pair are excluded—that is, containers with the specified Key and a Value matching the given pattern. Value supports regex matching. For example, set Key to module and Value to ^(tcp|udp)$ to exclude containers with module:tcp or module:udp in their environment variables. Multiple key-value pairs use logical OR: any container matching any pair is excluded from collection. When the denylist/blocklist is enabled, Keys cannot be duplicated.
|
|
21061
21391
|
*/
|
|
21062
|
-
|
|
21392
|
+
excludeContainerEnvRegexes: outputs.tls.GetHostGroupRuleContainerRuleExcludeContainerEnvRegex[];
|
|
21063
21393
|
/**
|
|
21064
|
-
*
|
|
21394
|
+
* The container Label denylist specifies which containers to exclude from collection. If not enabled, all containers are collected. If the container Label denylist is enabled, Key is required and Value is optional. If Value is empty, all containers with the specified Key in the container Label are excluded. If Value is not empty, only containers matching the Key-Value pair are excluded, meaning only containers with the specified Key and a Value matching the pattern are excluded. Value supports regex matching. For example, set Key to app and Value to ^(test1|test2)$ to exclude containers with app:test1 or app:test2 in the container Label. The logical relationship between multiple Key-Value pairs is OR, meaning any container Label matching any pair will be excluded from collection. When enabling the container Label denylist, Keys must not be duplicated.
|
|
21065
21395
|
*/
|
|
21066
|
-
|
|
21396
|
+
excludeContainerLabelRegexes: outputs.tls.GetHostGroupRuleContainerRuleExcludeContainerLabelRegex[];
|
|
21067
21397
|
/**
|
|
21068
|
-
*
|
|
21398
|
+
* The container environment variable allowlist specifies which containers to collect by using environment variables as criteria. If the allowlist is not enabled, all containers are collected. When the container environment variable allowlist is enabled, you must enter key-value pairs. Key is required; Value is optional. If Value is empty: collect all containers that contain the Key in their environment variables. If Value is not empty: only collect containers where the Key exists and its value matches Value. Value supports regex matching. For example, set Key to module and Value to ^(tcp|udp)$ to collect only containers with module:tcp or module:udp in their environment variables. Multiple key-value pairs use logical OR; any container environment variable matching any key-value pair will be included in the collection scope. When the container environment variable allowlist is enabled, Keys must not be duplicated.
|
|
21069
21399
|
*/
|
|
21070
|
-
|
|
21400
|
+
includeContainerEnvRegexes: outputs.tls.GetHostGroupRuleContainerRuleIncludeContainerEnvRegex[];
|
|
21071
21401
|
/**
|
|
21072
|
-
*
|
|
21402
|
+
* The container Label allowlist specifies which containers to collect based on container Labels. If the allowlist is not enabled, all containers are collected. When the container Label allowlist is enabled, you must enter key-value pairs. Key is required; Value is optional. If Value is empty, all containers with the specified Key in their container Label are collected. If Value is not empty, only containers with the specified Key and a Value matching the Value field are collected. Value supports regular expressions. For example, set Key to app and Value to ^(test1|test2)$ to collect only containers with app:test1 or app:test2 in their container Label. The logical relationship between multiple key-value pairs is OR; any container Label matching any key-value pair will be included in the collection scope. When the container Label allowlist is enabled, Keys must not be duplicated.
|
|
21073
21403
|
*/
|
|
21074
|
-
|
|
21404
|
+
includeContainerLabelRegexes: outputs.tls.GetHostGroupRuleContainerRuleIncludeContainerLabelRegex[];
|
|
21075
21405
|
/**
|
|
21076
|
-
*
|
|
21406
|
+
* Kubernetes container collection rules.
|
|
21077
21407
|
*/
|
|
21078
|
-
|
|
21408
|
+
kubernetesRule: outputs.tls.GetHostGroupRuleContainerRuleKubernetesRule;
|
|
21079
21409
|
/**
|
|
21080
|
-
*
|
|
21410
|
+
* Collection information. stdout: Container standard output (stdout). stderr: Container standard error (stderr). all: Both container standard output (stdout) and standard error (stderr).
|
|
21081
21411
|
*/
|
|
21082
|
-
|
|
21412
|
+
stream: string;
|
|
21413
|
+
}
|
|
21414
|
+
interface GetHostGroupRuleContainerRuleEnvTag {
|
|
21083
21415
|
/**
|
|
21084
|
-
*
|
|
21416
|
+
* Key.
|
|
21085
21417
|
*/
|
|
21086
|
-
|
|
21418
|
+
key: string;
|
|
21087
21419
|
/**
|
|
21088
|
-
*
|
|
21420
|
+
* Value.
|
|
21089
21421
|
*/
|
|
21090
|
-
|
|
21422
|
+
val: string;
|
|
21423
|
+
}
|
|
21424
|
+
interface GetHostGroupRuleContainerRuleExcludeContainerEnvRegex {
|
|
21091
21425
|
/**
|
|
21092
|
-
*
|
|
21426
|
+
* Key.
|
|
21093
21427
|
*/
|
|
21094
|
-
|
|
21428
|
+
key: string;
|
|
21095
21429
|
/**
|
|
21096
|
-
*
|
|
21430
|
+
* Value.
|
|
21097
21431
|
*/
|
|
21098
|
-
|
|
21432
|
+
val: string;
|
|
21433
|
+
}
|
|
21434
|
+
interface GetHostGroupRuleContainerRuleExcludeContainerLabelRegex {
|
|
21099
21435
|
/**
|
|
21100
|
-
*
|
|
21436
|
+
* Key.
|
|
21101
21437
|
*/
|
|
21102
|
-
|
|
21438
|
+
key: string;
|
|
21103
21439
|
/**
|
|
21104
|
-
*
|
|
21440
|
+
* Value.
|
|
21105
21441
|
*/
|
|
21106
|
-
|
|
21442
|
+
val: string;
|
|
21107
21443
|
}
|
|
21108
|
-
interface
|
|
21444
|
+
interface GetHostGroupRuleContainerRuleIncludeContainerEnvRegex {
|
|
21109
21445
|
/**
|
|
21110
21446
|
* Key.
|
|
21111
21447
|
*/
|
|
21112
21448
|
key: string;
|
|
21113
21449
|
/**
|
|
21114
|
-
*
|
|
21450
|
+
* Value.
|
|
21115
21451
|
*/
|
|
21116
|
-
|
|
21452
|
+
val: string;
|
|
21117
21453
|
}
|
|
21118
|
-
interface
|
|
21454
|
+
interface GetHostGroupRuleContainerRuleIncludeContainerLabelRegex {
|
|
21119
21455
|
/**
|
|
21120
|
-
*
|
|
21456
|
+
* Key.
|
|
21121
21457
|
*/
|
|
21122
|
-
|
|
21458
|
+
key: string;
|
|
21123
21459
|
/**
|
|
21124
|
-
*
|
|
21460
|
+
* Value.
|
|
21125
21461
|
*/
|
|
21126
|
-
|
|
21462
|
+
val: string;
|
|
21127
21463
|
}
|
|
21128
|
-
interface
|
|
21464
|
+
interface GetHostGroupRuleContainerRuleKubernetesRule {
|
|
21129
21465
|
/**
|
|
21130
|
-
*
|
|
21466
|
+
* Whether to add Kubernetes Annotations as log tags to the raw log data. When enabled, the log service adds Kubernetes Pod Annotation fields to the logs. Setting multiple key-value pairs adds multiple fields. For example, set Key to sink and Value to data_sink. If the Pod contains the Annotation sink=ck, the log will include the field **tag**data_sink_*: ck.
|
|
21131
21467
|
*/
|
|
21132
|
-
|
|
21468
|
+
annotationTags: outputs.tls.GetHostGroupRuleContainerRuleKubernetesRuleAnnotationTag[];
|
|
21133
21469
|
/**
|
|
21134
|
-
*
|
|
21470
|
+
* Whether to add all Kubernetes Labels as log tags to the raw log data. When enabled, the log service adds fields for all Labels in the Kubernetes Pod to the log. For example, if the Pod has Label source=DC and destination=CS, the log will include fields **tag**source__: DC and **tag**destination__: CS.
|
|
21135
21471
|
*/
|
|
21136
|
-
|
|
21472
|
+
enableAllLabelTag: boolean;
|
|
21137
21473
|
/**
|
|
21138
|
-
*
|
|
21474
|
+
* Pod Annotation denylist is used to specify containers that are not collected. If you need to set a Pod Annotation denylist, Key is required and Value is optional. If Value is empty, all containers under Pods whose Pod Annotation contains the Key will be excluded. If Value is not empty, only containers under Pods whose Pod Annotation contains the Key and whose value matches the Value will be excluded. By default, Value uses string matching, meaning only when Value and the Pod Annotation value are exactly the same will it match. If the value starts with ^ and ends with $, it is treated as a regular expression match. For example, set Key to app and Value to ^(test1|test2)$ to match containers under Pods whose Pod Annotation contains app:test1 or app:test2. Note: The logical relationship between multiple Key-Value pairs is OR, meaning as long as the Pod Annotation matches any pair, it will be included in the collection scope. When enabling the Pod Annotation denylist, Keys must not be duplicated. For fuzzy regular expression matching, you must add .*. For example, ^(http.*)$ matches strings that start with http
|
|
21139
21475
|
*/
|
|
21140
|
-
|
|
21476
|
+
excludePodAnnotationRegexes: outputs.tls.GetHostGroupRuleContainerRuleKubernetesRuleExcludePodAnnotationRegex[];
|
|
21141
21477
|
/**
|
|
21142
|
-
*
|
|
21478
|
+
* Specify containers to exclude from collection using the Pod Label denylist. If not enabled, all containers are collected. To set a Pod Label denylist, Key is required and Value is optional. If Value is empty, all containers with the specified Key in the Pod Label are excluded from collection. If Value is not empty, only containers with the specified Key and a Value matching the pattern are excluded. Value supports regex matching. For example, set Key to module and Value to ^(tcp|udp)$ to exclude containers with module:tcp or module:udp in the Pod Label. Note: The logical relationship between multiple Key-Value pairs is OR, meaning any Pod Label matching any pair will be excluded from collection. When enabling the Pod Label denylist, Keys must not be duplicated. For fuzzy regex matching, you must add .*. For example, ^(http.*)$ matches any string starting with http.
|
|
21143
21479
|
*/
|
|
21144
|
-
|
|
21480
|
+
excludePodLabelRegexes: outputs.tls.GetHostGroupRuleContainerRuleKubernetesRuleExcludePodLabelRegex[];
|
|
21145
21481
|
/**
|
|
21146
|
-
*
|
|
21482
|
+
* Pod Annotation Allowlist specifies which containers to collect. If you need to set a Pod Annotation Allowlist, Key is required and Value is optional. If Value is empty, all containers in Pods with the specified Key in their Pod Annotation are matched. If Value is not empty, only containers in Pods where the Pod Annotation contains the Key and its value matches Value are matched. By default, Value uses string matching, meaning only exact matches between Value and the Pod Annotation value are considered. If Value starts with ^ and ends with $, it uses regex matching. For example, set Key to app and Value to ^(test1|test2)$ to match containers in Pods with Pod Annotation app:test1 or app:test2. Note: Multiple Key-Value pairs use logical OR, so any Pod Annotation matching any pair will be included in the collection scope. When enabling the Pod Annotation Allowlist, Keys must not be duplicated. For regex fuzzy matching, you must add .*. For example, ^(http.*)$ matches values starting with http
|
|
21147
21483
|
*/
|
|
21148
|
-
|
|
21484
|
+
includePodAnnotationRegexes: outputs.tls.GetHostGroupRuleContainerRuleKubernetesRuleIncludePodAnnotationRegex[];
|
|
21149
21485
|
/**
|
|
21150
|
-
*
|
|
21486
|
+
* Pod label allowlist specifies which containers to collect. If the Pod label allowlist is not enabled, all containers are collected. To set a Pod label allowlist, Key is required. If Value is empty, all containers with the Key in their Pod label are collected. If Value is not empty, only containers with the Key in their Pod label and a Value matching the specified pattern are collected. Value supports regex matching. For example, set Key to module and Value to ^(tcp|udp)$ to collect only containers with module:tcp or module:udp in their Pod label. Note: The logical relationship between multiple key-value pairs is OR, meaning any matching pair will include the Pod in the collection scope. When the Pod label allowlist is enabled, Keys must be unique. For fuzzy regex matching, you must add .*. For example, ^(http.*)$ matches strings starting with http.
|
|
21151
21487
|
*/
|
|
21152
|
-
|
|
21488
|
+
includePodLabelRegexes: outputs.tls.GetHostGroupRuleContainerRuleKubernetesRuleIncludePodLabelRegex[];
|
|
21153
21489
|
/**
|
|
21154
|
-
*
|
|
21490
|
+
* Choose whether to add Kubernetes labels as log tags to the original log data. When enabled, the log service adds Kubernetes Pod label fields to the logs. Setting multiple key-value pairs adds multiple fields. For example, set Key to source and Value to data_source. If the Pod contains the label source=DC, the log will include the field **tag**data_source_*: DC.
|
|
21155
21491
|
*/
|
|
21156
|
-
|
|
21492
|
+
labelTags: outputs.tls.GetHostGroupRuleContainerRuleKubernetesRuleLabelTag[];
|
|
21157
21493
|
/**
|
|
21158
|
-
*
|
|
21494
|
+
* Name of the Kubernetes Namespace to be collected. If not specified, all containers are collected. Namespace names support regular expression matching. For example, setting the Namespace name to ^(tcp|udp)$ collects all containers under the tcp and udp namespaces.
|
|
21159
21495
|
*/
|
|
21160
|
-
|
|
21161
|
-
}
|
|
21162
|
-
interface GetIndexFullText {
|
|
21496
|
+
namespaceNameRegex: string;
|
|
21163
21497
|
/**
|
|
21164
|
-
*
|
|
21498
|
+
* Pod name is used to specify the Pod(s) to be collected. If the Pod name is not specified, all containers are collected. Pod name supports regex matching. For example, setting the Pod name to ^(http.*)$ collects all containers under Pods whose names start with http.
|
|
21165
21499
|
*/
|
|
21166
|
-
|
|
21500
|
+
podNameRegex: string;
|
|
21167
21501
|
/**
|
|
21168
|
-
*
|
|
21502
|
+
* Specify the container to collect by workload name. If no workload name is specified, all containers are collected. Workload names support regular expressions. For example, setting the workload name to ^(http.*)$ collects all containers under workloads starting with http.
|
|
21169
21503
|
*/
|
|
21170
|
-
|
|
21504
|
+
workloadNameRegex: string;
|
|
21171
21505
|
/**
|
|
21172
|
-
*
|
|
21506
|
+
* Specify containers to collect by workload type. Only one type can be selected. If no type is specified, containers of all types will be collected. Supported workload types are: Deployment: stateless workload StatefulSet: stateful workload DaemonSet: daemon process Job: job CronJob: scheduled job
|
|
21173
21507
|
*/
|
|
21174
|
-
|
|
21508
|
+
workloadType: string;
|
|
21175
21509
|
}
|
|
21176
|
-
interface
|
|
21510
|
+
interface GetHostGroupRuleContainerRuleKubernetesRuleAnnotationTag {
|
|
21177
21511
|
/**
|
|
21178
|
-
*
|
|
21512
|
+
* Key.
|
|
21179
21513
|
*/
|
|
21180
21514
|
key: string;
|
|
21181
21515
|
/**
|
|
21182
|
-
*
|
|
21516
|
+
* Value.
|
|
21183
21517
|
*/
|
|
21184
|
-
|
|
21518
|
+
val: string;
|
|
21185
21519
|
}
|
|
21186
|
-
interface
|
|
21520
|
+
interface GetHostGroupRuleContainerRuleKubernetesRuleExcludePodAnnotationRegex {
|
|
21187
21521
|
/**
|
|
21188
|
-
*
|
|
21189
|
-
*/
|
|
21190
|
-
autoIndexFlag: boolean;
|
|
21191
|
-
/**
|
|
21192
|
-
* Whether to distinguish case. Default is false.
|
|
21522
|
+
* Key.
|
|
21193
21523
|
*/
|
|
21194
|
-
|
|
21524
|
+
key: string;
|
|
21195
21525
|
/**
|
|
21196
|
-
*
|
|
21526
|
+
* Value.
|
|
21197
21527
|
*/
|
|
21198
|
-
|
|
21528
|
+
val: string;
|
|
21529
|
+
}
|
|
21530
|
+
interface GetHostGroupRuleContainerRuleKubernetesRuleExcludePodLabelRegex {
|
|
21199
21531
|
/**
|
|
21200
|
-
*
|
|
21532
|
+
* Key.
|
|
21201
21533
|
*/
|
|
21202
|
-
|
|
21534
|
+
key: string;
|
|
21203
21535
|
/**
|
|
21204
|
-
*
|
|
21536
|
+
* Value.
|
|
21205
21537
|
*/
|
|
21206
|
-
|
|
21538
|
+
val: string;
|
|
21539
|
+
}
|
|
21540
|
+
interface GetHostGroupRuleContainerRuleKubernetesRuleIncludePodAnnotationRegex {
|
|
21207
21541
|
/**
|
|
21208
|
-
*
|
|
21542
|
+
* Key.
|
|
21209
21543
|
*/
|
|
21210
|
-
|
|
21544
|
+
key: string;
|
|
21211
21545
|
/**
|
|
21212
|
-
*
|
|
21546
|
+
* Value.
|
|
21213
21547
|
*/
|
|
21214
|
-
|
|
21548
|
+
val: string;
|
|
21549
|
+
}
|
|
21550
|
+
interface GetHostGroupRuleContainerRuleKubernetesRuleIncludePodLabelRegex {
|
|
21215
21551
|
/**
|
|
21216
|
-
*
|
|
21552
|
+
* Key.
|
|
21217
21553
|
*/
|
|
21218
|
-
|
|
21554
|
+
key: string;
|
|
21219
21555
|
/**
|
|
21220
|
-
*
|
|
21556
|
+
* Value.
|
|
21221
21557
|
*/
|
|
21222
|
-
|
|
21558
|
+
val: string;
|
|
21223
21559
|
}
|
|
21224
|
-
interface
|
|
21560
|
+
interface GetHostGroupRuleContainerRuleKubernetesRuleLabelTag {
|
|
21225
21561
|
/**
|
|
21226
|
-
*
|
|
21562
|
+
* Key.
|
|
21227
21563
|
*/
|
|
21228
21564
|
key: string;
|
|
21229
21565
|
/**
|
|
21230
|
-
*
|
|
21566
|
+
* Value.
|
|
21231
21567
|
*/
|
|
21232
|
-
|
|
21568
|
+
val: string;
|
|
21233
21569
|
}
|
|
21234
|
-
interface
|
|
21570
|
+
interface GetHostGroupRuleExcludePath {
|
|
21235
21571
|
/**
|
|
21236
|
-
*
|
|
21572
|
+
* Collection path type. File: file name. Path: directory.
|
|
21237
21573
|
*/
|
|
21238
|
-
|
|
21574
|
+
type: string;
|
|
21239
21575
|
/**
|
|
21240
|
-
*
|
|
21576
|
+
* Collection path. Must be specified as an absolute path. When Type is Path, Value indicates a directory. When Type is File, Value indicates a file name.
|
|
21241
21577
|
*/
|
|
21242
|
-
|
|
21578
|
+
value: string;
|
|
21579
|
+
}
|
|
21580
|
+
interface GetHostGroupRuleExtractRule {
|
|
21243
21581
|
/**
|
|
21244
|
-
*
|
|
21582
|
+
* The regex pattern required to match the first line of the log. This is valid only when LogType is multiline*log or fullregex*log. The pattern must be a valid regular expression.
|
|
21245
21583
|
*/
|
|
21246
|
-
|
|
21584
|
+
beginRegex: string;
|
|
21247
21585
|
/**
|
|
21248
|
-
*
|
|
21586
|
+
* Log delimiter. Valid only when LogType is delimiter_log.
|
|
21249
21587
|
*/
|
|
21250
|
-
|
|
21588
|
+
delimiter: string;
|
|
21251
21589
|
/**
|
|
21252
|
-
*
|
|
21590
|
+
* Enable nanosecond precision time. When enabled, log time parsing will report time with nanosecond precision. true: Enable nanosecond precision time. false: Disable nanosecond precision time.
|
|
21253
21591
|
*/
|
|
21254
|
-
|
|
21592
|
+
enableNanosecond: boolean;
|
|
21255
21593
|
/**
|
|
21256
|
-
*
|
|
21594
|
+
* Filter rule list.
|
|
21257
21595
|
*/
|
|
21258
|
-
|
|
21596
|
+
filterKeyRegexes: outputs.tls.GetHostGroupRuleExtractRuleFilterKeyRegex[];
|
|
21259
21597
|
/**
|
|
21260
|
-
*
|
|
21598
|
+
* List of log field names (Keys).
|
|
21261
21599
|
*/
|
|
21262
|
-
|
|
21600
|
+
keys: string[];
|
|
21263
21601
|
/**
|
|
21264
|
-
*
|
|
21602
|
+
* The entire log entry must match the regular expression. This is only valid when the log type is fullregex_log. The regular expression must be valid.
|
|
21265
21603
|
*/
|
|
21266
|
-
|
|
21267
|
-
}
|
|
21268
|
-
interface GetIndexUserInnerKeyValue {
|
|
21604
|
+
logRegex: string;
|
|
21269
21605
|
/**
|
|
21270
|
-
*
|
|
21606
|
+
* Automatically extract log fields based on the specified log template.
|
|
21271
21607
|
*/
|
|
21272
|
-
|
|
21608
|
+
logTemplate: outputs.tls.GetHostGroupRuleExtractRuleLogTemplate;
|
|
21273
21609
|
/**
|
|
21274
|
-
*
|
|
21610
|
+
* Quotation mark. Content enclosed by quotation marks is parsed as a complete field and not separated. Only valid when LogType is delimiter_log.
|
|
21275
21611
|
*/
|
|
21276
|
-
|
|
21277
|
-
}
|
|
21278
|
-
interface GetIndexUserInnerKeyValueValue {
|
|
21612
|
+
quote: string;
|
|
21279
21613
|
/**
|
|
21280
|
-
*
|
|
21614
|
+
* Regular expression for extracting time, used to extract the time value from the TimeKey field and parse it as the collection time.
|
|
21281
21615
|
*/
|
|
21282
|
-
|
|
21616
|
+
timeExtractRegex: string;
|
|
21283
21617
|
/**
|
|
21284
|
-
*
|
|
21618
|
+
* Parsing format for the time field. If a specified time field in the log is used as the log timestamp, you must provide TimeKey and TimeFormat.
|
|
21285
21619
|
*/
|
|
21286
|
-
|
|
21620
|
+
timeFormat: string;
|
|
21287
21621
|
/**
|
|
21288
|
-
*
|
|
21622
|
+
* Field name for the log time field. If a specified time field in the log is used as the log timestamp, you must provide TimeKey and TimeFormat.
|
|
21289
21623
|
*/
|
|
21290
|
-
|
|
21624
|
+
timeKey: string;
|
|
21291
21625
|
/**
|
|
21292
|
-
*
|
|
21626
|
+
* Sample time. Used to verify whether the specified time parsing format is correct.
|
|
21293
21627
|
*/
|
|
21294
|
-
|
|
21628
|
+
timeSample: string;
|
|
21295
21629
|
/**
|
|
21296
|
-
*
|
|
21630
|
+
* Time zone. Supports machine time zone (default) and custom time zone. Custom time zone supports GMT and UTC.
|
|
21297
21631
|
*/
|
|
21298
|
-
|
|
21632
|
+
timeZone: string;
|
|
21299
21633
|
/**
|
|
21300
|
-
*
|
|
21634
|
+
* Key name for logs that failed to parse when uploading
|
|
21301
21635
|
*/
|
|
21302
|
-
|
|
21636
|
+
unMatchLogKey: string;
|
|
21303
21637
|
/**
|
|
21304
|
-
*
|
|
21638
|
+
* Upload logs that failed to parse. UnMatchUpLoadSwitch=true and UnMatchLogKey must be used together. true: Upload logs that failed to parse. false: Do not upload logs that failed to parse.
|
|
21305
21639
|
*/
|
|
21306
|
-
|
|
21640
|
+
unMatchUpLoadSwitch: boolean;
|
|
21641
|
+
}
|
|
21642
|
+
interface GetHostGroupRuleExtractRuleFilterKeyRegex {
|
|
21307
21643
|
/**
|
|
21308
|
-
*
|
|
21644
|
+
* Name of the filter field.
|
|
21309
21645
|
*/
|
|
21310
|
-
|
|
21646
|
+
key: string;
|
|
21311
21647
|
/**
|
|
21312
|
-
*
|
|
21648
|
+
* The log content of the filter field must match the specified regular expression.
|
|
21313
21649
|
*/
|
|
21314
|
-
|
|
21650
|
+
regex: string;
|
|
21315
21651
|
}
|
|
21316
|
-
interface
|
|
21652
|
+
interface GetHostGroupRuleExtractRuleLogTemplate {
|
|
21317
21653
|
/**
|
|
21318
|
-
*
|
|
21654
|
+
* Log template format
|
|
21319
21655
|
*/
|
|
21320
|
-
|
|
21656
|
+
format: string;
|
|
21321
21657
|
/**
|
|
21322
|
-
*
|
|
21658
|
+
* Log template type. Supported types: Nginx (Nginx log template type).
|
|
21323
21659
|
*/
|
|
21324
|
-
|
|
21660
|
+
type: string;
|
|
21325
21661
|
}
|
|
21326
|
-
interface
|
|
21662
|
+
interface GetHostGroupRuleUserDefineRule {
|
|
21327
21663
|
/**
|
|
21328
|
-
*
|
|
21664
|
+
* Advanced parameters are used for extended configuration. After enabling extended configuration, you can customize advanced behaviors of LogCollector, such as when to release file handles. Note: If multiple conditions for releasing handles are specified, the handle will be released and log file monitoring will end as soon as any condition is met.
|
|
21329
21665
|
*/
|
|
21330
|
-
|
|
21666
|
+
advanced: outputs.tls.GetHostGroupRuleUserDefineRuleAdvanced;
|
|
21331
21667
|
/**
|
|
21332
|
-
* Whether to
|
|
21668
|
+
* Whether to upload the Label information of the host group to the log service. Disabled by default. true: LogCollector uploads the Label information of the host group to the specified field. You can specify the field name in the HostGroupLabelKey parameter. false (default): LogCollector does not upload the Label information of the host group.
|
|
21333
21669
|
*/
|
|
21334
|
-
|
|
21670
|
+
enableHostGroupLabel: boolean;
|
|
21335
21671
|
/**
|
|
21336
|
-
*
|
|
21672
|
+
* Whether to upload the hostname field. Default is disabled. true: Adds a field to the original log to record the log source's hostname. Specify the hostname field name using HostnameKey. false (default): Does not add the hostname field.
|
|
21337
21673
|
*/
|
|
21338
|
-
|
|
21674
|
+
enableHostname: boolean;
|
|
21339
21675
|
/**
|
|
21340
|
-
*
|
|
21676
|
+
* Whether to upload raw logs. true: Upload raw logs. false (default): Do not upload raw logs.
|
|
21341
21677
|
*/
|
|
21342
|
-
|
|
21678
|
+
enableRawLog: boolean;
|
|
21343
21679
|
/**
|
|
21344
|
-
*
|
|
21680
|
+
* Add constant fields to logs. Constant fields must follow these restrictions: Up to 5 constant fields can be uploaded. Field name (Key) must be unique and not empty. Length: 1–128 characters, including letters, numbers, and special characters (-*./), and cannot start with an underscore. Field value (Value) must not be empty, maximum length is 512 KiB.
|
|
21345
21681
|
*/
|
|
21346
|
-
|
|
21682
|
+
fields: outputs.tls.GetHostGroupRuleUserDefineRuleField[];
|
|
21347
21683
|
/**
|
|
21348
|
-
*
|
|
21684
|
+
* Field name used to store machine group label information.
|
|
21349
21685
|
*/
|
|
21350
|
-
|
|
21686
|
+
hostGroupLabelKey: string;
|
|
21351
21687
|
/**
|
|
21352
|
-
*
|
|
21688
|
+
* hostname field name. Only required when EnableHostname is set to true.
|
|
21353
21689
|
*/
|
|
21354
|
-
|
|
21690
|
+
hostnameKey: string;
|
|
21355
21691
|
/**
|
|
21356
|
-
*
|
|
21692
|
+
* Ignore log files that have not been updated for a specified duration, in hours.
|
|
21357
21693
|
*/
|
|
21358
|
-
|
|
21359
|
-
}
|
|
21360
|
-
interface GetProjectTag {
|
|
21694
|
+
ignoreOlder: number;
|
|
21361
21695
|
/**
|
|
21362
|
-
*
|
|
21696
|
+
* Allows multiple log file collections. Empty: Uses the log file ID (including file inode, device, and checksum of the first N bytes) to uniquely identify the log file. RuleID: Uses the collection rule ID and log file ID to uniquely identify the log file. TopicIDRuleName: Uses the log topic ID, collection rule Name, and log file ID to uniquely identify the log file.
|
|
21363
21697
|
*/
|
|
21364
|
-
|
|
21698
|
+
multiCollectsType: string;
|
|
21365
21699
|
/**
|
|
21366
|
-
*
|
|
21700
|
+
* Rules for parsing the collection path. After setting the rule, fields in the collection path are extracted using the specified regex and added as metadata to the log data. Note: This parameter is not supported when collecting container standard output.
|
|
21367
21701
|
*/
|
|
21368
|
-
|
|
21369
|
-
}
|
|
21370
|
-
interface GetRuleContainerRule {
|
|
21702
|
+
parsePathRule: outputs.tls.GetHostGroupRuleUserDefineRuleParsePathRule;
|
|
21371
21703
|
/**
|
|
21372
|
-
*
|
|
21704
|
+
* LogCollector plugin configuration. After enabling plugin configuration, you can add one or more LogCollector processor plugins to parse logs with complex or variable structures.
|
|
21373
21705
|
*/
|
|
21374
|
-
|
|
21706
|
+
plugin: outputs.tls.GetHostGroupRuleUserDefineRulePlugin;
|
|
21375
21707
|
/**
|
|
21376
|
-
*
|
|
21708
|
+
* Original log field name. Only effective when EnableRawLog is set to true. RawLogKey defaults to **raw**, meaning the original log data will be encapsulated in the **raw** field and uploaded to the log service together with the parsed log data
|
|
21377
21709
|
*/
|
|
21378
|
-
|
|
21710
|
+
rawLogKey: string;
|
|
21379
21711
|
/**
|
|
21380
|
-
*
|
|
21712
|
+
* Rules for routing log partitions. If this parameter is not set, logs are written using the default load balancing mode, and packets are written to any available Shard. If set, logs are collected using the HashKey routing Shard mode, and the log service writes data to the Shard containing the specified Key value.
|
|
21381
21713
|
*/
|
|
21382
|
-
|
|
21714
|
+
shardHashKey: outputs.tls.GetHostGroupRuleUserDefineRuleShardHashKey;
|
|
21383
21715
|
/**
|
|
21384
|
-
*
|
|
21716
|
+
* LogCollector collection strategy, specifying whether LogCollector collects incremental logs or full logs. The default is false, which means full log collection. true: incremental collection. When LogCollector collects logs, it only collects newly added content in the file. When a monitored log file receives new log entries, LogCollector is triggered to collect logs. For log files being collected for the first time, LogCollector automatically determines the collection position based on the incremental threshold TailSizeKb you specify. If the new file size does not exceed the incremental threshold, collection starts from the beginning of the new file. If the new file size exceeds the incremental threshold, collection starts from the position at the end of the file minus the incremental threshold, meaning only incremental logs are collected. For log files that are not being collected for the first time, LogCollector determines the collection position based on the Checkpoint and continues collecting. false: (default) full collection. LogCollector collects logs from the beginning of each file, including historical log data.
|
|
21385
21717
|
*/
|
|
21386
|
-
|
|
21718
|
+
tailFiles: boolean;
|
|
21387
21719
|
/**
|
|
21388
|
-
*
|
|
21720
|
+
* Incremental collection backtracking threshold, in KiB. When LogCollector uses incremental collection, for the first collection of a log file: if the new log file size does not exceed the TailSizeKb value, collection starts from the beginning of the file. If the new log file size exceeds the TailSizeKb value, collection starts from the position TailSizeKb from the end of the file.
|
|
21389
21721
|
*/
|
|
21390
|
-
|
|
21722
|
+
tailSizeKb: number;
|
|
21723
|
+
}
|
|
21724
|
+
interface GetHostGroupRuleUserDefineRuleAdvanced {
|
|
21391
21725
|
/**
|
|
21392
|
-
*
|
|
21726
|
+
* After reading to the end of the log file, whether to release the file handle. Default is false.
|
|
21393
21727
|
*/
|
|
21394
|
-
|
|
21728
|
+
closeEof: boolean;
|
|
21395
21729
|
/**
|
|
21396
|
-
*
|
|
21730
|
+
* Wait time before releasing log file handles. If no new logs are written to a log file for the specified duration, the handle for that log file is released. Unit: seconds. Range: 1–300 seconds. Default: 60 seconds.
|
|
21397
21731
|
*/
|
|
21398
|
-
|
|
21732
|
+
closeInactive: number;
|
|
21399
21733
|
/**
|
|
21400
|
-
*
|
|
21734
|
+
* Whether to release the handle of the log file after it is removed. Default is false.
|
|
21401
21735
|
*/
|
|
21402
|
-
|
|
21403
|
-
}
|
|
21404
|
-
interface GetRuleContainerRuleEnvTag {
|
|
21736
|
+
closeRemoved: boolean;
|
|
21405
21737
|
/**
|
|
21406
|
-
*
|
|
21738
|
+
* Whether to release the handle of the log file after it is renamed. Default is false.
|
|
21407
21739
|
*/
|
|
21408
|
-
|
|
21740
|
+
closeRenamed: boolean;
|
|
21409
21741
|
/**
|
|
21410
|
-
*
|
|
21742
|
+
* Maximum duration for LogCollector to monitor log files, in seconds. The default is 0 seconds, meaning LogCollector does not limit the monitoring duration. Timing starts when LogCollector begins monitoring the log file. After the specified duration is exceeded, regardless of whether the log file has been fully read, LogCollector immediately releases the file handle and stops monitoring.
|
|
21411
21743
|
*/
|
|
21412
|
-
|
|
21744
|
+
closeTimeout: number;
|
|
21745
|
+
/**
|
|
21746
|
+
* Maximum wait time when LogCollector does not read a line break. Unit: seconds. Default: 5s. LogCollector starts timing when it begins reading log file content. If no line break is read within the specified time, it will send the buffered logs. If the file write interval is large, a complete log entry may be split into two parts and written separately. Adjust this parameter based on your log write interval.
|
|
21747
|
+
*/
|
|
21748
|
+
noLineTerminatorEofMaxTime: number;
|
|
21413
21749
|
}
|
|
21414
|
-
interface
|
|
21750
|
+
interface GetHostGroupRuleUserDefineRuleField {
|
|
21415
21751
|
/**
|
|
21416
21752
|
* Key.
|
|
21417
21753
|
*/
|
|
@@ -21421,549 +21757,1485 @@ export declare namespace tls {
|
|
|
21421
21757
|
*/
|
|
21422
21758
|
val: string;
|
|
21423
21759
|
}
|
|
21424
|
-
interface
|
|
21760
|
+
interface GetHostGroupRuleUserDefineRuleParsePathRule {
|
|
21425
21761
|
/**
|
|
21426
|
-
*
|
|
21762
|
+
* List of field names. Log Service parses PathSample into multiple fields using regular expressions (Regex). Keys specify the name of each field. You can configure up to 100 field names. Field names cannot be empty or duplicated.
|
|
21427
21763
|
*/
|
|
21428
|
-
|
|
21764
|
+
keys: string[];
|
|
21429
21765
|
/**
|
|
21430
|
-
*
|
|
21766
|
+
* Sample collection path for actual scenarios. The sample path must be an absolute path. Wildcards *, ?, ** are not allowed in the sample path.
|
|
21431
21767
|
*/
|
|
21432
|
-
|
|
21768
|
+
pathSample: string;
|
|
21769
|
+
/**
|
|
21770
|
+
* Regular expression used to extract the path field. It must match the example collection path; otherwise, extraction will fail.
|
|
21771
|
+
*/
|
|
21772
|
+
regex: string;
|
|
21433
21773
|
}
|
|
21434
|
-
interface
|
|
21774
|
+
interface GetHostGroupRuleUserDefineRulePlugin {
|
|
21435
21775
|
/**
|
|
21436
|
-
*
|
|
21776
|
+
* LogCollector plugins. For supported plugin lists and parameter descriptions, see LogCollector plugin overview.
|
|
21437
21777
|
*/
|
|
21438
|
-
|
|
21778
|
+
processors: string;
|
|
21779
|
+
}
|
|
21780
|
+
interface GetHostGroupRuleUserDefineRuleShardHashKey {
|
|
21439
21781
|
/**
|
|
21440
|
-
*
|
|
21782
|
+
* The HashKey of the log group specifies the shard where the current log group will be written. The valid range for this parameter is [00000000000000000000000000000000-ffffffffffffffffffffffffffffffff).
|
|
21441
21783
|
*/
|
|
21442
|
-
|
|
21784
|
+
hashKey: string;
|
|
21443
21785
|
}
|
|
21444
|
-
interface
|
|
21786
|
+
interface GetImportTaskImportSourceInfo {
|
|
21445
21787
|
/**
|
|
21446
|
-
*
|
|
21788
|
+
* Kafka data source information. When sourceType is kafka, the KafkaSourceInfo field is required
|
|
21447
21789
|
*/
|
|
21448
|
-
|
|
21790
|
+
kafkaSourceInfo: outputs.tls.GetImportTaskImportSourceInfoKafkaSourceInfo;
|
|
21449
21791
|
/**
|
|
21450
|
-
*
|
|
21792
|
+
* TOS data source information. When sourceType is tos, the TosSourceInfo field is required.
|
|
21451
21793
|
*/
|
|
21452
|
-
|
|
21794
|
+
tosSourceInfo: outputs.tls.GetImportTaskImportSourceInfoTosSourceInfo;
|
|
21453
21795
|
}
|
|
21454
|
-
interface
|
|
21796
|
+
interface GetImportTaskImportSourceInfoKafkaSourceInfo {
|
|
21455
21797
|
/**
|
|
21456
|
-
*
|
|
21798
|
+
* Data encoding format. Available options: UTF-8, GBK.
|
|
21457
21799
|
*/
|
|
21458
|
-
|
|
21800
|
+
encode: string;
|
|
21459
21801
|
/**
|
|
21460
|
-
*
|
|
21802
|
+
* Kafka consumer group. If not specified, the system will automatically create a Kafka consumer group.
|
|
21461
21803
|
*/
|
|
21462
|
-
|
|
21804
|
+
group: string;
|
|
21463
21805
|
/**
|
|
21464
|
-
*
|
|
21806
|
+
* 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 (,).
|
|
21465
21807
|
*/
|
|
21466
|
-
|
|
21808
|
+
host: string;
|
|
21467
21809
|
/**
|
|
21468
|
-
*
|
|
21810
|
+
* 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.
|
|
21469
21811
|
*/
|
|
21470
|
-
|
|
21812
|
+
initialOffset: number;
|
|
21471
21813
|
/**
|
|
21472
|
-
*
|
|
21814
|
+
* If you are using Message Queue Kafka Edition, set this to the Kafka instance ID.
|
|
21473
21815
|
*/
|
|
21474
|
-
|
|
21816
|
+
instanceId: string;
|
|
21475
21817
|
/**
|
|
21476
|
-
*
|
|
21818
|
+
* Whether to enable authentication. If you use a public service address, it is recommended to enable authentication.
|
|
21477
21819
|
*/
|
|
21478
|
-
|
|
21820
|
+
isNeedAuth: boolean;
|
|
21479
21821
|
/**
|
|
21480
|
-
*
|
|
21822
|
+
* Password authentication mechanism. Available options: PLAIN, SCRAM-SHA-256, and SCRAM-SHA-512.
|
|
21481
21823
|
*/
|
|
21482
|
-
|
|
21824
|
+
mechanism: string;
|
|
21483
21825
|
/**
|
|
21484
|
-
*
|
|
21826
|
+
* Kafka SASL user password for authentication.
|
|
21485
21827
|
*/
|
|
21486
|
-
|
|
21828
|
+
password: string;
|
|
21487
21829
|
/**
|
|
21488
|
-
*
|
|
21830
|
+
* Secure transmission protocol. Options include plaintext, sasl*ssl, ssl, and sasl*plaintext
|
|
21489
21831
|
*/
|
|
21490
|
-
|
|
21832
|
+
protocol: string;
|
|
21491
21833
|
/**
|
|
21492
|
-
* Specify
|
|
21834
|
+
* Specify log time. Options: 0: Use Kafka message timestamp. 1: Use current system time.
|
|
21493
21835
|
*/
|
|
21494
|
-
|
|
21836
|
+
timeSourceDefault: number;
|
|
21495
21837
|
/**
|
|
21496
|
-
*
|
|
21838
|
+
* Kafka Topic name. Separate multiple Kafka Topics with commas (,).
|
|
21497
21839
|
*/
|
|
21498
|
-
|
|
21840
|
+
topic: string;
|
|
21841
|
+
/**
|
|
21842
|
+
* Kafka SASL username for authentication.
|
|
21843
|
+
*/
|
|
21844
|
+
username: string;
|
|
21499
21845
|
}
|
|
21500
|
-
interface
|
|
21846
|
+
interface GetImportTaskImportSourceInfoTosSourceInfo {
|
|
21501
21847
|
/**
|
|
21502
|
-
*
|
|
21848
|
+
* TOS bucket name
|
|
21503
21849
|
*/
|
|
21504
|
-
|
|
21850
|
+
bucket: string;
|
|
21505
21851
|
/**
|
|
21506
|
-
*
|
|
21852
|
+
* Compression mode for data in the TOS bucket. none: No compression. snappy: Compress using snappy. gzip: Compress using gzip. lz4: Compress using lz4.
|
|
21507
21853
|
*/
|
|
21508
|
-
|
|
21509
|
-
}
|
|
21510
|
-
interface GetRuleContainerRuleKubernetesRuleExcludePodAnnotationRegex {
|
|
21854
|
+
compressType: string;
|
|
21511
21855
|
/**
|
|
21512
|
-
*
|
|
21856
|
+
* Path of the file to be imported in the TOS bucket.
|
|
21513
21857
|
*/
|
|
21514
|
-
|
|
21858
|
+
prefix: string;
|
|
21515
21859
|
/**
|
|
21516
|
-
*
|
|
21860
|
+
* Region where the TOS bucket is located. Cross-region data import is supported
|
|
21517
21861
|
*/
|
|
21518
|
-
|
|
21862
|
+
region: string;
|
|
21519
21863
|
}
|
|
21520
|
-
interface
|
|
21864
|
+
interface GetImportTaskTargetInfo {
|
|
21521
21865
|
/**
|
|
21522
|
-
*
|
|
21866
|
+
* Log extraction rule.
|
|
21523
21867
|
*/
|
|
21524
|
-
|
|
21868
|
+
extractRule: outputs.tls.GetImportTaskTargetInfoExtractRule;
|
|
21525
21869
|
/**
|
|
21526
|
-
*
|
|
21870
|
+
* 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.
|
|
21527
21871
|
*/
|
|
21528
|
-
|
|
21529
|
-
}
|
|
21530
|
-
interface GetRuleContainerRuleKubernetesRuleIncludePodAnnotationRegex {
|
|
21872
|
+
logSample: string;
|
|
21531
21873
|
/**
|
|
21532
|
-
*
|
|
21874
|
+
* 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.
|
|
21533
21875
|
*/
|
|
21534
|
-
|
|
21876
|
+
logType: string;
|
|
21535
21877
|
/**
|
|
21536
|
-
*
|
|
21878
|
+
* Region.
|
|
21537
21879
|
*/
|
|
21538
|
-
|
|
21880
|
+
region: string;
|
|
21539
21881
|
}
|
|
21540
|
-
interface
|
|
21882
|
+
interface GetImportTaskTargetInfoExtractRule {
|
|
21541
21883
|
/**
|
|
21542
|
-
*
|
|
21884
|
+
* Basic content of log extraction rules.
|
|
21543
21885
|
*/
|
|
21544
|
-
|
|
21886
|
+
extractRule: outputs.tls.GetImportTaskTargetInfoExtractRuleExtractRule;
|
|
21545
21887
|
/**
|
|
21546
|
-
*
|
|
21547
|
-
*/
|
|
21548
|
-
val: string;
|
|
21549
|
-
}
|
|
21550
|
-
interface GetRuleContainerRuleKubernetesRuleLabelTag {
|
|
21551
|
-
/**
|
|
21552
|
-
* Key.
|
|
21553
|
-
*/
|
|
21554
|
-
key: string;
|
|
21555
|
-
/**
|
|
21556
|
-
* Value.
|
|
21888
|
+
* Number of skipped rows. Only valid when the log type is delimiterLog and the import type is tos.
|
|
21557
21889
|
*/
|
|
21558
|
-
|
|
21559
|
-
}
|
|
21560
|
-
interface GetRuleExcludePath {
|
|
21890
|
+
skipLineCount: number;
|
|
21561
21891
|
/**
|
|
21562
|
-
*
|
|
21892
|
+
* Time extraction regular expression, used to extract the time value from the TimeKey field and parse it as the collection time
|
|
21563
21893
|
*/
|
|
21564
|
-
|
|
21894
|
+
timeExtractRegex: string;
|
|
21565
21895
|
/**
|
|
21566
|
-
*
|
|
21896
|
+
* 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.
|
|
21567
21897
|
*/
|
|
21568
|
-
|
|
21898
|
+
timeZone: string;
|
|
21569
21899
|
}
|
|
21570
|
-
interface
|
|
21900
|
+
interface GetImportTaskTargetInfoExtractRuleExtractRule {
|
|
21571
21901
|
/**
|
|
21572
|
-
* Regular expression
|
|
21902
|
+
* 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
|
|
21573
21903
|
*/
|
|
21574
21904
|
beginRegex: string;
|
|
21575
21905
|
/**
|
|
21576
|
-
*
|
|
21906
|
+
* Delimiter. Only valid when LogType is delimiter_log.
|
|
21577
21907
|
*/
|
|
21578
21908
|
delimiter: string;
|
|
21579
21909
|
/**
|
|
21580
|
-
* Enable
|
|
21910
|
+
* Enable nanoseconds.
|
|
21581
21911
|
*/
|
|
21582
21912
|
enableNanosecond: boolean;
|
|
21583
21913
|
/**
|
|
21584
|
-
* Filter
|
|
21914
|
+
* Filter key regular expression.
|
|
21585
21915
|
*/
|
|
21586
|
-
filterKeyRegexes: outputs.tls.
|
|
21916
|
+
filterKeyRegexes: outputs.tls.GetImportTaskTargetInfoExtractRuleExtractRuleFilterKeyRegex[];
|
|
21587
21917
|
/**
|
|
21588
|
-
* List of log field names (Key).
|
|
21918
|
+
* 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
|
|
21589
21919
|
*/
|
|
21590
21920
|
keys: string[];
|
|
21591
21921
|
/**
|
|
21592
|
-
*
|
|
21922
|
+
* Log regular expression
|
|
21593
21923
|
*/
|
|
21594
21924
|
logRegex: string;
|
|
21595
21925
|
/**
|
|
21596
|
-
*
|
|
21926
|
+
* Log template.
|
|
21597
21927
|
*/
|
|
21598
|
-
logTemplate: outputs.tls.
|
|
21928
|
+
logTemplate: outputs.tls.GetImportTaskTargetInfoExtractRuleExtractRuleLogTemplate;
|
|
21599
21929
|
/**
|
|
21600
|
-
*
|
|
21930
|
+
* 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.
|
|
21601
21931
|
*/
|
|
21602
21932
|
quote: string;
|
|
21603
21933
|
/**
|
|
21604
|
-
*
|
|
21605
|
-
*/
|
|
21606
|
-
timeExtractRegex: string;
|
|
21607
|
-
/**
|
|
21608
|
-
* Parsing format for the 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 be used together.
|
|
21934
|
+
* 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.
|
|
21609
21935
|
*/
|
|
21610
21936
|
timeFormat: string;
|
|
21611
21937
|
/**
|
|
21612
|
-
* Name of the log time field. If you
|
|
21938
|
+
* 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
|
|
21613
21939
|
*/
|
|
21614
21940
|
timeKey: string;
|
|
21615
21941
|
/**
|
|
21616
|
-
* Time sample. Used to
|
|
21942
|
+
* Time sample. Used to verify whether the entered time parsing format is correct
|
|
21617
21943
|
*/
|
|
21618
21944
|
timeSample: string;
|
|
21619
21945
|
/**
|
|
21620
|
-
*
|
|
21621
|
-
*/
|
|
21622
|
-
timeZone: string;
|
|
21623
|
-
/**
|
|
21624
|
-
* Key name for unmatched logs.
|
|
21946
|
+
* When uploading logs that failed to parse, specify the key name for the failed logs. UnMatchUpLoadSwitch=true and UnMatchLogKey must be used together.
|
|
21625
21947
|
*/
|
|
21626
21948
|
unMatchLogKey: string;
|
|
21627
21949
|
/**
|
|
21628
|
-
*
|
|
21950
|
+
* 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.
|
|
21629
21951
|
*/
|
|
21630
21952
|
unMatchUpLoadSwitch: boolean;
|
|
21631
21953
|
}
|
|
21632
|
-
interface
|
|
21954
|
+
interface GetImportTaskTargetInfoExtractRuleExtractRuleFilterKeyRegex {
|
|
21633
21955
|
/**
|
|
21634
|
-
*
|
|
21956
|
+
* Key.
|
|
21635
21957
|
*/
|
|
21636
21958
|
key: string;
|
|
21637
21959
|
/**
|
|
21638
|
-
*
|
|
21960
|
+
* Regular expression.
|
|
21639
21961
|
*/
|
|
21640
21962
|
regex: string;
|
|
21641
21963
|
}
|
|
21642
|
-
interface
|
|
21964
|
+
interface GetImportTaskTargetInfoExtractRuleExtractRuleLogTemplate {
|
|
21643
21965
|
/**
|
|
21644
|
-
*
|
|
21966
|
+
* Format.
|
|
21645
21967
|
*/
|
|
21646
21968
|
format: string;
|
|
21647
21969
|
/**
|
|
21648
|
-
*
|
|
21970
|
+
* Type
|
|
21649
21971
|
*/
|
|
21650
21972
|
type: string;
|
|
21651
21973
|
}
|
|
21652
|
-
interface
|
|
21974
|
+
interface GetImportTaskTaskStatistics {
|
|
21653
21975
|
/**
|
|
21654
|
-
*
|
|
21976
|
+
* Total resource bytes enumerated
|
|
21655
21977
|
*/
|
|
21656
|
-
|
|
21978
|
+
bytesTotal: number;
|
|
21657
21979
|
/**
|
|
21658
|
-
*
|
|
21980
|
+
* Bytes transferred.
|
|
21659
21981
|
*/
|
|
21660
|
-
|
|
21982
|
+
bytesTransferred: number;
|
|
21661
21983
|
/**
|
|
21662
|
-
*
|
|
21984
|
+
* Number of resources failed to import.
|
|
21663
21985
|
*/
|
|
21664
|
-
|
|
21986
|
+
failed: number;
|
|
21665
21987
|
/**
|
|
21666
|
-
*
|
|
21988
|
+
* Number of resources not found.
|
|
21667
21989
|
*/
|
|
21668
|
-
|
|
21990
|
+
notExist: number;
|
|
21669
21991
|
/**
|
|
21670
|
-
* Number of
|
|
21992
|
+
* Number of resources skipped during import
|
|
21671
21993
|
*/
|
|
21672
|
-
|
|
21994
|
+
skipped: number;
|
|
21673
21995
|
/**
|
|
21674
|
-
*
|
|
21996
|
+
* Task status. Status of the import task. Preparing: Preparing for import. Importing: Importing data. Success: Import completed successfully. Failed: Import failed. Stopped: Import paused.
|
|
21675
21997
|
*/
|
|
21676
|
-
|
|
21998
|
+
taskStatus: string;
|
|
21677
21999
|
/**
|
|
21678
|
-
*
|
|
22000
|
+
* Total number of resources enumerated.
|
|
21679
22001
|
*/
|
|
21680
|
-
|
|
22002
|
+
total: number;
|
|
21681
22003
|
/**
|
|
21682
|
-
*
|
|
22004
|
+
* Number of records transferred.
|
|
21683
22005
|
*/
|
|
21684
|
-
|
|
22006
|
+
transferred: number;
|
|
22007
|
+
}
|
|
22008
|
+
interface GetIndexFullText {
|
|
21685
22009
|
/**
|
|
21686
|
-
*
|
|
22010
|
+
* Case sensitivity. true: Case sensitive. false: Not case sensitive.
|
|
21687
22011
|
*/
|
|
21688
|
-
|
|
22012
|
+
caseSensitive: boolean;
|
|
21689
22013
|
/**
|
|
21690
|
-
*
|
|
22014
|
+
* 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.
|
|
21691
22015
|
*/
|
|
21692
|
-
|
|
22016
|
+
delimiter: string;
|
|
21693
22017
|
/**
|
|
21694
|
-
*
|
|
22018
|
+
* 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.
|
|
21695
22019
|
*/
|
|
21696
|
-
|
|
22020
|
+
includeChinese: boolean;
|
|
22021
|
+
}
|
|
22022
|
+
interface GetIndexKeyValue {
|
|
21697
22023
|
/**
|
|
21698
|
-
*
|
|
22024
|
+
* 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.
|
|
21699
22025
|
*/
|
|
21700
|
-
|
|
22026
|
+
key: string;
|
|
21701
22027
|
/**
|
|
21702
|
-
*
|
|
22028
|
+
* Field description information required for configuring key-value indexes.
|
|
21703
22029
|
*/
|
|
21704
|
-
|
|
22030
|
+
value: outputs.tls.GetIndexKeyValueValue;
|
|
22031
|
+
}
|
|
22032
|
+
interface GetIndexKeyValueValue {
|
|
21705
22033
|
/**
|
|
21706
|
-
*
|
|
22034
|
+
* Indicates whether the index was added automatically. true: The index was added automatically. false: The index was not added automatically.
|
|
21707
22035
|
*/
|
|
21708
|
-
|
|
22036
|
+
autoIndexFlag: boolean;
|
|
21709
22037
|
/**
|
|
21710
|
-
*
|
|
22038
|
+
* Whether to distinguish case. Default is false.
|
|
21711
22039
|
*/
|
|
21712
|
-
|
|
22040
|
+
caseSensitive: boolean;
|
|
21713
22041
|
/**
|
|
21714
|
-
*
|
|
22042
|
+
* 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.
|
|
21715
22043
|
*/
|
|
21716
|
-
|
|
22044
|
+
delimiter: string;
|
|
22045
|
+
/**
|
|
22046
|
+
* 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.
|
|
22047
|
+
*/
|
|
22048
|
+
includeChinese: boolean;
|
|
22049
|
+
/**
|
|
22050
|
+
* Create indexes for all fields with text values in the JSON field.
|
|
22051
|
+
*/
|
|
22052
|
+
indexAll: boolean;
|
|
22053
|
+
/**
|
|
22054
|
+
* Enable automatic indexing and statistics for JSON fields. true: Enable automatic indexing and statistics. false: Disable automatic indexing and statistics.
|
|
22055
|
+
*/
|
|
22056
|
+
indexSqlAll: boolean;
|
|
22057
|
+
/**
|
|
22058
|
+
* 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.
|
|
22059
|
+
*/
|
|
22060
|
+
jsonKeys: outputs.tls.GetIndexKeyValueValueJsonKey[];
|
|
22061
|
+
/**
|
|
22062
|
+
* 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.
|
|
22063
|
+
*/
|
|
22064
|
+
sqlFlag: boolean;
|
|
22065
|
+
/**
|
|
22066
|
+
* 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.
|
|
22067
|
+
*/
|
|
22068
|
+
valueType: string;
|
|
21717
22069
|
}
|
|
21718
|
-
interface
|
|
22070
|
+
interface GetIndexKeyValueValueJsonKey {
|
|
21719
22071
|
/**
|
|
21720
|
-
*
|
|
22072
|
+
* 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.
|
|
21721
22073
|
*/
|
|
21722
|
-
|
|
22074
|
+
key: string;
|
|
21723
22075
|
/**
|
|
21724
|
-
*
|
|
22076
|
+
* Field description information required for configuring key-value indexes.
|
|
21725
22077
|
*/
|
|
21726
|
-
|
|
22078
|
+
value: outputs.tls.GetIndexKeyValueValueJsonKeyValue;
|
|
22079
|
+
}
|
|
22080
|
+
interface GetIndexKeyValueValueJsonKeyValue {
|
|
22081
|
+
/**
|
|
22082
|
+
* Indicates whether the index was added automatically. true: The index was added automatically. false: The index was not added automatically.
|
|
22083
|
+
*/
|
|
22084
|
+
autoIndexFlag: boolean;
|
|
22085
|
+
/**
|
|
22086
|
+
* Whether to distinguish case. Default is false.
|
|
22087
|
+
*/
|
|
22088
|
+
caseSensitive: boolean;
|
|
22089
|
+
/**
|
|
22090
|
+
* 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.
|
|
22091
|
+
*/
|
|
22092
|
+
delimiter: string;
|
|
22093
|
+
/**
|
|
22094
|
+
* 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.
|
|
22095
|
+
*/
|
|
22096
|
+
includeChinese: boolean;
|
|
22097
|
+
/**
|
|
22098
|
+
* Create indexes for all fields with text values in the JSON field.
|
|
22099
|
+
*/
|
|
22100
|
+
indexAll: boolean;
|
|
22101
|
+
/**
|
|
22102
|
+
* Enable automatic indexing and statistics for JSON fields. true: Enable automatic indexing and statistics. false: Disable automatic indexing and statistics.
|
|
22103
|
+
*/
|
|
22104
|
+
indexSqlAll: boolean;
|
|
22105
|
+
/**
|
|
22106
|
+
* 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.
|
|
22107
|
+
*/
|
|
22108
|
+
sqlFlag: boolean;
|
|
22109
|
+
/**
|
|
22110
|
+
* 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.
|
|
22111
|
+
*/
|
|
22112
|
+
valueType: string;
|
|
22113
|
+
}
|
|
22114
|
+
interface GetIndexUserInnerKeyValue {
|
|
22115
|
+
/**
|
|
22116
|
+
* 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.
|
|
22117
|
+
*/
|
|
22118
|
+
key: string;
|
|
22119
|
+
/**
|
|
22120
|
+
* Field description information required for configuring key-value indexes.
|
|
22121
|
+
*/
|
|
22122
|
+
value: outputs.tls.GetIndexUserInnerKeyValueValue;
|
|
22123
|
+
}
|
|
22124
|
+
interface GetIndexUserInnerKeyValueValue {
|
|
22125
|
+
/**
|
|
22126
|
+
* Indicates whether the index was added automatically. true: The index was added automatically. false: The index was not added automatically.
|
|
22127
|
+
*/
|
|
22128
|
+
autoIndexFlag: boolean;
|
|
22129
|
+
/**
|
|
22130
|
+
* Whether to distinguish case. Default is false.
|
|
22131
|
+
*/
|
|
22132
|
+
caseSensitive: boolean;
|
|
22133
|
+
/**
|
|
22134
|
+
* 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.
|
|
22135
|
+
*/
|
|
22136
|
+
delimiter: string;
|
|
22137
|
+
/**
|
|
22138
|
+
* 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.
|
|
22139
|
+
*/
|
|
22140
|
+
includeChinese: boolean;
|
|
22141
|
+
/**
|
|
22142
|
+
* Create indexes for all fields with text values in the JSON field.
|
|
22143
|
+
*/
|
|
22144
|
+
indexAll: boolean;
|
|
22145
|
+
/**
|
|
22146
|
+
* Enable automatic indexing and statistics for JSON fields. true: Enable automatic indexing and statistics. false: Disable automatic indexing and statistics.
|
|
22147
|
+
*/
|
|
22148
|
+
indexSqlAll: boolean;
|
|
22149
|
+
/**
|
|
22150
|
+
* 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.
|
|
22151
|
+
*/
|
|
22152
|
+
jsonKeys: outputs.tls.GetIndexUserInnerKeyValueValueJsonKey[];
|
|
22153
|
+
/**
|
|
22154
|
+
* 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.
|
|
22155
|
+
*/
|
|
22156
|
+
sqlFlag: boolean;
|
|
22157
|
+
/**
|
|
22158
|
+
* 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.
|
|
22159
|
+
*/
|
|
22160
|
+
valueType: string;
|
|
22161
|
+
}
|
|
22162
|
+
interface GetIndexUserInnerKeyValueValueJsonKey {
|
|
22163
|
+
/**
|
|
22164
|
+
* 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.
|
|
22165
|
+
*/
|
|
22166
|
+
key: string;
|
|
22167
|
+
/**
|
|
22168
|
+
* Field description information required for configuring key-value indexes.
|
|
22169
|
+
*/
|
|
22170
|
+
value: outputs.tls.GetIndexUserInnerKeyValueValueJsonKeyValue;
|
|
22171
|
+
}
|
|
22172
|
+
interface GetIndexUserInnerKeyValueValueJsonKeyValue {
|
|
22173
|
+
/**
|
|
22174
|
+
* Indicates whether the index was added automatically. true: The index was added automatically. false: The index was not added automatically.
|
|
22175
|
+
*/
|
|
22176
|
+
autoIndexFlag: boolean;
|
|
22177
|
+
/**
|
|
22178
|
+
* Whether to distinguish case. Default is false.
|
|
22179
|
+
*/
|
|
22180
|
+
caseSensitive: boolean;
|
|
22181
|
+
/**
|
|
22182
|
+
* 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.
|
|
22183
|
+
*/
|
|
22184
|
+
delimiter: string;
|
|
22185
|
+
/**
|
|
22186
|
+
* 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.
|
|
22187
|
+
*/
|
|
22188
|
+
includeChinese: boolean;
|
|
22189
|
+
/**
|
|
22190
|
+
* Create indexes for all fields with text values in the JSON field.
|
|
22191
|
+
*/
|
|
22192
|
+
indexAll: boolean;
|
|
22193
|
+
/**
|
|
22194
|
+
* Enable automatic indexing and statistics for JSON fields. true: Enable automatic indexing and statistics. false: Disable automatic indexing and statistics.
|
|
22195
|
+
*/
|
|
22196
|
+
indexSqlAll: boolean;
|
|
22197
|
+
/**
|
|
22198
|
+
* 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.
|
|
22199
|
+
*/
|
|
22200
|
+
sqlFlag: boolean;
|
|
22201
|
+
/**
|
|
22202
|
+
* 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.
|
|
22203
|
+
*/
|
|
22204
|
+
valueType: string;
|
|
22205
|
+
}
|
|
22206
|
+
interface GetProjectTag {
|
|
22207
|
+
/**
|
|
22208
|
+
* Tag key
|
|
22209
|
+
*/
|
|
22210
|
+
key: string;
|
|
22211
|
+
/**
|
|
22212
|
+
* Tag value
|
|
22213
|
+
*/
|
|
22214
|
+
value: string;
|
|
22215
|
+
}
|
|
22216
|
+
interface GetRuleContainerRule {
|
|
22217
|
+
/**
|
|
22218
|
+
* Container name to collect. If no container name is specified, all containers in the machine group will be collected. Supports regex matching; for example, setting the container name to ^(container-test)$ will collect all containers named container-test.
|
|
22219
|
+
*/
|
|
22220
|
+
containerNameRegex: string;
|
|
22221
|
+
/**
|
|
22222
|
+
* Whether to add environment variables as log tags to the raw log data. When enabled, the log service adds container environment variable fields to the logs. Setting multiple key-value pairs adds multiple fields. For example, set Key to source and Value to data_source. If the container has the environment variable source=DC, the log will include the field **tag**data_source_*: DC
|
|
22223
|
+
*/
|
|
22224
|
+
envTags: outputs.tls.GetRuleContainerRuleEnvTag[];
|
|
22225
|
+
/**
|
|
22226
|
+
* The container environment variable denylist specifies which containers are excluded from collection. If the denylist is not enabled, all containers are collected. When the container environment variable denylist is enabled, Key is required and Value is optional. If Value is empty, all containers whose environment variables contain the Key are excluded from collection. If Value is not empty, only containers with a matching key-value pair are excluded, meaning only containers whose environment variables contain the Key and whose value matches the Value are excluded. Value supports regular expressions. For example, if Key is set to module and Value is set to ^(tcp|udp)$, containers with environment variables module:tcp or module:udp are excluded from collection. Multiple key-value pairs are evaluated with a logical OR, so any container environment variable matching any key-value pair will be excluded from collection. When the container environment variable denylist is enabled, Keys must be unique.
|
|
22227
|
+
*/
|
|
22228
|
+
excludeContainerEnvRegexes: outputs.tls.GetRuleContainerRuleExcludeContainerEnvRegex[];
|
|
22229
|
+
/**
|
|
22230
|
+
* Container label denylist specifies containers to exclude from collection. If the denylist is not enabled, all containers will be collected. If the container label denylist is enabled, Key is required and Value is optional. If Value is empty, all containers with the Key in their label will be excluded. If Value is not empty, only containers matching the key-value pair will be excluded—that is, containers with the Key in their label and a Value matching the specified pattern. Value supports regex matching; for example, set Key to app and Value to ^(test1|test2)$ to exclude containers with labels app:test1 and app:test2. Multiple key-value pairs use logical OR; any container label matching any pair will be excluded from collection. When the container label denylist is enabled, Keys must not be duplicated.
|
|
22231
|
+
*/
|
|
22232
|
+
excludeContainerLabelRegexes: outputs.tls.GetRuleContainerRuleExcludeContainerLabelRegex[];
|
|
22233
|
+
/**
|
|
22234
|
+
* The container environment variable allowlist specifies which containers to collect using container environment variables. If the allowlist is not enabled, all containers are collected. When the container environment variable allowlist is enabled, you must enter key-value pairs. Key is required; Value is optional. If Value is empty, all containers containing the Key in their environment variables are collected. If Value is not empty, only containers with the Key in their environment variables and a Value matching the specified value are collected. Value supports regular expression matching. For example, if Key is set to module and Value is set to ^(tcp|udp)$, only containers with module:tcp or module:udp in their environment variables are collected. The logical relationship between multiple key-value pairs is OR, meaning any container environment variable matching any key-value pair will be included in the collection scope. When the container environment variable allowlist is enabled, Keys must not be duplicated.
|
|
22235
|
+
*/
|
|
22236
|
+
includeContainerEnvRegexes: outputs.tls.GetRuleContainerRuleIncludeContainerEnvRegex[];
|
|
22237
|
+
/**
|
|
22238
|
+
* The container label allowlist specifies which containers to collect based on container labels. If the allowlist is not enabled, all containers are collected. When the container label allowlist is enabled, you must specify key-value pairs. Key is required and Value is optional. If Value is empty, all containers whose labels contain the Key are collected. If Value is not empty, only containers whose labels contain the Key and whose value matches the Value are collected. Value supports regular expressions. For example, if Key is set to app and Value is set to ^(test1|test2)$, only containers with labels app:test1 or app:test2 are collected. Multiple key-value pairs are evaluated with a logical OR, so any container label matching any key-value pair will be included in the collection scope. When the container label allowlist is enabled, Keys must be unique.
|
|
22239
|
+
*/
|
|
22240
|
+
includeContainerLabelRegexes: outputs.tls.GetRuleContainerRuleIncludeContainerLabelRegex[];
|
|
22241
|
+
/**
|
|
22242
|
+
* Kubernetes container collection rules.
|
|
22243
|
+
*/
|
|
22244
|
+
kubernetesRule: outputs.tls.GetRuleContainerRuleKubernetesRule;
|
|
22245
|
+
/**
|
|
22246
|
+
* Collection information. stdout: Collects container standard output (stdout). stderr: Collects container standard error (stderr). all: Collects both container standard output (stdout) and standard error (stderr).
|
|
22247
|
+
*/
|
|
22248
|
+
stream: string;
|
|
22249
|
+
}
|
|
22250
|
+
interface GetRuleContainerRuleEnvTag {
|
|
22251
|
+
/**
|
|
22252
|
+
* Key.
|
|
22253
|
+
*/
|
|
22254
|
+
key: string;
|
|
22255
|
+
/**
|
|
22256
|
+
* Value.
|
|
22257
|
+
*/
|
|
22258
|
+
val: string;
|
|
22259
|
+
}
|
|
22260
|
+
interface GetRuleContainerRuleExcludeContainerEnvRegex {
|
|
22261
|
+
/**
|
|
22262
|
+
* Key.
|
|
22263
|
+
*/
|
|
22264
|
+
key: string;
|
|
22265
|
+
/**
|
|
22266
|
+
* Value.
|
|
22267
|
+
*/
|
|
22268
|
+
val: string;
|
|
22269
|
+
}
|
|
22270
|
+
interface GetRuleContainerRuleExcludeContainerLabelRegex {
|
|
22271
|
+
/**
|
|
22272
|
+
* Key.
|
|
22273
|
+
*/
|
|
22274
|
+
key: string;
|
|
22275
|
+
/**
|
|
22276
|
+
* Value.
|
|
22277
|
+
*/
|
|
22278
|
+
val: string;
|
|
22279
|
+
}
|
|
22280
|
+
interface GetRuleContainerRuleIncludeContainerEnvRegex {
|
|
22281
|
+
/**
|
|
22282
|
+
* Key.
|
|
22283
|
+
*/
|
|
22284
|
+
key: string;
|
|
22285
|
+
/**
|
|
22286
|
+
* Value.
|
|
22287
|
+
*/
|
|
22288
|
+
val: string;
|
|
22289
|
+
}
|
|
22290
|
+
interface GetRuleContainerRuleIncludeContainerLabelRegex {
|
|
22291
|
+
/**
|
|
22292
|
+
* Key.
|
|
22293
|
+
*/
|
|
22294
|
+
key: string;
|
|
22295
|
+
/**
|
|
22296
|
+
* Value.
|
|
22297
|
+
*/
|
|
22298
|
+
val: string;
|
|
22299
|
+
}
|
|
22300
|
+
interface GetRuleContainerRuleKubernetesRule {
|
|
22301
|
+
/**
|
|
22302
|
+
* Whether to add Kubernetes Annotations as log tags to the original log data. When enabled, the log service will add fields related to Kubernetes Pod Annotations to the logs. Setting multiple key-value pairs means adding multiple fields. For example, if you set Key to sink and Value to data_sink, and the Pod contains the annotation sink=ck, a new field **tag**data_sink_*: ck will be added to the log.
|
|
22303
|
+
*/
|
|
22304
|
+
annotationTags: outputs.tls.GetRuleContainerRuleKubernetesRuleAnnotationTag[];
|
|
22305
|
+
/**
|
|
22306
|
+
* Whether to add all Kubernetes Labels as log tags to the original log data. When enabled, the log service adds fields for all Labels in the Kubernetes Pod to the logs. For example, if the Pod contains Label source=DC and destination=CS, the logs will include fields **tag**source__: DC and **tag**destination__: CS.
|
|
22307
|
+
*/
|
|
22308
|
+
enableAllLabelTag: boolean;
|
|
22309
|
+
/**
|
|
22310
|
+
* Pod Annotation Denylist is used to specify containers that are not collected. If you need to set a Pod Annotation Denylist, Key is required and Value is optional. If Value is empty, all containers under Pods whose Pod Annotation contains the specified Key are excluded. If Value is not empty, only containers under Pods whose Pod Annotation contains the Key and whose value matches the specified Value are excluded. By default, Value uses string matching, meaning it only matches when Value and the Pod Annotation value are exactly the same. If the value starts with ^ and ends with $, it is treated as a regular expression. For example, if Key is set to app and Value is set to ^(test1|test2)$, it matches containers under Pods with Pod Annotation app:test1 or app:test2. Note: The logical relationship between multiple Key-Value pairs is OR, meaning a Pod Annotation that matches any pair will be excluded from the collection scope. When enabling the Pod Annotation Denylist, Keys must not be duplicated. For regex fuzzy matching, you must add .*. For example, ^(http.*)$ matches strings starting with http
|
|
22311
|
+
*/
|
|
22312
|
+
excludePodAnnotationRegexes: outputs.tls.GetRuleContainerRuleKubernetesRuleExcludePodAnnotationRegex[];
|
|
22313
|
+
/**
|
|
22314
|
+
* Specify containers to exclude from collection using the Pod Label denylist. If not enabled, all containers are collected. To set a Pod Label denylist, Key is required and Value is optional. If Value is empty, all containers with the specified Key in their Pod Label are excluded from collection. If Value is not empty, only containers with the specified Key and a Value matching the Value in their Pod Label are excluded. Value supports regular expressions. For example, set Key to module and Value to ^(tcp|udp)$ to exclude containers with module:tcp or module:udp in their Pod Label. Note: The logical relationship between multiple Key-Value pairs is OR. Any Pod Label matching any Key-Value pair will be excluded from collection. When enabling the Pod Label denylist, Keys must not be duplicated. For fuzzy regular expression matching, you must add .*. For example, ^(http.*)$ matches any string starting with http
|
|
22315
|
+
*/
|
|
22316
|
+
excludePodLabelRegexes: outputs.tls.GetRuleContainerRuleKubernetesRuleExcludePodLabelRegex[];
|
|
22317
|
+
/**
|
|
22318
|
+
* Pod Annotation Allowlist is used to specify containers to be collected. If you need to set a Pod Annotation Allowlist, Key is required and Value is optional. If Value is empty, all containers under Pods that contain the Key in Pod Annotation will match. If Value is not empty, only containers under Pods that contain the Key and whose value matches Value in Pod Annotation will match. Value defaults to string matching, meaning only when Value and the Pod Annotation value are exactly the same will they match. If the value starts with ^ and ends with $, it is a regex match. For example, set Key to app and Value to ^(test1|test2)$ to match containers under Pods with Pod Annotation app:test1 or app:test2. Note: The logical relationship between multiple Key-Value pairs is OR, meaning as long as Pod Annotation matches any pair, it will be included in the collection scope. When enabling Pod Annotation Allowlist, Keys must not be duplicated. For regex fuzzy matching, you must add .*. For example, ^(http.*)$ matches strings starting with http.
|
|
22319
|
+
*/
|
|
22320
|
+
includePodAnnotationRegexes: outputs.tls.GetRuleContainerRuleKubernetesRuleIncludePodAnnotationRegex[];
|
|
22321
|
+
/**
|
|
22322
|
+
* Pod Label Allowlist is used to specify which containers to collect. If Pod Label Allowlist is not enabled, all containers will be collected. If you need to set a Pod Label Allowlist, Key is required: if Value is empty, all containers with the Key in their Pod Label will be collected. If Value is not empty, only containers with the Key in their Pod Label and a Value matching the specified pattern will be collected; regular expression matching is supported. For example, if you set Key to module and Value to ^(tcp|udp)$, only containers with module:tcp or module:udp in their Pod Label will be collected. Note: The logical relationship between multiple key-value pairs is OR, meaning any Pod Label matching any key-value pair will be included in the collection scope. When enabling Pod Label Allowlist, Keys cannot be duplicated. For fuzzy regular expression matching, you must add .*, for example, ^(http.*)$ matches strings starting with http.
|
|
22323
|
+
*/
|
|
22324
|
+
includePodLabelRegexes: outputs.tls.GetRuleContainerRuleKubernetesRuleIncludePodLabelRegex[];
|
|
22325
|
+
/**
|
|
22326
|
+
* Whether to add Kubernetes labels as log tags to the raw log data. When enabled, the log service adds Kubernetes Pod label fields to the logs. Setting multiple key-value pairs adds multiple fields. For example, if you set Key to source and Value to data_source, and the Pod contains the label source=DC, the log will include the field **tag**data_source_*: DC.
|
|
22327
|
+
*/
|
|
22328
|
+
labelTags: outputs.tls.GetRuleContainerRuleKubernetesRuleLabelTag[];
|
|
22329
|
+
/**
|
|
22330
|
+
* Name of the Kubernetes Namespace to collect. If no Namespace name is specified, all containers will be collected. Namespace names support regular expression matching. For example, if you set the Namespace name to ^(tcp|udp)$, it will collect all containers under the tcp and udp namespaces.
|
|
22331
|
+
*/
|
|
22332
|
+
namespaceNameRegex: string;
|
|
22333
|
+
/**
|
|
22334
|
+
* Pod name is used to specify the Pod whose containers will be collected. If no Pod name is specified, all containers will be collected. Pod name supports regular expression matching. For example, setting the Pod name to ^(http.*)$ collects all containers under Pods whose names start with http.
|
|
22335
|
+
*/
|
|
22336
|
+
podNameRegex: string;
|
|
22337
|
+
/**
|
|
22338
|
+
* Specify the container to collect by workload name. If no workload name is specified, all containers are collected. Workload names support regular expressions. For example, setting the workload name to ^(http.*)$ collects all containers under workloads starting with http.
|
|
22339
|
+
*/
|
|
22340
|
+
workloadNameRegex: string;
|
|
22341
|
+
/**
|
|
22342
|
+
* Specify the container to collect by workload type. Only one type can be selected. If no type is specified, containers of all types will be collected. Supported workload types: Deployment: stateless workload StatefulSet: stateful workload DaemonSet: daemon process Job: task CronJob: scheduled task
|
|
22343
|
+
*/
|
|
22344
|
+
workloadType: string;
|
|
22345
|
+
}
|
|
22346
|
+
interface GetRuleContainerRuleKubernetesRuleAnnotationTag {
|
|
22347
|
+
/**
|
|
22348
|
+
* Key.
|
|
22349
|
+
*/
|
|
22350
|
+
key: string;
|
|
22351
|
+
/**
|
|
22352
|
+
* Value.
|
|
22353
|
+
*/
|
|
22354
|
+
val: string;
|
|
22355
|
+
}
|
|
22356
|
+
interface GetRuleContainerRuleKubernetesRuleExcludePodAnnotationRegex {
|
|
22357
|
+
/**
|
|
22358
|
+
* Key.
|
|
22359
|
+
*/
|
|
22360
|
+
key: string;
|
|
22361
|
+
/**
|
|
22362
|
+
* Value.
|
|
22363
|
+
*/
|
|
22364
|
+
val: string;
|
|
22365
|
+
}
|
|
22366
|
+
interface GetRuleContainerRuleKubernetesRuleExcludePodLabelRegex {
|
|
22367
|
+
/**
|
|
22368
|
+
* Key.
|
|
22369
|
+
*/
|
|
22370
|
+
key: string;
|
|
22371
|
+
/**
|
|
22372
|
+
* Value.
|
|
22373
|
+
*/
|
|
22374
|
+
val: string;
|
|
22375
|
+
}
|
|
22376
|
+
interface GetRuleContainerRuleKubernetesRuleIncludePodAnnotationRegex {
|
|
22377
|
+
/**
|
|
22378
|
+
* Key.
|
|
22379
|
+
*/
|
|
22380
|
+
key: string;
|
|
22381
|
+
/**
|
|
22382
|
+
* Value.
|
|
22383
|
+
*/
|
|
22384
|
+
val: string;
|
|
22385
|
+
}
|
|
22386
|
+
interface GetRuleContainerRuleKubernetesRuleIncludePodLabelRegex {
|
|
22387
|
+
/**
|
|
22388
|
+
* Key.
|
|
22389
|
+
*/
|
|
22390
|
+
key: string;
|
|
22391
|
+
/**
|
|
22392
|
+
* Value.
|
|
22393
|
+
*/
|
|
22394
|
+
val: string;
|
|
22395
|
+
}
|
|
22396
|
+
interface GetRuleContainerRuleKubernetesRuleLabelTag {
|
|
22397
|
+
/**
|
|
22398
|
+
* Key.
|
|
22399
|
+
*/
|
|
22400
|
+
key: string;
|
|
22401
|
+
/**
|
|
22402
|
+
* Value.
|
|
22403
|
+
*/
|
|
22404
|
+
val: string;
|
|
22405
|
+
}
|
|
22406
|
+
interface GetRuleExcludePath {
|
|
22407
|
+
/**
|
|
22408
|
+
* Collection path type. File: File name. Path: Directory.
|
|
22409
|
+
*/
|
|
22410
|
+
type: string;
|
|
22411
|
+
/**
|
|
22412
|
+
* Collection path. Must be specified as an absolute path. When Type is Path, Value indicates a directory. When Type is File, Value indicates a file name.
|
|
22413
|
+
*/
|
|
22414
|
+
value: string;
|
|
22415
|
+
}
|
|
22416
|
+
interface GetRuleExtractRule {
|
|
22417
|
+
/**
|
|
22418
|
+
* Regular expression that the first line of the log must match. Valid only when LogType is multiline*log or fullregex*log. Must be a valid regular expression.
|
|
22419
|
+
*/
|
|
22420
|
+
beginRegex: string;
|
|
22421
|
+
/**
|
|
22422
|
+
* Log delimiter. Valid only when LogType is delimiter_log.
|
|
22423
|
+
*/
|
|
22424
|
+
delimiter: string;
|
|
22425
|
+
/**
|
|
22426
|
+
* Enable nanosecond precision time. When enabled, log time parsing will include and report nanosecond precision. true: Enable nanosecond precision time. false: Disable nanosecond precision time.
|
|
22427
|
+
*/
|
|
22428
|
+
enableNanosecond: boolean;
|
|
22429
|
+
/**
|
|
22430
|
+
* Filter rule list. When LogType is minimalist*log or multiline*log, you can configure up to 1 filter rule, and the filter field name key must be content. When LogType is delimiter*log, json*log, or fullregex*log, you can configure up to 5 filter rules, and the filter field name key cannot be duplicated or empty. The regular expression for the filter field's log content must be a valid regular expression and is limited to 256 characters.
|
|
22431
|
+
*/
|
|
22432
|
+
filterKeyRegexes: outputs.tls.GetRuleExtractRuleFilterKeyRegex[];
|
|
22433
|
+
/**
|
|
22434
|
+
* List of log field names (Key). This is only valid when LogType is delimiter*log or fullregex*log. You can configure up to 100 field names. When LogType is delimiter*log, field names must be unique and cannot all be empty. When LogType is fullregex*log, field names must be unique and cannot be empty.
|
|
22435
|
+
*/
|
|
22436
|
+
keys: string[];
|
|
22437
|
+
/**
|
|
22438
|
+
* The entire log must match the specified regular expression. This is only valid when the collected log type is fullregex_log. Must be a valid regular expression.
|
|
22439
|
+
*/
|
|
22440
|
+
logRegex: string;
|
|
22441
|
+
/**
|
|
22442
|
+
* Automatically extract log fields based on the specified log template
|
|
22443
|
+
*/
|
|
22444
|
+
logTemplate: outputs.tls.GetRuleExtractRuleLogTemplate;
|
|
22445
|
+
/**
|
|
22446
|
+
* Quoting character. Content wrapped by a quoting character will not be split but parsed as a complete field. Only valid when LogType is delimiter_log.
|
|
22447
|
+
*/
|
|
22448
|
+
quote: string;
|
|
22449
|
+
/**
|
|
22450
|
+
* Regular expression for extracting time, used to extract the time value from the TimeKey field and parse it as the collection time
|
|
22451
|
+
*/
|
|
22452
|
+
timeExtractRegex: string;
|
|
22453
|
+
/**
|
|
22454
|
+
* Parsing format for the 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 be used together.
|
|
22455
|
+
*/
|
|
22456
|
+
timeFormat: string;
|
|
22457
|
+
/**
|
|
22458
|
+
* Name of the log time field. If you want to use a specific time field in the log as the log timestamp, you need to specify both TimeKey and TimeFormat. TimeKey and TimeFormat must be provided together.
|
|
22459
|
+
*/
|
|
22460
|
+
timeKey: string;
|
|
22461
|
+
/**
|
|
22462
|
+
* Time sample. Used to check whether the entered time parsing format is correct.
|
|
22463
|
+
*/
|
|
22464
|
+
timeSample: string;
|
|
22465
|
+
/**
|
|
22466
|
+
* 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.
|
|
22467
|
+
*/
|
|
22468
|
+
timeZone: string;
|
|
22469
|
+
/**
|
|
22470
|
+
* Key name for unmatched logs.
|
|
22471
|
+
*/
|
|
22472
|
+
unMatchLogKey: string;
|
|
22473
|
+
/**
|
|
22474
|
+
* Switch for uploading unmatched logs.
|
|
22475
|
+
*/
|
|
22476
|
+
unMatchUpLoadSwitch: boolean;
|
|
22477
|
+
}
|
|
22478
|
+
interface GetRuleExtractRuleFilterKeyRegex {
|
|
22479
|
+
/**
|
|
22480
|
+
* Name of the filter field.
|
|
22481
|
+
*/
|
|
22482
|
+
key: string;
|
|
22483
|
+
/**
|
|
22484
|
+
* The log content of the filter field must match the specified regular expression.
|
|
22485
|
+
*/
|
|
22486
|
+
regex: string;
|
|
22487
|
+
}
|
|
22488
|
+
interface GetRuleExtractRuleLogTemplate {
|
|
22489
|
+
/**
|
|
22490
|
+
* Log template format.
|
|
22491
|
+
*/
|
|
22492
|
+
format: string;
|
|
22493
|
+
/**
|
|
22494
|
+
* Log template types. Supported types: Nginx: Nginx log template.
|
|
22495
|
+
*/
|
|
22496
|
+
type: string;
|
|
22497
|
+
}
|
|
22498
|
+
interface GetRuleHostGroupInfo {
|
|
22499
|
+
/**
|
|
22500
|
+
* Number of hosts with heartbeat exceptions.
|
|
22501
|
+
*/
|
|
22502
|
+
abnormalHeartbeatStatusCount: number;
|
|
22503
|
+
/**
|
|
22504
|
+
* Latest agent version.
|
|
22505
|
+
*/
|
|
22506
|
+
agentLatestVersion: string;
|
|
22507
|
+
/**
|
|
22508
|
+
* Whether LogCollector installed on the machine group server has automatic upgrade enabled. true: The log service will check for upgrades during a specified time period each day. If upgrade conditions are met, LogCollector will be upgraded automatically without manual intervention. false (default): LogCollector does not upgrade automatically. To use a newer version of LogCollector, refer to the LogCollector upgrade procedure.
|
|
22509
|
+
*/
|
|
22510
|
+
autoUpdate: boolean;
|
|
22511
|
+
/**
|
|
22512
|
+
* Machine group creation time.
|
|
22513
|
+
*/
|
|
22514
|
+
createTime: string;
|
|
22515
|
+
/**
|
|
22516
|
+
* Number of hosts.
|
|
22517
|
+
*/
|
|
22518
|
+
hostCount: number;
|
|
22519
|
+
/**
|
|
22520
|
+
* Machine group ID
|
|
22521
|
+
*/
|
|
22522
|
+
hostGroupId: string;
|
|
22523
|
+
/**
|
|
22524
|
+
* Name of the machine group.
|
|
22525
|
+
*/
|
|
22526
|
+
hostGroupName: string;
|
|
22527
|
+
/**
|
|
22528
|
+
* Machine group type. IP: Machine IP. Label: Machine label.
|
|
22529
|
+
*/
|
|
22530
|
+
hostGroupType: string;
|
|
22531
|
+
/**
|
|
22532
|
+
* Machine identifier.
|
|
22533
|
+
*/
|
|
22534
|
+
hostIdentifier: string;
|
|
22535
|
+
/**
|
|
22536
|
+
* The IAM project to which the host group belongs.
|
|
22537
|
+
*/
|
|
22538
|
+
iamProjectName: string;
|
|
22539
|
+
/**
|
|
22540
|
+
* Time when the machine group was modified.
|
|
22541
|
+
*/
|
|
22542
|
+
modifyTime: string;
|
|
22543
|
+
/**
|
|
22544
|
+
* Number of hosts with normal heartbeat.
|
|
22545
|
+
*/
|
|
22546
|
+
normalHeartbeatStatusCount: number;
|
|
22547
|
+
/**
|
|
22548
|
+
* The number of bound collection configurations.
|
|
22549
|
+
*/
|
|
22550
|
+
ruleCount: number;
|
|
22551
|
+
/**
|
|
22552
|
+
* Whether to enable the Logcollector service log feature. true: enabled. false (default): disabled.
|
|
22553
|
+
*/
|
|
22554
|
+
serviceLogging: boolean;
|
|
22555
|
+
/**
|
|
22556
|
+
* End time for LogCollector automatic upgrade.
|
|
22557
|
+
*/
|
|
22558
|
+
updateEndTime: string;
|
|
22559
|
+
/**
|
|
22560
|
+
* LogCollector auto-update start time. Note: Only required when AutoUpdate is set to true. It is recommended to schedule auto-updates during off-peak hours. LogCollector may restart during the update process, but logs will not be lost.
|
|
22561
|
+
*/
|
|
22562
|
+
updateStartTime: string;
|
|
22563
|
+
}
|
|
22564
|
+
interface GetRuleUserDefineRule {
|
|
22565
|
+
/**
|
|
22566
|
+
* The Advanced parameter is used for extended configuration. After enabling extended configuration, you can customize advanced behaviors of LogCollector, such as when to release file handles. Note: If multiple release conditions are specified, the handle is released and log file monitoring ends as soon as any condition is met.
|
|
22567
|
+
*/
|
|
22568
|
+
advanced: outputs.tls.GetRuleUserDefineRuleAdvanced;
|
|
22569
|
+
/**
|
|
22570
|
+
* Whether to upload the label information of the host group to the log service. The default is off. true: LogCollector uploads the label information of the host group to the specified field. You can specify the field name in the HostGroupLabelKey parameter. false (default): Host group label information is not uploaded.
|
|
22571
|
+
*/
|
|
22572
|
+
enableHostGroupLabel: boolean;
|
|
22573
|
+
/**
|
|
22574
|
+
* Upload the hostname field. Default is disabled. true: Add a field to the original log to record the source hostname. Specify the hostname field name using HostnameKey. false: (default) Do not add the hostname field.
|
|
22575
|
+
*/
|
|
22576
|
+
enableHostname: boolean;
|
|
22577
|
+
/**
|
|
22578
|
+
* Upload raw logs. true: Upload raw logs. false (default): Do not upload raw logs.
|
|
22579
|
+
*/
|
|
22580
|
+
enableRawLog: boolean;
|
|
22581
|
+
/**
|
|
22582
|
+
* Add constant fields to logs. Constant fields must follow these restrictions: You can upload up to 5 constant fields. Field names (Key) must be unique and not empty. Length limit: 1–128 characters, including letters, numbers, and special characters (-*./), and cannot start with an underscore. Field values (Value) must not be empty, with a maximum length of 512 KiB.
|
|
22583
|
+
*/
|
|
22584
|
+
fields: outputs.tls.GetRuleUserDefineRuleField[];
|
|
22585
|
+
/**
|
|
22586
|
+
* Field name used to store machine group label information
|
|
22587
|
+
*/
|
|
22588
|
+
hostGroupLabelKey: string;
|
|
22589
|
+
/**
|
|
22590
|
+
* Hostname field name. Required only when EnableHostname is true.
|
|
22591
|
+
*/
|
|
22592
|
+
hostnameKey: string;
|
|
22593
|
+
/**
|
|
22594
|
+
* Ignore log files that have not been updated for a specified period (in hours).
|
|
22595
|
+
*/
|
|
22596
|
+
ignoreOlder: number;
|
|
22597
|
+
/**
|
|
22598
|
+
* Allow multiple log file collections. Empty: Use log file ID (including file inode, device, and checksum of the first N bytes) to uniquely identify the log file. RuleID: Use collection rule ID and log file ID to uniquely identify the log file. TopicIDRuleName: Use log topic ID, collection rule name, and log file ID to uniquely identify the log file.
|
|
22599
|
+
*/
|
|
22600
|
+
multiCollectsType: string;
|
|
22601
|
+
/**
|
|
22602
|
+
* Rule for parsing the collection path. After setting the rule, fields in the collection path are extracted using the specified regular expression and added as metadata to the log data. Note: This parameter is not supported when collecting container standard output.
|
|
22603
|
+
*/
|
|
22604
|
+
parsePathRule: outputs.tls.GetRuleUserDefineRuleParsePathRule;
|
|
22605
|
+
/**
|
|
22606
|
+
* LogCollector plugin configuration. After enabling plugin configuration, you can add one or more LogCollector processor plugins to parse logs with complex or variable structures.
|
|
22607
|
+
*/
|
|
22608
|
+
plugin: outputs.tls.GetRuleUserDefineRulePlugin;
|
|
22609
|
+
/**
|
|
22610
|
+
* Name of the raw log field. Only effective when EnableRawLog is set to true. RawLogKey defaults to **raw**, meaning the original log data will be encapsulated in the **raw** field and uploaded to the log service along with the parsed log data.
|
|
22611
|
+
*/
|
|
22612
|
+
rawLogKey: string;
|
|
22613
|
+
/**
|
|
22614
|
+
* Rules for routing log partitions. If this parameter is not set, logs are written using the default load balancing mode, and packets are written to any available Shard. If this parameter is set, logs are collected using the HashKey routing Shard mode, and the log service writes data to the Shard containing the specified Key value
|
|
22615
|
+
*/
|
|
22616
|
+
shardHashKey: outputs.tls.GetRuleUserDefineRuleShardHashKey;
|
|
22617
|
+
/**
|
|
22618
|
+
* LogCollector collection policy, which specifies whether LogCollector collects incremental logs or full logs. Default is false, meaning full log collection. true: incremental collection. LogCollector only collects newly added content in the file. When new logs are written to monitored log files, LogCollector triggers log collection. For first-time collection, LogCollector automatically determines the collection position based on the incremental threshold TailSizeKb you specify. If the new file size does not exceed the incremental threshold, collection starts from the beginning of the file. If the new file size exceeds the incremental threshold, collection starts from the position at the end of the file minus the incremental threshold, collecting only incremental logs. For subsequent collections, LogCollector determines the collection position based on Checkpoint and continues collecting. false: (default) full collection. LogCollector collects logs from the beginning of each file, including historical log data.
|
|
22619
|
+
*/
|
|
22620
|
+
tailFiles: boolean;
|
|
22621
|
+
/**
|
|
22622
|
+
* Backtracking threshold for incremental collection, in KiB. When LogCollector uses incremental collection, for the first collection of a log file: If the new log file size does not exceed the TailSizeKb value, collection starts from the beginning of the file. If the new log file size exceeds the TailSizeKb value, collection starts from the position that is TailSizeKb from the end of the file.
|
|
22623
|
+
*/
|
|
22624
|
+
tailSizeKb: number;
|
|
22625
|
+
}
|
|
22626
|
+
interface GetRuleUserDefineRuleAdvanced {
|
|
22627
|
+
/**
|
|
22628
|
+
* After reading to the end of the log file, choose whether to release the file handle. Default is false.
|
|
22629
|
+
*/
|
|
22630
|
+
closeEof: boolean;
|
|
22631
|
+
/**
|
|
22632
|
+
* Wait time to release log file handle. If no new logs are written to the log file within the specified time, the handle for that log file is released. Unit: seconds. Range: 1–300 seconds. Default: 60 seconds.
|
|
22633
|
+
*/
|
|
22634
|
+
closeInactive: number;
|
|
22635
|
+
/**
|
|
22636
|
+
* Release the file handle after the log file is removed. Default is false.
|
|
22637
|
+
*/
|
|
22638
|
+
closeRemoved: boolean;
|
|
22639
|
+
/**
|
|
22640
|
+
* Release the file handle after the log file is renamed. Default is false.
|
|
22641
|
+
*/
|
|
22642
|
+
closeRenamed: boolean;
|
|
22643
|
+
/**
|
|
22644
|
+
* Maximum monitoring duration for LogCollector log files, in seconds. The default is 0 seconds, meaning LogCollector does not limit the monitoring duration for log files. Timing starts when LogCollector begins monitoring the log file. Once the specified duration is exceeded, LogCollector immediately releases the file handle and stops monitoring, regardless of whether the log file has been fully read.
|
|
22645
|
+
*/
|
|
22646
|
+
closeTimeout: number;
|
|
22647
|
+
/**
|
|
22648
|
+
* Maximum wait time when LogCollector does not detect a line break, in seconds. The default is 5s. Timing starts when LogCollector begins reading the log file. If no line break is detected within the specified time, LogCollector sends the logs in the buffer. If the file write interval is long, a complete log entry may be split into two parts and written separately. Adjust this parameter based on your log write interval.
|
|
22649
|
+
*/
|
|
22650
|
+
noLineTerminatorEofMaxTime: number;
|
|
22651
|
+
}
|
|
22652
|
+
interface GetRuleUserDefineRuleField {
|
|
22653
|
+
/**
|
|
22654
|
+
* Key.
|
|
22655
|
+
*/
|
|
22656
|
+
key: string;
|
|
22657
|
+
/**
|
|
22658
|
+
* Value.
|
|
22659
|
+
*/
|
|
22660
|
+
val: string;
|
|
22661
|
+
}
|
|
22662
|
+
interface GetRuleUserDefineRuleParsePathRule {
|
|
22663
|
+
/**
|
|
22664
|
+
* Field name list. The log service uses a regular expression (Regex) to parse the path sample (PathSample) into multiple fields. Keys specify the name of each field. You can configure up to 100 field names. Field names cannot be empty or duplicated.
|
|
22665
|
+
*/
|
|
22666
|
+
keys: string[];
|
|
22667
|
+
/**
|
|
22668
|
+
* Sample collection path for actual scenarios. The sample collection path must be an absolute path. Wildcards *, ?, ** are not allowed in the path sample.
|
|
22669
|
+
*/
|
|
22670
|
+
pathSample: string;
|
|
22671
|
+
/**
|
|
22672
|
+
* Regular expression used to extract the path field. Must match the sample collection path, otherwise extraction will fail
|
|
22673
|
+
*/
|
|
22674
|
+
regex: string;
|
|
22675
|
+
}
|
|
22676
|
+
interface GetRuleUserDefineRulePlugin {
|
|
22677
|
+
/**
|
|
22678
|
+
* LogCollector plugin. For the list of supported plugins and parameter descriptions, see LogCollector plugin overview.
|
|
22679
|
+
*/
|
|
22680
|
+
processors: string;
|
|
22681
|
+
}
|
|
22682
|
+
interface GetRuleUserDefineRuleShardHashKey {
|
|
22683
|
+
/**
|
|
22684
|
+
* HashKey of the log group, used to specify the shard to which the current log group will be written. The value range for this parameter is [00000000000000000000000000000000-ffffffffffffffffffffffffffffffff).
|
|
22685
|
+
*/
|
|
22686
|
+
hashKey: string;
|
|
22687
|
+
}
|
|
22688
|
+
interface GetScheduleSqlTaskRequestCycle {
|
|
22689
|
+
/**
|
|
22690
|
+
* Cron expression, with a minimum granularity of minutes, using 24-hour format. For example, 0 18 * * * means execution at 18:00 every day.
|
|
22691
|
+
*/
|
|
22692
|
+
cronTab: string;
|
|
22693
|
+
/**
|
|
22694
|
+
* If Type is set to Cron, you must also set the time zone.
|
|
22695
|
+
*/
|
|
22696
|
+
cronTimeZone: string;
|
|
22697
|
+
/**
|
|
22698
|
+
* Scheduling period or the time point for periodic execution (minutes from 00:00). Range: 1–1440 minutes.
|
|
22699
|
+
*/
|
|
22700
|
+
time: number;
|
|
22701
|
+
/**
|
|
22702
|
+
* Scheduling period type. Options: Period, Fixed, Cron.
|
|
22703
|
+
*/
|
|
22704
|
+
type: string;
|
|
22705
|
+
}
|
|
22706
|
+
interface GetShipperContentInfo {
|
|
22707
|
+
/**
|
|
22708
|
+
* CSV format log content configuration.
|
|
22709
|
+
*/
|
|
22710
|
+
csvInfo: outputs.tls.GetShipperContentInfoCsvInfo;
|
|
22711
|
+
/**
|
|
22712
|
+
* Log content parsing format. Delivery to TOS supports json, jsonl, csv; delivery to Kafka supports original, json.
|
|
22713
|
+
*/
|
|
22714
|
+
format: string;
|
|
22715
|
+
/**
|
|
22716
|
+
* JSON/JSONL format log content configuration.
|
|
22717
|
+
*/
|
|
22718
|
+
jsonInfo: outputs.tls.GetShipperContentInfoJsonInfo;
|
|
22719
|
+
}
|
|
22720
|
+
interface GetShipperContentInfoCsvInfo {
|
|
22721
|
+
/**
|
|
22722
|
+
* Delimiter. Supports comma, tab, pipe, semicolon, space.
|
|
22723
|
+
*/
|
|
22724
|
+
delimiter: string;
|
|
22725
|
+
/**
|
|
22726
|
+
* Escape character. When field content contains a delimiter, use an escape character to enclose it. Supports single quote, double quote, or empty character.
|
|
22727
|
+
*/
|
|
22728
|
+
escapeChar: string;
|
|
22729
|
+
/**
|
|
22730
|
+
* Fields to be delivered. Supports letters, numbers, and _-./. Cannot start with an underscore. Length: 1–128.
|
|
22731
|
+
*/
|
|
22732
|
+
keys: string[];
|
|
22733
|
+
/**
|
|
22734
|
+
* Content for invalid field padding. Length: 0–128.
|
|
22735
|
+
*/
|
|
22736
|
+
nonFieldContent: string;
|
|
22737
|
+
/**
|
|
22738
|
+
* Whether to print the key in the first row.
|
|
22739
|
+
*/
|
|
22740
|
+
printHeader: boolean;
|
|
22741
|
+
}
|
|
22742
|
+
interface GetShipperContentInfoJsonInfo {
|
|
22743
|
+
/**
|
|
22744
|
+
* Enable flag.
|
|
22745
|
+
*/
|
|
22746
|
+
enable: boolean;
|
|
22747
|
+
/**
|
|
22748
|
+
* Whether to enable escaping. Must be set to true.
|
|
22749
|
+
*/
|
|
22750
|
+
escape: boolean;
|
|
22751
|
+
/**
|
|
22752
|
+
* Delivery field list; if not configured, all fields will be delivered. When delivering in JSON/JSONL format, if this parameter is not set, all fields will be delivered, including **content** (required), **source**, **path**, **time**, **image_name**, **container_name**, **pod_name**, **pod_uid**, namespace, **tag****client_ip**, and **tag****receive_time**.
|
|
22753
|
+
*/
|
|
22754
|
+
keys: string[];
|
|
22755
|
+
}
|
|
22756
|
+
interface GetShipperKafkaShipperInfo {
|
|
22757
|
+
/**
|
|
22758
|
+
* Compression format; supports snappy, gzip, lz4, none.
|
|
22759
|
+
*/
|
|
22760
|
+
compress: string;
|
|
22761
|
+
/**
|
|
22762
|
+
* Delivery end time, in milliseconds. If not set, delivery continues indefinitely. Note: Milliseconds will be truncated. For example, if 1776761323455 is entered, it will become 1776761323000; if 1776761323 is entered, it will become 1776761323000.
|
|
22763
|
+
*/
|
|
22764
|
+
endTime: number;
|
|
22765
|
+
/**
|
|
22766
|
+
* Kafka instance.
|
|
22767
|
+
*/
|
|
22768
|
+
instance: string;
|
|
22769
|
+
/**
|
|
22770
|
+
* Kafka topic name. All log data delivered through this configuration will be sent to this topic.
|
|
22771
|
+
*/
|
|
22772
|
+
kafkaTopic: string;
|
|
22773
|
+
/**
|
|
22774
|
+
* Start time. If not configured, defaults to the current time. Note: Millisecond data will be ignored. For example, if 1776761323455 is entered, the result will be 1776761323000; if 1776761323 is entered, the result will be 1776761323000.
|
|
22775
|
+
*/
|
|
22776
|
+
startTime: number;
|
|
22777
|
+
}
|
|
22778
|
+
interface GetShipperTosShipperInfo {
|
|
22779
|
+
/**
|
|
22780
|
+
* Select a TOS bucket. Must be in the same region as the source log topic. Can only contain numbers, hyphens (-), and letters a–z. Must start and end with a number or letter. Length: 3–63 characters.
|
|
22781
|
+
*/
|
|
22782
|
+
bucket: string;
|
|
22783
|
+
/**
|
|
22784
|
+
* Compression format; supports snappy, gzip, lz4, none.
|
|
22785
|
+
*/
|
|
22786
|
+
compress: string;
|
|
22787
|
+
/**
|
|
22788
|
+
* Delivery interval in seconds, range: 300–900.
|
|
22789
|
+
*/
|
|
22790
|
+
interval: number;
|
|
22791
|
+
/**
|
|
22792
|
+
* Maximum raw file size per partition for delivery, in MiB. Range: 5–256.
|
|
22793
|
+
*/
|
|
22794
|
+
maxSize: number;
|
|
22795
|
+
/**
|
|
22796
|
+
* Partition rule for log delivery. Subdirectory naming format supports strftime syntax. Default: %Y/%m/%d/%H/%M.
|
|
22797
|
+
*/
|
|
22798
|
+
partitionFormat: string;
|
|
22799
|
+
/**
|
|
22800
|
+
* Top-level directory name for the bucket. Cannot start with / or \, and cannot use consecutive /. Cannot use .. as a folder name. Duplicate names are not allowed within the same bucket.
|
|
22801
|
+
*/
|
|
22802
|
+
prefix: string;
|
|
22803
|
+
}
|
|
22804
|
+
interface GetTopicTag {
|
|
22805
|
+
/**
|
|
22806
|
+
* User tag key.
|
|
22807
|
+
*/
|
|
22808
|
+
key: string;
|
|
22809
|
+
/**
|
|
22810
|
+
* User tag value.
|
|
22811
|
+
*/
|
|
22812
|
+
value: string;
|
|
22813
|
+
}
|
|
22814
|
+
interface HostGroupRule {
|
|
22815
|
+
/**
|
|
22816
|
+
* Container collection rules
|
|
22817
|
+
*/
|
|
22818
|
+
containerRule: outputs.tls.HostGroupRuleContainerRule;
|
|
22819
|
+
/**
|
|
22820
|
+
* Time when the collection configuration was created.
|
|
22821
|
+
*/
|
|
22822
|
+
createTime: string;
|
|
22823
|
+
excludePaths: outputs.tls.HostGroupRuleExcludePath[];
|
|
22824
|
+
/**
|
|
22825
|
+
* Extraction rules
|
|
22826
|
+
*/
|
|
22827
|
+
extractRule: outputs.tls.HostGroupRuleExtractRule;
|
|
22828
|
+
/**
|
|
22829
|
+
* Collection type. 0: Host log file. 1: K8s container standard output. 2: Log file inside K8s container.
|
|
22830
|
+
*/
|
|
22831
|
+
inputType: number;
|
|
22832
|
+
/**
|
|
22833
|
+
* Log sample.
|
|
22834
|
+
*/
|
|
22835
|
+
logSample: string;
|
|
22836
|
+
/**
|
|
22837
|
+
* Collection modes. minimalist*log: single-line full mode. json*log: JSON mode. delimiter*log: delimiter mode. multiline*log: multi-line full mode. fullregex_log: full regex mode.
|
|
22838
|
+
*/
|
|
22839
|
+
logType: string;
|
|
22840
|
+
/**
|
|
22841
|
+
* Time when the collection configuration was modified.
|
|
22842
|
+
*/
|
|
22843
|
+
modifyTime: string;
|
|
22844
|
+
/**
|
|
22845
|
+
* Data collection path list
|
|
22846
|
+
*/
|
|
22847
|
+
paths: string[];
|
|
22848
|
+
/**
|
|
22849
|
+
* Running status of the collection configuration. 0: Running. 1: Paused.
|
|
22850
|
+
*/
|
|
22851
|
+
pause: number;
|
|
22852
|
+
/**
|
|
22853
|
+
* Collection configuration ID.
|
|
22854
|
+
*/
|
|
22855
|
+
ruleId: string;
|
|
22856
|
+
/**
|
|
22857
|
+
* Name of the collection configuration.
|
|
22858
|
+
*/
|
|
22859
|
+
ruleName: string;
|
|
22860
|
+
/**
|
|
22861
|
+
* ID of the log topic to which the collection configuration belongs.
|
|
22862
|
+
*/
|
|
22863
|
+
topicId: string;
|
|
22864
|
+
/**
|
|
22865
|
+
* Name of the log topic associated with the collection configuration
|
|
22866
|
+
*/
|
|
22867
|
+
topicName: string;
|
|
22868
|
+
/**
|
|
22869
|
+
* User-defined collection rules.
|
|
22870
|
+
*/
|
|
22871
|
+
userDefineRule: outputs.tls.HostGroupRuleUserDefineRule;
|
|
22872
|
+
}
|
|
22873
|
+
interface HostGroupRuleContainerRule {
|
|
22874
|
+
/**
|
|
22875
|
+
* Container name to collect. If no container name is specified, all containers in the machine group are collected. Supports regular expressions. For example, setting the container name to ^(container-test)$ collects all containers named container-test.
|
|
22876
|
+
*/
|
|
22877
|
+
containerNameRegex: string;
|
|
22878
|
+
envTags: outputs.tls.HostGroupRuleContainerRuleEnvTag[];
|
|
22879
|
+
excludeContainerEnvRegexes: outputs.tls.HostGroupRuleContainerRuleExcludeContainerEnvRegex[];
|
|
22880
|
+
excludeContainerLabelRegexes: outputs.tls.HostGroupRuleContainerRuleExcludeContainerLabelRegex[];
|
|
22881
|
+
includeContainerEnvRegexes: outputs.tls.HostGroupRuleContainerRuleIncludeContainerEnvRegex[];
|
|
22882
|
+
includeContainerLabelRegexes: outputs.tls.HostGroupRuleContainerRuleIncludeContainerLabelRegex[];
|
|
22883
|
+
/**
|
|
22884
|
+
* Kubernetes container collection rules.
|
|
22885
|
+
*/
|
|
22886
|
+
kubernetesRule: outputs.tls.HostGroupRuleContainerRuleKubernetesRule;
|
|
22887
|
+
/**
|
|
22888
|
+
* Collection information. stdout: Container standard output (stdout). stderr: Container standard error (stderr). all: Both container standard output (stdout) and standard error (stderr).
|
|
22889
|
+
*/
|
|
22890
|
+
stream: string;
|
|
22891
|
+
}
|
|
22892
|
+
interface HostGroupRuleContainerRuleEnvTag {
|
|
22893
|
+
/**
|
|
22894
|
+
* Key.
|
|
22895
|
+
*/
|
|
22896
|
+
key: string;
|
|
22897
|
+
/**
|
|
22898
|
+
* Value.
|
|
22899
|
+
*/
|
|
22900
|
+
val: string;
|
|
22901
|
+
}
|
|
22902
|
+
interface HostGroupRuleContainerRuleExcludeContainerEnvRegex {
|
|
22903
|
+
/**
|
|
22904
|
+
* Key.
|
|
22905
|
+
*/
|
|
22906
|
+
key: string;
|
|
22907
|
+
/**
|
|
22908
|
+
* Value.
|
|
22909
|
+
*/
|
|
22910
|
+
val: string;
|
|
22911
|
+
}
|
|
22912
|
+
interface HostGroupRuleContainerRuleExcludeContainerLabelRegex {
|
|
22913
|
+
/**
|
|
22914
|
+
* Key.
|
|
22915
|
+
*/
|
|
22916
|
+
key: string;
|
|
22917
|
+
/**
|
|
22918
|
+
* Value.
|
|
22919
|
+
*/
|
|
22920
|
+
val: string;
|
|
22921
|
+
}
|
|
22922
|
+
interface HostGroupRuleContainerRuleIncludeContainerEnvRegex {
|
|
22923
|
+
/**
|
|
22924
|
+
* Key.
|
|
22925
|
+
*/
|
|
22926
|
+
key: string;
|
|
22927
|
+
/**
|
|
22928
|
+
* Value.
|
|
22929
|
+
*/
|
|
22930
|
+
val: string;
|
|
22931
|
+
}
|
|
22932
|
+
interface HostGroupRuleContainerRuleIncludeContainerLabelRegex {
|
|
22933
|
+
/**
|
|
22934
|
+
* Key.
|
|
22935
|
+
*/
|
|
22936
|
+
key: string;
|
|
22937
|
+
/**
|
|
22938
|
+
* Value.
|
|
22939
|
+
*/
|
|
22940
|
+
val: string;
|
|
22941
|
+
}
|
|
22942
|
+
interface HostGroupRuleContainerRuleKubernetesRule {
|
|
22943
|
+
annotationTags: outputs.tls.HostGroupRuleContainerRuleKubernetesRuleAnnotationTag[];
|
|
22944
|
+
/**
|
|
22945
|
+
* Whether to add all Kubernetes Labels as log tags to the raw log data. When enabled, the log service adds fields for all Labels in the Kubernetes Pod to the log. For example, if the Pod has Label source=DC and destination=CS, the log will include fields **tag**source__: DC and **tag**destination__: CS.
|
|
22946
|
+
*/
|
|
22947
|
+
enableAllLabelTag: boolean;
|
|
22948
|
+
excludePodAnnotationRegexes: outputs.tls.HostGroupRuleContainerRuleKubernetesRuleExcludePodAnnotationRegex[];
|
|
22949
|
+
excludePodLabelRegexes: outputs.tls.HostGroupRuleContainerRuleKubernetesRuleExcludePodLabelRegex[];
|
|
22950
|
+
includePodAnnotationRegexes: outputs.tls.HostGroupRuleContainerRuleKubernetesRuleIncludePodAnnotationRegex[];
|
|
22951
|
+
includePodLabelRegexes: outputs.tls.HostGroupRuleContainerRuleKubernetesRuleIncludePodLabelRegex[];
|
|
22952
|
+
labelTags: outputs.tls.HostGroupRuleContainerRuleKubernetesRuleLabelTag[];
|
|
22953
|
+
/**
|
|
22954
|
+
* Name of the Kubernetes Namespace to be collected. If not specified, all containers are collected. Namespace names support regular expression matching. For example, setting the Namespace name to ^(tcp|udp)$ collects all containers under the tcp and udp namespaces.
|
|
22955
|
+
*/
|
|
22956
|
+
namespaceNameRegex: string;
|
|
22957
|
+
/**
|
|
22958
|
+
* Pod name is used to specify the Pod(s) to be collected. If the Pod name is not specified, all containers are collected. Pod name supports regex matching. For example, setting the Pod name to ^(http.*)$ collects all containers under Pods whose names start with http.
|
|
22959
|
+
*/
|
|
22960
|
+
podNameRegex: string;
|
|
22961
|
+
/**
|
|
22962
|
+
* Specify the container to collect by workload name. If no workload name is specified, all containers are collected. Workload names support regular expressions. For example, setting the workload name to ^(http.*)$ collects all containers under workloads starting with http.
|
|
22963
|
+
*/
|
|
22964
|
+
workloadNameRegex: string;
|
|
22965
|
+
/**
|
|
22966
|
+
* Specify containers to collect by workload type. Only one type can be selected. If no type is specified, containers of all types will be collected. Supported workload types are: Deployment: stateless workload StatefulSet: stateful workload DaemonSet: daemon process Job: job CronJob: scheduled job
|
|
22967
|
+
*/
|
|
22968
|
+
workloadType: string;
|
|
22969
|
+
}
|
|
22970
|
+
interface HostGroupRuleContainerRuleKubernetesRuleAnnotationTag {
|
|
22971
|
+
/**
|
|
22972
|
+
* Key.
|
|
22973
|
+
*/
|
|
22974
|
+
key: string;
|
|
22975
|
+
/**
|
|
22976
|
+
* Value.
|
|
22977
|
+
*/
|
|
22978
|
+
val: string;
|
|
22979
|
+
}
|
|
22980
|
+
interface HostGroupRuleContainerRuleKubernetesRuleExcludePodAnnotationRegex {
|
|
22981
|
+
/**
|
|
22982
|
+
* Key.
|
|
22983
|
+
*/
|
|
22984
|
+
key: string;
|
|
22985
|
+
/**
|
|
22986
|
+
* Value.
|
|
22987
|
+
*/
|
|
22988
|
+
val: string;
|
|
22989
|
+
}
|
|
22990
|
+
interface HostGroupRuleContainerRuleKubernetesRuleExcludePodLabelRegex {
|
|
22991
|
+
/**
|
|
22992
|
+
* Key.
|
|
22993
|
+
*/
|
|
22994
|
+
key: string;
|
|
22995
|
+
/**
|
|
22996
|
+
* Value.
|
|
22997
|
+
*/
|
|
22998
|
+
val: string;
|
|
22999
|
+
}
|
|
23000
|
+
interface HostGroupRuleContainerRuleKubernetesRuleIncludePodAnnotationRegex {
|
|
21727
23001
|
/**
|
|
21728
|
-
*
|
|
23002
|
+
* Key.
|
|
21729
23003
|
*/
|
|
21730
|
-
|
|
23004
|
+
key: string;
|
|
21731
23005
|
/**
|
|
21732
|
-
*
|
|
23006
|
+
* Value.
|
|
21733
23007
|
*/
|
|
21734
|
-
|
|
23008
|
+
val: string;
|
|
23009
|
+
}
|
|
23010
|
+
interface HostGroupRuleContainerRuleKubernetesRuleIncludePodLabelRegex {
|
|
21735
23011
|
/**
|
|
21736
|
-
*
|
|
23012
|
+
* Key.
|
|
21737
23013
|
*/
|
|
21738
|
-
|
|
23014
|
+
key: string;
|
|
21739
23015
|
/**
|
|
21740
|
-
*
|
|
23016
|
+
* Value.
|
|
21741
23017
|
*/
|
|
21742
|
-
|
|
23018
|
+
val: string;
|
|
23019
|
+
}
|
|
23020
|
+
interface HostGroupRuleContainerRuleKubernetesRuleLabelTag {
|
|
21743
23021
|
/**
|
|
21744
|
-
*
|
|
23022
|
+
* Key.
|
|
21745
23023
|
*/
|
|
21746
|
-
|
|
23024
|
+
key: string;
|
|
21747
23025
|
/**
|
|
21748
|
-
*
|
|
23026
|
+
* Value.
|
|
21749
23027
|
*/
|
|
21750
|
-
|
|
23028
|
+
val: string;
|
|
23029
|
+
}
|
|
23030
|
+
interface HostGroupRuleExcludePath {
|
|
21751
23031
|
/**
|
|
21752
|
-
*
|
|
23032
|
+
* Collection path type. File: file name. Path: directory.
|
|
21753
23033
|
*/
|
|
21754
|
-
|
|
23034
|
+
type: string;
|
|
21755
23035
|
/**
|
|
21756
|
-
*
|
|
23036
|
+
* Collection path. Must be specified as an absolute path. When Type is Path, Value indicates a directory. When Type is File, Value indicates a file name.
|
|
21757
23037
|
*/
|
|
21758
|
-
|
|
23038
|
+
value: string;
|
|
23039
|
+
}
|
|
23040
|
+
interface HostGroupRuleExtractRule {
|
|
21759
23041
|
/**
|
|
21760
|
-
*
|
|
23042
|
+
* The regex pattern required to match the first line of the log. This is valid only when LogType is multiline*log or fullregex*log. The pattern must be a valid regular expression.
|
|
21761
23043
|
*/
|
|
21762
|
-
|
|
23044
|
+
beginRegex: string;
|
|
21763
23045
|
/**
|
|
21764
|
-
*
|
|
23046
|
+
* Log delimiter. Valid only when LogType is delimiter_log.
|
|
21765
23047
|
*/
|
|
21766
|
-
|
|
23048
|
+
delimiter: string;
|
|
21767
23049
|
/**
|
|
21768
|
-
*
|
|
23050
|
+
* Enable nanosecond precision time. When enabled, log time parsing will report time with nanosecond precision. true: Enable nanosecond precision time. false: Disable nanosecond precision time.
|
|
21769
23051
|
*/
|
|
21770
|
-
|
|
23052
|
+
enableNanosecond: boolean;
|
|
23053
|
+
filterKeyRegexes: outputs.tls.HostGroupRuleExtractRuleFilterKeyRegex[];
|
|
21771
23054
|
/**
|
|
21772
|
-
*
|
|
23055
|
+
* List of log field names (Keys).
|
|
21773
23056
|
*/
|
|
21774
|
-
|
|
23057
|
+
keys: string[];
|
|
21775
23058
|
/**
|
|
21776
|
-
*
|
|
23059
|
+
* The entire log entry must match the regular expression. This is only valid when the log type is fullregex_log. The regular expression must be valid.
|
|
21777
23060
|
*/
|
|
21778
|
-
|
|
21779
|
-
}
|
|
21780
|
-
interface GetRuleUserDefineRuleAdvanced {
|
|
23061
|
+
logRegex: string;
|
|
21781
23062
|
/**
|
|
21782
|
-
*
|
|
23063
|
+
* Automatically extract log fields based on the specified log template.
|
|
21783
23064
|
*/
|
|
21784
|
-
|
|
23065
|
+
logTemplate: outputs.tls.HostGroupRuleExtractRuleLogTemplate;
|
|
21785
23066
|
/**
|
|
21786
|
-
*
|
|
23067
|
+
* Quotation mark. Content enclosed by quotation marks is parsed as a complete field and not separated. Only valid when LogType is delimiter_log.
|
|
21787
23068
|
*/
|
|
21788
|
-
|
|
23069
|
+
quote: string;
|
|
21789
23070
|
/**
|
|
21790
|
-
*
|
|
23071
|
+
* Regular expression for extracting time, used to extract the time value from the TimeKey field and parse it as the collection time.
|
|
21791
23072
|
*/
|
|
21792
|
-
|
|
23073
|
+
timeExtractRegex: string;
|
|
21793
23074
|
/**
|
|
21794
|
-
*
|
|
23075
|
+
* Parsing format for the time field. If a specified time field in the log is used as the log timestamp, you must provide TimeKey and TimeFormat.
|
|
21795
23076
|
*/
|
|
21796
|
-
|
|
23077
|
+
timeFormat: string;
|
|
21797
23078
|
/**
|
|
21798
|
-
*
|
|
23079
|
+
* Field name for the log time field. If a specified time field in the log is used as the log timestamp, you must provide TimeKey and TimeFormat.
|
|
21799
23080
|
*/
|
|
21800
|
-
|
|
23081
|
+
timeKey: string;
|
|
21801
23082
|
/**
|
|
21802
|
-
*
|
|
23083
|
+
* Sample time. Used to verify whether the specified time parsing format is correct.
|
|
21803
23084
|
*/
|
|
21804
|
-
|
|
21805
|
-
}
|
|
21806
|
-
interface GetRuleUserDefineRuleField {
|
|
23085
|
+
timeSample: string;
|
|
21807
23086
|
/**
|
|
21808
|
-
*
|
|
23087
|
+
* Time zone. Supports machine time zone (default) and custom time zone. Custom time zone supports GMT and UTC.
|
|
21809
23088
|
*/
|
|
21810
|
-
|
|
23089
|
+
timeZone: string;
|
|
21811
23090
|
/**
|
|
21812
|
-
*
|
|
23091
|
+
* Key name for logs that failed to parse when uploading
|
|
21813
23092
|
*/
|
|
21814
|
-
|
|
21815
|
-
}
|
|
21816
|
-
interface GetRuleUserDefineRuleParsePathRule {
|
|
23093
|
+
unMatchLogKey: string;
|
|
21817
23094
|
/**
|
|
21818
|
-
*
|
|
23095
|
+
* Upload logs that failed to parse. UnMatchUpLoadSwitch=true and UnMatchLogKey must be used together. true: Upload logs that failed to parse. false: Do not upload logs that failed to parse.
|
|
21819
23096
|
*/
|
|
21820
|
-
|
|
23097
|
+
unMatchUpLoadSwitch: boolean;
|
|
23098
|
+
}
|
|
23099
|
+
interface HostGroupRuleExtractRuleFilterKeyRegex {
|
|
21821
23100
|
/**
|
|
21822
|
-
*
|
|
23101
|
+
* Name of the filter field.
|
|
21823
23102
|
*/
|
|
21824
|
-
|
|
23103
|
+
key: string;
|
|
21825
23104
|
/**
|
|
21826
|
-
*
|
|
23105
|
+
* The log content of the filter field must match the specified regular expression.
|
|
21827
23106
|
*/
|
|
21828
23107
|
regex: string;
|
|
21829
23108
|
}
|
|
21830
|
-
interface
|
|
23109
|
+
interface HostGroupRuleExtractRuleLogTemplate {
|
|
21831
23110
|
/**
|
|
21832
|
-
*
|
|
23111
|
+
* Log template format
|
|
21833
23112
|
*/
|
|
21834
|
-
|
|
21835
|
-
}
|
|
21836
|
-
interface GetRuleUserDefineRuleShardHashKey {
|
|
23113
|
+
format: string;
|
|
21837
23114
|
/**
|
|
21838
|
-
*
|
|
23115
|
+
* Log template type. Supported types: Nginx (Nginx log template type).
|
|
21839
23116
|
*/
|
|
21840
|
-
|
|
23117
|
+
type: string;
|
|
21841
23118
|
}
|
|
21842
|
-
interface
|
|
21843
|
-
/**
|
|
21844
|
-
* Cron expression, with a minimum granularity of minutes, using 24-hour format. For example, 0 18 * * * means execution at 18:00 every day.
|
|
21845
|
-
*/
|
|
21846
|
-
cronTab: string;
|
|
23119
|
+
interface HostGroupRuleUserDefineRule {
|
|
21847
23120
|
/**
|
|
21848
|
-
*
|
|
23121
|
+
* Advanced parameters are used for extended configuration. After enabling extended configuration, you can customize advanced behaviors of LogCollector, such as when to release file handles. Note: If multiple conditions for releasing handles are specified, the handle will be released and log file monitoring will end as soon as any condition is met.
|
|
21849
23122
|
*/
|
|
21850
|
-
|
|
23123
|
+
advanced: outputs.tls.HostGroupRuleUserDefineRuleAdvanced;
|
|
21851
23124
|
/**
|
|
21852
|
-
*
|
|
23125
|
+
* Whether to upload the Label information of the host group to the log service. Disabled by default. true: LogCollector uploads the Label information of the host group to the specified field. You can specify the field name in the HostGroupLabelKey parameter. false (default): LogCollector does not upload the Label information of the host group.
|
|
21853
23126
|
*/
|
|
21854
|
-
|
|
23127
|
+
enableHostGroupLabel: boolean;
|
|
21855
23128
|
/**
|
|
21856
|
-
*
|
|
23129
|
+
* Whether to upload the hostname field. Default is disabled. true: Adds a field to the original log to record the log source's hostname. Specify the hostname field name using HostnameKey. false (default): Does not add the hostname field.
|
|
21857
23130
|
*/
|
|
21858
|
-
|
|
21859
|
-
}
|
|
21860
|
-
interface GetShipperContentInfo {
|
|
23131
|
+
enableHostname: boolean;
|
|
21861
23132
|
/**
|
|
21862
|
-
*
|
|
23133
|
+
* Whether to upload raw logs. true: Upload raw logs. false (default): Do not upload raw logs.
|
|
21863
23134
|
*/
|
|
21864
|
-
|
|
23135
|
+
enableRawLog: boolean;
|
|
23136
|
+
fields: outputs.tls.HostGroupRuleUserDefineRuleField[];
|
|
21865
23137
|
/**
|
|
21866
|
-
*
|
|
23138
|
+
* Field name used to store machine group label information.
|
|
21867
23139
|
*/
|
|
21868
|
-
|
|
23140
|
+
hostGroupLabelKey: string;
|
|
21869
23141
|
/**
|
|
21870
|
-
*
|
|
23142
|
+
* hostname field name. Only required when EnableHostname is set to true.
|
|
21871
23143
|
*/
|
|
21872
|
-
|
|
21873
|
-
}
|
|
21874
|
-
interface GetShipperContentInfoCsvInfo {
|
|
23144
|
+
hostnameKey: string;
|
|
21875
23145
|
/**
|
|
21876
|
-
*
|
|
23146
|
+
* Ignore log files that have not been updated for a specified duration, in hours.
|
|
21877
23147
|
*/
|
|
21878
|
-
|
|
23148
|
+
ignoreOlder: number;
|
|
21879
23149
|
/**
|
|
21880
|
-
*
|
|
23150
|
+
* Allows multiple log file collections. Empty: Uses the log file ID (including file inode, device, and checksum of the first N bytes) to uniquely identify the log file. RuleID: Uses the collection rule ID and log file ID to uniquely identify the log file. TopicIDRuleName: Uses the log topic ID, collection rule Name, and log file ID to uniquely identify the log file.
|
|
21881
23151
|
*/
|
|
21882
|
-
|
|
23152
|
+
multiCollectsType: string;
|
|
21883
23153
|
/**
|
|
21884
|
-
*
|
|
23154
|
+
* Rules for parsing the collection path. After setting the rule, fields in the collection path are extracted using the specified regex and added as metadata to the log data. Note: This parameter is not supported when collecting container standard output.
|
|
21885
23155
|
*/
|
|
21886
|
-
|
|
23156
|
+
parsePathRule: outputs.tls.HostGroupRuleUserDefineRuleParsePathRule;
|
|
21887
23157
|
/**
|
|
21888
|
-
*
|
|
23158
|
+
* LogCollector plugin configuration. After enabling plugin configuration, you can add one or more LogCollector processor plugins to parse logs with complex or variable structures.
|
|
21889
23159
|
*/
|
|
21890
|
-
|
|
23160
|
+
plugin: outputs.tls.HostGroupRuleUserDefineRulePlugin;
|
|
21891
23161
|
/**
|
|
21892
|
-
*
|
|
23162
|
+
* Original log field name. Only effective when EnableRawLog is set to true. RawLogKey defaults to **raw**, meaning the original log data will be encapsulated in the **raw** field and uploaded to the log service together with the parsed log data
|
|
21893
23163
|
*/
|
|
21894
|
-
|
|
21895
|
-
}
|
|
21896
|
-
interface GetShipperContentInfoJsonInfo {
|
|
23164
|
+
rawLogKey: string;
|
|
21897
23165
|
/**
|
|
21898
|
-
*
|
|
23166
|
+
* Rules for routing log partitions. If this parameter is not set, logs are written using the default load balancing mode, and packets are written to any available Shard. If set, logs are collected using the HashKey routing Shard mode, and the log service writes data to the Shard containing the specified Key value.
|
|
21899
23167
|
*/
|
|
21900
|
-
|
|
23168
|
+
shardHashKey: outputs.tls.HostGroupRuleUserDefineRuleShardHashKey;
|
|
21901
23169
|
/**
|
|
21902
|
-
*
|
|
23170
|
+
* LogCollector collection strategy, specifying whether LogCollector collects incremental logs or full logs. The default is false, which means full log collection. true: incremental collection. When LogCollector collects logs, it only collects newly added content in the file. When a monitored log file receives new log entries, LogCollector is triggered to collect logs. For log files being collected for the first time, LogCollector automatically determines the collection position based on the incremental threshold TailSizeKb you specify. If the new file size does not exceed the incremental threshold, collection starts from the beginning of the new file. If the new file size exceeds the incremental threshold, collection starts from the position at the end of the file minus the incremental threshold, meaning only incremental logs are collected. For log files that are not being collected for the first time, LogCollector determines the collection position based on the Checkpoint and continues collecting. false: (default) full collection. LogCollector collects logs from the beginning of each file, including historical log data.
|
|
21903
23171
|
*/
|
|
21904
|
-
|
|
23172
|
+
tailFiles: boolean;
|
|
21905
23173
|
/**
|
|
21906
|
-
*
|
|
23174
|
+
* Incremental collection backtracking threshold, in KiB. When LogCollector uses incremental collection, for the first collection of a log file: if the new log file size does not exceed the TailSizeKb value, collection starts from the beginning of the file. If the new log file size exceeds the TailSizeKb value, collection starts from the position TailSizeKb from the end of the file.
|
|
21907
23175
|
*/
|
|
21908
|
-
|
|
23176
|
+
tailSizeKb: number;
|
|
21909
23177
|
}
|
|
21910
|
-
interface
|
|
23178
|
+
interface HostGroupRuleUserDefineRuleAdvanced {
|
|
21911
23179
|
/**
|
|
21912
|
-
*
|
|
23180
|
+
* After reading to the end of the log file, whether to release the file handle. Default is false.
|
|
21913
23181
|
*/
|
|
21914
|
-
|
|
23182
|
+
closeEof: boolean;
|
|
21915
23183
|
/**
|
|
21916
|
-
*
|
|
23184
|
+
* Wait time before releasing log file handles. If no new logs are written to a log file for the specified duration, the handle for that log file is released. Unit: seconds. Range: 1–300 seconds. Default: 60 seconds.
|
|
21917
23185
|
*/
|
|
21918
|
-
|
|
23186
|
+
closeInactive: number;
|
|
21919
23187
|
/**
|
|
21920
|
-
*
|
|
23188
|
+
* Whether to release the handle of the log file after it is removed. Default is false.
|
|
21921
23189
|
*/
|
|
21922
|
-
|
|
23190
|
+
closeRemoved: boolean;
|
|
21923
23191
|
/**
|
|
21924
|
-
*
|
|
23192
|
+
* Whether to release the handle of the log file after it is renamed. Default is false.
|
|
21925
23193
|
*/
|
|
21926
|
-
|
|
23194
|
+
closeRenamed: boolean;
|
|
21927
23195
|
/**
|
|
21928
|
-
*
|
|
23196
|
+
* Maximum duration for LogCollector to monitor log files, in seconds. The default is 0 seconds, meaning LogCollector does not limit the monitoring duration. Timing starts when LogCollector begins monitoring the log file. After the specified duration is exceeded, regardless of whether the log file has been fully read, LogCollector immediately releases the file handle and stops monitoring.
|
|
21929
23197
|
*/
|
|
21930
|
-
|
|
21931
|
-
}
|
|
21932
|
-
interface GetShipperTosShipperInfo {
|
|
23198
|
+
closeTimeout: number;
|
|
21933
23199
|
/**
|
|
21934
|
-
*
|
|
23200
|
+
* Maximum wait time when LogCollector does not read a line break. Unit: seconds. Default: 5s. LogCollector starts timing when it begins reading log file content. If no line break is read within the specified time, it will send the buffered logs. If the file write interval is large, a complete log entry may be split into two parts and written separately. Adjust this parameter based on your log write interval.
|
|
21935
23201
|
*/
|
|
21936
|
-
|
|
23202
|
+
noLineTerminatorEofMaxTime: number;
|
|
23203
|
+
}
|
|
23204
|
+
interface HostGroupRuleUserDefineRuleField {
|
|
21937
23205
|
/**
|
|
21938
|
-
*
|
|
23206
|
+
* Key.
|
|
21939
23207
|
*/
|
|
21940
|
-
|
|
23208
|
+
key: string;
|
|
21941
23209
|
/**
|
|
21942
|
-
*
|
|
23210
|
+
* Value.
|
|
21943
23211
|
*/
|
|
21944
|
-
|
|
23212
|
+
val: string;
|
|
23213
|
+
}
|
|
23214
|
+
interface HostGroupRuleUserDefineRuleParsePathRule {
|
|
21945
23215
|
/**
|
|
21946
|
-
*
|
|
23216
|
+
* List of field names. Log Service parses PathSample into multiple fields using regular expressions (Regex). Keys specify the name of each field. You can configure up to 100 field names. Field names cannot be empty or duplicated.
|
|
21947
23217
|
*/
|
|
21948
|
-
|
|
23218
|
+
keys: string[];
|
|
21949
23219
|
/**
|
|
21950
|
-
*
|
|
23220
|
+
* Sample collection path for actual scenarios. The sample path must be an absolute path. Wildcards *, ?, ** are not allowed in the sample path.
|
|
21951
23221
|
*/
|
|
21952
|
-
|
|
23222
|
+
pathSample: string;
|
|
21953
23223
|
/**
|
|
21954
|
-
*
|
|
23224
|
+
* Regular expression used to extract the path field. It must match the example collection path; otherwise, extraction will fail.
|
|
21955
23225
|
*/
|
|
21956
|
-
|
|
23226
|
+
regex: string;
|
|
21957
23227
|
}
|
|
21958
|
-
interface
|
|
23228
|
+
interface HostGroupRuleUserDefineRulePlugin {
|
|
21959
23229
|
/**
|
|
21960
|
-
*
|
|
23230
|
+
* LogCollector plugins. For supported plugin lists and parameter descriptions, see LogCollector plugin overview.
|
|
21961
23231
|
*/
|
|
21962
|
-
|
|
23232
|
+
processors: string;
|
|
23233
|
+
}
|
|
23234
|
+
interface HostGroupRuleUserDefineRuleShardHashKey {
|
|
21963
23235
|
/**
|
|
21964
|
-
*
|
|
23236
|
+
* The HashKey of the log group specifies the shard where the current log group will be written. The valid range for this parameter is [00000000000000000000000000000000-ffffffffffffffffffffffffffffffff).
|
|
21965
23237
|
*/
|
|
21966
|
-
|
|
23238
|
+
hashKey: string;
|
|
21967
23239
|
}
|
|
21968
23240
|
interface ImportTaskImportSourceInfo {
|
|
21969
23241
|
/**
|
|
@@ -22887,6 +24159,26 @@ export declare namespace tls {
|
|
|
22887
24159
|
}
|
|
22888
24160
|
}
|
|
22889
24161
|
export declare namespace transitrouter {
|
|
24162
|
+
interface DirectConnectGatewayAttachmentTag {
|
|
24163
|
+
/**
|
|
24164
|
+
* Tag key
|
|
24165
|
+
*/
|
|
24166
|
+
key: string;
|
|
24167
|
+
/**
|
|
24168
|
+
* Tag value
|
|
24169
|
+
*/
|
|
24170
|
+
value: string;
|
|
24171
|
+
}
|
|
24172
|
+
interface GetDirectConnectGatewayAttachmentTag {
|
|
24173
|
+
/**
|
|
24174
|
+
* Tag key
|
|
24175
|
+
*/
|
|
24176
|
+
key: string;
|
|
24177
|
+
/**
|
|
24178
|
+
* Tag value
|
|
24179
|
+
*/
|
|
24180
|
+
value: string;
|
|
24181
|
+
}
|
|
22890
24182
|
interface GetPeerAttachmentTag {
|
|
22891
24183
|
/**
|
|
22892
24184
|
* Tag key for cross-region connection user tags. Length must be between 1 and 128 characters. Case-sensitive; cannot start with any case combination of sys:. Cannot start or end with a space character. Allowed characters include letters, numbers, space character, underscore (_), period (.), colon (:), slash (/), equals sign (=), plus sign (+), minus sign (-), and @. Note: Tag keys for the same resource must be unique. If this parameter is not provided or no value is specified, the default is empty.
|
|
@@ -22985,6 +24277,38 @@ export declare namespace transitrouter {
|
|
|
22985
24277
|
*/
|
|
22986
24278
|
value: string;
|
|
22987
24279
|
}
|
|
24280
|
+
interface GetTransitRouterBandwidthPackageAllocation {
|
|
24281
|
+
/**
|
|
24282
|
+
* Time when the bandwidth package was associated with the cross-region connection.
|
|
24283
|
+
*/
|
|
24284
|
+
allocateTime: string;
|
|
24285
|
+
/**
|
|
24286
|
+
* Bandwidth peak of the cross-region connection, in Mbps.
|
|
24287
|
+
*/
|
|
24288
|
+
bandwidth: number;
|
|
24289
|
+
/**
|
|
24290
|
+
* Region ID of the local transit router instance in the cross-region connection.
|
|
24291
|
+
*/
|
|
24292
|
+
localRegionId: string;
|
|
24293
|
+
/**
|
|
24294
|
+
* Region ID of the peer transit router instance in the cross-region connection.
|
|
24295
|
+
*/
|
|
24296
|
+
peerRegionId: string;
|
|
24297
|
+
/**
|
|
24298
|
+
* ID of the cross-region connection.
|
|
24299
|
+
*/
|
|
24300
|
+
transitRouterPeerAttachmentId: string;
|
|
24301
|
+
}
|
|
24302
|
+
interface GetTransitRouterBandwidthPackageTag {
|
|
24303
|
+
/**
|
|
24304
|
+
* Tag key of the tag.
|
|
24305
|
+
*/
|
|
24306
|
+
key: string;
|
|
24307
|
+
/**
|
|
24308
|
+
* Tag value
|
|
24309
|
+
*/
|
|
24310
|
+
value: string;
|
|
24311
|
+
}
|
|
22988
24312
|
interface GetTransitRouterRouteTableTag {
|
|
22989
24313
|
/**
|
|
22990
24314
|
* Tag key
|
|
@@ -23134,6 +24458,38 @@ export declare namespace transitrouter {
|
|
|
23134
24458
|
*/
|
|
23135
24459
|
value: string;
|
|
23136
24460
|
}
|
|
24461
|
+
interface TransitRouterBandwidthPackageAllocation {
|
|
24462
|
+
/**
|
|
24463
|
+
* Time when the bandwidth package was associated with the cross-region connection.
|
|
24464
|
+
*/
|
|
24465
|
+
allocateTime: string;
|
|
24466
|
+
/**
|
|
24467
|
+
* Bandwidth peak of the cross-region connection, in Mbps.
|
|
24468
|
+
*/
|
|
24469
|
+
bandwidth: number;
|
|
24470
|
+
/**
|
|
24471
|
+
* Region ID of the local transit router instance in the cross-region connection.
|
|
24472
|
+
*/
|
|
24473
|
+
localRegionId: string;
|
|
24474
|
+
/**
|
|
24475
|
+
* Region ID of the peer transit router instance in the cross-region connection.
|
|
24476
|
+
*/
|
|
24477
|
+
peerRegionId: string;
|
|
24478
|
+
/**
|
|
24479
|
+
* ID of the cross-region connection.
|
|
24480
|
+
*/
|
|
24481
|
+
transitRouterPeerAttachmentId: string;
|
|
24482
|
+
}
|
|
24483
|
+
interface TransitRouterBandwidthPackageTag {
|
|
24484
|
+
/**
|
|
24485
|
+
* Tag key of the tag.
|
|
24486
|
+
*/
|
|
24487
|
+
key: string;
|
|
24488
|
+
/**
|
|
24489
|
+
* Tag value
|
|
24490
|
+
*/
|
|
24491
|
+
value: string;
|
|
24492
|
+
}
|
|
23137
24493
|
interface TransitRouterRouteTableTag {
|
|
23138
24494
|
/**
|
|
23139
24495
|
* Tag key
|