@byteplus/pulumi-bytepluscc 0.0.22 → 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/bandwidthPackage.d.ts +320 -0
- package/cen/bandwidthPackage.js +134 -0
- package/cen/bandwidthPackage.js.map +1 -0
- package/cen/getBandwidthPackage.d.ts +137 -0
- package/cen/getBandwidthPackage.js +28 -0
- package/cen/getBandwidthPackage.js.map +1 -0
- package/cen/getBandwidthPackages.d.ts +22 -0
- package/cen/getBandwidthPackages.js +24 -0
- package/cen/getBandwidthPackages.js.map +1 -0
- 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 +36 -0
- package/cen/index.js +45 -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/clb.d.ts +8 -0
- package/clb/clb.js +2 -0
- package/clb/clb.js.map +1 -1
- package/clb/getClb.d.ts +4 -0
- package/clb/getClb.js.map +1 -1
- 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/iam/accesskey.d.ts +2 -2
- package/iam/accesskey.js +2 -2
- package/iam/accesskey.js.map +1 -1
- package/iam/getAccesskey.d.ts +2 -2
- package/iam/getAccesskey.js +2 -2
- package/iam/getAccesskeys.d.ts +2 -2
- package/iam/getAccesskeys.js +2 -2
- package/mongodb/getInstance.d.ts +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/instance.d.ts +3 -3
- 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/getVpcEndpoint.d.ts +137 -0
- package/privatelink/getVpcEndpoint.js +28 -0
- package/privatelink/getVpcEndpoint.js.map +1 -0
- 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/getVpcEndpoints.d.ts +22 -0
- package/privatelink/getVpcEndpoints.js +24 -0
- package/privatelink/getVpcEndpoints.js.map +1 -0
- package/privatelink/index.d.ts +18 -0
- package/privatelink/index.js +23 -1
- package/privatelink/index.js.map +1 -1
- package/privatelink/vpcEndpoint.d.ts +277 -0
- package/privatelink/vpcEndpoint.js +106 -0
- package/privatelink/vpcEndpoint.js.map +1 -0
- 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/rdspostgresql/getInstance.d.ts +153 -0
- package/rdspostgresql/getInstance.js +28 -0
- package/rdspostgresql/getInstance.js.map +1 -0
- package/rdspostgresql/getInstances.d.ts +22 -0
- package/rdspostgresql/getInstances.js +24 -0
- package/rdspostgresql/getInstances.js.map +1 -0
- package/rdspostgresql/index.d.ts +9 -0
- package/rdspostgresql/index.js +12 -1
- package/rdspostgresql/index.js.map +1 -1
- package/rdspostgresql/instance.d.ts +303 -0
- package/rdspostgresql/instance.js +132 -0
- package/rdspostgresql/instance.js.map +1 -0
- 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/consumerGroup.d.ts +128 -0
- package/tls/consumerGroup.js +98 -0
- package/tls/consumerGroup.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/getConsumerGroup.d.ts +60 -0
- package/tls/getConsumerGroup.js +28 -0
- package/tls/getConsumerGroup.js.map +1 -0
- package/tls/getConsumerGroups.d.ts +22 -0
- package/tls/getConsumerGroups.js +24 -0
- package/tls/getConsumerGroups.js.map +1 -0
- package/tls/getImportTask.d.ts +89 -0
- package/tls/getImportTask.js +28 -0
- package/tls/getImportTask.js.map +1 -0
- package/tls/getImportTasks.d.ts +22 -0
- package/tls/getImportTasks.js +24 -0
- package/tls/getImportTasks.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/importTask.d.ts +183 -0
- package/tls/importTask.js +97 -0
- package/tls/importTask.js.map +1 -0
- package/tls/index.d.ts +45 -0
- package/tls/index.js +56 -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 +1750 -186
- package/types/output.d.ts +3516 -361
- package/vedbm/endpoint.d.ts +247 -0
- package/vedbm/endpoint.js +93 -0
- package/vedbm/endpoint.js.map +1 -0
- package/vedbm/getEndpoint.d.ts +105 -0
- package/vedbm/getEndpoint.js +28 -0
- package/vedbm/getEndpoint.js.map +1 -0
- package/vedbm/getEndpoints.d.ts +22 -0
- package/vedbm/getEndpoints.js +24 -0
- package/vedbm/getEndpoints.js.map +1 -0
- package/vedbm/index.d.ts +9 -0
- package/vedbm/index.js +12 -1
- package/vedbm/index.js.map +1 -1
- 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
|
@@ -2889,6 +2889,14 @@ export declare namespace autoscaling {
|
|
|
2889
2889
|
volumeType: string;
|
|
2890
2890
|
}
|
|
2891
2891
|
interface ScalingGroupInstance {
|
|
2892
|
+
/**
|
|
2893
|
+
* Time when the instance joined the scaling group
|
|
2894
|
+
*/
|
|
2895
|
+
createdTime: string;
|
|
2896
|
+
/**
|
|
2897
|
+
* How the instance joined the scaling group (Attached / AutoCreated)
|
|
2898
|
+
*/
|
|
2899
|
+
creationType: string;
|
|
2892
2900
|
/**
|
|
2893
2901
|
* Whether to enable managed mode for the instance when AttachInstances is performed
|
|
2894
2902
|
*/
|
|
@@ -2897,10 +2905,34 @@ export declare namespace autoscaling {
|
|
|
2897
2905
|
* ECS instance ID, unique identifier of the subresource
|
|
2898
2906
|
*/
|
|
2899
2907
|
instanceId: string;
|
|
2908
|
+
/**
|
|
2909
|
+
* Launch template ID used by the instance
|
|
2910
|
+
*/
|
|
2911
|
+
launchTemplateId: string;
|
|
2912
|
+
/**
|
|
2913
|
+
* Launch template version used by the instance
|
|
2914
|
+
*/
|
|
2915
|
+
launchTemplateVersion: string;
|
|
2900
2916
|
/**
|
|
2901
2917
|
* Whether to trigger lifecycle hooks when the instance is attached, detached, or removed
|
|
2902
2918
|
*/
|
|
2903
2919
|
lifecycleHook: boolean;
|
|
2920
|
+
/**
|
|
2921
|
+
* Scaling configuration ID associated with the instance
|
|
2922
|
+
*/
|
|
2923
|
+
scalingConfigurationId: string;
|
|
2924
|
+
/**
|
|
2925
|
+
* Scaling policy ID associated with the instance
|
|
2926
|
+
*/
|
|
2927
|
+
scalingPolicyId: string;
|
|
2928
|
+
/**
|
|
2929
|
+
* Current status of the instance in the scaling group
|
|
2930
|
+
*/
|
|
2931
|
+
status: string;
|
|
2932
|
+
/**
|
|
2933
|
+
* Availability zone of the instance
|
|
2934
|
+
*/
|
|
2935
|
+
zoneId: string;
|
|
2904
2936
|
}
|
|
2905
2937
|
interface ScalingGroupInstanceRemovePolicy {
|
|
2906
2938
|
/**
|
|
@@ -7729,6 +7761,16 @@ export declare namespace cdn {
|
|
|
7729
7761
|
}
|
|
7730
7762
|
}
|
|
7731
7763
|
export declare namespace cen {
|
|
7764
|
+
interface BandwidthPackageTag {
|
|
7765
|
+
/**
|
|
7766
|
+
* Tag key for user tags. Parameter - N: indicates the tag key index, value range: 1–20. Use & to separate multiple tag keys. Cannot start with sys:, in any case. Length range: 1–128 characters. Supports all languages, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals (=), plus (+), hyphens (-), and @ (@). If a tag key starts or ends with a space, the system automatically removes it.
|
|
7767
|
+
*/
|
|
7768
|
+
key: string;
|
|
7769
|
+
/**
|
|
7770
|
+
* Tag value for user tags. Parameter - N indicates the tag value index, range: 1–20. Use & to separate multiple tag values. Length range: 0–256 characters. If not specified, defaults to empty. Supports all languages, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals signs (=), plus signs (+), hyphens (-), and @ (@). Case-sensitive. If the tag value starts or ends with a space, the system automatically removes it.
|
|
7771
|
+
*/
|
|
7772
|
+
value: string;
|
|
7773
|
+
}
|
|
7732
7774
|
interface CenInstance {
|
|
7733
7775
|
/**
|
|
7734
7776
|
* Network instance ID
|
|
@@ -7757,6 +7799,16 @@ export declare namespace cen {
|
|
|
7757
7799
|
*/
|
|
7758
7800
|
value: string;
|
|
7759
7801
|
}
|
|
7802
|
+
interface GetBandwidthPackageTag {
|
|
7803
|
+
/**
|
|
7804
|
+
* Tag key for user tags. Parameter - N: indicates the tag key index, value range: 1–20. Use & to separate multiple tag keys. Cannot start with sys:, in any case. Length range: 1–128 characters. Supports all languages, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals (=), plus (+), hyphens (-), and @ (@). If a tag key starts or ends with a space, the system automatically removes it.
|
|
7805
|
+
*/
|
|
7806
|
+
key: string;
|
|
7807
|
+
/**
|
|
7808
|
+
* Tag value for user tags. Parameter - N indicates the tag value index, range: 1–20. Use & to separate multiple tag values. Length range: 0–256 characters. If not specified, defaults to empty. Supports all languages, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals signs (=), plus signs (+), hyphens (-), and @ (@). Case-sensitive. If the tag value starts or ends with a space, the system automatically removes it.
|
|
7809
|
+
*/
|
|
7810
|
+
value: string;
|
|
7811
|
+
}
|
|
7760
7812
|
interface GetCenInstance {
|
|
7761
7813
|
/**
|
|
7762
7814
|
* CEN instance ID
|
|
@@ -7797,6 +7849,34 @@ export declare namespace cen {
|
|
|
7797
7849
|
*/
|
|
7798
7850
|
value: string;
|
|
7799
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
|
+
}
|
|
7800
7880
|
}
|
|
7801
7881
|
export declare namespace clb {
|
|
7802
7882
|
interface AclAclEntry {
|
|
@@ -7919,6 +7999,28 @@ export declare namespace clb {
|
|
|
7919
7999
|
*/
|
|
7920
8000
|
eniId: string;
|
|
7921
8001
|
}
|
|
8002
|
+
interface ClbIpv6AddressBandwidth {
|
|
8003
|
+
/**
|
|
8004
|
+
* Peak bandwidth of IPv6 public bandwidth, in Mbps
|
|
8005
|
+
*/
|
|
8006
|
+
bandwidth: number;
|
|
8007
|
+
/**
|
|
8008
|
+
* Shared bandwidth package ID associated with IPv6 public bandwidth
|
|
8009
|
+
*/
|
|
8010
|
+
bandwidthPackageId: string;
|
|
8011
|
+
/**
|
|
8012
|
+
* Billing type for IPv6 public bandwidth
|
|
8013
|
+
*/
|
|
8014
|
+
billingType: number;
|
|
8015
|
+
/**
|
|
8016
|
+
* Line type of IPv6 public bandwidth
|
|
8017
|
+
*/
|
|
8018
|
+
isp: string;
|
|
8019
|
+
/**
|
|
8020
|
+
* Network type of the load balancer instance's IPv6 address
|
|
8021
|
+
*/
|
|
8022
|
+
networkType: string;
|
|
8023
|
+
}
|
|
7922
8024
|
interface ClbListener {
|
|
7923
8025
|
/**
|
|
7924
8026
|
* Listener ID
|
|
@@ -8069,6 +8171,28 @@ export declare namespace clb {
|
|
|
8069
8171
|
*/
|
|
8070
8172
|
eniId: string;
|
|
8071
8173
|
}
|
|
8174
|
+
interface GetClbIpv6AddressBandwidth {
|
|
8175
|
+
/**
|
|
8176
|
+
* Peak bandwidth of IPv6 public bandwidth, in Mbps
|
|
8177
|
+
*/
|
|
8178
|
+
bandwidth: number;
|
|
8179
|
+
/**
|
|
8180
|
+
* Shared bandwidth package ID associated with IPv6 public bandwidth
|
|
8181
|
+
*/
|
|
8182
|
+
bandwidthPackageId: string;
|
|
8183
|
+
/**
|
|
8184
|
+
* Billing type for IPv6 public bandwidth
|
|
8185
|
+
*/
|
|
8186
|
+
billingType: number;
|
|
8187
|
+
/**
|
|
8188
|
+
* Line type of IPv6 public bandwidth
|
|
8189
|
+
*/
|
|
8190
|
+
isp: string;
|
|
8191
|
+
/**
|
|
8192
|
+
* Network type of the load balancer instance's IPv6 address
|
|
8193
|
+
*/
|
|
8194
|
+
networkType: string;
|
|
8195
|
+
}
|
|
8072
8196
|
interface GetClbListener {
|
|
8073
8197
|
/**
|
|
8074
8198
|
* Listener ID
|
|
@@ -8099,6 +8223,24 @@ export declare namespace clb {
|
|
|
8099
8223
|
*/
|
|
8100
8224
|
value: string;
|
|
8101
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
|
+
}
|
|
8102
8244
|
interface GetListenerHealthCheck {
|
|
8103
8245
|
/**
|
|
8104
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.
|
|
@@ -8467,6 +8609,20 @@ export declare namespace clb {
|
|
|
8467
8609
|
*/
|
|
8468
8610
|
value: string;
|
|
8469
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
|
+
}
|
|
8470
8626
|
interface ListenerHealthCheck {
|
|
8471
8627
|
/**
|
|
8472
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.
|
|
@@ -9207,6 +9363,10 @@ export declare namespace cloudmonitor {
|
|
|
9207
9363
|
* Comparison operators. Supports standard threshold alerting: >, >=, <, <=, !=, =, as well as the following period-over-period alerting: last*period*increase*pct: Increased compared to last period. last*period*decrease*pct: Decreased compared to last period. last*period*abs*pct: Increased or decreased compared to last period. last*day*increase*pct: Increased compared to the same period yesterday. last*day*decrease*pct: Decreased compared to the same period yesterday. last*day*abs*pct: Increased or decreased compared to the same period yesterday. last*week*increase*pct: Increased compared to the same period last week. last*week*decrease*pct: Decreased compared to the same period last week. last*week*abs_pct: Increased or decreased compared to the same period last week.
|
|
9208
9364
|
*/
|
|
9209
9365
|
comparisonOperator: string;
|
|
9366
|
+
/**
|
|
9367
|
+
* Metric display name.
|
|
9368
|
+
*/
|
|
9369
|
+
displayName: string;
|
|
9210
9370
|
/**
|
|
9211
9371
|
* Monitoring metric name. For details, see MetricName for each product in Cloud Monitoring Metric Query.
|
|
9212
9372
|
*/
|
|
@@ -10689,6 +10849,18 @@ export declare namespace ecs {
|
|
|
10689
10849
|
* The number of IPv6 addresses for the instance.
|
|
10690
10850
|
*/
|
|
10691
10851
|
ipv6AddressCount: number;
|
|
10852
|
+
/**
|
|
10853
|
+
* IPv6 address of the instance.
|
|
10854
|
+
*/
|
|
10855
|
+
ipv6Addresses: string[];
|
|
10856
|
+
/**
|
|
10857
|
+
* Instance MAC address.
|
|
10858
|
+
*/
|
|
10859
|
+
macAddress: string;
|
|
10860
|
+
/**
|
|
10861
|
+
* The network interface ID of the instance.
|
|
10862
|
+
*/
|
|
10863
|
+
networkInterfaceId: string;
|
|
10692
10864
|
/**
|
|
10693
10865
|
* Instance primary IP address
|
|
10694
10866
|
*/
|
|
@@ -10705,6 +10877,10 @@ export declare namespace ecs {
|
|
|
10705
10877
|
* Instance subnet ID.
|
|
10706
10878
|
*/
|
|
10707
10879
|
subnetId: string;
|
|
10880
|
+
/**
|
|
10881
|
+
* VPC ID of the instance.
|
|
10882
|
+
*/
|
|
10883
|
+
vpcId: string;
|
|
10708
10884
|
}
|
|
10709
10885
|
interface InstanceSystemVolume {
|
|
10710
10886
|
/**
|
|
@@ -15116,10 +15292,6 @@ export declare namespace privatelink {
|
|
|
15116
15292
|
value: string;
|
|
15117
15293
|
}
|
|
15118
15294
|
interface EndpointServiceResource {
|
|
15119
|
-
/**
|
|
15120
|
-
* Endpoint service ID.
|
|
15121
|
-
*/
|
|
15122
|
-
instanceId: string;
|
|
15123
15295
|
/**
|
|
15124
15296
|
* Service resource ID to be added to the endpoint service.
|
|
15125
15297
|
*/
|
|
@@ -15158,14 +15330,14 @@ export declare namespace privatelink {
|
|
|
15158
15330
|
value: string;
|
|
15159
15331
|
}
|
|
15160
15332
|
interface GetEndpointServiceResource {
|
|
15161
|
-
/**
|
|
15162
|
-
* Endpoint service ID.
|
|
15163
|
-
*/
|
|
15164
|
-
instanceId: string;
|
|
15165
15333
|
/**
|
|
15166
15334
|
* Service resource ID to be added to the endpoint service.
|
|
15167
15335
|
*/
|
|
15168
15336
|
resourceId: string;
|
|
15337
|
+
/**
|
|
15338
|
+
* Type of service resource.
|
|
15339
|
+
*/
|
|
15340
|
+
resourceType: string;
|
|
15169
15341
|
/**
|
|
15170
15342
|
* Availability zone where the load balancer provides service.
|
|
15171
15343
|
*/
|
|
@@ -15181,145 +15353,337 @@ export declare namespace privatelink {
|
|
|
15181
15353
|
*/
|
|
15182
15354
|
value: string;
|
|
15183
15355
|
}
|
|
15184
|
-
|
|
15185
|
-
export declare namespace privatezone {
|
|
15186
|
-
interface GetResolverEndpointIpConfig {
|
|
15356
|
+
interface GetVpcEndpointConnectionResourcesAllocate {
|
|
15187
15357
|
/**
|
|
15188
|
-
*
|
|
15358
|
+
* Specify the service resource for the endpoint connection
|
|
15189
15359
|
*/
|
|
15190
|
-
|
|
15360
|
+
resourceId: string;
|
|
15191
15361
|
/**
|
|
15192
|
-
*
|
|
15362
|
+
* Availability zone ID of the service resource to be specified
|
|
15193
15363
|
*/
|
|
15194
|
-
|
|
15364
|
+
zoneId: string;
|
|
15365
|
+
}
|
|
15366
|
+
interface GetVpcEndpointConnectionZone {
|
|
15195
15367
|
/**
|
|
15196
|
-
*
|
|
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
|
|
15197
15369
|
*/
|
|
15198
|
-
|
|
15370
|
+
networkInterfaceId: string;
|
|
15199
15371
|
/**
|
|
15200
|
-
*
|
|
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.
|
|
15201
15373
|
*/
|
|
15202
|
-
|
|
15203
|
-
}
|
|
15204
|
-
interface GetResolverEndpointTag {
|
|
15374
|
+
networkInterfaceIp: string;
|
|
15205
15375
|
/**
|
|
15206
|
-
*
|
|
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
|
|
15207
15377
|
*/
|
|
15208
|
-
|
|
15378
|
+
networkInterfaceIpv6: string;
|
|
15209
15379
|
/**
|
|
15210
|
-
*
|
|
15380
|
+
* Service resource ID
|
|
15211
15381
|
*/
|
|
15212
|
-
|
|
15213
|
-
}
|
|
15214
|
-
interface GetResolverRuleForwardIP {
|
|
15382
|
+
resourceId: string;
|
|
15215
15383
|
/**
|
|
15216
|
-
*
|
|
15384
|
+
* Status of the service resource
|
|
15217
15385
|
*/
|
|
15218
|
-
|
|
15386
|
+
serviceStatus: string;
|
|
15219
15387
|
/**
|
|
15220
|
-
*
|
|
15388
|
+
* ID of the subnet to which the endpoint network interface belongs
|
|
15221
15389
|
*/
|
|
15222
|
-
|
|
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;
|
|
15223
15403
|
}
|
|
15224
|
-
interface
|
|
15404
|
+
interface GetVpcEndpointTag {
|
|
15225
15405
|
/**
|
|
15226
|
-
* Tag key
|
|
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 @.
|
|
15227
15407
|
*/
|
|
15228
15408
|
key: string;
|
|
15229
15409
|
/**
|
|
15230
|
-
* Tag value
|
|
15410
|
+
* Tag value of the endpoint user tag. Length limit: 0–256 characters. Case sensitive. Cannot start or end with a space. Allowed characters: letters, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equal signs (=), plus signs (+), hyphens (-), and @
|
|
15231
15411
|
*/
|
|
15232
15412
|
value: string;
|
|
15233
15413
|
}
|
|
15234
|
-
interface
|
|
15414
|
+
interface GetVpcEndpointZone {
|
|
15235
15415
|
/**
|
|
15236
|
-
*
|
|
15416
|
+
* Service status of the endpoint node's IPv6 address. Active: normal. Inactive: abnormal.
|
|
15237
15417
|
*/
|
|
15238
|
-
|
|
15418
|
+
ipv6ServiceStatus: string;
|
|
15239
15419
|
/**
|
|
15240
|
-
*
|
|
15420
|
+
* ID of the endpoint NIC used to connect to new service resources. If not in the process of seamless service resource replacement, this parameter returns empty.
|
|
15241
15421
|
*/
|
|
15242
|
-
|
|
15422
|
+
networkInterfaceId: string;
|
|
15243
15423
|
/**
|
|
15244
|
-
*
|
|
15424
|
+
* The private IPv4 address of the endpoint node's network interface must belong to the subnet's IPv4 CIDR block. You can call the DescribeSubnets API to obtain the subnet's CIDR block. Parameter -N: indicates the sequence number of the private IPv4 address, with a value range of 1–10. Use & to separate multiple private IPv4 addresses.
|
|
15245
15425
|
*/
|
|
15246
|
-
|
|
15426
|
+
privateIpAddress: string;
|
|
15247
15427
|
/**
|
|
15248
|
-
*
|
|
15428
|
+
* The private IPv6 address of the endpoint node's network interface must belong to the subnet's IPv6 CIDR block. You can call the DescribeSubnets API to obtain the subnet's CIDR block. Parameter -N: indicates the sequence number of the private IPv6 address, with a value range of 1–10. Use & to separate multiple private IPv6 addresses. If not specified, an IPv6 address will be randomly assigned within the subnet's IPv6 CIDR block by default.
|
|
15249
15429
|
*/
|
|
15250
|
-
|
|
15251
|
-
}
|
|
15252
|
-
interface ResolverEndpointIpConfig {
|
|
15430
|
+
privateIpv6Address: string;
|
|
15253
15431
|
/**
|
|
15254
|
-
*
|
|
15432
|
+
* Service status of the endpoint IPv4 address. Active: Normal. Inactive: Abnormal.
|
|
15255
15433
|
*/
|
|
15256
|
-
|
|
15434
|
+
serviceStatus: string;
|
|
15257
15435
|
/**
|
|
15258
|
-
*
|
|
15436
|
+
* ID of the subnet to which the NIC of the endpoint to be created belongs. You can call the DescribeSubnets API to obtain the subnet ID. Parameter -N: Indicates the sequence number of the subnet ID, value range: 1–10. Separate multiple subnet IDs with &.
|
|
15259
15437
|
*/
|
|
15260
|
-
|
|
15438
|
+
subnetId: string;
|
|
15261
15439
|
/**
|
|
15262
|
-
*
|
|
15440
|
+
* Domain name of the endpoint availability zone.
|
|
15263
15441
|
*/
|
|
15264
|
-
|
|
15442
|
+
zoneDomain: string;
|
|
15265
15443
|
/**
|
|
15266
|
-
*
|
|
15444
|
+
* ID of the availability zone to which the NIC of the endpoint to be created belongs. For more information about availability zones, see Regions and Availability Zones. Parameter -N: Indicates the sequence number of the availability zone, value range: 1–10. Separate multiple availability zone IDs with &.
|
|
15267
15445
|
*/
|
|
15268
|
-
|
|
15446
|
+
zoneId: string;
|
|
15447
|
+
/**
|
|
15448
|
+
* Status of the endpoint node's availability zone. PendingAcceptance: waiting for connection. Connecting: connecting. Connected: connected. Disconnecting: disconnecting. Rejected: connection rejected. Failed: connection failed.
|
|
15449
|
+
*/
|
|
15450
|
+
zoneStatus: string;
|
|
15269
15451
|
}
|
|
15270
|
-
interface
|
|
15452
|
+
interface VpcEndpointConnectionResourcesAllocate {
|
|
15271
15453
|
/**
|
|
15272
|
-
*
|
|
15454
|
+
* Specify the service resource for the endpoint connection
|
|
15273
15455
|
*/
|
|
15274
|
-
|
|
15456
|
+
resourceId: string;
|
|
15275
15457
|
/**
|
|
15276
|
-
*
|
|
15458
|
+
* Availability zone ID of the service resource to be specified
|
|
15277
15459
|
*/
|
|
15278
|
-
|
|
15460
|
+
zoneId: string;
|
|
15279
15461
|
}
|
|
15280
|
-
interface
|
|
15462
|
+
interface VpcEndpointConnectionZone {
|
|
15281
15463
|
/**
|
|
15282
|
-
*
|
|
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
|
|
15283
15465
|
*/
|
|
15284
|
-
|
|
15466
|
+
networkInterfaceId: string;
|
|
15285
15467
|
/**
|
|
15286
|
-
*
|
|
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.
|
|
15287
15469
|
*/
|
|
15288
|
-
|
|
15289
|
-
}
|
|
15290
|
-
interface ResolverRuleTag {
|
|
15470
|
+
networkInterfaceIp: string;
|
|
15291
15471
|
/**
|
|
15292
|
-
*
|
|
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
|
|
15293
15473
|
*/
|
|
15294
|
-
|
|
15474
|
+
networkInterfaceIpv6: string;
|
|
15295
15475
|
/**
|
|
15296
|
-
*
|
|
15476
|
+
* Service resource ID
|
|
15297
15477
|
*/
|
|
15298
|
-
|
|
15299
|
-
}
|
|
15300
|
-
interface ResolverRuleVpC {
|
|
15478
|
+
resourceId: string;
|
|
15301
15479
|
/**
|
|
15302
|
-
*
|
|
15480
|
+
* Status of the service resource
|
|
15303
15481
|
*/
|
|
15304
|
-
|
|
15482
|
+
serviceStatus: string;
|
|
15305
15483
|
/**
|
|
15306
|
-
*
|
|
15484
|
+
* ID of the subnet to which the endpoint network interface belongs
|
|
15307
15485
|
*/
|
|
15308
|
-
|
|
15309
|
-
}
|
|
15310
|
-
}
|
|
15311
|
-
export declare namespace rabbitmq {
|
|
15312
|
-
interface GetInstanceChargeDetail {
|
|
15486
|
+
subnetId: string;
|
|
15313
15487
|
/**
|
|
15314
|
-
*
|
|
15488
|
+
* The domain name of the terminal node availability zone.
|
|
15315
15489
|
*/
|
|
15316
|
-
|
|
15490
|
+
zoneDomain: string;
|
|
15317
15491
|
/**
|
|
15318
|
-
*
|
|
15492
|
+
* Endpoint zone ID
|
|
15319
15493
|
*/
|
|
15320
|
-
|
|
15494
|
+
zoneId: string;
|
|
15321
15495
|
/**
|
|
15322
|
-
*
|
|
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
|
+
}
|
|
15500
|
+
interface VpcEndpointTag {
|
|
15501
|
+
/**
|
|
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 @.
|
|
15503
|
+
*/
|
|
15504
|
+
key: string;
|
|
15505
|
+
/**
|
|
15506
|
+
* Tag value of the endpoint user tag. Length limit: 0–256 characters. Case sensitive. Cannot start or end with a space. Allowed characters: letters, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equal signs (=), plus signs (+), hyphens (-), and @
|
|
15507
|
+
*/
|
|
15508
|
+
value: string;
|
|
15509
|
+
}
|
|
15510
|
+
interface VpcEndpointZone {
|
|
15511
|
+
/**
|
|
15512
|
+
* The private IPv4 address of the endpoint node's network interface must belong to the subnet's IPv4 CIDR block. You can call the DescribeSubnets API to obtain the subnet's CIDR block. Parameter -N: indicates the sequence number of the private IPv4 address, with a value range of 1–10. Use & to separate multiple private IPv4 addresses.
|
|
15513
|
+
*/
|
|
15514
|
+
privateIpAddress: string;
|
|
15515
|
+
/**
|
|
15516
|
+
* The private IPv6 address of the endpoint node's network interface must belong to the subnet's IPv6 CIDR block. You can call the DescribeSubnets API to obtain the subnet's CIDR block. Parameter -N: indicates the sequence number of the private IPv6 address, with a value range of 1–10. Use & to separate multiple private IPv6 addresses. If not specified, an IPv6 address will be randomly assigned within the subnet's IPv6 CIDR block by default.
|
|
15517
|
+
*/
|
|
15518
|
+
privateIpv6Address: string;
|
|
15519
|
+
/**
|
|
15520
|
+
* ID of the subnet to which the NIC of the endpoint to be created belongs. You can call the DescribeSubnets API to obtain the subnet ID. Parameter -N: Indicates the sequence number of the subnet ID, value range: 1–10. Separate multiple subnet IDs with &.
|
|
15521
|
+
*/
|
|
15522
|
+
subnetId: string;
|
|
15523
|
+
/**
|
|
15524
|
+
* ID of the availability zone to which the NIC of the endpoint to be created belongs. For more information about availability zones, see Regions and Availability Zones. Parameter -N: Indicates the sequence number of the availability zone, value range: 1–10. Separate multiple availability zone IDs with &.
|
|
15525
|
+
*/
|
|
15526
|
+
zoneId: string;
|
|
15527
|
+
}
|
|
15528
|
+
}
|
|
15529
|
+
export declare namespace privatezone {
|
|
15530
|
+
interface GetResolverEndpointIpConfig {
|
|
15531
|
+
/**
|
|
15532
|
+
* Availability zone for the endpoint IP address. To ensure high availability, it is recommended to add at least 2 availability zones
|
|
15533
|
+
*/
|
|
15534
|
+
azId: string;
|
|
15535
|
+
/**
|
|
15536
|
+
* IPv4 address of the endpoint. If you do not set this parameter, the system automatically assigns an IP address. You can add up to 6 IP addresses
|
|
15537
|
+
*/
|
|
15538
|
+
ip: string;
|
|
15539
|
+
/**
|
|
15540
|
+
* IPv6 address of the endpoint. If you do not set this parameter, the system automatically assigns an IP address. You can add up to 6 IP addresses
|
|
15541
|
+
*/
|
|
15542
|
+
ipv6: string;
|
|
15543
|
+
/**
|
|
15544
|
+
* Subnet ID for the endpoint IP address
|
|
15545
|
+
*/
|
|
15546
|
+
subnetId: string;
|
|
15547
|
+
}
|
|
15548
|
+
interface GetResolverEndpointTag {
|
|
15549
|
+
/**
|
|
15550
|
+
* User tag key
|
|
15551
|
+
*/
|
|
15552
|
+
key: string;
|
|
15553
|
+
/**
|
|
15554
|
+
* User tag value
|
|
15555
|
+
*/
|
|
15556
|
+
value: string;
|
|
15557
|
+
}
|
|
15558
|
+
interface GetResolverRuleForwardIP {
|
|
15559
|
+
/**
|
|
15560
|
+
* IP address of the external DNS server for the VPC
|
|
15561
|
+
*/
|
|
15562
|
+
ip: string;
|
|
15563
|
+
/**
|
|
15564
|
+
* Port of the external DNS server for the VPC
|
|
15565
|
+
*/
|
|
15566
|
+
port: number;
|
|
15567
|
+
}
|
|
15568
|
+
interface GetResolverRuleTag {
|
|
15569
|
+
/**
|
|
15570
|
+
* Tag key for the user tag
|
|
15571
|
+
*/
|
|
15572
|
+
key: string;
|
|
15573
|
+
/**
|
|
15574
|
+
* Tag value for the user tag
|
|
15575
|
+
*/
|
|
15576
|
+
value: string;
|
|
15577
|
+
}
|
|
15578
|
+
interface GetResolverRuleVpC {
|
|
15579
|
+
/**
|
|
15580
|
+
* Account ID that created the VPC
|
|
15581
|
+
*/
|
|
15582
|
+
accountId: string;
|
|
15583
|
+
/**
|
|
15584
|
+
* Region of the VPC
|
|
15585
|
+
*/
|
|
15586
|
+
region: string;
|
|
15587
|
+
/**
|
|
15588
|
+
* Name of the VPC region
|
|
15589
|
+
*/
|
|
15590
|
+
regionName: string;
|
|
15591
|
+
/**
|
|
15592
|
+
* VPC ID
|
|
15593
|
+
*/
|
|
15594
|
+
vpcId: string;
|
|
15595
|
+
}
|
|
15596
|
+
interface ResolverEndpointIpConfig {
|
|
15597
|
+
/**
|
|
15598
|
+
* Availability zone for the endpoint IP address. To ensure high availability, it is recommended to add at least 2 availability zones
|
|
15599
|
+
*/
|
|
15600
|
+
azId: string;
|
|
15601
|
+
/**
|
|
15602
|
+
* IPv4 address of the endpoint. If you do not set this parameter, the system automatically assigns an IP address. You can add up to 6 IP addresses
|
|
15603
|
+
*/
|
|
15604
|
+
ip: string;
|
|
15605
|
+
/**
|
|
15606
|
+
* IPv6 address of the endpoint. If you do not set this parameter, the system automatically assigns an IP address. You can add up to 6 IP addresses
|
|
15607
|
+
*/
|
|
15608
|
+
ipv6: string;
|
|
15609
|
+
/**
|
|
15610
|
+
* Subnet ID for the endpoint IP address
|
|
15611
|
+
*/
|
|
15612
|
+
subnetId: string;
|
|
15613
|
+
}
|
|
15614
|
+
interface ResolverEndpointTag {
|
|
15615
|
+
/**
|
|
15616
|
+
* User tag key
|
|
15617
|
+
*/
|
|
15618
|
+
key: string;
|
|
15619
|
+
/**
|
|
15620
|
+
* User tag value
|
|
15621
|
+
*/
|
|
15622
|
+
value: string;
|
|
15623
|
+
}
|
|
15624
|
+
interface ResolverRuleForwardIP {
|
|
15625
|
+
/**
|
|
15626
|
+
* IP address of the external DNS server for the VPC
|
|
15627
|
+
*/
|
|
15628
|
+
ip: string;
|
|
15629
|
+
/**
|
|
15630
|
+
* Port of the external DNS server for the VPC
|
|
15631
|
+
*/
|
|
15632
|
+
port: number;
|
|
15633
|
+
}
|
|
15634
|
+
interface ResolverRuleTag {
|
|
15635
|
+
/**
|
|
15636
|
+
* Tag key for the user tag
|
|
15637
|
+
*/
|
|
15638
|
+
key: string;
|
|
15639
|
+
/**
|
|
15640
|
+
* Tag value for the user tag
|
|
15641
|
+
*/
|
|
15642
|
+
value: string;
|
|
15643
|
+
}
|
|
15644
|
+
interface ResolverRuleVpC {
|
|
15645
|
+
/**
|
|
15646
|
+
* Region of the VPC
|
|
15647
|
+
*/
|
|
15648
|
+
region: string;
|
|
15649
|
+
/**
|
|
15650
|
+
* VPC ID
|
|
15651
|
+
*/
|
|
15652
|
+
vpcId: string;
|
|
15653
|
+
}
|
|
15654
|
+
}
|
|
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
|
+
}
|
|
15676
|
+
interface GetInstanceChargeDetail {
|
|
15677
|
+
/**
|
|
15678
|
+
* Whether to automatically renew the subscription instance after expiration.
|
|
15679
|
+
*/
|
|
15680
|
+
autoRenew: boolean;
|
|
15681
|
+
/**
|
|
15682
|
+
* Instance billing end time. The time format is YYYY-MM-DD'T'HH:MM:SS'Z'.
|
|
15683
|
+
*/
|
|
15684
|
+
chargeEndTime: string;
|
|
15685
|
+
/**
|
|
15686
|
+
* Expiration time of the subscription instance. The time format is YYYY-MM-DD'T'HH:MM:SS'Z'.
|
|
15323
15687
|
*/
|
|
15324
15688
|
chargeExpireTime: string;
|
|
15325
15689
|
/**
|
|
@@ -15596,6 +15960,26 @@ export declare namespace rdsmssql {
|
|
|
15596
15960
|
* Instance ID
|
|
15597
15961
|
*/
|
|
15598
15962
|
instanceId: string;
|
|
15963
|
+
/**
|
|
15964
|
+
* Instance name
|
|
15965
|
+
*/
|
|
15966
|
+
instanceName: string;
|
|
15967
|
+
/**
|
|
15968
|
+
* Instance status
|
|
15969
|
+
*/
|
|
15970
|
+
instanceStatus: string;
|
|
15971
|
+
/**
|
|
15972
|
+
* Sync latest allowlist IP
|
|
15973
|
+
*/
|
|
15974
|
+
isLatest: boolean;
|
|
15975
|
+
/**
|
|
15976
|
+
* Project name of the instance
|
|
15977
|
+
*/
|
|
15978
|
+
projectName: string;
|
|
15979
|
+
/**
|
|
15980
|
+
* VPC ID of the instance
|
|
15981
|
+
*/
|
|
15982
|
+
vpc: string;
|
|
15599
15983
|
}
|
|
15600
15984
|
interface GetAllowListAssociatedInstance {
|
|
15601
15985
|
/**
|
|
@@ -17044,286 +17428,2586 @@ export declare namespace rdspostgresql {
|
|
|
17044
17428
|
*/
|
|
17045
17429
|
weight: number;
|
|
17046
17430
|
}
|
|
17047
|
-
|
|
17048
|
-
export declare namespace redis {
|
|
17049
|
-
interface GetInstanceCapacity {
|
|
17431
|
+
interface GetInstanceChargeDetail {
|
|
17050
17432
|
/**
|
|
17051
|
-
*
|
|
17433
|
+
* Enable auto-renewal for prepaid scenarios
|
|
17052
17434
|
*/
|
|
17053
|
-
|
|
17435
|
+
autoRenew: boolean;
|
|
17054
17436
|
/**
|
|
17055
|
-
*
|
|
17437
|
+
* Billing expiration time for yearly/monthly instances
|
|
17056
17438
|
*/
|
|
17057
|
-
|
|
17058
|
-
}
|
|
17059
|
-
interface GetInstanceConfigureNode {
|
|
17439
|
+
chargeEndTime: string;
|
|
17060
17440
|
/**
|
|
17061
|
-
*
|
|
17441
|
+
* Instance billing start time
|
|
17062
17442
|
*/
|
|
17063
|
-
|
|
17064
|
-
}
|
|
17065
|
-
interface GetInstanceInstanceShard {
|
|
17443
|
+
chargeStartTime: string;
|
|
17066
17444
|
/**
|
|
17067
|
-
*
|
|
17445
|
+
* Payment status. Value: - `Normal`: Normal - `Overdue`: Overdue and suspended - `Unpaid`: Unpaid
|
|
17068
17446
|
*/
|
|
17069
|
-
|
|
17447
|
+
chargeStatus: string;
|
|
17070
17448
|
/**
|
|
17071
|
-
*
|
|
17449
|
+
* Payment type. Value: - `PostPaid`: Postpaid - `PrePaid`: Prepaid
|
|
17072
17450
|
*/
|
|
17073
|
-
|
|
17451
|
+
chargeType: string;
|
|
17074
17452
|
/**
|
|
17075
|
-
*
|
|
17453
|
+
* Estimated release time after instance suspension due to overdue payment
|
|
17076
17454
|
*/
|
|
17077
|
-
|
|
17078
|
-
}
|
|
17079
|
-
interface GetInstanceInstanceShardServerNode {
|
|
17455
|
+
overdueReclaimTime: string;
|
|
17080
17456
|
/**
|
|
17081
|
-
*
|
|
17457
|
+
* Instance shutdown time due to overdue payment
|
|
17082
17458
|
*/
|
|
17083
|
-
|
|
17459
|
+
overdueTime: string;
|
|
17084
17460
|
/**
|
|
17085
|
-
*
|
|
17461
|
+
* Purchase duration for prepaid scenarios
|
|
17086
17462
|
*/
|
|
17087
|
-
|
|
17463
|
+
period: number;
|
|
17088
17464
|
/**
|
|
17089
|
-
*
|
|
17465
|
+
* Purchase period for prepaid scenarios. Values: - `Month`: month - `Year`: year
|
|
17090
17466
|
*/
|
|
17091
|
-
|
|
17467
|
+
periodUnit: string;
|
|
17092
17468
|
/**
|
|
17093
|
-
*
|
|
17469
|
+
* Rollback time for temporary upgrade
|
|
17094
17470
|
*/
|
|
17095
|
-
|
|
17471
|
+
tempModifyEndTime: string;
|
|
17472
|
+
/**
|
|
17473
|
+
* Start time of temporary scaling
|
|
17474
|
+
*/
|
|
17475
|
+
tempModifyStartTime: string;
|
|
17096
17476
|
}
|
|
17097
|
-
interface
|
|
17477
|
+
interface GetInstanceEndpoint {
|
|
17098
17478
|
/**
|
|
17099
|
-
*
|
|
17479
|
+
* Address list.
|
|
17100
17480
|
*/
|
|
17101
|
-
|
|
17481
|
+
addresses: outputs.rdspostgresql.GetInstanceEndpointAddress[];
|
|
17102
17482
|
/**
|
|
17103
|
-
*
|
|
17483
|
+
* When the terminal type is read-write or read-only, you can set whether new nodes join automatically. Values: - `Enable`: join automatically - `Disable`: do not join automatically (default)
|
|
17104
17484
|
*/
|
|
17105
|
-
|
|
17106
|
-
}
|
|
17107
|
-
interface GetInstanceVisitAddr {
|
|
17485
|
+
autoAddNewNodes: string;
|
|
17108
17486
|
/**
|
|
17109
|
-
*
|
|
17487
|
+
* Address description.
|
|
17110
17488
|
*/
|
|
17111
|
-
|
|
17489
|
+
description: string;
|
|
17112
17490
|
/**
|
|
17113
|
-
*
|
|
17491
|
+
* Enable global read-only mode. - `Enable`: enabled - `Disable`: not enabled
|
|
17114
17492
|
*/
|
|
17115
|
-
|
|
17493
|
+
enableReadOnly: string;
|
|
17116
17494
|
/**
|
|
17117
|
-
*
|
|
17495
|
+
* Enable read-write separation. Values: - `Enable`: enabled - `Disable`: not enabled
|
|
17496
|
+
*/
|
|
17497
|
+
enableReadWriteSplitting: string;
|
|
17498
|
+
/**
|
|
17499
|
+
* Instance connection terminal ID
|
|
17500
|
+
*/
|
|
17501
|
+
endpointId: string;
|
|
17502
|
+
/**
|
|
17503
|
+
* Instance connection terminal name
|
|
17504
|
+
*/
|
|
17505
|
+
endpointName: string;
|
|
17506
|
+
/**
|
|
17507
|
+
* Endpoint type: - `Cluster`: Default endpoint (created by default) - `Custom`: Custom endpoint
|
|
17508
|
+
*/
|
|
17509
|
+
endpointType: string;
|
|
17510
|
+
/**
|
|
17511
|
+
* Read-only weight allocation mode. Options: - `Default`: Standard weight allocation (default). - `Custom`: Custom weight allocation
|
|
17512
|
+
*/
|
|
17513
|
+
readOnlyNodeDistributionType: string;
|
|
17514
|
+
/**
|
|
17515
|
+
* Maximum latency threshold for read-only nodes. If a read-only node's latency exceeds this value, read traffic will not be sent to that node. Unit: seconds. Range: 0~3600. Default: 30.
|
|
17516
|
+
* **Note:** This parameter can be set for the default endpoint when read/write splitting is enabled.
|
|
17517
|
+
*/
|
|
17518
|
+
readOnlyNodeMaxDelayTime: number;
|
|
17519
|
+
/**
|
|
17520
|
+
* List of nodes configured for the endpoint and their corresponding read-only weights.
|
|
17521
|
+
*/
|
|
17522
|
+
readOnlyNodeWeights: outputs.rdspostgresql.GetInstanceEndpointReadOnlyNodeWeight[];
|
|
17523
|
+
/**
|
|
17524
|
+
* Read/write mode: - `ReadWrite`: Read/write - `ReadOnly`: Read-only
|
|
17525
|
+
*/
|
|
17526
|
+
readWriteMode: string;
|
|
17527
|
+
/**
|
|
17528
|
+
* After read/write splitting is enabled for the terminal, set the number of proxy connections for the terminal. - The minimum value for proxy connections is 20. - The maximum value depends on the specification of the instance's primary node. Different specifications support different maximum proxy connections. For details, see [Product Specifications]
|
|
17529
|
+
*/
|
|
17530
|
+
readWriteProxyConnection: number;
|
|
17531
|
+
/**
|
|
17532
|
+
* Whether the endpoint sends write requests to the write node (currently, only the primary node is the write node). Value: - `true`: Yes. (Default) - `false`: No
|
|
17533
|
+
*/
|
|
17534
|
+
writeNodeHaltWriting: boolean;
|
|
17535
|
+
}
|
|
17536
|
+
interface GetInstanceEndpointAddress {
|
|
17537
|
+
/**
|
|
17538
|
+
* Private network address accessible across regions
|
|
17539
|
+
*/
|
|
17540
|
+
crossRegionDomain: string;
|
|
17541
|
+
/**
|
|
17542
|
+
* Enable public network resolution. Values: - false: default, private network resolution - true: private and public network resolution
|
|
17543
|
+
*/
|
|
17544
|
+
dnsVisibility: boolean;
|
|
17545
|
+
/**
|
|
17546
|
+
* Connection domain name
|
|
17547
|
+
*/
|
|
17548
|
+
domain: string;
|
|
17549
|
+
/**
|
|
17550
|
+
* Private network address type. Values: LocalDomain: local region domain name CrossRegionDomain: cross-region accessible domain name
|
|
17551
|
+
*/
|
|
17552
|
+
domainVisibilitySetting: string;
|
|
17553
|
+
/**
|
|
17554
|
+
* EIP ID, valid only for Public addresses
|
|
17118
17555
|
*/
|
|
17119
17556
|
eipId: string;
|
|
17120
17557
|
/**
|
|
17121
|
-
*
|
|
17558
|
+
* IP address
|
|
17122
17559
|
*/
|
|
17123
|
-
|
|
17560
|
+
ipAddress: string;
|
|
17124
17561
|
/**
|
|
17125
|
-
*
|
|
17562
|
+
* Network address type. Value: - `Private`: Private network address - `Public`: Public network address - `Inner`: Public service zone address
|
|
17126
17563
|
*/
|
|
17127
|
-
|
|
17564
|
+
networkType: string;
|
|
17128
17565
|
/**
|
|
17129
|
-
*
|
|
17566
|
+
* Port.
|
|
17130
17567
|
*/
|
|
17131
|
-
|
|
17568
|
+
port: string;
|
|
17569
|
+
/**
|
|
17570
|
+
* Subnet ID
|
|
17571
|
+
*/
|
|
17572
|
+
subnetId: string;
|
|
17132
17573
|
}
|
|
17133
|
-
interface
|
|
17574
|
+
interface GetInstanceEndpointReadOnlyNodeWeight {
|
|
17134
17575
|
/**
|
|
17135
|
-
*
|
|
17576
|
+
* Read-only nodes require NodeId
|
|
17136
17577
|
*/
|
|
17137
|
-
|
|
17578
|
+
nodeId: string;
|
|
17138
17579
|
/**
|
|
17139
|
-
*
|
|
17580
|
+
* Node type
|
|
17140
17581
|
*/
|
|
17141
|
-
|
|
17582
|
+
nodeType: string;
|
|
17583
|
+
/**
|
|
17584
|
+
* Node read weight, increases by 100, maximum value is 10000
|
|
17585
|
+
*/
|
|
17586
|
+
weight: number;
|
|
17142
17587
|
}
|
|
17143
|
-
interface
|
|
17588
|
+
interface GetInstanceMaintenanceWindow {
|
|
17144
17589
|
/**
|
|
17145
|
-
*
|
|
17590
|
+
* Granularity of the maintenance cycle. Value: Week (week)
|
|
17146
17591
|
*/
|
|
17147
|
-
|
|
17592
|
+
dayKind: string;
|
|
17593
|
+
/**
|
|
17594
|
+
* Detailed information about the instance's maintenance window.
|
|
17595
|
+
*/
|
|
17596
|
+
dayOfWeekMaintenanceTimes: outputs.rdspostgresql.GetInstanceMaintenanceWindowDayOfWeekMaintenanceTime[];
|
|
17148
17597
|
}
|
|
17149
|
-
interface
|
|
17598
|
+
interface GetInstanceMaintenanceWindowDayOfWeekMaintenanceTime {
|
|
17150
17599
|
/**
|
|
17151
|
-
*
|
|
17600
|
+
* Specify maintenance days for the instance each week. Multiple selections allowed. Monday: Monday. Tuesday: Tuesday. Wednesday: Wednesday. Thursday: Thursday. Friday: Friday. Saturday: Saturday. Sunday: Sunday. Note: If not specified or left blank, all seven days are enabled by default.
|
|
17152
17601
|
*/
|
|
17153
|
-
|
|
17154
|
-
serverNodes: outputs.redis.InstanceInstanceShardServerNode[];
|
|
17602
|
+
dayOfWeek: string;
|
|
17155
17603
|
/**
|
|
17156
|
-
*
|
|
17604
|
+
* Start time of the maintenance window on the maintenance day. Format: HH:mmZ (UTC time). Currently, only start times between 16:00Z and 20:00Z are supported.
|
|
17157
17605
|
*/
|
|
17158
|
-
|
|
17606
|
+
maintenanceWindowStartTime: string;
|
|
17607
|
+
/**
|
|
17608
|
+
* Duration of the maintenance window on the maintenance day. Minimum duration is 2 hours, maximum is 6 hours.
|
|
17609
|
+
*/
|
|
17610
|
+
period: number;
|
|
17159
17611
|
}
|
|
17160
|
-
interface
|
|
17612
|
+
interface GetInstanceNodeInfo {
|
|
17161
17613
|
/**
|
|
17162
|
-
*
|
|
17614
|
+
* Node creation time. Format: yyyy-MM-ddTHH:mm:ss.sssZ (UTC time)
|
|
17163
17615
|
*/
|
|
17164
|
-
|
|
17616
|
+
createTime: string;
|
|
17165
17617
|
/**
|
|
17166
|
-
*
|
|
17618
|
+
* Instance ID
|
|
17619
|
+
*/
|
|
17620
|
+
instanceId: string;
|
|
17621
|
+
/**
|
|
17622
|
+
* Memory size, unit: GB
|
|
17623
|
+
*/
|
|
17624
|
+
memory: number;
|
|
17625
|
+
/**
|
|
17626
|
+
* Node ID
|
|
17167
17627
|
*/
|
|
17168
17628
|
nodeId: string;
|
|
17169
17629
|
/**
|
|
17170
|
-
* Node
|
|
17630
|
+
* Node specification
|
|
17171
17631
|
*/
|
|
17172
|
-
|
|
17632
|
+
nodeSpec: string;
|
|
17173
17633
|
/**
|
|
17174
|
-
*
|
|
17634
|
+
* Node status
|
|
17635
|
+
*/
|
|
17636
|
+
nodeStatus: string;
|
|
17637
|
+
/**
|
|
17638
|
+
* Node type
|
|
17639
|
+
*/
|
|
17640
|
+
nodeType: string;
|
|
17641
|
+
/**
|
|
17642
|
+
* Region ID
|
|
17643
|
+
*/
|
|
17644
|
+
regionId: string;
|
|
17645
|
+
/**
|
|
17646
|
+
* Node update time. Format: yyyy-MM-ddTHH:mm:ss.sssZ (UTC time)
|
|
17647
|
+
*/
|
|
17648
|
+
updateTime: string;
|
|
17649
|
+
/**
|
|
17650
|
+
* CPU size. For example: 1 means 1U
|
|
17651
|
+
*/
|
|
17652
|
+
vcpu: number;
|
|
17653
|
+
/**
|
|
17654
|
+
* Availability zone of the node
|
|
17175
17655
|
*/
|
|
17176
17656
|
zoneId: string;
|
|
17177
17657
|
}
|
|
17178
|
-
interface
|
|
17658
|
+
interface GetInstanceTag {
|
|
17179
17659
|
/**
|
|
17180
|
-
* Tag key
|
|
17660
|
+
* Tag key
|
|
17181
17661
|
*/
|
|
17182
17662
|
key: string;
|
|
17183
17663
|
/**
|
|
17184
|
-
* Tag value
|
|
17664
|
+
* Tag value
|
|
17185
17665
|
*/
|
|
17186
17666
|
value: string;
|
|
17187
17667
|
}
|
|
17188
|
-
interface
|
|
17668
|
+
interface InstanceChargeDetail {
|
|
17189
17669
|
/**
|
|
17190
|
-
*
|
|
17670
|
+
* Enable auto-renewal for prepaid scenarios
|
|
17191
17671
|
*/
|
|
17192
|
-
|
|
17672
|
+
autoRenew: boolean;
|
|
17193
17673
|
/**
|
|
17194
|
-
*
|
|
17674
|
+
* Billing expiration time for yearly/monthly instances
|
|
17195
17675
|
*/
|
|
17196
|
-
|
|
17676
|
+
chargeEndTime: string;
|
|
17197
17677
|
/**
|
|
17198
|
-
*
|
|
17678
|
+
* Instance billing start time
|
|
17199
17679
|
*/
|
|
17200
|
-
|
|
17680
|
+
chargeStartTime: string;
|
|
17201
17681
|
/**
|
|
17202
|
-
*
|
|
17682
|
+
* Payment status. Value: - `Normal`: Normal - `Overdue`: Overdue and suspended - `Unpaid`: Unpaid
|
|
17203
17683
|
*/
|
|
17204
|
-
|
|
17684
|
+
chargeStatus: string;
|
|
17205
17685
|
/**
|
|
17206
|
-
*
|
|
17686
|
+
* Payment type. Value: - `PostPaid`: Postpaid - `PrePaid`: Prepaid
|
|
17207
17687
|
*/
|
|
17208
|
-
|
|
17688
|
+
chargeType: string;
|
|
17209
17689
|
/**
|
|
17210
|
-
*
|
|
17690
|
+
* Estimated release time after instance suspension due to overdue payment
|
|
17211
17691
|
*/
|
|
17212
|
-
|
|
17213
|
-
}
|
|
17214
|
-
}
|
|
17215
|
-
export declare namespace storageebs {
|
|
17216
|
-
interface GetSnapshotTag {
|
|
17692
|
+
overdueReclaimTime: string;
|
|
17217
17693
|
/**
|
|
17218
|
-
*
|
|
17694
|
+
* Instance shutdown time due to overdue payment
|
|
17219
17695
|
*/
|
|
17220
|
-
|
|
17696
|
+
overdueTime: string;
|
|
17221
17697
|
/**
|
|
17222
|
-
*
|
|
17698
|
+
* Purchase duration for prepaid scenarios
|
|
17223
17699
|
*/
|
|
17224
|
-
|
|
17700
|
+
period: number;
|
|
17701
|
+
/**
|
|
17702
|
+
* Purchase period for prepaid scenarios. Values: - `Month`: month - `Year`: year
|
|
17703
|
+
*/
|
|
17704
|
+
periodUnit: string;
|
|
17705
|
+
/**
|
|
17706
|
+
* Rollback time for temporary upgrade
|
|
17707
|
+
*/
|
|
17708
|
+
tempModifyEndTime: string;
|
|
17709
|
+
/**
|
|
17710
|
+
* Start time of temporary scaling
|
|
17711
|
+
*/
|
|
17712
|
+
tempModifyStartTime: string;
|
|
17225
17713
|
}
|
|
17226
|
-
interface
|
|
17714
|
+
interface InstanceEndpoint {
|
|
17715
|
+
addresses: outputs.rdspostgresql.InstanceEndpointAddress[];
|
|
17227
17716
|
/**
|
|
17228
|
-
*
|
|
17717
|
+
* When the terminal type is read-write or read-only, you can set whether new nodes join automatically. Values: - `Enable`: join automatically - `Disable`: do not join automatically (default)
|
|
17229
17718
|
*/
|
|
17230
|
-
|
|
17719
|
+
autoAddNewNodes: string;
|
|
17231
17720
|
/**
|
|
17232
|
-
*
|
|
17721
|
+
* Address description.
|
|
17233
17722
|
*/
|
|
17234
|
-
|
|
17723
|
+
description: string;
|
|
17724
|
+
/**
|
|
17725
|
+
* Enable global read-only mode. - `Enable`: enabled - `Disable`: not enabled
|
|
17726
|
+
*/
|
|
17727
|
+
enableReadOnly: string;
|
|
17728
|
+
/**
|
|
17729
|
+
* Enable read-write separation. Values: - `Enable`: enabled - `Disable`: not enabled
|
|
17730
|
+
*/
|
|
17731
|
+
enableReadWriteSplitting: string;
|
|
17732
|
+
/**
|
|
17733
|
+
* Instance connection terminal ID
|
|
17734
|
+
*/
|
|
17735
|
+
endpointId: string;
|
|
17736
|
+
/**
|
|
17737
|
+
* Instance connection terminal name
|
|
17738
|
+
*/
|
|
17739
|
+
endpointName: string;
|
|
17740
|
+
/**
|
|
17741
|
+
* Endpoint type: - `Cluster`: Default endpoint (created by default) - `Custom`: Custom endpoint
|
|
17742
|
+
*/
|
|
17743
|
+
endpointType: string;
|
|
17744
|
+
/**
|
|
17745
|
+
* Read-only weight allocation mode. Options: - `Default`: Standard weight allocation (default). - `Custom`: Custom weight allocation
|
|
17746
|
+
*/
|
|
17747
|
+
readOnlyNodeDistributionType: string;
|
|
17748
|
+
/**
|
|
17749
|
+
* Maximum latency threshold for read-only nodes. If a read-only node's latency exceeds this value, read traffic will not be sent to that node. Unit: seconds. Range: 0~3600. Default: 30.
|
|
17750
|
+
* **Note:** This parameter can be set for the default endpoint when read/write splitting is enabled.
|
|
17751
|
+
*/
|
|
17752
|
+
readOnlyNodeMaxDelayTime: number;
|
|
17753
|
+
readOnlyNodeWeights: outputs.rdspostgresql.InstanceEndpointReadOnlyNodeWeight[];
|
|
17754
|
+
/**
|
|
17755
|
+
* Read/write mode: - `ReadWrite`: Read/write - `ReadOnly`: Read-only
|
|
17756
|
+
*/
|
|
17757
|
+
readWriteMode: string;
|
|
17758
|
+
/**
|
|
17759
|
+
* After read/write splitting is enabled for the terminal, set the number of proxy connections for the terminal. - The minimum value for proxy connections is 20. - The maximum value depends on the specification of the instance's primary node. Different specifications support different maximum proxy connections. For details, see [Product Specifications]
|
|
17760
|
+
*/
|
|
17761
|
+
readWriteProxyConnection: number;
|
|
17762
|
+
/**
|
|
17763
|
+
* Whether the endpoint sends write requests to the write node (currently, only the primary node is the write node). Value: - `true`: Yes. (Default) - `false`: No
|
|
17764
|
+
*/
|
|
17765
|
+
writeNodeHaltWriting: boolean;
|
|
17235
17766
|
}
|
|
17236
|
-
interface
|
|
17767
|
+
interface InstanceEndpointAddress {
|
|
17237
17768
|
/**
|
|
17238
|
-
*
|
|
17769
|
+
* Private network address accessible across regions
|
|
17239
17770
|
*/
|
|
17240
|
-
|
|
17771
|
+
crossRegionDomain: string;
|
|
17241
17772
|
/**
|
|
17242
|
-
*
|
|
17773
|
+
* Enable public network resolution. Values: - false: default, private network resolution - true: private and public network resolution
|
|
17243
17774
|
*/
|
|
17244
|
-
|
|
17775
|
+
dnsVisibility: boolean;
|
|
17245
17776
|
/**
|
|
17246
|
-
*
|
|
17777
|
+
* Connection domain name
|
|
17247
17778
|
*/
|
|
17248
|
-
|
|
17779
|
+
domain: string;
|
|
17780
|
+
/**
|
|
17781
|
+
* Private network address type. Values: LocalDomain: local region domain name CrossRegionDomain: cross-region accessible domain name
|
|
17782
|
+
*/
|
|
17783
|
+
domainVisibilitySetting: string;
|
|
17784
|
+
/**
|
|
17785
|
+
* EIP ID, valid only for Public addresses
|
|
17786
|
+
*/
|
|
17787
|
+
eipId: string;
|
|
17788
|
+
/**
|
|
17789
|
+
* IP address
|
|
17790
|
+
*/
|
|
17791
|
+
ipAddress: string;
|
|
17792
|
+
/**
|
|
17793
|
+
* Network address type. Value: - `Private`: Private network address - `Public`: Public network address - `Inner`: Public service zone address
|
|
17794
|
+
*/
|
|
17795
|
+
networkType: string;
|
|
17796
|
+
/**
|
|
17797
|
+
* Port.
|
|
17798
|
+
*/
|
|
17799
|
+
port: string;
|
|
17800
|
+
/**
|
|
17801
|
+
* Subnet ID
|
|
17802
|
+
*/
|
|
17803
|
+
subnetId: string;
|
|
17249
17804
|
}
|
|
17250
|
-
interface
|
|
17805
|
+
interface InstanceEndpointReadOnlyNodeWeight {
|
|
17251
17806
|
/**
|
|
17252
|
-
*
|
|
17807
|
+
* Read-only nodes require NodeId
|
|
17253
17808
|
*/
|
|
17254
|
-
|
|
17809
|
+
nodeId: string;
|
|
17255
17810
|
/**
|
|
17256
|
-
*
|
|
17811
|
+
* Node type
|
|
17257
17812
|
*/
|
|
17258
|
-
|
|
17813
|
+
nodeType: string;
|
|
17814
|
+
/**
|
|
17815
|
+
* Node read weight, increases by 100, maximum value is 10000
|
|
17816
|
+
*/
|
|
17817
|
+
weight: number;
|
|
17259
17818
|
}
|
|
17260
|
-
interface
|
|
17819
|
+
interface InstanceMaintenanceWindow {
|
|
17261
17820
|
/**
|
|
17262
|
-
*
|
|
17821
|
+
* Granularity of the maintenance cycle. Value: Week (week)
|
|
17263
17822
|
*/
|
|
17264
|
-
|
|
17823
|
+
dayKind: string;
|
|
17824
|
+
dayOfWeekMaintenanceTimes: outputs.rdspostgresql.InstanceMaintenanceWindowDayOfWeekMaintenanceTime[];
|
|
17825
|
+
}
|
|
17826
|
+
interface InstanceMaintenanceWindowDayOfWeekMaintenanceTime {
|
|
17827
|
+
/**
|
|
17828
|
+
* Specify maintenance days for the instance each week. Multiple selections allowed. Monday: Monday. Tuesday: Tuesday. Wednesday: Wednesday. Thursday: Thursday. Friday: Friday. Saturday: Saturday. Sunday: Sunday. Note: If not specified or left blank, all seven days are enabled by default.
|
|
17829
|
+
*/
|
|
17830
|
+
dayOfWeek: string;
|
|
17831
|
+
/**
|
|
17832
|
+
* Start time of the maintenance window on the maintenance day. Format: HH:mmZ (UTC time). Currently, only start times between 16:00Z and 20:00Z are supported.
|
|
17833
|
+
*/
|
|
17834
|
+
maintenanceWindowStartTime: string;
|
|
17835
|
+
/**
|
|
17836
|
+
* Duration of the maintenance window on the maintenance day. Minimum duration is 2 hours, maximum is 6 hours.
|
|
17837
|
+
*/
|
|
17838
|
+
period: number;
|
|
17839
|
+
}
|
|
17840
|
+
interface InstanceNodeInfo {
|
|
17841
|
+
/**
|
|
17842
|
+
* Node creation time. Format: yyyy-MM-ddTHH:mm:ss.sssZ (UTC time)
|
|
17843
|
+
*/
|
|
17844
|
+
createTime: string;
|
|
17845
|
+
/**
|
|
17846
|
+
* Instance ID
|
|
17847
|
+
*/
|
|
17848
|
+
instanceId: string;
|
|
17849
|
+
/**
|
|
17850
|
+
* Memory size, unit: GB
|
|
17851
|
+
*/
|
|
17852
|
+
memory: number;
|
|
17853
|
+
/**
|
|
17854
|
+
* Node ID
|
|
17855
|
+
*/
|
|
17856
|
+
nodeId: string;
|
|
17857
|
+
/**
|
|
17858
|
+
* Node specification
|
|
17859
|
+
*/
|
|
17860
|
+
nodeSpec: string;
|
|
17861
|
+
/**
|
|
17862
|
+
* Node status
|
|
17863
|
+
*/
|
|
17864
|
+
nodeStatus: string;
|
|
17865
|
+
/**
|
|
17866
|
+
* Node type
|
|
17867
|
+
*/
|
|
17868
|
+
nodeType: string;
|
|
17869
|
+
/**
|
|
17870
|
+
* Region ID
|
|
17871
|
+
*/
|
|
17872
|
+
regionId: string;
|
|
17873
|
+
/**
|
|
17874
|
+
* Node update time. Format: yyyy-MM-ddTHH:mm:ss.sssZ (UTC time)
|
|
17875
|
+
*/
|
|
17876
|
+
updateTime: string;
|
|
17877
|
+
/**
|
|
17878
|
+
* CPU size. For example: 1 means 1U
|
|
17879
|
+
*/
|
|
17880
|
+
vcpu: number;
|
|
17881
|
+
/**
|
|
17882
|
+
* Availability zone of the node
|
|
17883
|
+
*/
|
|
17884
|
+
zoneId: string;
|
|
17885
|
+
}
|
|
17886
|
+
interface InstanceTag {
|
|
17887
|
+
/**
|
|
17888
|
+
* Tag key
|
|
17889
|
+
*/
|
|
17890
|
+
key: string;
|
|
17891
|
+
/**
|
|
17892
|
+
* Tag value
|
|
17893
|
+
*/
|
|
17894
|
+
value: string;
|
|
17895
|
+
}
|
|
17896
|
+
}
|
|
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
|
+
}
|
|
17962
|
+
interface GetInstanceCapacity {
|
|
17963
|
+
/**
|
|
17964
|
+
* Total memory capacity of the current instance. Unit: MiB.
|
|
17965
|
+
*/
|
|
17966
|
+
total: number;
|
|
17967
|
+
/**
|
|
17968
|
+
* Used capacity of the current instance. Unit: MiB.
|
|
17969
|
+
*/
|
|
17970
|
+
used: number;
|
|
17971
|
+
}
|
|
17972
|
+
interface GetInstanceConfigureNode {
|
|
17973
|
+
/**
|
|
17974
|
+
* The availability zone each node belongs to.
|
|
17975
|
+
*/
|
|
17976
|
+
az: string;
|
|
17977
|
+
}
|
|
17978
|
+
interface GetInstanceInstanceShard {
|
|
17979
|
+
/**
|
|
17980
|
+
* Number of nodes in each shard
|
|
17981
|
+
*/
|
|
17982
|
+
nodeNumber: number;
|
|
17983
|
+
/**
|
|
17984
|
+
* Detailed list of all Server nodes in the shard.
|
|
17985
|
+
*/
|
|
17986
|
+
serverNodes: outputs.redis.GetInstanceInstanceShardServerNode[];
|
|
17987
|
+
/**
|
|
17988
|
+
* Shard ID.
|
|
17989
|
+
*/
|
|
17990
|
+
shardId: string;
|
|
17991
|
+
}
|
|
17992
|
+
interface GetInstanceInstanceShardServerNode {
|
|
17993
|
+
/**
|
|
17994
|
+
* Current role of the node. Valid values: PrimaryNode: primary node; SecondaryNode: secondary node.
|
|
17995
|
+
*/
|
|
17996
|
+
currentRole: string;
|
|
17997
|
+
/**
|
|
17998
|
+
* Node ID.
|
|
17999
|
+
*/
|
|
18000
|
+
nodeId: string;
|
|
18001
|
+
/**
|
|
18002
|
+
* Node status. Valid values: deploy: starting; running: running; loading: loading data; error: error.
|
|
18003
|
+
*/
|
|
18004
|
+
status: string;
|
|
18005
|
+
/**
|
|
18006
|
+
* Availability zone where the node is located.
|
|
18007
|
+
*/
|
|
18008
|
+
zoneId: string;
|
|
18009
|
+
}
|
|
18010
|
+
interface GetInstanceTag {
|
|
18011
|
+
/**
|
|
18012
|
+
* Tag key.
|
|
18013
|
+
*/
|
|
18014
|
+
key: string;
|
|
18015
|
+
/**
|
|
18016
|
+
* Tag value.
|
|
18017
|
+
*/
|
|
18018
|
+
value: string;
|
|
18019
|
+
}
|
|
18020
|
+
interface GetInstanceVisitAddr {
|
|
18021
|
+
/**
|
|
18022
|
+
* Connection address type. Value options: Private: Private network connection address; Public: Public network connection address; DirectLink: Direct connection address.
|
|
18023
|
+
*/
|
|
18024
|
+
addrType: string;
|
|
18025
|
+
/**
|
|
18026
|
+
* IP address or domain name.
|
|
18027
|
+
*/
|
|
18028
|
+
address: string;
|
|
18029
|
+
/**
|
|
18030
|
+
* EIP ID bound to the instance's public address. This parameter is returned only when the connection address type (AddrType) is Public.
|
|
18031
|
+
*/
|
|
18032
|
+
eipId: string;
|
|
18033
|
+
/**
|
|
18034
|
+
* Port number.
|
|
18035
|
+
*/
|
|
18036
|
+
port: string;
|
|
18037
|
+
/**
|
|
18038
|
+
* IPv6 address corresponding to the connection address.
|
|
18039
|
+
*/
|
|
18040
|
+
viPv6: string;
|
|
18041
|
+
/**
|
|
18042
|
+
* The IPv4 address corresponding to the connection address.
|
|
18043
|
+
*/
|
|
18044
|
+
vip: string;
|
|
18045
|
+
}
|
|
18046
|
+
interface InstanceCapacity {
|
|
18047
|
+
/**
|
|
18048
|
+
* Total memory capacity of the current instance. Unit: MiB.
|
|
18049
|
+
*/
|
|
18050
|
+
total: number;
|
|
18051
|
+
/**
|
|
18052
|
+
* Used capacity of the current instance. Unit: MiB.
|
|
18053
|
+
*/
|
|
18054
|
+
used: number;
|
|
18055
|
+
}
|
|
18056
|
+
interface InstanceConfigureNode {
|
|
18057
|
+
/**
|
|
18058
|
+
* The availability zone each node belongs to.
|
|
18059
|
+
*/
|
|
18060
|
+
az: string;
|
|
18061
|
+
}
|
|
18062
|
+
interface InstanceInstanceShard {
|
|
18063
|
+
/**
|
|
18064
|
+
* Number of nodes in each shard
|
|
18065
|
+
*/
|
|
18066
|
+
nodeNumber: number;
|
|
18067
|
+
serverNodes: outputs.redis.InstanceInstanceShardServerNode[];
|
|
18068
|
+
/**
|
|
18069
|
+
* Shard ID.
|
|
18070
|
+
*/
|
|
18071
|
+
shardId: string;
|
|
18072
|
+
}
|
|
18073
|
+
interface InstanceInstanceShardServerNode {
|
|
18074
|
+
/**
|
|
18075
|
+
* Current role of the node. Valid values: PrimaryNode: primary node; SecondaryNode: secondary node.
|
|
18076
|
+
*/
|
|
18077
|
+
currentRole: string;
|
|
18078
|
+
/**
|
|
18079
|
+
* Node ID.
|
|
18080
|
+
*/
|
|
18081
|
+
nodeId: string;
|
|
18082
|
+
/**
|
|
18083
|
+
* Node status. Valid values: deploy: starting; running: running; loading: loading data; error: error.
|
|
18084
|
+
*/
|
|
18085
|
+
status: string;
|
|
18086
|
+
/**
|
|
18087
|
+
* Availability zone where the node is located.
|
|
18088
|
+
*/
|
|
18089
|
+
zoneId: string;
|
|
18090
|
+
}
|
|
18091
|
+
interface InstanceTag {
|
|
18092
|
+
/**
|
|
18093
|
+
* Tag key.
|
|
18094
|
+
*/
|
|
18095
|
+
key: string;
|
|
18096
|
+
/**
|
|
18097
|
+
* Tag value.
|
|
18098
|
+
*/
|
|
18099
|
+
value: string;
|
|
18100
|
+
}
|
|
18101
|
+
interface InstanceVisitAddr {
|
|
18102
|
+
/**
|
|
18103
|
+
* Connection address type. Value options: Private: Private network connection address; Public: Public network connection address; DirectLink: Direct connection address.
|
|
18104
|
+
*/
|
|
18105
|
+
addrType: string;
|
|
18106
|
+
/**
|
|
18107
|
+
* IP address or domain name.
|
|
18108
|
+
*/
|
|
18109
|
+
address: string;
|
|
18110
|
+
/**
|
|
18111
|
+
* EIP ID bound to the instance's public address. This parameter is returned only when the connection address type (AddrType) is Public.
|
|
18112
|
+
*/
|
|
18113
|
+
eipId: string;
|
|
18114
|
+
/**
|
|
18115
|
+
* Port number.
|
|
18116
|
+
*/
|
|
18117
|
+
port: string;
|
|
18118
|
+
/**
|
|
18119
|
+
* IPv6 address corresponding to the connection address.
|
|
18120
|
+
*/
|
|
18121
|
+
viPv6: string;
|
|
18122
|
+
/**
|
|
18123
|
+
* The IPv4 address corresponding to the connection address.
|
|
18124
|
+
*/
|
|
18125
|
+
vip: string;
|
|
18126
|
+
}
|
|
18127
|
+
}
|
|
18128
|
+
export declare namespace storageebs {
|
|
18129
|
+
interface GetSnapshotGroupSnapshot {
|
|
18130
|
+
/**
|
|
18131
|
+
* Snapshot creation time
|
|
18132
|
+
*/
|
|
18133
|
+
creationTime: string;
|
|
18134
|
+
/**
|
|
18135
|
+
* Snapshot description
|
|
18136
|
+
*/
|
|
18137
|
+
description: string;
|
|
18138
|
+
/**
|
|
18139
|
+
* Image ID
|
|
18140
|
+
*/
|
|
18141
|
+
imageId: string;
|
|
18142
|
+
/**
|
|
18143
|
+
* Whether the snapshot has enabled ultra-fast availability. Values are as follows: - true: Ultra-fast availability enabled - false: Ultra-fast availability not enabled
|
|
18144
|
+
*/
|
|
18145
|
+
instantAccess: boolean;
|
|
18146
|
+
/**
|
|
18147
|
+
* Dump progress
|
|
18148
|
+
*/
|
|
18149
|
+
progress: number;
|
|
18150
|
+
/**
|
|
18151
|
+
* Project of the snapshot
|
|
18152
|
+
*/
|
|
18153
|
+
projectName: string;
|
|
18154
|
+
/**
|
|
18155
|
+
* Retention days for automatic snapshots
|
|
18156
|
+
*/
|
|
18157
|
+
retentionDays: number;
|
|
18158
|
+
/**
|
|
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
|
|
18160
|
+
*/
|
|
18161
|
+
shared: boolean;
|
|
18162
|
+
/**
|
|
18163
|
+
* Snapshot consistency group ID
|
|
18164
|
+
*/
|
|
18165
|
+
snapshotGroupId: string;
|
|
18166
|
+
/**
|
|
18167
|
+
* Snapshot ID
|
|
18168
|
+
*/
|
|
18169
|
+
snapshotId: string;
|
|
18170
|
+
/**
|
|
18171
|
+
* Snapshot name
|
|
18172
|
+
*/
|
|
18173
|
+
snapshotName: string;
|
|
18174
|
+
/**
|
|
18175
|
+
* Snapshot type. Values are as follows: - user: Manual snapshot - auto: Automatic snapshot
|
|
18176
|
+
*/
|
|
18177
|
+
snapshotType: string;
|
|
18178
|
+
/**
|
|
18179
|
+
* Snapshot status. Values are as follows: - available: Available - creating: Creating - rollbacking: Rolling back - deleted: Deleted - failed: Error
|
|
18180
|
+
*/
|
|
18181
|
+
status: string;
|
|
18182
|
+
/**
|
|
18183
|
+
* Tag information
|
|
18184
|
+
*/
|
|
18185
|
+
tags: outputs.storageebs.GetSnapshotGroupSnapshotTag[];
|
|
18186
|
+
/**
|
|
18187
|
+
* Cloud disk ID
|
|
18188
|
+
*/
|
|
18189
|
+
volumeId: string;
|
|
18190
|
+
/**
|
|
18191
|
+
* Cloud disk category. Values are as follows: - system: System disk - data: Data disk
|
|
18192
|
+
*/
|
|
18193
|
+
volumeKind: string;
|
|
18194
|
+
/**
|
|
18195
|
+
* Cloud disk name
|
|
18196
|
+
*/
|
|
18197
|
+
volumeName: string;
|
|
18198
|
+
/**
|
|
18199
|
+
* Cloud disk size (GiB)
|
|
18200
|
+
*/
|
|
18201
|
+
volumeSize: number;
|
|
18202
|
+
/**
|
|
18203
|
+
* Cloud disk status. Values are as follows: - available: Available - attaching: Attaching - attached: Attached - detaching: Detaching - creating: Creating - deleting: Deleting - error: Error - extending: Expanding
|
|
18204
|
+
*/
|
|
18205
|
+
volumeStatus: string;
|
|
18206
|
+
/**
|
|
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.
|
|
19390
|
+
*/
|
|
19391
|
+
value: string;
|
|
19392
|
+
}
|
|
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 {
|
|
19666
|
+
/**
|
|
19667
|
+
* Cron expression, with a minimum granularity of minutes, using 24-hour format. For example, 0 18 * * * means execution at 18:00 every day.
|
|
19668
|
+
*/
|
|
19669
|
+
cronTab: string;
|
|
19670
|
+
/**
|
|
19671
|
+
* If Type is set to Cron, you must also set the time zone.
|
|
19672
|
+
*/
|
|
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;
|
|
19682
|
+
}
|
|
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 {
|
|
19792
|
+
/**
|
|
19793
|
+
* Kafka data source information. When sourceType is kafka, the KafkaSourceInfo field is required
|
|
19794
|
+
*/
|
|
19795
|
+
kafkaSourceInfo: outputs.tls.ImportTaskImportSourceInfoKafkaSourceInfo;
|
|
19796
|
+
/**
|
|
19797
|
+
* TOS data source information. When sourceType is tos, the TosSourceInfo field is required.
|
|
19798
|
+
*/
|
|
19799
|
+
tosSourceInfo: outputs.tls.ImportTaskImportSourceInfoTosSourceInfo;
|
|
19800
|
+
}
|
|
19801
|
+
interface ImportTaskImportSourceInfoKafkaSourceInfo {
|
|
19802
|
+
/**
|
|
19803
|
+
* Data encoding format. Available options: UTF-8, GBK.
|
|
19804
|
+
*/
|
|
19805
|
+
encode: string;
|
|
19806
|
+
/**
|
|
19807
|
+
* Kafka consumer group. If not specified, the system will automatically create a Kafka consumer group.
|
|
19808
|
+
*/
|
|
19809
|
+
group: string;
|
|
19810
|
+
/**
|
|
19811
|
+
* 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 (,).
|
|
19812
|
+
*/
|
|
19813
|
+
host: string;
|
|
19814
|
+
/**
|
|
19815
|
+
* 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.
|
|
19816
|
+
*/
|
|
19817
|
+
initialOffset: number;
|
|
19818
|
+
/**
|
|
19819
|
+
* If you are using Message Queue Kafka Edition, set this to the Kafka instance ID.
|
|
19820
|
+
*/
|
|
19821
|
+
instanceId: string;
|
|
19822
|
+
/**
|
|
19823
|
+
* Whether to enable authentication. If you use a public service address, it is recommended to enable authentication.
|
|
19824
|
+
*/
|
|
19825
|
+
isNeedAuth: boolean;
|
|
19826
|
+
/**
|
|
19827
|
+
* Password authentication mechanism. Available options: PLAIN, SCRAM-SHA-256, and SCRAM-SHA-512.
|
|
19828
|
+
*/
|
|
19829
|
+
mechanism: string;
|
|
19830
|
+
/**
|
|
19831
|
+
* Kafka SASL user password for authentication.
|
|
19832
|
+
*/
|
|
19833
|
+
password: string;
|
|
19834
|
+
/**
|
|
19835
|
+
* Secure transmission protocol. Options include plaintext, sasl*ssl, ssl, and sasl*plaintext
|
|
19836
|
+
*/
|
|
19837
|
+
protocol: string;
|
|
19838
|
+
/**
|
|
19839
|
+
* Specify log time. Options: 0: Use Kafka message timestamp. 1: Use current system time.
|
|
19840
|
+
*/
|
|
19841
|
+
timeSourceDefault: number;
|
|
19842
|
+
/**
|
|
19843
|
+
* Kafka Topic name. Separate multiple Kafka Topics with commas (,).
|
|
19844
|
+
*/
|
|
19845
|
+
topic: string;
|
|
19846
|
+
/**
|
|
19847
|
+
* Kafka SASL username for authentication.
|
|
19848
|
+
*/
|
|
19849
|
+
username: string;
|
|
19850
|
+
}
|
|
19851
|
+
interface ImportTaskImportSourceInfoTosSourceInfo {
|
|
19852
|
+
/**
|
|
19853
|
+
* TOS bucket name
|
|
19854
|
+
*/
|
|
19855
|
+
bucket: string;
|
|
19856
|
+
/**
|
|
19857
|
+
* Compression mode for data in the TOS bucket. none: No compression. snappy: Compress using snappy. gzip: Compress using gzip. lz4: Compress using lz4.
|
|
19858
|
+
*/
|
|
19859
|
+
compressType: string;
|
|
19860
|
+
/**
|
|
19861
|
+
* Path of the file to be imported in the TOS bucket.
|
|
19862
|
+
*/
|
|
19863
|
+
prefix: string;
|
|
19864
|
+
/**
|
|
19865
|
+
* Region where the TOS bucket is located. Cross-region data import is supported
|
|
19866
|
+
*/
|
|
19867
|
+
region: string;
|
|
19868
|
+
}
|
|
19869
|
+
interface ImportTaskTargetInfo {
|
|
19870
|
+
/**
|
|
19871
|
+
* Log extraction rule.
|
|
19872
|
+
*/
|
|
19873
|
+
extractRule: outputs.tls.ImportTaskTargetInfoExtractRule;
|
|
19874
|
+
/**
|
|
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.
|
|
19876
|
+
*/
|
|
19877
|
+
logSample: string;
|
|
19878
|
+
/**
|
|
19879
|
+
* 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.
|
|
19880
|
+
*/
|
|
19881
|
+
logType: string;
|
|
19882
|
+
/**
|
|
19883
|
+
* Region.
|
|
19884
|
+
*/
|
|
19885
|
+
region: string;
|
|
19886
|
+
}
|
|
19887
|
+
interface ImportTaskTargetInfoExtractRule {
|
|
19888
|
+
/**
|
|
19889
|
+
* Basic content of log extraction rules.
|
|
19890
|
+
*/
|
|
19891
|
+
extractRule: outputs.tls.ImportTaskTargetInfoExtractRuleExtractRule;
|
|
19892
|
+
/**
|
|
19893
|
+
* Number of skipped rows. Only valid when the log type is delimiterLog and the import type is tos.
|
|
19894
|
+
*/
|
|
19895
|
+
skipLineCount: number;
|
|
19896
|
+
/**
|
|
19897
|
+
* Time extraction regular expression, used to extract the time value from the TimeKey field and parse it as the collection time
|
|
19898
|
+
*/
|
|
19899
|
+
timeExtractRegex: string;
|
|
19900
|
+
/**
|
|
19901
|
+
* 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.
|
|
19902
|
+
*/
|
|
19903
|
+
timeZone: string;
|
|
19904
|
+
}
|
|
19905
|
+
interface ImportTaskTargetInfoExtractRuleExtractRule {
|
|
19906
|
+
/**
|
|
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
|
|
19908
|
+
*/
|
|
19909
|
+
beginRegex: string;
|
|
19910
|
+
/**
|
|
19911
|
+
* Delimiter. Only valid when LogType is delimiter_log.
|
|
19912
|
+
*/
|
|
19913
|
+
delimiter: string;
|
|
19914
|
+
/**
|
|
19915
|
+
* Enable nanoseconds.
|
|
19916
|
+
*/
|
|
19917
|
+
enableNanosecond: boolean;
|
|
19918
|
+
filterKeyRegexes: outputs.tls.ImportTaskTargetInfoExtractRuleExtractRuleFilterKeyRegex[];
|
|
19919
|
+
/**
|
|
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
|
|
19921
|
+
*/
|
|
19922
|
+
keys: string[];
|
|
19923
|
+
/**
|
|
19924
|
+
* Log regular expression
|
|
19925
|
+
*/
|
|
19926
|
+
logRegex: string;
|
|
19927
|
+
/**
|
|
19928
|
+
* Log template.
|
|
19929
|
+
*/
|
|
19930
|
+
logTemplate: outputs.tls.ImportTaskTargetInfoExtractRuleExtractRuleLogTemplate;
|
|
19931
|
+
/**
|
|
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.
|
|
19933
|
+
*/
|
|
19934
|
+
quote: string;
|
|
19935
|
+
/**
|
|
19936
|
+
* 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.
|
|
19937
|
+
*/
|
|
19938
|
+
timeFormat: string;
|
|
19939
|
+
/**
|
|
19940
|
+
* 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
|
|
19941
|
+
*/
|
|
19942
|
+
timeKey: string;
|
|
19943
|
+
/**
|
|
19944
|
+
* Time sample. Used to verify whether the entered time parsing format is correct
|
|
19945
|
+
*/
|
|
19946
|
+
timeSample: string;
|
|
19947
|
+
/**
|
|
19948
|
+
* When uploading logs that failed to parse, specify the key name for the failed logs. UnMatchUpLoadSwitch=true and UnMatchLogKey must be used together.
|
|
19949
|
+
*/
|
|
19950
|
+
unMatchLogKey: string;
|
|
17265
19951
|
/**
|
|
17266
|
-
*
|
|
19952
|
+
* 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.
|
|
17267
19953
|
*/
|
|
17268
|
-
|
|
19954
|
+
unMatchUpLoadSwitch: boolean;
|
|
17269
19955
|
}
|
|
17270
|
-
interface
|
|
19956
|
+
interface ImportTaskTargetInfoExtractRuleExtractRuleFilterKeyRegex {
|
|
17271
19957
|
/**
|
|
17272
|
-
*
|
|
19958
|
+
* Key.
|
|
17273
19959
|
*/
|
|
17274
19960
|
key: string;
|
|
17275
19961
|
/**
|
|
17276
|
-
*
|
|
19962
|
+
* Regular expression.
|
|
17277
19963
|
*/
|
|
17278
|
-
|
|
19964
|
+
regex: string;
|
|
17279
19965
|
}
|
|
17280
|
-
interface
|
|
19966
|
+
interface ImportTaskTargetInfoExtractRuleExtractRuleLogTemplate {
|
|
17281
19967
|
/**
|
|
17282
|
-
*
|
|
19968
|
+
* Format.
|
|
17283
19969
|
*/
|
|
17284
|
-
|
|
19970
|
+
format: string;
|
|
17285
19971
|
/**
|
|
17286
|
-
*
|
|
19972
|
+
* Type
|
|
17287
19973
|
*/
|
|
17288
|
-
|
|
19974
|
+
type: string;
|
|
17289
19975
|
}
|
|
17290
|
-
interface
|
|
19976
|
+
interface ImportTaskTaskStatistics {
|
|
17291
19977
|
/**
|
|
17292
|
-
*
|
|
19978
|
+
* Total resource bytes enumerated
|
|
17293
19979
|
*/
|
|
17294
|
-
|
|
19980
|
+
bytesTotal: number;
|
|
17295
19981
|
/**
|
|
17296
|
-
*
|
|
19982
|
+
* Bytes transferred.
|
|
17297
19983
|
*/
|
|
17298
|
-
|
|
19984
|
+
bytesTransferred: number;
|
|
17299
19985
|
/**
|
|
17300
|
-
*
|
|
19986
|
+
* Number of resources failed to import.
|
|
17301
19987
|
*/
|
|
17302
|
-
|
|
17303
|
-
}
|
|
17304
|
-
interface VolumeTag {
|
|
19988
|
+
failed: number;
|
|
17305
19989
|
/**
|
|
17306
|
-
*
|
|
19990
|
+
* Number of resources not found.
|
|
17307
19991
|
*/
|
|
17308
|
-
|
|
19992
|
+
notExist: number;
|
|
17309
19993
|
/**
|
|
17310
|
-
*
|
|
19994
|
+
* Number of resources skipped during import
|
|
17311
19995
|
*/
|
|
17312
|
-
|
|
17313
|
-
}
|
|
17314
|
-
interface VolumeTotalPerformance {
|
|
19996
|
+
skipped: number;
|
|
17315
19997
|
/**
|
|
17316
|
-
*
|
|
19998
|
+
* Task status. Status of the import task. Preparing: Preparing for import. Importing: Importing data. Success: Import completed successfully. Failed: Import failed. Stopped: Import paused.
|
|
17317
19999
|
*/
|
|
17318
|
-
|
|
20000
|
+
taskStatus: string;
|
|
17319
20001
|
/**
|
|
17320
|
-
*
|
|
20002
|
+
* Total number of resources enumerated.
|
|
17321
20003
|
*/
|
|
17322
|
-
|
|
20004
|
+
total: number;
|
|
20005
|
+
/**
|
|
20006
|
+
* Number of records transferred.
|
|
20007
|
+
*/
|
|
20008
|
+
transferred: number;
|
|
17323
20009
|
}
|
|
17324
|
-
|
|
17325
|
-
export declare namespace tls {
|
|
17326
|
-
interface GetIndexFullText {
|
|
20010
|
+
interface IndexFullText {
|
|
17327
20011
|
/**
|
|
17328
20012
|
* Case sensitivity. true: Case sensitive. false: Not case sensitive.
|
|
17329
20013
|
*/
|
|
@@ -17337,7 +20021,7 @@ export declare namespace tls {
|
|
|
17337
20021
|
*/
|
|
17338
20022
|
includeChinese: boolean;
|
|
17339
20023
|
}
|
|
17340
|
-
interface
|
|
20024
|
+
interface IndexKeyValue {
|
|
17341
20025
|
/**
|
|
17342
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.
|
|
17343
20027
|
*/
|
|
@@ -17345,9 +20029,9 @@ export declare namespace tls {
|
|
|
17345
20029
|
/**
|
|
17346
20030
|
* Field description information required for configuring key-value indexes.
|
|
17347
20031
|
*/
|
|
17348
|
-
value: outputs.tls.
|
|
20032
|
+
value: outputs.tls.IndexKeyValueValue;
|
|
17349
20033
|
}
|
|
17350
|
-
interface
|
|
20034
|
+
interface IndexKeyValueValue {
|
|
17351
20035
|
/**
|
|
17352
20036
|
* Indicates whether the index was added automatically. true: The index was added automatically. false: The index was not added automatically.
|
|
17353
20037
|
*/
|
|
@@ -17372,10 +20056,7 @@ export declare namespace tls {
|
|
|
17372
20056
|
* Enable automatic indexing and statistics for JSON fields. true: Enable automatic indexing and statistics. false: Disable automatic indexing and statistics.
|
|
17373
20057
|
*/
|
|
17374
20058
|
indexSqlAll: boolean;
|
|
17375
|
-
|
|
17376
|
-
* 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.
|
|
17377
|
-
*/
|
|
17378
|
-
jsonKeys: outputs.tls.GetIndexKeyValueValueJsonKey[];
|
|
20059
|
+
jsonKeys: outputs.tls.IndexKeyValueValueJsonKey[];
|
|
17379
20060
|
/**
|
|
17380
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.
|
|
17381
20062
|
*/
|
|
@@ -17385,7 +20066,7 @@ export declare namespace tls {
|
|
|
17385
20066
|
*/
|
|
17386
20067
|
valueType: string;
|
|
17387
20068
|
}
|
|
17388
|
-
interface
|
|
20069
|
+
interface IndexKeyValueValueJsonKey {
|
|
17389
20070
|
/**
|
|
17390
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.
|
|
17391
20072
|
*/
|
|
@@ -17393,9 +20074,9 @@ export declare namespace tls {
|
|
|
17393
20074
|
/**
|
|
17394
20075
|
* Field description information required for configuring key-value indexes.
|
|
17395
20076
|
*/
|
|
17396
|
-
value: outputs.tls.
|
|
20077
|
+
value: outputs.tls.IndexKeyValueValueJsonKeyValue;
|
|
17397
20078
|
}
|
|
17398
|
-
interface
|
|
20079
|
+
interface IndexKeyValueValueJsonKeyValue {
|
|
17399
20080
|
/**
|
|
17400
20081
|
* Indicates whether the index was added automatically. true: The index was added automatically. false: The index was not added automatically.
|
|
17401
20082
|
*/
|
|
@@ -17429,7 +20110,7 @@ export declare namespace tls {
|
|
|
17429
20110
|
*/
|
|
17430
20111
|
valueType: string;
|
|
17431
20112
|
}
|
|
17432
|
-
interface
|
|
20113
|
+
interface IndexUserInnerKeyValue {
|
|
17433
20114
|
/**
|
|
17434
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.
|
|
17435
20116
|
*/
|
|
@@ -17437,9 +20118,9 @@ export declare namespace tls {
|
|
|
17437
20118
|
/**
|
|
17438
20119
|
* Field description information required for configuring key-value indexes.
|
|
17439
20120
|
*/
|
|
17440
|
-
value: outputs.tls.
|
|
20121
|
+
value: outputs.tls.IndexUserInnerKeyValueValue;
|
|
17441
20122
|
}
|
|
17442
|
-
interface
|
|
20123
|
+
interface IndexUserInnerKeyValueValue {
|
|
17443
20124
|
/**
|
|
17444
20125
|
* Indicates whether the index was added automatically. true: The index was added automatically. false: The index was not added automatically.
|
|
17445
20126
|
*/
|
|
@@ -17464,10 +20145,7 @@ export declare namespace tls {
|
|
|
17464
20145
|
* Enable automatic indexing and statistics for JSON fields. true: Enable automatic indexing and statistics. false: Disable automatic indexing and statistics.
|
|
17465
20146
|
*/
|
|
17466
20147
|
indexSqlAll: boolean;
|
|
17467
|
-
|
|
17468
|
-
* 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.
|
|
17469
|
-
*/
|
|
17470
|
-
jsonKeys: outputs.tls.GetIndexUserInnerKeyValueValueJsonKey[];
|
|
20148
|
+
jsonKeys: outputs.tls.IndexUserInnerKeyValueValueJsonKey[];
|
|
17471
20149
|
/**
|
|
17472
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.
|
|
17473
20151
|
*/
|
|
@@ -17477,7 +20155,7 @@ export declare namespace tls {
|
|
|
17477
20155
|
*/
|
|
17478
20156
|
valueType: string;
|
|
17479
20157
|
}
|
|
17480
|
-
interface
|
|
20158
|
+
interface IndexUserInnerKeyValueValueJsonKey {
|
|
17481
20159
|
/**
|
|
17482
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.
|
|
17483
20161
|
*/
|
|
@@ -17485,9 +20163,9 @@ export declare namespace tls {
|
|
|
17485
20163
|
/**
|
|
17486
20164
|
* Field description information required for configuring key-value indexes.
|
|
17487
20165
|
*/
|
|
17488
|
-
value: outputs.tls.
|
|
20166
|
+
value: outputs.tls.IndexUserInnerKeyValueValueJsonKeyValue;
|
|
17489
20167
|
}
|
|
17490
|
-
interface
|
|
20168
|
+
interface IndexUserInnerKeyValueValueJsonKeyValue {
|
|
17491
20169
|
/**
|
|
17492
20170
|
* Indicates whether the index was added automatically. true: The index was added automatically. false: The index was not added automatically.
|
|
17493
20171
|
*/
|
|
@@ -17521,7 +20199,7 @@ export declare namespace tls {
|
|
|
17521
20199
|
*/
|
|
17522
20200
|
valueType: string;
|
|
17523
20201
|
}
|
|
17524
|
-
interface
|
|
20202
|
+
interface ProjectTag {
|
|
17525
20203
|
/**
|
|
17526
20204
|
* Tag key
|
|
17527
20205
|
*/
|
|
@@ -17531,229 +20209,494 @@ export declare namespace tls {
|
|
|
17531
20209
|
*/
|
|
17532
20210
|
value: string;
|
|
17533
20211
|
}
|
|
17534
|
-
interface
|
|
20212
|
+
interface RuleContainerRule {
|
|
17535
20213
|
/**
|
|
17536
|
-
*
|
|
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.
|
|
17537
20215
|
*/
|
|
17538
|
-
|
|
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[];
|
|
17539
20222
|
/**
|
|
17540
|
-
*
|
|
20223
|
+
* Kubernetes container collection rules.
|
|
17541
20224
|
*/
|
|
17542
|
-
|
|
20225
|
+
kubernetesRule: outputs.tls.RuleContainerRuleKubernetesRule;
|
|
17543
20226
|
/**
|
|
17544
|
-
*
|
|
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).
|
|
17545
20228
|
*/
|
|
17546
|
-
|
|
20229
|
+
stream: string;
|
|
20230
|
+
}
|
|
20231
|
+
interface RuleContainerRuleEnvTag {
|
|
17547
20232
|
/**
|
|
17548
|
-
*
|
|
20233
|
+
* Key.
|
|
17549
20234
|
*/
|
|
17550
|
-
|
|
20235
|
+
key: string;
|
|
20236
|
+
/**
|
|
20237
|
+
* Value.
|
|
20238
|
+
*/
|
|
20239
|
+
val: string;
|
|
17551
20240
|
}
|
|
17552
|
-
interface
|
|
20241
|
+
interface RuleContainerRuleExcludeContainerEnvRegex {
|
|
17553
20242
|
/**
|
|
17554
|
-
*
|
|
20243
|
+
* Key.
|
|
17555
20244
|
*/
|
|
17556
20245
|
key: string;
|
|
17557
20246
|
/**
|
|
17558
|
-
*
|
|
20247
|
+
* Value.
|
|
20248
|
+
*/
|
|
20249
|
+
val: string;
|
|
20250
|
+
}
|
|
20251
|
+
interface RuleContainerRuleExcludeContainerLabelRegex {
|
|
20252
|
+
/**
|
|
20253
|
+
* Key.
|
|
20254
|
+
*/
|
|
20255
|
+
key: string;
|
|
20256
|
+
/**
|
|
20257
|
+
* Value.
|
|
20258
|
+
*/
|
|
20259
|
+
val: string;
|
|
20260
|
+
}
|
|
20261
|
+
interface RuleContainerRuleIncludeContainerEnvRegex {
|
|
20262
|
+
/**
|
|
20263
|
+
* Key.
|
|
20264
|
+
*/
|
|
20265
|
+
key: string;
|
|
20266
|
+
/**
|
|
20267
|
+
* Value.
|
|
20268
|
+
*/
|
|
20269
|
+
val: string;
|
|
20270
|
+
}
|
|
20271
|
+
interface RuleContainerRuleIncludeContainerLabelRegex {
|
|
20272
|
+
/**
|
|
20273
|
+
* Key.
|
|
20274
|
+
*/
|
|
20275
|
+
key: string;
|
|
20276
|
+
/**
|
|
20277
|
+
* Value.
|
|
20278
|
+
*/
|
|
20279
|
+
val: string;
|
|
20280
|
+
}
|
|
20281
|
+
interface RuleContainerRuleKubernetesRule {
|
|
20282
|
+
annotationTags: outputs.tls.RuleContainerRuleKubernetesRuleAnnotationTag[];
|
|
20283
|
+
/**
|
|
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.
|
|
20285
|
+
*/
|
|
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[];
|
|
20292
|
+
/**
|
|
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.
|
|
20294
|
+
*/
|
|
20295
|
+
namespaceNameRegex: string;
|
|
20296
|
+
/**
|
|
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.
|
|
20298
|
+
*/
|
|
20299
|
+
podNameRegex: string;
|
|
20300
|
+
/**
|
|
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.
|
|
20302
|
+
*/
|
|
20303
|
+
workloadNameRegex: string;
|
|
20304
|
+
/**
|
|
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
|
|
20306
|
+
*/
|
|
20307
|
+
workloadType: string;
|
|
20308
|
+
}
|
|
20309
|
+
interface RuleContainerRuleKubernetesRuleAnnotationTag {
|
|
20310
|
+
/**
|
|
20311
|
+
* Key.
|
|
20312
|
+
*/
|
|
20313
|
+
key: string;
|
|
20314
|
+
/**
|
|
20315
|
+
* Value.
|
|
20316
|
+
*/
|
|
20317
|
+
val: string;
|
|
20318
|
+
}
|
|
20319
|
+
interface RuleContainerRuleKubernetesRuleExcludePodAnnotationRegex {
|
|
20320
|
+
/**
|
|
20321
|
+
* Key.
|
|
20322
|
+
*/
|
|
20323
|
+
key: string;
|
|
20324
|
+
/**
|
|
20325
|
+
* Value.
|
|
20326
|
+
*/
|
|
20327
|
+
val: string;
|
|
20328
|
+
}
|
|
20329
|
+
interface RuleContainerRuleKubernetesRuleExcludePodLabelRegex {
|
|
20330
|
+
/**
|
|
20331
|
+
* Key.
|
|
20332
|
+
*/
|
|
20333
|
+
key: string;
|
|
20334
|
+
/**
|
|
20335
|
+
* Value.
|
|
20336
|
+
*/
|
|
20337
|
+
val: string;
|
|
20338
|
+
}
|
|
20339
|
+
interface RuleContainerRuleKubernetesRuleIncludePodAnnotationRegex {
|
|
20340
|
+
/**
|
|
20341
|
+
* Key.
|
|
20342
|
+
*/
|
|
20343
|
+
key: string;
|
|
20344
|
+
/**
|
|
20345
|
+
* Value.
|
|
20346
|
+
*/
|
|
20347
|
+
val: string;
|
|
20348
|
+
}
|
|
20349
|
+
interface RuleContainerRuleKubernetesRuleIncludePodLabelRegex {
|
|
20350
|
+
/**
|
|
20351
|
+
* Key.
|
|
20352
|
+
*/
|
|
20353
|
+
key: string;
|
|
20354
|
+
/**
|
|
20355
|
+
* Value.
|
|
20356
|
+
*/
|
|
20357
|
+
val: string;
|
|
20358
|
+
}
|
|
20359
|
+
interface RuleContainerRuleKubernetesRuleLabelTag {
|
|
20360
|
+
/**
|
|
20361
|
+
* Key.
|
|
20362
|
+
*/
|
|
20363
|
+
key: string;
|
|
20364
|
+
/**
|
|
20365
|
+
* Value.
|
|
20366
|
+
*/
|
|
20367
|
+
val: string;
|
|
20368
|
+
}
|
|
20369
|
+
interface RuleExcludePath {
|
|
20370
|
+
/**
|
|
20371
|
+
* Collection path type. File: File name. Path: Directory.
|
|
20372
|
+
*/
|
|
20373
|
+
type: string;
|
|
20374
|
+
/**
|
|
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.
|
|
17559
20376
|
*/
|
|
17560
20377
|
value: string;
|
|
17561
20378
|
}
|
|
17562
|
-
interface
|
|
20379
|
+
interface RuleExtractRule {
|
|
17563
20380
|
/**
|
|
17564
|
-
*
|
|
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.
|
|
17565
20382
|
*/
|
|
17566
|
-
|
|
20383
|
+
beginRegex: string;
|
|
17567
20384
|
/**
|
|
17568
|
-
*
|
|
20385
|
+
* Log delimiter. Valid only when LogType is delimiter_log.
|
|
17569
20386
|
*/
|
|
17570
20387
|
delimiter: string;
|
|
17571
20388
|
/**
|
|
17572
|
-
*
|
|
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.
|
|
17573
20390
|
*/
|
|
17574
|
-
|
|
20391
|
+
enableNanosecond: boolean;
|
|
20392
|
+
filterKeyRegexes: outputs.tls.RuleExtractRuleFilterKeyRegex[];
|
|
20393
|
+
/**
|
|
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.
|
|
20395
|
+
*/
|
|
20396
|
+
keys: string[];
|
|
20397
|
+
/**
|
|
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.
|
|
20399
|
+
*/
|
|
20400
|
+
logRegex: string;
|
|
20401
|
+
/**
|
|
20402
|
+
* Automatically extract log fields based on the specified log template
|
|
20403
|
+
*/
|
|
20404
|
+
logTemplate: outputs.tls.RuleExtractRuleLogTemplate;
|
|
20405
|
+
/**
|
|
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.
|
|
20407
|
+
*/
|
|
20408
|
+
quote: string;
|
|
20409
|
+
/**
|
|
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.
|
|
20415
|
+
*/
|
|
20416
|
+
timeFormat: string;
|
|
20417
|
+
/**
|
|
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.
|
|
20419
|
+
*/
|
|
20420
|
+
timeKey: string;
|
|
20421
|
+
/**
|
|
20422
|
+
* Time sample. Used to check whether the entered time parsing format is correct.
|
|
20423
|
+
*/
|
|
20424
|
+
timeSample: string;
|
|
20425
|
+
/**
|
|
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.
|
|
20431
|
+
*/
|
|
20432
|
+
unMatchLogKey: string;
|
|
20433
|
+
/**
|
|
20434
|
+
* Switch for uploading unmatched logs.
|
|
20435
|
+
*/
|
|
20436
|
+
unMatchUpLoadSwitch: boolean;
|
|
17575
20437
|
}
|
|
17576
|
-
interface
|
|
20438
|
+
interface RuleExtractRuleFilterKeyRegex {
|
|
17577
20439
|
/**
|
|
17578
|
-
*
|
|
20440
|
+
* Name of the filter field.
|
|
17579
20441
|
*/
|
|
17580
20442
|
key: string;
|
|
17581
20443
|
/**
|
|
17582
|
-
*
|
|
20444
|
+
* The log content of the filter field must match the specified regular expression.
|
|
17583
20445
|
*/
|
|
17584
|
-
|
|
20446
|
+
regex: string;
|
|
17585
20447
|
}
|
|
17586
|
-
interface
|
|
20448
|
+
interface RuleExtractRuleLogTemplate {
|
|
17587
20449
|
/**
|
|
17588
|
-
*
|
|
20450
|
+
* Log template format.
|
|
17589
20451
|
*/
|
|
17590
|
-
|
|
20452
|
+
format: string;
|
|
17591
20453
|
/**
|
|
17592
|
-
*
|
|
20454
|
+
* Log template types. Supported types: Nginx: Nginx log template.
|
|
17593
20455
|
*/
|
|
17594
|
-
|
|
20456
|
+
type: string;
|
|
20457
|
+
}
|
|
20458
|
+
interface RuleHostGroupInfo {
|
|
17595
20459
|
/**
|
|
17596
|
-
*
|
|
20460
|
+
* Machine group ID
|
|
17597
20461
|
*/
|
|
17598
|
-
|
|
20462
|
+
hostGroupId: string;
|
|
20463
|
+
}
|
|
20464
|
+
interface RuleUserDefineRule {
|
|
17599
20465
|
/**
|
|
17600
|
-
*
|
|
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.
|
|
17601
20467
|
*/
|
|
17602
|
-
|
|
20468
|
+
advanced: outputs.tls.RuleUserDefineRuleAdvanced;
|
|
17603
20469
|
/**
|
|
17604
|
-
*
|
|
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.
|
|
17605
20471
|
*/
|
|
17606
|
-
|
|
20472
|
+
enableHostGroupLabel: boolean;
|
|
17607
20473
|
/**
|
|
17608
|
-
*
|
|
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.
|
|
17609
20475
|
*/
|
|
17610
|
-
|
|
17611
|
-
jsonKeys: outputs.tls.IndexKeyValueValueJsonKey[];
|
|
20476
|
+
enableHostname: boolean;
|
|
17612
20477
|
/**
|
|
17613
|
-
*
|
|
20478
|
+
* Upload raw logs. true: Upload raw logs. false (default): Do not upload raw logs.
|
|
17614
20479
|
*/
|
|
17615
|
-
|
|
20480
|
+
enableRawLog: boolean;
|
|
20481
|
+
fields: outputs.tls.RuleUserDefineRuleField[];
|
|
17616
20482
|
/**
|
|
17617
|
-
* Field
|
|
20483
|
+
* Field name used to store machine group label information
|
|
17618
20484
|
*/
|
|
17619
|
-
|
|
20485
|
+
hostGroupLabelKey: string;
|
|
20486
|
+
/**
|
|
20487
|
+
* Hostname field name. Required only when EnableHostname is true.
|
|
20488
|
+
*/
|
|
20489
|
+
hostnameKey: string;
|
|
20490
|
+
/**
|
|
20491
|
+
* Ignore log files that have not been updated for a specified period (in hours).
|
|
20492
|
+
*/
|
|
20493
|
+
ignoreOlder: number;
|
|
20494
|
+
/**
|
|
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.
|
|
20496
|
+
*/
|
|
20497
|
+
multiCollectsType: string;
|
|
20498
|
+
/**
|
|
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.
|
|
20500
|
+
*/
|
|
20501
|
+
parsePathRule: outputs.tls.RuleUserDefineRuleParsePathRule;
|
|
20502
|
+
/**
|
|
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.
|
|
20504
|
+
*/
|
|
20505
|
+
plugin: outputs.tls.RuleUserDefineRulePlugin;
|
|
20506
|
+
/**
|
|
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.
|
|
20508
|
+
*/
|
|
20509
|
+
rawLogKey: string;
|
|
20510
|
+
/**
|
|
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
|
|
20512
|
+
*/
|
|
20513
|
+
shardHashKey: outputs.tls.RuleUserDefineRuleShardHashKey;
|
|
20514
|
+
/**
|
|
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.
|
|
20516
|
+
*/
|
|
20517
|
+
tailFiles: boolean;
|
|
20518
|
+
/**
|
|
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.
|
|
20520
|
+
*/
|
|
20521
|
+
tailSizeKb: number;
|
|
17620
20522
|
}
|
|
17621
|
-
interface
|
|
20523
|
+
interface RuleUserDefineRuleAdvanced {
|
|
17622
20524
|
/**
|
|
17623
|
-
*
|
|
20525
|
+
* After reading to the end of the log file, choose whether to release the file handle. Default is false.
|
|
20526
|
+
*/
|
|
20527
|
+
closeEof: boolean;
|
|
20528
|
+
/**
|
|
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.
|
|
20530
|
+
*/
|
|
20531
|
+
closeInactive: number;
|
|
20532
|
+
/**
|
|
20533
|
+
* Release the file handle after the log file is removed. Default is false.
|
|
20534
|
+
*/
|
|
20535
|
+
closeRemoved: boolean;
|
|
20536
|
+
/**
|
|
20537
|
+
* Release the file handle after the log file is renamed. Default is false.
|
|
20538
|
+
*/
|
|
20539
|
+
closeRenamed: boolean;
|
|
20540
|
+
/**
|
|
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.
|
|
20542
|
+
*/
|
|
20543
|
+
closeTimeout: number;
|
|
20544
|
+
/**
|
|
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.
|
|
20546
|
+
*/
|
|
20547
|
+
noLineTerminatorEofMaxTime: number;
|
|
20548
|
+
}
|
|
20549
|
+
interface RuleUserDefineRuleField {
|
|
20550
|
+
/**
|
|
20551
|
+
* Key.
|
|
17624
20552
|
*/
|
|
17625
20553
|
key: string;
|
|
17626
20554
|
/**
|
|
17627
|
-
*
|
|
20555
|
+
* Value.
|
|
20556
|
+
*/
|
|
20557
|
+
val: string;
|
|
20558
|
+
}
|
|
20559
|
+
interface RuleUserDefineRuleParsePathRule {
|
|
20560
|
+
/**
|
|
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.
|
|
20562
|
+
*/
|
|
20563
|
+
keys: string[];
|
|
20564
|
+
/**
|
|
20565
|
+
* Sample collection path for actual scenarios. The sample collection path must be an absolute path. Wildcards *, ?, ** are not allowed in the path sample.
|
|
20566
|
+
*/
|
|
20567
|
+
pathSample: string;
|
|
20568
|
+
/**
|
|
20569
|
+
* Regular expression used to extract the path field. Must match the sample collection path, otherwise extraction will fail
|
|
17628
20570
|
*/
|
|
17629
|
-
|
|
20571
|
+
regex: string;
|
|
17630
20572
|
}
|
|
17631
|
-
interface
|
|
20573
|
+
interface RuleUserDefineRulePlugin {
|
|
17632
20574
|
/**
|
|
17633
|
-
*
|
|
20575
|
+
* LogCollector plugin. For the list of supported plugins and parameter descriptions, see LogCollector plugin overview.
|
|
17634
20576
|
*/
|
|
17635
|
-
|
|
20577
|
+
processors: string;
|
|
20578
|
+
}
|
|
20579
|
+
interface RuleUserDefineRuleShardHashKey {
|
|
17636
20580
|
/**
|
|
17637
|
-
*
|
|
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).
|
|
17638
20582
|
*/
|
|
17639
|
-
|
|
20583
|
+
hashKey: string;
|
|
20584
|
+
}
|
|
20585
|
+
interface ScheduleSqlTaskRequestCycle {
|
|
17640
20586
|
/**
|
|
17641
|
-
*
|
|
20587
|
+
* Cron expression, with a minimum granularity of minutes, using 24-hour format. For example, 0 18 * * * means execution at 18:00 every day.
|
|
17642
20588
|
*/
|
|
17643
|
-
|
|
20589
|
+
cronTab: string;
|
|
17644
20590
|
/**
|
|
17645
|
-
*
|
|
20591
|
+
* If Type is set to Cron, you must also set the time zone.
|
|
17646
20592
|
*/
|
|
17647
|
-
|
|
20593
|
+
cronTimeZone: string;
|
|
17648
20594
|
/**
|
|
17649
|
-
*
|
|
20595
|
+
* Scheduling period or the time point for periodic execution (minutes from 00:00). Range: 1–1440 minutes.
|
|
17650
20596
|
*/
|
|
17651
|
-
|
|
17652
|
-
}
|
|
17653
|
-
interface IndexUserInnerKeyValue {
|
|
20597
|
+
time: number;
|
|
17654
20598
|
/**
|
|
17655
|
-
*
|
|
20599
|
+
* Scheduling period type. Options: Period, Fixed, Cron.
|
|
17656
20600
|
*/
|
|
17657
|
-
|
|
20601
|
+
type: string;
|
|
20602
|
+
}
|
|
20603
|
+
interface ShipperContentInfo {
|
|
17658
20604
|
/**
|
|
17659
|
-
*
|
|
20605
|
+
* CSV format log content configuration.
|
|
17660
20606
|
*/
|
|
17661
|
-
|
|
17662
|
-
}
|
|
17663
|
-
interface IndexUserInnerKeyValueValue {
|
|
20607
|
+
csvInfo: outputs.tls.ShipperContentInfoCsvInfo;
|
|
17664
20608
|
/**
|
|
17665
|
-
*
|
|
20609
|
+
* Log content parsing format. Delivery to TOS supports json, jsonl, csv; delivery to Kafka supports original, json.
|
|
17666
20610
|
*/
|
|
17667
|
-
|
|
20611
|
+
format: string;
|
|
17668
20612
|
/**
|
|
17669
|
-
*
|
|
20613
|
+
* JSON/JSONL format log content configuration.
|
|
17670
20614
|
*/
|
|
17671
|
-
|
|
20615
|
+
jsonInfo: outputs.tls.ShipperContentInfoJsonInfo;
|
|
20616
|
+
}
|
|
20617
|
+
interface ShipperContentInfoCsvInfo {
|
|
17672
20618
|
/**
|
|
17673
|
-
*
|
|
20619
|
+
* Delimiter. Supports comma, tab, pipe, semicolon, space.
|
|
17674
20620
|
*/
|
|
17675
20621
|
delimiter: string;
|
|
17676
20622
|
/**
|
|
17677
|
-
*
|
|
20623
|
+
* Escape character. When field content contains a delimiter, use an escape character to enclose it. Supports single quote, double quote, or empty character.
|
|
17678
20624
|
*/
|
|
17679
|
-
|
|
20625
|
+
escapeChar: string;
|
|
17680
20626
|
/**
|
|
17681
|
-
*
|
|
20627
|
+
* Fields to be delivered. Supports letters, numbers, and _-./. Cannot start with an underscore. Length: 1–128.
|
|
17682
20628
|
*/
|
|
17683
|
-
|
|
20629
|
+
keys: string[];
|
|
17684
20630
|
/**
|
|
17685
|
-
*
|
|
20631
|
+
* Content for invalid field padding. Length: 0–128.
|
|
17686
20632
|
*/
|
|
17687
|
-
|
|
17688
|
-
jsonKeys: outputs.tls.IndexUserInnerKeyValueValueJsonKey[];
|
|
20633
|
+
nonFieldContent: string;
|
|
17689
20634
|
/**
|
|
17690
|
-
* Whether
|
|
20635
|
+
* Whether to print the key in the first row.
|
|
17691
20636
|
*/
|
|
17692
|
-
|
|
20637
|
+
printHeader: boolean;
|
|
20638
|
+
}
|
|
20639
|
+
interface ShipperContentInfoJsonInfo {
|
|
17693
20640
|
/**
|
|
17694
|
-
*
|
|
20641
|
+
* Enable flag.
|
|
17695
20642
|
*/
|
|
17696
|
-
|
|
17697
|
-
}
|
|
17698
|
-
interface IndexUserInnerKeyValueValueJsonKey {
|
|
20643
|
+
enable: boolean;
|
|
17699
20644
|
/**
|
|
17700
|
-
*
|
|
20645
|
+
* Whether to enable escaping. Must be set to true.
|
|
17701
20646
|
*/
|
|
17702
|
-
|
|
20647
|
+
escape: boolean;
|
|
17703
20648
|
/**
|
|
17704
|
-
*
|
|
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**.
|
|
17705
20650
|
*/
|
|
17706
|
-
|
|
20651
|
+
keys: string[];
|
|
17707
20652
|
}
|
|
17708
|
-
interface
|
|
20653
|
+
interface ShipperKafkaShipperInfo {
|
|
17709
20654
|
/**
|
|
17710
|
-
*
|
|
20655
|
+
* Compression format; supports snappy, gzip, lz4, none.
|
|
17711
20656
|
*/
|
|
17712
|
-
|
|
20657
|
+
compress: string;
|
|
17713
20658
|
/**
|
|
17714
|
-
*
|
|
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.
|
|
17715
20660
|
*/
|
|
17716
|
-
|
|
20661
|
+
endTime: number;
|
|
17717
20662
|
/**
|
|
17718
|
-
*
|
|
20663
|
+
* Kafka instance.
|
|
17719
20664
|
*/
|
|
17720
|
-
|
|
20665
|
+
instance: string;
|
|
17721
20666
|
/**
|
|
17722
|
-
*
|
|
20667
|
+
* Kafka topic name. All log data delivered through this configuration will be sent to this topic.
|
|
17723
20668
|
*/
|
|
17724
|
-
|
|
20669
|
+
kafkaTopic: string;
|
|
17725
20670
|
/**
|
|
17726
|
-
*
|
|
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.
|
|
17727
20672
|
*/
|
|
17728
|
-
|
|
20673
|
+
startTime: number;
|
|
17729
20674
|
}
|
|
17730
|
-
interface
|
|
20675
|
+
interface ShipperTosShipperInfo {
|
|
17731
20676
|
/**
|
|
17732
|
-
*
|
|
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.
|
|
17733
20678
|
*/
|
|
17734
|
-
|
|
20679
|
+
bucket: string;
|
|
17735
20680
|
/**
|
|
17736
|
-
*
|
|
20681
|
+
* Compression format; supports snappy, gzip, lz4, none.
|
|
17737
20682
|
*/
|
|
17738
|
-
|
|
17739
|
-
}
|
|
17740
|
-
interface ScheduleSqlTaskRequestCycle {
|
|
20683
|
+
compress: string;
|
|
17741
20684
|
/**
|
|
17742
|
-
*
|
|
20685
|
+
* Delivery interval in seconds, range: 300–900.
|
|
17743
20686
|
*/
|
|
17744
|
-
|
|
20687
|
+
interval: number;
|
|
17745
20688
|
/**
|
|
17746
|
-
*
|
|
20689
|
+
* Maximum raw file size per partition for delivery, in MiB. Range: 5–256.
|
|
17747
20690
|
*/
|
|
17748
|
-
|
|
20691
|
+
maxSize: number;
|
|
17749
20692
|
/**
|
|
17750
|
-
*
|
|
20693
|
+
* Partition rule for log delivery. Subdirectory naming format supports strftime syntax. Default: %Y/%m/%d/%H/%M.
|
|
17751
20694
|
*/
|
|
17752
|
-
|
|
20695
|
+
partitionFormat: string;
|
|
17753
20696
|
/**
|
|
17754
|
-
*
|
|
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.
|
|
17755
20698
|
*/
|
|
17756
|
-
|
|
20699
|
+
prefix: string;
|
|
17757
20700
|
}
|
|
17758
20701
|
interface TopicTag {
|
|
17759
20702
|
/**
|
|
@@ -18066,6 +21009,58 @@ export declare namespace vedbm {
|
|
|
18066
21009
|
*/
|
|
18067
21010
|
accountPrivilegeDetails: string[];
|
|
18068
21011
|
}
|
|
21012
|
+
interface EndpointPrivateAddresses {
|
|
21013
|
+
/**
|
|
21014
|
+
* Resolution method, fixed as false
|
|
21015
|
+
*/
|
|
21016
|
+
dnsVisibility: boolean;
|
|
21017
|
+
/**
|
|
21018
|
+
* Instance intranet access domain name
|
|
21019
|
+
*/
|
|
21020
|
+
domain: string;
|
|
21021
|
+
/**
|
|
21022
|
+
* Public network ID
|
|
21023
|
+
*/
|
|
21024
|
+
eipId: string;
|
|
21025
|
+
/**
|
|
21026
|
+
* IP address
|
|
21027
|
+
*/
|
|
21028
|
+
ipAddress: string;
|
|
21029
|
+
/**
|
|
21030
|
+
* Network type
|
|
21031
|
+
*/
|
|
21032
|
+
networkType: string;
|
|
21033
|
+
/**
|
|
21034
|
+
* Subnet ID
|
|
21035
|
+
*/
|
|
21036
|
+
subnetId: string;
|
|
21037
|
+
}
|
|
21038
|
+
interface EndpointPublicAddresses {
|
|
21039
|
+
/**
|
|
21040
|
+
* Resolution method, fixed as false
|
|
21041
|
+
*/
|
|
21042
|
+
dnsVisibility: boolean;
|
|
21043
|
+
/**
|
|
21044
|
+
* Instance intranet access domain name
|
|
21045
|
+
*/
|
|
21046
|
+
domain: string;
|
|
21047
|
+
/**
|
|
21048
|
+
* Public network ID
|
|
21049
|
+
*/
|
|
21050
|
+
eipId: string;
|
|
21051
|
+
/**
|
|
21052
|
+
* IP address
|
|
21053
|
+
*/
|
|
21054
|
+
ipAddress: string;
|
|
21055
|
+
/**
|
|
21056
|
+
* Network type
|
|
21057
|
+
*/
|
|
21058
|
+
networkType: string;
|
|
21059
|
+
/**
|
|
21060
|
+
* Subnet ID
|
|
21061
|
+
*/
|
|
21062
|
+
subnetId: string;
|
|
21063
|
+
}
|
|
18069
21064
|
interface GetAllowListAssociatedInstance {
|
|
18070
21065
|
/**
|
|
18071
21066
|
* Instance ID.
|
|
@@ -18094,6 +21089,58 @@ export declare namespace vedbm {
|
|
|
18094
21089
|
*/
|
|
18095
21090
|
accountPrivilegeDetails: string[];
|
|
18096
21091
|
}
|
|
21092
|
+
interface GetEndpointPrivateAddresses {
|
|
21093
|
+
/**
|
|
21094
|
+
* Resolution method, fixed as false
|
|
21095
|
+
*/
|
|
21096
|
+
dnsVisibility: boolean;
|
|
21097
|
+
/**
|
|
21098
|
+
* Instance intranet access domain name
|
|
21099
|
+
*/
|
|
21100
|
+
domain: string;
|
|
21101
|
+
/**
|
|
21102
|
+
* Public network ID
|
|
21103
|
+
*/
|
|
21104
|
+
eipId: string;
|
|
21105
|
+
/**
|
|
21106
|
+
* IP address
|
|
21107
|
+
*/
|
|
21108
|
+
ipAddress: string;
|
|
21109
|
+
/**
|
|
21110
|
+
* Network type
|
|
21111
|
+
*/
|
|
21112
|
+
networkType: string;
|
|
21113
|
+
/**
|
|
21114
|
+
* Subnet ID
|
|
21115
|
+
*/
|
|
21116
|
+
subnetId: string;
|
|
21117
|
+
}
|
|
21118
|
+
interface GetEndpointPublicAddresses {
|
|
21119
|
+
/**
|
|
21120
|
+
* Resolution method, fixed as false
|
|
21121
|
+
*/
|
|
21122
|
+
dnsVisibility: boolean;
|
|
21123
|
+
/**
|
|
21124
|
+
* Instance intranet access domain name
|
|
21125
|
+
*/
|
|
21126
|
+
domain: string;
|
|
21127
|
+
/**
|
|
21128
|
+
* Public network ID
|
|
21129
|
+
*/
|
|
21130
|
+
eipId: string;
|
|
21131
|
+
/**
|
|
21132
|
+
* IP address
|
|
21133
|
+
*/
|
|
21134
|
+
ipAddress: string;
|
|
21135
|
+
/**
|
|
21136
|
+
* Network type
|
|
21137
|
+
*/
|
|
21138
|
+
networkType: string;
|
|
21139
|
+
/**
|
|
21140
|
+
* Subnet ID
|
|
21141
|
+
*/
|
|
21142
|
+
subnetId: string;
|
|
21143
|
+
}
|
|
18097
21144
|
interface GetInstanceChargeDetail {
|
|
18098
21145
|
/**
|
|
18099
21146
|
* Whether to enable auto-renewal in prepaid scenarios. Values: true: auto-renewal. false: no auto-renewal.
|
|
@@ -18416,10 +21463,30 @@ export declare namespace vedbm {
|
|
|
18416
21463
|
* Node failover priority. Range: 0~15. Higher values indicate higher priority
|
|
18417
21464
|
*/
|
|
18418
21465
|
failoverPriority: number;
|
|
21466
|
+
/**
|
|
21467
|
+
* Memory size, in GiB.
|
|
21468
|
+
*/
|
|
21469
|
+
memory: number;
|
|
21470
|
+
/**
|
|
21471
|
+
* Node ID
|
|
21472
|
+
*/
|
|
21473
|
+
nodeId: string;
|
|
21474
|
+
/**
|
|
21475
|
+
* Node specification.
|
|
21476
|
+
*/
|
|
21477
|
+
nodeSpec: string;
|
|
18419
21478
|
/**
|
|
18420
21479
|
* Node type. Values: Primary: primary node. ReadOnly: read-only node.
|
|
18421
21480
|
*/
|
|
18422
21481
|
nodeType: string;
|
|
21482
|
+
/**
|
|
21483
|
+
* CPU size. For example, a value of 1 indicates a CPU size of 1U.
|
|
21484
|
+
*/
|
|
21485
|
+
vCpu: number;
|
|
21486
|
+
/**
|
|
21487
|
+
* Availability zone ID
|
|
21488
|
+
*/
|
|
21489
|
+
zoneId: string;
|
|
18423
21490
|
}
|
|
18424
21491
|
interface InstanceTag {
|
|
18425
21492
|
/**
|
|
@@ -18962,6 +22029,38 @@ export declare namespace vepfs {
|
|
|
18962
22029
|
*/
|
|
18963
22030
|
value: string;
|
|
18964
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
|
+
}
|
|
18965
22064
|
interface InstanceCapacityInfo {
|
|
18966
22065
|
/**
|
|
18967
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.
|
|
@@ -18982,6 +22081,38 @@ export declare namespace vepfs {
|
|
|
18982
22081
|
*/
|
|
18983
22082
|
value: string;
|
|
18984
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
|
+
}
|
|
18985
22116
|
}
|
|
18986
22117
|
export declare namespace vke {
|
|
18987
22118
|
interface AddonStatus {
|
|
@@ -23682,6 +26813,10 @@ export declare namespace vpn {
|
|
|
23682
26813
|
value: string;
|
|
23683
26814
|
}
|
|
23684
26815
|
interface VpnConnectionTunnelOption {
|
|
26816
|
+
/**
|
|
26817
|
+
* IPsec tunnel status. ike*sa*negotiation*failed: Phase one negotiation failed; nike*sa*negotiation*completed: Phase one negotiation succeeded; nipsec*sa*negotiation*failed: Phase two negotiation failed; nipsec*sa*negotiation*completed: Phase two negotiation succeeded.
|
|
26818
|
+
*/
|
|
26819
|
+
connectStatus: string;
|
|
23685
26820
|
/**
|
|
23686
26821
|
* ID of the customer gateway associated with the IPsec connection.
|
|
23687
26822
|
*/
|
|
@@ -23772,10 +26907,30 @@ export declare namespace vpn {
|
|
|
23772
26907
|
lifetime: number;
|
|
23773
26908
|
}
|
|
23774
26909
|
interface VpnConnectionTunnelOptionTunnelBgpInfo {
|
|
26910
|
+
/**
|
|
26911
|
+
* Enable dynamic route propagation. false (default): No, use static routing mode. true: Yes, use BGP routing mode.
|
|
26912
|
+
*/
|
|
26913
|
+
enableBgp: boolean;
|
|
26914
|
+
/**
|
|
26915
|
+
* The ASN of the VPN gateway.
|
|
26916
|
+
*/
|
|
26917
|
+
localAsn: number;
|
|
23775
26918
|
/**
|
|
23776
26919
|
* BGP address. Defaults to the first host address of TunnelOptions.N.BGPConfig.TunnelCidr. This address must be an IP address within the IPsec tunnel CIDR block. If EnableTunnelsBgp is set to true, this parameter must be specified.
|
|
23777
26920
|
*/
|
|
23778
26921
|
localBgpIp: string;
|
|
26922
|
+
/**
|
|
26923
|
+
* ASN of the customer gateway.
|
|
26924
|
+
*/
|
|
26925
|
+
peerAsn: number;
|
|
26926
|
+
/**
|
|
26927
|
+
* BGP peer IP, that is, the BGP address on the customer gateway side.
|
|
26928
|
+
*/
|
|
26929
|
+
peerBgpIp: string;
|
|
26930
|
+
/**
|
|
26931
|
+
* Status of the BGP connection. Up: BGP connection is normal. Down: BGP connection is not working.
|
|
26932
|
+
*/
|
|
26933
|
+
sessionStatus: string;
|
|
23779
26934
|
/**
|
|
23780
26935
|
* The CIDR address range for the local and peer IPs of the BGP session. This range must be within the 169.254.0.0/16 subnet with a subnet mask length of 30. If EnableTunnelsBgp is set to true, this parameter must be provided.
|
|
23781
26936
|
*/
|