@byteplus/pulumi-bytepluscc 0.0.7 → 0.0.8
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/bmq/getGroup.d.ts +77 -0
- package/bmq/getGroup.js +28 -0
- package/bmq/getGroup.js.map +1 -0
- package/bmq/getGroups.d.ts +22 -0
- package/bmq/getGroups.js +24 -0
- package/bmq/getGroups.js.map +1 -0
- package/bmq/group.d.ts +137 -0
- package/bmq/group.js +76 -0
- package/bmq/group.js.map +1 -0
- package/bmq/index.d.ts +9 -0
- package/bmq/index.js +12 -1
- package/bmq/index.js.map +1 -1
- package/clb/getNlbListener.d.ts +109 -0
- package/clb/getNlbListener.js +28 -0
- package/clb/getNlbListener.js.map +1 -0
- package/clb/getNlbListeners.d.ts +22 -0
- package/clb/getNlbListeners.js +24 -0
- package/clb/getNlbListeners.js.map +1 -0
- package/clb/getNlbServerGroup.d.ts +145 -0
- package/clb/getNlbServerGroup.js +28 -0
- package/clb/getNlbServerGroup.js.map +1 -0
- package/clb/getNlbServerGroups.d.ts +22 -0
- package/clb/getNlbServerGroups.js +24 -0
- package/clb/getNlbServerGroups.js.map +1 -0
- package/clb/getServerGroup.d.ts +85 -0
- package/clb/getServerGroup.js +28 -0
- package/clb/getServerGroup.js.map +1 -0
- package/clb/getServerGroups.d.ts +22 -0
- package/clb/getServerGroups.js +24 -0
- package/clb/getServerGroups.js.map +1 -0
- package/clb/index.d.ts +27 -0
- package/clb/index.js +34 -1
- package/clb/index.js.map +1 -1
- package/clb/nlbListener.d.ts +251 -0
- package/clb/nlbListener.js +126 -0
- package/clb/nlbListener.js.map +1 -0
- package/clb/nlbServerGroup.d.ts +325 -0
- package/clb/nlbServerGroup.js +116 -0
- package/clb/nlbServerGroup.js.map +1 -0
- package/clb/serverGroup.d.ts +151 -0
- package/clb/serverGroup.js +83 -0
- package/clb/serverGroup.js.map +1 -0
- package/cloudmonitor/getRule.d.ts +169 -0
- package/cloudmonitor/getRule.js +28 -0
- package/cloudmonitor/getRule.js.map +1 -0
- package/cloudmonitor/getRules.d.ts +22 -0
- package/cloudmonitor/getRules.js +24 -0
- package/cloudmonitor/getRules.js.map +1 -0
- package/cloudmonitor/index.d.ts +9 -0
- package/cloudmonitor/index.js +28 -0
- package/cloudmonitor/index.js.map +1 -0
- package/cloudmonitor/rule.d.ts +387 -0
- package/cloudmonitor/rule.js +152 -0
- package/cloudmonitor/rule.js.map +1 -0
- package/directconnect/directConnectGateway.d.ts +202 -0
- package/directconnect/directConnectGateway.js +106 -0
- package/directconnect/directConnectGateway.js.map +1 -0
- package/directconnect/getDirectConnectGateway.d.ts +101 -0
- package/directconnect/getDirectConnectGateway.js +28 -0
- package/directconnect/getDirectConnectGateway.js.map +1 -0
- package/directconnect/getDirectConnectGateways.d.ts +22 -0
- package/directconnect/getDirectConnectGateways.js +24 -0
- package/directconnect/getDirectConnectGateways.js.map +1 -0
- package/directconnect/index.d.ts +9 -0
- package/directconnect/index.js +28 -0
- package/directconnect/index.js.map +1 -0
- package/filenas/getInstance.d.ts +109 -0
- package/filenas/getInstance.js +28 -0
- package/filenas/getInstance.js.map +1 -0
- package/filenas/getInstances.d.ts +22 -0
- package/filenas/getInstances.js +24 -0
- package/filenas/getInstances.js.map +1 -0
- package/filenas/index.d.ts +9 -0
- package/filenas/index.js +28 -0
- package/filenas/index.js.map +1 -0
- package/filenas/instance.d.ts +248 -0
- package/filenas/instance.js +125 -0
- package/filenas/instance.js.map +1 -0
- package/{firewallcenter → fwcenter}/dnsControlPolicy.d.ts +6 -6
- package/{firewallcenter → fwcenter}/dnsControlPolicy.js +2 -2
- package/fwcenter/dnsControlPolicy.js.map +1 -0
- package/{firewallcenter → fwcenter}/getDnsControlPolicies.d.ts +2 -2
- package/{firewallcenter → fwcenter}/getDnsControlPolicies.js +4 -4
- package/fwcenter/getDnsControlPolicies.js.map +1 -0
- package/{firewallcenter → fwcenter}/getDnsControlPolicy.d.ts +4 -4
- package/{firewallcenter → fwcenter}/getDnsControlPolicy.js +4 -4
- package/fwcenter/getDnsControlPolicy.js.map +1 -0
- package/{firewallcenter → fwcenter}/index.js +2 -2
- package/fwcenter/index.js.map +1 -0
- package/index.d.ts +5 -2
- package/index.js +9 -3
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/types/input.d.ts +607 -1
- package/types/output.d.ts +1272 -14
- package/vpc/eip.d.ts +382 -0
- package/vpc/eip.js +125 -0
- package/vpc/eip.js.map +1 -0
- package/vpc/getEip.d.ts +169 -0
- package/vpc/getEip.js +28 -0
- package/vpc/getEip.js.map +1 -0
- package/vpc/getEips.d.ts +22 -0
- package/vpc/getEips.js +24 -0
- package/vpc/getEips.js.map +1 -0
- package/vpc/getRouteTable.d.ts +105 -0
- package/vpc/getRouteTable.js +28 -0
- package/vpc/getRouteTable.js.map +1 -0
- package/vpc/getRouteTables.d.ts +22 -0
- package/vpc/getRouteTables.js +24 -0
- package/vpc/getRouteTables.js.map +1 -0
- package/vpc/index.d.ts +18 -0
- package/vpc/index.js +23 -1
- package/vpc/index.js.map +1 -1
- package/vpc/routeTable.d.ts +199 -0
- package/vpc/routeTable.js +93 -0
- package/vpc/routeTable.js.map +1 -0
- package/firewallcenter/dnsControlPolicy.js.map +0 -1
- package/firewallcenter/getDnsControlPolicies.js.map +0 -1
- package/firewallcenter/getDnsControlPolicy.js.map +0 -1
- package/firewallcenter/index.js.map +0 -1
- /package/{firewallcenter → fwcenter}/index.d.ts +0 -0
package/types/input.d.ts
CHANGED
|
@@ -729,6 +729,89 @@ export declare namespace autoscaling {
|
|
|
729
729
|
}
|
|
730
730
|
}
|
|
731
731
|
export declare namespace bmq {
|
|
732
|
+
interface GroupResetInfo {
|
|
733
|
+
/**
|
|
734
|
+
* 重置方式为 OFFSET 时,该参数必传,指定重新消费的基准消费位置,取值如下:EARLIEST:基准消费位置为最早消费位点。CURRENT:基准消费位置为当前消费位点。LATEST:基准消费位置为最近消费位点。
|
|
735
|
+
*/
|
|
736
|
+
offsetType?: pulumi.Input<string>;
|
|
737
|
+
/**
|
|
738
|
+
* 分区序号。
|
|
739
|
+
*/
|
|
740
|
+
partitionId?: pulumi.Input<number>;
|
|
741
|
+
/**
|
|
742
|
+
* 重置方式,取值如下:TIMESTAMP:根据时间点重置消费位点,指定过去或将来的时间点,直接跳转到该时间点的位点开始消费。OFFSET:根据指定的 offset 重置消费位点,即从指定的位点开始消费,可以通过 offsetType 参数指定 offset。
|
|
743
|
+
*/
|
|
744
|
+
resetBy?: pulumi.Input<string>;
|
|
745
|
+
/**
|
|
746
|
+
* 重置值。选择重置方式为 TIMESTAMP 时,该值为重新消费的时间点。例如 1722224612000。选择重置方式为 OFFSET 时,该值为相对于 OffsetType 中基准位点的 相对偏移量。例如 100。
|
|
747
|
+
*/
|
|
748
|
+
resetValue?: pulumi.Input<number>;
|
|
749
|
+
/**
|
|
750
|
+
* Topic ID。
|
|
751
|
+
*/
|
|
752
|
+
topicId?: pulumi.Input<string>;
|
|
753
|
+
}
|
|
754
|
+
interface GroupTopicInfo {
|
|
755
|
+
/**
|
|
756
|
+
* Topic 的创建时间。
|
|
757
|
+
*/
|
|
758
|
+
createTime?: pulumi.Input<string>;
|
|
759
|
+
/**
|
|
760
|
+
* Topic 的描述语句。
|
|
761
|
+
*/
|
|
762
|
+
description?: pulumi.Input<string>;
|
|
763
|
+
/**
|
|
764
|
+
* Topic 中未被消费的消息条数。
|
|
765
|
+
*/
|
|
766
|
+
lag?: pulumi.Input<number>;
|
|
767
|
+
partitionInfos?: pulumi.Input<pulumi.Input<inputs.bmq.GroupTopicInfoPartitionInfo>[]>;
|
|
768
|
+
/**
|
|
769
|
+
* Topic 分区数。
|
|
770
|
+
*/
|
|
771
|
+
partitions?: pulumi.Input<number>;
|
|
772
|
+
/**
|
|
773
|
+
* 数据在 Topic 中的保留时长,单位为小时。
|
|
774
|
+
*/
|
|
775
|
+
retention?: pulumi.Input<number>;
|
|
776
|
+
/**
|
|
777
|
+
* Topic 的状态。
|
|
778
|
+
*/
|
|
779
|
+
status?: pulumi.Input<string>;
|
|
780
|
+
/**
|
|
781
|
+
* Topic ID。
|
|
782
|
+
*/
|
|
783
|
+
topicId?: pulumi.Input<string>;
|
|
784
|
+
/**
|
|
785
|
+
* Topic 的名称。
|
|
786
|
+
*/
|
|
787
|
+
topicName?: pulumi.Input<string>;
|
|
788
|
+
}
|
|
789
|
+
interface GroupTopicInfoPartitionInfo {
|
|
790
|
+
/**
|
|
791
|
+
* 当前消费位点。
|
|
792
|
+
*/
|
|
793
|
+
currentOffset?: pulumi.Input<number>;
|
|
794
|
+
/**
|
|
795
|
+
* Consumer Group 的名称。
|
|
796
|
+
*/
|
|
797
|
+
groupName?: pulumi.Input<string>;
|
|
798
|
+
/**
|
|
799
|
+
* 分区中未被消费的消息条数。
|
|
800
|
+
*/
|
|
801
|
+
lag?: pulumi.Input<number>;
|
|
802
|
+
/**
|
|
803
|
+
* 最新消费位点。
|
|
804
|
+
*/
|
|
805
|
+
latestOffset?: pulumi.Input<number>;
|
|
806
|
+
/**
|
|
807
|
+
* 分区序号。
|
|
808
|
+
*/
|
|
809
|
+
partitionId?: pulumi.Input<number>;
|
|
810
|
+
/**
|
|
811
|
+
* Consumer Group 订阅的 Topic 名称。
|
|
812
|
+
*/
|
|
813
|
+
topicName?: pulumi.Input<string>;
|
|
814
|
+
}
|
|
732
815
|
interface InstanceEndpoints {
|
|
733
816
|
/**
|
|
734
817
|
* 实例私网访问接入点响应数据。
|
|
@@ -1018,6 +1101,148 @@ export declare namespace clb {
|
|
|
1018
1101
|
*/
|
|
1019
1102
|
value?: pulumi.Input<string>;
|
|
1020
1103
|
}
|
|
1104
|
+
interface NlbListenerHealth {
|
|
1105
|
+
/**
|
|
1106
|
+
* 后端服务器的实例 ID或IP地址。
|
|
1107
|
+
*/
|
|
1108
|
+
instanceId?: pulumi.Input<string>;
|
|
1109
|
+
/**
|
|
1110
|
+
* 后端服务器的IP地址。
|
|
1111
|
+
*/
|
|
1112
|
+
ip?: pulumi.Input<string>;
|
|
1113
|
+
/**
|
|
1114
|
+
* 后端服务器提供服务的端口。
|
|
1115
|
+
*/
|
|
1116
|
+
port?: pulumi.Input<number>;
|
|
1117
|
+
/**
|
|
1118
|
+
* 后端服务器ID。
|
|
1119
|
+
*/
|
|
1120
|
+
serverId?: pulumi.Input<string>;
|
|
1121
|
+
/**
|
|
1122
|
+
* 后端服务器的类型。ecs:云服务器实例(即主网卡);eni:辅助网卡;ip:IP地址
|
|
1123
|
+
*/
|
|
1124
|
+
serverType?: pulumi.Input<string>;
|
|
1125
|
+
/**
|
|
1126
|
+
* 后端服务器的健康状态。Up:正常;Down:异常;Unused:未被使用(NLB实例已关闭跨可用区转发,且没有来自该后端服务器可用区的访问流量)。
|
|
1127
|
+
*/
|
|
1128
|
+
status?: pulumi.Input<string>;
|
|
1129
|
+
/**
|
|
1130
|
+
* 健康状态最后更新时间。
|
|
1131
|
+
*/
|
|
1132
|
+
updatedTime?: pulumi.Input<string>;
|
|
1133
|
+
/**
|
|
1134
|
+
* 后端服务器接收访问流量的可用区ID。
|
|
1135
|
+
*/
|
|
1136
|
+
zoneId?: pulumi.Input<string>;
|
|
1137
|
+
}
|
|
1138
|
+
interface NlbListenerTag {
|
|
1139
|
+
/**
|
|
1140
|
+
* 标签键。
|
|
1141
|
+
*/
|
|
1142
|
+
key?: pulumi.Input<string>;
|
|
1143
|
+
/**
|
|
1144
|
+
* 标签值。
|
|
1145
|
+
*/
|
|
1146
|
+
value?: pulumi.Input<string>;
|
|
1147
|
+
}
|
|
1148
|
+
interface NlbServerGroupHealthCheck {
|
|
1149
|
+
/**
|
|
1150
|
+
* 健康检查的域名。
|
|
1151
|
+
*/
|
|
1152
|
+
domain?: pulumi.Input<string>;
|
|
1153
|
+
/**
|
|
1154
|
+
* 是否开启健康检查。
|
|
1155
|
+
*/
|
|
1156
|
+
enabled?: pulumi.Input<boolean>;
|
|
1157
|
+
/**
|
|
1158
|
+
* 健康检查的健康阈值,取值范围为2 ~ 10次,默认值为3次。连续执行指定次数的健康检查,结果均为“正常”的后端服务器将被判定为健康检查“正常”。
|
|
1159
|
+
*/
|
|
1160
|
+
healthyThreshold?: pulumi.Input<number>;
|
|
1161
|
+
/**
|
|
1162
|
+
* 健康检查正常的HTTP状态码。
|
|
1163
|
+
*/
|
|
1164
|
+
httpCode?: pulumi.Input<string>;
|
|
1165
|
+
/**
|
|
1166
|
+
* 健康检查的时间间隔,取值范围为1 ~ 300秒,默认值为10秒。
|
|
1167
|
+
*/
|
|
1168
|
+
interval?: pulumi.Input<number>;
|
|
1169
|
+
/**
|
|
1170
|
+
* 健康检查的请求方法。
|
|
1171
|
+
*/
|
|
1172
|
+
method?: pulumi.Input<string>;
|
|
1173
|
+
/**
|
|
1174
|
+
* 健康检查的端口,取值范围 1~65535。服务器组未开启全端口转发时,该参数默认为0,表示使用后端服务器的端口进行健康检查。服务器组开启全端口转发时,必须指定该参数。
|
|
1175
|
+
*/
|
|
1176
|
+
port?: pulumi.Input<number>;
|
|
1177
|
+
/**
|
|
1178
|
+
* 健康检查的响应超时时间,取值范围为1 ~ 60秒,默认值为3秒。如果后端服务器在指定时间内没有正确响应,则判定为健康检查“异常”。
|
|
1179
|
+
*/
|
|
1180
|
+
timeout?: pulumi.Input<number>;
|
|
1181
|
+
/**
|
|
1182
|
+
* 健康检查的协议类型。取值如下:取值如下:TCP(默认值)、HTTP、UDP
|
|
1183
|
+
*/
|
|
1184
|
+
type?: pulumi.Input<string>;
|
|
1185
|
+
/**
|
|
1186
|
+
* UDP健康检查的请求字符串。只允许包含字母和数字,最大长度限制为64个字符。
|
|
1187
|
+
*/
|
|
1188
|
+
udpExpect?: pulumi.Input<string>;
|
|
1189
|
+
/**
|
|
1190
|
+
* UDP健康检查的预期响应字符串。
|
|
1191
|
+
*/
|
|
1192
|
+
udpRequest?: pulumi.Input<string>;
|
|
1193
|
+
/**
|
|
1194
|
+
* 健康检查的不健康阈值,取值范围为2 ~ 10次,默认值为3次。连续执行指定次数的健康检查,结果均为“异常”的后端服务器将被判定为健康检查异常。
|
|
1195
|
+
*/
|
|
1196
|
+
unhealthyThreshold?: pulumi.Input<number>;
|
|
1197
|
+
/**
|
|
1198
|
+
* 健康检查的路径。
|
|
1199
|
+
*/
|
|
1200
|
+
uri?: pulumi.Input<string>;
|
|
1201
|
+
}
|
|
1202
|
+
interface NlbServerGroupServer {
|
|
1203
|
+
/**
|
|
1204
|
+
* 后端服务器的描述,默认值为空字符串。
|
|
1205
|
+
*/
|
|
1206
|
+
description?: pulumi.Input<string>;
|
|
1207
|
+
/**
|
|
1208
|
+
* 服务器实例的ID或IP地址。服务器类型为“ecs”时,传入云服务器实例的ID。您可以调用DescribeInstances接口云服务器实例ID。服务器类型为“eni”时,传入已绑定云服务器实例的网卡ID。您可以调用DescribeNetworkInterfaces接口获取网卡ID。服务器类型为“ip”时,传入后端服务器的IP地址。
|
|
1209
|
+
*/
|
|
1210
|
+
instanceId?: pulumi.Input<string>;
|
|
1211
|
+
/**
|
|
1212
|
+
* 后端服务器的私网IP地址。您可以调用DescribeInstances接口获取“ecs”类型后端服务器的私网IP地址。您可以调用DescribeNetworkInterfaces接口获取“eni”类型后端服务器的私网IP地址。
|
|
1213
|
+
*/
|
|
1214
|
+
ip?: pulumi.Input<string>;
|
|
1215
|
+
/**
|
|
1216
|
+
* 后端服务器接收请求的端口号,取值范围为 1~65535。参数AnyPortEnabled为“false”,即服务器组未开启全端口转发时,该参数为必填。参数AnyPortEnabled为“true”,即服务器组开启全端口转发时,该参数默认为0。
|
|
1217
|
+
*/
|
|
1218
|
+
port?: pulumi.Input<number>;
|
|
1219
|
+
/**
|
|
1220
|
+
* 后端服务器 ID。
|
|
1221
|
+
*/
|
|
1222
|
+
serverId?: pulumi.Input<string>;
|
|
1223
|
+
/**
|
|
1224
|
+
* 后端服务器的类型。取值如下:ecs:云服务器实例(即主网卡)。eni:辅助网卡。ip:IP地址。
|
|
1225
|
+
*/
|
|
1226
|
+
type?: pulumi.Input<string>;
|
|
1227
|
+
/**
|
|
1228
|
+
* 后端服务器的权重,取值范围为0 ~ 100。权重为0,表示不会将请求转发给该服务器。该参数不传入,则默认为0。
|
|
1229
|
+
*/
|
|
1230
|
+
weight?: pulumi.Input<number>;
|
|
1231
|
+
/**
|
|
1232
|
+
* 指定后端服务器关联的NLB实例可用区。当参数Servers.N.Type为ip时,此参数必填。NLB实例开启跨可用区转发功能时,该后端服务器可以接收来自NLB实例所有可用区的流量。NLB实例关闭跨可用区转发功能时,则该后端服务器仅接收来自指定可用区的流量。
|
|
1233
|
+
*/
|
|
1234
|
+
zoneId?: pulumi.Input<string>;
|
|
1235
|
+
}
|
|
1236
|
+
interface NlbServerGroupTag {
|
|
1237
|
+
/**
|
|
1238
|
+
* 标签键。
|
|
1239
|
+
*/
|
|
1240
|
+
key?: pulumi.Input<string>;
|
|
1241
|
+
/**
|
|
1242
|
+
* 标签值。
|
|
1243
|
+
*/
|
|
1244
|
+
value?: pulumi.Input<string>;
|
|
1245
|
+
}
|
|
1021
1246
|
interface RuleRedirectConfig {
|
|
1022
1247
|
/**
|
|
1023
1248
|
* 转发规则重定向的域名,当前仅支持精确域名。规范如下:需至少包含一个‘.’,且不允许以‘.’开头或结尾。仅允许包含字母、数字、‘.’、‘-‘。长度限制为1 ~ 128个字符。符合域名规范的精确域名,例如:www.test.com。
|
|
@@ -1050,9 +1275,254 @@ export declare namespace clb {
|
|
|
1050
1275
|
*/
|
|
1051
1276
|
value?: pulumi.Input<string>;
|
|
1052
1277
|
}
|
|
1278
|
+
interface ServerGroupListener {
|
|
1279
|
+
/**
|
|
1280
|
+
* 监听器的ID。
|
|
1281
|
+
*/
|
|
1282
|
+
listenerId?: pulumi.Input<string>;
|
|
1283
|
+
}
|
|
1284
|
+
interface ServerGroupServer {
|
|
1285
|
+
/**
|
|
1286
|
+
* 后端服务器的描述。必须以字母、数字或中文开头,可包含字母、数字、中文和以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、中划线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255字符。不填则默认为空字符串。
|
|
1287
|
+
*/
|
|
1288
|
+
description?: pulumi.Input<string>;
|
|
1289
|
+
/**
|
|
1290
|
+
* 后端服务器。取值情况如下:当 Type 取ecs时,传云服务器实例的ID。当Type 取eni时,传已挂载至云服务器的辅助网卡的ID。当 Type 取ip时,传IP地址作为后端服务器。
|
|
1291
|
+
*/
|
|
1292
|
+
instanceId?: pulumi.Input<string>;
|
|
1293
|
+
/**
|
|
1294
|
+
* 后端服务器的私网IP地址。多个后端服务器IP之间使用“&”分隔。
|
|
1295
|
+
*/
|
|
1296
|
+
ip?: pulumi.Input<string>;
|
|
1297
|
+
/**
|
|
1298
|
+
* 后端服务器接收请求的端口号。取值范围为1~65535。参数AnyPortEnabled为“off”,且需要同时添加后端服务器时,该参数必须传入;参数AnyPortEnabled为“on”时,该参数默认为0。
|
|
1299
|
+
*/
|
|
1300
|
+
port?: pulumi.Input<number>;
|
|
1301
|
+
/**
|
|
1302
|
+
* 后端服务器实例类型。当参数Type取instance时,取值如下:ecs:云服务器实例。eni:网卡。当参数Type取ip时,本参数取值为ip。
|
|
1303
|
+
*/
|
|
1304
|
+
type?: pulumi.Input<string>;
|
|
1305
|
+
/**
|
|
1306
|
+
* 后端服务器的权重,取值范围为0 ~ 100。不填则默认为0。0表示不会将请求转发给该后端服务器。
|
|
1307
|
+
*/
|
|
1308
|
+
weight?: pulumi.Input<number>;
|
|
1309
|
+
}
|
|
1310
|
+
interface ServerGroupTag {
|
|
1311
|
+
/**
|
|
1312
|
+
* 绑定的标签键信息。
|
|
1313
|
+
*/
|
|
1314
|
+
key?: pulumi.Input<string>;
|
|
1315
|
+
/**
|
|
1316
|
+
* 绑定的标签值信息。
|
|
1317
|
+
*/
|
|
1318
|
+
value?: pulumi.Input<string>;
|
|
1319
|
+
}
|
|
1320
|
+
}
|
|
1321
|
+
export declare namespace cloudmonitor {
|
|
1322
|
+
interface RuleCondition {
|
|
1323
|
+
/**
|
|
1324
|
+
* 比较符号。支持普通阈值告警: >、>=、<、<=、!=、= ,以及以下同环比告警:last*period*increase*pct:环比上周期上涨。last*period*decrease*pct:环比上周起下降。last*period*abs*pct:环比上周期上涨或下降。last*day*increase*pct:同比昨天同一时段上涨。last*day*decrease*pct:同比昨天同一时段下降。last*day*abs*pct:同比昨天同一时段上涨或下降。last*week*increase*pct:同比上周同一时段上涨。last*week*decrease*pct:同比上周同一时段下降。last*week*abs_pct:同比上周同一时段上涨或下降。
|
|
1325
|
+
*/
|
|
1326
|
+
comparisonOperator?: pulumi.Input<string>;
|
|
1327
|
+
/**
|
|
1328
|
+
* 监控指标的名称。详情请参见 云监控指标查询 下各产品的 MetricName。
|
|
1329
|
+
*/
|
|
1330
|
+
metricName?: pulumi.Input<string>;
|
|
1331
|
+
/**
|
|
1332
|
+
* 监控指标的单位。详情请参见 云监控指标查询 下各产品的 MetricUnit。说明同环比告警,MetricUnit 需要填写为 "Percent"。MetricUnit 中是否带有 IEC 表示不同的进位:带有 IEC:进位是 1024不带 IEC:进位是 1000。
|
|
1333
|
+
*/
|
|
1334
|
+
metricUnit?: pulumi.Input<string>;
|
|
1335
|
+
/**
|
|
1336
|
+
* 监控指标的统计周期。详情请参见 云监控指标查询 下各产品的 Period。
|
|
1337
|
+
*/
|
|
1338
|
+
period?: pulumi.Input<string>;
|
|
1339
|
+
/**
|
|
1340
|
+
* 统计方法,取值:avg:平均值。max:最大值。min:最小值。说明统计方法会应用到检测时间段内的数据上。例如,默认每次检测数据的时间跨度是 1 分钟,如果统计方法为 avg,那就是对 1 分钟内的数据取平均值。
|
|
1341
|
+
*/
|
|
1342
|
+
statistics?: pulumi.Input<string>;
|
|
1343
|
+
/**
|
|
1344
|
+
* 指标阈值。支持输入正数或 0。最多支持三位小数。
|
|
1345
|
+
*/
|
|
1346
|
+
threshold?: pulumi.Input<string>;
|
|
1347
|
+
}
|
|
1348
|
+
interface RuleDimensionConditions {
|
|
1349
|
+
/**
|
|
1350
|
+
* 根据资源名称选择告警对象的条件。当Type为meta时必填。
|
|
1351
|
+
*/
|
|
1352
|
+
metaCondition?: pulumi.Input<inputs.cloudmonitor.RuleDimensionConditionsMetaCondition>;
|
|
1353
|
+
/**
|
|
1354
|
+
* 根据项目选择告警对象的条件。当Type为project时必填。
|
|
1355
|
+
*/
|
|
1356
|
+
projectCondition?: pulumi.Input<inputs.cloudmonitor.RuleDimensionConditionsProjectCondition>;
|
|
1357
|
+
/**
|
|
1358
|
+
* 根据标签选择告警对象的条件。当Type为tag时必填。
|
|
1359
|
+
*/
|
|
1360
|
+
tagCondition?: pulumi.Input<inputs.cloudmonitor.RuleDimensionConditionsTagCondition>;
|
|
1361
|
+
/**
|
|
1362
|
+
* Dimensions 类型。取值:project:根据项目选择告警对象。tag:根据标签选择告警对象。meta:根据资源名称选择告警对象。
|
|
1363
|
+
*/
|
|
1364
|
+
type?: pulumi.Input<string>;
|
|
1365
|
+
}
|
|
1366
|
+
interface RuleDimensionConditionsMetaCondition {
|
|
1367
|
+
/**
|
|
1368
|
+
* 是否为全量资源。true:全部资源。false:部分资源。
|
|
1369
|
+
*/
|
|
1370
|
+
allDimensions?: pulumi.Input<boolean>;
|
|
1371
|
+
/**
|
|
1372
|
+
* 判断条件。and:全部满足。or:任意满足。
|
|
1373
|
+
*/
|
|
1374
|
+
condition?: pulumi.Input<string>;
|
|
1375
|
+
metas?: pulumi.Input<pulumi.Input<inputs.cloudmonitor.RuleDimensionConditionsMetaConditionMeta>[]>;
|
|
1376
|
+
}
|
|
1377
|
+
interface RuleDimensionConditionsMetaConditionMeta {
|
|
1378
|
+
/**
|
|
1379
|
+
* 标签匹配时的比较符。contain:包含not*contain:不包含prefix*match:前缀匹配suffix*match:后缀匹配equal:等于not*equal:不等于exist:存在。
|
|
1380
|
+
*/
|
|
1381
|
+
comparator?: pulumi.Input<string>;
|
|
1382
|
+
/**
|
|
1383
|
+
* 标签键。
|
|
1384
|
+
*/
|
|
1385
|
+
key?: pulumi.Input<string>;
|
|
1386
|
+
/**
|
|
1387
|
+
* 标签的值(Value)。当Comparator为exist时,包含 Key 对应的所有 Value,不支持输入。当Comparator为equal或not*equal时,支持输入多个 Value。当Comparator为contain、not*contain、prefix*match或suffix*match时,仅支持输入 1 个 Value。
|
|
1388
|
+
*/
|
|
1389
|
+
values?: pulumi.Input<pulumi.Input<string>[]>;
|
|
1390
|
+
}
|
|
1391
|
+
interface RuleDimensionConditionsProjectCondition {
|
|
1392
|
+
/**
|
|
1393
|
+
* 项目名称列表。数组形式。多个值之间使用英文半角逗号,分割。
|
|
1394
|
+
*/
|
|
1395
|
+
projects?: pulumi.Input<pulumi.Input<string>[]>;
|
|
1396
|
+
}
|
|
1397
|
+
interface RuleDimensionConditionsTagCondition {
|
|
1398
|
+
/**
|
|
1399
|
+
* 判断条件。and:全部满足。or:任意满足。
|
|
1400
|
+
*/
|
|
1401
|
+
condition?: pulumi.Input<string>;
|
|
1402
|
+
tags?: pulumi.Input<pulumi.Input<inputs.cloudmonitor.RuleDimensionConditionsTagConditionTag>[]>;
|
|
1403
|
+
}
|
|
1404
|
+
interface RuleDimensionConditionsTagConditionTag {
|
|
1405
|
+
/**
|
|
1406
|
+
* 标签匹配时的比较符。contain:包含not*contain:不包含prefix*match:前缀匹配suffix*match:后缀匹配equal:等于not*equal:不等于exist:存在。
|
|
1407
|
+
*/
|
|
1408
|
+
comparator?: pulumi.Input<string>;
|
|
1409
|
+
/**
|
|
1410
|
+
* 标签键。
|
|
1411
|
+
*/
|
|
1412
|
+
key?: pulumi.Input<string>;
|
|
1413
|
+
/**
|
|
1414
|
+
* 标签的值(Value)。当Comparator为exist时,包含 Key 对应的所有 Value,不支持输入。当Comparator为equal或not*equal时,支持输入多个 Value。当Comparator为contain、not*contain、prefix*match或suffix*match时,仅支持输入 1 个 Value。
|
|
1415
|
+
*/
|
|
1416
|
+
values?: pulumi.Input<pulumi.Input<string>[]>;
|
|
1417
|
+
}
|
|
1418
|
+
interface RuleLevelCondition {
|
|
1419
|
+
conditions?: pulumi.Input<pulumi.Input<inputs.cloudmonitor.RuleLevelConditionCondition>[]>;
|
|
1420
|
+
/**
|
|
1421
|
+
* 告警通知等级,取值:notice:通知warning:警告critical:严重recovery:恢复。
|
|
1422
|
+
*/
|
|
1423
|
+
level?: pulumi.Input<string>;
|
|
1424
|
+
}
|
|
1425
|
+
interface RuleLevelConditionCondition {
|
|
1426
|
+
/**
|
|
1427
|
+
* 比较符号。支持普通阈值告警: >、>=、<、<=、!=、= ,以及以下同环比告警:last*period*increase*pct:环比上周期上涨。last*period*decrease*pct:环比上周起下降。last*period*abs*pct:环比上周期上涨或下降。last*day*increase*pct:同比昨天同一时段上涨。last*day*decrease*pct:同比昨天同一时段下降。last*day*abs*pct:同比昨天同一时段上涨或下降。last*week*increase*pct:同比上周同一时段上涨。last*week*decrease*pct:同比上周同一时段下降。last*week*abs_pct:同比上周同一时段上涨或下降。
|
|
1428
|
+
*/
|
|
1429
|
+
comparisonOperator?: pulumi.Input<string>;
|
|
1430
|
+
/**
|
|
1431
|
+
* 监控指标的名称。详情请参见 云监控指标查询 下各产品的 MetricName。
|
|
1432
|
+
*/
|
|
1433
|
+
metricName?: pulumi.Input<string>;
|
|
1434
|
+
/**
|
|
1435
|
+
* 监控指标的单位。详情请参见 云监控指标查询 下各产品的 MetricUnit。说明同环比告警,MetricUnit 需要填写为 "Percent"。MetricUnit 中是否带有 IEC 表示不同的进位:带有 IEC:进位是 1024不带 IEC:进位是 1000。
|
|
1436
|
+
*/
|
|
1437
|
+
metricUnit?: pulumi.Input<string>;
|
|
1438
|
+
/**
|
|
1439
|
+
* 监控指标的统计周期。详情请参见 云监控指标查询 下各产品的 Period。
|
|
1440
|
+
*/
|
|
1441
|
+
period?: pulumi.Input<string>;
|
|
1442
|
+
/**
|
|
1443
|
+
* 统计方法,取值:avg:平均值。max:最大值。min:最小值。说明统计方法会应用到检测时间段内的数据上。例如,默认每次检测数据的时间跨度是 1 分钟,如果统计方法为 avg,那就是对 1 分钟内的数据取平均值。
|
|
1444
|
+
*/
|
|
1445
|
+
statistics?: pulumi.Input<string>;
|
|
1446
|
+
/**
|
|
1447
|
+
* 指标阈值。支持输入正数或 0。最多支持三位小数。
|
|
1448
|
+
*/
|
|
1449
|
+
threshold?: pulumi.Input<string>;
|
|
1450
|
+
}
|
|
1451
|
+
interface RuleNoData {
|
|
1452
|
+
/**
|
|
1453
|
+
* 是否开启无数据告警。取值:true:开启无数据告警。false:(默认)关闭无数据告警。
|
|
1454
|
+
*/
|
|
1455
|
+
enable?: pulumi.Input<boolean>;
|
|
1456
|
+
/**
|
|
1457
|
+
* 无数据告警触发阈值,如果在配置的阈值周期内检测无数据上报,则会触发无数据告警。当Enable配置为true时,该字段为必填。整数形式,取值范围为 3~20。
|
|
1458
|
+
*/
|
|
1459
|
+
evaluationCount?: pulumi.Input<number>;
|
|
1460
|
+
}
|
|
1461
|
+
interface RuleNotifyTemplate {
|
|
1462
|
+
/**
|
|
1463
|
+
* 通知渠道,取值:email:邮箱sms:短信phone:电话lark:飞书dingtalk:钉钉wecom:企业微信slack:Slackapi:回调地址。
|
|
1464
|
+
*/
|
|
1465
|
+
channel?: pulumi.Input<string>;
|
|
1466
|
+
/**
|
|
1467
|
+
* 通知模版 ID。注意每种通知渠道仅支持配置 1 个通知模版 ID。
|
|
1468
|
+
*/
|
|
1469
|
+
notifyTemplateId?: pulumi.Input<string>;
|
|
1470
|
+
}
|
|
1471
|
+
interface RuleOriginalDimensions {
|
|
1472
|
+
/**
|
|
1473
|
+
* 指标 Dimension 名称,例如ResourceID、NodeName等。不同云产品的 Dimensions 名称不同,详情请参见 云监控指标查询。ResourceID为必填项,且大小写必须与 云监控指标查询 中的一致。支持同时填写多个 Dimension 名称,并基于多个 Dimension 名称进行分组。举例如下:当您仅填写ResourceID时,系统会按照ResourceID进行告警分组。当您同时填写ResourceID和NodeName时,系统会首先按照ResourceID进行告警分组。然后在每个分组内,再按照NodeName进行分组。
|
|
1474
|
+
*/
|
|
1475
|
+
key?: pulumi.Input<string>;
|
|
1476
|
+
/**
|
|
1477
|
+
* 指标 Dimension 值,数组形式。多个值之间使用英文半角逗号,分割。允许使用通配符*选择全部实例的值。例如:["*"] 。
|
|
1478
|
+
*/
|
|
1479
|
+
values?: pulumi.Input<pulumi.Input<string>[]>;
|
|
1480
|
+
}
|
|
1481
|
+
interface RuleRecoveryNotify {
|
|
1482
|
+
/**
|
|
1483
|
+
* 是否开启告警恢复通知。取值:true:(默认)开启告警恢复通知。false:关闭告警恢复通知。
|
|
1484
|
+
*/
|
|
1485
|
+
enable?: pulumi.Input<boolean>;
|
|
1486
|
+
}
|
|
1487
|
+
interface RuleTag {
|
|
1488
|
+
/**
|
|
1489
|
+
* 标签键。支持中文、英文大写字母、英文小写字母、数字和空格。支持以下特殊字符_.:/=+-@。不能以空格为开头或结尾。volc:和/sys:为系统预留的标签键,添加标签时,标签键的开头不能设置为任何大小写形式的volc:和/sys:。标签键的长度需为 1~128 个字符。
|
|
1490
|
+
*/
|
|
1491
|
+
key?: pulumi.Input<string>;
|
|
1492
|
+
/**
|
|
1493
|
+
* 标签值。支持中文、英文大写字母、英文小写字母、数字和空格。支持以下特殊字符_.:/=+-@。不能以空格为开头或结尾。标签键的长度需为 0~255 个字符。
|
|
1494
|
+
*/
|
|
1495
|
+
value?: pulumi.Input<string>;
|
|
1496
|
+
}
|
|
1053
1497
|
}
|
|
1054
1498
|
export declare namespace config {
|
|
1055
1499
|
}
|
|
1500
|
+
export declare namespace directconnect {
|
|
1501
|
+
interface DirectConnectGatewayAssociateCen {
|
|
1502
|
+
/**
|
|
1503
|
+
* CEN的ID。
|
|
1504
|
+
*/
|
|
1505
|
+
cenId?: pulumi.Input<string>;
|
|
1506
|
+
/**
|
|
1507
|
+
* CEN的用户ID。
|
|
1508
|
+
*/
|
|
1509
|
+
cenOwnerId?: pulumi.Input<string>;
|
|
1510
|
+
/**
|
|
1511
|
+
* 实例在CEN中的状态。Attaching:加载中。Attached:已加载。
|
|
1512
|
+
*/
|
|
1513
|
+
cenStatus?: pulumi.Input<string>;
|
|
1514
|
+
}
|
|
1515
|
+
interface DirectConnectGatewayTag {
|
|
1516
|
+
/**
|
|
1517
|
+
* 用户标签的标签键。长度取值范围为1~128字符。
|
|
1518
|
+
*/
|
|
1519
|
+
key?: pulumi.Input<string>;
|
|
1520
|
+
/**
|
|
1521
|
+
* 用户标签的标签值。长度取值范围为0~256字符。
|
|
1522
|
+
*/
|
|
1523
|
+
value?: pulumi.Input<string>;
|
|
1524
|
+
}
|
|
1525
|
+
}
|
|
1056
1526
|
export declare namespace dns {
|
|
1057
1527
|
interface ZoneTag {
|
|
1058
1528
|
/**
|
|
@@ -1906,7 +2376,39 @@ export declare namespace escloud {
|
|
|
1906
2376
|
warmNodeNum?: pulumi.Input<number>;
|
|
1907
2377
|
}
|
|
1908
2378
|
}
|
|
1909
|
-
export declare namespace
|
|
2379
|
+
export declare namespace filenas {
|
|
2380
|
+
interface InstanceCachePerformance {
|
|
2381
|
+
/**
|
|
2382
|
+
* 预配置带宽,用于增加文件系统带宽。
|
|
2383
|
+
*/
|
|
2384
|
+
cacheBandwidth?: pulumi.Input<number>;
|
|
2385
|
+
}
|
|
2386
|
+
interface InstanceCapacity {
|
|
2387
|
+
/**
|
|
2388
|
+
* 文件系统可用总容量,单位为 GiB。
|
|
2389
|
+
*/
|
|
2390
|
+
total?: pulumi.Input<number>;
|
|
2391
|
+
/**
|
|
2392
|
+
* 文件系统已使用容量,单位为 MiB。
|
|
2393
|
+
*/
|
|
2394
|
+
used?: pulumi.Input<number>;
|
|
2395
|
+
}
|
|
2396
|
+
interface InstanceTag {
|
|
2397
|
+
/**
|
|
2398
|
+
* 标签键。
|
|
2399
|
+
*/
|
|
2400
|
+
key?: pulumi.Input<string>;
|
|
2401
|
+
/**
|
|
2402
|
+
* 标签类型。
|
|
2403
|
+
*/
|
|
2404
|
+
type?: pulumi.Input<string>;
|
|
2405
|
+
/**
|
|
2406
|
+
* 标签值。
|
|
2407
|
+
*/
|
|
2408
|
+
value?: pulumi.Input<string>;
|
|
2409
|
+
}
|
|
2410
|
+
}
|
|
2411
|
+
export declare namespace fwcenter {
|
|
1910
2412
|
interface DnsControlPolicyDomainListV1 {
|
|
1911
2413
|
/**
|
|
1912
2414
|
* 具体地址信息。
|
|
@@ -3527,6 +4029,16 @@ export declare namespace vke {
|
|
|
3527
4029
|
}
|
|
3528
4030
|
}
|
|
3529
4031
|
export declare namespace vpc {
|
|
4032
|
+
interface EipTag {
|
|
4033
|
+
/**
|
|
4034
|
+
* 标签键。
|
|
4035
|
+
*/
|
|
4036
|
+
key?: pulumi.Input<string>;
|
|
4037
|
+
/**
|
|
4038
|
+
* 标签值。
|
|
4039
|
+
*/
|
|
4040
|
+
value?: pulumi.Input<string>;
|
|
4041
|
+
}
|
|
3530
4042
|
interface EniPrimaryIpAddress {
|
|
3531
4043
|
/**
|
|
3532
4044
|
* 网卡主私网IPv4关联的公网IP的信息。
|
|
@@ -3581,6 +4093,100 @@ export declare namespace vpc {
|
|
|
3581
4093
|
*/
|
|
3582
4094
|
value?: pulumi.Input<string>;
|
|
3583
4095
|
}
|
|
4096
|
+
interface RouteTableCustomRouteEntry {
|
|
4097
|
+
/**
|
|
4098
|
+
* 路由条目描述。
|
|
4099
|
+
*/
|
|
4100
|
+
description?: pulumi.Input<string>;
|
|
4101
|
+
/**
|
|
4102
|
+
* 路由条目的目标网段。
|
|
4103
|
+
*/
|
|
4104
|
+
destinationCidrBlock?: pulumi.Input<string>;
|
|
4105
|
+
/**
|
|
4106
|
+
* 前缀列表ID。
|
|
4107
|
+
*/
|
|
4108
|
+
destinationPrefixListId?: pulumi.Input<string>;
|
|
4109
|
+
/**
|
|
4110
|
+
* 下一跳资源ID。
|
|
4111
|
+
*/
|
|
4112
|
+
nextHopId?: pulumi.Input<string>;
|
|
4113
|
+
/**
|
|
4114
|
+
* 路由条目下一跳资源的名称。
|
|
4115
|
+
*/
|
|
4116
|
+
nextHopName?: pulumi.Input<string>;
|
|
4117
|
+
/**
|
|
4118
|
+
* 自定义路由条目的下一跳的类型。1、Instance:ECS实例。2、HaVip:高可用虚拟IP。3、NetworkInterface:辅助网卡。4、NatGW:NAT网关。5、VpnGW:VPN网关。6、TransitRouter:中转路由器。7、IPv6GW:IPv6网关。8、CloudConnector:云连接器。9、GWLBEndpoint:网关负载均衡终端节点。
|
|
4119
|
+
*/
|
|
4120
|
+
nextHopType?: pulumi.Input<string>;
|
|
4121
|
+
/**
|
|
4122
|
+
* 路由条目名称。
|
|
4123
|
+
*/
|
|
4124
|
+
routeEntryName?: pulumi.Input<string>;
|
|
4125
|
+
}
|
|
4126
|
+
interface RouteTableSystemRouteEntry {
|
|
4127
|
+
/**
|
|
4128
|
+
* 路由条目描述。
|
|
4129
|
+
*/
|
|
4130
|
+
description?: pulumi.Input<string>;
|
|
4131
|
+
/**
|
|
4132
|
+
* 路由条目的目标网段。
|
|
4133
|
+
*/
|
|
4134
|
+
destinationCidrBlock?: pulumi.Input<string>;
|
|
4135
|
+
/**
|
|
4136
|
+
* 前缀列表ID。
|
|
4137
|
+
*/
|
|
4138
|
+
destinationPrefixListId?: pulumi.Input<string>;
|
|
4139
|
+
/**
|
|
4140
|
+
* 下一跳资源ID。
|
|
4141
|
+
*/
|
|
4142
|
+
nextHopId?: pulumi.Input<string>;
|
|
4143
|
+
/**
|
|
4144
|
+
* 路由条目下一跳资源的名称。
|
|
4145
|
+
*/
|
|
4146
|
+
nextHopName?: pulumi.Input<string>;
|
|
4147
|
+
/**
|
|
4148
|
+
* 自定义路由条目的下一跳的类型。1、Instance:ECS实例。2、HaVip:高可用虚拟IP。3、NetworkInterface:辅助网卡。4、NatGW:NAT网关。5、VpnGW:VPN网关。6、TransitRouter:中转路由器。7、IPv6GW:IPv6网关。8、CloudConnector:云连接器。9、GWLBEndpoint:网关负载均衡终端节点。
|
|
4149
|
+
*/
|
|
4150
|
+
nextHopType?: pulumi.Input<string>;
|
|
4151
|
+
/**
|
|
4152
|
+
* 前缀列表的CIDR。
|
|
4153
|
+
*/
|
|
4154
|
+
prefixListCidrBlocks?: pulumi.Input<pulumi.Input<string>[]>;
|
|
4155
|
+
/**
|
|
4156
|
+
* 路由条目ID。
|
|
4157
|
+
*/
|
|
4158
|
+
routeEntryId?: pulumi.Input<string>;
|
|
4159
|
+
/**
|
|
4160
|
+
* 路由条目名称。
|
|
4161
|
+
*/
|
|
4162
|
+
routeEntryName?: pulumi.Input<string>;
|
|
4163
|
+
/**
|
|
4164
|
+
* 路由表ID。
|
|
4165
|
+
*/
|
|
4166
|
+
routeTableId?: pulumi.Input<string>;
|
|
4167
|
+
/**
|
|
4168
|
+
* 路由条目状态。1、Pending:待创建。2、Available:可用。
|
|
4169
|
+
*/
|
|
4170
|
+
status?: pulumi.Input<string>;
|
|
4171
|
+
/**
|
|
4172
|
+
* 路由条目类型。1、Custom:自定义路由条目。2、System:系统默认路由条目。
|
|
4173
|
+
*/
|
|
4174
|
+
type?: pulumi.Input<string>;
|
|
4175
|
+
/**
|
|
4176
|
+
* 路由条目所属私有网络的ID。
|
|
4177
|
+
*/
|
|
4178
|
+
vpcId?: pulumi.Input<string>;
|
|
4179
|
+
}
|
|
4180
|
+
interface RouteTableTag {
|
|
4181
|
+
/**
|
|
4182
|
+
* 用户标签的标签键。
|
|
4183
|
+
*/
|
|
4184
|
+
key?: pulumi.Input<string>;
|
|
4185
|
+
/**
|
|
4186
|
+
* 用户标签的标签值。
|
|
4187
|
+
*/
|
|
4188
|
+
value?: pulumi.Input<string>;
|
|
4189
|
+
}
|
|
3584
4190
|
interface SecurityGroupEgressPermission {
|
|
3585
4191
|
/**
|
|
3586
4192
|
* 源地址的IPv4 CIDR或IPv6 CIDR
|