@byteplus/pulumi-bytepluscc 0.0.23 → 0.0.24
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/cen/getInterRegionBandwidth.d.ts +72 -0
- package/cen/getInterRegionBandwidth.js +28 -0
- package/cen/getInterRegionBandwidth.js.map +1 -0
- package/cen/getInterRegionBandwidths.d.ts +22 -0
- package/cen/getInterRegionBandwidths.js +24 -0
- package/cen/getInterRegionBandwidths.js.map +1 -0
- package/cen/getRouteEntries.d.ts +22 -0
- package/cen/getRouteEntries.js +24 -0
- package/cen/getRouteEntries.js.map +1 -0
- package/cen/getRouteEntry.d.ts +72 -0
- package/cen/getRouteEntry.js +28 -0
- package/cen/getRouteEntry.js.map +1 -0
- package/cen/getServiceRouteEntries.d.ts +22 -0
- package/cen/getServiceRouteEntries.js +24 -0
- package/cen/getServiceRouteEntries.js.map +1 -0
- package/cen/getServiceRouteEntry.d.ts +73 -0
- package/cen/getServiceRouteEntry.js +28 -0
- package/cen/getServiceRouteEntry.js.map +1 -0
- package/cen/index.d.ts +27 -0
- package/cen/index.js +34 -1
- package/cen/index.js.map +1 -1
- package/cen/interRegionBandwidth.d.ts +152 -0
- package/cen/interRegionBandwidth.js +101 -0
- package/cen/interRegionBandwidth.js.map +1 -0
- package/cen/routeEntry.d.ts +152 -0
- package/cen/routeEntry.js +104 -0
- package/cen/routeEntry.js.map +1 -0
- package/cen/serviceRouteEntry.d.ts +138 -0
- package/cen/serviceRouteEntry.js +83 -0
- package/cen/serviceRouteEntry.js.map +1 -0
- package/clb/getListener.d.ts +4 -0
- package/clb/getListener.js.map +1 -1
- package/clb/listener.d.ts +3 -0
- package/clb/listener.js +2 -0
- package/clb/listener.js.map +1 -1
- package/mongodb/getSslState.d.ts +56 -0
- package/mongodb/getSslState.js +28 -0
- package/mongodb/getSslState.js.map +1 -0
- package/mongodb/getSslStates.d.ts +22 -0
- package/mongodb/getSslStates.js +24 -0
- package/mongodb/getSslStates.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/mongodb/sslState.d.ts +105 -0
- package/mongodb/sslState.js +81 -0
- package/mongodb/sslState.js.map +1 -0
- package/package.json +1 -1
- package/privatelink/endpointService.d.ts +15 -3
- package/privatelink/endpointService.js +2 -0
- package/privatelink/endpointService.js.map +1 -1
- package/privatelink/getEndpointService.d.ts +5 -1
- package/privatelink/getEndpointService.js.map +1 -1
- package/privatelink/getVpcEndpointConnection.d.ts +89 -0
- package/privatelink/getVpcEndpointConnection.js +28 -0
- package/privatelink/getVpcEndpointConnection.js.map +1 -0
- package/privatelink/getVpcEndpointConnections.d.ts +22 -0
- package/privatelink/getVpcEndpointConnections.js +24 -0
- package/privatelink/getVpcEndpointConnections.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/privatelink/vpcEndpointConnection.d.ts +156 -0
- package/privatelink/vpcEndpointConnection.js +88 -0
- package/privatelink/vpcEndpointConnection.js.map +1 -0
- package/rabbitmq/allowList.d.ts +151 -0
- package/rabbitmq/allowList.js +100 -0
- package/rabbitmq/allowList.js.map +1 -0
- package/rabbitmq/getAllowList.d.ts +73 -0
- package/rabbitmq/getAllowList.js +28 -0
- package/rabbitmq/getAllowList.js.map +1 -0
- package/rabbitmq/getAllowLists.d.ts +22 -0
- package/rabbitmq/getAllowLists.js +24 -0
- package/rabbitmq/getAllowLists.js.map +1 -0
- package/rabbitmq/index.d.ts +9 -0
- package/rabbitmq/index.js +12 -1
- package/rabbitmq/index.js.map +1 -1
- package/redis/allowList.d.ts +148 -0
- package/redis/allowList.js +78 -0
- package/redis/allowList.js.map +1 -0
- package/redis/getAllowList.d.ts +81 -0
- package/redis/getAllowList.js +28 -0
- package/redis/getAllowList.js.map +1 -0
- package/redis/getAllowLists.d.ts +22 -0
- package/redis/getAllowLists.js +24 -0
- package/redis/getAllowLists.js.map +1 -0
- package/redis/index.d.ts +9 -0
- package/redis/index.js +12 -1
- package/redis/index.js.map +1 -1
- package/storageebs/getSnapshotGroup.d.ts +81 -0
- package/storageebs/getSnapshotGroup.js +28 -0
- package/storageebs/getSnapshotGroup.js.map +1 -0
- package/storageebs/getSnapshotGroups.d.ts +22 -0
- package/storageebs/getSnapshotGroups.js +24 -0
- package/storageebs/getSnapshotGroups.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/snapshotGroup.d.ts +168 -0
- package/storageebs/snapshotGroup.js +105 -0
- package/storageebs/snapshotGroup.js.map +1 -0
- package/tls/alarmNotifyGroup.d.ts +113 -0
- package/tls/alarmNotifyGroup.js +75 -0
- package/tls/alarmNotifyGroup.js.map +1 -0
- package/tls/getAlarmNotifyGroup.d.ts +69 -0
- package/tls/getAlarmNotifyGroup.js +28 -0
- package/tls/getAlarmNotifyGroup.js.map +1 -0
- package/tls/getAlarmNotifyGroups.d.ts +22 -0
- package/tls/getAlarmNotifyGroups.js +24 -0
- package/tls/getAlarmNotifyGroups.js.map +1 -0
- package/tls/getRule.d.ts +109 -0
- package/tls/getRule.js +28 -0
- package/tls/getRule.js.map +1 -0
- package/tls/getRules.d.ts +22 -0
- package/tls/getRules.js +24 -0
- package/tls/getRules.js.map +1 -0
- package/tls/getShipper.d.ts +101 -0
- package/tls/getShipper.js +28 -0
- package/tls/getShipper.js.map +1 -0
- package/tls/getShippers.d.ts +22 -0
- package/tls/getShippers.js +24 -0
- package/tls/getShippers.js.map +1 -0
- package/tls/index.d.ts +27 -0
- package/tls/index.js +34 -1
- package/tls/index.js.map +1 -1
- package/tls/rule.d.ts +221 -0
- package/tls/rule.js +98 -0
- package/tls/rule.js.map +1 -0
- package/tls/shipper.d.ts +211 -0
- package/tls/shipper.js +97 -0
- package/tls/shipper.js.map +1 -0
- package/types/input.d.ts +888 -31
- package/types/output.d.ts +2208 -351
- package/vefaas/getRelease.d.ts +120 -0
- package/vefaas/getRelease.js +28 -0
- package/vefaas/getRelease.js.map +1 -0
- package/vefaas/getReleases.d.ts +22 -0
- package/vefaas/getReleases.js +24 -0
- package/vefaas/getReleases.js.map +1 -0
- package/vefaas/index.d.ts +9 -0
- package/vefaas/index.js +12 -1
- package/vefaas/index.js.map +1 -1
- package/vefaas/release.d.ts +253 -0
- package/vefaas/release.js +120 -0
- package/vefaas/release.js.map +1 -0
- package/vepfs/getMountService.d.ts +93 -0
- package/vepfs/getMountService.js +28 -0
- package/vepfs/getMountService.js.map +1 -0
- package/vepfs/getMountServices.d.ts +22 -0
- package/vepfs/getMountServices.js +24 -0
- package/vepfs/getMountServices.js.map +1 -0
- package/vepfs/index.d.ts +9 -0
- package/vepfs/index.js +12 -1
- package/vepfs/index.js.map +1 -1
- package/vepfs/mountService.d.ts +172 -0
- package/vepfs/mountService.js +99 -0
- package/vepfs/mountService.js.map +1 -0
- package/vke/getKubeconfig.d.ts +72 -0
- package/vke/getKubeconfig.js +28 -0
- package/vke/getKubeconfig.js.map +1 -0
- package/vke/getKubeconfigs.d.ts +22 -0
- package/vke/getKubeconfigs.js +24 -0
- package/vke/getKubeconfigs.js.map +1 -0
- package/vke/index.d.ts +9 -0
- package/vke/index.js +12 -1
- package/vke/index.js.map +1 -1
- package/vke/kubeconfig.d.ts +142 -0
- package/vke/kubeconfig.js +93 -0
- package/vke/kubeconfig.js.map +1 -0
package/types/output.d.ts
CHANGED
|
@@ -7849,6 +7849,34 @@ export declare namespace cen {
|
|
|
7849
7849
|
*/
|
|
7850
7850
|
value: string;
|
|
7851
7851
|
}
|
|
7852
|
+
interface GetServiceRouteEntryPublishToInstance {
|
|
7853
|
+
/**
|
|
7854
|
+
* Network instance ID for published cloud service access route.
|
|
7855
|
+
*/
|
|
7856
|
+
instanceId: string;
|
|
7857
|
+
/**
|
|
7858
|
+
* Region for published cloud service access route.
|
|
7859
|
+
*/
|
|
7860
|
+
instanceRegionId: string;
|
|
7861
|
+
/**
|
|
7862
|
+
* Network instance type for published cloud service access route.
|
|
7863
|
+
*/
|
|
7864
|
+
instanceType: string;
|
|
7865
|
+
}
|
|
7866
|
+
interface ServiceRouteEntryPublishToInstance {
|
|
7867
|
+
/**
|
|
7868
|
+
* Network instance ID for published cloud service access route.
|
|
7869
|
+
*/
|
|
7870
|
+
instanceId: string;
|
|
7871
|
+
/**
|
|
7872
|
+
* Region for published cloud service access route.
|
|
7873
|
+
*/
|
|
7874
|
+
instanceRegionId: string;
|
|
7875
|
+
/**
|
|
7876
|
+
* Network instance type for published cloud service access route.
|
|
7877
|
+
*/
|
|
7878
|
+
instanceType: string;
|
|
7879
|
+
}
|
|
7852
7880
|
}
|
|
7853
7881
|
export declare namespace clb {
|
|
7854
7882
|
interface AclAclEntry {
|
|
@@ -8195,6 +8223,24 @@ export declare namespace clb {
|
|
|
8195
8223
|
*/
|
|
8196
8224
|
value: string;
|
|
8197
8225
|
}
|
|
8226
|
+
interface GetListenerDomainExtension {
|
|
8227
|
+
/**
|
|
8228
|
+
* Certificate ID of the extended domain name.
|
|
8229
|
+
*/
|
|
8230
|
+
certCenterCertificateId: string;
|
|
8231
|
+
/**
|
|
8232
|
+
* Certificate source for the extended domain name to be added. Value: cert_center: SSL certificate from Volcano Engine Certificate Center. This parameter is required when adding an extended domain name.
|
|
8233
|
+
*/
|
|
8234
|
+
certificateSource: string;
|
|
8235
|
+
/**
|
|
8236
|
+
* Domain name. Supports both wildcard and exact domain names. Specifications: 1. Must contain at least one '.', and cannot start or end with '.'. 2. Only letters, numbers, '.', '-', and '*' are allowed. 3. Length must be between 1 and 128 characters. 4. Wildcard domain: Use '*' to replace one or more characters. 5. Exact domain: A domain name that strictly follows domain name specifications.
|
|
8237
|
+
*/
|
|
8238
|
+
domain: string;
|
|
8239
|
+
/**
|
|
8240
|
+
* Extended domain name ID.
|
|
8241
|
+
*/
|
|
8242
|
+
domainExtensionId: string;
|
|
8243
|
+
}
|
|
8198
8244
|
interface GetListenerHealthCheck {
|
|
8199
8245
|
/**
|
|
8200
8246
|
* Domain name for health check. Must be set to the actual address provided by the backend server. This parameter takes effect when Protocol is set to HTTP or HTTPS and HealthCheck.Enabled is on. Must contain at least one period (.), and cannot start or end with a period (.). Each string can include letters, numbers, hyphens (-), and periods (.), with hyphens (-) not allowed at the beginning or end of the string. Length limit: 1 to 128 characters. If this parameter is not provided or no value is specified, the default is empty, meaning CLB uses the private IP address of each backend server for health checks.
|
|
@@ -8563,6 +8609,20 @@ export declare namespace clb {
|
|
|
8563
8609
|
*/
|
|
8564
8610
|
value: string;
|
|
8565
8611
|
}
|
|
8612
|
+
interface ListenerDomainExtension {
|
|
8613
|
+
/**
|
|
8614
|
+
* Certificate ID of the extended domain name.
|
|
8615
|
+
*/
|
|
8616
|
+
certCenterCertificateId: string;
|
|
8617
|
+
/**
|
|
8618
|
+
* Certificate source for the extended domain name to be added. Value: cert_center: SSL certificate from Volcano Engine Certificate Center. This parameter is required when adding an extended domain name.
|
|
8619
|
+
*/
|
|
8620
|
+
certificateSource: string;
|
|
8621
|
+
/**
|
|
8622
|
+
* Domain name. Supports both wildcard and exact domain names. Specifications: 1. Must contain at least one '.', and cannot start or end with '.'. 2. Only letters, numbers, '.', '-', and '*' are allowed. 3. Length must be between 1 and 128 characters. 4. Wildcard domain: Use '*' to replace one or more characters. 5. Exact domain: A domain name that strictly follows domain name specifications.
|
|
8623
|
+
*/
|
|
8624
|
+
domain: string;
|
|
8625
|
+
}
|
|
8566
8626
|
interface ListenerHealthCheck {
|
|
8567
8627
|
/**
|
|
8568
8628
|
* Domain name for health check. Must be set to the actual address provided by the backend server. This parameter takes effect when Protocol is set to HTTP or HTTPS and HealthCheck.Enabled is on. Must contain at least one period (.), and cannot start or end with a period (.). Each string can include letters, numbers, hyphens (-), and periods (.), with hyphens (-) not allowed at the beginning or end of the string. Length limit: 1 to 128 characters. If this parameter is not provided or no value is specified, the default is empty, meaning CLB uses the private IP address of each backend server for health checks.
|
|
@@ -15232,10 +15292,6 @@ export declare namespace privatelink {
|
|
|
15232
15292
|
value: string;
|
|
15233
15293
|
}
|
|
15234
15294
|
interface EndpointServiceResource {
|
|
15235
|
-
/**
|
|
15236
|
-
* Endpoint service ID.
|
|
15237
|
-
*/
|
|
15238
|
-
instanceId: string;
|
|
15239
15295
|
/**
|
|
15240
15296
|
* Service resource ID to be added to the endpoint service.
|
|
15241
15297
|
*/
|
|
@@ -15274,14 +15330,14 @@ export declare namespace privatelink {
|
|
|
15274
15330
|
value: string;
|
|
15275
15331
|
}
|
|
15276
15332
|
interface GetEndpointServiceResource {
|
|
15277
|
-
/**
|
|
15278
|
-
* Endpoint service ID.
|
|
15279
|
-
*/
|
|
15280
|
-
instanceId: string;
|
|
15281
15333
|
/**
|
|
15282
15334
|
* Service resource ID to be added to the endpoint service.
|
|
15283
15335
|
*/
|
|
15284
15336
|
resourceId: string;
|
|
15337
|
+
/**
|
|
15338
|
+
* Type of service resource.
|
|
15339
|
+
*/
|
|
15340
|
+
resourceType: string;
|
|
15285
15341
|
/**
|
|
15286
15342
|
* Availability zone where the load balancer provides service.
|
|
15287
15343
|
*/
|
|
@@ -15297,6 +15353,54 @@ export declare namespace privatelink {
|
|
|
15297
15353
|
*/
|
|
15298
15354
|
value: string;
|
|
15299
15355
|
}
|
|
15356
|
+
interface GetVpcEndpointConnectionResourcesAllocate {
|
|
15357
|
+
/**
|
|
15358
|
+
* Specify the service resource for the endpoint connection
|
|
15359
|
+
*/
|
|
15360
|
+
resourceId: string;
|
|
15361
|
+
/**
|
|
15362
|
+
* Availability zone ID of the service resource to be specified
|
|
15363
|
+
*/
|
|
15364
|
+
zoneId: string;
|
|
15365
|
+
}
|
|
15366
|
+
interface GetVpcEndpointConnectionZone {
|
|
15367
|
+
/**
|
|
15368
|
+
* Endpoint network interface ID. If a seamless service resource replacement is in progress, this indicates the endpoint network interface ID connected to the replaced service resource
|
|
15369
|
+
*/
|
|
15370
|
+
networkInterfaceId: string;
|
|
15371
|
+
/**
|
|
15372
|
+
* The private IPv4 address of the terminal node NIC. If a smooth service resource replacement is in progress, this refers to the IPv4 address of the terminal node NIC connected to the service resource being replaced.
|
|
15373
|
+
*/
|
|
15374
|
+
networkInterfaceIp: string;
|
|
15375
|
+
/**
|
|
15376
|
+
* Private IPv6 address of the endpoint network interface. If a seamless service resource replacement is in progress, this indicates the IPv6 address of the endpoint network interface connected to the replaced service resource. If the endpoint only supports IPv4, this parameter is not returned
|
|
15377
|
+
*/
|
|
15378
|
+
networkInterfaceIpv6: string;
|
|
15379
|
+
/**
|
|
15380
|
+
* Service resource ID
|
|
15381
|
+
*/
|
|
15382
|
+
resourceId: string;
|
|
15383
|
+
/**
|
|
15384
|
+
* Status of the service resource
|
|
15385
|
+
*/
|
|
15386
|
+
serviceStatus: string;
|
|
15387
|
+
/**
|
|
15388
|
+
* ID of the subnet to which the endpoint network interface belongs
|
|
15389
|
+
*/
|
|
15390
|
+
subnetId: string;
|
|
15391
|
+
/**
|
|
15392
|
+
* The domain name of the terminal node availability zone.
|
|
15393
|
+
*/
|
|
15394
|
+
zoneDomain: string;
|
|
15395
|
+
/**
|
|
15396
|
+
* Endpoint zone ID
|
|
15397
|
+
*/
|
|
15398
|
+
zoneId: string;
|
|
15399
|
+
/**
|
|
15400
|
+
* Status of the endpoint zone. PendingAcceptance: waiting for connection. Connecting: connecting. Connected: connected. Disconnecting: disconnecting. Rejected: connection rejected. Failed: connection failed
|
|
15401
|
+
*/
|
|
15402
|
+
zoneStatus: string;
|
|
15403
|
+
}
|
|
15300
15404
|
interface GetVpcEndpointTag {
|
|
15301
15405
|
/**
|
|
15302
15406
|
* Tag key of the endpoint user tag. Length limit: 1–128 characters. Case sensitive. Cannot start with 'or' or 'sys:' in any case combination. Cannot start or end with a space. Allowed characters: letters, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equal signs (=), plus signs (+), hyphens (-), and @.
|
|
@@ -15345,6 +15449,54 @@ export declare namespace privatelink {
|
|
|
15345
15449
|
*/
|
|
15346
15450
|
zoneStatus: string;
|
|
15347
15451
|
}
|
|
15452
|
+
interface VpcEndpointConnectionResourcesAllocate {
|
|
15453
|
+
/**
|
|
15454
|
+
* Specify the service resource for the endpoint connection
|
|
15455
|
+
*/
|
|
15456
|
+
resourceId: string;
|
|
15457
|
+
/**
|
|
15458
|
+
* Availability zone ID of the service resource to be specified
|
|
15459
|
+
*/
|
|
15460
|
+
zoneId: string;
|
|
15461
|
+
}
|
|
15462
|
+
interface VpcEndpointConnectionZone {
|
|
15463
|
+
/**
|
|
15464
|
+
* Endpoint network interface ID. If a seamless service resource replacement is in progress, this indicates the endpoint network interface ID connected to the replaced service resource
|
|
15465
|
+
*/
|
|
15466
|
+
networkInterfaceId: string;
|
|
15467
|
+
/**
|
|
15468
|
+
* The private IPv4 address of the terminal node NIC. If a smooth service resource replacement is in progress, this refers to the IPv4 address of the terminal node NIC connected to the service resource being replaced.
|
|
15469
|
+
*/
|
|
15470
|
+
networkInterfaceIp: string;
|
|
15471
|
+
/**
|
|
15472
|
+
* Private IPv6 address of the endpoint network interface. If a seamless service resource replacement is in progress, this indicates the IPv6 address of the endpoint network interface connected to the replaced service resource. If the endpoint only supports IPv4, this parameter is not returned
|
|
15473
|
+
*/
|
|
15474
|
+
networkInterfaceIpv6: string;
|
|
15475
|
+
/**
|
|
15476
|
+
* Service resource ID
|
|
15477
|
+
*/
|
|
15478
|
+
resourceId: string;
|
|
15479
|
+
/**
|
|
15480
|
+
* Status of the service resource
|
|
15481
|
+
*/
|
|
15482
|
+
serviceStatus: string;
|
|
15483
|
+
/**
|
|
15484
|
+
* ID of the subnet to which the endpoint network interface belongs
|
|
15485
|
+
*/
|
|
15486
|
+
subnetId: string;
|
|
15487
|
+
/**
|
|
15488
|
+
* The domain name of the terminal node availability zone.
|
|
15489
|
+
*/
|
|
15490
|
+
zoneDomain: string;
|
|
15491
|
+
/**
|
|
15492
|
+
* Endpoint zone ID
|
|
15493
|
+
*/
|
|
15494
|
+
zoneId: string;
|
|
15495
|
+
/**
|
|
15496
|
+
* Status of the endpoint zone. PendingAcceptance: waiting for connection. Connecting: connecting. Connected: connected. Disconnecting: disconnecting. Rejected: connection rejected. Failed: connection failed
|
|
15497
|
+
*/
|
|
15498
|
+
zoneStatus: string;
|
|
15499
|
+
}
|
|
15348
15500
|
interface VpcEndpointTag {
|
|
15349
15501
|
/**
|
|
15350
15502
|
* Tag key of the endpoint user tag. Length limit: 1–128 characters. Case sensitive. Cannot start with 'or' or 'sys:' in any case combination. Cannot start or end with a space. Allowed characters: letters, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equal signs (=), plus signs (+), hyphens (-), and @.
|
|
@@ -15501,6 +15653,26 @@ export declare namespace privatezone {
|
|
|
15501
15653
|
}
|
|
15502
15654
|
}
|
|
15503
15655
|
export declare namespace rabbitmq {
|
|
15656
|
+
interface AllowListAssociatedInstance {
|
|
15657
|
+
/**
|
|
15658
|
+
* Instance ID
|
|
15659
|
+
*/
|
|
15660
|
+
instanceId: string;
|
|
15661
|
+
}
|
|
15662
|
+
interface GetAllowListAssociatedInstance {
|
|
15663
|
+
/**
|
|
15664
|
+
* Instance ID
|
|
15665
|
+
*/
|
|
15666
|
+
instanceId: string;
|
|
15667
|
+
/**
|
|
15668
|
+
* Instance Name
|
|
15669
|
+
*/
|
|
15670
|
+
instanceName: string;
|
|
15671
|
+
/**
|
|
15672
|
+
* VPC ID of the instance
|
|
15673
|
+
*/
|
|
15674
|
+
vpc: string;
|
|
15675
|
+
}
|
|
15504
15676
|
interface GetInstanceChargeDetail {
|
|
15505
15677
|
/**
|
|
15506
15678
|
* Whether to automatically renew the subscription instance after expiration.
|
|
@@ -17723,6 +17895,70 @@ export declare namespace rdspostgresql {
|
|
|
17723
17895
|
}
|
|
17724
17896
|
}
|
|
17725
17897
|
export declare namespace redis {
|
|
17898
|
+
interface AllowListAssociatedInstance {
|
|
17899
|
+
/**
|
|
17900
|
+
* Instance ID bound to the current allowlist
|
|
17901
|
+
*/
|
|
17902
|
+
instanceId: string;
|
|
17903
|
+
/**
|
|
17904
|
+
* Instance names bound to the current allowlist
|
|
17905
|
+
*/
|
|
17906
|
+
instanceName: string;
|
|
17907
|
+
/**
|
|
17908
|
+
* Project name associated with the instance
|
|
17909
|
+
*/
|
|
17910
|
+
projectName: string;
|
|
17911
|
+
/**
|
|
17912
|
+
* Private network ID associated with the instance
|
|
17913
|
+
*/
|
|
17914
|
+
vpc: string;
|
|
17915
|
+
}
|
|
17916
|
+
interface AllowListSecurityGroupBindInfo {
|
|
17917
|
+
/**
|
|
17918
|
+
* Security group association mode. The value range is as follows: IngressDirectionIp: ingress IP, which allows IPs involved in TCP and ALL protocols in the source address of the security group ingress direction to access the database. If the source address is configured as a security group, it will be ignored. AssociateEcsIp: associate ECS IP, which allows cloud servers within the security group to access the database. Currently, only importing IP information of the primary network interface is supported
|
|
17919
|
+
*/
|
|
17920
|
+
bindMode: string;
|
|
17921
|
+
/**
|
|
17922
|
+
* Associated security group ID
|
|
17923
|
+
*/
|
|
17924
|
+
securityGroupId: string;
|
|
17925
|
+
}
|
|
17926
|
+
interface GetAllowListAssociatedInstance {
|
|
17927
|
+
/**
|
|
17928
|
+
* Instance ID bound to the current allowlist
|
|
17929
|
+
*/
|
|
17930
|
+
instanceId: string;
|
|
17931
|
+
/**
|
|
17932
|
+
* Instance names bound to the current allowlist
|
|
17933
|
+
*/
|
|
17934
|
+
instanceName: string;
|
|
17935
|
+
/**
|
|
17936
|
+
* Project name associated with the instance
|
|
17937
|
+
*/
|
|
17938
|
+
projectName: string;
|
|
17939
|
+
/**
|
|
17940
|
+
* Private network ID associated with the instance
|
|
17941
|
+
*/
|
|
17942
|
+
vpc: string;
|
|
17943
|
+
}
|
|
17944
|
+
interface GetAllowListSecurityGroupBindInfo {
|
|
17945
|
+
/**
|
|
17946
|
+
* Security group association mode. The value range is as follows: IngressDirectionIp: ingress IP, which allows IPs involved in TCP and ALL protocols in the source address of the security group ingress direction to access the database. If the source address is configured as a security group, it will be ignored. AssociateEcsIp: associate ECS IP, which allows cloud servers within the security group to access the database. Currently, only importing IP information of the primary network interface is supported
|
|
17947
|
+
*/
|
|
17948
|
+
bindMode: string;
|
|
17949
|
+
/**
|
|
17950
|
+
* IP list of security groups associated with the allowlist
|
|
17951
|
+
*/
|
|
17952
|
+
ipLists: string[];
|
|
17953
|
+
/**
|
|
17954
|
+
* Associated security group ID
|
|
17955
|
+
*/
|
|
17956
|
+
securityGroupId: string;
|
|
17957
|
+
/**
|
|
17958
|
+
* Name of the associated security group
|
|
17959
|
+
*/
|
|
17960
|
+
securityGroupName: string;
|
|
17961
|
+
}
|
|
17726
17962
|
interface GetInstanceCapacity {
|
|
17727
17963
|
/**
|
|
17728
17964
|
* Total memory capacity of the current instance. Unit: MiB.
|
|
@@ -17890,127 +18126,1679 @@ export declare namespace redis {
|
|
|
17890
18126
|
}
|
|
17891
18127
|
}
|
|
17892
18128
|
export declare namespace storageebs {
|
|
17893
|
-
interface
|
|
18129
|
+
interface GetSnapshotGroupSnapshot {
|
|
17894
18130
|
/**
|
|
17895
|
-
*
|
|
18131
|
+
* Snapshot creation time
|
|
17896
18132
|
*/
|
|
17897
|
-
|
|
18133
|
+
creationTime: string;
|
|
17898
18134
|
/**
|
|
17899
|
-
*
|
|
18135
|
+
* Snapshot description
|
|
17900
18136
|
*/
|
|
17901
|
-
|
|
17902
|
-
}
|
|
17903
|
-
interface GetVolumeBaselinePerformance {
|
|
18137
|
+
description: string;
|
|
17904
18138
|
/**
|
|
17905
|
-
*
|
|
18139
|
+
* Image ID
|
|
17906
18140
|
*/
|
|
17907
|
-
|
|
18141
|
+
imageId: string;
|
|
17908
18142
|
/**
|
|
17909
|
-
*
|
|
18143
|
+
* Whether the snapshot has enabled ultra-fast availability. Values are as follows: - true: Ultra-fast availability enabled - false: Ultra-fast availability not enabled
|
|
17910
18144
|
*/
|
|
17911
|
-
|
|
17912
|
-
}
|
|
17913
|
-
interface GetVolumeExtraPerformance {
|
|
18145
|
+
instantAccess: boolean;
|
|
17914
18146
|
/**
|
|
17915
|
-
*
|
|
18147
|
+
* Dump progress
|
|
17916
18148
|
*/
|
|
17917
|
-
|
|
18149
|
+
progress: number;
|
|
17918
18150
|
/**
|
|
17919
|
-
*
|
|
18151
|
+
* Project of the snapshot
|
|
17920
18152
|
*/
|
|
17921
|
-
|
|
18153
|
+
projectName: string;
|
|
17922
18154
|
/**
|
|
17923
|
-
*
|
|
18155
|
+
* Retention days for automatic snapshots
|
|
17924
18156
|
*/
|
|
17925
|
-
|
|
17926
|
-
}
|
|
17927
|
-
interface GetVolumeTag {
|
|
18157
|
+
retentionDays: number;
|
|
17928
18158
|
/**
|
|
17929
|
-
*
|
|
18159
|
+
* Whether the snapshot is shared with others. Values are as follows: - true: Snapshot is shared with others - false: Snapshot is not shared with others
|
|
17930
18160
|
*/
|
|
17931
|
-
|
|
18161
|
+
shared: boolean;
|
|
17932
18162
|
/**
|
|
17933
|
-
*
|
|
18163
|
+
* Snapshot consistency group ID
|
|
17934
18164
|
*/
|
|
17935
|
-
|
|
17936
|
-
}
|
|
17937
|
-
interface GetVolumeTotalPerformance {
|
|
18165
|
+
snapshotGroupId: string;
|
|
17938
18166
|
/**
|
|
17939
|
-
*
|
|
18167
|
+
* Snapshot ID
|
|
17940
18168
|
*/
|
|
17941
|
-
|
|
18169
|
+
snapshotId: string;
|
|
17942
18170
|
/**
|
|
17943
|
-
*
|
|
18171
|
+
* Snapshot name
|
|
17944
18172
|
*/
|
|
17945
|
-
|
|
17946
|
-
}
|
|
17947
|
-
interface SnapshotTag {
|
|
18173
|
+
snapshotName: string;
|
|
17948
18174
|
/**
|
|
17949
|
-
*
|
|
18175
|
+
* Snapshot type. Values are as follows: - user: Manual snapshot - auto: Automatic snapshot
|
|
17950
18176
|
*/
|
|
17951
|
-
|
|
18177
|
+
snapshotType: string;
|
|
17952
18178
|
/**
|
|
17953
|
-
*
|
|
18179
|
+
* Snapshot status. Values are as follows: - available: Available - creating: Creating - rollbacking: Rolling back - deleted: Deleted - failed: Error
|
|
17954
18180
|
*/
|
|
17955
|
-
|
|
17956
|
-
}
|
|
17957
|
-
interface VolumeBaselinePerformance {
|
|
18181
|
+
status: string;
|
|
17958
18182
|
/**
|
|
17959
|
-
*
|
|
18183
|
+
* Tag information
|
|
17960
18184
|
*/
|
|
17961
|
-
|
|
18185
|
+
tags: outputs.storageebs.GetSnapshotGroupSnapshotTag[];
|
|
17962
18186
|
/**
|
|
17963
|
-
*
|
|
18187
|
+
* Cloud disk ID
|
|
17964
18188
|
*/
|
|
17965
|
-
|
|
17966
|
-
}
|
|
17967
|
-
interface VolumeExtraPerformance {
|
|
18189
|
+
volumeId: string;
|
|
17968
18190
|
/**
|
|
17969
|
-
*
|
|
18191
|
+
* Cloud disk category. Values are as follows: - system: System disk - data: Data disk
|
|
17970
18192
|
*/
|
|
17971
|
-
|
|
18193
|
+
volumeKind: string;
|
|
17972
18194
|
/**
|
|
17973
|
-
*
|
|
18195
|
+
* Cloud disk name
|
|
17974
18196
|
*/
|
|
17975
|
-
|
|
18197
|
+
volumeName: string;
|
|
17976
18198
|
/**
|
|
17977
|
-
*
|
|
18199
|
+
* Cloud disk size (GiB)
|
|
17978
18200
|
*/
|
|
17979
|
-
|
|
17980
|
-
}
|
|
17981
|
-
interface VolumeTag {
|
|
18201
|
+
volumeSize: number;
|
|
17982
18202
|
/**
|
|
17983
|
-
*
|
|
18203
|
+
* Cloud disk status. Values are as follows: - available: Available - attaching: Attaching - attached: Attached - detaching: Detaching - creating: Creating - deleting: Deleting - error: Error - extending: Expanding
|
|
17984
18204
|
*/
|
|
17985
|
-
|
|
18205
|
+
volumeStatus: string;
|
|
17986
18206
|
/**
|
|
17987
|
-
*
|
|
18207
|
+
* Cloud disk type. Values are as follows: - ESSD*PL0: Ultra-fast SSD cloud disk, PL0 specification - ESSD*FlexPL: Ultra-fast SSD cloud disk, FlexPL specification - TSSD_TL0: Throughput SSD cloud disk
|
|
18208
|
+
*/
|
|
18209
|
+
volumeType: string;
|
|
18210
|
+
/**
|
|
18211
|
+
* Zone ID. If ultra-fast availability is enabled for the snapshot, you can create a cloud disk in this zone using the ultra-fast available snapshot
|
|
18212
|
+
*/
|
|
18213
|
+
zoneId: string;
|
|
18214
|
+
}
|
|
18215
|
+
interface GetSnapshotGroupSnapshotTag {
|
|
18216
|
+
/**
|
|
18217
|
+
* Tag key
|
|
18218
|
+
*/
|
|
18219
|
+
key: string;
|
|
18220
|
+
/**
|
|
18221
|
+
* Tag value
|
|
18222
|
+
*/
|
|
18223
|
+
value: string;
|
|
18224
|
+
}
|
|
18225
|
+
interface GetSnapshotGroupTag {
|
|
18226
|
+
/**
|
|
18227
|
+
* Tag key
|
|
18228
|
+
*/
|
|
18229
|
+
key: string;
|
|
18230
|
+
/**
|
|
18231
|
+
* Tag value
|
|
18232
|
+
*/
|
|
18233
|
+
value: string;
|
|
18234
|
+
}
|
|
18235
|
+
interface GetSnapshotTag {
|
|
18236
|
+
/**
|
|
18237
|
+
* 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.
|
|
18238
|
+
*/
|
|
18239
|
+
key: string;
|
|
18240
|
+
/**
|
|
18241
|
+
* 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.
|
|
18242
|
+
*/
|
|
18243
|
+
value: string;
|
|
18244
|
+
}
|
|
18245
|
+
interface GetVolumeBaselinePerformance {
|
|
18246
|
+
/**
|
|
18247
|
+
* Total IOPS of the disk, which is the sum of the baseline IOPS and extra IOPS.
|
|
18248
|
+
*/
|
|
18249
|
+
iops: number;
|
|
18250
|
+
/**
|
|
18251
|
+
* The total throughput of the cloud disk is the sum of its baseline throughput and additional throughput.
|
|
18252
|
+
*/
|
|
18253
|
+
throughput: number;
|
|
18254
|
+
}
|
|
18255
|
+
interface GetVolumeExtraPerformance {
|
|
18256
|
+
/**
|
|
18257
|
+
* Type of extra performance. Value description: Balance: Balanced extra performance; IOPS: IOPS extra performance; Throughput: Throughput extra performance.
|
|
18258
|
+
*/
|
|
18259
|
+
extraPerformanceTypeId: string;
|
|
18260
|
+
/**
|
|
18261
|
+
* Extra IOPS of the disk.
|
|
18262
|
+
*/
|
|
18263
|
+
iops: number;
|
|
18264
|
+
/**
|
|
18265
|
+
* Extra throughput of the disk.
|
|
18266
|
+
*/
|
|
18267
|
+
throughput: number;
|
|
18268
|
+
}
|
|
18269
|
+
interface GetVolumeTag {
|
|
18270
|
+
/**
|
|
18271
|
+
* Tag key.
|
|
18272
|
+
*/
|
|
18273
|
+
key: string;
|
|
18274
|
+
/**
|
|
18275
|
+
* Tag value.
|
|
18276
|
+
*/
|
|
18277
|
+
value: string;
|
|
18278
|
+
}
|
|
18279
|
+
interface GetVolumeTotalPerformance {
|
|
18280
|
+
/**
|
|
18281
|
+
* Total IOPS of the disk, which is the sum of the baseline IOPS and extra IOPS.
|
|
18282
|
+
*/
|
|
18283
|
+
iops: number;
|
|
18284
|
+
/**
|
|
18285
|
+
* The total throughput of the cloud disk is the sum of its baseline throughput and additional throughput.
|
|
18286
|
+
*/
|
|
18287
|
+
throughput: number;
|
|
18288
|
+
}
|
|
18289
|
+
interface SnapshotGroupSnapshot {
|
|
18290
|
+
/**
|
|
18291
|
+
* Snapshot creation time
|
|
18292
|
+
*/
|
|
18293
|
+
creationTime: string;
|
|
18294
|
+
/**
|
|
18295
|
+
* Snapshot description
|
|
18296
|
+
*/
|
|
18297
|
+
description: string;
|
|
18298
|
+
/**
|
|
18299
|
+
* Image ID
|
|
18300
|
+
*/
|
|
18301
|
+
imageId: string;
|
|
18302
|
+
/**
|
|
18303
|
+
* Whether the snapshot has enabled ultra-fast availability. Values are as follows: - true: Ultra-fast availability enabled - false: Ultra-fast availability not enabled
|
|
18304
|
+
*/
|
|
18305
|
+
instantAccess: boolean;
|
|
18306
|
+
/**
|
|
18307
|
+
* Dump progress
|
|
18308
|
+
*/
|
|
18309
|
+
progress: number;
|
|
18310
|
+
/**
|
|
18311
|
+
* Project of the snapshot
|
|
18312
|
+
*/
|
|
18313
|
+
projectName: string;
|
|
18314
|
+
/**
|
|
18315
|
+
* Retention days for automatic snapshots
|
|
18316
|
+
*/
|
|
18317
|
+
retentionDays: number;
|
|
18318
|
+
/**
|
|
18319
|
+
* Whether the snapshot is shared with others. Values are as follows: - true: Snapshot is shared with others - false: Snapshot is not shared with others
|
|
18320
|
+
*/
|
|
18321
|
+
shared: boolean;
|
|
18322
|
+
/**
|
|
18323
|
+
* Snapshot consistency group ID
|
|
18324
|
+
*/
|
|
18325
|
+
snapshotGroupId: string;
|
|
18326
|
+
/**
|
|
18327
|
+
* Snapshot ID
|
|
18328
|
+
*/
|
|
18329
|
+
snapshotId: string;
|
|
18330
|
+
/**
|
|
18331
|
+
* Snapshot name
|
|
18332
|
+
*/
|
|
18333
|
+
snapshotName: string;
|
|
18334
|
+
/**
|
|
18335
|
+
* Snapshot type. Values are as follows: - user: Manual snapshot - auto: Automatic snapshot
|
|
18336
|
+
*/
|
|
18337
|
+
snapshotType: string;
|
|
18338
|
+
/**
|
|
18339
|
+
* Snapshot status. Values are as follows: - available: Available - creating: Creating - rollbacking: Rolling back - deleted: Deleted - failed: Error
|
|
18340
|
+
*/
|
|
18341
|
+
status: string;
|
|
18342
|
+
tags: outputs.storageebs.SnapshotGroupSnapshotTag[];
|
|
18343
|
+
/**
|
|
18344
|
+
* Cloud disk ID
|
|
18345
|
+
*/
|
|
18346
|
+
volumeId: string;
|
|
18347
|
+
/**
|
|
18348
|
+
* Cloud disk category. Values are as follows: - system: System disk - data: Data disk
|
|
18349
|
+
*/
|
|
18350
|
+
volumeKind: string;
|
|
18351
|
+
/**
|
|
18352
|
+
* Cloud disk name
|
|
18353
|
+
*/
|
|
18354
|
+
volumeName: string;
|
|
18355
|
+
/**
|
|
18356
|
+
* Cloud disk size (GiB)
|
|
18357
|
+
*/
|
|
18358
|
+
volumeSize: number;
|
|
18359
|
+
/**
|
|
18360
|
+
* Cloud disk status. Values are as follows: - available: Available - attaching: Attaching - attached: Attached - detaching: Detaching - creating: Creating - deleting: Deleting - error: Error - extending: Expanding
|
|
18361
|
+
*/
|
|
18362
|
+
volumeStatus: string;
|
|
18363
|
+
/**
|
|
18364
|
+
* Cloud disk type. Values are as follows: - ESSD*PL0: Ultra-fast SSD cloud disk, PL0 specification - ESSD*FlexPL: Ultra-fast SSD cloud disk, FlexPL specification - TSSD_TL0: Throughput SSD cloud disk
|
|
18365
|
+
*/
|
|
18366
|
+
volumeType: string;
|
|
18367
|
+
/**
|
|
18368
|
+
* Zone ID. If ultra-fast availability is enabled for the snapshot, you can create a cloud disk in this zone using the ultra-fast available snapshot
|
|
18369
|
+
*/
|
|
18370
|
+
zoneId: string;
|
|
18371
|
+
}
|
|
18372
|
+
interface SnapshotGroupSnapshotTag {
|
|
18373
|
+
/**
|
|
18374
|
+
* Tag key
|
|
18375
|
+
*/
|
|
18376
|
+
key: string;
|
|
18377
|
+
/**
|
|
18378
|
+
* Tag value
|
|
18379
|
+
*/
|
|
18380
|
+
value: string;
|
|
18381
|
+
}
|
|
18382
|
+
interface SnapshotGroupTag {
|
|
18383
|
+
/**
|
|
18384
|
+
* Tag key
|
|
18385
|
+
*/
|
|
18386
|
+
key: string;
|
|
18387
|
+
/**
|
|
18388
|
+
* Tag value
|
|
18389
|
+
*/
|
|
18390
|
+
value: string;
|
|
18391
|
+
}
|
|
18392
|
+
interface SnapshotTag {
|
|
18393
|
+
/**
|
|
18394
|
+
* 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.
|
|
18395
|
+
*/
|
|
18396
|
+
key: string;
|
|
18397
|
+
/**
|
|
18398
|
+
* 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.
|
|
18399
|
+
*/
|
|
18400
|
+
value: string;
|
|
18401
|
+
}
|
|
18402
|
+
interface VolumeBaselinePerformance {
|
|
18403
|
+
/**
|
|
18404
|
+
* Total IOPS of the disk, which is the sum of the baseline IOPS and extra IOPS.
|
|
18405
|
+
*/
|
|
18406
|
+
iops: number;
|
|
18407
|
+
/**
|
|
18408
|
+
* The total throughput of the cloud disk is the sum of its baseline throughput and additional throughput.
|
|
18409
|
+
*/
|
|
18410
|
+
throughput: number;
|
|
18411
|
+
}
|
|
18412
|
+
interface VolumeExtraPerformance {
|
|
18413
|
+
/**
|
|
18414
|
+
* Type of extra performance. Value description: Balance: Balanced extra performance; IOPS: IOPS extra performance; Throughput: Throughput extra performance.
|
|
18415
|
+
*/
|
|
18416
|
+
extraPerformanceTypeId: string;
|
|
18417
|
+
/**
|
|
18418
|
+
* Extra IOPS of the disk.
|
|
18419
|
+
*/
|
|
18420
|
+
iops: number;
|
|
18421
|
+
/**
|
|
18422
|
+
* Extra throughput of the disk.
|
|
18423
|
+
*/
|
|
18424
|
+
throughput: number;
|
|
18425
|
+
}
|
|
18426
|
+
interface VolumeTag {
|
|
18427
|
+
/**
|
|
18428
|
+
* Tag key.
|
|
18429
|
+
*/
|
|
18430
|
+
key: string;
|
|
18431
|
+
/**
|
|
18432
|
+
* Tag value.
|
|
18433
|
+
*/
|
|
18434
|
+
value: string;
|
|
18435
|
+
}
|
|
18436
|
+
interface VolumeTotalPerformance {
|
|
18437
|
+
/**
|
|
18438
|
+
* Total IOPS of the disk, which is the sum of the baseline IOPS and extra IOPS.
|
|
18439
|
+
*/
|
|
18440
|
+
iops: number;
|
|
18441
|
+
/**
|
|
18442
|
+
* The total throughput of the cloud disk is the sum of its baseline throughput and additional throughput.
|
|
18443
|
+
*/
|
|
18444
|
+
throughput: number;
|
|
18445
|
+
}
|
|
18446
|
+
}
|
|
18447
|
+
export declare namespace tls {
|
|
18448
|
+
interface AlarmNotifyGroupNoticeRule {
|
|
18449
|
+
/**
|
|
18450
|
+
* Whether there is an end node afterwards.
|
|
18451
|
+
*/
|
|
18452
|
+
hasEndNode: boolean;
|
|
18453
|
+
/**
|
|
18454
|
+
* Condition for whether to proceed to the next level.
|
|
18455
|
+
*/
|
|
18456
|
+
hasNext: boolean;
|
|
18457
|
+
receiverInfos: outputs.tls.AlarmNotifyGroupNoticeRuleReceiverInfo[];
|
|
18458
|
+
/**
|
|
18459
|
+
* Rule node. JSON format.
|
|
18460
|
+
*/
|
|
18461
|
+
ruleNode: string;
|
|
18462
|
+
}
|
|
18463
|
+
interface AlarmNotifyGroupNoticeRuleReceiverInfo {
|
|
18464
|
+
/**
|
|
18465
|
+
* Alarm content template ID.
|
|
18466
|
+
*/
|
|
18467
|
+
alarmContentTemplateId: string;
|
|
18468
|
+
/**
|
|
18469
|
+
* User group name to notify when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration.
|
|
18470
|
+
*/
|
|
18471
|
+
alarmWebhookAtGroups: string[];
|
|
18472
|
+
/**
|
|
18473
|
+
* Username to notify when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration.
|
|
18474
|
+
*/
|
|
18475
|
+
alarmWebhookAtUsers: string[];
|
|
18476
|
+
/**
|
|
18477
|
+
* Alarm webhook integration configuration ID.
|
|
18478
|
+
*/
|
|
18479
|
+
alarmWebhookIntegrationId: string;
|
|
18480
|
+
/**
|
|
18481
|
+
* Name of the alarm Webhook integration configuration.
|
|
18482
|
+
*/
|
|
18483
|
+
alarmWebhookIntegrationName: string;
|
|
18484
|
+
/**
|
|
18485
|
+
* Whether to notify everyone when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration.
|
|
18486
|
+
*/
|
|
18487
|
+
alarmWebhookIsAtAll: boolean;
|
|
18488
|
+
/**
|
|
18489
|
+
* End time for receiving alarm notifications. Uses 24-hour format: HH:mm:ss, with a valid range of 00:00:00–23:59:59. StartTime cannot be greater than EndTime.
|
|
18490
|
+
*/
|
|
18491
|
+
endTime: string;
|
|
18492
|
+
/**
|
|
18493
|
+
* Custom WebHook request body. It is recommended to set the request body according to the callback interface requirements of the corresponding service.
|
|
18494
|
+
*/
|
|
18495
|
+
generalWebhookBody: string;
|
|
18496
|
+
generalWebhookHeaders: outputs.tls.AlarmNotifyGroupNoticeRuleReceiverInfoGeneralWebhookHeader[];
|
|
18497
|
+
/**
|
|
18498
|
+
* Custom callback method for the interface. Only POST or PUT is supported.
|
|
18499
|
+
*/
|
|
18500
|
+
generalWebhookMethod: string;
|
|
18501
|
+
/**
|
|
18502
|
+
* Custom callback URL for the interface.
|
|
18503
|
+
*/
|
|
18504
|
+
generalWebhookUrl: string;
|
|
18505
|
+
/**
|
|
18506
|
+
* Notification channels. Supports one or more channels. Options: Email, Sms, Phone, GeneralWebhook, Lark, DingTalk, WeChat.
|
|
18507
|
+
*/
|
|
18508
|
+
receiverChannels: string[];
|
|
18509
|
+
/**
|
|
18510
|
+
* IAM user or user group name.
|
|
18511
|
+
*/
|
|
18512
|
+
receiverNames: string[];
|
|
18513
|
+
/**
|
|
18514
|
+
* Recipient type. Options: User: IAM user; UserGroup: IAM user group.
|
|
18515
|
+
*/
|
|
18516
|
+
receiverType: string;
|
|
18517
|
+
/**
|
|
18518
|
+
* Alarm notification start time. Uses 24-hour format (HH:mm:ss), valid range is 00:00:00–23:59:59. StartTime cannot be later than EndTime.
|
|
18519
|
+
*/
|
|
18520
|
+
startTime: string;
|
|
18521
|
+
}
|
|
18522
|
+
interface AlarmNotifyGroupNoticeRuleReceiverInfoGeneralWebhookHeader {
|
|
18523
|
+
/**
|
|
18524
|
+
* Custom request header key.
|
|
18525
|
+
*/
|
|
18526
|
+
key: string;
|
|
18527
|
+
/**
|
|
18528
|
+
* Custom request header value.
|
|
18529
|
+
*/
|
|
18530
|
+
value: string;
|
|
18531
|
+
}
|
|
18532
|
+
interface AlarmNotifyGroupReceiver {
|
|
18533
|
+
/**
|
|
18534
|
+
* Alarm content template ID.
|
|
18535
|
+
*/
|
|
18536
|
+
alarmContentTemplateId: string;
|
|
18537
|
+
/**
|
|
18538
|
+
* User group name to notify when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration.
|
|
18539
|
+
*/
|
|
18540
|
+
alarmWebhookAtGroups: string[];
|
|
18541
|
+
/**
|
|
18542
|
+
* Username to notify when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration.
|
|
18543
|
+
*/
|
|
18544
|
+
alarmWebhookAtUsers: string[];
|
|
18545
|
+
/**
|
|
18546
|
+
* Alarm webhook integration configuration ID.
|
|
18547
|
+
*/
|
|
18548
|
+
alarmWebhookIntegrationId: string;
|
|
18549
|
+
/**
|
|
18550
|
+
* Name of the alarm Webhook integration configuration.
|
|
18551
|
+
*/
|
|
18552
|
+
alarmWebhookIntegrationName: string;
|
|
18553
|
+
/**
|
|
18554
|
+
* Whether to notify everyone when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration.
|
|
18555
|
+
*/
|
|
18556
|
+
alarmWebhookIsAtAll: boolean;
|
|
18557
|
+
/**
|
|
18558
|
+
* End time for receiving alarm notifications. Uses 24-hour format: HH:mm:ss, with a valid range of 00:00:00–23:59:59. StartTime cannot be greater than EndTime.
|
|
18559
|
+
*/
|
|
18560
|
+
endTime: string;
|
|
18561
|
+
/**
|
|
18562
|
+
* Custom WebHook request body. It is recommended to set the request body according to the callback interface requirements of the corresponding service.
|
|
18563
|
+
*/
|
|
18564
|
+
generalWebhookBody: string;
|
|
18565
|
+
generalWebhookHeaders: outputs.tls.AlarmNotifyGroupReceiverGeneralWebhookHeader[];
|
|
18566
|
+
/**
|
|
18567
|
+
* Custom callback method for the interface. Only POST or PUT is supported.
|
|
18568
|
+
*/
|
|
18569
|
+
generalWebhookMethod: string;
|
|
18570
|
+
/**
|
|
18571
|
+
* Custom callback URL for the interface.
|
|
18572
|
+
*/
|
|
18573
|
+
generalWebhookUrl: string;
|
|
18574
|
+
/**
|
|
18575
|
+
* Notification channels. Supports one or more channels. Options: Email, Sms, Phone, GeneralWebhook, Lark, DingTalk, WeChat.
|
|
18576
|
+
*/
|
|
18577
|
+
receiverChannels: string[];
|
|
18578
|
+
/**
|
|
18579
|
+
* IAM user or user group name.
|
|
18580
|
+
*/
|
|
18581
|
+
receiverNames: string[];
|
|
18582
|
+
/**
|
|
18583
|
+
* Recipient type. Options: User: IAM user; UserGroup: IAM user group.
|
|
18584
|
+
*/
|
|
18585
|
+
receiverType: string;
|
|
18586
|
+
/**
|
|
18587
|
+
* Alarm notification start time. Uses 24-hour format (HH:mm:ss), valid range is 00:00:00–23:59:59. StartTime cannot be later than EndTime.
|
|
18588
|
+
*/
|
|
18589
|
+
startTime: string;
|
|
18590
|
+
}
|
|
18591
|
+
interface AlarmNotifyGroupReceiverGeneralWebhookHeader {
|
|
18592
|
+
/**
|
|
18593
|
+
* Custom request header key.
|
|
18594
|
+
*/
|
|
18595
|
+
key: string;
|
|
18596
|
+
/**
|
|
18597
|
+
* Custom request header value.
|
|
18598
|
+
*/
|
|
18599
|
+
value: string;
|
|
18600
|
+
}
|
|
18601
|
+
interface GetAlarmNotifyGroupNoticeRule {
|
|
18602
|
+
/**
|
|
18603
|
+
* Whether there is an end node afterwards.
|
|
18604
|
+
*/
|
|
18605
|
+
hasEndNode: boolean;
|
|
18606
|
+
/**
|
|
18607
|
+
* Condition for whether to proceed to the next level.
|
|
18608
|
+
*/
|
|
18609
|
+
hasNext: boolean;
|
|
18610
|
+
/**
|
|
18611
|
+
* Notification channel information.
|
|
18612
|
+
*/
|
|
18613
|
+
receiverInfos: outputs.tls.GetAlarmNotifyGroupNoticeRuleReceiverInfo[];
|
|
18614
|
+
/**
|
|
18615
|
+
* Rule node. JSON format.
|
|
18616
|
+
*/
|
|
18617
|
+
ruleNode: string;
|
|
18618
|
+
}
|
|
18619
|
+
interface GetAlarmNotifyGroupNoticeRuleReceiverInfo {
|
|
18620
|
+
/**
|
|
18621
|
+
* Alarm content template ID.
|
|
18622
|
+
*/
|
|
18623
|
+
alarmContentTemplateId: string;
|
|
18624
|
+
/**
|
|
18625
|
+
* User group name to notify when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration.
|
|
18626
|
+
*/
|
|
18627
|
+
alarmWebhookAtGroups: string[];
|
|
18628
|
+
/**
|
|
18629
|
+
* Username to notify when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration.
|
|
18630
|
+
*/
|
|
18631
|
+
alarmWebhookAtUsers: string[];
|
|
18632
|
+
/**
|
|
18633
|
+
* Alarm webhook integration configuration ID.
|
|
18634
|
+
*/
|
|
18635
|
+
alarmWebhookIntegrationId: string;
|
|
18636
|
+
/**
|
|
18637
|
+
* Name of the alarm Webhook integration configuration.
|
|
18638
|
+
*/
|
|
18639
|
+
alarmWebhookIntegrationName: string;
|
|
18640
|
+
/**
|
|
18641
|
+
* Whether to notify everyone when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration.
|
|
18642
|
+
*/
|
|
18643
|
+
alarmWebhookIsAtAll: boolean;
|
|
18644
|
+
/**
|
|
18645
|
+
* End time for receiving alarm notifications. Uses 24-hour format: HH:mm:ss, with a valid range of 00:00:00–23:59:59. StartTime cannot be greater than EndTime.
|
|
18646
|
+
*/
|
|
18647
|
+
endTime: string;
|
|
18648
|
+
/**
|
|
18649
|
+
* Custom WebHook request body. It is recommended to set the request body according to the callback interface requirements of the corresponding service.
|
|
18650
|
+
*/
|
|
18651
|
+
generalWebhookBody: string;
|
|
18652
|
+
/**
|
|
18653
|
+
* Custom callback request headers for the interface.
|
|
18654
|
+
*/
|
|
18655
|
+
generalWebhookHeaders: outputs.tls.GetAlarmNotifyGroupNoticeRuleReceiverInfoGeneralWebhookHeader[];
|
|
18656
|
+
/**
|
|
18657
|
+
* Custom callback method for the interface. Only POST or PUT is supported.
|
|
18658
|
+
*/
|
|
18659
|
+
generalWebhookMethod: string;
|
|
18660
|
+
/**
|
|
18661
|
+
* Custom callback URL for the interface.
|
|
18662
|
+
*/
|
|
18663
|
+
generalWebhookUrl: string;
|
|
18664
|
+
/**
|
|
18665
|
+
* Notification channels. Supports one or more channels. Options: Email, Sms, Phone, GeneralWebhook, Lark, DingTalk, WeChat.
|
|
18666
|
+
*/
|
|
18667
|
+
receiverChannels: string[];
|
|
18668
|
+
/**
|
|
18669
|
+
* IAM user or user group name.
|
|
18670
|
+
*/
|
|
18671
|
+
receiverNames: string[];
|
|
18672
|
+
/**
|
|
18673
|
+
* Recipient type. Options: User: IAM user; UserGroup: IAM user group.
|
|
18674
|
+
*/
|
|
18675
|
+
receiverType: string;
|
|
18676
|
+
/**
|
|
18677
|
+
* Alarm notification start time. Uses 24-hour format (HH:mm:ss), valid range is 00:00:00–23:59:59. StartTime cannot be later than EndTime.
|
|
18678
|
+
*/
|
|
18679
|
+
startTime: string;
|
|
18680
|
+
}
|
|
18681
|
+
interface GetAlarmNotifyGroupNoticeRuleReceiverInfoGeneralWebhookHeader {
|
|
18682
|
+
/**
|
|
18683
|
+
* Custom request header key.
|
|
18684
|
+
*/
|
|
18685
|
+
key: string;
|
|
18686
|
+
/**
|
|
18687
|
+
* Custom request header value.
|
|
18688
|
+
*/
|
|
18689
|
+
value: string;
|
|
18690
|
+
}
|
|
18691
|
+
interface GetAlarmNotifyGroupReceiver {
|
|
18692
|
+
/**
|
|
18693
|
+
* Alarm content template ID.
|
|
18694
|
+
*/
|
|
18695
|
+
alarmContentTemplateId: string;
|
|
18696
|
+
/**
|
|
18697
|
+
* User group name to notify when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration.
|
|
18698
|
+
*/
|
|
18699
|
+
alarmWebhookAtGroups: string[];
|
|
18700
|
+
/**
|
|
18701
|
+
* Username to notify when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration.
|
|
18702
|
+
*/
|
|
18703
|
+
alarmWebhookAtUsers: string[];
|
|
18704
|
+
/**
|
|
18705
|
+
* Alarm webhook integration configuration ID.
|
|
18706
|
+
*/
|
|
18707
|
+
alarmWebhookIntegrationId: string;
|
|
18708
|
+
/**
|
|
18709
|
+
* Name of the alarm Webhook integration configuration.
|
|
18710
|
+
*/
|
|
18711
|
+
alarmWebhookIntegrationName: string;
|
|
18712
|
+
/**
|
|
18713
|
+
* Whether to notify everyone when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration.
|
|
18714
|
+
*/
|
|
18715
|
+
alarmWebhookIsAtAll: boolean;
|
|
18716
|
+
/**
|
|
18717
|
+
* End time for receiving alarm notifications. Uses 24-hour format: HH:mm:ss, with a valid range of 00:00:00–23:59:59. StartTime cannot be greater than EndTime.
|
|
18718
|
+
*/
|
|
18719
|
+
endTime: string;
|
|
18720
|
+
/**
|
|
18721
|
+
* Custom WebHook request body. It is recommended to set the request body according to the callback interface requirements of the corresponding service.
|
|
18722
|
+
*/
|
|
18723
|
+
generalWebhookBody: string;
|
|
18724
|
+
/**
|
|
18725
|
+
* Custom callback request headers for the interface.
|
|
18726
|
+
*/
|
|
18727
|
+
generalWebhookHeaders: outputs.tls.GetAlarmNotifyGroupReceiverGeneralWebhookHeader[];
|
|
18728
|
+
/**
|
|
18729
|
+
* Custom callback method for the interface. Only POST or PUT is supported.
|
|
18730
|
+
*/
|
|
18731
|
+
generalWebhookMethod: string;
|
|
18732
|
+
/**
|
|
18733
|
+
* Custom callback URL for the interface.
|
|
18734
|
+
*/
|
|
18735
|
+
generalWebhookUrl: string;
|
|
18736
|
+
/**
|
|
18737
|
+
* Notification channels. Supports one or more channels. Options: Email, Sms, Phone, GeneralWebhook, Lark, DingTalk, WeChat.
|
|
18738
|
+
*/
|
|
18739
|
+
receiverChannels: string[];
|
|
18740
|
+
/**
|
|
18741
|
+
* IAM user or user group name.
|
|
18742
|
+
*/
|
|
18743
|
+
receiverNames: string[];
|
|
18744
|
+
/**
|
|
18745
|
+
* Recipient type. Options: User: IAM user; UserGroup: IAM user group.
|
|
18746
|
+
*/
|
|
18747
|
+
receiverType: string;
|
|
18748
|
+
/**
|
|
18749
|
+
* Alarm notification start time. Uses 24-hour format (HH:mm:ss), valid range is 00:00:00–23:59:59. StartTime cannot be later than EndTime.
|
|
18750
|
+
*/
|
|
18751
|
+
startTime: string;
|
|
18752
|
+
}
|
|
18753
|
+
interface GetAlarmNotifyGroupReceiverGeneralWebhookHeader {
|
|
18754
|
+
/**
|
|
18755
|
+
* Custom request header key.
|
|
18756
|
+
*/
|
|
18757
|
+
key: string;
|
|
18758
|
+
/**
|
|
18759
|
+
* Custom request header value.
|
|
18760
|
+
*/
|
|
18761
|
+
value: string;
|
|
18762
|
+
}
|
|
18763
|
+
interface GetImportTaskImportSourceInfo {
|
|
18764
|
+
/**
|
|
18765
|
+
* Kafka data source information. When sourceType is kafka, the KafkaSourceInfo field is required
|
|
18766
|
+
*/
|
|
18767
|
+
kafkaSourceInfo: outputs.tls.GetImportTaskImportSourceInfoKafkaSourceInfo;
|
|
18768
|
+
/**
|
|
18769
|
+
* TOS data source information. When sourceType is tos, the TosSourceInfo field is required.
|
|
18770
|
+
*/
|
|
18771
|
+
tosSourceInfo: outputs.tls.GetImportTaskImportSourceInfoTosSourceInfo;
|
|
18772
|
+
}
|
|
18773
|
+
interface GetImportTaskImportSourceInfoKafkaSourceInfo {
|
|
18774
|
+
/**
|
|
18775
|
+
* Data encoding format. Available options: UTF-8, GBK.
|
|
18776
|
+
*/
|
|
18777
|
+
encode: string;
|
|
18778
|
+
/**
|
|
18779
|
+
* Kafka consumer group. If not specified, the system will automatically create a Kafka consumer group.
|
|
18780
|
+
*/
|
|
18781
|
+
group: string;
|
|
18782
|
+
/**
|
|
18783
|
+
* 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 (,).
|
|
18784
|
+
*/
|
|
18785
|
+
host: string;
|
|
18786
|
+
/**
|
|
18787
|
+
* 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.
|
|
18788
|
+
*/
|
|
18789
|
+
initialOffset: number;
|
|
18790
|
+
/**
|
|
18791
|
+
* If you are using Message Queue Kafka Edition, set this to the Kafka instance ID.
|
|
18792
|
+
*/
|
|
18793
|
+
instanceId: string;
|
|
18794
|
+
/**
|
|
18795
|
+
* Whether to enable authentication. If you use a public service address, it is recommended to enable authentication.
|
|
18796
|
+
*/
|
|
18797
|
+
isNeedAuth: boolean;
|
|
18798
|
+
/**
|
|
18799
|
+
* Password authentication mechanism. Available options: PLAIN, SCRAM-SHA-256, and SCRAM-SHA-512.
|
|
18800
|
+
*/
|
|
18801
|
+
mechanism: string;
|
|
18802
|
+
/**
|
|
18803
|
+
* Kafka SASL user password for authentication.
|
|
18804
|
+
*/
|
|
18805
|
+
password: string;
|
|
18806
|
+
/**
|
|
18807
|
+
* Secure transmission protocol. Options include plaintext, sasl*ssl, ssl, and sasl*plaintext
|
|
18808
|
+
*/
|
|
18809
|
+
protocol: string;
|
|
18810
|
+
/**
|
|
18811
|
+
* Specify log time. Options: 0: Use Kafka message timestamp. 1: Use current system time.
|
|
18812
|
+
*/
|
|
18813
|
+
timeSourceDefault: number;
|
|
18814
|
+
/**
|
|
18815
|
+
* Kafka Topic name. Separate multiple Kafka Topics with commas (,).
|
|
18816
|
+
*/
|
|
18817
|
+
topic: string;
|
|
18818
|
+
/**
|
|
18819
|
+
* Kafka SASL username for authentication.
|
|
18820
|
+
*/
|
|
18821
|
+
username: string;
|
|
18822
|
+
}
|
|
18823
|
+
interface GetImportTaskImportSourceInfoTosSourceInfo {
|
|
18824
|
+
/**
|
|
18825
|
+
* TOS bucket name
|
|
18826
|
+
*/
|
|
18827
|
+
bucket: string;
|
|
18828
|
+
/**
|
|
18829
|
+
* Compression mode for data in the TOS bucket. none: No compression. snappy: Compress using snappy. gzip: Compress using gzip. lz4: Compress using lz4.
|
|
18830
|
+
*/
|
|
18831
|
+
compressType: string;
|
|
18832
|
+
/**
|
|
18833
|
+
* Path of the file to be imported in the TOS bucket.
|
|
18834
|
+
*/
|
|
18835
|
+
prefix: string;
|
|
18836
|
+
/**
|
|
18837
|
+
* Region where the TOS bucket is located. Cross-region data import is supported
|
|
18838
|
+
*/
|
|
18839
|
+
region: string;
|
|
18840
|
+
}
|
|
18841
|
+
interface GetImportTaskTargetInfo {
|
|
18842
|
+
/**
|
|
18843
|
+
* Log extraction rule.
|
|
18844
|
+
*/
|
|
18845
|
+
extractRule: outputs.tls.GetImportTaskTargetInfoExtractRule;
|
|
18846
|
+
/**
|
|
18847
|
+
* 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.
|
|
18848
|
+
*/
|
|
18849
|
+
logSample: string;
|
|
18850
|
+
/**
|
|
18851
|
+
* 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.
|
|
18852
|
+
*/
|
|
18853
|
+
logType: string;
|
|
18854
|
+
/**
|
|
18855
|
+
* Region.
|
|
18856
|
+
*/
|
|
18857
|
+
region: string;
|
|
18858
|
+
}
|
|
18859
|
+
interface GetImportTaskTargetInfoExtractRule {
|
|
18860
|
+
/**
|
|
18861
|
+
* Basic content of log extraction rules.
|
|
18862
|
+
*/
|
|
18863
|
+
extractRule: outputs.tls.GetImportTaskTargetInfoExtractRuleExtractRule;
|
|
18864
|
+
/**
|
|
18865
|
+
* Number of skipped rows. Only valid when the log type is delimiterLog and the import type is tos.
|
|
18866
|
+
*/
|
|
18867
|
+
skipLineCount: number;
|
|
18868
|
+
/**
|
|
18869
|
+
* Time extraction regular expression, used to extract the time value from the TimeKey field and parse it as the collection time
|
|
18870
|
+
*/
|
|
18871
|
+
timeExtractRegex: string;
|
|
18872
|
+
/**
|
|
18873
|
+
* 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.
|
|
18874
|
+
*/
|
|
18875
|
+
timeZone: string;
|
|
18876
|
+
}
|
|
18877
|
+
interface GetImportTaskTargetInfoExtractRuleExtractRule {
|
|
18878
|
+
/**
|
|
18879
|
+
* 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
|
|
18880
|
+
*/
|
|
18881
|
+
beginRegex: string;
|
|
18882
|
+
/**
|
|
18883
|
+
* Delimiter. Only valid when LogType is delimiter_log.
|
|
18884
|
+
*/
|
|
18885
|
+
delimiter: string;
|
|
18886
|
+
/**
|
|
18887
|
+
* Enable nanoseconds.
|
|
18888
|
+
*/
|
|
18889
|
+
enableNanosecond: boolean;
|
|
18890
|
+
/**
|
|
18891
|
+
* Filter key regular expression.
|
|
18892
|
+
*/
|
|
18893
|
+
filterKeyRegexes: outputs.tls.GetImportTaskTargetInfoExtractRuleExtractRuleFilterKeyRegex[];
|
|
18894
|
+
/**
|
|
18895
|
+
* 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
|
|
18896
|
+
*/
|
|
18897
|
+
keys: string[];
|
|
18898
|
+
/**
|
|
18899
|
+
* Log regular expression
|
|
18900
|
+
*/
|
|
18901
|
+
logRegex: string;
|
|
18902
|
+
/**
|
|
18903
|
+
* Log template.
|
|
18904
|
+
*/
|
|
18905
|
+
logTemplate: outputs.tls.GetImportTaskTargetInfoExtractRuleExtractRuleLogTemplate;
|
|
18906
|
+
/**
|
|
18907
|
+
* 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.
|
|
18908
|
+
*/
|
|
18909
|
+
quote: string;
|
|
18910
|
+
/**
|
|
18911
|
+
* 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.
|
|
18912
|
+
*/
|
|
18913
|
+
timeFormat: string;
|
|
18914
|
+
/**
|
|
18915
|
+
* 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
|
|
18916
|
+
*/
|
|
18917
|
+
timeKey: string;
|
|
18918
|
+
/**
|
|
18919
|
+
* Time sample. Used to verify whether the entered time parsing format is correct
|
|
18920
|
+
*/
|
|
18921
|
+
timeSample: string;
|
|
18922
|
+
/**
|
|
18923
|
+
* When uploading logs that failed to parse, specify the key name for the failed logs. UnMatchUpLoadSwitch=true and UnMatchLogKey must be used together.
|
|
18924
|
+
*/
|
|
18925
|
+
unMatchLogKey: string;
|
|
18926
|
+
/**
|
|
18927
|
+
* 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.
|
|
18928
|
+
*/
|
|
18929
|
+
unMatchUpLoadSwitch: boolean;
|
|
18930
|
+
}
|
|
18931
|
+
interface GetImportTaskTargetInfoExtractRuleExtractRuleFilterKeyRegex {
|
|
18932
|
+
/**
|
|
18933
|
+
* Key.
|
|
18934
|
+
*/
|
|
18935
|
+
key: string;
|
|
18936
|
+
/**
|
|
18937
|
+
* Regular expression.
|
|
18938
|
+
*/
|
|
18939
|
+
regex: string;
|
|
18940
|
+
}
|
|
18941
|
+
interface GetImportTaskTargetInfoExtractRuleExtractRuleLogTemplate {
|
|
18942
|
+
/**
|
|
18943
|
+
* Format.
|
|
18944
|
+
*/
|
|
18945
|
+
format: string;
|
|
18946
|
+
/**
|
|
18947
|
+
* Type
|
|
18948
|
+
*/
|
|
18949
|
+
type: string;
|
|
18950
|
+
}
|
|
18951
|
+
interface GetImportTaskTaskStatistics {
|
|
18952
|
+
/**
|
|
18953
|
+
* Total resource bytes enumerated
|
|
18954
|
+
*/
|
|
18955
|
+
bytesTotal: number;
|
|
18956
|
+
/**
|
|
18957
|
+
* Bytes transferred.
|
|
18958
|
+
*/
|
|
18959
|
+
bytesTransferred: number;
|
|
18960
|
+
/**
|
|
18961
|
+
* Number of resources failed to import.
|
|
18962
|
+
*/
|
|
18963
|
+
failed: number;
|
|
18964
|
+
/**
|
|
18965
|
+
* Number of resources not found.
|
|
18966
|
+
*/
|
|
18967
|
+
notExist: number;
|
|
18968
|
+
/**
|
|
18969
|
+
* Number of resources skipped during import
|
|
18970
|
+
*/
|
|
18971
|
+
skipped: number;
|
|
18972
|
+
/**
|
|
18973
|
+
* Task status. Status of the import task. Preparing: Preparing for import. Importing: Importing data. Success: Import completed successfully. Failed: Import failed. Stopped: Import paused.
|
|
18974
|
+
*/
|
|
18975
|
+
taskStatus: string;
|
|
18976
|
+
/**
|
|
18977
|
+
* Total number of resources enumerated.
|
|
18978
|
+
*/
|
|
18979
|
+
total: number;
|
|
18980
|
+
/**
|
|
18981
|
+
* Number of records transferred.
|
|
18982
|
+
*/
|
|
18983
|
+
transferred: number;
|
|
18984
|
+
}
|
|
18985
|
+
interface GetIndexFullText {
|
|
18986
|
+
/**
|
|
18987
|
+
* Case sensitivity. true: Case sensitive. false: Not case sensitive.
|
|
18988
|
+
*/
|
|
18989
|
+
caseSensitive: boolean;
|
|
18990
|
+
/**
|
|
18991
|
+
* 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.
|
|
18992
|
+
*/
|
|
18993
|
+
delimiter: string;
|
|
18994
|
+
/**
|
|
18995
|
+
* 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.
|
|
18996
|
+
*/
|
|
18997
|
+
includeChinese: boolean;
|
|
18998
|
+
}
|
|
18999
|
+
interface GetIndexKeyValue {
|
|
19000
|
+
/**
|
|
19001
|
+
* 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.
|
|
19002
|
+
*/
|
|
19003
|
+
key: string;
|
|
19004
|
+
/**
|
|
19005
|
+
* Field description information required for configuring key-value indexes.
|
|
19006
|
+
*/
|
|
19007
|
+
value: outputs.tls.GetIndexKeyValueValue;
|
|
19008
|
+
}
|
|
19009
|
+
interface GetIndexKeyValueValue {
|
|
19010
|
+
/**
|
|
19011
|
+
* Indicates whether the index was added automatically. true: The index was added automatically. false: The index was not added automatically.
|
|
19012
|
+
*/
|
|
19013
|
+
autoIndexFlag: boolean;
|
|
19014
|
+
/**
|
|
19015
|
+
* Whether to distinguish case. Default is false.
|
|
19016
|
+
*/
|
|
19017
|
+
caseSensitive: boolean;
|
|
19018
|
+
/**
|
|
19019
|
+
* 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.
|
|
19020
|
+
*/
|
|
19021
|
+
delimiter: string;
|
|
19022
|
+
/**
|
|
19023
|
+
* 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.
|
|
19024
|
+
*/
|
|
19025
|
+
includeChinese: boolean;
|
|
19026
|
+
/**
|
|
19027
|
+
* Create indexes for all fields with text values in the JSON field.
|
|
19028
|
+
*/
|
|
19029
|
+
indexAll: boolean;
|
|
19030
|
+
/**
|
|
19031
|
+
* Enable automatic indexing and statistics for JSON fields. true: Enable automatic indexing and statistics. false: Disable automatic indexing and statistics.
|
|
19032
|
+
*/
|
|
19033
|
+
indexSqlAll: boolean;
|
|
19034
|
+
/**
|
|
19035
|
+
* 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.
|
|
19036
|
+
*/
|
|
19037
|
+
jsonKeys: outputs.tls.GetIndexKeyValueValueJsonKey[];
|
|
19038
|
+
/**
|
|
19039
|
+
* 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.
|
|
19040
|
+
*/
|
|
19041
|
+
sqlFlag: boolean;
|
|
19042
|
+
/**
|
|
19043
|
+
* 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.
|
|
19044
|
+
*/
|
|
19045
|
+
valueType: string;
|
|
19046
|
+
}
|
|
19047
|
+
interface GetIndexKeyValueValueJsonKey {
|
|
19048
|
+
/**
|
|
19049
|
+
* 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.
|
|
19050
|
+
*/
|
|
19051
|
+
key: string;
|
|
19052
|
+
/**
|
|
19053
|
+
* Field description information required for configuring key-value indexes.
|
|
19054
|
+
*/
|
|
19055
|
+
value: outputs.tls.GetIndexKeyValueValueJsonKeyValue;
|
|
19056
|
+
}
|
|
19057
|
+
interface GetIndexKeyValueValueJsonKeyValue {
|
|
19058
|
+
/**
|
|
19059
|
+
* Indicates whether the index was added automatically. true: The index was added automatically. false: The index was not added automatically.
|
|
19060
|
+
*/
|
|
19061
|
+
autoIndexFlag: boolean;
|
|
19062
|
+
/**
|
|
19063
|
+
* Whether to distinguish case. Default is false.
|
|
19064
|
+
*/
|
|
19065
|
+
caseSensitive: boolean;
|
|
19066
|
+
/**
|
|
19067
|
+
* 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.
|
|
19068
|
+
*/
|
|
19069
|
+
delimiter: string;
|
|
19070
|
+
/**
|
|
19071
|
+
* 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.
|
|
19072
|
+
*/
|
|
19073
|
+
includeChinese: boolean;
|
|
19074
|
+
/**
|
|
19075
|
+
* Create indexes for all fields with text values in the JSON field.
|
|
19076
|
+
*/
|
|
19077
|
+
indexAll: boolean;
|
|
19078
|
+
/**
|
|
19079
|
+
* Enable automatic indexing and statistics for JSON fields. true: Enable automatic indexing and statistics. false: Disable automatic indexing and statistics.
|
|
19080
|
+
*/
|
|
19081
|
+
indexSqlAll: boolean;
|
|
19082
|
+
/**
|
|
19083
|
+
* 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.
|
|
19084
|
+
*/
|
|
19085
|
+
sqlFlag: boolean;
|
|
19086
|
+
/**
|
|
19087
|
+
* 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.
|
|
19088
|
+
*/
|
|
19089
|
+
valueType: string;
|
|
19090
|
+
}
|
|
19091
|
+
interface GetIndexUserInnerKeyValue {
|
|
19092
|
+
/**
|
|
19093
|
+
* 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.
|
|
19094
|
+
*/
|
|
19095
|
+
key: string;
|
|
19096
|
+
/**
|
|
19097
|
+
* Field description information required for configuring key-value indexes.
|
|
19098
|
+
*/
|
|
19099
|
+
value: outputs.tls.GetIndexUserInnerKeyValueValue;
|
|
19100
|
+
}
|
|
19101
|
+
interface GetIndexUserInnerKeyValueValue {
|
|
19102
|
+
/**
|
|
19103
|
+
* Indicates whether the index was added automatically. true: The index was added automatically. false: The index was not added automatically.
|
|
19104
|
+
*/
|
|
19105
|
+
autoIndexFlag: boolean;
|
|
19106
|
+
/**
|
|
19107
|
+
* Whether to distinguish case. Default is false.
|
|
19108
|
+
*/
|
|
19109
|
+
caseSensitive: boolean;
|
|
19110
|
+
/**
|
|
19111
|
+
* 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.
|
|
19112
|
+
*/
|
|
19113
|
+
delimiter: string;
|
|
19114
|
+
/**
|
|
19115
|
+
* 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.
|
|
19116
|
+
*/
|
|
19117
|
+
includeChinese: boolean;
|
|
19118
|
+
/**
|
|
19119
|
+
* Create indexes for all fields with text values in the JSON field.
|
|
19120
|
+
*/
|
|
19121
|
+
indexAll: boolean;
|
|
19122
|
+
/**
|
|
19123
|
+
* Enable automatic indexing and statistics for JSON fields. true: Enable automatic indexing and statistics. false: Disable automatic indexing and statistics.
|
|
19124
|
+
*/
|
|
19125
|
+
indexSqlAll: boolean;
|
|
19126
|
+
/**
|
|
19127
|
+
* 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.
|
|
19128
|
+
*/
|
|
19129
|
+
jsonKeys: outputs.tls.GetIndexUserInnerKeyValueValueJsonKey[];
|
|
19130
|
+
/**
|
|
19131
|
+
* 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.
|
|
19132
|
+
*/
|
|
19133
|
+
sqlFlag: boolean;
|
|
19134
|
+
/**
|
|
19135
|
+
* 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.
|
|
19136
|
+
*/
|
|
19137
|
+
valueType: string;
|
|
19138
|
+
}
|
|
19139
|
+
interface GetIndexUserInnerKeyValueValueJsonKey {
|
|
19140
|
+
/**
|
|
19141
|
+
* 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.
|
|
19142
|
+
*/
|
|
19143
|
+
key: string;
|
|
19144
|
+
/**
|
|
19145
|
+
* Field description information required for configuring key-value indexes.
|
|
19146
|
+
*/
|
|
19147
|
+
value: outputs.tls.GetIndexUserInnerKeyValueValueJsonKeyValue;
|
|
19148
|
+
}
|
|
19149
|
+
interface GetIndexUserInnerKeyValueValueJsonKeyValue {
|
|
19150
|
+
/**
|
|
19151
|
+
* Indicates whether the index was added automatically. true: The index was added automatically. false: The index was not added automatically.
|
|
19152
|
+
*/
|
|
19153
|
+
autoIndexFlag: boolean;
|
|
19154
|
+
/**
|
|
19155
|
+
* Whether to distinguish case. Default is false.
|
|
19156
|
+
*/
|
|
19157
|
+
caseSensitive: boolean;
|
|
19158
|
+
/**
|
|
19159
|
+
* 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.
|
|
19160
|
+
*/
|
|
19161
|
+
delimiter: string;
|
|
19162
|
+
/**
|
|
19163
|
+
* 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.
|
|
19164
|
+
*/
|
|
19165
|
+
includeChinese: boolean;
|
|
19166
|
+
/**
|
|
19167
|
+
* Create indexes for all fields with text values in the JSON field.
|
|
19168
|
+
*/
|
|
19169
|
+
indexAll: boolean;
|
|
19170
|
+
/**
|
|
19171
|
+
* Enable automatic indexing and statistics for JSON fields. true: Enable automatic indexing and statistics. false: Disable automatic indexing and statistics.
|
|
19172
|
+
*/
|
|
19173
|
+
indexSqlAll: boolean;
|
|
19174
|
+
/**
|
|
19175
|
+
* 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.
|
|
19176
|
+
*/
|
|
19177
|
+
sqlFlag: boolean;
|
|
19178
|
+
/**
|
|
19179
|
+
* 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.
|
|
19180
|
+
*/
|
|
19181
|
+
valueType: string;
|
|
19182
|
+
}
|
|
19183
|
+
interface GetProjectTag {
|
|
19184
|
+
/**
|
|
19185
|
+
* Tag key
|
|
19186
|
+
*/
|
|
19187
|
+
key: string;
|
|
19188
|
+
/**
|
|
19189
|
+
* Tag value
|
|
19190
|
+
*/
|
|
19191
|
+
value: string;
|
|
19192
|
+
}
|
|
19193
|
+
interface GetRuleContainerRule {
|
|
19194
|
+
/**
|
|
19195
|
+
* 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.
|
|
19196
|
+
*/
|
|
19197
|
+
containerNameRegex: string;
|
|
19198
|
+
/**
|
|
19199
|
+
* 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
|
|
19200
|
+
*/
|
|
19201
|
+
envTags: outputs.tls.GetRuleContainerRuleEnvTag[];
|
|
19202
|
+
/**
|
|
19203
|
+
* 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.
|
|
19204
|
+
*/
|
|
19205
|
+
excludeContainerEnvRegexes: outputs.tls.GetRuleContainerRuleExcludeContainerEnvRegex[];
|
|
19206
|
+
/**
|
|
19207
|
+
* 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.
|
|
19208
|
+
*/
|
|
19209
|
+
excludeContainerLabelRegexes: outputs.tls.GetRuleContainerRuleExcludeContainerLabelRegex[];
|
|
19210
|
+
/**
|
|
19211
|
+
* 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.
|
|
19212
|
+
*/
|
|
19213
|
+
includeContainerEnvRegexes: outputs.tls.GetRuleContainerRuleIncludeContainerEnvRegex[];
|
|
19214
|
+
/**
|
|
19215
|
+
* 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.
|
|
19216
|
+
*/
|
|
19217
|
+
includeContainerLabelRegexes: outputs.tls.GetRuleContainerRuleIncludeContainerLabelRegex[];
|
|
19218
|
+
/**
|
|
19219
|
+
* Kubernetes container collection rules.
|
|
19220
|
+
*/
|
|
19221
|
+
kubernetesRule: outputs.tls.GetRuleContainerRuleKubernetesRule;
|
|
19222
|
+
/**
|
|
19223
|
+
* 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).
|
|
19224
|
+
*/
|
|
19225
|
+
stream: string;
|
|
19226
|
+
}
|
|
19227
|
+
interface GetRuleContainerRuleEnvTag {
|
|
19228
|
+
/**
|
|
19229
|
+
* Key.
|
|
19230
|
+
*/
|
|
19231
|
+
key: string;
|
|
19232
|
+
/**
|
|
19233
|
+
* Value.
|
|
19234
|
+
*/
|
|
19235
|
+
val: string;
|
|
19236
|
+
}
|
|
19237
|
+
interface GetRuleContainerRuleExcludeContainerEnvRegex {
|
|
19238
|
+
/**
|
|
19239
|
+
* Key.
|
|
19240
|
+
*/
|
|
19241
|
+
key: string;
|
|
19242
|
+
/**
|
|
19243
|
+
* Value.
|
|
19244
|
+
*/
|
|
19245
|
+
val: string;
|
|
19246
|
+
}
|
|
19247
|
+
interface GetRuleContainerRuleExcludeContainerLabelRegex {
|
|
19248
|
+
/**
|
|
19249
|
+
* Key.
|
|
19250
|
+
*/
|
|
19251
|
+
key: string;
|
|
19252
|
+
/**
|
|
19253
|
+
* Value.
|
|
19254
|
+
*/
|
|
19255
|
+
val: string;
|
|
19256
|
+
}
|
|
19257
|
+
interface GetRuleContainerRuleIncludeContainerEnvRegex {
|
|
19258
|
+
/**
|
|
19259
|
+
* Key.
|
|
19260
|
+
*/
|
|
19261
|
+
key: string;
|
|
19262
|
+
/**
|
|
19263
|
+
* Value.
|
|
19264
|
+
*/
|
|
19265
|
+
val: string;
|
|
19266
|
+
}
|
|
19267
|
+
interface GetRuleContainerRuleIncludeContainerLabelRegex {
|
|
19268
|
+
/**
|
|
19269
|
+
* Key.
|
|
19270
|
+
*/
|
|
19271
|
+
key: string;
|
|
19272
|
+
/**
|
|
19273
|
+
* Value.
|
|
19274
|
+
*/
|
|
19275
|
+
val: string;
|
|
19276
|
+
}
|
|
19277
|
+
interface GetRuleContainerRuleKubernetesRule {
|
|
19278
|
+
/**
|
|
19279
|
+
* 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.
|
|
19280
|
+
*/
|
|
19281
|
+
annotationTags: outputs.tls.GetRuleContainerRuleKubernetesRuleAnnotationTag[];
|
|
19282
|
+
/**
|
|
19283
|
+
* 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.
|
|
19284
|
+
*/
|
|
19285
|
+
enableAllLabelTag: boolean;
|
|
19286
|
+
/**
|
|
19287
|
+
* 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
|
|
19288
|
+
*/
|
|
19289
|
+
excludePodAnnotationRegexes: outputs.tls.GetRuleContainerRuleKubernetesRuleExcludePodAnnotationRegex[];
|
|
19290
|
+
/**
|
|
19291
|
+
* 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
|
|
19292
|
+
*/
|
|
19293
|
+
excludePodLabelRegexes: outputs.tls.GetRuleContainerRuleKubernetesRuleExcludePodLabelRegex[];
|
|
19294
|
+
/**
|
|
19295
|
+
* 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.
|
|
19296
|
+
*/
|
|
19297
|
+
includePodAnnotationRegexes: outputs.tls.GetRuleContainerRuleKubernetesRuleIncludePodAnnotationRegex[];
|
|
19298
|
+
/**
|
|
19299
|
+
* 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.
|
|
19300
|
+
*/
|
|
19301
|
+
includePodLabelRegexes: outputs.tls.GetRuleContainerRuleKubernetesRuleIncludePodLabelRegex[];
|
|
19302
|
+
/**
|
|
19303
|
+
* 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.
|
|
19304
|
+
*/
|
|
19305
|
+
labelTags: outputs.tls.GetRuleContainerRuleKubernetesRuleLabelTag[];
|
|
19306
|
+
/**
|
|
19307
|
+
* 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.
|
|
19308
|
+
*/
|
|
19309
|
+
namespaceNameRegex: string;
|
|
19310
|
+
/**
|
|
19311
|
+
* 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.
|
|
19312
|
+
*/
|
|
19313
|
+
podNameRegex: string;
|
|
19314
|
+
/**
|
|
19315
|
+
* 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.
|
|
19316
|
+
*/
|
|
19317
|
+
workloadNameRegex: string;
|
|
19318
|
+
/**
|
|
19319
|
+
* 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
|
|
19320
|
+
*/
|
|
19321
|
+
workloadType: string;
|
|
19322
|
+
}
|
|
19323
|
+
interface GetRuleContainerRuleKubernetesRuleAnnotationTag {
|
|
19324
|
+
/**
|
|
19325
|
+
* Key.
|
|
19326
|
+
*/
|
|
19327
|
+
key: string;
|
|
19328
|
+
/**
|
|
19329
|
+
* Value.
|
|
19330
|
+
*/
|
|
19331
|
+
val: string;
|
|
19332
|
+
}
|
|
19333
|
+
interface GetRuleContainerRuleKubernetesRuleExcludePodAnnotationRegex {
|
|
19334
|
+
/**
|
|
19335
|
+
* Key.
|
|
19336
|
+
*/
|
|
19337
|
+
key: string;
|
|
19338
|
+
/**
|
|
19339
|
+
* Value.
|
|
19340
|
+
*/
|
|
19341
|
+
val: string;
|
|
19342
|
+
}
|
|
19343
|
+
interface GetRuleContainerRuleKubernetesRuleExcludePodLabelRegex {
|
|
19344
|
+
/**
|
|
19345
|
+
* Key.
|
|
19346
|
+
*/
|
|
19347
|
+
key: string;
|
|
19348
|
+
/**
|
|
19349
|
+
* Value.
|
|
19350
|
+
*/
|
|
19351
|
+
val: string;
|
|
19352
|
+
}
|
|
19353
|
+
interface GetRuleContainerRuleKubernetesRuleIncludePodAnnotationRegex {
|
|
19354
|
+
/**
|
|
19355
|
+
* Key.
|
|
19356
|
+
*/
|
|
19357
|
+
key: string;
|
|
19358
|
+
/**
|
|
19359
|
+
* Value.
|
|
19360
|
+
*/
|
|
19361
|
+
val: string;
|
|
19362
|
+
}
|
|
19363
|
+
interface GetRuleContainerRuleKubernetesRuleIncludePodLabelRegex {
|
|
19364
|
+
/**
|
|
19365
|
+
* Key.
|
|
19366
|
+
*/
|
|
19367
|
+
key: string;
|
|
19368
|
+
/**
|
|
19369
|
+
* Value.
|
|
19370
|
+
*/
|
|
19371
|
+
val: string;
|
|
19372
|
+
}
|
|
19373
|
+
interface GetRuleContainerRuleKubernetesRuleLabelTag {
|
|
19374
|
+
/**
|
|
19375
|
+
* Key.
|
|
19376
|
+
*/
|
|
19377
|
+
key: string;
|
|
19378
|
+
/**
|
|
19379
|
+
* Value.
|
|
19380
|
+
*/
|
|
19381
|
+
val: string;
|
|
19382
|
+
}
|
|
19383
|
+
interface GetRuleExcludePath {
|
|
19384
|
+
/**
|
|
19385
|
+
* Collection path type. File: File name. Path: Directory.
|
|
19386
|
+
*/
|
|
19387
|
+
type: string;
|
|
19388
|
+
/**
|
|
19389
|
+
* 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.
|
|
17988
19390
|
*/
|
|
17989
19391
|
value: string;
|
|
17990
19392
|
}
|
|
17991
|
-
interface
|
|
19393
|
+
interface GetRuleExtractRule {
|
|
19394
|
+
/**
|
|
19395
|
+
* 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.
|
|
19396
|
+
*/
|
|
19397
|
+
beginRegex: string;
|
|
19398
|
+
/**
|
|
19399
|
+
* Log delimiter. Valid only when LogType is delimiter_log.
|
|
19400
|
+
*/
|
|
19401
|
+
delimiter: string;
|
|
19402
|
+
/**
|
|
19403
|
+
* 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.
|
|
19404
|
+
*/
|
|
19405
|
+
enableNanosecond: boolean;
|
|
19406
|
+
/**
|
|
19407
|
+
* 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.
|
|
19408
|
+
*/
|
|
19409
|
+
filterKeyRegexes: outputs.tls.GetRuleExtractRuleFilterKeyRegex[];
|
|
19410
|
+
/**
|
|
19411
|
+
* 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.
|
|
19412
|
+
*/
|
|
19413
|
+
keys: string[];
|
|
19414
|
+
/**
|
|
19415
|
+
* 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.
|
|
19416
|
+
*/
|
|
19417
|
+
logRegex: string;
|
|
19418
|
+
/**
|
|
19419
|
+
* Automatically extract log fields based on the specified log template
|
|
19420
|
+
*/
|
|
19421
|
+
logTemplate: outputs.tls.GetRuleExtractRuleLogTemplate;
|
|
19422
|
+
/**
|
|
19423
|
+
* 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.
|
|
19424
|
+
*/
|
|
19425
|
+
quote: string;
|
|
19426
|
+
/**
|
|
19427
|
+
* Regular expression for extracting time, used to extract the time value from the TimeKey field and parse it as the collection time
|
|
19428
|
+
*/
|
|
19429
|
+
timeExtractRegex: string;
|
|
19430
|
+
/**
|
|
19431
|
+
* 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.
|
|
19432
|
+
*/
|
|
19433
|
+
timeFormat: string;
|
|
19434
|
+
/**
|
|
19435
|
+
* 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.
|
|
19436
|
+
*/
|
|
19437
|
+
timeKey: string;
|
|
19438
|
+
/**
|
|
19439
|
+
* Time sample. Used to check whether the entered time parsing format is correct.
|
|
19440
|
+
*/
|
|
19441
|
+
timeSample: string;
|
|
19442
|
+
/**
|
|
19443
|
+
* 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.
|
|
19444
|
+
*/
|
|
19445
|
+
timeZone: string;
|
|
19446
|
+
/**
|
|
19447
|
+
* Key name for unmatched logs.
|
|
19448
|
+
*/
|
|
19449
|
+
unMatchLogKey: string;
|
|
19450
|
+
/**
|
|
19451
|
+
* Switch for uploading unmatched logs.
|
|
19452
|
+
*/
|
|
19453
|
+
unMatchUpLoadSwitch: boolean;
|
|
19454
|
+
}
|
|
19455
|
+
interface GetRuleExtractRuleFilterKeyRegex {
|
|
19456
|
+
/**
|
|
19457
|
+
* Name of the filter field.
|
|
19458
|
+
*/
|
|
19459
|
+
key: string;
|
|
19460
|
+
/**
|
|
19461
|
+
* The log content of the filter field must match the specified regular expression.
|
|
19462
|
+
*/
|
|
19463
|
+
regex: string;
|
|
19464
|
+
}
|
|
19465
|
+
interface GetRuleExtractRuleLogTemplate {
|
|
19466
|
+
/**
|
|
19467
|
+
* Log template format.
|
|
19468
|
+
*/
|
|
19469
|
+
format: string;
|
|
19470
|
+
/**
|
|
19471
|
+
* Log template types. Supported types: Nginx: Nginx log template.
|
|
19472
|
+
*/
|
|
19473
|
+
type: string;
|
|
19474
|
+
}
|
|
19475
|
+
interface GetRuleHostGroupInfo {
|
|
19476
|
+
/**
|
|
19477
|
+
* Number of hosts with heartbeat exceptions.
|
|
19478
|
+
*/
|
|
19479
|
+
abnormalHeartbeatStatusCount: number;
|
|
19480
|
+
/**
|
|
19481
|
+
* Latest agent version.
|
|
19482
|
+
*/
|
|
19483
|
+
agentLatestVersion: string;
|
|
19484
|
+
/**
|
|
19485
|
+
* 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.
|
|
19486
|
+
*/
|
|
19487
|
+
autoUpdate: boolean;
|
|
19488
|
+
/**
|
|
19489
|
+
* Machine group creation time.
|
|
19490
|
+
*/
|
|
19491
|
+
createTime: string;
|
|
19492
|
+
/**
|
|
19493
|
+
* Number of hosts.
|
|
19494
|
+
*/
|
|
19495
|
+
hostCount: number;
|
|
19496
|
+
/**
|
|
19497
|
+
* Machine group ID
|
|
19498
|
+
*/
|
|
19499
|
+
hostGroupId: string;
|
|
19500
|
+
/**
|
|
19501
|
+
* Name of the machine group.
|
|
19502
|
+
*/
|
|
19503
|
+
hostGroupName: string;
|
|
19504
|
+
/**
|
|
19505
|
+
* Machine group type. IP: Machine IP. Label: Machine label.
|
|
19506
|
+
*/
|
|
19507
|
+
hostGroupType: string;
|
|
19508
|
+
/**
|
|
19509
|
+
* Machine identifier.
|
|
19510
|
+
*/
|
|
19511
|
+
hostIdentifier: string;
|
|
19512
|
+
/**
|
|
19513
|
+
* The IAM project to which the host group belongs.
|
|
19514
|
+
*/
|
|
19515
|
+
iamProjectName: string;
|
|
19516
|
+
/**
|
|
19517
|
+
* Time when the machine group was modified.
|
|
19518
|
+
*/
|
|
19519
|
+
modifyTime: string;
|
|
19520
|
+
/**
|
|
19521
|
+
* Number of hosts with normal heartbeat.
|
|
19522
|
+
*/
|
|
19523
|
+
normalHeartbeatStatusCount: number;
|
|
19524
|
+
/**
|
|
19525
|
+
* The number of bound collection configurations.
|
|
19526
|
+
*/
|
|
19527
|
+
ruleCount: number;
|
|
19528
|
+
/**
|
|
19529
|
+
* Whether to enable the Logcollector service log feature. true: enabled. false (default): disabled.
|
|
19530
|
+
*/
|
|
19531
|
+
serviceLogging: boolean;
|
|
19532
|
+
/**
|
|
19533
|
+
* End time for LogCollector automatic upgrade.
|
|
19534
|
+
*/
|
|
19535
|
+
updateEndTime: string;
|
|
19536
|
+
/**
|
|
19537
|
+
* 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.
|
|
19538
|
+
*/
|
|
19539
|
+
updateStartTime: string;
|
|
19540
|
+
}
|
|
19541
|
+
interface GetRuleUserDefineRule {
|
|
19542
|
+
/**
|
|
19543
|
+
* 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.
|
|
19544
|
+
*/
|
|
19545
|
+
advanced: outputs.tls.GetRuleUserDefineRuleAdvanced;
|
|
19546
|
+
/**
|
|
19547
|
+
* 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.
|
|
19548
|
+
*/
|
|
19549
|
+
enableHostGroupLabel: boolean;
|
|
19550
|
+
/**
|
|
19551
|
+
* 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.
|
|
19552
|
+
*/
|
|
19553
|
+
enableHostname: boolean;
|
|
19554
|
+
/**
|
|
19555
|
+
* Upload raw logs. true: Upload raw logs. false (default): Do not upload raw logs.
|
|
19556
|
+
*/
|
|
19557
|
+
enableRawLog: boolean;
|
|
19558
|
+
/**
|
|
19559
|
+
* 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.
|
|
19560
|
+
*/
|
|
19561
|
+
fields: outputs.tls.GetRuleUserDefineRuleField[];
|
|
19562
|
+
/**
|
|
19563
|
+
* Field name used to store machine group label information
|
|
19564
|
+
*/
|
|
19565
|
+
hostGroupLabelKey: string;
|
|
19566
|
+
/**
|
|
19567
|
+
* Hostname field name. Required only when EnableHostname is true.
|
|
19568
|
+
*/
|
|
19569
|
+
hostnameKey: string;
|
|
19570
|
+
/**
|
|
19571
|
+
* Ignore log files that have not been updated for a specified period (in hours).
|
|
19572
|
+
*/
|
|
19573
|
+
ignoreOlder: number;
|
|
19574
|
+
/**
|
|
19575
|
+
* 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.
|
|
19576
|
+
*/
|
|
19577
|
+
multiCollectsType: string;
|
|
19578
|
+
/**
|
|
19579
|
+
* 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.
|
|
19580
|
+
*/
|
|
19581
|
+
parsePathRule: outputs.tls.GetRuleUserDefineRuleParsePathRule;
|
|
19582
|
+
/**
|
|
19583
|
+
* LogCollector plugin configuration. After enabling plugin configuration, you can add one or more LogCollector processor plugins to parse logs with complex or variable structures.
|
|
19584
|
+
*/
|
|
19585
|
+
plugin: outputs.tls.GetRuleUserDefineRulePlugin;
|
|
19586
|
+
/**
|
|
19587
|
+
* 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.
|
|
19588
|
+
*/
|
|
19589
|
+
rawLogKey: string;
|
|
19590
|
+
/**
|
|
19591
|
+
* 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
|
|
19592
|
+
*/
|
|
19593
|
+
shardHashKey: outputs.tls.GetRuleUserDefineRuleShardHashKey;
|
|
19594
|
+
/**
|
|
19595
|
+
* 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.
|
|
19596
|
+
*/
|
|
19597
|
+
tailFiles: boolean;
|
|
19598
|
+
/**
|
|
19599
|
+
* 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.
|
|
19600
|
+
*/
|
|
19601
|
+
tailSizeKb: number;
|
|
19602
|
+
}
|
|
19603
|
+
interface GetRuleUserDefineRuleAdvanced {
|
|
19604
|
+
/**
|
|
19605
|
+
* After reading to the end of the log file, choose whether to release the file handle. Default is false.
|
|
19606
|
+
*/
|
|
19607
|
+
closeEof: boolean;
|
|
19608
|
+
/**
|
|
19609
|
+
* 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.
|
|
19610
|
+
*/
|
|
19611
|
+
closeInactive: number;
|
|
19612
|
+
/**
|
|
19613
|
+
* Release the file handle after the log file is removed. Default is false.
|
|
19614
|
+
*/
|
|
19615
|
+
closeRemoved: boolean;
|
|
19616
|
+
/**
|
|
19617
|
+
* Release the file handle after the log file is renamed. Default is false.
|
|
19618
|
+
*/
|
|
19619
|
+
closeRenamed: boolean;
|
|
19620
|
+
/**
|
|
19621
|
+
* 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.
|
|
19622
|
+
*/
|
|
19623
|
+
closeTimeout: number;
|
|
19624
|
+
/**
|
|
19625
|
+
* 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.
|
|
19626
|
+
*/
|
|
19627
|
+
noLineTerminatorEofMaxTime: number;
|
|
19628
|
+
}
|
|
19629
|
+
interface GetRuleUserDefineRuleField {
|
|
19630
|
+
/**
|
|
19631
|
+
* Key.
|
|
19632
|
+
*/
|
|
19633
|
+
key: string;
|
|
19634
|
+
/**
|
|
19635
|
+
* Value.
|
|
19636
|
+
*/
|
|
19637
|
+
val: string;
|
|
19638
|
+
}
|
|
19639
|
+
interface GetRuleUserDefineRuleParsePathRule {
|
|
19640
|
+
/**
|
|
19641
|
+
* 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.
|
|
19642
|
+
*/
|
|
19643
|
+
keys: string[];
|
|
19644
|
+
/**
|
|
19645
|
+
* Sample collection path for actual scenarios. The sample collection path must be an absolute path. Wildcards *, ?, ** are not allowed in the path sample.
|
|
19646
|
+
*/
|
|
19647
|
+
pathSample: string;
|
|
19648
|
+
/**
|
|
19649
|
+
* Regular expression used to extract the path field. Must match the sample collection path, otherwise extraction will fail
|
|
19650
|
+
*/
|
|
19651
|
+
regex: string;
|
|
19652
|
+
}
|
|
19653
|
+
interface GetRuleUserDefineRulePlugin {
|
|
19654
|
+
/**
|
|
19655
|
+
* LogCollector plugin. For the list of supported plugins and parameter descriptions, see LogCollector plugin overview.
|
|
19656
|
+
*/
|
|
19657
|
+
processors: string;
|
|
19658
|
+
}
|
|
19659
|
+
interface GetRuleUserDefineRuleShardHashKey {
|
|
19660
|
+
/**
|
|
19661
|
+
* 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).
|
|
19662
|
+
*/
|
|
19663
|
+
hashKey: string;
|
|
19664
|
+
}
|
|
19665
|
+
interface GetScheduleSqlTaskRequestCycle {
|
|
17992
19666
|
/**
|
|
17993
|
-
*
|
|
19667
|
+
* Cron expression, with a minimum granularity of minutes, using 24-hour format. For example, 0 18 * * * means execution at 18:00 every day.
|
|
17994
19668
|
*/
|
|
17995
|
-
|
|
19669
|
+
cronTab: string;
|
|
17996
19670
|
/**
|
|
17997
|
-
*
|
|
19671
|
+
* If Type is set to Cron, you must also set the time zone.
|
|
17998
19672
|
*/
|
|
17999
|
-
|
|
19673
|
+
cronTimeZone: string;
|
|
19674
|
+
/**
|
|
19675
|
+
* Scheduling period or the time point for periodic execution (minutes from 00:00). Range: 1–1440 minutes.
|
|
19676
|
+
*/
|
|
19677
|
+
time: number;
|
|
19678
|
+
/**
|
|
19679
|
+
* Scheduling period type. Options: Period, Fixed, Cron.
|
|
19680
|
+
*/
|
|
19681
|
+
type: string;
|
|
18000
19682
|
}
|
|
18001
|
-
|
|
18002
|
-
|
|
18003
|
-
|
|
19683
|
+
interface GetShipperContentInfo {
|
|
19684
|
+
/**
|
|
19685
|
+
* CSV format log content configuration.
|
|
19686
|
+
*/
|
|
19687
|
+
csvInfo: outputs.tls.GetShipperContentInfoCsvInfo;
|
|
19688
|
+
/**
|
|
19689
|
+
* Log content parsing format. Delivery to TOS supports json, jsonl, csv; delivery to Kafka supports original, json.
|
|
19690
|
+
*/
|
|
19691
|
+
format: string;
|
|
19692
|
+
/**
|
|
19693
|
+
* JSON/JSONL format log content configuration.
|
|
19694
|
+
*/
|
|
19695
|
+
jsonInfo: outputs.tls.GetShipperContentInfoJsonInfo;
|
|
19696
|
+
}
|
|
19697
|
+
interface GetShipperContentInfoCsvInfo {
|
|
19698
|
+
/**
|
|
19699
|
+
* Delimiter. Supports comma, tab, pipe, semicolon, space.
|
|
19700
|
+
*/
|
|
19701
|
+
delimiter: string;
|
|
19702
|
+
/**
|
|
19703
|
+
* Escape character. When field content contains a delimiter, use an escape character to enclose it. Supports single quote, double quote, or empty character.
|
|
19704
|
+
*/
|
|
19705
|
+
escapeChar: string;
|
|
19706
|
+
/**
|
|
19707
|
+
* Fields to be delivered. Supports letters, numbers, and _-./. Cannot start with an underscore. Length: 1–128.
|
|
19708
|
+
*/
|
|
19709
|
+
keys: string[];
|
|
19710
|
+
/**
|
|
19711
|
+
* Content for invalid field padding. Length: 0–128.
|
|
19712
|
+
*/
|
|
19713
|
+
nonFieldContent: string;
|
|
19714
|
+
/**
|
|
19715
|
+
* Whether to print the key in the first row.
|
|
19716
|
+
*/
|
|
19717
|
+
printHeader: boolean;
|
|
19718
|
+
}
|
|
19719
|
+
interface GetShipperContentInfoJsonInfo {
|
|
19720
|
+
/**
|
|
19721
|
+
* Enable flag.
|
|
19722
|
+
*/
|
|
19723
|
+
enable: boolean;
|
|
19724
|
+
/**
|
|
19725
|
+
* Whether to enable escaping. Must be set to true.
|
|
19726
|
+
*/
|
|
19727
|
+
escape: boolean;
|
|
19728
|
+
/**
|
|
19729
|
+
* 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**.
|
|
19730
|
+
*/
|
|
19731
|
+
keys: string[];
|
|
19732
|
+
}
|
|
19733
|
+
interface GetShipperKafkaShipperInfo {
|
|
19734
|
+
/**
|
|
19735
|
+
* Compression format; supports snappy, gzip, lz4, none.
|
|
19736
|
+
*/
|
|
19737
|
+
compress: string;
|
|
19738
|
+
/**
|
|
19739
|
+
* 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.
|
|
19740
|
+
*/
|
|
19741
|
+
endTime: number;
|
|
19742
|
+
/**
|
|
19743
|
+
* Kafka instance.
|
|
19744
|
+
*/
|
|
19745
|
+
instance: string;
|
|
19746
|
+
/**
|
|
19747
|
+
* Kafka topic name. All log data delivered through this configuration will be sent to this topic.
|
|
19748
|
+
*/
|
|
19749
|
+
kafkaTopic: string;
|
|
19750
|
+
/**
|
|
19751
|
+
* 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.
|
|
19752
|
+
*/
|
|
19753
|
+
startTime: number;
|
|
19754
|
+
}
|
|
19755
|
+
interface GetShipperTosShipperInfo {
|
|
19756
|
+
/**
|
|
19757
|
+
* 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.
|
|
19758
|
+
*/
|
|
19759
|
+
bucket: string;
|
|
19760
|
+
/**
|
|
19761
|
+
* Compression format; supports snappy, gzip, lz4, none.
|
|
19762
|
+
*/
|
|
19763
|
+
compress: string;
|
|
19764
|
+
/**
|
|
19765
|
+
* Delivery interval in seconds, range: 300–900.
|
|
19766
|
+
*/
|
|
19767
|
+
interval: number;
|
|
19768
|
+
/**
|
|
19769
|
+
* Maximum raw file size per partition for delivery, in MiB. Range: 5–256.
|
|
19770
|
+
*/
|
|
19771
|
+
maxSize: number;
|
|
19772
|
+
/**
|
|
19773
|
+
* Partition rule for log delivery. Subdirectory naming format supports strftime syntax. Default: %Y/%m/%d/%H/%M.
|
|
19774
|
+
*/
|
|
19775
|
+
partitionFormat: string;
|
|
19776
|
+
/**
|
|
19777
|
+
* 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.
|
|
19778
|
+
*/
|
|
19779
|
+
prefix: string;
|
|
19780
|
+
}
|
|
19781
|
+
interface GetTopicTag {
|
|
19782
|
+
/**
|
|
19783
|
+
* User tag key.
|
|
19784
|
+
*/
|
|
19785
|
+
key: string;
|
|
19786
|
+
/**
|
|
19787
|
+
* User tag value.
|
|
19788
|
+
*/
|
|
19789
|
+
value: string;
|
|
19790
|
+
}
|
|
19791
|
+
interface ImportTaskImportSourceInfo {
|
|
18004
19792
|
/**
|
|
18005
19793
|
* Kafka data source information. When sourceType is kafka, the KafkaSourceInfo field is required
|
|
18006
19794
|
*/
|
|
18007
|
-
kafkaSourceInfo: outputs.tls.
|
|
19795
|
+
kafkaSourceInfo: outputs.tls.ImportTaskImportSourceInfoKafkaSourceInfo;
|
|
18008
19796
|
/**
|
|
18009
19797
|
* TOS data source information. When sourceType is tos, the TosSourceInfo field is required.
|
|
18010
19798
|
*/
|
|
18011
|
-
tosSourceInfo: outputs.tls.
|
|
19799
|
+
tosSourceInfo: outputs.tls.ImportTaskImportSourceInfoTosSourceInfo;
|
|
18012
19800
|
}
|
|
18013
|
-
interface
|
|
19801
|
+
interface ImportTaskImportSourceInfoKafkaSourceInfo {
|
|
18014
19802
|
/**
|
|
18015
19803
|
* Data encoding format. Available options: UTF-8, GBK.
|
|
18016
19804
|
*/
|
|
@@ -18060,7 +19848,7 @@ export declare namespace tls {
|
|
|
18060
19848
|
*/
|
|
18061
19849
|
username: string;
|
|
18062
19850
|
}
|
|
18063
|
-
interface
|
|
19851
|
+
interface ImportTaskImportSourceInfoTosSourceInfo {
|
|
18064
19852
|
/**
|
|
18065
19853
|
* TOS bucket name
|
|
18066
19854
|
*/
|
|
@@ -18078,11 +19866,11 @@ export declare namespace tls {
|
|
|
18078
19866
|
*/
|
|
18079
19867
|
region: string;
|
|
18080
19868
|
}
|
|
18081
|
-
interface
|
|
19869
|
+
interface ImportTaskTargetInfo {
|
|
18082
19870
|
/**
|
|
18083
19871
|
* Log extraction rule.
|
|
18084
19872
|
*/
|
|
18085
|
-
extractRule: outputs.tls.
|
|
19873
|
+
extractRule: outputs.tls.ImportTaskTargetInfoExtractRule;
|
|
18086
19874
|
/**
|
|
18087
19875
|
* 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.
|
|
18088
19876
|
*/
|
|
@@ -18096,11 +19884,11 @@ export declare namespace tls {
|
|
|
18096
19884
|
*/
|
|
18097
19885
|
region: string;
|
|
18098
19886
|
}
|
|
18099
|
-
interface
|
|
19887
|
+
interface ImportTaskTargetInfoExtractRule {
|
|
18100
19888
|
/**
|
|
18101
19889
|
* Basic content of log extraction rules.
|
|
18102
19890
|
*/
|
|
18103
|
-
extractRule: outputs.tls.
|
|
19891
|
+
extractRule: outputs.tls.ImportTaskTargetInfoExtractRuleExtractRule;
|
|
18104
19892
|
/**
|
|
18105
19893
|
* Number of skipped rows. Only valid when the log type is delimiterLog and the import type is tos.
|
|
18106
19894
|
*/
|
|
@@ -18114,7 +19902,7 @@ export declare namespace tls {
|
|
|
18114
19902
|
*/
|
|
18115
19903
|
timeZone: string;
|
|
18116
19904
|
}
|
|
18117
|
-
interface
|
|
19905
|
+
interface ImportTaskTargetInfoExtractRuleExtractRule {
|
|
18118
19906
|
/**
|
|
18119
19907
|
* 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
|
|
18120
19908
|
*/
|
|
@@ -18127,10 +19915,7 @@ export declare namespace tls {
|
|
|
18127
19915
|
* Enable nanoseconds.
|
|
18128
19916
|
*/
|
|
18129
19917
|
enableNanosecond: boolean;
|
|
18130
|
-
|
|
18131
|
-
* Filter key regular expression.
|
|
18132
|
-
*/
|
|
18133
|
-
filterKeyRegexes: outputs.tls.GetImportTaskTargetInfoExtractRuleExtractRuleFilterKeyRegex[];
|
|
19918
|
+
filterKeyRegexes: outputs.tls.ImportTaskTargetInfoExtractRuleExtractRuleFilterKeyRegex[];
|
|
18134
19919
|
/**
|
|
18135
19920
|
* 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
|
|
18136
19921
|
*/
|
|
@@ -18142,7 +19927,7 @@ export declare namespace tls {
|
|
|
18142
19927
|
/**
|
|
18143
19928
|
* Log template.
|
|
18144
19929
|
*/
|
|
18145
|
-
logTemplate: outputs.tls.
|
|
19930
|
+
logTemplate: outputs.tls.ImportTaskTargetInfoExtractRuleExtractRuleLogTemplate;
|
|
18146
19931
|
/**
|
|
18147
19932
|
* 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.
|
|
18148
19933
|
*/
|
|
@@ -18168,7 +19953,7 @@ export declare namespace tls {
|
|
|
18168
19953
|
*/
|
|
18169
19954
|
unMatchUpLoadSwitch: boolean;
|
|
18170
19955
|
}
|
|
18171
|
-
interface
|
|
19956
|
+
interface ImportTaskTargetInfoExtractRuleExtractRuleFilterKeyRegex {
|
|
18172
19957
|
/**
|
|
18173
19958
|
* Key.
|
|
18174
19959
|
*/
|
|
@@ -18178,7 +19963,7 @@ export declare namespace tls {
|
|
|
18178
19963
|
*/
|
|
18179
19964
|
regex: string;
|
|
18180
19965
|
}
|
|
18181
|
-
interface
|
|
19966
|
+
interface ImportTaskTargetInfoExtractRuleExtractRuleLogTemplate {
|
|
18182
19967
|
/**
|
|
18183
19968
|
* Format.
|
|
18184
19969
|
*/
|
|
@@ -18188,7 +19973,7 @@ export declare namespace tls {
|
|
|
18188
19973
|
*/
|
|
18189
19974
|
type: string;
|
|
18190
19975
|
}
|
|
18191
|
-
interface
|
|
19976
|
+
interface ImportTaskTaskStatistics {
|
|
18192
19977
|
/**
|
|
18193
19978
|
* Total resource bytes enumerated
|
|
18194
19979
|
*/
|
|
@@ -18222,7 +20007,7 @@ export declare namespace tls {
|
|
|
18222
20007
|
*/
|
|
18223
20008
|
transferred: number;
|
|
18224
20009
|
}
|
|
18225
|
-
interface
|
|
20010
|
+
interface IndexFullText {
|
|
18226
20011
|
/**
|
|
18227
20012
|
* Case sensitivity. true: Case sensitive. false: Not case sensitive.
|
|
18228
20013
|
*/
|
|
@@ -18236,7 +20021,7 @@ export declare namespace tls {
|
|
|
18236
20021
|
*/
|
|
18237
20022
|
includeChinese: boolean;
|
|
18238
20023
|
}
|
|
18239
|
-
interface
|
|
20024
|
+
interface IndexKeyValue {
|
|
18240
20025
|
/**
|
|
18241
20026
|
* 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.
|
|
18242
20027
|
*/
|
|
@@ -18244,9 +20029,9 @@ export declare namespace tls {
|
|
|
18244
20029
|
/**
|
|
18245
20030
|
* Field description information required for configuring key-value indexes.
|
|
18246
20031
|
*/
|
|
18247
|
-
value: outputs.tls.
|
|
20032
|
+
value: outputs.tls.IndexKeyValueValue;
|
|
18248
20033
|
}
|
|
18249
|
-
interface
|
|
20034
|
+
interface IndexKeyValueValue {
|
|
18250
20035
|
/**
|
|
18251
20036
|
* Indicates whether the index was added automatically. true: The index was added automatically. false: The index was not added automatically.
|
|
18252
20037
|
*/
|
|
@@ -18271,10 +20056,7 @@ export declare namespace tls {
|
|
|
18271
20056
|
* Enable automatic indexing and statistics for JSON fields. true: Enable automatic indexing and statistics. false: Disable automatic indexing and statistics.
|
|
18272
20057
|
*/
|
|
18273
20058
|
indexSqlAll: boolean;
|
|
18274
|
-
|
|
18275
|
-
* 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.
|
|
18276
|
-
*/
|
|
18277
|
-
jsonKeys: outputs.tls.GetIndexKeyValueValueJsonKey[];
|
|
20059
|
+
jsonKeys: outputs.tls.IndexKeyValueValueJsonKey[];
|
|
18278
20060
|
/**
|
|
18279
20061
|
* 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.
|
|
18280
20062
|
*/
|
|
@@ -18284,7 +20066,7 @@ export declare namespace tls {
|
|
|
18284
20066
|
*/
|
|
18285
20067
|
valueType: string;
|
|
18286
20068
|
}
|
|
18287
|
-
interface
|
|
20069
|
+
interface IndexKeyValueValueJsonKey {
|
|
18288
20070
|
/**
|
|
18289
20071
|
* 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.
|
|
18290
20072
|
*/
|
|
@@ -18292,9 +20074,9 @@ export declare namespace tls {
|
|
|
18292
20074
|
/**
|
|
18293
20075
|
* Field description information required for configuring key-value indexes.
|
|
18294
20076
|
*/
|
|
18295
|
-
value: outputs.tls.
|
|
20077
|
+
value: outputs.tls.IndexKeyValueValueJsonKeyValue;
|
|
18296
20078
|
}
|
|
18297
|
-
interface
|
|
20079
|
+
interface IndexKeyValueValueJsonKeyValue {
|
|
18298
20080
|
/**
|
|
18299
20081
|
* Indicates whether the index was added automatically. true: The index was added automatically. false: The index was not added automatically.
|
|
18300
20082
|
*/
|
|
@@ -18328,7 +20110,7 @@ export declare namespace tls {
|
|
|
18328
20110
|
*/
|
|
18329
20111
|
valueType: string;
|
|
18330
20112
|
}
|
|
18331
|
-
interface
|
|
20113
|
+
interface IndexUserInnerKeyValue {
|
|
18332
20114
|
/**
|
|
18333
20115
|
* 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.
|
|
18334
20116
|
*/
|
|
@@ -18336,9 +20118,9 @@ export declare namespace tls {
|
|
|
18336
20118
|
/**
|
|
18337
20119
|
* Field description information required for configuring key-value indexes.
|
|
18338
20120
|
*/
|
|
18339
|
-
value: outputs.tls.
|
|
20121
|
+
value: outputs.tls.IndexUserInnerKeyValueValue;
|
|
18340
20122
|
}
|
|
18341
|
-
interface
|
|
20123
|
+
interface IndexUserInnerKeyValueValue {
|
|
18342
20124
|
/**
|
|
18343
20125
|
* Indicates whether the index was added automatically. true: The index was added automatically. false: The index was not added automatically.
|
|
18344
20126
|
*/
|
|
@@ -18363,10 +20145,7 @@ export declare namespace tls {
|
|
|
18363
20145
|
* Enable automatic indexing and statistics for JSON fields. true: Enable automatic indexing and statistics. false: Disable automatic indexing and statistics.
|
|
18364
20146
|
*/
|
|
18365
20147
|
indexSqlAll: boolean;
|
|
18366
|
-
|
|
18367
|
-
* 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.
|
|
18368
|
-
*/
|
|
18369
|
-
jsonKeys: outputs.tls.GetIndexUserInnerKeyValueValueJsonKey[];
|
|
20148
|
+
jsonKeys: outputs.tls.IndexUserInnerKeyValueValueJsonKey[];
|
|
18370
20149
|
/**
|
|
18371
20150
|
* 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.
|
|
18372
20151
|
*/
|
|
@@ -18376,7 +20155,7 @@ export declare namespace tls {
|
|
|
18376
20155
|
*/
|
|
18377
20156
|
valueType: string;
|
|
18378
20157
|
}
|
|
18379
|
-
interface
|
|
20158
|
+
interface IndexUserInnerKeyValueValueJsonKey {
|
|
18380
20159
|
/**
|
|
18381
20160
|
* 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.
|
|
18382
20161
|
*/
|
|
@@ -18384,9 +20163,9 @@ export declare namespace tls {
|
|
|
18384
20163
|
/**
|
|
18385
20164
|
* Field description information required for configuring key-value indexes.
|
|
18386
20165
|
*/
|
|
18387
|
-
value: outputs.tls.
|
|
20166
|
+
value: outputs.tls.IndexUserInnerKeyValueValueJsonKeyValue;
|
|
18388
20167
|
}
|
|
18389
|
-
interface
|
|
20168
|
+
interface IndexUserInnerKeyValueValueJsonKeyValue {
|
|
18390
20169
|
/**
|
|
18391
20170
|
* Indicates whether the index was added automatically. true: The index was added automatically. false: The index was not added automatically.
|
|
18392
20171
|
*/
|
|
@@ -18420,7 +20199,7 @@ export declare namespace tls {
|
|
|
18420
20199
|
*/
|
|
18421
20200
|
valueType: string;
|
|
18422
20201
|
}
|
|
18423
|
-
interface
|
|
20202
|
+
interface ProjectTag {
|
|
18424
20203
|
/**
|
|
18425
20204
|
* Tag key
|
|
18426
20205
|
*/
|
|
@@ -18430,472 +20209,494 @@ export declare namespace tls {
|
|
|
18430
20209
|
*/
|
|
18431
20210
|
value: string;
|
|
18432
20211
|
}
|
|
18433
|
-
interface
|
|
18434
|
-
/**
|
|
18435
|
-
* Cron expression, with a minimum granularity of minutes, using 24-hour format. For example, 0 18 * * * means execution at 18:00 every day.
|
|
18436
|
-
*/
|
|
18437
|
-
cronTab: string;
|
|
20212
|
+
interface RuleContainerRule {
|
|
18438
20213
|
/**
|
|
18439
|
-
* If
|
|
20214
|
+
* 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.
|
|
18440
20215
|
*/
|
|
18441
|
-
|
|
20216
|
+
containerNameRegex: string;
|
|
20217
|
+
envTags: outputs.tls.RuleContainerRuleEnvTag[];
|
|
20218
|
+
excludeContainerEnvRegexes: outputs.tls.RuleContainerRuleExcludeContainerEnvRegex[];
|
|
20219
|
+
excludeContainerLabelRegexes: outputs.tls.RuleContainerRuleExcludeContainerLabelRegex[];
|
|
20220
|
+
includeContainerEnvRegexes: outputs.tls.RuleContainerRuleIncludeContainerEnvRegex[];
|
|
20221
|
+
includeContainerLabelRegexes: outputs.tls.RuleContainerRuleIncludeContainerLabelRegex[];
|
|
18442
20222
|
/**
|
|
18443
|
-
*
|
|
20223
|
+
* Kubernetes container collection rules.
|
|
18444
20224
|
*/
|
|
18445
|
-
|
|
20225
|
+
kubernetesRule: outputs.tls.RuleContainerRuleKubernetesRule;
|
|
18446
20226
|
/**
|
|
18447
|
-
*
|
|
20227
|
+
* 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).
|
|
18448
20228
|
*/
|
|
18449
|
-
|
|
20229
|
+
stream: string;
|
|
18450
20230
|
}
|
|
18451
|
-
interface
|
|
20231
|
+
interface RuleContainerRuleEnvTag {
|
|
18452
20232
|
/**
|
|
18453
|
-
*
|
|
20233
|
+
* Key.
|
|
18454
20234
|
*/
|
|
18455
20235
|
key: string;
|
|
18456
20236
|
/**
|
|
18457
|
-
*
|
|
20237
|
+
* Value.
|
|
18458
20238
|
*/
|
|
18459
|
-
|
|
20239
|
+
val: string;
|
|
18460
20240
|
}
|
|
18461
|
-
interface
|
|
20241
|
+
interface RuleContainerRuleExcludeContainerEnvRegex {
|
|
18462
20242
|
/**
|
|
18463
|
-
*
|
|
20243
|
+
* Key.
|
|
18464
20244
|
*/
|
|
18465
|
-
|
|
20245
|
+
key: string;
|
|
18466
20246
|
/**
|
|
18467
|
-
*
|
|
20247
|
+
* Value.
|
|
18468
20248
|
*/
|
|
18469
|
-
|
|
20249
|
+
val: string;
|
|
18470
20250
|
}
|
|
18471
|
-
interface
|
|
20251
|
+
interface RuleContainerRuleExcludeContainerLabelRegex {
|
|
18472
20252
|
/**
|
|
18473
|
-
*
|
|
20253
|
+
* Key.
|
|
18474
20254
|
*/
|
|
18475
|
-
|
|
20255
|
+
key: string;
|
|
18476
20256
|
/**
|
|
18477
|
-
*
|
|
20257
|
+
* Value.
|
|
18478
20258
|
*/
|
|
18479
|
-
|
|
20259
|
+
val: string;
|
|
20260
|
+
}
|
|
20261
|
+
interface RuleContainerRuleIncludeContainerEnvRegex {
|
|
18480
20262
|
/**
|
|
18481
|
-
*
|
|
20263
|
+
* Key.
|
|
18482
20264
|
*/
|
|
18483
|
-
|
|
20265
|
+
key: string;
|
|
18484
20266
|
/**
|
|
18485
|
-
*
|
|
20267
|
+
* Value.
|
|
18486
20268
|
*/
|
|
18487
|
-
|
|
20269
|
+
val: string;
|
|
20270
|
+
}
|
|
20271
|
+
interface RuleContainerRuleIncludeContainerLabelRegex {
|
|
18488
20272
|
/**
|
|
18489
|
-
*
|
|
20273
|
+
* Key.
|
|
18490
20274
|
*/
|
|
18491
|
-
|
|
20275
|
+
key: string;
|
|
18492
20276
|
/**
|
|
18493
|
-
*
|
|
20277
|
+
* Value.
|
|
18494
20278
|
*/
|
|
18495
|
-
|
|
20279
|
+
val: string;
|
|
20280
|
+
}
|
|
20281
|
+
interface RuleContainerRuleKubernetesRule {
|
|
20282
|
+
annotationTags: outputs.tls.RuleContainerRuleKubernetesRuleAnnotationTag[];
|
|
18496
20283
|
/**
|
|
18497
|
-
*
|
|
20284
|
+
* 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.
|
|
18498
20285
|
*/
|
|
18499
|
-
|
|
20286
|
+
enableAllLabelTag: boolean;
|
|
20287
|
+
excludePodAnnotationRegexes: outputs.tls.RuleContainerRuleKubernetesRuleExcludePodAnnotationRegex[];
|
|
20288
|
+
excludePodLabelRegexes: outputs.tls.RuleContainerRuleKubernetesRuleExcludePodLabelRegex[];
|
|
20289
|
+
includePodAnnotationRegexes: outputs.tls.RuleContainerRuleKubernetesRuleIncludePodAnnotationRegex[];
|
|
20290
|
+
includePodLabelRegexes: outputs.tls.RuleContainerRuleKubernetesRuleIncludePodLabelRegex[];
|
|
20291
|
+
labelTags: outputs.tls.RuleContainerRuleKubernetesRuleLabelTag[];
|
|
18500
20292
|
/**
|
|
18501
|
-
*
|
|
20293
|
+
* 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.
|
|
18502
20294
|
*/
|
|
18503
|
-
|
|
20295
|
+
namespaceNameRegex: string;
|
|
18504
20296
|
/**
|
|
18505
|
-
*
|
|
20297
|
+
* 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.
|
|
18506
20298
|
*/
|
|
18507
|
-
|
|
20299
|
+
podNameRegex: string;
|
|
18508
20300
|
/**
|
|
18509
|
-
* Specify
|
|
20301
|
+
* 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.
|
|
18510
20302
|
*/
|
|
18511
|
-
|
|
20303
|
+
workloadNameRegex: string;
|
|
18512
20304
|
/**
|
|
18513
|
-
*
|
|
20305
|
+
* 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
|
|
18514
20306
|
*/
|
|
18515
|
-
|
|
20307
|
+
workloadType: string;
|
|
20308
|
+
}
|
|
20309
|
+
interface RuleContainerRuleKubernetesRuleAnnotationTag {
|
|
18516
20310
|
/**
|
|
18517
|
-
*
|
|
20311
|
+
* Key.
|
|
18518
20312
|
*/
|
|
18519
|
-
|
|
20313
|
+
key: string;
|
|
20314
|
+
/**
|
|
20315
|
+
* Value.
|
|
20316
|
+
*/
|
|
20317
|
+
val: string;
|
|
18520
20318
|
}
|
|
18521
|
-
interface
|
|
20319
|
+
interface RuleContainerRuleKubernetesRuleExcludePodAnnotationRegex {
|
|
18522
20320
|
/**
|
|
18523
|
-
*
|
|
20321
|
+
* Key.
|
|
18524
20322
|
*/
|
|
18525
|
-
|
|
20323
|
+
key: string;
|
|
18526
20324
|
/**
|
|
18527
|
-
*
|
|
20325
|
+
* Value.
|
|
18528
20326
|
*/
|
|
18529
|
-
|
|
20327
|
+
val: string;
|
|
20328
|
+
}
|
|
20329
|
+
interface RuleContainerRuleKubernetesRuleExcludePodLabelRegex {
|
|
18530
20330
|
/**
|
|
18531
|
-
*
|
|
20331
|
+
* Key.
|
|
18532
20332
|
*/
|
|
18533
|
-
|
|
20333
|
+
key: string;
|
|
18534
20334
|
/**
|
|
18535
|
-
*
|
|
20335
|
+
* Value.
|
|
18536
20336
|
*/
|
|
18537
|
-
|
|
20337
|
+
val: string;
|
|
18538
20338
|
}
|
|
18539
|
-
interface
|
|
20339
|
+
interface RuleContainerRuleKubernetesRuleIncludePodAnnotationRegex {
|
|
18540
20340
|
/**
|
|
18541
|
-
*
|
|
20341
|
+
* Key.
|
|
18542
20342
|
*/
|
|
18543
|
-
|
|
20343
|
+
key: string;
|
|
18544
20344
|
/**
|
|
18545
|
-
*
|
|
20345
|
+
* Value.
|
|
18546
20346
|
*/
|
|
18547
|
-
|
|
20347
|
+
val: string;
|
|
20348
|
+
}
|
|
20349
|
+
interface RuleContainerRuleKubernetesRuleIncludePodLabelRegex {
|
|
18548
20350
|
/**
|
|
18549
|
-
*
|
|
20351
|
+
* Key.
|
|
18550
20352
|
*/
|
|
18551
|
-
|
|
20353
|
+
key: string;
|
|
18552
20354
|
/**
|
|
18553
|
-
*
|
|
20355
|
+
* Value.
|
|
18554
20356
|
*/
|
|
18555
|
-
|
|
20357
|
+
val: string;
|
|
18556
20358
|
}
|
|
18557
|
-
interface
|
|
20359
|
+
interface RuleContainerRuleKubernetesRuleLabelTag {
|
|
18558
20360
|
/**
|
|
18559
|
-
*
|
|
20361
|
+
* Key.
|
|
18560
20362
|
*/
|
|
18561
|
-
|
|
20363
|
+
key: string;
|
|
18562
20364
|
/**
|
|
18563
|
-
*
|
|
20365
|
+
* Value.
|
|
18564
20366
|
*/
|
|
18565
|
-
|
|
20367
|
+
val: string;
|
|
20368
|
+
}
|
|
20369
|
+
interface RuleExcludePath {
|
|
18566
20370
|
/**
|
|
18567
|
-
*
|
|
20371
|
+
* Collection path type. File: File name. Path: Directory.
|
|
18568
20372
|
*/
|
|
18569
|
-
|
|
20373
|
+
type: string;
|
|
18570
20374
|
/**
|
|
18571
|
-
*
|
|
20375
|
+
* 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.
|
|
18572
20376
|
*/
|
|
18573
|
-
|
|
20377
|
+
value: string;
|
|
18574
20378
|
}
|
|
18575
|
-
interface
|
|
20379
|
+
interface RuleExtractRule {
|
|
18576
20380
|
/**
|
|
18577
|
-
* Regular expression
|
|
20381
|
+
* 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.
|
|
18578
20382
|
*/
|
|
18579
20383
|
beginRegex: string;
|
|
18580
20384
|
/**
|
|
18581
|
-
*
|
|
20385
|
+
* Log delimiter. Valid only when LogType is delimiter_log.
|
|
18582
20386
|
*/
|
|
18583
20387
|
delimiter: string;
|
|
18584
20388
|
/**
|
|
18585
|
-
* Enable
|
|
20389
|
+
* 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.
|
|
18586
20390
|
*/
|
|
18587
20391
|
enableNanosecond: boolean;
|
|
18588
|
-
filterKeyRegexes: outputs.tls.
|
|
20392
|
+
filterKeyRegexes: outputs.tls.RuleExtractRuleFilterKeyRegex[];
|
|
18589
20393
|
/**
|
|
18590
|
-
* List of log field names (Key).
|
|
20394
|
+
* 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.
|
|
18591
20395
|
*/
|
|
18592
20396
|
keys: string[];
|
|
18593
20397
|
/**
|
|
18594
|
-
*
|
|
20398
|
+
* 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.
|
|
18595
20399
|
*/
|
|
18596
20400
|
logRegex: string;
|
|
18597
20401
|
/**
|
|
18598
|
-
*
|
|
20402
|
+
* Automatically extract log fields based on the specified log template
|
|
18599
20403
|
*/
|
|
18600
|
-
logTemplate: outputs.tls.
|
|
20404
|
+
logTemplate: outputs.tls.RuleExtractRuleLogTemplate;
|
|
18601
20405
|
/**
|
|
18602
|
-
*
|
|
20406
|
+
* 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.
|
|
18603
20407
|
*/
|
|
18604
20408
|
quote: string;
|
|
18605
20409
|
/**
|
|
18606
|
-
*
|
|
20410
|
+
* Regular expression for extracting time, used to extract the time value from the TimeKey field and parse it as the collection time
|
|
20411
|
+
*/
|
|
20412
|
+
timeExtractRegex: string;
|
|
20413
|
+
/**
|
|
20414
|
+
* 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.
|
|
18607
20415
|
*/
|
|
18608
20416
|
timeFormat: string;
|
|
18609
20417
|
/**
|
|
18610
|
-
* Name of the log time field. If you use a specific time field in the log as the log timestamp, you
|
|
20418
|
+
* 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.
|
|
18611
20419
|
*/
|
|
18612
20420
|
timeKey: string;
|
|
18613
20421
|
/**
|
|
18614
|
-
* Time sample. Used to
|
|
20422
|
+
* Time sample. Used to check whether the entered time parsing format is correct.
|
|
18615
20423
|
*/
|
|
18616
20424
|
timeSample: string;
|
|
18617
20425
|
/**
|
|
18618
|
-
*
|
|
20426
|
+
* 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.
|
|
20427
|
+
*/
|
|
20428
|
+
timeZone: string;
|
|
20429
|
+
/**
|
|
20430
|
+
* Key name for unmatched logs.
|
|
18619
20431
|
*/
|
|
18620
20432
|
unMatchLogKey: string;
|
|
18621
20433
|
/**
|
|
18622
|
-
*
|
|
20434
|
+
* Switch for uploading unmatched logs.
|
|
18623
20435
|
*/
|
|
18624
20436
|
unMatchUpLoadSwitch: boolean;
|
|
18625
20437
|
}
|
|
18626
|
-
interface
|
|
20438
|
+
interface RuleExtractRuleFilterKeyRegex {
|
|
18627
20439
|
/**
|
|
18628
|
-
*
|
|
20440
|
+
* Name of the filter field.
|
|
18629
20441
|
*/
|
|
18630
20442
|
key: string;
|
|
18631
20443
|
/**
|
|
18632
|
-
*
|
|
20444
|
+
* The log content of the filter field must match the specified regular expression.
|
|
18633
20445
|
*/
|
|
18634
20446
|
regex: string;
|
|
18635
20447
|
}
|
|
18636
|
-
interface
|
|
20448
|
+
interface RuleExtractRuleLogTemplate {
|
|
18637
20449
|
/**
|
|
18638
|
-
*
|
|
20450
|
+
* Log template format.
|
|
18639
20451
|
*/
|
|
18640
20452
|
format: string;
|
|
18641
20453
|
/**
|
|
18642
|
-
*
|
|
20454
|
+
* Log template types. Supported types: Nginx: Nginx log template.
|
|
18643
20455
|
*/
|
|
18644
20456
|
type: string;
|
|
18645
20457
|
}
|
|
18646
|
-
interface
|
|
20458
|
+
interface RuleHostGroupInfo {
|
|
18647
20459
|
/**
|
|
18648
|
-
*
|
|
20460
|
+
* Machine group ID
|
|
18649
20461
|
*/
|
|
18650
|
-
|
|
20462
|
+
hostGroupId: string;
|
|
20463
|
+
}
|
|
20464
|
+
interface RuleUserDefineRule {
|
|
18651
20465
|
/**
|
|
18652
|
-
*
|
|
20466
|
+
* 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.
|
|
18653
20467
|
*/
|
|
18654
|
-
|
|
20468
|
+
advanced: outputs.tls.RuleUserDefineRuleAdvanced;
|
|
18655
20469
|
/**
|
|
18656
|
-
*
|
|
20470
|
+
* 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.
|
|
18657
20471
|
*/
|
|
18658
|
-
|
|
20472
|
+
enableHostGroupLabel: boolean;
|
|
18659
20473
|
/**
|
|
18660
|
-
*
|
|
20474
|
+
* 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.
|
|
18661
20475
|
*/
|
|
18662
|
-
|
|
20476
|
+
enableHostname: boolean;
|
|
18663
20477
|
/**
|
|
18664
|
-
*
|
|
20478
|
+
* Upload raw logs. true: Upload raw logs. false (default): Do not upload raw logs.
|
|
18665
20479
|
*/
|
|
18666
|
-
|
|
20480
|
+
enableRawLog: boolean;
|
|
20481
|
+
fields: outputs.tls.RuleUserDefineRuleField[];
|
|
18667
20482
|
/**
|
|
18668
|
-
*
|
|
20483
|
+
* Field name used to store machine group label information
|
|
18669
20484
|
*/
|
|
18670
|
-
|
|
20485
|
+
hostGroupLabelKey: string;
|
|
18671
20486
|
/**
|
|
18672
|
-
*
|
|
20487
|
+
* Hostname field name. Required only when EnableHostname is true.
|
|
18673
20488
|
*/
|
|
18674
|
-
|
|
20489
|
+
hostnameKey: string;
|
|
18675
20490
|
/**
|
|
18676
|
-
*
|
|
20491
|
+
* Ignore log files that have not been updated for a specified period (in hours).
|
|
18677
20492
|
*/
|
|
18678
|
-
|
|
18679
|
-
}
|
|
18680
|
-
interface IndexFullText {
|
|
20493
|
+
ignoreOlder: number;
|
|
18681
20494
|
/**
|
|
18682
|
-
*
|
|
20495
|
+
* 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.
|
|
18683
20496
|
*/
|
|
18684
|
-
|
|
20497
|
+
multiCollectsType: string;
|
|
18685
20498
|
/**
|
|
18686
|
-
*
|
|
20499
|
+
* 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.
|
|
18687
20500
|
*/
|
|
18688
|
-
|
|
20501
|
+
parsePathRule: outputs.tls.RuleUserDefineRuleParsePathRule;
|
|
18689
20502
|
/**
|
|
18690
|
-
*
|
|
20503
|
+
* LogCollector plugin configuration. After enabling plugin configuration, you can add one or more LogCollector processor plugins to parse logs with complex or variable structures.
|
|
18691
20504
|
*/
|
|
18692
|
-
|
|
18693
|
-
}
|
|
18694
|
-
interface IndexKeyValue {
|
|
20505
|
+
plugin: outputs.tls.RuleUserDefineRulePlugin;
|
|
18695
20506
|
/**
|
|
18696
|
-
*
|
|
20507
|
+
* 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.
|
|
18697
20508
|
*/
|
|
18698
|
-
|
|
20509
|
+
rawLogKey: string;
|
|
18699
20510
|
/**
|
|
18700
|
-
*
|
|
20511
|
+
* 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
|
|
18701
20512
|
*/
|
|
18702
|
-
|
|
18703
|
-
}
|
|
18704
|
-
interface IndexKeyValueValue {
|
|
20513
|
+
shardHashKey: outputs.tls.RuleUserDefineRuleShardHashKey;
|
|
18705
20514
|
/**
|
|
18706
|
-
*
|
|
20515
|
+
* 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.
|
|
18707
20516
|
*/
|
|
18708
|
-
|
|
20517
|
+
tailFiles: boolean;
|
|
18709
20518
|
/**
|
|
18710
|
-
*
|
|
20519
|
+
* 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.
|
|
18711
20520
|
*/
|
|
18712
|
-
|
|
20521
|
+
tailSizeKb: number;
|
|
20522
|
+
}
|
|
20523
|
+
interface RuleUserDefineRuleAdvanced {
|
|
18713
20524
|
/**
|
|
18714
|
-
*
|
|
20525
|
+
* After reading to the end of the log file, choose whether to release the file handle. Default is false.
|
|
18715
20526
|
*/
|
|
18716
|
-
|
|
20527
|
+
closeEof: boolean;
|
|
18717
20528
|
/**
|
|
18718
|
-
*
|
|
20529
|
+
* 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.
|
|
18719
20530
|
*/
|
|
18720
|
-
|
|
20531
|
+
closeInactive: number;
|
|
18721
20532
|
/**
|
|
18722
|
-
*
|
|
20533
|
+
* Release the file handle after the log file is removed. Default is false.
|
|
18723
20534
|
*/
|
|
18724
|
-
|
|
20535
|
+
closeRemoved: boolean;
|
|
18725
20536
|
/**
|
|
18726
|
-
*
|
|
20537
|
+
* Release the file handle after the log file is renamed. Default is false.
|
|
18727
20538
|
*/
|
|
18728
|
-
|
|
18729
|
-
jsonKeys: outputs.tls.IndexKeyValueValueJsonKey[];
|
|
20539
|
+
closeRenamed: boolean;
|
|
18730
20540
|
/**
|
|
18731
|
-
*
|
|
20541
|
+
* 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.
|
|
18732
20542
|
*/
|
|
18733
|
-
|
|
20543
|
+
closeTimeout: number;
|
|
18734
20544
|
/**
|
|
18735
|
-
*
|
|
20545
|
+
* 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.
|
|
18736
20546
|
*/
|
|
18737
|
-
|
|
20547
|
+
noLineTerminatorEofMaxTime: number;
|
|
18738
20548
|
}
|
|
18739
|
-
interface
|
|
20549
|
+
interface RuleUserDefineRuleField {
|
|
18740
20550
|
/**
|
|
18741
|
-
*
|
|
20551
|
+
* Key.
|
|
18742
20552
|
*/
|
|
18743
20553
|
key: string;
|
|
18744
20554
|
/**
|
|
18745
|
-
*
|
|
20555
|
+
* Value.
|
|
18746
20556
|
*/
|
|
18747
|
-
|
|
20557
|
+
val: string;
|
|
18748
20558
|
}
|
|
18749
|
-
interface
|
|
20559
|
+
interface RuleUserDefineRuleParsePathRule {
|
|
18750
20560
|
/**
|
|
18751
|
-
*
|
|
18752
|
-
*/
|
|
18753
|
-
autoIndexFlag: boolean;
|
|
18754
|
-
/**
|
|
18755
|
-
* Whether to distinguish case. Default is false.
|
|
18756
|
-
*/
|
|
18757
|
-
caseSensitive: boolean;
|
|
18758
|
-
/**
|
|
18759
|
-
* 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.
|
|
18760
|
-
*/
|
|
18761
|
-
delimiter: string;
|
|
18762
|
-
/**
|
|
18763
|
-
* 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.
|
|
20561
|
+
* 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.
|
|
18764
20562
|
*/
|
|
18765
|
-
|
|
20563
|
+
keys: string[];
|
|
18766
20564
|
/**
|
|
18767
|
-
*
|
|
20565
|
+
* Sample collection path for actual scenarios. The sample collection path must be an absolute path. Wildcards *, ?, ** are not allowed in the path sample.
|
|
18768
20566
|
*/
|
|
18769
|
-
|
|
20567
|
+
pathSample: string;
|
|
18770
20568
|
/**
|
|
18771
|
-
*
|
|
20569
|
+
* Regular expression used to extract the path field. Must match the sample collection path, otherwise extraction will fail
|
|
18772
20570
|
*/
|
|
18773
|
-
|
|
20571
|
+
regex: string;
|
|
20572
|
+
}
|
|
20573
|
+
interface RuleUserDefineRulePlugin {
|
|
18774
20574
|
/**
|
|
18775
|
-
*
|
|
20575
|
+
* LogCollector plugin. For the list of supported plugins and parameter descriptions, see LogCollector plugin overview.
|
|
18776
20576
|
*/
|
|
18777
|
-
|
|
20577
|
+
processors: string;
|
|
20578
|
+
}
|
|
20579
|
+
interface RuleUserDefineRuleShardHashKey {
|
|
18778
20580
|
/**
|
|
18779
|
-
*
|
|
20581
|
+
* 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).
|
|
18780
20582
|
*/
|
|
18781
|
-
|
|
20583
|
+
hashKey: string;
|
|
18782
20584
|
}
|
|
18783
|
-
interface
|
|
20585
|
+
interface ScheduleSqlTaskRequestCycle {
|
|
18784
20586
|
/**
|
|
18785
|
-
*
|
|
20587
|
+
* Cron expression, with a minimum granularity of minutes, using 24-hour format. For example, 0 18 * * * means execution at 18:00 every day.
|
|
18786
20588
|
*/
|
|
18787
|
-
|
|
20589
|
+
cronTab: string;
|
|
18788
20590
|
/**
|
|
18789
|
-
*
|
|
20591
|
+
* If Type is set to Cron, you must also set the time zone.
|
|
18790
20592
|
*/
|
|
18791
|
-
|
|
18792
|
-
}
|
|
18793
|
-
interface IndexUserInnerKeyValueValue {
|
|
20593
|
+
cronTimeZone: string;
|
|
18794
20594
|
/**
|
|
18795
|
-
*
|
|
20595
|
+
* Scheduling period or the time point for periodic execution (minutes from 00:00). Range: 1–1440 minutes.
|
|
18796
20596
|
*/
|
|
18797
|
-
|
|
20597
|
+
time: number;
|
|
18798
20598
|
/**
|
|
18799
|
-
*
|
|
20599
|
+
* Scheduling period type. Options: Period, Fixed, Cron.
|
|
18800
20600
|
*/
|
|
18801
|
-
|
|
20601
|
+
type: string;
|
|
20602
|
+
}
|
|
20603
|
+
interface ShipperContentInfo {
|
|
18802
20604
|
/**
|
|
18803
|
-
*
|
|
20605
|
+
* CSV format log content configuration.
|
|
18804
20606
|
*/
|
|
18805
|
-
|
|
20607
|
+
csvInfo: outputs.tls.ShipperContentInfoCsvInfo;
|
|
18806
20608
|
/**
|
|
18807
|
-
*
|
|
20609
|
+
* Log content parsing format. Delivery to TOS supports json, jsonl, csv; delivery to Kafka supports original, json.
|
|
18808
20610
|
*/
|
|
18809
|
-
|
|
20611
|
+
format: string;
|
|
18810
20612
|
/**
|
|
18811
|
-
*
|
|
20613
|
+
* JSON/JSONL format log content configuration.
|
|
18812
20614
|
*/
|
|
18813
|
-
|
|
20615
|
+
jsonInfo: outputs.tls.ShipperContentInfoJsonInfo;
|
|
20616
|
+
}
|
|
20617
|
+
interface ShipperContentInfoCsvInfo {
|
|
18814
20618
|
/**
|
|
18815
|
-
*
|
|
20619
|
+
* Delimiter. Supports comma, tab, pipe, semicolon, space.
|
|
18816
20620
|
*/
|
|
18817
|
-
|
|
18818
|
-
jsonKeys: outputs.tls.IndexUserInnerKeyValueValueJsonKey[];
|
|
20621
|
+
delimiter: string;
|
|
18819
20622
|
/**
|
|
18820
|
-
*
|
|
20623
|
+
* Escape character. When field content contains a delimiter, use an escape character to enclose it. Supports single quote, double quote, or empty character.
|
|
18821
20624
|
*/
|
|
18822
|
-
|
|
20625
|
+
escapeChar: string;
|
|
18823
20626
|
/**
|
|
18824
|
-
*
|
|
20627
|
+
* Fields to be delivered. Supports letters, numbers, and _-./. Cannot start with an underscore. Length: 1–128.
|
|
18825
20628
|
*/
|
|
18826
|
-
|
|
18827
|
-
}
|
|
18828
|
-
interface IndexUserInnerKeyValueValueJsonKey {
|
|
20629
|
+
keys: string[];
|
|
18829
20630
|
/**
|
|
18830
|
-
*
|
|
20631
|
+
* Content for invalid field padding. Length: 0–128.
|
|
18831
20632
|
*/
|
|
18832
|
-
|
|
20633
|
+
nonFieldContent: string;
|
|
18833
20634
|
/**
|
|
18834
|
-
*
|
|
20635
|
+
* Whether to print the key in the first row.
|
|
18835
20636
|
*/
|
|
18836
|
-
|
|
20637
|
+
printHeader: boolean;
|
|
18837
20638
|
}
|
|
18838
|
-
interface
|
|
20639
|
+
interface ShipperContentInfoJsonInfo {
|
|
18839
20640
|
/**
|
|
18840
|
-
*
|
|
20641
|
+
* Enable flag.
|
|
18841
20642
|
*/
|
|
18842
|
-
|
|
20643
|
+
enable: boolean;
|
|
18843
20644
|
/**
|
|
18844
|
-
* Whether to
|
|
20645
|
+
* Whether to enable escaping. Must be set to true.
|
|
18845
20646
|
*/
|
|
18846
|
-
|
|
20647
|
+
escape: boolean;
|
|
18847
20648
|
/**
|
|
18848
|
-
*
|
|
20649
|
+
* 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**.
|
|
18849
20650
|
*/
|
|
18850
|
-
|
|
20651
|
+
keys: string[];
|
|
20652
|
+
}
|
|
20653
|
+
interface ShipperKafkaShipperInfo {
|
|
18851
20654
|
/**
|
|
18852
|
-
*
|
|
20655
|
+
* Compression format; supports snappy, gzip, lz4, none.
|
|
18853
20656
|
*/
|
|
18854
|
-
|
|
20657
|
+
compress: string;
|
|
18855
20658
|
/**
|
|
18856
|
-
*
|
|
20659
|
+
* 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.
|
|
18857
20660
|
*/
|
|
18858
|
-
|
|
20661
|
+
endTime: number;
|
|
18859
20662
|
/**
|
|
18860
|
-
*
|
|
20663
|
+
* Kafka instance.
|
|
18861
20664
|
*/
|
|
18862
|
-
|
|
20665
|
+
instance: string;
|
|
18863
20666
|
/**
|
|
18864
|
-
*
|
|
20667
|
+
* Kafka topic name. All log data delivered through this configuration will be sent to this topic.
|
|
18865
20668
|
*/
|
|
18866
|
-
|
|
20669
|
+
kafkaTopic: string;
|
|
18867
20670
|
/**
|
|
18868
|
-
*
|
|
20671
|
+
* 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.
|
|
18869
20672
|
*/
|
|
18870
|
-
|
|
20673
|
+
startTime: number;
|
|
18871
20674
|
}
|
|
18872
|
-
interface
|
|
20675
|
+
interface ShipperTosShipperInfo {
|
|
18873
20676
|
/**
|
|
18874
|
-
*
|
|
20677
|
+
* 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.
|
|
18875
20678
|
*/
|
|
18876
|
-
|
|
20679
|
+
bucket: string;
|
|
18877
20680
|
/**
|
|
18878
|
-
*
|
|
20681
|
+
* Compression format; supports snappy, gzip, lz4, none.
|
|
18879
20682
|
*/
|
|
18880
|
-
|
|
18881
|
-
}
|
|
18882
|
-
interface ScheduleSqlTaskRequestCycle {
|
|
20683
|
+
compress: string;
|
|
18883
20684
|
/**
|
|
18884
|
-
*
|
|
20685
|
+
* Delivery interval in seconds, range: 300–900.
|
|
18885
20686
|
*/
|
|
18886
|
-
|
|
20687
|
+
interval: number;
|
|
18887
20688
|
/**
|
|
18888
|
-
*
|
|
20689
|
+
* Maximum raw file size per partition for delivery, in MiB. Range: 5–256.
|
|
18889
20690
|
*/
|
|
18890
|
-
|
|
20691
|
+
maxSize: number;
|
|
18891
20692
|
/**
|
|
18892
|
-
*
|
|
20693
|
+
* Partition rule for log delivery. Subdirectory naming format supports strftime syntax. Default: %Y/%m/%d/%H/%M.
|
|
18893
20694
|
*/
|
|
18894
|
-
|
|
20695
|
+
partitionFormat: string;
|
|
18895
20696
|
/**
|
|
18896
|
-
*
|
|
20697
|
+
* 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.
|
|
18897
20698
|
*/
|
|
18898
|
-
|
|
20699
|
+
prefix: string;
|
|
18899
20700
|
}
|
|
18900
20701
|
interface TopicTag {
|
|
18901
20702
|
/**
|
|
@@ -19193,14 +20994,6 @@ export declare namespace vedbm {
|
|
|
19193
20994
|
* Instance ID.
|
|
19194
20995
|
*/
|
|
19195
20996
|
instanceId: string;
|
|
19196
|
-
/**
|
|
19197
|
-
* Instance name.
|
|
19198
|
-
*/
|
|
19199
|
-
instanceName: string;
|
|
19200
|
-
/**
|
|
19201
|
-
* Instance VPC ID.
|
|
19202
|
-
*/
|
|
19203
|
-
vpc: string;
|
|
19204
20997
|
}
|
|
19205
20998
|
interface DatabaseDatabasesPrivilege {
|
|
19206
20999
|
/**
|
|
@@ -20236,6 +22029,38 @@ export declare namespace vepfs {
|
|
|
20236
22029
|
*/
|
|
20237
22030
|
value: string;
|
|
20238
22031
|
}
|
|
22032
|
+
interface GetMountServiceAttachFileSystem {
|
|
22033
|
+
/**
|
|
22034
|
+
* Account ID.
|
|
22035
|
+
*/
|
|
22036
|
+
accountId: string;
|
|
22037
|
+
/**
|
|
22038
|
+
* User mount path.
|
|
22039
|
+
*/
|
|
22040
|
+
customerPath: string;
|
|
22041
|
+
/**
|
|
22042
|
+
* File system ID.
|
|
22043
|
+
*/
|
|
22044
|
+
fileSystemId: string;
|
|
22045
|
+
/**
|
|
22046
|
+
* File system name.
|
|
22047
|
+
*/
|
|
22048
|
+
fileSystemName: string;
|
|
22049
|
+
/**
|
|
22050
|
+
* Binding status. Details: Attaching: Attaching. AttachError: Attachment failed. Attached: Attached. Detaching: Detaching. DetachError: Detachment failed.
|
|
22051
|
+
*/
|
|
22052
|
+
status: string;
|
|
22053
|
+
}
|
|
22054
|
+
interface GetMountServiceNode {
|
|
22055
|
+
/**
|
|
22056
|
+
* Node initial password.
|
|
22057
|
+
*/
|
|
22058
|
+
defaultPassword: string;
|
|
22059
|
+
/**
|
|
22060
|
+
* Node instance ID.
|
|
22061
|
+
*/
|
|
22062
|
+
nodeId: string;
|
|
22063
|
+
}
|
|
20239
22064
|
interface InstanceCapacityInfo {
|
|
20240
22065
|
/**
|
|
20241
22066
|
* Total file system capacity, unit: TiB. Note: Disk balancing time varies based on cluster capacity, cluster load, and other factors. For clusters above the PiB level, expansion typically requires day-level disk balancing time. The expansion capacity becomes effective (and is billed) only after disk balancing is complete.
|
|
@@ -20256,6 +22081,38 @@ export declare namespace vepfs {
|
|
|
20256
22081
|
*/
|
|
20257
22082
|
value: string;
|
|
20258
22083
|
}
|
|
22084
|
+
interface MountServiceAttachFileSystem {
|
|
22085
|
+
/**
|
|
22086
|
+
* Account ID.
|
|
22087
|
+
*/
|
|
22088
|
+
accountId: string;
|
|
22089
|
+
/**
|
|
22090
|
+
* User mount path.
|
|
22091
|
+
*/
|
|
22092
|
+
customerPath: string;
|
|
22093
|
+
/**
|
|
22094
|
+
* File system ID.
|
|
22095
|
+
*/
|
|
22096
|
+
fileSystemId: string;
|
|
22097
|
+
/**
|
|
22098
|
+
* File system name.
|
|
22099
|
+
*/
|
|
22100
|
+
fileSystemName: string;
|
|
22101
|
+
/**
|
|
22102
|
+
* Binding status. Details: Attaching: Attaching. AttachError: Attachment failed. Attached: Attached. Detaching: Detaching. DetachError: Detachment failed.
|
|
22103
|
+
*/
|
|
22104
|
+
status: string;
|
|
22105
|
+
}
|
|
22106
|
+
interface MountServiceNode {
|
|
22107
|
+
/**
|
|
22108
|
+
* Node initial password.
|
|
22109
|
+
*/
|
|
22110
|
+
defaultPassword: string;
|
|
22111
|
+
/**
|
|
22112
|
+
* Node instance ID.
|
|
22113
|
+
*/
|
|
22114
|
+
nodeId: string;
|
|
22115
|
+
}
|
|
20259
22116
|
}
|
|
20260
22117
|
export declare namespace vke {
|
|
20261
22118
|
interface AddonStatus {
|