@byteplus/pulumi-bytepluscc 0.0.22 → 0.0.23
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/index.d.ts +9 -0
- package/cen/index.js +12 -1
- package/cen/index.js.map +1 -1
- 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/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/instance.d.ts +3 -3
- package/package.json +1 -1
- package/privatelink/getVpcEndpoint.d.ts +137 -0
- package/privatelink/getVpcEndpoint.js +28 -0
- package/privatelink/getVpcEndpoint.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 +9 -0
- package/privatelink/index.js +12 -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/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/tls/consumerGroup.d.ts +128 -0
- package/tls/consumerGroup.js +98 -0
- package/tls/consumerGroup.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/importTask.d.ts +183 -0
- package/tls/importTask.js +97 -0
- package/tls/importTask.js.map +1 -0
- package/tls/index.d.ts +18 -0
- package/tls/index.js +23 -1
- package/tls/index.js.map +1 -1
- package/types/input.d.ts +707 -0
- package/types/output.d.ts +1532 -234
- 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/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
|
|
@@ -7919,6 +7971,28 @@ export declare namespace clb {
|
|
|
7919
7971
|
*/
|
|
7920
7972
|
eniId: string;
|
|
7921
7973
|
}
|
|
7974
|
+
interface ClbIpv6AddressBandwidth {
|
|
7975
|
+
/**
|
|
7976
|
+
* Peak bandwidth of IPv6 public bandwidth, in Mbps
|
|
7977
|
+
*/
|
|
7978
|
+
bandwidth: number;
|
|
7979
|
+
/**
|
|
7980
|
+
* Shared bandwidth package ID associated with IPv6 public bandwidth
|
|
7981
|
+
*/
|
|
7982
|
+
bandwidthPackageId: string;
|
|
7983
|
+
/**
|
|
7984
|
+
* Billing type for IPv6 public bandwidth
|
|
7985
|
+
*/
|
|
7986
|
+
billingType: number;
|
|
7987
|
+
/**
|
|
7988
|
+
* Line type of IPv6 public bandwidth
|
|
7989
|
+
*/
|
|
7990
|
+
isp: string;
|
|
7991
|
+
/**
|
|
7992
|
+
* Network type of the load balancer instance's IPv6 address
|
|
7993
|
+
*/
|
|
7994
|
+
networkType: string;
|
|
7995
|
+
}
|
|
7922
7996
|
interface ClbListener {
|
|
7923
7997
|
/**
|
|
7924
7998
|
* Listener ID
|
|
@@ -8069,6 +8143,28 @@ export declare namespace clb {
|
|
|
8069
8143
|
*/
|
|
8070
8144
|
eniId: string;
|
|
8071
8145
|
}
|
|
8146
|
+
interface GetClbIpv6AddressBandwidth {
|
|
8147
|
+
/**
|
|
8148
|
+
* Peak bandwidth of IPv6 public bandwidth, in Mbps
|
|
8149
|
+
*/
|
|
8150
|
+
bandwidth: number;
|
|
8151
|
+
/**
|
|
8152
|
+
* Shared bandwidth package ID associated with IPv6 public bandwidth
|
|
8153
|
+
*/
|
|
8154
|
+
bandwidthPackageId: string;
|
|
8155
|
+
/**
|
|
8156
|
+
* Billing type for IPv6 public bandwidth
|
|
8157
|
+
*/
|
|
8158
|
+
billingType: number;
|
|
8159
|
+
/**
|
|
8160
|
+
* Line type of IPv6 public bandwidth
|
|
8161
|
+
*/
|
|
8162
|
+
isp: string;
|
|
8163
|
+
/**
|
|
8164
|
+
* Network type of the load balancer instance's IPv6 address
|
|
8165
|
+
*/
|
|
8166
|
+
networkType: string;
|
|
8167
|
+
}
|
|
8072
8168
|
interface GetClbListener {
|
|
8073
8169
|
/**
|
|
8074
8170
|
* Listener ID
|
|
@@ -9207,6 +9303,10 @@ export declare namespace cloudmonitor {
|
|
|
9207
9303
|
* 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
9304
|
*/
|
|
9209
9305
|
comparisonOperator: string;
|
|
9306
|
+
/**
|
|
9307
|
+
* Metric display name.
|
|
9308
|
+
*/
|
|
9309
|
+
displayName: string;
|
|
9210
9310
|
/**
|
|
9211
9311
|
* Monitoring metric name. For details, see MetricName for each product in Cloud Monitoring Metric Query.
|
|
9212
9312
|
*/
|
|
@@ -10689,6 +10789,18 @@ export declare namespace ecs {
|
|
|
10689
10789
|
* The number of IPv6 addresses for the instance.
|
|
10690
10790
|
*/
|
|
10691
10791
|
ipv6AddressCount: number;
|
|
10792
|
+
/**
|
|
10793
|
+
* IPv6 address of the instance.
|
|
10794
|
+
*/
|
|
10795
|
+
ipv6Addresses: string[];
|
|
10796
|
+
/**
|
|
10797
|
+
* Instance MAC address.
|
|
10798
|
+
*/
|
|
10799
|
+
macAddress: string;
|
|
10800
|
+
/**
|
|
10801
|
+
* The network interface ID of the instance.
|
|
10802
|
+
*/
|
|
10803
|
+
networkInterfaceId: string;
|
|
10692
10804
|
/**
|
|
10693
10805
|
* Instance primary IP address
|
|
10694
10806
|
*/
|
|
@@ -10705,6 +10817,10 @@ export declare namespace ecs {
|
|
|
10705
10817
|
* Instance subnet ID.
|
|
10706
10818
|
*/
|
|
10707
10819
|
subnetId: string;
|
|
10820
|
+
/**
|
|
10821
|
+
* VPC ID of the instance.
|
|
10822
|
+
*/
|
|
10823
|
+
vpcId: string;
|
|
10708
10824
|
}
|
|
10709
10825
|
interface InstanceSystemVolume {
|
|
10710
10826
|
/**
|
|
@@ -15181,6 +15297,82 @@ export declare namespace privatelink {
|
|
|
15181
15297
|
*/
|
|
15182
15298
|
value: string;
|
|
15183
15299
|
}
|
|
15300
|
+
interface GetVpcEndpointTag {
|
|
15301
|
+
/**
|
|
15302
|
+
* 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 @.
|
|
15303
|
+
*/
|
|
15304
|
+
key: string;
|
|
15305
|
+
/**
|
|
15306
|
+
* 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 @
|
|
15307
|
+
*/
|
|
15308
|
+
value: string;
|
|
15309
|
+
}
|
|
15310
|
+
interface GetVpcEndpointZone {
|
|
15311
|
+
/**
|
|
15312
|
+
* Service status of the endpoint node's IPv6 address. Active: normal. Inactive: abnormal.
|
|
15313
|
+
*/
|
|
15314
|
+
ipv6ServiceStatus: string;
|
|
15315
|
+
/**
|
|
15316
|
+
* 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.
|
|
15317
|
+
*/
|
|
15318
|
+
networkInterfaceId: string;
|
|
15319
|
+
/**
|
|
15320
|
+
* 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.
|
|
15321
|
+
*/
|
|
15322
|
+
privateIpAddress: string;
|
|
15323
|
+
/**
|
|
15324
|
+
* 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.
|
|
15325
|
+
*/
|
|
15326
|
+
privateIpv6Address: string;
|
|
15327
|
+
/**
|
|
15328
|
+
* Service status of the endpoint IPv4 address. Active: Normal. Inactive: Abnormal.
|
|
15329
|
+
*/
|
|
15330
|
+
serviceStatus: string;
|
|
15331
|
+
/**
|
|
15332
|
+
* 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 &.
|
|
15333
|
+
*/
|
|
15334
|
+
subnetId: string;
|
|
15335
|
+
/**
|
|
15336
|
+
* Domain name of the endpoint availability zone.
|
|
15337
|
+
*/
|
|
15338
|
+
zoneDomain: string;
|
|
15339
|
+
/**
|
|
15340
|
+
* 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 &.
|
|
15341
|
+
*/
|
|
15342
|
+
zoneId: string;
|
|
15343
|
+
/**
|
|
15344
|
+
* Status of the endpoint node's availability zone. PendingAcceptance: waiting for connection. Connecting: connecting. Connected: connected. Disconnecting: disconnecting. Rejected: connection rejected. Failed: connection failed.
|
|
15345
|
+
*/
|
|
15346
|
+
zoneStatus: string;
|
|
15347
|
+
}
|
|
15348
|
+
interface VpcEndpointTag {
|
|
15349
|
+
/**
|
|
15350
|
+
* 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 @.
|
|
15351
|
+
*/
|
|
15352
|
+
key: string;
|
|
15353
|
+
/**
|
|
15354
|
+
* 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 @
|
|
15355
|
+
*/
|
|
15356
|
+
value: string;
|
|
15357
|
+
}
|
|
15358
|
+
interface VpcEndpointZone {
|
|
15359
|
+
/**
|
|
15360
|
+
* 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.
|
|
15361
|
+
*/
|
|
15362
|
+
privateIpAddress: string;
|
|
15363
|
+
/**
|
|
15364
|
+
* 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.
|
|
15365
|
+
*/
|
|
15366
|
+
privateIpv6Address: string;
|
|
15367
|
+
/**
|
|
15368
|
+
* 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 &.
|
|
15369
|
+
*/
|
|
15370
|
+
subnetId: string;
|
|
15371
|
+
/**
|
|
15372
|
+
* 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 &.
|
|
15373
|
+
*/
|
|
15374
|
+
zoneId: string;
|
|
15375
|
+
}
|
|
15184
15376
|
}
|
|
15185
15377
|
export declare namespace privatezone {
|
|
15186
15378
|
interface GetResolverEndpointIpConfig {
|
|
@@ -15596,6 +15788,26 @@ export declare namespace rdsmssql {
|
|
|
15596
15788
|
* Instance ID
|
|
15597
15789
|
*/
|
|
15598
15790
|
instanceId: string;
|
|
15791
|
+
/**
|
|
15792
|
+
* Instance name
|
|
15793
|
+
*/
|
|
15794
|
+
instanceName: string;
|
|
15795
|
+
/**
|
|
15796
|
+
* Instance status
|
|
15797
|
+
*/
|
|
15798
|
+
instanceStatus: string;
|
|
15799
|
+
/**
|
|
15800
|
+
* Sync latest allowlist IP
|
|
15801
|
+
*/
|
|
15802
|
+
isLatest: boolean;
|
|
15803
|
+
/**
|
|
15804
|
+
* Project name of the instance
|
|
15805
|
+
*/
|
|
15806
|
+
projectName: string;
|
|
15807
|
+
/**
|
|
15808
|
+
* VPC ID of the instance
|
|
15809
|
+
*/
|
|
15810
|
+
vpc: string;
|
|
15599
15811
|
}
|
|
15600
15812
|
interface GetAllowListAssociatedInstance {
|
|
15601
15813
|
/**
|
|
@@ -17044,113 +17256,578 @@ export declare namespace rdspostgresql {
|
|
|
17044
17256
|
*/
|
|
17045
17257
|
weight: number;
|
|
17046
17258
|
}
|
|
17047
|
-
|
|
17048
|
-
export declare namespace redis {
|
|
17049
|
-
interface GetInstanceCapacity {
|
|
17259
|
+
interface GetInstanceChargeDetail {
|
|
17050
17260
|
/**
|
|
17051
|
-
*
|
|
17261
|
+
* Enable auto-renewal for prepaid scenarios
|
|
17052
17262
|
*/
|
|
17053
|
-
|
|
17263
|
+
autoRenew: boolean;
|
|
17054
17264
|
/**
|
|
17055
|
-
*
|
|
17265
|
+
* Billing expiration time for yearly/monthly instances
|
|
17056
17266
|
*/
|
|
17057
|
-
|
|
17058
|
-
}
|
|
17059
|
-
interface GetInstanceConfigureNode {
|
|
17267
|
+
chargeEndTime: string;
|
|
17060
17268
|
/**
|
|
17061
|
-
*
|
|
17269
|
+
* Instance billing start time
|
|
17062
17270
|
*/
|
|
17063
|
-
|
|
17064
|
-
}
|
|
17065
|
-
interface GetInstanceInstanceShard {
|
|
17271
|
+
chargeStartTime: string;
|
|
17066
17272
|
/**
|
|
17067
|
-
*
|
|
17273
|
+
* Payment status. Value: - `Normal`: Normal - `Overdue`: Overdue and suspended - `Unpaid`: Unpaid
|
|
17068
17274
|
*/
|
|
17069
|
-
|
|
17275
|
+
chargeStatus: string;
|
|
17070
17276
|
/**
|
|
17071
|
-
*
|
|
17277
|
+
* Payment type. Value: - `PostPaid`: Postpaid - `PrePaid`: Prepaid
|
|
17072
17278
|
*/
|
|
17073
|
-
|
|
17279
|
+
chargeType: string;
|
|
17074
17280
|
/**
|
|
17075
|
-
*
|
|
17281
|
+
* Estimated release time after instance suspension due to overdue payment
|
|
17076
17282
|
*/
|
|
17077
|
-
|
|
17078
|
-
}
|
|
17079
|
-
interface GetInstanceInstanceShardServerNode {
|
|
17283
|
+
overdueReclaimTime: string;
|
|
17080
17284
|
/**
|
|
17081
|
-
*
|
|
17285
|
+
* Instance shutdown time due to overdue payment
|
|
17082
17286
|
*/
|
|
17083
|
-
|
|
17287
|
+
overdueTime: string;
|
|
17084
17288
|
/**
|
|
17085
|
-
*
|
|
17289
|
+
* Purchase duration for prepaid scenarios
|
|
17086
17290
|
*/
|
|
17087
|
-
|
|
17291
|
+
period: number;
|
|
17088
17292
|
/**
|
|
17089
|
-
*
|
|
17293
|
+
* Purchase period for prepaid scenarios. Values: - `Month`: month - `Year`: year
|
|
17090
17294
|
*/
|
|
17091
|
-
|
|
17295
|
+
periodUnit: string;
|
|
17092
17296
|
/**
|
|
17093
|
-
*
|
|
17297
|
+
* Rollback time for temporary upgrade
|
|
17094
17298
|
*/
|
|
17095
|
-
|
|
17299
|
+
tempModifyEndTime: string;
|
|
17300
|
+
/**
|
|
17301
|
+
* Start time of temporary scaling
|
|
17302
|
+
*/
|
|
17303
|
+
tempModifyStartTime: string;
|
|
17096
17304
|
}
|
|
17097
|
-
interface
|
|
17305
|
+
interface GetInstanceEndpoint {
|
|
17098
17306
|
/**
|
|
17099
|
-
*
|
|
17307
|
+
* Address list.
|
|
17100
17308
|
*/
|
|
17101
|
-
|
|
17309
|
+
addresses: outputs.rdspostgresql.GetInstanceEndpointAddress[];
|
|
17102
17310
|
/**
|
|
17103
|
-
*
|
|
17311
|
+
* 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
17312
|
*/
|
|
17105
|
-
|
|
17106
|
-
}
|
|
17107
|
-
interface GetInstanceVisitAddr {
|
|
17313
|
+
autoAddNewNodes: string;
|
|
17108
17314
|
/**
|
|
17109
|
-
*
|
|
17315
|
+
* Address description.
|
|
17110
17316
|
*/
|
|
17111
|
-
|
|
17317
|
+
description: string;
|
|
17112
17318
|
/**
|
|
17113
|
-
*
|
|
17319
|
+
* Enable global read-only mode. - `Enable`: enabled - `Disable`: not enabled
|
|
17114
17320
|
*/
|
|
17115
|
-
|
|
17321
|
+
enableReadOnly: string;
|
|
17116
17322
|
/**
|
|
17117
|
-
*
|
|
17323
|
+
* Enable read-write separation. Values: - `Enable`: enabled - `Disable`: not enabled
|
|
17118
17324
|
*/
|
|
17119
|
-
|
|
17325
|
+
enableReadWriteSplitting: string;
|
|
17120
17326
|
/**
|
|
17121
|
-
*
|
|
17327
|
+
* Instance connection terminal ID
|
|
17122
17328
|
*/
|
|
17123
|
-
|
|
17329
|
+
endpointId: string;
|
|
17124
17330
|
/**
|
|
17125
|
-
*
|
|
17331
|
+
* Instance connection terminal name
|
|
17126
17332
|
*/
|
|
17127
|
-
|
|
17333
|
+
endpointName: string;
|
|
17128
17334
|
/**
|
|
17129
|
-
*
|
|
17335
|
+
* Endpoint type: - `Cluster`: Default endpoint (created by default) - `Custom`: Custom endpoint
|
|
17130
17336
|
*/
|
|
17131
|
-
|
|
17132
|
-
}
|
|
17133
|
-
interface InstanceCapacity {
|
|
17337
|
+
endpointType: string;
|
|
17134
17338
|
/**
|
|
17135
|
-
*
|
|
17339
|
+
* Read-only weight allocation mode. Options: - `Default`: Standard weight allocation (default). - `Custom`: Custom weight allocation
|
|
17136
17340
|
*/
|
|
17137
|
-
|
|
17341
|
+
readOnlyNodeDistributionType: string;
|
|
17138
17342
|
/**
|
|
17139
|
-
*
|
|
17343
|
+
* 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.
|
|
17344
|
+
* **Note:** This parameter can be set for the default endpoint when read/write splitting is enabled.
|
|
17140
17345
|
*/
|
|
17141
|
-
|
|
17142
|
-
}
|
|
17143
|
-
interface InstanceConfigureNode {
|
|
17346
|
+
readOnlyNodeMaxDelayTime: number;
|
|
17144
17347
|
/**
|
|
17145
|
-
*
|
|
17348
|
+
* List of nodes configured for the endpoint and their corresponding read-only weights.
|
|
17146
17349
|
*/
|
|
17147
|
-
|
|
17148
|
-
}
|
|
17149
|
-
interface InstanceInstanceShard {
|
|
17350
|
+
readOnlyNodeWeights: outputs.rdspostgresql.GetInstanceEndpointReadOnlyNodeWeight[];
|
|
17150
17351
|
/**
|
|
17151
|
-
*
|
|
17352
|
+
* Read/write mode: - `ReadWrite`: Read/write - `ReadOnly`: Read-only
|
|
17152
17353
|
*/
|
|
17153
|
-
|
|
17354
|
+
readWriteMode: string;
|
|
17355
|
+
/**
|
|
17356
|
+
* 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]
|
|
17357
|
+
*/
|
|
17358
|
+
readWriteProxyConnection: number;
|
|
17359
|
+
/**
|
|
17360
|
+
* 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
|
|
17361
|
+
*/
|
|
17362
|
+
writeNodeHaltWriting: boolean;
|
|
17363
|
+
}
|
|
17364
|
+
interface GetInstanceEndpointAddress {
|
|
17365
|
+
/**
|
|
17366
|
+
* Private network address accessible across regions
|
|
17367
|
+
*/
|
|
17368
|
+
crossRegionDomain: string;
|
|
17369
|
+
/**
|
|
17370
|
+
* Enable public network resolution. Values: - false: default, private network resolution - true: private and public network resolution
|
|
17371
|
+
*/
|
|
17372
|
+
dnsVisibility: boolean;
|
|
17373
|
+
/**
|
|
17374
|
+
* Connection domain name
|
|
17375
|
+
*/
|
|
17376
|
+
domain: string;
|
|
17377
|
+
/**
|
|
17378
|
+
* Private network address type. Values: LocalDomain: local region domain name CrossRegionDomain: cross-region accessible domain name
|
|
17379
|
+
*/
|
|
17380
|
+
domainVisibilitySetting: string;
|
|
17381
|
+
/**
|
|
17382
|
+
* EIP ID, valid only for Public addresses
|
|
17383
|
+
*/
|
|
17384
|
+
eipId: string;
|
|
17385
|
+
/**
|
|
17386
|
+
* IP address
|
|
17387
|
+
*/
|
|
17388
|
+
ipAddress: string;
|
|
17389
|
+
/**
|
|
17390
|
+
* Network address type. Value: - `Private`: Private network address - `Public`: Public network address - `Inner`: Public service zone address
|
|
17391
|
+
*/
|
|
17392
|
+
networkType: string;
|
|
17393
|
+
/**
|
|
17394
|
+
* Port.
|
|
17395
|
+
*/
|
|
17396
|
+
port: string;
|
|
17397
|
+
/**
|
|
17398
|
+
* Subnet ID
|
|
17399
|
+
*/
|
|
17400
|
+
subnetId: string;
|
|
17401
|
+
}
|
|
17402
|
+
interface GetInstanceEndpointReadOnlyNodeWeight {
|
|
17403
|
+
/**
|
|
17404
|
+
* Read-only nodes require NodeId
|
|
17405
|
+
*/
|
|
17406
|
+
nodeId: string;
|
|
17407
|
+
/**
|
|
17408
|
+
* Node type
|
|
17409
|
+
*/
|
|
17410
|
+
nodeType: string;
|
|
17411
|
+
/**
|
|
17412
|
+
* Node read weight, increases by 100, maximum value is 10000
|
|
17413
|
+
*/
|
|
17414
|
+
weight: number;
|
|
17415
|
+
}
|
|
17416
|
+
interface GetInstanceMaintenanceWindow {
|
|
17417
|
+
/**
|
|
17418
|
+
* Granularity of the maintenance cycle. Value: Week (week)
|
|
17419
|
+
*/
|
|
17420
|
+
dayKind: string;
|
|
17421
|
+
/**
|
|
17422
|
+
* Detailed information about the instance's maintenance window.
|
|
17423
|
+
*/
|
|
17424
|
+
dayOfWeekMaintenanceTimes: outputs.rdspostgresql.GetInstanceMaintenanceWindowDayOfWeekMaintenanceTime[];
|
|
17425
|
+
}
|
|
17426
|
+
interface GetInstanceMaintenanceWindowDayOfWeekMaintenanceTime {
|
|
17427
|
+
/**
|
|
17428
|
+
* 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.
|
|
17429
|
+
*/
|
|
17430
|
+
dayOfWeek: string;
|
|
17431
|
+
/**
|
|
17432
|
+
* 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.
|
|
17433
|
+
*/
|
|
17434
|
+
maintenanceWindowStartTime: string;
|
|
17435
|
+
/**
|
|
17436
|
+
* Duration of the maintenance window on the maintenance day. Minimum duration is 2 hours, maximum is 6 hours.
|
|
17437
|
+
*/
|
|
17438
|
+
period: number;
|
|
17439
|
+
}
|
|
17440
|
+
interface GetInstanceNodeInfo {
|
|
17441
|
+
/**
|
|
17442
|
+
* Node creation time. Format: yyyy-MM-ddTHH:mm:ss.sssZ (UTC time)
|
|
17443
|
+
*/
|
|
17444
|
+
createTime: string;
|
|
17445
|
+
/**
|
|
17446
|
+
* Instance ID
|
|
17447
|
+
*/
|
|
17448
|
+
instanceId: string;
|
|
17449
|
+
/**
|
|
17450
|
+
* Memory size, unit: GB
|
|
17451
|
+
*/
|
|
17452
|
+
memory: number;
|
|
17453
|
+
/**
|
|
17454
|
+
* Node ID
|
|
17455
|
+
*/
|
|
17456
|
+
nodeId: string;
|
|
17457
|
+
/**
|
|
17458
|
+
* Node specification
|
|
17459
|
+
*/
|
|
17460
|
+
nodeSpec: string;
|
|
17461
|
+
/**
|
|
17462
|
+
* Node status
|
|
17463
|
+
*/
|
|
17464
|
+
nodeStatus: string;
|
|
17465
|
+
/**
|
|
17466
|
+
* Node type
|
|
17467
|
+
*/
|
|
17468
|
+
nodeType: string;
|
|
17469
|
+
/**
|
|
17470
|
+
* Region ID
|
|
17471
|
+
*/
|
|
17472
|
+
regionId: string;
|
|
17473
|
+
/**
|
|
17474
|
+
* Node update time. Format: yyyy-MM-ddTHH:mm:ss.sssZ (UTC time)
|
|
17475
|
+
*/
|
|
17476
|
+
updateTime: string;
|
|
17477
|
+
/**
|
|
17478
|
+
* CPU size. For example: 1 means 1U
|
|
17479
|
+
*/
|
|
17480
|
+
vcpu: number;
|
|
17481
|
+
/**
|
|
17482
|
+
* Availability zone of the node
|
|
17483
|
+
*/
|
|
17484
|
+
zoneId: string;
|
|
17485
|
+
}
|
|
17486
|
+
interface GetInstanceTag {
|
|
17487
|
+
/**
|
|
17488
|
+
* Tag key
|
|
17489
|
+
*/
|
|
17490
|
+
key: string;
|
|
17491
|
+
/**
|
|
17492
|
+
* Tag value
|
|
17493
|
+
*/
|
|
17494
|
+
value: string;
|
|
17495
|
+
}
|
|
17496
|
+
interface InstanceChargeDetail {
|
|
17497
|
+
/**
|
|
17498
|
+
* Enable auto-renewal for prepaid scenarios
|
|
17499
|
+
*/
|
|
17500
|
+
autoRenew: boolean;
|
|
17501
|
+
/**
|
|
17502
|
+
* Billing expiration time for yearly/monthly instances
|
|
17503
|
+
*/
|
|
17504
|
+
chargeEndTime: string;
|
|
17505
|
+
/**
|
|
17506
|
+
* Instance billing start time
|
|
17507
|
+
*/
|
|
17508
|
+
chargeStartTime: string;
|
|
17509
|
+
/**
|
|
17510
|
+
* Payment status. Value: - `Normal`: Normal - `Overdue`: Overdue and suspended - `Unpaid`: Unpaid
|
|
17511
|
+
*/
|
|
17512
|
+
chargeStatus: string;
|
|
17513
|
+
/**
|
|
17514
|
+
* Payment type. Value: - `PostPaid`: Postpaid - `PrePaid`: Prepaid
|
|
17515
|
+
*/
|
|
17516
|
+
chargeType: string;
|
|
17517
|
+
/**
|
|
17518
|
+
* Estimated release time after instance suspension due to overdue payment
|
|
17519
|
+
*/
|
|
17520
|
+
overdueReclaimTime: string;
|
|
17521
|
+
/**
|
|
17522
|
+
* Instance shutdown time due to overdue payment
|
|
17523
|
+
*/
|
|
17524
|
+
overdueTime: string;
|
|
17525
|
+
/**
|
|
17526
|
+
* Purchase duration for prepaid scenarios
|
|
17527
|
+
*/
|
|
17528
|
+
period: number;
|
|
17529
|
+
/**
|
|
17530
|
+
* Purchase period for prepaid scenarios. Values: - `Month`: month - `Year`: year
|
|
17531
|
+
*/
|
|
17532
|
+
periodUnit: string;
|
|
17533
|
+
/**
|
|
17534
|
+
* Rollback time for temporary upgrade
|
|
17535
|
+
*/
|
|
17536
|
+
tempModifyEndTime: string;
|
|
17537
|
+
/**
|
|
17538
|
+
* Start time of temporary scaling
|
|
17539
|
+
*/
|
|
17540
|
+
tempModifyStartTime: string;
|
|
17541
|
+
}
|
|
17542
|
+
interface InstanceEndpoint {
|
|
17543
|
+
addresses: outputs.rdspostgresql.InstanceEndpointAddress[];
|
|
17544
|
+
/**
|
|
17545
|
+
* 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)
|
|
17546
|
+
*/
|
|
17547
|
+
autoAddNewNodes: string;
|
|
17548
|
+
/**
|
|
17549
|
+
* Address description.
|
|
17550
|
+
*/
|
|
17551
|
+
description: string;
|
|
17552
|
+
/**
|
|
17553
|
+
* Enable global read-only mode. - `Enable`: enabled - `Disable`: not enabled
|
|
17554
|
+
*/
|
|
17555
|
+
enableReadOnly: string;
|
|
17556
|
+
/**
|
|
17557
|
+
* Enable read-write separation. Values: - `Enable`: enabled - `Disable`: not enabled
|
|
17558
|
+
*/
|
|
17559
|
+
enableReadWriteSplitting: string;
|
|
17560
|
+
/**
|
|
17561
|
+
* Instance connection terminal ID
|
|
17562
|
+
*/
|
|
17563
|
+
endpointId: string;
|
|
17564
|
+
/**
|
|
17565
|
+
* Instance connection terminal name
|
|
17566
|
+
*/
|
|
17567
|
+
endpointName: string;
|
|
17568
|
+
/**
|
|
17569
|
+
* Endpoint type: - `Cluster`: Default endpoint (created by default) - `Custom`: Custom endpoint
|
|
17570
|
+
*/
|
|
17571
|
+
endpointType: string;
|
|
17572
|
+
/**
|
|
17573
|
+
* Read-only weight allocation mode. Options: - `Default`: Standard weight allocation (default). - `Custom`: Custom weight allocation
|
|
17574
|
+
*/
|
|
17575
|
+
readOnlyNodeDistributionType: string;
|
|
17576
|
+
/**
|
|
17577
|
+
* 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.
|
|
17578
|
+
* **Note:** This parameter can be set for the default endpoint when read/write splitting is enabled.
|
|
17579
|
+
*/
|
|
17580
|
+
readOnlyNodeMaxDelayTime: number;
|
|
17581
|
+
readOnlyNodeWeights: outputs.rdspostgresql.InstanceEndpointReadOnlyNodeWeight[];
|
|
17582
|
+
/**
|
|
17583
|
+
* Read/write mode: - `ReadWrite`: Read/write - `ReadOnly`: Read-only
|
|
17584
|
+
*/
|
|
17585
|
+
readWriteMode: string;
|
|
17586
|
+
/**
|
|
17587
|
+
* 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]
|
|
17588
|
+
*/
|
|
17589
|
+
readWriteProxyConnection: number;
|
|
17590
|
+
/**
|
|
17591
|
+
* 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
|
|
17592
|
+
*/
|
|
17593
|
+
writeNodeHaltWriting: boolean;
|
|
17594
|
+
}
|
|
17595
|
+
interface InstanceEndpointAddress {
|
|
17596
|
+
/**
|
|
17597
|
+
* Private network address accessible across regions
|
|
17598
|
+
*/
|
|
17599
|
+
crossRegionDomain: string;
|
|
17600
|
+
/**
|
|
17601
|
+
* Enable public network resolution. Values: - false: default, private network resolution - true: private and public network resolution
|
|
17602
|
+
*/
|
|
17603
|
+
dnsVisibility: boolean;
|
|
17604
|
+
/**
|
|
17605
|
+
* Connection domain name
|
|
17606
|
+
*/
|
|
17607
|
+
domain: string;
|
|
17608
|
+
/**
|
|
17609
|
+
* Private network address type. Values: LocalDomain: local region domain name CrossRegionDomain: cross-region accessible domain name
|
|
17610
|
+
*/
|
|
17611
|
+
domainVisibilitySetting: string;
|
|
17612
|
+
/**
|
|
17613
|
+
* EIP ID, valid only for Public addresses
|
|
17614
|
+
*/
|
|
17615
|
+
eipId: string;
|
|
17616
|
+
/**
|
|
17617
|
+
* IP address
|
|
17618
|
+
*/
|
|
17619
|
+
ipAddress: string;
|
|
17620
|
+
/**
|
|
17621
|
+
* Network address type. Value: - `Private`: Private network address - `Public`: Public network address - `Inner`: Public service zone address
|
|
17622
|
+
*/
|
|
17623
|
+
networkType: string;
|
|
17624
|
+
/**
|
|
17625
|
+
* Port.
|
|
17626
|
+
*/
|
|
17627
|
+
port: string;
|
|
17628
|
+
/**
|
|
17629
|
+
* Subnet ID
|
|
17630
|
+
*/
|
|
17631
|
+
subnetId: string;
|
|
17632
|
+
}
|
|
17633
|
+
interface InstanceEndpointReadOnlyNodeWeight {
|
|
17634
|
+
/**
|
|
17635
|
+
* Read-only nodes require NodeId
|
|
17636
|
+
*/
|
|
17637
|
+
nodeId: string;
|
|
17638
|
+
/**
|
|
17639
|
+
* Node type
|
|
17640
|
+
*/
|
|
17641
|
+
nodeType: string;
|
|
17642
|
+
/**
|
|
17643
|
+
* Node read weight, increases by 100, maximum value is 10000
|
|
17644
|
+
*/
|
|
17645
|
+
weight: number;
|
|
17646
|
+
}
|
|
17647
|
+
interface InstanceMaintenanceWindow {
|
|
17648
|
+
/**
|
|
17649
|
+
* Granularity of the maintenance cycle. Value: Week (week)
|
|
17650
|
+
*/
|
|
17651
|
+
dayKind: string;
|
|
17652
|
+
dayOfWeekMaintenanceTimes: outputs.rdspostgresql.InstanceMaintenanceWindowDayOfWeekMaintenanceTime[];
|
|
17653
|
+
}
|
|
17654
|
+
interface InstanceMaintenanceWindowDayOfWeekMaintenanceTime {
|
|
17655
|
+
/**
|
|
17656
|
+
* 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.
|
|
17657
|
+
*/
|
|
17658
|
+
dayOfWeek: string;
|
|
17659
|
+
/**
|
|
17660
|
+
* 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.
|
|
17661
|
+
*/
|
|
17662
|
+
maintenanceWindowStartTime: string;
|
|
17663
|
+
/**
|
|
17664
|
+
* Duration of the maintenance window on the maintenance day. Minimum duration is 2 hours, maximum is 6 hours.
|
|
17665
|
+
*/
|
|
17666
|
+
period: number;
|
|
17667
|
+
}
|
|
17668
|
+
interface InstanceNodeInfo {
|
|
17669
|
+
/**
|
|
17670
|
+
* Node creation time. Format: yyyy-MM-ddTHH:mm:ss.sssZ (UTC time)
|
|
17671
|
+
*/
|
|
17672
|
+
createTime: string;
|
|
17673
|
+
/**
|
|
17674
|
+
* Instance ID
|
|
17675
|
+
*/
|
|
17676
|
+
instanceId: string;
|
|
17677
|
+
/**
|
|
17678
|
+
* Memory size, unit: GB
|
|
17679
|
+
*/
|
|
17680
|
+
memory: number;
|
|
17681
|
+
/**
|
|
17682
|
+
* Node ID
|
|
17683
|
+
*/
|
|
17684
|
+
nodeId: string;
|
|
17685
|
+
/**
|
|
17686
|
+
* Node specification
|
|
17687
|
+
*/
|
|
17688
|
+
nodeSpec: string;
|
|
17689
|
+
/**
|
|
17690
|
+
* Node status
|
|
17691
|
+
*/
|
|
17692
|
+
nodeStatus: string;
|
|
17693
|
+
/**
|
|
17694
|
+
* Node type
|
|
17695
|
+
*/
|
|
17696
|
+
nodeType: string;
|
|
17697
|
+
/**
|
|
17698
|
+
* Region ID
|
|
17699
|
+
*/
|
|
17700
|
+
regionId: string;
|
|
17701
|
+
/**
|
|
17702
|
+
* Node update time. Format: yyyy-MM-ddTHH:mm:ss.sssZ (UTC time)
|
|
17703
|
+
*/
|
|
17704
|
+
updateTime: string;
|
|
17705
|
+
/**
|
|
17706
|
+
* CPU size. For example: 1 means 1U
|
|
17707
|
+
*/
|
|
17708
|
+
vcpu: number;
|
|
17709
|
+
/**
|
|
17710
|
+
* Availability zone of the node
|
|
17711
|
+
*/
|
|
17712
|
+
zoneId: string;
|
|
17713
|
+
}
|
|
17714
|
+
interface InstanceTag {
|
|
17715
|
+
/**
|
|
17716
|
+
* Tag key
|
|
17717
|
+
*/
|
|
17718
|
+
key: string;
|
|
17719
|
+
/**
|
|
17720
|
+
* Tag value
|
|
17721
|
+
*/
|
|
17722
|
+
value: string;
|
|
17723
|
+
}
|
|
17724
|
+
}
|
|
17725
|
+
export declare namespace redis {
|
|
17726
|
+
interface GetInstanceCapacity {
|
|
17727
|
+
/**
|
|
17728
|
+
* Total memory capacity of the current instance. Unit: MiB.
|
|
17729
|
+
*/
|
|
17730
|
+
total: number;
|
|
17731
|
+
/**
|
|
17732
|
+
* Used capacity of the current instance. Unit: MiB.
|
|
17733
|
+
*/
|
|
17734
|
+
used: number;
|
|
17735
|
+
}
|
|
17736
|
+
interface GetInstanceConfigureNode {
|
|
17737
|
+
/**
|
|
17738
|
+
* The availability zone each node belongs to.
|
|
17739
|
+
*/
|
|
17740
|
+
az: string;
|
|
17741
|
+
}
|
|
17742
|
+
interface GetInstanceInstanceShard {
|
|
17743
|
+
/**
|
|
17744
|
+
* Number of nodes in each shard
|
|
17745
|
+
*/
|
|
17746
|
+
nodeNumber: number;
|
|
17747
|
+
/**
|
|
17748
|
+
* Detailed list of all Server nodes in the shard.
|
|
17749
|
+
*/
|
|
17750
|
+
serverNodes: outputs.redis.GetInstanceInstanceShardServerNode[];
|
|
17751
|
+
/**
|
|
17752
|
+
* Shard ID.
|
|
17753
|
+
*/
|
|
17754
|
+
shardId: string;
|
|
17755
|
+
}
|
|
17756
|
+
interface GetInstanceInstanceShardServerNode {
|
|
17757
|
+
/**
|
|
17758
|
+
* Current role of the node. Valid values: PrimaryNode: primary node; SecondaryNode: secondary node.
|
|
17759
|
+
*/
|
|
17760
|
+
currentRole: string;
|
|
17761
|
+
/**
|
|
17762
|
+
* Node ID.
|
|
17763
|
+
*/
|
|
17764
|
+
nodeId: string;
|
|
17765
|
+
/**
|
|
17766
|
+
* Node status. Valid values: deploy: starting; running: running; loading: loading data; error: error.
|
|
17767
|
+
*/
|
|
17768
|
+
status: string;
|
|
17769
|
+
/**
|
|
17770
|
+
* Availability zone where the node is located.
|
|
17771
|
+
*/
|
|
17772
|
+
zoneId: string;
|
|
17773
|
+
}
|
|
17774
|
+
interface GetInstanceTag {
|
|
17775
|
+
/**
|
|
17776
|
+
* Tag key.
|
|
17777
|
+
*/
|
|
17778
|
+
key: string;
|
|
17779
|
+
/**
|
|
17780
|
+
* Tag value.
|
|
17781
|
+
*/
|
|
17782
|
+
value: string;
|
|
17783
|
+
}
|
|
17784
|
+
interface GetInstanceVisitAddr {
|
|
17785
|
+
/**
|
|
17786
|
+
* Connection address type. Value options: Private: Private network connection address; Public: Public network connection address; DirectLink: Direct connection address.
|
|
17787
|
+
*/
|
|
17788
|
+
addrType: string;
|
|
17789
|
+
/**
|
|
17790
|
+
* IP address or domain name.
|
|
17791
|
+
*/
|
|
17792
|
+
address: string;
|
|
17793
|
+
/**
|
|
17794
|
+
* EIP ID bound to the instance's public address. This parameter is returned only when the connection address type (AddrType) is Public.
|
|
17795
|
+
*/
|
|
17796
|
+
eipId: string;
|
|
17797
|
+
/**
|
|
17798
|
+
* Port number.
|
|
17799
|
+
*/
|
|
17800
|
+
port: string;
|
|
17801
|
+
/**
|
|
17802
|
+
* IPv6 address corresponding to the connection address.
|
|
17803
|
+
*/
|
|
17804
|
+
viPv6: string;
|
|
17805
|
+
/**
|
|
17806
|
+
* The IPv4 address corresponding to the connection address.
|
|
17807
|
+
*/
|
|
17808
|
+
vip: string;
|
|
17809
|
+
}
|
|
17810
|
+
interface InstanceCapacity {
|
|
17811
|
+
/**
|
|
17812
|
+
* Total memory capacity of the current instance. Unit: MiB.
|
|
17813
|
+
*/
|
|
17814
|
+
total: number;
|
|
17815
|
+
/**
|
|
17816
|
+
* Used capacity of the current instance. Unit: MiB.
|
|
17817
|
+
*/
|
|
17818
|
+
used: number;
|
|
17819
|
+
}
|
|
17820
|
+
interface InstanceConfigureNode {
|
|
17821
|
+
/**
|
|
17822
|
+
* The availability zone each node belongs to.
|
|
17823
|
+
*/
|
|
17824
|
+
az: string;
|
|
17825
|
+
}
|
|
17826
|
+
interface InstanceInstanceShard {
|
|
17827
|
+
/**
|
|
17828
|
+
* Number of nodes in each shard
|
|
17829
|
+
*/
|
|
17830
|
+
nodeNumber: number;
|
|
17154
17831
|
serverNodes: outputs.redis.InstanceInstanceShardServerNode[];
|
|
17155
17832
|
/**
|
|
17156
17833
|
* Shard ID.
|
|
@@ -17181,163 +17858,477 @@ export declare namespace redis {
|
|
|
17181
17858
|
*/
|
|
17182
17859
|
key: string;
|
|
17183
17860
|
/**
|
|
17184
|
-
* Tag value.
|
|
17861
|
+
* Tag value.
|
|
17862
|
+
*/
|
|
17863
|
+
value: string;
|
|
17864
|
+
}
|
|
17865
|
+
interface InstanceVisitAddr {
|
|
17866
|
+
/**
|
|
17867
|
+
* Connection address type. Value options: Private: Private network connection address; Public: Public network connection address; DirectLink: Direct connection address.
|
|
17868
|
+
*/
|
|
17869
|
+
addrType: string;
|
|
17870
|
+
/**
|
|
17871
|
+
* IP address or domain name.
|
|
17872
|
+
*/
|
|
17873
|
+
address: string;
|
|
17874
|
+
/**
|
|
17875
|
+
* EIP ID bound to the instance's public address. This parameter is returned only when the connection address type (AddrType) is Public.
|
|
17876
|
+
*/
|
|
17877
|
+
eipId: string;
|
|
17878
|
+
/**
|
|
17879
|
+
* Port number.
|
|
17880
|
+
*/
|
|
17881
|
+
port: string;
|
|
17882
|
+
/**
|
|
17883
|
+
* IPv6 address corresponding to the connection address.
|
|
17884
|
+
*/
|
|
17885
|
+
viPv6: string;
|
|
17886
|
+
/**
|
|
17887
|
+
* The IPv4 address corresponding to the connection address.
|
|
17888
|
+
*/
|
|
17889
|
+
vip: string;
|
|
17890
|
+
}
|
|
17891
|
+
}
|
|
17892
|
+
export declare namespace storageebs {
|
|
17893
|
+
interface GetSnapshotTag {
|
|
17894
|
+
/**
|
|
17895
|
+
* 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.
|
|
17896
|
+
*/
|
|
17897
|
+
key: string;
|
|
17898
|
+
/**
|
|
17899
|
+
* 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.
|
|
17900
|
+
*/
|
|
17901
|
+
value: string;
|
|
17902
|
+
}
|
|
17903
|
+
interface GetVolumeBaselinePerformance {
|
|
17904
|
+
/**
|
|
17905
|
+
* Total IOPS of the disk, which is the sum of the baseline IOPS and extra IOPS.
|
|
17906
|
+
*/
|
|
17907
|
+
iops: number;
|
|
17908
|
+
/**
|
|
17909
|
+
* The total throughput of the cloud disk is the sum of its baseline throughput and additional throughput.
|
|
17910
|
+
*/
|
|
17911
|
+
throughput: number;
|
|
17912
|
+
}
|
|
17913
|
+
interface GetVolumeExtraPerformance {
|
|
17914
|
+
/**
|
|
17915
|
+
* Type of extra performance. Value description: Balance: Balanced extra performance; IOPS: IOPS extra performance; Throughput: Throughput extra performance.
|
|
17916
|
+
*/
|
|
17917
|
+
extraPerformanceTypeId: string;
|
|
17918
|
+
/**
|
|
17919
|
+
* Extra IOPS of the disk.
|
|
17920
|
+
*/
|
|
17921
|
+
iops: number;
|
|
17922
|
+
/**
|
|
17923
|
+
* Extra throughput of the disk.
|
|
17924
|
+
*/
|
|
17925
|
+
throughput: number;
|
|
17926
|
+
}
|
|
17927
|
+
interface GetVolumeTag {
|
|
17928
|
+
/**
|
|
17929
|
+
* Tag key.
|
|
17930
|
+
*/
|
|
17931
|
+
key: string;
|
|
17932
|
+
/**
|
|
17933
|
+
* Tag value.
|
|
17934
|
+
*/
|
|
17935
|
+
value: string;
|
|
17936
|
+
}
|
|
17937
|
+
interface GetVolumeTotalPerformance {
|
|
17938
|
+
/**
|
|
17939
|
+
* Total IOPS of the disk, which is the sum of the baseline IOPS and extra IOPS.
|
|
17940
|
+
*/
|
|
17941
|
+
iops: number;
|
|
17942
|
+
/**
|
|
17943
|
+
* The total throughput of the cloud disk is the sum of its baseline throughput and additional throughput.
|
|
17944
|
+
*/
|
|
17945
|
+
throughput: number;
|
|
17946
|
+
}
|
|
17947
|
+
interface SnapshotTag {
|
|
17948
|
+
/**
|
|
17949
|
+
* 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.
|
|
17950
|
+
*/
|
|
17951
|
+
key: string;
|
|
17952
|
+
/**
|
|
17953
|
+
* 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.
|
|
17954
|
+
*/
|
|
17955
|
+
value: string;
|
|
17956
|
+
}
|
|
17957
|
+
interface VolumeBaselinePerformance {
|
|
17958
|
+
/**
|
|
17959
|
+
* Total IOPS of the disk, which is the sum of the baseline IOPS and extra IOPS.
|
|
17960
|
+
*/
|
|
17961
|
+
iops: number;
|
|
17962
|
+
/**
|
|
17963
|
+
* The total throughput of the cloud disk is the sum of its baseline throughput and additional throughput.
|
|
17964
|
+
*/
|
|
17965
|
+
throughput: number;
|
|
17966
|
+
}
|
|
17967
|
+
interface VolumeExtraPerformance {
|
|
17968
|
+
/**
|
|
17969
|
+
* Type of extra performance. Value description: Balance: Balanced extra performance; IOPS: IOPS extra performance; Throughput: Throughput extra performance.
|
|
17970
|
+
*/
|
|
17971
|
+
extraPerformanceTypeId: string;
|
|
17972
|
+
/**
|
|
17973
|
+
* Extra IOPS of the disk.
|
|
17974
|
+
*/
|
|
17975
|
+
iops: number;
|
|
17976
|
+
/**
|
|
17977
|
+
* Extra throughput of the disk.
|
|
17978
|
+
*/
|
|
17979
|
+
throughput: number;
|
|
17980
|
+
}
|
|
17981
|
+
interface VolumeTag {
|
|
17982
|
+
/**
|
|
17983
|
+
* Tag key.
|
|
17984
|
+
*/
|
|
17985
|
+
key: string;
|
|
17986
|
+
/**
|
|
17987
|
+
* Tag value.
|
|
17988
|
+
*/
|
|
17989
|
+
value: string;
|
|
17990
|
+
}
|
|
17991
|
+
interface VolumeTotalPerformance {
|
|
17992
|
+
/**
|
|
17993
|
+
* Total IOPS of the disk, which is the sum of the baseline IOPS and extra IOPS.
|
|
17994
|
+
*/
|
|
17995
|
+
iops: number;
|
|
17996
|
+
/**
|
|
17997
|
+
* The total throughput of the cloud disk is the sum of its baseline throughput and additional throughput.
|
|
17998
|
+
*/
|
|
17999
|
+
throughput: number;
|
|
18000
|
+
}
|
|
18001
|
+
}
|
|
18002
|
+
export declare namespace tls {
|
|
18003
|
+
interface GetImportTaskImportSourceInfo {
|
|
18004
|
+
/**
|
|
18005
|
+
* Kafka data source information. When sourceType is kafka, the KafkaSourceInfo field is required
|
|
18006
|
+
*/
|
|
18007
|
+
kafkaSourceInfo: outputs.tls.GetImportTaskImportSourceInfoKafkaSourceInfo;
|
|
18008
|
+
/**
|
|
18009
|
+
* TOS data source information. When sourceType is tos, the TosSourceInfo field is required.
|
|
18010
|
+
*/
|
|
18011
|
+
tosSourceInfo: outputs.tls.GetImportTaskImportSourceInfoTosSourceInfo;
|
|
18012
|
+
}
|
|
18013
|
+
interface GetImportTaskImportSourceInfoKafkaSourceInfo {
|
|
18014
|
+
/**
|
|
18015
|
+
* Data encoding format. Available options: UTF-8, GBK.
|
|
18016
|
+
*/
|
|
18017
|
+
encode: string;
|
|
18018
|
+
/**
|
|
18019
|
+
* Kafka consumer group. If not specified, the system will automatically create a Kafka consumer group.
|
|
18020
|
+
*/
|
|
18021
|
+
group: string;
|
|
18022
|
+
/**
|
|
18023
|
+
* 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 (,).
|
|
18024
|
+
*/
|
|
18025
|
+
host: string;
|
|
18026
|
+
/**
|
|
18027
|
+
* 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.
|
|
18028
|
+
*/
|
|
18029
|
+
initialOffset: number;
|
|
18030
|
+
/**
|
|
18031
|
+
* If you are using Message Queue Kafka Edition, set this to the Kafka instance ID.
|
|
18032
|
+
*/
|
|
18033
|
+
instanceId: string;
|
|
18034
|
+
/**
|
|
18035
|
+
* Whether to enable authentication. If you use a public service address, it is recommended to enable authentication.
|
|
18036
|
+
*/
|
|
18037
|
+
isNeedAuth: boolean;
|
|
18038
|
+
/**
|
|
18039
|
+
* Password authentication mechanism. Available options: PLAIN, SCRAM-SHA-256, and SCRAM-SHA-512.
|
|
18040
|
+
*/
|
|
18041
|
+
mechanism: string;
|
|
18042
|
+
/**
|
|
18043
|
+
* Kafka SASL user password for authentication.
|
|
18044
|
+
*/
|
|
18045
|
+
password: string;
|
|
18046
|
+
/**
|
|
18047
|
+
* Secure transmission protocol. Options include plaintext, sasl*ssl, ssl, and sasl*plaintext
|
|
18048
|
+
*/
|
|
18049
|
+
protocol: string;
|
|
18050
|
+
/**
|
|
18051
|
+
* Specify log time. Options: 0: Use Kafka message timestamp. 1: Use current system time.
|
|
18052
|
+
*/
|
|
18053
|
+
timeSourceDefault: number;
|
|
18054
|
+
/**
|
|
18055
|
+
* Kafka Topic name. Separate multiple Kafka Topics with commas (,).
|
|
18056
|
+
*/
|
|
18057
|
+
topic: string;
|
|
18058
|
+
/**
|
|
18059
|
+
* Kafka SASL username for authentication.
|
|
18060
|
+
*/
|
|
18061
|
+
username: string;
|
|
18062
|
+
}
|
|
18063
|
+
interface GetImportTaskImportSourceInfoTosSourceInfo {
|
|
18064
|
+
/**
|
|
18065
|
+
* TOS bucket name
|
|
18066
|
+
*/
|
|
18067
|
+
bucket: string;
|
|
18068
|
+
/**
|
|
18069
|
+
* Compression mode for data in the TOS bucket. none: No compression. snappy: Compress using snappy. gzip: Compress using gzip. lz4: Compress using lz4.
|
|
18070
|
+
*/
|
|
18071
|
+
compressType: string;
|
|
18072
|
+
/**
|
|
18073
|
+
* Path of the file to be imported in the TOS bucket.
|
|
18074
|
+
*/
|
|
18075
|
+
prefix: string;
|
|
18076
|
+
/**
|
|
18077
|
+
* Region where the TOS bucket is located. Cross-region data import is supported
|
|
18078
|
+
*/
|
|
18079
|
+
region: string;
|
|
18080
|
+
}
|
|
18081
|
+
interface GetImportTaskTargetInfo {
|
|
18082
|
+
/**
|
|
18083
|
+
* Log extraction rule.
|
|
18084
|
+
*/
|
|
18085
|
+
extractRule: outputs.tls.GetImportTaskTargetInfoExtractRule;
|
|
18086
|
+
/**
|
|
18087
|
+
* Log sample. When LogType is set to multiline_log, you must configure log samples. It is recommended to provide more than two log entries as examples to ensure the regular expression matches the first line of each log. Use real samples from the production environment.
|
|
18088
|
+
*/
|
|
18089
|
+
logSample: string;
|
|
18090
|
+
/**
|
|
18091
|
+
* 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.
|
|
18092
|
+
*/
|
|
18093
|
+
logType: string;
|
|
18094
|
+
/**
|
|
18095
|
+
* Region.
|
|
18096
|
+
*/
|
|
18097
|
+
region: string;
|
|
18098
|
+
}
|
|
18099
|
+
interface GetImportTaskTargetInfoExtractRule {
|
|
18100
|
+
/**
|
|
18101
|
+
* Basic content of log extraction rules.
|
|
18102
|
+
*/
|
|
18103
|
+
extractRule: outputs.tls.GetImportTaskTargetInfoExtractRuleExtractRule;
|
|
18104
|
+
/**
|
|
18105
|
+
* Number of skipped rows. Only valid when the log type is delimiterLog and the import type is tos.
|
|
18106
|
+
*/
|
|
18107
|
+
skipLineCount: number;
|
|
18108
|
+
/**
|
|
18109
|
+
* Time extraction regular expression, used to extract the time value from the TimeKey field and parse it as the collection time
|
|
18110
|
+
*/
|
|
18111
|
+
timeExtractRegex: string;
|
|
18112
|
+
/**
|
|
18113
|
+
* 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.
|
|
18114
|
+
*/
|
|
18115
|
+
timeZone: string;
|
|
18116
|
+
}
|
|
18117
|
+
interface GetImportTaskTargetInfoExtractRuleExtractRule {
|
|
18118
|
+
/**
|
|
18119
|
+
* Regular expression for identifying the first line of each log. The matched part is treated as the start of the log. When LogType is set to multiline_log, you must configure a log sample
|
|
18120
|
+
*/
|
|
18121
|
+
beginRegex: string;
|
|
18122
|
+
/**
|
|
18123
|
+
* Delimiter. Only valid when LogType is delimiter_log.
|
|
18124
|
+
*/
|
|
18125
|
+
delimiter: string;
|
|
18126
|
+
/**
|
|
18127
|
+
* Enable nanoseconds.
|
|
18128
|
+
*/
|
|
18129
|
+
enableNanosecond: boolean;
|
|
18130
|
+
/**
|
|
18131
|
+
* Filter key regular expression.
|
|
18132
|
+
*/
|
|
18133
|
+
filterKeyRegexes: outputs.tls.GetImportTaskTargetInfoExtractRuleExtractRuleFilterKeyRegex[];
|
|
18134
|
+
/**
|
|
18135
|
+
* List of log field names (Key). Valid only when LogType is delimiter_log. Supports up to 100 field names. Duplicate field names are not allowed, and all field names cannot be left blank
|
|
18136
|
+
*/
|
|
18137
|
+
keys: string[];
|
|
18138
|
+
/**
|
|
18139
|
+
* Log regular expression
|
|
18140
|
+
*/
|
|
18141
|
+
logRegex: string;
|
|
18142
|
+
/**
|
|
18143
|
+
* Log template.
|
|
18144
|
+
*/
|
|
18145
|
+
logTemplate: outputs.tls.GetImportTaskTargetInfoExtractRuleExtractRuleLogTemplate;
|
|
18146
|
+
/**
|
|
18147
|
+
* Quotation mark. Content enclosed by the quotation mark will not be separated and will be parsed as a complete field. Only valid when LogType is delimiter_log.
|
|
18148
|
+
*/
|
|
18149
|
+
quote: string;
|
|
18150
|
+
/**
|
|
18151
|
+
* 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.
|
|
18152
|
+
*/
|
|
18153
|
+
timeFormat: string;
|
|
18154
|
+
/**
|
|
18155
|
+
* 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
|
|
18156
|
+
*/
|
|
18157
|
+
timeKey: string;
|
|
18158
|
+
/**
|
|
18159
|
+
* Time sample. Used to verify whether the entered time parsing format is correct
|
|
18160
|
+
*/
|
|
18161
|
+
timeSample: string;
|
|
18162
|
+
/**
|
|
18163
|
+
* When uploading logs that failed to parse, specify the key name for the failed logs. UnMatchUpLoadSwitch=true and UnMatchLogKey must be used together.
|
|
18164
|
+
*/
|
|
18165
|
+
unMatchLogKey: string;
|
|
18166
|
+
/**
|
|
18167
|
+
* 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.
|
|
18168
|
+
*/
|
|
18169
|
+
unMatchUpLoadSwitch: boolean;
|
|
18170
|
+
}
|
|
18171
|
+
interface GetImportTaskTargetInfoExtractRuleExtractRuleFilterKeyRegex {
|
|
18172
|
+
/**
|
|
18173
|
+
* Key.
|
|
18174
|
+
*/
|
|
18175
|
+
key: string;
|
|
18176
|
+
/**
|
|
18177
|
+
* Regular expression.
|
|
17185
18178
|
*/
|
|
17186
|
-
|
|
18179
|
+
regex: string;
|
|
17187
18180
|
}
|
|
17188
|
-
interface
|
|
18181
|
+
interface GetImportTaskTargetInfoExtractRuleExtractRuleLogTemplate {
|
|
17189
18182
|
/**
|
|
17190
|
-
*
|
|
18183
|
+
* Format.
|
|
17191
18184
|
*/
|
|
17192
|
-
|
|
18185
|
+
format: string;
|
|
17193
18186
|
/**
|
|
17194
|
-
*
|
|
18187
|
+
* Type
|
|
17195
18188
|
*/
|
|
17196
|
-
|
|
18189
|
+
type: string;
|
|
18190
|
+
}
|
|
18191
|
+
interface GetImportTaskTaskStatistics {
|
|
17197
18192
|
/**
|
|
17198
|
-
*
|
|
18193
|
+
* Total resource bytes enumerated
|
|
17199
18194
|
*/
|
|
17200
|
-
|
|
18195
|
+
bytesTotal: number;
|
|
17201
18196
|
/**
|
|
17202
|
-
*
|
|
18197
|
+
* Bytes transferred.
|
|
17203
18198
|
*/
|
|
17204
|
-
|
|
18199
|
+
bytesTransferred: number;
|
|
17205
18200
|
/**
|
|
17206
|
-
*
|
|
18201
|
+
* Number of resources failed to import.
|
|
17207
18202
|
*/
|
|
17208
|
-
|
|
18203
|
+
failed: number;
|
|
17209
18204
|
/**
|
|
17210
|
-
*
|
|
18205
|
+
* Number of resources not found.
|
|
17211
18206
|
*/
|
|
17212
|
-
|
|
17213
|
-
}
|
|
17214
|
-
}
|
|
17215
|
-
export declare namespace storageebs {
|
|
17216
|
-
interface GetSnapshotTag {
|
|
18207
|
+
notExist: number;
|
|
17217
18208
|
/**
|
|
17218
|
-
*
|
|
18209
|
+
* Number of resources skipped during import
|
|
17219
18210
|
*/
|
|
17220
|
-
|
|
18211
|
+
skipped: number;
|
|
17221
18212
|
/**
|
|
17222
|
-
*
|
|
18213
|
+
* Task status. Status of the import task. Preparing: Preparing for import. Importing: Importing data. Success: Import completed successfully. Failed: Import failed. Stopped: Import paused.
|
|
17223
18214
|
*/
|
|
17224
|
-
|
|
17225
|
-
}
|
|
17226
|
-
interface GetVolumeBaselinePerformance {
|
|
18215
|
+
taskStatus: string;
|
|
17227
18216
|
/**
|
|
17228
|
-
* Total
|
|
18217
|
+
* Total number of resources enumerated.
|
|
17229
18218
|
*/
|
|
17230
|
-
|
|
18219
|
+
total: number;
|
|
17231
18220
|
/**
|
|
17232
|
-
*
|
|
18221
|
+
* Number of records transferred.
|
|
17233
18222
|
*/
|
|
17234
|
-
|
|
18223
|
+
transferred: number;
|
|
17235
18224
|
}
|
|
17236
|
-
interface
|
|
18225
|
+
interface GetIndexFullText {
|
|
17237
18226
|
/**
|
|
17238
|
-
*
|
|
18227
|
+
* Case sensitivity. true: Case sensitive. false: Not case sensitive.
|
|
17239
18228
|
*/
|
|
17240
|
-
|
|
18229
|
+
caseSensitive: boolean;
|
|
17241
18230
|
/**
|
|
17242
|
-
*
|
|
18231
|
+
* 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.
|
|
17243
18232
|
*/
|
|
17244
|
-
|
|
18233
|
+
delimiter: string;
|
|
17245
18234
|
/**
|
|
17246
|
-
*
|
|
18235
|
+
* 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.
|
|
17247
18236
|
*/
|
|
17248
|
-
|
|
18237
|
+
includeChinese: boolean;
|
|
17249
18238
|
}
|
|
17250
|
-
interface
|
|
18239
|
+
interface GetIndexKeyValue {
|
|
17251
18240
|
/**
|
|
17252
|
-
*
|
|
18241
|
+
* 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.
|
|
17253
18242
|
*/
|
|
17254
18243
|
key: string;
|
|
17255
18244
|
/**
|
|
17256
|
-
*
|
|
18245
|
+
* Field description information required for configuring key-value indexes.
|
|
17257
18246
|
*/
|
|
17258
|
-
value:
|
|
18247
|
+
value: outputs.tls.GetIndexKeyValueValue;
|
|
17259
18248
|
}
|
|
17260
|
-
interface
|
|
18249
|
+
interface GetIndexKeyValueValue {
|
|
17261
18250
|
/**
|
|
17262
|
-
*
|
|
18251
|
+
* Indicates whether the index was added automatically. true: The index was added automatically. false: The index was not added automatically.
|
|
17263
18252
|
*/
|
|
17264
|
-
|
|
18253
|
+
autoIndexFlag: boolean;
|
|
17265
18254
|
/**
|
|
17266
|
-
*
|
|
18255
|
+
* Whether to distinguish case. Default is false.
|
|
17267
18256
|
*/
|
|
17268
|
-
|
|
17269
|
-
}
|
|
17270
|
-
interface SnapshotTag {
|
|
18257
|
+
caseSensitive: boolean;
|
|
17271
18258
|
/**
|
|
17272
|
-
*
|
|
18259
|
+
* 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.
|
|
17273
18260
|
*/
|
|
17274
|
-
|
|
18261
|
+
delimiter: string;
|
|
17275
18262
|
/**
|
|
17276
|
-
*
|
|
18263
|
+
* 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.
|
|
17277
18264
|
*/
|
|
17278
|
-
|
|
17279
|
-
}
|
|
17280
|
-
interface VolumeBaselinePerformance {
|
|
18265
|
+
includeChinese: boolean;
|
|
17281
18266
|
/**
|
|
17282
|
-
*
|
|
18267
|
+
* Create indexes for all fields with text values in the JSON field.
|
|
17283
18268
|
*/
|
|
17284
|
-
|
|
18269
|
+
indexAll: boolean;
|
|
17285
18270
|
/**
|
|
17286
|
-
*
|
|
18271
|
+
* Enable automatic indexing and statistics for JSON fields. true: Enable automatic indexing and statistics. false: Disable automatic indexing and statistics.
|
|
17287
18272
|
*/
|
|
17288
|
-
|
|
17289
|
-
}
|
|
17290
|
-
interface VolumeExtraPerformance {
|
|
18273
|
+
indexSqlAll: boolean;
|
|
17291
18274
|
/**
|
|
17292
|
-
*
|
|
18275
|
+
* When ValueType is json, you can configure key-value indexes for JSON subfields using the JsonKeys field, which is an array of KeyValueInfo. Each element in the JsonKeys list is a KeyValueInfo, and you can further nest text, long, and double type subfields. For subfields in JSON key-value indexes, use . to indicate the hierarchy between JSON fields. For example, the JSON field namelist contains a text-type subfield totalcount and a JSON-type info, which itself contains the field name. Each field name should be configured as totalcount and info.name, respectively. The SqlFlag setting for subfield key-value indexes defined in JsonKeys must match their parent field, meaning they must be enabled or disabled together. The default is disabled. Subfields do not support separate settings for Delimiter, CaseSensitive, or IncludeChinese. For text-type fields, CaseSensitive, Delimiter, and IncludeChinese always inherit the parent field settings. This is only set when ValueType is json.
|
|
17293
18276
|
*/
|
|
17294
|
-
|
|
18277
|
+
jsonKeys: outputs.tls.GetIndexKeyValueValueJsonKey[];
|
|
17295
18278
|
/**
|
|
17296
|
-
*
|
|
18279
|
+
* 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.
|
|
17297
18280
|
*/
|
|
17298
|
-
|
|
18281
|
+
sqlFlag: boolean;
|
|
17299
18282
|
/**
|
|
17300
|
-
*
|
|
18283
|
+
* 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.
|
|
17301
18284
|
*/
|
|
17302
|
-
|
|
18285
|
+
valueType: string;
|
|
17303
18286
|
}
|
|
17304
|
-
interface
|
|
18287
|
+
interface GetIndexKeyValueValueJsonKey {
|
|
17305
18288
|
/**
|
|
17306
|
-
*
|
|
18289
|
+
* 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.
|
|
17307
18290
|
*/
|
|
17308
18291
|
key: string;
|
|
17309
18292
|
/**
|
|
17310
|
-
*
|
|
18293
|
+
* Field description information required for configuring key-value indexes.
|
|
17311
18294
|
*/
|
|
17312
|
-
value:
|
|
18295
|
+
value: outputs.tls.GetIndexKeyValueValueJsonKeyValue;
|
|
17313
18296
|
}
|
|
17314
|
-
interface
|
|
17315
|
-
/**
|
|
17316
|
-
* Total IOPS of the disk, which is the sum of the baseline IOPS and extra IOPS.
|
|
17317
|
-
*/
|
|
17318
|
-
iops: number;
|
|
18297
|
+
interface GetIndexKeyValueValueJsonKeyValue {
|
|
17319
18298
|
/**
|
|
17320
|
-
*
|
|
18299
|
+
* Indicates whether the index was added automatically. true: The index was added automatically. false: The index was not added automatically.
|
|
17321
18300
|
*/
|
|
17322
|
-
|
|
17323
|
-
}
|
|
17324
|
-
}
|
|
17325
|
-
export declare namespace tls {
|
|
17326
|
-
interface GetIndexFullText {
|
|
18301
|
+
autoIndexFlag: boolean;
|
|
17327
18302
|
/**
|
|
17328
|
-
*
|
|
18303
|
+
* Whether to distinguish case. Default is false.
|
|
17329
18304
|
*/
|
|
17330
18305
|
caseSensitive: boolean;
|
|
17331
18306
|
/**
|
|
17332
|
-
* Token separators for the
|
|
18307
|
+
* 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.
|
|
17333
18308
|
*/
|
|
17334
18309
|
delimiter: string;
|
|
17335
18310
|
/**
|
|
17336
|
-
* When searching,
|
|
18311
|
+
* 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.
|
|
17337
18312
|
*/
|
|
17338
18313
|
includeChinese: boolean;
|
|
18314
|
+
/**
|
|
18315
|
+
* Create indexes for all fields with text values in the JSON field.
|
|
18316
|
+
*/
|
|
18317
|
+
indexAll: boolean;
|
|
18318
|
+
/**
|
|
18319
|
+
* Enable automatic indexing and statistics for JSON fields. true: Enable automatic indexing and statistics. false: Disable automatic indexing and statistics.
|
|
18320
|
+
*/
|
|
18321
|
+
indexSqlAll: boolean;
|
|
18322
|
+
/**
|
|
18323
|
+
* 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.
|
|
18324
|
+
*/
|
|
18325
|
+
sqlFlag: boolean;
|
|
18326
|
+
/**
|
|
18327
|
+
* 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.
|
|
18328
|
+
*/
|
|
18329
|
+
valueType: string;
|
|
17339
18330
|
}
|
|
17340
|
-
interface
|
|
18331
|
+
interface GetIndexUserInnerKeyValue {
|
|
17341
18332
|
/**
|
|
17342
18333
|
* 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
18334
|
*/
|
|
@@ -17345,9 +18336,9 @@ export declare namespace tls {
|
|
|
17345
18336
|
/**
|
|
17346
18337
|
* Field description information required for configuring key-value indexes.
|
|
17347
18338
|
*/
|
|
17348
|
-
value: outputs.tls.
|
|
18339
|
+
value: outputs.tls.GetIndexUserInnerKeyValueValue;
|
|
17349
18340
|
}
|
|
17350
|
-
interface
|
|
18341
|
+
interface GetIndexUserInnerKeyValueValue {
|
|
17351
18342
|
/**
|
|
17352
18343
|
* Indicates whether the index was added automatically. true: The index was added automatically. false: The index was not added automatically.
|
|
17353
18344
|
*/
|
|
@@ -17375,7 +18366,7 @@ export declare namespace tls {
|
|
|
17375
18366
|
/**
|
|
17376
18367
|
* When ValueType is json, you can configure key-value indexes for JSON subfields using the JsonKeys field, which is an array of KeyValueInfo. Each element in the JsonKeys list is a KeyValueInfo, and you can further nest text, long, and double type subfields. For subfields in JSON key-value indexes, use . to indicate the hierarchy between JSON fields. For example, the JSON field namelist contains a text-type subfield totalcount and a JSON-type info, which itself contains the field name. Each field name should be configured as totalcount and info.name, respectively. The SqlFlag setting for subfield key-value indexes defined in JsonKeys must match their parent field, meaning they must be enabled or disabled together. The default is disabled. Subfields do not support separate settings for Delimiter, CaseSensitive, or IncludeChinese. For text-type fields, CaseSensitive, Delimiter, and IncludeChinese always inherit the parent field settings. This is only set when ValueType is json.
|
|
17377
18368
|
*/
|
|
17378
|
-
jsonKeys: outputs.tls.
|
|
18369
|
+
jsonKeys: outputs.tls.GetIndexUserInnerKeyValueValueJsonKey[];
|
|
17379
18370
|
/**
|
|
17380
18371
|
* 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
18372
|
*/
|
|
@@ -17385,7 +18376,7 @@ export declare namespace tls {
|
|
|
17385
18376
|
*/
|
|
17386
18377
|
valueType: string;
|
|
17387
18378
|
}
|
|
17388
|
-
interface
|
|
18379
|
+
interface GetIndexUserInnerKeyValueValueJsonKey {
|
|
17389
18380
|
/**
|
|
17390
18381
|
* 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
18382
|
*/
|
|
@@ -17393,9 +18384,9 @@ export declare namespace tls {
|
|
|
17393
18384
|
/**
|
|
17394
18385
|
* Field description information required for configuring key-value indexes.
|
|
17395
18386
|
*/
|
|
17396
|
-
value: outputs.tls.
|
|
18387
|
+
value: outputs.tls.GetIndexUserInnerKeyValueValueJsonKeyValue;
|
|
17397
18388
|
}
|
|
17398
|
-
interface
|
|
18389
|
+
interface GetIndexUserInnerKeyValueValueJsonKeyValue {
|
|
17399
18390
|
/**
|
|
17400
18391
|
* Indicates whether the index was added automatically. true: The index was added automatically. false: The index was not added automatically.
|
|
17401
18392
|
*/
|
|
@@ -17405,159 +18396,286 @@ export declare namespace tls {
|
|
|
17405
18396
|
*/
|
|
17406
18397
|
caseSensitive: boolean;
|
|
17407
18398
|
/**
|
|
17408
|
-
* 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.
|
|
18399
|
+
* 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.
|
|
18400
|
+
*/
|
|
18401
|
+
delimiter: string;
|
|
18402
|
+
/**
|
|
18403
|
+
* 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.
|
|
18404
|
+
*/
|
|
18405
|
+
includeChinese: boolean;
|
|
18406
|
+
/**
|
|
18407
|
+
* Create indexes for all fields with text values in the JSON field.
|
|
18408
|
+
*/
|
|
18409
|
+
indexAll: boolean;
|
|
18410
|
+
/**
|
|
18411
|
+
* Enable automatic indexing and statistics for JSON fields. true: Enable automatic indexing and statistics. false: Disable automatic indexing and statistics.
|
|
18412
|
+
*/
|
|
18413
|
+
indexSqlAll: boolean;
|
|
18414
|
+
/**
|
|
18415
|
+
* 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.
|
|
18416
|
+
*/
|
|
18417
|
+
sqlFlag: boolean;
|
|
18418
|
+
/**
|
|
18419
|
+
* 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.
|
|
18420
|
+
*/
|
|
18421
|
+
valueType: string;
|
|
18422
|
+
}
|
|
18423
|
+
interface GetProjectTag {
|
|
18424
|
+
/**
|
|
18425
|
+
* Tag key
|
|
18426
|
+
*/
|
|
18427
|
+
key: string;
|
|
18428
|
+
/**
|
|
18429
|
+
* Tag value
|
|
18430
|
+
*/
|
|
18431
|
+
value: string;
|
|
18432
|
+
}
|
|
18433
|
+
interface GetScheduleSqlTaskRequestCycle {
|
|
18434
|
+
/**
|
|
18435
|
+
* Cron expression, with a minimum granularity of minutes, using 24-hour format. For example, 0 18 * * * means execution at 18:00 every day.
|
|
18436
|
+
*/
|
|
18437
|
+
cronTab: string;
|
|
18438
|
+
/**
|
|
18439
|
+
* If Type is set to Cron, you must also set the time zone.
|
|
18440
|
+
*/
|
|
18441
|
+
cronTimeZone: string;
|
|
18442
|
+
/**
|
|
18443
|
+
* Scheduling period or the time point for periodic execution (minutes from 00:00). Range: 1–1440 minutes.
|
|
18444
|
+
*/
|
|
18445
|
+
time: number;
|
|
18446
|
+
/**
|
|
18447
|
+
* Scheduling period type. Options: Period, Fixed, Cron.
|
|
18448
|
+
*/
|
|
18449
|
+
type: string;
|
|
18450
|
+
}
|
|
18451
|
+
interface GetTopicTag {
|
|
18452
|
+
/**
|
|
18453
|
+
* User tag key.
|
|
18454
|
+
*/
|
|
18455
|
+
key: string;
|
|
18456
|
+
/**
|
|
18457
|
+
* User tag value.
|
|
18458
|
+
*/
|
|
18459
|
+
value: string;
|
|
18460
|
+
}
|
|
18461
|
+
interface ImportTaskImportSourceInfo {
|
|
18462
|
+
/**
|
|
18463
|
+
* Kafka data source information. When sourceType is kafka, the KafkaSourceInfo field is required
|
|
18464
|
+
*/
|
|
18465
|
+
kafkaSourceInfo: outputs.tls.ImportTaskImportSourceInfoKafkaSourceInfo;
|
|
18466
|
+
/**
|
|
18467
|
+
* TOS data source information. When sourceType is tos, the TosSourceInfo field is required.
|
|
18468
|
+
*/
|
|
18469
|
+
tosSourceInfo: outputs.tls.ImportTaskImportSourceInfoTosSourceInfo;
|
|
18470
|
+
}
|
|
18471
|
+
interface ImportTaskImportSourceInfoKafkaSourceInfo {
|
|
18472
|
+
/**
|
|
18473
|
+
* Data encoding format. Available options: UTF-8, GBK.
|
|
18474
|
+
*/
|
|
18475
|
+
encode: string;
|
|
18476
|
+
/**
|
|
18477
|
+
* Kafka consumer group. If not specified, the system will automatically create a Kafka consumer group.
|
|
18478
|
+
*/
|
|
18479
|
+
group: string;
|
|
18480
|
+
/**
|
|
18481
|
+
* 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 (,).
|
|
18482
|
+
*/
|
|
18483
|
+
host: string;
|
|
18484
|
+
/**
|
|
18485
|
+
* 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.
|
|
18486
|
+
*/
|
|
18487
|
+
initialOffset: number;
|
|
18488
|
+
/**
|
|
18489
|
+
* If you are using Message Queue Kafka Edition, set this to the Kafka instance ID.
|
|
18490
|
+
*/
|
|
18491
|
+
instanceId: string;
|
|
18492
|
+
/**
|
|
18493
|
+
* Whether to enable authentication. If you use a public service address, it is recommended to enable authentication.
|
|
18494
|
+
*/
|
|
18495
|
+
isNeedAuth: boolean;
|
|
18496
|
+
/**
|
|
18497
|
+
* Password authentication mechanism. Available options: PLAIN, SCRAM-SHA-256, and SCRAM-SHA-512.
|
|
18498
|
+
*/
|
|
18499
|
+
mechanism: string;
|
|
18500
|
+
/**
|
|
18501
|
+
* Kafka SASL user password for authentication.
|
|
18502
|
+
*/
|
|
18503
|
+
password: string;
|
|
18504
|
+
/**
|
|
18505
|
+
* Secure transmission protocol. Options include plaintext, sasl*ssl, ssl, and sasl*plaintext
|
|
18506
|
+
*/
|
|
18507
|
+
protocol: string;
|
|
18508
|
+
/**
|
|
18509
|
+
* Specify log time. Options: 0: Use Kafka message timestamp. 1: Use current system time.
|
|
18510
|
+
*/
|
|
18511
|
+
timeSourceDefault: number;
|
|
18512
|
+
/**
|
|
18513
|
+
* Kafka Topic name. Separate multiple Kafka Topics with commas (,).
|
|
18514
|
+
*/
|
|
18515
|
+
topic: string;
|
|
18516
|
+
/**
|
|
18517
|
+
* Kafka SASL username for authentication.
|
|
18518
|
+
*/
|
|
18519
|
+
username: string;
|
|
18520
|
+
}
|
|
18521
|
+
interface ImportTaskImportSourceInfoTosSourceInfo {
|
|
18522
|
+
/**
|
|
18523
|
+
* TOS bucket name
|
|
17409
18524
|
*/
|
|
17410
|
-
|
|
18525
|
+
bucket: string;
|
|
17411
18526
|
/**
|
|
17412
|
-
*
|
|
18527
|
+
* Compression mode for data in the TOS bucket. none: No compression. snappy: Compress using snappy. gzip: Compress using gzip. lz4: Compress using lz4.
|
|
17413
18528
|
*/
|
|
17414
|
-
|
|
18529
|
+
compressType: string;
|
|
17415
18530
|
/**
|
|
17416
|
-
*
|
|
18531
|
+
* Path of the file to be imported in the TOS bucket.
|
|
17417
18532
|
*/
|
|
17418
|
-
|
|
18533
|
+
prefix: string;
|
|
17419
18534
|
/**
|
|
17420
|
-
*
|
|
18535
|
+
* Region where the TOS bucket is located. Cross-region data import is supported
|
|
17421
18536
|
*/
|
|
17422
|
-
|
|
18537
|
+
region: string;
|
|
18538
|
+
}
|
|
18539
|
+
interface ImportTaskTargetInfo {
|
|
17423
18540
|
/**
|
|
17424
|
-
*
|
|
18541
|
+
* Log extraction rule.
|
|
17425
18542
|
*/
|
|
17426
|
-
|
|
18543
|
+
extractRule: outputs.tls.ImportTaskTargetInfoExtractRule;
|
|
17427
18544
|
/**
|
|
17428
|
-
*
|
|
18545
|
+
* 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.
|
|
17429
18546
|
*/
|
|
17430
|
-
|
|
17431
|
-
}
|
|
17432
|
-
interface GetIndexUserInnerKeyValue {
|
|
18547
|
+
logSample: string;
|
|
17433
18548
|
/**
|
|
17434
|
-
* Specify
|
|
18549
|
+
* 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.
|
|
17435
18550
|
*/
|
|
17436
|
-
|
|
18551
|
+
logType: string;
|
|
17437
18552
|
/**
|
|
17438
|
-
*
|
|
18553
|
+
* Region.
|
|
17439
18554
|
*/
|
|
17440
|
-
|
|
18555
|
+
region: string;
|
|
17441
18556
|
}
|
|
17442
|
-
interface
|
|
18557
|
+
interface ImportTaskTargetInfoExtractRule {
|
|
17443
18558
|
/**
|
|
17444
|
-
*
|
|
18559
|
+
* Basic content of log extraction rules.
|
|
17445
18560
|
*/
|
|
17446
|
-
|
|
18561
|
+
extractRule: outputs.tls.ImportTaskTargetInfoExtractRuleExtractRule;
|
|
17447
18562
|
/**
|
|
17448
|
-
*
|
|
18563
|
+
* Number of skipped rows. Only valid when the log type is delimiterLog and the import type is tos.
|
|
17449
18564
|
*/
|
|
17450
|
-
|
|
18565
|
+
skipLineCount: number;
|
|
17451
18566
|
/**
|
|
17452
|
-
*
|
|
18567
|
+
* Time extraction regular expression, used to extract the time value from the TimeKey field and parse it as the collection time
|
|
17453
18568
|
*/
|
|
17454
|
-
|
|
18569
|
+
timeExtractRegex: string;
|
|
17455
18570
|
/**
|
|
17456
|
-
*
|
|
18571
|
+
* 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.
|
|
17457
18572
|
*/
|
|
17458
|
-
|
|
18573
|
+
timeZone: string;
|
|
18574
|
+
}
|
|
18575
|
+
interface ImportTaskTargetInfoExtractRuleExtractRule {
|
|
17459
18576
|
/**
|
|
17460
|
-
*
|
|
18577
|
+
* 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
|
|
17461
18578
|
*/
|
|
17462
|
-
|
|
18579
|
+
beginRegex: string;
|
|
17463
18580
|
/**
|
|
17464
|
-
*
|
|
18581
|
+
* Delimiter. Only valid when LogType is delimiter_log.
|
|
17465
18582
|
*/
|
|
17466
|
-
|
|
18583
|
+
delimiter: string;
|
|
17467
18584
|
/**
|
|
17468
|
-
*
|
|
18585
|
+
* Enable nanoseconds.
|
|
17469
18586
|
*/
|
|
17470
|
-
|
|
18587
|
+
enableNanosecond: boolean;
|
|
18588
|
+
filterKeyRegexes: outputs.tls.ImportTaskTargetInfoExtractRuleExtractRuleFilterKeyRegex[];
|
|
17471
18589
|
/**
|
|
17472
|
-
*
|
|
18590
|
+
* 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
|
|
17473
18591
|
*/
|
|
17474
|
-
|
|
18592
|
+
keys: string[];
|
|
17475
18593
|
/**
|
|
17476
|
-
*
|
|
18594
|
+
* Log regular expression
|
|
17477
18595
|
*/
|
|
17478
|
-
|
|
17479
|
-
}
|
|
17480
|
-
interface GetIndexUserInnerKeyValueValueJsonKey {
|
|
18596
|
+
logRegex: string;
|
|
17481
18597
|
/**
|
|
17482
|
-
*
|
|
18598
|
+
* Log template.
|
|
17483
18599
|
*/
|
|
17484
|
-
|
|
18600
|
+
logTemplate: outputs.tls.ImportTaskTargetInfoExtractRuleExtractRuleLogTemplate;
|
|
17485
18601
|
/**
|
|
17486
|
-
*
|
|
18602
|
+
* 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.
|
|
17487
18603
|
*/
|
|
17488
|
-
|
|
17489
|
-
}
|
|
17490
|
-
interface GetIndexUserInnerKeyValueValueJsonKeyValue {
|
|
18604
|
+
quote: string;
|
|
17491
18605
|
/**
|
|
17492
|
-
*
|
|
18606
|
+
* 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.
|
|
17493
18607
|
*/
|
|
17494
|
-
|
|
18608
|
+
timeFormat: string;
|
|
17495
18609
|
/**
|
|
17496
|
-
*
|
|
18610
|
+
* 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
|
|
17497
18611
|
*/
|
|
17498
|
-
|
|
18612
|
+
timeKey: string;
|
|
17499
18613
|
/**
|
|
17500
|
-
*
|
|
18614
|
+
* Time sample. Used to verify whether the entered time parsing format is correct
|
|
17501
18615
|
*/
|
|
17502
|
-
|
|
18616
|
+
timeSample: string;
|
|
17503
18617
|
/**
|
|
17504
|
-
* When
|
|
18618
|
+
* When uploading logs that failed to parse, specify the key name for the failed logs. UnMatchUpLoadSwitch=true and UnMatchLogKey must be used together.
|
|
17505
18619
|
*/
|
|
17506
|
-
|
|
18620
|
+
unMatchLogKey: string;
|
|
17507
18621
|
/**
|
|
17508
|
-
*
|
|
18622
|
+
* 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.
|
|
17509
18623
|
*/
|
|
17510
|
-
|
|
18624
|
+
unMatchUpLoadSwitch: boolean;
|
|
18625
|
+
}
|
|
18626
|
+
interface ImportTaskTargetInfoExtractRuleExtractRuleFilterKeyRegex {
|
|
17511
18627
|
/**
|
|
17512
|
-
*
|
|
18628
|
+
* Key.
|
|
17513
18629
|
*/
|
|
17514
|
-
|
|
18630
|
+
key: string;
|
|
17515
18631
|
/**
|
|
17516
|
-
*
|
|
18632
|
+
* Regular expression.
|
|
17517
18633
|
*/
|
|
17518
|
-
|
|
18634
|
+
regex: string;
|
|
18635
|
+
}
|
|
18636
|
+
interface ImportTaskTargetInfoExtractRuleExtractRuleLogTemplate {
|
|
17519
18637
|
/**
|
|
17520
|
-
*
|
|
18638
|
+
* Format.
|
|
17521
18639
|
*/
|
|
17522
|
-
|
|
18640
|
+
format: string;
|
|
18641
|
+
/**
|
|
18642
|
+
* Type
|
|
18643
|
+
*/
|
|
18644
|
+
type: string;
|
|
17523
18645
|
}
|
|
17524
|
-
interface
|
|
18646
|
+
interface ImportTaskTaskStatistics {
|
|
17525
18647
|
/**
|
|
17526
|
-
*
|
|
18648
|
+
* Total resource bytes enumerated
|
|
17527
18649
|
*/
|
|
17528
|
-
|
|
18650
|
+
bytesTotal: number;
|
|
17529
18651
|
/**
|
|
17530
|
-
*
|
|
18652
|
+
* Bytes transferred.
|
|
17531
18653
|
*/
|
|
17532
|
-
|
|
17533
|
-
}
|
|
17534
|
-
interface GetScheduleSqlTaskRequestCycle {
|
|
18654
|
+
bytesTransferred: number;
|
|
17535
18655
|
/**
|
|
17536
|
-
*
|
|
18656
|
+
* Number of resources failed to import.
|
|
17537
18657
|
*/
|
|
17538
|
-
|
|
18658
|
+
failed: number;
|
|
17539
18659
|
/**
|
|
17540
|
-
*
|
|
18660
|
+
* Number of resources not found.
|
|
17541
18661
|
*/
|
|
17542
|
-
|
|
18662
|
+
notExist: number;
|
|
17543
18663
|
/**
|
|
17544
|
-
*
|
|
18664
|
+
* Number of resources skipped during import
|
|
17545
18665
|
*/
|
|
17546
|
-
|
|
18666
|
+
skipped: number;
|
|
17547
18667
|
/**
|
|
17548
|
-
*
|
|
18668
|
+
* Task status. Status of the import task. Preparing: Preparing for import. Importing: Importing data. Success: Import completed successfully. Failed: Import failed. Stopped: Import paused.
|
|
17549
18669
|
*/
|
|
17550
|
-
|
|
17551
|
-
}
|
|
17552
|
-
interface GetTopicTag {
|
|
18670
|
+
taskStatus: string;
|
|
17553
18671
|
/**
|
|
17554
|
-
*
|
|
18672
|
+
* Total number of resources enumerated.
|
|
17555
18673
|
*/
|
|
17556
|
-
|
|
18674
|
+
total: number;
|
|
17557
18675
|
/**
|
|
17558
|
-
*
|
|
18676
|
+
* Number of records transferred.
|
|
17559
18677
|
*/
|
|
17560
|
-
|
|
18678
|
+
transferred: number;
|
|
17561
18679
|
}
|
|
17562
18680
|
interface IndexFullText {
|
|
17563
18681
|
/**
|
|
@@ -17633,6 +18751,18 @@ export declare namespace tls {
|
|
|
17633
18751
|
* Indicates whether the index was added automatically. true: The index was added automatically. false: The index was not added automatically.
|
|
17634
18752
|
*/
|
|
17635
18753
|
autoIndexFlag: boolean;
|
|
18754
|
+
/**
|
|
18755
|
+
* Whether to distinguish case. Default is false.
|
|
18756
|
+
*/
|
|
18757
|
+
caseSensitive: boolean;
|
|
18758
|
+
/**
|
|
18759
|
+
* Token separators for the field. Default is empty (""). Each character in the string represents a token separator. Length: 0–256 bytes. If the length is 0, segmentation is disabled. Only one or more of the following characters are supported: letters, numbers, and !@#%^&*()-_=\\"', <>/?|;:\ \r[]{}. . Supports configuring both Chinese characters and token separators simultaneously.
|
|
18760
|
+
*/
|
|
18761
|
+
delimiter: string;
|
|
18762
|
+
/**
|
|
18763
|
+
* When searching, determines whether to segment Chinese log content according to Chinese syntax. Enabled: Chinese characters in logs are segmented based on common Chinese syntax; custom segmentation for Chinese content is not supported. Non-Chinese characters in logs are segmented using the token separators specified in the parameter. Disabled: Logs are segmented using the token separators specified in the parameter.
|
|
18764
|
+
*/
|
|
18765
|
+
includeChinese: boolean;
|
|
17636
18766
|
/**
|
|
17637
18767
|
* Create indexes for all fields with text values in the JSON field.
|
|
17638
18768
|
*/
|
|
@@ -17710,6 +18840,18 @@ export declare namespace tls {
|
|
|
17710
18840
|
* Indicates whether the index was added automatically. true: The index was added automatically. false: The index was not added automatically.
|
|
17711
18841
|
*/
|
|
17712
18842
|
autoIndexFlag: boolean;
|
|
18843
|
+
/**
|
|
18844
|
+
* Whether to distinguish case. Default is false.
|
|
18845
|
+
*/
|
|
18846
|
+
caseSensitive: boolean;
|
|
18847
|
+
/**
|
|
18848
|
+
* 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.
|
|
18849
|
+
*/
|
|
18850
|
+
delimiter: string;
|
|
18851
|
+
/**
|
|
18852
|
+
* 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.
|
|
18853
|
+
*/
|
|
18854
|
+
includeChinese: boolean;
|
|
17713
18855
|
/**
|
|
17714
18856
|
* Create indexes for all fields with text values in the JSON field.
|
|
17715
18857
|
*/
|
|
@@ -18051,6 +19193,14 @@ export declare namespace vedbm {
|
|
|
18051
19193
|
* Instance ID.
|
|
18052
19194
|
*/
|
|
18053
19195
|
instanceId: string;
|
|
19196
|
+
/**
|
|
19197
|
+
* Instance name.
|
|
19198
|
+
*/
|
|
19199
|
+
instanceName: string;
|
|
19200
|
+
/**
|
|
19201
|
+
* Instance VPC ID.
|
|
19202
|
+
*/
|
|
19203
|
+
vpc: string;
|
|
18054
19204
|
}
|
|
18055
19205
|
interface DatabaseDatabasesPrivilege {
|
|
18056
19206
|
/**
|
|
@@ -18066,6 +19216,58 @@ export declare namespace vedbm {
|
|
|
18066
19216
|
*/
|
|
18067
19217
|
accountPrivilegeDetails: string[];
|
|
18068
19218
|
}
|
|
19219
|
+
interface EndpointPrivateAddresses {
|
|
19220
|
+
/**
|
|
19221
|
+
* Resolution method, fixed as false
|
|
19222
|
+
*/
|
|
19223
|
+
dnsVisibility: boolean;
|
|
19224
|
+
/**
|
|
19225
|
+
* Instance intranet access domain name
|
|
19226
|
+
*/
|
|
19227
|
+
domain: string;
|
|
19228
|
+
/**
|
|
19229
|
+
* Public network ID
|
|
19230
|
+
*/
|
|
19231
|
+
eipId: string;
|
|
19232
|
+
/**
|
|
19233
|
+
* IP address
|
|
19234
|
+
*/
|
|
19235
|
+
ipAddress: string;
|
|
19236
|
+
/**
|
|
19237
|
+
* Network type
|
|
19238
|
+
*/
|
|
19239
|
+
networkType: string;
|
|
19240
|
+
/**
|
|
19241
|
+
* Subnet ID
|
|
19242
|
+
*/
|
|
19243
|
+
subnetId: string;
|
|
19244
|
+
}
|
|
19245
|
+
interface EndpointPublicAddresses {
|
|
19246
|
+
/**
|
|
19247
|
+
* Resolution method, fixed as false
|
|
19248
|
+
*/
|
|
19249
|
+
dnsVisibility: boolean;
|
|
19250
|
+
/**
|
|
19251
|
+
* Instance intranet access domain name
|
|
19252
|
+
*/
|
|
19253
|
+
domain: string;
|
|
19254
|
+
/**
|
|
19255
|
+
* Public network ID
|
|
19256
|
+
*/
|
|
19257
|
+
eipId: string;
|
|
19258
|
+
/**
|
|
19259
|
+
* IP address
|
|
19260
|
+
*/
|
|
19261
|
+
ipAddress: string;
|
|
19262
|
+
/**
|
|
19263
|
+
* Network type
|
|
19264
|
+
*/
|
|
19265
|
+
networkType: string;
|
|
19266
|
+
/**
|
|
19267
|
+
* Subnet ID
|
|
19268
|
+
*/
|
|
19269
|
+
subnetId: string;
|
|
19270
|
+
}
|
|
18069
19271
|
interface GetAllowListAssociatedInstance {
|
|
18070
19272
|
/**
|
|
18071
19273
|
* Instance ID.
|
|
@@ -18094,6 +19296,58 @@ export declare namespace vedbm {
|
|
|
18094
19296
|
*/
|
|
18095
19297
|
accountPrivilegeDetails: string[];
|
|
18096
19298
|
}
|
|
19299
|
+
interface GetEndpointPrivateAddresses {
|
|
19300
|
+
/**
|
|
19301
|
+
* Resolution method, fixed as false
|
|
19302
|
+
*/
|
|
19303
|
+
dnsVisibility: boolean;
|
|
19304
|
+
/**
|
|
19305
|
+
* Instance intranet access domain name
|
|
19306
|
+
*/
|
|
19307
|
+
domain: string;
|
|
19308
|
+
/**
|
|
19309
|
+
* Public network ID
|
|
19310
|
+
*/
|
|
19311
|
+
eipId: string;
|
|
19312
|
+
/**
|
|
19313
|
+
* IP address
|
|
19314
|
+
*/
|
|
19315
|
+
ipAddress: string;
|
|
19316
|
+
/**
|
|
19317
|
+
* Network type
|
|
19318
|
+
*/
|
|
19319
|
+
networkType: string;
|
|
19320
|
+
/**
|
|
19321
|
+
* Subnet ID
|
|
19322
|
+
*/
|
|
19323
|
+
subnetId: string;
|
|
19324
|
+
}
|
|
19325
|
+
interface GetEndpointPublicAddresses {
|
|
19326
|
+
/**
|
|
19327
|
+
* Resolution method, fixed as false
|
|
19328
|
+
*/
|
|
19329
|
+
dnsVisibility: boolean;
|
|
19330
|
+
/**
|
|
19331
|
+
* Instance intranet access domain name
|
|
19332
|
+
*/
|
|
19333
|
+
domain: string;
|
|
19334
|
+
/**
|
|
19335
|
+
* Public network ID
|
|
19336
|
+
*/
|
|
19337
|
+
eipId: string;
|
|
19338
|
+
/**
|
|
19339
|
+
* IP address
|
|
19340
|
+
*/
|
|
19341
|
+
ipAddress: string;
|
|
19342
|
+
/**
|
|
19343
|
+
* Network type
|
|
19344
|
+
*/
|
|
19345
|
+
networkType: string;
|
|
19346
|
+
/**
|
|
19347
|
+
* Subnet ID
|
|
19348
|
+
*/
|
|
19349
|
+
subnetId: string;
|
|
19350
|
+
}
|
|
18097
19351
|
interface GetInstanceChargeDetail {
|
|
18098
19352
|
/**
|
|
18099
19353
|
* Whether to enable auto-renewal in prepaid scenarios. Values: true: auto-renewal. false: no auto-renewal.
|
|
@@ -18416,10 +19670,30 @@ export declare namespace vedbm {
|
|
|
18416
19670
|
* Node failover priority. Range: 0~15. Higher values indicate higher priority
|
|
18417
19671
|
*/
|
|
18418
19672
|
failoverPriority: number;
|
|
19673
|
+
/**
|
|
19674
|
+
* Memory size, in GiB.
|
|
19675
|
+
*/
|
|
19676
|
+
memory: number;
|
|
19677
|
+
/**
|
|
19678
|
+
* Node ID
|
|
19679
|
+
*/
|
|
19680
|
+
nodeId: string;
|
|
19681
|
+
/**
|
|
19682
|
+
* Node specification.
|
|
19683
|
+
*/
|
|
19684
|
+
nodeSpec: string;
|
|
18419
19685
|
/**
|
|
18420
19686
|
* Node type. Values: Primary: primary node. ReadOnly: read-only node.
|
|
18421
19687
|
*/
|
|
18422
19688
|
nodeType: string;
|
|
19689
|
+
/**
|
|
19690
|
+
* CPU size. For example, a value of 1 indicates a CPU size of 1U.
|
|
19691
|
+
*/
|
|
19692
|
+
vCpu: number;
|
|
19693
|
+
/**
|
|
19694
|
+
* Availability zone ID
|
|
19695
|
+
*/
|
|
19696
|
+
zoneId: string;
|
|
18423
19697
|
}
|
|
18424
19698
|
interface InstanceTag {
|
|
18425
19699
|
/**
|
|
@@ -23682,6 +24956,10 @@ export declare namespace vpn {
|
|
|
23682
24956
|
value: string;
|
|
23683
24957
|
}
|
|
23684
24958
|
interface VpnConnectionTunnelOption {
|
|
24959
|
+
/**
|
|
24960
|
+
* 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.
|
|
24961
|
+
*/
|
|
24962
|
+
connectStatus: string;
|
|
23685
24963
|
/**
|
|
23686
24964
|
* ID of the customer gateway associated with the IPsec connection.
|
|
23687
24965
|
*/
|
|
@@ -23772,10 +25050,30 @@ export declare namespace vpn {
|
|
|
23772
25050
|
lifetime: number;
|
|
23773
25051
|
}
|
|
23774
25052
|
interface VpnConnectionTunnelOptionTunnelBgpInfo {
|
|
25053
|
+
/**
|
|
25054
|
+
* Enable dynamic route propagation. false (default): No, use static routing mode. true: Yes, use BGP routing mode.
|
|
25055
|
+
*/
|
|
25056
|
+
enableBgp: boolean;
|
|
25057
|
+
/**
|
|
25058
|
+
* The ASN of the VPN gateway.
|
|
25059
|
+
*/
|
|
25060
|
+
localAsn: number;
|
|
23775
25061
|
/**
|
|
23776
25062
|
* 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
25063
|
*/
|
|
23778
25064
|
localBgpIp: string;
|
|
25065
|
+
/**
|
|
25066
|
+
* ASN of the customer gateway.
|
|
25067
|
+
*/
|
|
25068
|
+
peerAsn: number;
|
|
25069
|
+
/**
|
|
25070
|
+
* BGP peer IP, that is, the BGP address on the customer gateway side.
|
|
25071
|
+
*/
|
|
25072
|
+
peerBgpIp: string;
|
|
25073
|
+
/**
|
|
25074
|
+
* Status of the BGP connection. Up: BGP connection is normal. Down: BGP connection is not working.
|
|
25075
|
+
*/
|
|
25076
|
+
sessionStatus: string;
|
|
23779
25077
|
/**
|
|
23780
25078
|
* 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
25079
|
*/
|