@byteplus/pulumi-bytepluscc 0.0.52 → 0.0.54
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/billing/financialRelation.d.ts +211 -0
- package/billing/financialRelation.d.ts.map +1 -0
- package/billing/financialRelation.js +130 -0
- package/billing/financialRelation.js.map +1 -0
- package/billing/getFinancialRelation.d.ts +102 -0
- package/billing/getFinancialRelation.d.ts.map +1 -0
- package/billing/getFinancialRelation.js +51 -0
- package/billing/getFinancialRelation.js.map +1 -0
- package/billing/getFinancialRelations.d.ts +23 -0
- package/billing/getFinancialRelations.d.ts.map +1 -0
- package/billing/getFinancialRelations.js +47 -0
- package/billing/getFinancialRelations.js.map +1 -0
- package/billing/index.d.ts +10 -0
- package/billing/index.d.ts.map +1 -0
- package/billing/index.js +51 -0
- package/billing/index.js.map +1 -0
- package/cloudmonitor/alertTemplate.d.ts +252 -0
- package/cloudmonitor/alertTemplate.d.ts.map +1 -0
- package/cloudmonitor/alertTemplate.js +172 -0
- package/cloudmonitor/alertTemplate.js.map +1 -0
- package/cloudmonitor/getAlertTemplate.d.ts +90 -0
- package/cloudmonitor/getAlertTemplate.d.ts.map +1 -0
- package/cloudmonitor/getAlertTemplate.js +51 -0
- package/cloudmonitor/getAlertTemplate.js.map +1 -0
- package/cloudmonitor/getAlertTemplates.d.ts +23 -0
- package/cloudmonitor/getAlertTemplates.d.ts.map +1 -0
- package/cloudmonitor/getAlertTemplates.js +47 -0
- package/cloudmonitor/getAlertTemplates.js.map +1 -0
- package/cloudmonitor/getObjectGroup.d.ts +66 -0
- package/cloudmonitor/getObjectGroup.d.ts.map +1 -0
- package/cloudmonitor/getObjectGroup.js +51 -0
- package/cloudmonitor/getObjectGroup.js.map +1 -0
- package/cloudmonitor/getObjectGroups.d.ts +23 -0
- package/cloudmonitor/getObjectGroups.d.ts.map +1 -0
- package/cloudmonitor/getObjectGroups.js +47 -0
- package/cloudmonitor/getObjectGroups.js.map +1 -0
- package/cloudmonitor/index.d.ts +18 -0
- package/cloudmonitor/index.d.ts.map +1 -1
- package/cloudmonitor/index.js +23 -1
- package/cloudmonitor/index.js.map +1 -1
- package/cloudmonitor/objectGroup.d.ts +143 -0
- package/cloudmonitor/objectGroup.d.ts.map +1 -0
- package/cloudmonitor/objectGroup.js +124 -0
- package/cloudmonitor/objectGroup.js.map +1 -0
- package/ecs/getInstance.d.ts +1 -0
- package/ecs/getInstance.d.ts.map +1 -1
- package/ecs/getInstance.js.map +1 -1
- package/ecs/instance.d.ts +8 -0
- package/ecs/instance.d.ts.map +1 -1
- package/ecs/instance.js +2 -0
- package/ecs/instance.js.map +1 -1
- package/hbase/instance.d.ts +0 -5
- package/hbase/instance.d.ts.map +1 -1
- package/hbase/instance.js +1 -1
- package/hbase/instance.js.map +1 -1
- package/index.d.ts +3 -1
- package/index.d.ts.map +1 -1
- package/index.js +6 -1
- package/index.js.map +1 -1
- package/mongodb/getInstance.d.ts +25 -1
- package/mongodb/getInstance.d.ts.map +1 -1
- package/mongodb/getInstance.js.map +1 -1
- package/mongodb/instance.d.ts +71 -3
- package/mongodb/instance.d.ts.map +1 -1
- package/mongodb/instance.js +12 -0
- package/mongodb/instance.js.map +1 -1
- package/package.json +1 -1
- package/rdsmssql/getInstance.d.ts +12 -0
- package/rdsmssql/getInstance.d.ts.map +1 -1
- package/rdsmssql/getInstance.js.map +1 -1
- package/rdsmssql/instance.d.ts +32 -0
- package/rdsmssql/instance.d.ts.map +1 -1
- package/rdsmssql/instance.js +6 -0
- package/rdsmssql/instance.js.map +1 -1
- package/rdspostgresql/getInstance.d.ts +4 -0
- package/rdspostgresql/getInstance.d.ts.map +1 -1
- package/rdspostgresql/getInstance.js.map +1 -1
- package/rdspostgresql/instance.d.ts +12 -0
- package/rdspostgresql/instance.d.ts.map +1 -1
- package/rdspostgresql/instance.js +2 -0
- package/rdspostgresql/instance.js.map +1 -1
- package/redis/getInstance.d.ts +4 -0
- package/redis/getInstance.d.ts.map +1 -1
- package/redis/getInstance.js.map +1 -1
- package/redis/instance.d.ts +12 -0
- package/redis/instance.d.ts.map +1 -1
- package/redis/instance.js +2 -0
- package/redis/instance.js.map +1 -1
- package/securitycenter/agent.d.ts +221 -0
- package/securitycenter/agent.d.ts.map +1 -0
- package/securitycenter/agent.js +131 -0
- package/securitycenter/agent.js.map +1 -0
- package/securitycenter/getAgent.d.ts +118 -0
- package/securitycenter/getAgent.d.ts.map +1 -0
- package/securitycenter/getAgent.js +51 -0
- package/securitycenter/getAgent.js.map +1 -0
- package/securitycenter/getAgents.d.ts +23 -0
- package/securitycenter/getAgents.d.ts.map +1 -0
- package/securitycenter/getAgents.js +47 -0
- package/securitycenter/getAgents.js.map +1 -0
- package/securitycenter/index.d.ts +10 -0
- package/securitycenter/index.d.ts.map +1 -0
- package/securitycenter/index.js +51 -0
- package/securitycenter/index.js.map +1 -0
- package/transitrouter/getTransitRouterForwardPolicyEntries.d.ts +23 -0
- package/transitrouter/getTransitRouterForwardPolicyEntries.d.ts.map +1 -0
- package/transitrouter/getTransitRouterForwardPolicyEntries.js +47 -0
- package/transitrouter/getTransitRouterForwardPolicyEntries.js.map +1 -0
- package/transitrouter/getTransitRouterForwardPolicyEntry.d.ts +77 -0
- package/transitrouter/getTransitRouterForwardPolicyEntry.d.ts.map +1 -0
- package/transitrouter/getTransitRouterForwardPolicyEntry.js +51 -0
- package/transitrouter/getTransitRouterForwardPolicyEntry.js.map +1 -0
- package/transitrouter/getTransitRouterRoutePolicyTable.d.ts +73 -0
- package/transitrouter/getTransitRouterRoutePolicyTable.d.ts.map +1 -0
- package/transitrouter/getTransitRouterRoutePolicyTable.js +51 -0
- package/transitrouter/getTransitRouterRoutePolicyTable.js.map +1 -0
- package/transitrouter/getTransitRouterRoutePolicyTables.d.ts +23 -0
- package/transitrouter/getTransitRouterRoutePolicyTables.d.ts.map +1 -0
- package/transitrouter/getTransitRouterRoutePolicyTables.js +47 -0
- package/transitrouter/getTransitRouterRoutePolicyTables.js.map +1 -0
- package/transitrouter/index.d.ts +18 -0
- package/transitrouter/index.d.ts.map +1 -1
- package/transitrouter/index.js +24 -2
- package/transitrouter/index.js.map +1 -1
- package/transitrouter/transitRouterForwardPolicyEntry.d.ts +166 -0
- package/transitrouter/transitRouterForwardPolicyEntry.d.ts.map +1 -0
- package/transitrouter/transitRouterForwardPolicyEntry.js +127 -0
- package/transitrouter/transitRouterForwardPolicyEntry.js.map +1 -0
- package/transitrouter/transitRouterRoutePolicyTable.d.ts +148 -0
- package/transitrouter/transitRouterRoutePolicyTable.d.ts.map +1 -0
- package/transitrouter/transitRouterRoutePolicyTable.js +117 -0
- package/transitrouter/transitRouterRoutePolicyTable.js.map +1 -0
- package/types/input.d.ts +774 -81
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +1594 -221
- package/types/output.d.ts.map +1 -1
- package/vke/getNodePool.d.ts +3 -3
- package/vke/getNodepoolScalingPolicies.d.ts +23 -0
- package/vke/getNodepoolScalingPolicies.d.ts.map +1 -0
- package/vke/getNodepoolScalingPolicies.js +47 -0
- package/vke/getNodepoolScalingPolicies.js.map +1 -0
- package/vke/getNodepoolScalingPolicy.d.ts +82 -0
- package/vke/getNodepoolScalingPolicy.d.ts.map +1 -0
- package/vke/getNodepoolScalingPolicy.js +51 -0
- package/vke/getNodepoolScalingPolicy.js.map +1 -0
- package/vke/index.d.ts +9 -0
- package/vke/index.d.ts.map +1 -1
- package/vke/index.js +12 -1
- package/vke/index.js.map +1 -1
- package/vke/nodePool.d.ts +9 -9
- package/vke/nodepoolScalingPolicy.d.ts +191 -0
- package/vke/nodepoolScalingPolicy.d.ts.map +1 -0
- package/vke/nodepoolScalingPolicy.js +140 -0
- package/vke/nodepoolScalingPolicy.js.map +1 -0
- package/vpc/getIpamResourceDiscoveries.d.ts +23 -0
- package/vpc/getIpamResourceDiscoveries.d.ts.map +1 -0
- package/vpc/getIpamResourceDiscoveries.js +47 -0
- package/vpc/getIpamResourceDiscoveries.js.map +1 -0
- package/vpc/getIpamResourceDiscovery.d.ts +90 -0
- package/vpc/getIpamResourceDiscovery.d.ts.map +1 -0
- package/vpc/getIpamResourceDiscovery.js +51 -0
- package/vpc/getIpamResourceDiscovery.js.map +1 -0
- package/vpc/index.d.ts +9 -0
- package/vpc/index.d.ts.map +1 -1
- package/vpc/index.js +14 -3
- package/vpc/index.js.map +1 -1
- package/vpc/ipamResourceDiscovery.d.ts +194 -0
- package/vpc/ipamResourceDiscovery.d.ts.map +1 -0
- package/vpc/ipamResourceDiscovery.js +128 -0
- package/vpc/ipamResourceDiscovery.js.map +1 -0
- package/waf/botAnalyseProtectRule.d.ts +316 -0
- package/waf/botAnalyseProtectRule.d.ts.map +1 -0
- package/waf/botAnalyseProtectRule.js +171 -0
- package/waf/botAnalyseProtectRule.js.map +1 -0
- package/waf/customBot.d.ts +207 -0
- package/waf/customBot.d.ts.map +1 -0
- package/waf/customBot.js +150 -0
- package/waf/customBot.js.map +1 -0
- package/waf/getBotAnalyseProtectRule.d.ts +126 -0
- package/waf/getBotAnalyseProtectRule.d.ts.map +1 -0
- package/waf/getBotAnalyseProtectRule.js +51 -0
- package/waf/getBotAnalyseProtectRule.js.map +1 -0
- package/waf/getBotAnalyseProtectRules.d.ts +23 -0
- package/waf/getBotAnalyseProtectRules.d.ts.map +1 -0
- package/waf/getBotAnalyseProtectRules.js +47 -0
- package/waf/getBotAnalyseProtectRules.js.map +1 -0
- package/waf/getCustomBot.d.ts +86 -0
- package/waf/getCustomBot.d.ts.map +1 -0
- package/waf/getCustomBot.js +51 -0
- package/waf/getCustomBot.js.map +1 -0
- package/waf/getCustomBots.d.ts +23 -0
- package/waf/getCustomBots.d.ts.map +1 -0
- package/waf/getCustomBots.js +47 -0
- package/waf/getCustomBots.js.map +1 -0
- package/waf/index.d.ts +18 -0
- package/waf/index.d.ts.map +1 -1
- package/waf/index.js +23 -1
- package/waf/index.js.map +1 -1
package/types/output.d.ts
CHANGED
|
@@ -3210,6 +3210,36 @@ export declare namespace autoscaling {
|
|
|
3210
3210
|
recurrenceValue: string;
|
|
3211
3211
|
}
|
|
3212
3212
|
}
|
|
3213
|
+
export declare namespace billing {
|
|
3214
|
+
interface FinancialRelationAuthInfo {
|
|
3215
|
+
/**
|
|
3216
|
+
* Financial relationship authorization ID.
|
|
3217
|
+
*/
|
|
3218
|
+
authId: string;
|
|
3219
|
+
/**
|
|
3220
|
+
* Authorization list, separated by commas. Permission points are as follows: 1 Allow sub-account to share contract discounts of the main account; 2 Allow main account to view the sub-account's fund balance; 3 Allow main account to allocate and reclaim credit limits for the sub-account; 4 Allow main account to view the sub-account's billing information; 5 Allow main account to assist the sub-account with invoice management.
|
|
3221
|
+
*/
|
|
3222
|
+
authLists: number[];
|
|
3223
|
+
/**
|
|
3224
|
+
* Authorization status enumeration values. 100: Authorization in progress; 200: Authorization established; 250: Authorization change rejected by sub-account; 300: Authorization change canceled by main account; 400: Authorization revoked.
|
|
3225
|
+
*/
|
|
3226
|
+
authStatus: number;
|
|
3227
|
+
}
|
|
3228
|
+
interface GetFinancialRelationAuthInfo {
|
|
3229
|
+
/**
|
|
3230
|
+
* Financial relationship authorization ID.
|
|
3231
|
+
*/
|
|
3232
|
+
authId: string;
|
|
3233
|
+
/**
|
|
3234
|
+
* Authorization list, separated by commas. Permission points are as follows: 1 Allow sub-account to share contract discounts of the main account; 2 Allow main account to view the sub-account's fund balance; 3 Allow main account to allocate and reclaim credit limits for the sub-account; 4 Allow main account to view the sub-account's billing information; 5 Allow main account to assist the sub-account with invoice management.
|
|
3235
|
+
*/
|
|
3236
|
+
authLists: number[];
|
|
3237
|
+
/**
|
|
3238
|
+
* Authorization status enumeration values. 100: Authorization in progress; 200: Authorization established; 250: Authorization change rejected by sub-account; 300: Authorization change canceled by main account; 400: Authorization revoked.
|
|
3239
|
+
*/
|
|
3240
|
+
authStatus: number;
|
|
3241
|
+
}
|
|
3242
|
+
}
|
|
3213
3243
|
export declare namespace bmq {
|
|
3214
3244
|
interface GetGroupResetInfo {
|
|
3215
3245
|
/**
|
|
@@ -10087,155 +10117,639 @@ export declare namespace cloudidentity {
|
|
|
10087
10117
|
}
|
|
10088
10118
|
}
|
|
10089
10119
|
export declare namespace cloudmonitor {
|
|
10120
|
+
interface AlertTemplateNoData {
|
|
10121
|
+
/**
|
|
10122
|
+
* Enable no data alert
|
|
10123
|
+
*/
|
|
10124
|
+
enable: boolean;
|
|
10125
|
+
/**
|
|
10126
|
+
* Number of evaluation periods for no data determination
|
|
10127
|
+
*/
|
|
10128
|
+
evaluationCount: number;
|
|
10129
|
+
/**
|
|
10130
|
+
* Alert severity when triggered by no data
|
|
10131
|
+
*/
|
|
10132
|
+
level: string;
|
|
10133
|
+
}
|
|
10134
|
+
interface AlertTemplateObjectGroup {
|
|
10135
|
+
/**
|
|
10136
|
+
* Alert notification method list
|
|
10137
|
+
*/
|
|
10138
|
+
alertMethods: string[];
|
|
10139
|
+
/**
|
|
10140
|
+
* Contact Group ID List
|
|
10141
|
+
*/
|
|
10142
|
+
contactGroupIds: string[];
|
|
10143
|
+
/**
|
|
10144
|
+
* Effective end time
|
|
10145
|
+
*/
|
|
10146
|
+
effectEndAt: string;
|
|
10147
|
+
/**
|
|
10148
|
+
* Effective start time
|
|
10149
|
+
*/
|
|
10150
|
+
effectStartAt: string;
|
|
10151
|
+
/**
|
|
10152
|
+
* Notification policy ID
|
|
10153
|
+
*/
|
|
10154
|
+
notificationId: string;
|
|
10155
|
+
/**
|
|
10156
|
+
* Notification template list
|
|
10157
|
+
* Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
|
|
10158
|
+
*/
|
|
10159
|
+
notifyTemplates: outputs.cloudmonitor.AlertTemplateObjectGroupNotifyTemplate[];
|
|
10160
|
+
/**
|
|
10161
|
+
* Object group ID
|
|
10162
|
+
*/
|
|
10163
|
+
objectGroupId: string;
|
|
10164
|
+
/**
|
|
10165
|
+
* Object group name, returned by the service side
|
|
10166
|
+
*/
|
|
10167
|
+
objectGroupName: string;
|
|
10168
|
+
/**
|
|
10169
|
+
* Webhook address
|
|
10170
|
+
*/
|
|
10171
|
+
webhook: string;
|
|
10172
|
+
/**
|
|
10173
|
+
* Webhook ID list
|
|
10174
|
+
*/
|
|
10175
|
+
webhookIds: string[];
|
|
10176
|
+
}
|
|
10177
|
+
interface AlertTemplateObjectGroupNotifyTemplate {
|
|
10178
|
+
/**
|
|
10179
|
+
* Notification channel, options: email/sms/phone/lark/dingtalk/wecom/slack/api
|
|
10180
|
+
*/
|
|
10181
|
+
channel: string;
|
|
10182
|
+
/**
|
|
10183
|
+
* Notification template ID
|
|
10184
|
+
*/
|
|
10185
|
+
notifyTemplateId: string;
|
|
10186
|
+
}
|
|
10187
|
+
interface AlertTemplateRecoveryNotify {
|
|
10188
|
+
/**
|
|
10189
|
+
* Enable recovery notification
|
|
10190
|
+
*/
|
|
10191
|
+
enable: boolean;
|
|
10192
|
+
}
|
|
10193
|
+
interface AlertTemplateTemplateRule {
|
|
10194
|
+
/**
|
|
10195
|
+
* List of alert rules generated by this rule, returned by the service side
|
|
10196
|
+
* Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
|
|
10197
|
+
*/
|
|
10198
|
+
appliedRules: outputs.cloudmonitor.AlertTemplateTemplateRuleAppliedRule[];
|
|
10199
|
+
/**
|
|
10200
|
+
* Evaluation interval (seconds), returned by the service side
|
|
10201
|
+
*/
|
|
10202
|
+
checkInterval: number;
|
|
10203
|
+
/**
|
|
10204
|
+
* Multi-condition combination method
|
|
10205
|
+
*/
|
|
10206
|
+
conditionOperator: string;
|
|
10207
|
+
/**
|
|
10208
|
+
* Evaluation Count
|
|
10209
|
+
*/
|
|
10210
|
+
evaluationCount: number;
|
|
10211
|
+
/**
|
|
10212
|
+
* Evaluation interval (seconds)
|
|
10213
|
+
*/
|
|
10214
|
+
evaluationInterval: number;
|
|
10215
|
+
/**
|
|
10216
|
+
* Tiered alert condition list
|
|
10217
|
+
* Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
|
|
10218
|
+
*/
|
|
10219
|
+
levelConditions: outputs.cloudmonitor.AlertTemplateTemplateRuleLevelCondition[];
|
|
10220
|
+
/**
|
|
10221
|
+
* Enable multi-condition mode
|
|
10222
|
+
*/
|
|
10223
|
+
multipleConditions: boolean;
|
|
10224
|
+
/**
|
|
10225
|
+
* Rule name
|
|
10226
|
+
*/
|
|
10227
|
+
name: string;
|
|
10228
|
+
/**
|
|
10229
|
+
* Metric namespace
|
|
10230
|
+
*/
|
|
10231
|
+
namespace: string;
|
|
10232
|
+
/**
|
|
10233
|
+
* No Data Alert Configuration
|
|
10234
|
+
*/
|
|
10235
|
+
noData: outputs.cloudmonitor.AlertTemplateTemplateRuleNoData;
|
|
10236
|
+
/**
|
|
10237
|
+
* Metric sub-namespace
|
|
10238
|
+
*/
|
|
10239
|
+
subNamespace: string;
|
|
10240
|
+
}
|
|
10241
|
+
interface AlertTemplateTemplateRuleAppliedRule {
|
|
10242
|
+
/**
|
|
10243
|
+
* ID of the issued alert rule
|
|
10244
|
+
*/
|
|
10245
|
+
id: string;
|
|
10246
|
+
/**
|
|
10247
|
+
* Name of the issued alert rule
|
|
10248
|
+
*/
|
|
10249
|
+
name: string;
|
|
10250
|
+
/**
|
|
10251
|
+
* Associated object group ID
|
|
10252
|
+
*/
|
|
10253
|
+
objectGroupId: string;
|
|
10254
|
+
/**
|
|
10255
|
+
* Associated object ID
|
|
10256
|
+
*/
|
|
10257
|
+
objectId: string;
|
|
10258
|
+
}
|
|
10259
|
+
interface AlertTemplateTemplateRuleLevelCondition {
|
|
10260
|
+
/**
|
|
10261
|
+
* Condition list
|
|
10262
|
+
* Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
|
|
10263
|
+
*/
|
|
10264
|
+
conditions: outputs.cloudmonitor.AlertTemplateTemplateRuleLevelConditionCondition[];
|
|
10265
|
+
/**
|
|
10266
|
+
* Alert severity, options: notice/warning/critical
|
|
10267
|
+
*/
|
|
10268
|
+
level: string;
|
|
10269
|
+
}
|
|
10270
|
+
interface AlertTemplateTemplateRuleLevelConditionCondition {
|
|
10271
|
+
/**
|
|
10272
|
+
* Comparison operators, such as >, >=, <, <=, !=, etc.
|
|
10273
|
+
*/
|
|
10274
|
+
comparisonOperator: string;
|
|
10275
|
+
/**
|
|
10276
|
+
* Evaluation window (seconds)
|
|
10277
|
+
*/
|
|
10278
|
+
evaluationWindow: number;
|
|
10279
|
+
/**
|
|
10280
|
+
* Metric name
|
|
10281
|
+
*/
|
|
10282
|
+
metricName: string;
|
|
10283
|
+
/**
|
|
10284
|
+
* Metric unit
|
|
10285
|
+
*/
|
|
10286
|
+
metricUnit: string;
|
|
10287
|
+
/**
|
|
10288
|
+
* Statistic method
|
|
10289
|
+
*/
|
|
10290
|
+
statistics: string;
|
|
10291
|
+
/**
|
|
10292
|
+
* Trigger threshold
|
|
10293
|
+
*/
|
|
10294
|
+
threshold: string;
|
|
10295
|
+
}
|
|
10296
|
+
interface AlertTemplateTemplateRuleNoData {
|
|
10297
|
+
/**
|
|
10298
|
+
* Enable no data alert
|
|
10299
|
+
*/
|
|
10300
|
+
enable: boolean;
|
|
10301
|
+
/**
|
|
10302
|
+
* Number of evaluation periods for no data determination
|
|
10303
|
+
*/
|
|
10304
|
+
evaluationCount: number;
|
|
10305
|
+
/**
|
|
10306
|
+
* Alert severity when triggered by no data
|
|
10307
|
+
*/
|
|
10308
|
+
level: string;
|
|
10309
|
+
}
|
|
10090
10310
|
interface ContactGroupContact {
|
|
10091
10311
|
/**
|
|
10092
10312
|
* Contact ID
|
|
10093
10313
|
*/
|
|
10094
10314
|
contactId: string;
|
|
10095
10315
|
}
|
|
10096
|
-
interface
|
|
10316
|
+
interface GetAlertTemplateNoData {
|
|
10097
10317
|
/**
|
|
10098
|
-
*
|
|
10318
|
+
* Enable no data alert
|
|
10099
10319
|
*/
|
|
10100
|
-
|
|
10320
|
+
enable: boolean;
|
|
10101
10321
|
/**
|
|
10102
|
-
*
|
|
10322
|
+
* Number of evaluation periods for no data determination
|
|
10103
10323
|
*/
|
|
10104
|
-
|
|
10324
|
+
evaluationCount: number;
|
|
10105
10325
|
/**
|
|
10106
|
-
*
|
|
10326
|
+
* Alert severity when triggered by no data
|
|
10327
|
+
*/
|
|
10328
|
+
level: string;
|
|
10329
|
+
}
|
|
10330
|
+
interface GetAlertTemplateObjectGroup {
|
|
10331
|
+
/**
|
|
10332
|
+
* Alert notification method list
|
|
10333
|
+
*/
|
|
10334
|
+
alertMethods: string[];
|
|
10335
|
+
/**
|
|
10336
|
+
* Contact Group ID List
|
|
10337
|
+
*/
|
|
10338
|
+
contactGroupIds: string[];
|
|
10339
|
+
/**
|
|
10340
|
+
* Effective end time
|
|
10341
|
+
*/
|
|
10342
|
+
effectEndAt: string;
|
|
10343
|
+
/**
|
|
10344
|
+
* Effective start time
|
|
10345
|
+
*/
|
|
10346
|
+
effectStartAt: string;
|
|
10347
|
+
/**
|
|
10348
|
+
* Notification policy ID
|
|
10349
|
+
*/
|
|
10350
|
+
notificationId: string;
|
|
10351
|
+
/**
|
|
10352
|
+
* Notification template list
|
|
10353
|
+
*/
|
|
10354
|
+
notifyTemplates: outputs.cloudmonitor.GetAlertTemplateObjectGroupNotifyTemplate[];
|
|
10355
|
+
/**
|
|
10356
|
+
* Object group ID
|
|
10357
|
+
*/
|
|
10358
|
+
objectGroupId: string;
|
|
10359
|
+
/**
|
|
10360
|
+
* Object group name, returned by the service side
|
|
10361
|
+
*/
|
|
10362
|
+
objectGroupName: string;
|
|
10363
|
+
/**
|
|
10364
|
+
* Webhook address
|
|
10365
|
+
*/
|
|
10366
|
+
webhook: string;
|
|
10367
|
+
/**
|
|
10368
|
+
* Webhook ID list
|
|
10369
|
+
*/
|
|
10370
|
+
webhookIds: string[];
|
|
10371
|
+
}
|
|
10372
|
+
interface GetAlertTemplateObjectGroupNotifyTemplate {
|
|
10373
|
+
/**
|
|
10374
|
+
* Notification channel, options: email/sms/phone/lark/dingtalk/wecom/slack/api
|
|
10375
|
+
*/
|
|
10376
|
+
channel: string;
|
|
10377
|
+
/**
|
|
10378
|
+
* Notification template ID
|
|
10379
|
+
*/
|
|
10380
|
+
notifyTemplateId: string;
|
|
10381
|
+
}
|
|
10382
|
+
interface GetAlertTemplateRecoveryNotify {
|
|
10383
|
+
/**
|
|
10384
|
+
* Enable recovery notification
|
|
10385
|
+
*/
|
|
10386
|
+
enable: boolean;
|
|
10387
|
+
}
|
|
10388
|
+
interface GetAlertTemplateTemplateRule {
|
|
10389
|
+
/**
|
|
10390
|
+
* List of alert rules generated by this rule, returned by the service side
|
|
10391
|
+
*/
|
|
10392
|
+
appliedRules: outputs.cloudmonitor.GetAlertTemplateTemplateRuleAppliedRule[];
|
|
10393
|
+
/**
|
|
10394
|
+
* Evaluation interval (seconds), returned by the service side
|
|
10395
|
+
*/
|
|
10396
|
+
checkInterval: number;
|
|
10397
|
+
/**
|
|
10398
|
+
* Multi-condition combination method
|
|
10399
|
+
*/
|
|
10400
|
+
conditionOperator: string;
|
|
10401
|
+
/**
|
|
10402
|
+
* Evaluation Count
|
|
10403
|
+
*/
|
|
10404
|
+
evaluationCount: number;
|
|
10405
|
+
/**
|
|
10406
|
+
* Evaluation interval (seconds)
|
|
10407
|
+
*/
|
|
10408
|
+
evaluationInterval: number;
|
|
10409
|
+
/**
|
|
10410
|
+
* Tiered alert condition list
|
|
10411
|
+
*/
|
|
10412
|
+
levelConditions: outputs.cloudmonitor.GetAlertTemplateTemplateRuleLevelCondition[];
|
|
10413
|
+
/**
|
|
10414
|
+
* Enable multi-condition mode
|
|
10415
|
+
*/
|
|
10416
|
+
multipleConditions: boolean;
|
|
10417
|
+
/**
|
|
10418
|
+
* Rule name
|
|
10107
10419
|
*/
|
|
10108
10420
|
name: string;
|
|
10109
10421
|
/**
|
|
10110
|
-
*
|
|
10422
|
+
* Metric namespace
|
|
10111
10423
|
*/
|
|
10112
|
-
|
|
10424
|
+
namespace: string;
|
|
10425
|
+
/**
|
|
10426
|
+
* No Data Alert Configuration
|
|
10427
|
+
*/
|
|
10428
|
+
noData: outputs.cloudmonitor.GetAlertTemplateTemplateRuleNoData;
|
|
10429
|
+
/**
|
|
10430
|
+
* Metric sub-namespace
|
|
10431
|
+
*/
|
|
10432
|
+
subNamespace: string;
|
|
10113
10433
|
}
|
|
10114
|
-
interface
|
|
10434
|
+
interface GetAlertTemplateTemplateRuleAppliedRule {
|
|
10115
10435
|
/**
|
|
10116
|
-
*
|
|
10436
|
+
* ID of the issued alert rule
|
|
10117
10437
|
*/
|
|
10118
|
-
|
|
10438
|
+
id: string;
|
|
10119
10439
|
/**
|
|
10120
|
-
*
|
|
10440
|
+
* Name of the issued alert rule
|
|
10121
10441
|
*/
|
|
10122
|
-
|
|
10442
|
+
name: string;
|
|
10123
10443
|
/**
|
|
10124
|
-
*
|
|
10444
|
+
* Associated object group ID
|
|
10445
|
+
*/
|
|
10446
|
+
objectGroupId: string;
|
|
10447
|
+
/**
|
|
10448
|
+
* Associated object ID
|
|
10449
|
+
*/
|
|
10450
|
+
objectId: string;
|
|
10451
|
+
}
|
|
10452
|
+
interface GetAlertTemplateTemplateRuleLevelCondition {
|
|
10453
|
+
/**
|
|
10454
|
+
* Condition list
|
|
10455
|
+
*/
|
|
10456
|
+
conditions: outputs.cloudmonitor.GetAlertTemplateTemplateRuleLevelConditionCondition[];
|
|
10457
|
+
/**
|
|
10458
|
+
* Alert severity, options: notice/warning/critical
|
|
10459
|
+
*/
|
|
10460
|
+
level: string;
|
|
10461
|
+
}
|
|
10462
|
+
interface GetAlertTemplateTemplateRuleLevelConditionCondition {
|
|
10463
|
+
/**
|
|
10464
|
+
* Comparison operators, such as >, >=, <, <=, !=, etc.
|
|
10465
|
+
*/
|
|
10466
|
+
comparisonOperator: string;
|
|
10467
|
+
/**
|
|
10468
|
+
* Evaluation window (seconds)
|
|
10125
10469
|
*/
|
|
10126
10470
|
evaluationWindow: number;
|
|
10127
10471
|
/**
|
|
10128
|
-
*
|
|
10472
|
+
* Metric name
|
|
10129
10473
|
*/
|
|
10130
10474
|
metricName: string;
|
|
10131
10475
|
/**
|
|
10132
|
-
*
|
|
10476
|
+
* Metric unit
|
|
10133
10477
|
*/
|
|
10134
10478
|
metricUnit: string;
|
|
10135
10479
|
/**
|
|
10136
|
-
*
|
|
10480
|
+
* Statistic method
|
|
10137
10481
|
*/
|
|
10138
|
-
|
|
10482
|
+
statistics: string;
|
|
10139
10483
|
/**
|
|
10140
|
-
*
|
|
10484
|
+
* Trigger threshold
|
|
10141
10485
|
*/
|
|
10142
|
-
|
|
10486
|
+
threshold: string;
|
|
10487
|
+
}
|
|
10488
|
+
interface GetAlertTemplateTemplateRuleNoData {
|
|
10143
10489
|
/**
|
|
10144
|
-
*
|
|
10490
|
+
* Enable no data alert
|
|
10145
10491
|
*/
|
|
10146
|
-
|
|
10492
|
+
enable: boolean;
|
|
10147
10493
|
/**
|
|
10148
|
-
*
|
|
10494
|
+
* Number of evaluation periods for no data determination
|
|
10149
10495
|
*/
|
|
10150
|
-
|
|
10496
|
+
evaluationCount: number;
|
|
10497
|
+
/**
|
|
10498
|
+
* Alert severity when triggered by no data
|
|
10499
|
+
*/
|
|
10500
|
+
level: string;
|
|
10151
10501
|
}
|
|
10152
|
-
interface
|
|
10502
|
+
interface GetContactGroupContact {
|
|
10153
10503
|
/**
|
|
10154
|
-
*
|
|
10504
|
+
* Contact ID
|
|
10155
10505
|
*/
|
|
10156
|
-
|
|
10506
|
+
contactId: string;
|
|
10157
10507
|
/**
|
|
10158
|
-
*
|
|
10508
|
+
* Contact email address
|
|
10159
10509
|
*/
|
|
10160
|
-
|
|
10510
|
+
email: string;
|
|
10161
10511
|
/**
|
|
10162
|
-
*
|
|
10512
|
+
* Contact name
|
|
10163
10513
|
*/
|
|
10164
|
-
|
|
10514
|
+
name: string;
|
|
10165
10515
|
/**
|
|
10166
|
-
*
|
|
10516
|
+
* Contact mobile number
|
|
10517
|
+
*/
|
|
10518
|
+
phone: string;
|
|
10519
|
+
}
|
|
10520
|
+
interface GetObjectGroupObject {
|
|
10521
|
+
/**
|
|
10522
|
+
* Dimension filter condition of the monitoring object
|
|
10523
|
+
*/
|
|
10524
|
+
dimensionConditions: outputs.cloudmonitor.GetObjectGroupObjectDimensionConditions;
|
|
10525
|
+
/**
|
|
10526
|
+
* Static dimension information of the monitoring object
|
|
10527
|
+
*/
|
|
10528
|
+
dimensions: outputs.cloudmonitor.GetObjectGroupObjectDimensions;
|
|
10529
|
+
/**
|
|
10530
|
+
* Unique identifier of the monitoring object in the object group, generated by the server
|
|
10531
|
+
*/
|
|
10532
|
+
id: string;
|
|
10533
|
+
/**
|
|
10534
|
+
* Namespace of the monitoring metric
|
|
10535
|
+
*/
|
|
10536
|
+
namespace: string;
|
|
10537
|
+
/**
|
|
10538
|
+
* Region of the monitoring object
|
|
10539
|
+
*/
|
|
10540
|
+
region: string;
|
|
10541
|
+
/**
|
|
10542
|
+
* Object access method, such as `Dimension` / `DimensionCondition`
|
|
10167
10543
|
*/
|
|
10168
10544
|
type: string;
|
|
10169
10545
|
}
|
|
10170
|
-
interface
|
|
10546
|
+
interface GetObjectGroupObjectDimensionConditions {
|
|
10171
10547
|
/**
|
|
10172
|
-
*
|
|
10548
|
+
* Meta dimension condition
|
|
10549
|
+
*/
|
|
10550
|
+
metaCondition: outputs.cloudmonitor.GetObjectGroupObjectDimensionConditionsMetaCondition;
|
|
10551
|
+
/**
|
|
10552
|
+
* Project dimension condition
|
|
10553
|
+
*/
|
|
10554
|
+
projectCondition: outputs.cloudmonitor.GetObjectGroupObjectDimensionConditionsProjectCondition;
|
|
10555
|
+
/**
|
|
10556
|
+
* Tag dimension condition
|
|
10557
|
+
*/
|
|
10558
|
+
tagCondition: outputs.cloudmonitor.GetObjectGroupObjectDimensionConditionsTagCondition;
|
|
10559
|
+
/**
|
|
10560
|
+
* Dimension filter type
|
|
10561
|
+
*/
|
|
10562
|
+
type: string;
|
|
10563
|
+
}
|
|
10564
|
+
interface GetObjectGroupObjectDimensionConditionsMetaCondition {
|
|
10565
|
+
/**
|
|
10566
|
+
* Whether to match all dimensions
|
|
10173
10567
|
*/
|
|
10174
10568
|
allDimensions: boolean;
|
|
10175
10569
|
/**
|
|
10176
|
-
* Condition
|
|
10570
|
+
* Condition combination method, such as `And` / `Or`
|
|
10177
10571
|
*/
|
|
10178
10572
|
condition: string;
|
|
10179
10573
|
/**
|
|
10180
|
-
*
|
|
10574
|
+
* Meta match item list
|
|
10181
10575
|
*/
|
|
10182
|
-
metas: outputs.cloudmonitor.
|
|
10576
|
+
metas: outputs.cloudmonitor.GetObjectGroupObjectDimensionConditionsMetaConditionMeta[];
|
|
10183
10577
|
}
|
|
10184
|
-
interface
|
|
10578
|
+
interface GetObjectGroupObjectDimensionConditionsMetaConditionMeta {
|
|
10185
10579
|
/**
|
|
10186
|
-
* Comparator
|
|
10580
|
+
* Comparator, such as `Contain`, `NotContain`, `Equal`, `NotEqual`, etc.
|
|
10187
10581
|
*/
|
|
10188
10582
|
comparator: string;
|
|
10189
10583
|
/**
|
|
10190
|
-
*
|
|
10584
|
+
* Meta key
|
|
10191
10585
|
*/
|
|
10192
10586
|
key: string;
|
|
10193
10587
|
/**
|
|
10194
|
-
*
|
|
10588
|
+
* Meta value list
|
|
10195
10589
|
*/
|
|
10196
10590
|
values: string[];
|
|
10197
10591
|
}
|
|
10198
|
-
interface
|
|
10592
|
+
interface GetObjectGroupObjectDimensionConditionsProjectCondition {
|
|
10199
10593
|
/**
|
|
10200
|
-
*
|
|
10594
|
+
* List of matched project names
|
|
10201
10595
|
*/
|
|
10202
10596
|
projects: string[];
|
|
10203
10597
|
}
|
|
10204
|
-
interface
|
|
10598
|
+
interface GetObjectGroupObjectDimensionConditionsTagCondition {
|
|
10205
10599
|
/**
|
|
10206
|
-
* Condition
|
|
10600
|
+
* Condition combination method, such as `And` / `Or`
|
|
10207
10601
|
*/
|
|
10208
10602
|
condition: string;
|
|
10209
10603
|
/**
|
|
10210
|
-
* Tag
|
|
10604
|
+
* Tag match item list
|
|
10211
10605
|
*/
|
|
10212
|
-
tags: outputs.cloudmonitor.
|
|
10606
|
+
tags: outputs.cloudmonitor.GetObjectGroupObjectDimensionConditionsTagConditionTag[];
|
|
10213
10607
|
}
|
|
10214
|
-
interface
|
|
10608
|
+
interface GetObjectGroupObjectDimensionConditionsTagConditionTag {
|
|
10215
10609
|
/**
|
|
10216
|
-
* Comparator
|
|
10610
|
+
* Comparator
|
|
10217
10611
|
*/
|
|
10218
10612
|
comparator: string;
|
|
10219
10613
|
/**
|
|
10220
|
-
* Tag key
|
|
10614
|
+
* Tag key
|
|
10221
10615
|
*/
|
|
10222
10616
|
key: string;
|
|
10223
10617
|
/**
|
|
10224
|
-
* Tag value
|
|
10618
|
+
* Tag value list
|
|
10225
10619
|
*/
|
|
10226
10620
|
values: string[];
|
|
10227
10621
|
}
|
|
10228
|
-
interface
|
|
10622
|
+
interface GetObjectGroupObjectDimensions {
|
|
10229
10623
|
/**
|
|
10230
|
-
*
|
|
10231
|
-
*/
|
|
10232
|
-
conditions: outputs.cloudmonitor.GetRuleLevelConditionCondition[];
|
|
10233
|
-
/**
|
|
10234
|
-
* Alert notification level. Options: notice: notification, warning: warning, critical: critical, recovery: recovery.
|
|
10624
|
+
* Resource ID list
|
|
10235
10625
|
*/
|
|
10236
|
-
|
|
10626
|
+
resourceIds: string[];
|
|
10237
10627
|
}
|
|
10238
|
-
interface
|
|
10628
|
+
interface GetRuleCondition {
|
|
10629
|
+
/**
|
|
10630
|
+
* 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.
|
|
10631
|
+
*/
|
|
10632
|
+
comparisonOperator: string;
|
|
10633
|
+
/**
|
|
10634
|
+
* Metric display name.
|
|
10635
|
+
*/
|
|
10636
|
+
displayName: string;
|
|
10637
|
+
/**
|
|
10638
|
+
* Evaluation window (minutes)
|
|
10639
|
+
*/
|
|
10640
|
+
evaluationWindow: number;
|
|
10641
|
+
/**
|
|
10642
|
+
* Monitoring metric name. For details, see MetricName for each product in Cloud Monitoring Metric Query.
|
|
10643
|
+
*/
|
|
10644
|
+
metricName: string;
|
|
10645
|
+
/**
|
|
10646
|
+
* Unit of the monitoring metric. For details, see MetricUnit for each product in Cloud Monitoring Metric Query. For period-over-period alerting, MetricUnit must be set to "Percent." Whether IEC is included in MetricUnit indicates different base values: With IEC: base is 1024; Without IEC: base is 1000.
|
|
10647
|
+
*/
|
|
10648
|
+
metricUnit: string;
|
|
10649
|
+
/**
|
|
10650
|
+
* Statistical period for monitoring metrics. For details, see Period for each product in Cloud Monitoring Metric Query.
|
|
10651
|
+
*/
|
|
10652
|
+
period: string;
|
|
10653
|
+
/**
|
|
10654
|
+
* Statistical method. Options: avg: average, max: maximum, min: minimum. The statistical method is applied to data within the detection time period. For example, the default detection time span is 1 minute. If the statistical method is avg, the average value of data within 1 minute is used.
|
|
10655
|
+
*/
|
|
10656
|
+
statistics: string;
|
|
10657
|
+
/**
|
|
10658
|
+
* Sub-namespace
|
|
10659
|
+
*/
|
|
10660
|
+
subNamespace: string;
|
|
10661
|
+
/**
|
|
10662
|
+
* Metric threshold. Supports positive numbers or 0. Up to three decimal places allowed.
|
|
10663
|
+
*/
|
|
10664
|
+
threshold: string;
|
|
10665
|
+
}
|
|
10666
|
+
interface GetRuleDimensionConditions {
|
|
10667
|
+
/**
|
|
10668
|
+
* Condition for selecting alert objects based on resource name. Required when Type is meta.
|
|
10669
|
+
*/
|
|
10670
|
+
metaCondition: outputs.cloudmonitor.GetRuleDimensionConditionsMetaCondition;
|
|
10671
|
+
/**
|
|
10672
|
+
* Condition for selecting alert targets by project. Required when Type is project.
|
|
10673
|
+
*/
|
|
10674
|
+
projectCondition: outputs.cloudmonitor.GetRuleDimensionConditionsProjectCondition;
|
|
10675
|
+
/**
|
|
10676
|
+
* Condition for selecting alert objects by tag. Required when Type is tag.
|
|
10677
|
+
*/
|
|
10678
|
+
tagCondition: outputs.cloudmonitor.GetRuleDimensionConditionsTagCondition;
|
|
10679
|
+
/**
|
|
10680
|
+
* Dimensions type. Values: project: Select alert targets by project. tag: Select alert targets by tag. meta: Select alert targets by resource name.
|
|
10681
|
+
*/
|
|
10682
|
+
type: string;
|
|
10683
|
+
}
|
|
10684
|
+
interface GetRuleDimensionConditionsMetaCondition {
|
|
10685
|
+
/**
|
|
10686
|
+
* Whether all resources are included. true: All resources. false: Partial resources.
|
|
10687
|
+
*/
|
|
10688
|
+
allDimensions: boolean;
|
|
10689
|
+
/**
|
|
10690
|
+
* Condition. and: All conditions met. or: Any condition met.
|
|
10691
|
+
*/
|
|
10692
|
+
condition: string;
|
|
10693
|
+
/**
|
|
10694
|
+
* Resource list. Up to 10 resource names can be configured. When Comparator is equal or not*equal, there is no limit on the length of the resource name. When Comparator is contain, not*contain, prefix*match, or suffix*match, the resource name cannot exceed 100 characters.
|
|
10695
|
+
*/
|
|
10696
|
+
metas: outputs.cloudmonitor.GetRuleDimensionConditionsMetaConditionMeta[];
|
|
10697
|
+
}
|
|
10698
|
+
interface GetRuleDimensionConditionsMetaConditionMeta {
|
|
10699
|
+
/**
|
|
10700
|
+
* Comparator for tag matching. contain: Contains. not*contain: Does not contain. prefix*match: Prefix match. suffix*match: Suffix match. equal: Equals. not*equal: Does not equal. exist: Exists.
|
|
10701
|
+
*/
|
|
10702
|
+
comparator: string;
|
|
10703
|
+
/**
|
|
10704
|
+
* Tag key.
|
|
10705
|
+
*/
|
|
10706
|
+
key: string;
|
|
10707
|
+
/**
|
|
10708
|
+
* Tag value (Value). When Comparator is exist, includes all Values corresponding to the Key and does not support input. When Comparator is equal or not*equal, supports multiple Value inputs. When Comparator is contain, not*contain, prefix*match, or suffix*match, only one Value can be entered.
|
|
10709
|
+
*/
|
|
10710
|
+
values: string[];
|
|
10711
|
+
}
|
|
10712
|
+
interface GetRuleDimensionConditionsProjectCondition {
|
|
10713
|
+
/**
|
|
10714
|
+
* Project name list, in array format. Separate multiple values with commas.
|
|
10715
|
+
*/
|
|
10716
|
+
projects: string[];
|
|
10717
|
+
}
|
|
10718
|
+
interface GetRuleDimensionConditionsTagCondition {
|
|
10719
|
+
/**
|
|
10720
|
+
* Condition. and: All conditions met. or: Any condition met.
|
|
10721
|
+
*/
|
|
10722
|
+
condition: string;
|
|
10723
|
+
/**
|
|
10724
|
+
* Tag list. Supports up to 10 tag lists. Tag value cannot exceed 50 characters.
|
|
10725
|
+
*/
|
|
10726
|
+
tags: outputs.cloudmonitor.GetRuleDimensionConditionsTagConditionTag[];
|
|
10727
|
+
}
|
|
10728
|
+
interface GetRuleDimensionConditionsTagConditionTag {
|
|
10729
|
+
/**
|
|
10730
|
+
* Comparator for tag matching. contain: Contains. not*contain: Does not contain. prefix*match: Prefix match. suffix*match: Suffix match. equal: Equals. not*equal: Does not equal. exist: Exists.
|
|
10731
|
+
*/
|
|
10732
|
+
comparator: string;
|
|
10733
|
+
/**
|
|
10734
|
+
* Tag key.
|
|
10735
|
+
*/
|
|
10736
|
+
key: string;
|
|
10737
|
+
/**
|
|
10738
|
+
* Tag value (Value). When Comparator is exist, includes all Values corresponding to the Key and does not support input. When Comparator is equal or not*equal, supports multiple Value inputs. When Comparator is contain, not*contain, prefix*match, or suffix*match, only one Value can be entered.
|
|
10739
|
+
*/
|
|
10740
|
+
values: string[];
|
|
10741
|
+
}
|
|
10742
|
+
interface GetRuleLevelCondition {
|
|
10743
|
+
/**
|
|
10744
|
+
* Alert severity configuration.
|
|
10745
|
+
*/
|
|
10746
|
+
conditions: outputs.cloudmonitor.GetRuleLevelConditionCondition[];
|
|
10747
|
+
/**
|
|
10748
|
+
* Alert notification level. Options: notice: notification, warning: warning, critical: critical, recovery: recovery.
|
|
10749
|
+
*/
|
|
10750
|
+
level: string;
|
|
10751
|
+
}
|
|
10752
|
+
interface GetRuleLevelConditionCondition {
|
|
10239
10753
|
/**
|
|
10240
10754
|
* 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.
|
|
10241
10755
|
*/
|
|
@@ -10323,6 +10837,116 @@ export declare namespace cloudmonitor {
|
|
|
10323
10837
|
*/
|
|
10324
10838
|
value: string;
|
|
10325
10839
|
}
|
|
10840
|
+
interface ObjectGroupObject {
|
|
10841
|
+
/**
|
|
10842
|
+
* Dimension filter condition of the monitoring object
|
|
10843
|
+
*/
|
|
10844
|
+
dimensionConditions: outputs.cloudmonitor.ObjectGroupObjectDimensionConditions;
|
|
10845
|
+
/**
|
|
10846
|
+
* Static dimension information of the monitoring object
|
|
10847
|
+
*/
|
|
10848
|
+
dimensions: outputs.cloudmonitor.ObjectGroupObjectDimensions;
|
|
10849
|
+
/**
|
|
10850
|
+
* Unique identifier of the monitoring object in the object group, generated by the server
|
|
10851
|
+
*/
|
|
10852
|
+
id: string;
|
|
10853
|
+
/**
|
|
10854
|
+
* Namespace of the monitoring metric
|
|
10855
|
+
*/
|
|
10856
|
+
namespace: string;
|
|
10857
|
+
/**
|
|
10858
|
+
* Region of the monitoring object
|
|
10859
|
+
*/
|
|
10860
|
+
region: string;
|
|
10861
|
+
/**
|
|
10862
|
+
* Object access method, such as `Dimension` / `DimensionCondition`
|
|
10863
|
+
*/
|
|
10864
|
+
type: string;
|
|
10865
|
+
}
|
|
10866
|
+
interface ObjectGroupObjectDimensionConditions {
|
|
10867
|
+
/**
|
|
10868
|
+
* Meta dimension condition
|
|
10869
|
+
*/
|
|
10870
|
+
metaCondition: outputs.cloudmonitor.ObjectGroupObjectDimensionConditionsMetaCondition;
|
|
10871
|
+
/**
|
|
10872
|
+
* Project dimension condition
|
|
10873
|
+
*/
|
|
10874
|
+
projectCondition: outputs.cloudmonitor.ObjectGroupObjectDimensionConditionsProjectCondition;
|
|
10875
|
+
/**
|
|
10876
|
+
* Tag dimension condition
|
|
10877
|
+
*/
|
|
10878
|
+
tagCondition: outputs.cloudmonitor.ObjectGroupObjectDimensionConditionsTagCondition;
|
|
10879
|
+
/**
|
|
10880
|
+
* Dimension filter type
|
|
10881
|
+
*/
|
|
10882
|
+
type: string;
|
|
10883
|
+
}
|
|
10884
|
+
interface ObjectGroupObjectDimensionConditionsMetaCondition {
|
|
10885
|
+
/**
|
|
10886
|
+
* Whether to match all dimensions
|
|
10887
|
+
*/
|
|
10888
|
+
allDimensions: boolean;
|
|
10889
|
+
/**
|
|
10890
|
+
* Condition combination method, such as `And` / `Or`
|
|
10891
|
+
*/
|
|
10892
|
+
condition: string;
|
|
10893
|
+
/**
|
|
10894
|
+
* Meta match item list
|
|
10895
|
+
* Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
|
|
10896
|
+
*/
|
|
10897
|
+
metas: outputs.cloudmonitor.ObjectGroupObjectDimensionConditionsMetaConditionMeta[];
|
|
10898
|
+
}
|
|
10899
|
+
interface ObjectGroupObjectDimensionConditionsMetaConditionMeta {
|
|
10900
|
+
/**
|
|
10901
|
+
* Comparator, such as `Contain`, `NotContain`, `Equal`, `NotEqual`, etc.
|
|
10902
|
+
*/
|
|
10903
|
+
comparator: string;
|
|
10904
|
+
/**
|
|
10905
|
+
* Meta key
|
|
10906
|
+
*/
|
|
10907
|
+
key: string;
|
|
10908
|
+
/**
|
|
10909
|
+
* Meta value list
|
|
10910
|
+
*/
|
|
10911
|
+
values: string[];
|
|
10912
|
+
}
|
|
10913
|
+
interface ObjectGroupObjectDimensionConditionsProjectCondition {
|
|
10914
|
+
/**
|
|
10915
|
+
* List of matched project names
|
|
10916
|
+
*/
|
|
10917
|
+
projects: string[];
|
|
10918
|
+
}
|
|
10919
|
+
interface ObjectGroupObjectDimensionConditionsTagCondition {
|
|
10920
|
+
/**
|
|
10921
|
+
* Condition combination method, such as `And` / `Or`
|
|
10922
|
+
*/
|
|
10923
|
+
condition: string;
|
|
10924
|
+
/**
|
|
10925
|
+
* Tag match item list
|
|
10926
|
+
* Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
|
|
10927
|
+
*/
|
|
10928
|
+
tags: outputs.cloudmonitor.ObjectGroupObjectDimensionConditionsTagConditionTag[];
|
|
10929
|
+
}
|
|
10930
|
+
interface ObjectGroupObjectDimensionConditionsTagConditionTag {
|
|
10931
|
+
/**
|
|
10932
|
+
* Comparator
|
|
10933
|
+
*/
|
|
10934
|
+
comparator: string;
|
|
10935
|
+
/**
|
|
10936
|
+
* Tag key
|
|
10937
|
+
*/
|
|
10938
|
+
key: string;
|
|
10939
|
+
/**
|
|
10940
|
+
* Tag value list
|
|
10941
|
+
*/
|
|
10942
|
+
values: string[];
|
|
10943
|
+
}
|
|
10944
|
+
interface ObjectGroupObjectDimensions {
|
|
10945
|
+
/**
|
|
10946
|
+
* Resource ID list
|
|
10947
|
+
*/
|
|
10948
|
+
resourceIds: string[];
|
|
10949
|
+
}
|
|
10326
10950
|
interface RuleCondition {
|
|
10327
10951
|
/**
|
|
10328
10952
|
* 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.
|
|
@@ -19233,6 +19857,48 @@ export declare namespace mongodb {
|
|
|
19233
19857
|
*/
|
|
19234
19858
|
zoneId: string;
|
|
19235
19859
|
}
|
|
19860
|
+
interface GetInstanceBackup {
|
|
19861
|
+
/**
|
|
19862
|
+
* Download status of the backup file. Valid values: NotDownLoad: backup file not obtained. Success: backup file available for download. Running: backup file being obtained.
|
|
19863
|
+
*/
|
|
19864
|
+
backupDownloadStatus: string;
|
|
19865
|
+
/**
|
|
19866
|
+
* Backup end time, format: yyyy-MM-ddTHH:mm:ssZ (UTC).
|
|
19867
|
+
*/
|
|
19868
|
+
backupEndTime: string;
|
|
19869
|
+
/**
|
|
19870
|
+
* Backup file name.
|
|
19871
|
+
*/
|
|
19872
|
+
backupFileName: string;
|
|
19873
|
+
/**
|
|
19874
|
+
* Backup file size, unit: Byte.
|
|
19875
|
+
*/
|
|
19876
|
+
backupFileSize: number;
|
|
19877
|
+
/**
|
|
19878
|
+
* Backup ID.
|
|
19879
|
+
*/
|
|
19880
|
+
backupId: string;
|
|
19881
|
+
/**
|
|
19882
|
+
* Backup target. Valid values: Data: data backup. Log: log backup.
|
|
19883
|
+
*/
|
|
19884
|
+
backupObject: string;
|
|
19885
|
+
/**
|
|
19886
|
+
* Backup start time, format: yyyy-MM-ddTHH:mm:ssZ (UTC).
|
|
19887
|
+
*/
|
|
19888
|
+
backupStartTime: string;
|
|
19889
|
+
/**
|
|
19890
|
+
* Backup status. Valid values: Success: backup succeeded. Failed: backup failed. Running: backup in progress.
|
|
19891
|
+
*/
|
|
19892
|
+
backupStatus: string;
|
|
19893
|
+
/**
|
|
19894
|
+
* Backup type. Valid values: Physical: physical backup. Logical: logical backup.
|
|
19895
|
+
*/
|
|
19896
|
+
backupType: string;
|
|
19897
|
+
/**
|
|
19898
|
+
* Entity that created the backup. Valid values: System: system automatic backup. User: user manual backup.
|
|
19899
|
+
*/
|
|
19900
|
+
creator: string;
|
|
19901
|
+
}
|
|
19236
19902
|
interface GetInstanceConfigServer {
|
|
19237
19903
|
/**
|
|
19238
19904
|
* ConfigServer node ID
|
|
@@ -19399,6 +20065,16 @@ export declare namespace mongodb {
|
|
|
19399
20065
|
*/
|
|
19400
20066
|
zoneId: string;
|
|
19401
20067
|
}
|
|
20068
|
+
interface GetInstanceRecoverableTime {
|
|
20069
|
+
/**
|
|
20070
|
+
* Earliest recoverable time point for the instance, format: yyyy-MM-ddTHH:mm:ssZ (UTC).
|
|
20071
|
+
*/
|
|
20072
|
+
earliestRecoverableTime: string;
|
|
20073
|
+
/**
|
|
20074
|
+
* Latest recoverable time point for the instance, format: yyyy-MM-ddTHH:mm:ssZ (UTC).
|
|
20075
|
+
*/
|
|
20076
|
+
latestRecoverableTime: string;
|
|
20077
|
+
}
|
|
19402
20078
|
interface GetInstanceShard {
|
|
19403
20079
|
/**
|
|
19404
20080
|
* List of node information in each Shard.
|
|
@@ -19469,6 +20145,48 @@ export declare namespace mongodb {
|
|
|
19469
20145
|
*/
|
|
19470
20146
|
value: string;
|
|
19471
20147
|
}
|
|
20148
|
+
interface InstanceBackup {
|
|
20149
|
+
/**
|
|
20150
|
+
* Download status of the backup file. Valid values: NotDownLoad: backup file not obtained. Success: backup file available for download. Running: backup file being obtained.
|
|
20151
|
+
*/
|
|
20152
|
+
backupDownloadStatus: string;
|
|
20153
|
+
/**
|
|
20154
|
+
* Backup end time, format: yyyy-MM-ddTHH:mm:ssZ (UTC).
|
|
20155
|
+
*/
|
|
20156
|
+
backupEndTime: string;
|
|
20157
|
+
/**
|
|
20158
|
+
* Backup file name.
|
|
20159
|
+
*/
|
|
20160
|
+
backupFileName: string;
|
|
20161
|
+
/**
|
|
20162
|
+
* Backup file size, unit: Byte.
|
|
20163
|
+
*/
|
|
20164
|
+
backupFileSize: number;
|
|
20165
|
+
/**
|
|
20166
|
+
* Backup ID.
|
|
20167
|
+
*/
|
|
20168
|
+
backupId: string;
|
|
20169
|
+
/**
|
|
20170
|
+
* Backup target. Valid values: Data: data backup. Log: log backup.
|
|
20171
|
+
*/
|
|
20172
|
+
backupObject: string;
|
|
20173
|
+
/**
|
|
20174
|
+
* Backup start time, format: yyyy-MM-ddTHH:mm:ssZ (UTC).
|
|
20175
|
+
*/
|
|
20176
|
+
backupStartTime: string;
|
|
20177
|
+
/**
|
|
20178
|
+
* Backup status. Valid values: Success: backup succeeded. Failed: backup failed. Running: backup in progress.
|
|
20179
|
+
*/
|
|
20180
|
+
backupStatus: string;
|
|
20181
|
+
/**
|
|
20182
|
+
* Backup type. Valid values: Physical: physical backup. Logical: logical backup.
|
|
20183
|
+
*/
|
|
20184
|
+
backupType: string;
|
|
20185
|
+
/**
|
|
20186
|
+
* Entity that created the backup. Valid values: System: system automatic backup. User: user manual backup.
|
|
20187
|
+
*/
|
|
20188
|
+
creator: string;
|
|
20189
|
+
}
|
|
19472
20190
|
interface InstanceConfigServer {
|
|
19473
20191
|
/**
|
|
19474
20192
|
* ConfigServer node ID
|
|
@@ -19611,6 +20329,16 @@ export declare namespace mongodb {
|
|
|
19611
20329
|
*/
|
|
19612
20330
|
zoneId: string;
|
|
19613
20331
|
}
|
|
20332
|
+
interface InstanceRecoverableTime {
|
|
20333
|
+
/**
|
|
20334
|
+
* Earliest recoverable time point for the instance, format: yyyy-MM-ddTHH:mm:ssZ (UTC).
|
|
20335
|
+
*/
|
|
20336
|
+
earliestRecoverableTime: string;
|
|
20337
|
+
/**
|
|
20338
|
+
* Latest recoverable time point for the instance, format: yyyy-MM-ddTHH:mm:ssZ (UTC).
|
|
20339
|
+
*/
|
|
20340
|
+
latestRecoverableTime: string;
|
|
20341
|
+
}
|
|
19614
20342
|
interface InstanceShard {
|
|
19615
20343
|
/**
|
|
19616
20344
|
* List of node information in each Shard.
|
|
@@ -20992,6 +21720,20 @@ export declare namespace rdsmssql {
|
|
|
20992
21720
|
*/
|
|
20993
21721
|
subnetId: string;
|
|
20994
21722
|
}
|
|
21723
|
+
interface GetInstanceCrossBackupPolicy {
|
|
21724
|
+
/**
|
|
21725
|
+
* Whether to enable cross-region backup. The values are as follows: true: Cross-region backup is enabled. false: Cross-region backup is disabled.
|
|
21726
|
+
*/
|
|
21727
|
+
backupEnabled: boolean;
|
|
21728
|
+
/**
|
|
21729
|
+
* ID of the cross-region backup destination region. This parameter is required when BackupEnabled is set to true.
|
|
21730
|
+
*/
|
|
21731
|
+
crossBackupRegion: string;
|
|
21732
|
+
/**
|
|
21733
|
+
* Number of days to retain cross-region backups. The valid range is 7–1825 days. The default value is 7.
|
|
21734
|
+
*/
|
|
21735
|
+
retention: number;
|
|
21736
|
+
}
|
|
20995
21737
|
interface GetInstanceNodeDetailInfo {
|
|
20996
21738
|
/**
|
|
20997
21739
|
* Node creation time.
|
|
@@ -21056,6 +21798,42 @@ export declare namespace rdsmssql {
|
|
|
21056
21798
|
*/
|
|
21057
21799
|
value: string;
|
|
21058
21800
|
}
|
|
21801
|
+
interface GetInstanceTdeConfig {
|
|
21802
|
+
/**
|
|
21803
|
+
* Certificate file used for TDE encryption. You can enter a TOS path in the format \n\n:\n\n:\n\n. Valid only when TDEMode is set to User_Default.
|
|
21804
|
+
*/
|
|
21805
|
+
certificate: string;
|
|
21806
|
+
/**
|
|
21807
|
+
* Database encryption status.
|
|
21808
|
+
*/
|
|
21809
|
+
dbStatuses: outputs.rdsmssql.GetInstanceTdeConfigDbStatus[];
|
|
21810
|
+
/**
|
|
21811
|
+
* Password for the private key of the certificate used in TDE encryption. Valid only when TDEMode is set to User*Default. The password must be 8–32 characters long and can only contain uppercase and lowercase letters, numbers, and special characters ~!@#$%^&*()-*+=?. It must include at least three of the following: uppercase letters, lowercase letters, numbers, or special characters. Note: This is only valid when the TDEMode parameter is set to User_Default.
|
|
21812
|
+
*/
|
|
21813
|
+
password: string;
|
|
21814
|
+
/**
|
|
21815
|
+
* Private key for the certificate used in TDE encryption. You can enter a TOS path in the format \n\n:\n\n:\n\n. Valid only when TDEMode is set to User_Default.
|
|
21816
|
+
*/
|
|
21817
|
+
privateKey: string;
|
|
21818
|
+
/**
|
|
21819
|
+
* Instance TDE encryption certificate generation mode. MSSQL*Default: Encryption certificate generated by SQL Server. User*Default: Custom certificate uploaded by the user.
|
|
21820
|
+
*/
|
|
21821
|
+
tdeMode: string;
|
|
21822
|
+
/**
|
|
21823
|
+
* Instance TDE status. Enable: The instance TDE status is enabled. Disable: The instance TDE status is disabled. Currently, only Enable is supported.
|
|
21824
|
+
*/
|
|
21825
|
+
tdeStatus: string;
|
|
21826
|
+
}
|
|
21827
|
+
interface GetInstanceTdeConfigDbStatus {
|
|
21828
|
+
/**
|
|
21829
|
+
* Database name.
|
|
21830
|
+
*/
|
|
21831
|
+
dbName: string;
|
|
21832
|
+
/**
|
|
21833
|
+
* Whether encryption is enabled. true: The database is encrypted. false: The database is decrypted.
|
|
21834
|
+
*/
|
|
21835
|
+
enable: boolean;
|
|
21836
|
+
}
|
|
21059
21837
|
interface InstanceChargeInfo {
|
|
21060
21838
|
/**
|
|
21061
21839
|
* Auto-renewal for prepaid scenarios. true: auto-renew (default). false: do not auto-renew.
|
|
@@ -21147,6 +21925,20 @@ export declare namespace rdsmssql {
|
|
|
21147
21925
|
*/
|
|
21148
21926
|
subnetId: string;
|
|
21149
21927
|
}
|
|
21928
|
+
interface InstanceCrossBackupPolicy {
|
|
21929
|
+
/**
|
|
21930
|
+
* Whether to enable cross-region backup. The values are as follows: true: Cross-region backup is enabled. false: Cross-region backup is disabled.
|
|
21931
|
+
*/
|
|
21932
|
+
backupEnabled: boolean;
|
|
21933
|
+
/**
|
|
21934
|
+
* ID of the cross-region backup destination region. This parameter is required when BackupEnabled is set to true.
|
|
21935
|
+
*/
|
|
21936
|
+
crossBackupRegion: string;
|
|
21937
|
+
/**
|
|
21938
|
+
* Number of days to retain cross-region backups. The valid range is 7–1825 days. The default value is 7.
|
|
21939
|
+
*/
|
|
21940
|
+
retention: number;
|
|
21941
|
+
}
|
|
21150
21942
|
interface InstanceNodeDetailInfo {
|
|
21151
21943
|
/**
|
|
21152
21944
|
* Node creation time.
|
|
@@ -21211,6 +22003,43 @@ export declare namespace rdsmssql {
|
|
|
21211
22003
|
*/
|
|
21212
22004
|
value: string;
|
|
21213
22005
|
}
|
|
22006
|
+
interface InstanceTdeConfig {
|
|
22007
|
+
/**
|
|
22008
|
+
* Certificate file used for TDE encryption. You can enter a TOS path in the format \n\n:\n\n:\n\n. Valid only when TDEMode is set to User_Default.
|
|
22009
|
+
*/
|
|
22010
|
+
certificate: string;
|
|
22011
|
+
/**
|
|
22012
|
+
* Database encryption status.
|
|
22013
|
+
* Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
|
|
22014
|
+
*/
|
|
22015
|
+
dbStatuses: outputs.rdsmssql.InstanceTdeConfigDbStatus[];
|
|
22016
|
+
/**
|
|
22017
|
+
* Password for the private key of the certificate used in TDE encryption. Valid only when TDEMode is set to User*Default. The password must be 8–32 characters long and can only contain uppercase and lowercase letters, numbers, and special characters ~!@#$%^&*()-*+=?. It must include at least three of the following: uppercase letters, lowercase letters, numbers, or special characters. Note: This is only valid when the TDEMode parameter is set to User_Default.
|
|
22018
|
+
*/
|
|
22019
|
+
password: string;
|
|
22020
|
+
/**
|
|
22021
|
+
* Private key for the certificate used in TDE encryption. You can enter a TOS path in the format \n\n:\n\n:\n\n. Valid only when TDEMode is set to User_Default.
|
|
22022
|
+
*/
|
|
22023
|
+
privateKey: string;
|
|
22024
|
+
/**
|
|
22025
|
+
* Instance TDE encryption certificate generation mode. MSSQL*Default: Encryption certificate generated by SQL Server. User*Default: Custom certificate uploaded by the user.
|
|
22026
|
+
*/
|
|
22027
|
+
tdeMode: string;
|
|
22028
|
+
/**
|
|
22029
|
+
* Instance TDE status. Enable: The instance TDE status is enabled. Disable: The instance TDE status is disabled. Currently, only Enable is supported.
|
|
22030
|
+
*/
|
|
22031
|
+
tdeStatus: string;
|
|
22032
|
+
}
|
|
22033
|
+
interface InstanceTdeConfigDbStatus {
|
|
22034
|
+
/**
|
|
22035
|
+
* Database name.
|
|
22036
|
+
*/
|
|
22037
|
+
dbName: string;
|
|
22038
|
+
/**
|
|
22039
|
+
* Whether encryption is enabled. true: The database is encrypted. false: The database is decrypted.
|
|
22040
|
+
*/
|
|
22041
|
+
enable: boolean;
|
|
22042
|
+
}
|
|
21214
22043
|
}
|
|
21215
22044
|
export declare namespace rdsmysql {
|
|
21216
22045
|
interface AllowListAssociatedInstance {
|
|
@@ -23791,6 +24620,36 @@ export declare namespace redis {
|
|
|
23791
24620
|
*/
|
|
23792
24621
|
status: string;
|
|
23793
24622
|
}
|
|
24623
|
+
interface GetInstanceBackupPlan {
|
|
24624
|
+
/**
|
|
24625
|
+
* Whether to enable automatic backup. The value range is as follows: false (default): Disabled. true: Enabled.
|
|
24626
|
+
*/
|
|
24627
|
+
active: boolean;
|
|
24628
|
+
/**
|
|
24629
|
+
* Backup window (UTC+8). The value can be any integer from 0 to 23. 0 means the system performs the backup between 00:00 and 00:59, 1 means between 01:00 and 01:59, and so on.
|
|
24630
|
+
*/
|
|
24631
|
+
backupHour: number;
|
|
24632
|
+
/**
|
|
24633
|
+
* Restore method. The value range is as follows: Full: Full restore, that is, restore by backup set. Inc: Incremental restore, that is, restore by point in time.
|
|
24634
|
+
*/
|
|
24635
|
+
backupType: string;
|
|
24636
|
+
/**
|
|
24637
|
+
* Expected time for the next backup execution, in the format yyyy-MM-ddTHH:mm:ssZ (UTC).
|
|
24638
|
+
*/
|
|
24639
|
+
expectNextBackupTime: string;
|
|
24640
|
+
/**
|
|
24641
|
+
* Last time the backup policy was modified, in the format yyyy-MM-ddTHH:mm:ssZ (UTC).
|
|
24642
|
+
*/
|
|
24643
|
+
lastUpdateTime: string;
|
|
24644
|
+
/**
|
|
24645
|
+
* Backup cycle. The value can be any integer from 1 to 7. 1 means backup is performed every Monday, 2 means every Tuesday, and so on. This parameter is required when automatic backup is enabled (that is, when Active is set to true).
|
|
24646
|
+
*/
|
|
24647
|
+
periods: number[];
|
|
24648
|
+
/**
|
|
24649
|
+
* Backup file retention period, default is 7 days.
|
|
24650
|
+
*/
|
|
24651
|
+
ttl: number;
|
|
24652
|
+
}
|
|
23794
24653
|
interface GetInstanceBackupRestore {
|
|
23795
24654
|
/**
|
|
23796
24655
|
* Backup ID, used to specify which backup to use when restoring from a backup set
|
|
@@ -23971,6 +24830,36 @@ export declare namespace redis {
|
|
|
23971
24830
|
*/
|
|
23972
24831
|
status: string;
|
|
23973
24832
|
}
|
|
24833
|
+
interface InstanceBackupPlan {
|
|
24834
|
+
/**
|
|
24835
|
+
* Whether to enable automatic backup. The value range is as follows: false (default): Disabled. true: Enabled.
|
|
24836
|
+
*/
|
|
24837
|
+
active: boolean;
|
|
24838
|
+
/**
|
|
24839
|
+
* Backup window (UTC+8). The value can be any integer from 0 to 23. 0 means the system performs the backup between 00:00 and 00:59, 1 means between 01:00 and 01:59, and so on.
|
|
24840
|
+
*/
|
|
24841
|
+
backupHour: number;
|
|
24842
|
+
/**
|
|
24843
|
+
* Restore method. The value range is as follows: Full: Full restore, that is, restore by backup set. Inc: Incremental restore, that is, restore by point in time.
|
|
24844
|
+
*/
|
|
24845
|
+
backupType: string;
|
|
24846
|
+
/**
|
|
24847
|
+
* Expected time for the next backup execution, in the format yyyy-MM-ddTHH:mm:ssZ (UTC).
|
|
24848
|
+
*/
|
|
24849
|
+
expectNextBackupTime: string;
|
|
24850
|
+
/**
|
|
24851
|
+
* Last time the backup policy was modified, in the format yyyy-MM-ddTHH:mm:ssZ (UTC).
|
|
24852
|
+
*/
|
|
24853
|
+
lastUpdateTime: string;
|
|
24854
|
+
/**
|
|
24855
|
+
* Backup cycle. The value can be any integer from 1 to 7. 1 means backup is performed every Monday, 2 means every Tuesday, and so on. This parameter is required when automatic backup is enabled (that is, when Active is set to true).
|
|
24856
|
+
*/
|
|
24857
|
+
periods: number[];
|
|
24858
|
+
/**
|
|
24859
|
+
* Backup file retention period, default is 7 days.
|
|
24860
|
+
*/
|
|
24861
|
+
ttl: number;
|
|
24862
|
+
}
|
|
23974
24863
|
interface InstanceBackupRestore {
|
|
23975
24864
|
/**
|
|
23976
24865
|
* Backup ID, used to specify which backup to use when restoring from a backup set
|
|
@@ -24133,6 +25022,208 @@ export declare namespace resourceshare {
|
|
|
24133
25022
|
value: string;
|
|
24134
25023
|
}
|
|
24135
25024
|
}
|
|
25025
|
+
export declare namespace securitycenter {
|
|
25026
|
+
interface AgentAutoProtectConfig {
|
|
25027
|
+
/**
|
|
25028
|
+
* Enable auto protection
|
|
25029
|
+
*/
|
|
25030
|
+
enable: boolean;
|
|
25031
|
+
/**
|
|
25032
|
+
* Auto protection configuration update time (timestamp)
|
|
25033
|
+
*/
|
|
25034
|
+
updateTime: number;
|
|
25035
|
+
}
|
|
25036
|
+
interface AgentEcsInstance {
|
|
25037
|
+
/**
|
|
25038
|
+
* Host AccessKey information
|
|
25039
|
+
*/
|
|
25040
|
+
accessKey: string;
|
|
25041
|
+
/**
|
|
25042
|
+
* Host account ID
|
|
25043
|
+
*/
|
|
25044
|
+
accountId: string;
|
|
25045
|
+
/**
|
|
25046
|
+
* CPU core count
|
|
25047
|
+
*/
|
|
25048
|
+
cpu: number;
|
|
25049
|
+
/**
|
|
25050
|
+
* Host creation time
|
|
25051
|
+
*/
|
|
25052
|
+
createdAt: string;
|
|
25053
|
+
/**
|
|
25054
|
+
* ECS information update time
|
|
25055
|
+
*/
|
|
25056
|
+
ecsUpdateAt: string;
|
|
25057
|
+
/**
|
|
25058
|
+
* Public IP address
|
|
25059
|
+
*/
|
|
25060
|
+
eipAddress: string;
|
|
25061
|
+
/**
|
|
25062
|
+
* Host name
|
|
25063
|
+
*/
|
|
25064
|
+
hostName: string;
|
|
25065
|
+
/**
|
|
25066
|
+
* Instance name
|
|
25067
|
+
*/
|
|
25068
|
+
instanceName: string;
|
|
25069
|
+
/**
|
|
25070
|
+
* Host IP list
|
|
25071
|
+
*/
|
|
25072
|
+
ipLists: string[];
|
|
25073
|
+
/**
|
|
25074
|
+
* Memory size
|
|
25075
|
+
*/
|
|
25076
|
+
mem: number;
|
|
25077
|
+
/**
|
|
25078
|
+
* Operating system name
|
|
25079
|
+
*/
|
|
25080
|
+
osName: string;
|
|
25081
|
+
/**
|
|
25082
|
+
* Operating system type
|
|
25083
|
+
*/
|
|
25084
|
+
osType: string;
|
|
25085
|
+
/**
|
|
25086
|
+
* Platform
|
|
25087
|
+
*/
|
|
25088
|
+
platform: string;
|
|
25089
|
+
/**
|
|
25090
|
+
* Platform version
|
|
25091
|
+
*/
|
|
25092
|
+
platformVersion: string;
|
|
25093
|
+
/**
|
|
25094
|
+
* Main private IP address
|
|
25095
|
+
*/
|
|
25096
|
+
primaryIpAddress: string;
|
|
25097
|
+
/**
|
|
25098
|
+
* Region
|
|
25099
|
+
*/
|
|
25100
|
+
region: string;
|
|
25101
|
+
/**
|
|
25102
|
+
* Security hardening policy
|
|
25103
|
+
*/
|
|
25104
|
+
securityEnhancementStrategy: string;
|
|
25105
|
+
/**
|
|
25106
|
+
* Host status
|
|
25107
|
+
*/
|
|
25108
|
+
status: string;
|
|
25109
|
+
/**
|
|
25110
|
+
* Visibility
|
|
25111
|
+
*/
|
|
25112
|
+
visibility: string;
|
|
25113
|
+
/**
|
|
25114
|
+
* Private network VPC ID
|
|
25115
|
+
*/
|
|
25116
|
+
vpcId: string;
|
|
25117
|
+
/**
|
|
25118
|
+
* Private network VPC name
|
|
25119
|
+
*/
|
|
25120
|
+
vpcName: string;
|
|
25121
|
+
/**
|
|
25122
|
+
* Zone ID
|
|
25123
|
+
*/
|
|
25124
|
+
zoneId: string;
|
|
25125
|
+
}
|
|
25126
|
+
interface GetAgentAutoProtectConfig {
|
|
25127
|
+
/**
|
|
25128
|
+
* Enable auto protection
|
|
25129
|
+
*/
|
|
25130
|
+
enable: boolean;
|
|
25131
|
+
/**
|
|
25132
|
+
* Auto protection configuration update time (timestamp)
|
|
25133
|
+
*/
|
|
25134
|
+
updateTime: number;
|
|
25135
|
+
}
|
|
25136
|
+
interface GetAgentEcsInstance {
|
|
25137
|
+
/**
|
|
25138
|
+
* Host AccessKey information
|
|
25139
|
+
*/
|
|
25140
|
+
accessKey: string;
|
|
25141
|
+
/**
|
|
25142
|
+
* Host account ID
|
|
25143
|
+
*/
|
|
25144
|
+
accountId: string;
|
|
25145
|
+
/**
|
|
25146
|
+
* CPU core count
|
|
25147
|
+
*/
|
|
25148
|
+
cpu: number;
|
|
25149
|
+
/**
|
|
25150
|
+
* Host creation time
|
|
25151
|
+
*/
|
|
25152
|
+
createdAt: string;
|
|
25153
|
+
/**
|
|
25154
|
+
* ECS information update time
|
|
25155
|
+
*/
|
|
25156
|
+
ecsUpdateAt: string;
|
|
25157
|
+
/**
|
|
25158
|
+
* Public IP address
|
|
25159
|
+
*/
|
|
25160
|
+
eipAddress: string;
|
|
25161
|
+
/**
|
|
25162
|
+
* Host name
|
|
25163
|
+
*/
|
|
25164
|
+
hostName: string;
|
|
25165
|
+
/**
|
|
25166
|
+
* Instance name
|
|
25167
|
+
*/
|
|
25168
|
+
instanceName: string;
|
|
25169
|
+
/**
|
|
25170
|
+
* Host IP list
|
|
25171
|
+
*/
|
|
25172
|
+
ipLists: string[];
|
|
25173
|
+
/**
|
|
25174
|
+
* Memory size
|
|
25175
|
+
*/
|
|
25176
|
+
mem: number;
|
|
25177
|
+
/**
|
|
25178
|
+
* Operating system name
|
|
25179
|
+
*/
|
|
25180
|
+
osName: string;
|
|
25181
|
+
/**
|
|
25182
|
+
* Operating system type
|
|
25183
|
+
*/
|
|
25184
|
+
osType: string;
|
|
25185
|
+
/**
|
|
25186
|
+
* Platform
|
|
25187
|
+
*/
|
|
25188
|
+
platform: string;
|
|
25189
|
+
/**
|
|
25190
|
+
* Platform version
|
|
25191
|
+
*/
|
|
25192
|
+
platformVersion: string;
|
|
25193
|
+
/**
|
|
25194
|
+
* Main private IP address
|
|
25195
|
+
*/
|
|
25196
|
+
primaryIpAddress: string;
|
|
25197
|
+
/**
|
|
25198
|
+
* Region
|
|
25199
|
+
*/
|
|
25200
|
+
region: string;
|
|
25201
|
+
/**
|
|
25202
|
+
* Security hardening policy
|
|
25203
|
+
*/
|
|
25204
|
+
securityEnhancementStrategy: string;
|
|
25205
|
+
/**
|
|
25206
|
+
* Host status
|
|
25207
|
+
*/
|
|
25208
|
+
status: string;
|
|
25209
|
+
/**
|
|
25210
|
+
* Visibility
|
|
25211
|
+
*/
|
|
25212
|
+
visibility: string;
|
|
25213
|
+
/**
|
|
25214
|
+
* Private network VPC ID
|
|
25215
|
+
*/
|
|
25216
|
+
vpcId: string;
|
|
25217
|
+
/**
|
|
25218
|
+
* Private network VPC name
|
|
25219
|
+
*/
|
|
25220
|
+
vpcName: string;
|
|
25221
|
+
/**
|
|
25222
|
+
* Zone ID
|
|
25223
|
+
*/
|
|
25224
|
+
zoneId: string;
|
|
25225
|
+
}
|
|
25226
|
+
}
|
|
24136
25227
|
export declare namespace storageebs {
|
|
24137
25228
|
interface GetSnapshotGroupSnapshot {
|
|
24138
25229
|
/**
|
|
@@ -31846,27 +32937,27 @@ export declare namespace vke {
|
|
|
31846
32937
|
}
|
|
31847
32938
|
interface GetNodePoolAutoScaling {
|
|
31848
32939
|
/**
|
|
31849
|
-
* Configure the expected number of nodes in the node pool
|
|
32940
|
+
* Configure the expected number of nodes in the node pool. Value description: Default is 0. Range: 0–2000. Note: When auto scaling is enabled for the node pool, DesiredReplicas must be greater than or equal to MinReplicas and less than or equal to MaxReplicas.
|
|
31850
32941
|
*/
|
|
31851
32942
|
desiredReplicas: number;
|
|
31852
32943
|
/**
|
|
31853
|
-
* Configure the node pool auto scaling feature switch. Parameter values: false: disabled. true: enabled.
|
|
32944
|
+
* Configure the node pool auto scaling feature switch. Parameter values: false (default): disabled. true: enabled.
|
|
31854
32945
|
*/
|
|
31855
32946
|
enabled: boolean;
|
|
31856
32947
|
/**
|
|
31857
|
-
*
|
|
32948
|
+
* Set the maximum number of nodes in the node pool. This takes effect only when auto scaling is enabled (Enabled=true). The number of nodes will not exceed this value during node pool scaling.
|
|
31858
32949
|
*/
|
|
31859
32950
|
maxReplicas: number;
|
|
31860
32951
|
/**
|
|
31861
|
-
* Minimum number of nodes
|
|
32952
|
+
* Minimum number of nodes in the node pool. Only effective when node pool auto scaling is enabled (Enabled=true). The number of nodes will not fall below this value during auto scaling.
|
|
31862
32953
|
*/
|
|
31863
32954
|
minReplicas: number;
|
|
31864
32955
|
/**
|
|
31865
|
-
* Priority
|
|
32956
|
+
* Elastic scaling priority of the node pool. Effective only when SubnetPolicy=Priority. The higher the value, the higher the priority.
|
|
31866
32957
|
*/
|
|
31867
32958
|
priority: number;
|
|
31868
32959
|
/**
|
|
31869
|
-
* Scaling group ID
|
|
32960
|
+
* Scaling group ID associated with the node pool.
|
|
31870
32961
|
*/
|
|
31871
32962
|
scalingGroupId: string;
|
|
31872
32963
|
/**
|
|
@@ -31876,7 +32967,7 @@ export declare namespace vke {
|
|
|
31876
32967
|
}
|
|
31877
32968
|
interface GetNodePoolKubernetesConfig {
|
|
31878
32969
|
/**
|
|
31879
|
-
* Disable automatic synchronization of labels and taints to existing nodes. Parameter
|
|
32970
|
+
* Disable automatic synchronization of labels and taints to existing nodes. Parameter value description: true: Disable, i.e., turn off automatic synchronization. false: (Default) Do not disable, i.e., enable automatic synchronization.
|
|
31880
32971
|
*/
|
|
31881
32972
|
autoSyncDisabled: boolean;
|
|
31882
32973
|
/**
|
|
@@ -31884,19 +32975,19 @@ export declare namespace vke {
|
|
|
31884
32975
|
*/
|
|
31885
32976
|
containerdConfig: outputs.vke.GetNodePoolKubernetesConfigContainerdConfig;
|
|
31886
32977
|
/**
|
|
31887
|
-
* Node blocking configuration.
|
|
32978
|
+
* Node blocking configuration. Options: false: (default) Not blocked. true: Blocked. Note: When updating the node pool (UpdateNodePoolConfig), if no parameter value is provided, the original parameter configuration is retained.
|
|
31888
32979
|
*/
|
|
31889
32980
|
cordon: boolean;
|
|
31890
32981
|
/**
|
|
31891
|
-
*
|
|
32982
|
+
* Custom kubelet parameter configuration for nodes in the node pool, used to adjust node behavior.
|
|
31892
32983
|
*/
|
|
31893
32984
|
kubeletConfig: outputs.vke.GetNodePoolKubernetesConfigKubeletConfig;
|
|
31894
32985
|
/**
|
|
31895
|
-
* Kubernetes label information for node
|
|
32986
|
+
* Kubernetes label information for the node pool/nodes. Up to 20 labels can be specified. Note: The node pool centrally manages node label configurations, so label information is synchronized to all nodes in the pool. When labels change, the original label configuration will be overwritten.
|
|
31896
32987
|
*/
|
|
31897
32988
|
labels: outputs.vke.GetNodePoolKubernetesConfigLabel[];
|
|
31898
32989
|
/**
|
|
31899
|
-
* Prefix for node
|
|
32990
|
+
* Prefix for the metadata name of node objects in Kubernetes. Disabled by default. If set, it is enabled and will affect the metadata.name prefix displayed in the Kubernetes Node Manifest file. Prefix validation rules: Supports lowercase English letters, numbers, hyphens (-), and periods (.); must start with a lowercase English letter or number; length must be 1–48 characters.
|
|
31900
32991
|
*/
|
|
31901
32992
|
namePrefix: string;
|
|
31902
32993
|
/**
|
|
@@ -31904,17 +32995,17 @@ export declare namespace vke {
|
|
|
31904
32995
|
*/
|
|
31905
32996
|
nameSuffix: string;
|
|
31906
32997
|
/**
|
|
31907
|
-
* Whether the
|
|
32998
|
+
* Whether to use the ECS host name as the metadata name for node objects in Kubernetes. Options: true: Use ECS host name as node name. false: Do not use ECS host name as node name. Note: This setting takes precedence over NamePrefix and NameSuffix.
|
|
31908
32999
|
*/
|
|
31909
33000
|
nameUseHostname: boolean;
|
|
31910
33001
|
/**
|
|
31911
|
-
* Kubernetes
|
|
33002
|
+
* Kubernetes taints information for the node pool/nodes. You can specify up to 20 taints. Note: The node pool manages taint configuration uniformly, so taint information is synchronized to all nodes in the pool. When taints are changed, the original taint configuration will be overwritten.
|
|
31912
33003
|
*/
|
|
31913
33004
|
taints: outputs.vke.GetNodePoolKubernetesConfigTaint[];
|
|
31914
33005
|
}
|
|
31915
33006
|
interface GetNodePoolKubernetesConfigContainerdConfig {
|
|
31916
33007
|
/**
|
|
31917
|
-
* Specify
|
|
33008
|
+
* Specify container image registry addresses to skip certificate authentication. The format is a domain name or IP address without protocol, and can include a port number, for example: example.com or example.com:8080. Supports up to 10 domain names or IP addresses.
|
|
31918
33009
|
*/
|
|
31919
33010
|
insecureRegistries: string[];
|
|
31920
33011
|
/**
|
|
@@ -31924,57 +33015,57 @@ export declare namespace vke {
|
|
|
31924
33015
|
}
|
|
31925
33016
|
interface GetNodePoolKubernetesConfigContainerdConfigRegistryProxyConfig {
|
|
31926
33017
|
/**
|
|
31927
|
-
* Proxy address.
|
|
33018
|
+
* Proxy address. Format: domain name or IP address with protocol, may include port number, for example: https://example.com or https://example.com:8080. Supports up to 5 domain names or IP addresses.
|
|
31928
33019
|
*/
|
|
31929
33020
|
proxyEndpoints: string[];
|
|
31930
33021
|
/**
|
|
31931
|
-
* Container image repository address.
|
|
33022
|
+
* Container image repository address. The format is a domain name or IP address without protocol, and may include a port number, for example: example.com or example.com:8080.
|
|
31932
33023
|
*/
|
|
31933
33024
|
registry: string;
|
|
31934
33025
|
}
|
|
31935
33026
|
interface GetNodePoolKubernetesConfigKubeletConfig {
|
|
31936
33027
|
/**
|
|
31937
|
-
*
|
|
33028
|
+
* CPU manager policy. Options: none: Default policy. static: Allows Pods with certain resource characteristics on the node to have stronger CPU affinity and exclusivity.
|
|
31938
33029
|
*/
|
|
31939
33030
|
cpuManagerPolicy: string;
|
|
31940
33031
|
/**
|
|
31941
|
-
*
|
|
33032
|
+
* A set of hard thresholds that trigger Pod eviction. For detailed parameter explanations, see the Kubernetes official documentation (https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/). To explicitly disable, set the threshold for any resource to 0% or 100%. Default values: memory.available: "100Mi", nodefs.available: "10%", nodefs.inodesFree: "5%", imagefs.available: "15%".
|
|
31942
33033
|
*/
|
|
31943
33034
|
evictionHards: outputs.vke.GetNodePoolKubernetesConfigKubeletConfigEvictionHard[];
|
|
31944
33035
|
/**
|
|
31945
|
-
* Feature
|
|
33036
|
+
* Feature gates, which are a set of key-value pairs that describe Kubernetes features. Note: These feature gates are only supported in clusters running Kubernetes v1.26 or earlier.
|
|
31946
33037
|
*/
|
|
31947
33038
|
featureGates: outputs.vke.GetNodePoolKubernetesConfigKubeletConfigFeatureGates;
|
|
31948
33039
|
/**
|
|
31949
|
-
* Maximum burst request
|
|
33040
|
+
* Maximum burst request count sent to APIServer per second. Integer value, range: 1–100, default is 10. Note: This value must be greater than or equal to the value of the KubeApiQps parameter.
|
|
31950
33041
|
*/
|
|
31951
33042
|
kubeApiBurst: number;
|
|
31952
33043
|
/**
|
|
31953
|
-
*
|
|
33044
|
+
* Number of queries per second (QPS) to APIServer. Integer, range: 1–50, default is 5.
|
|
31954
33045
|
*/
|
|
31955
33046
|
kubeApiQps: number;
|
|
31956
33047
|
/**
|
|
31957
|
-
* Resources reserved for Kubernetes system components on the node. By default, half of the default value in the node
|
|
33048
|
+
* Resources reserved for Kubernetes system components on the node. By default, reserves half of the default value specified in the node resource reservation policy.
|
|
31958
33049
|
*/
|
|
31959
33050
|
kubeReserveds: outputs.vke.GetNodePoolKubernetesConfigKubeletConfigKubeReserved[];
|
|
31960
33051
|
/**
|
|
31961
|
-
*
|
|
33052
|
+
* Maximum number of Pods supported by the node. Default is 110.
|
|
31962
33053
|
*/
|
|
31963
33054
|
maxPods: number;
|
|
31964
33055
|
/**
|
|
31965
|
-
*
|
|
33056
|
+
* Burst threshold for pulling images from the image registry in the cluster. Integer value, range: 1–100, default is 5. Note: Only required when RegistryPullQps is greater than 0, and the value must be greater than or equal to the value of the RegistryPullQps parameter.
|
|
31966
33057
|
*/
|
|
31967
33058
|
registryBurst: number;
|
|
31968
33059
|
/**
|
|
31969
|
-
*
|
|
33060
|
+
* QPS threshold for pulling images from the image registry in the cluster. Integer value, range: 1–50, default is 2.
|
|
31970
33061
|
*/
|
|
31971
33062
|
registryPullQps: number;
|
|
31972
33063
|
/**
|
|
31973
|
-
* Pull images
|
|
33064
|
+
* Enable serial image pulling. Values: true: Pull images serially. false: (Default) Pull images in parallel to speed up Pod startup.
|
|
31974
33065
|
*/
|
|
31975
33066
|
serializeImagePulls: boolean;
|
|
31976
33067
|
/**
|
|
31977
|
-
* Resources reserved for the operating system on the node. By default, half of the default value in the node reserved resource policy is
|
|
33068
|
+
* Resources reserved for the operating system on the node. By default, half of the default value in the node reserved resource policy is allocated.
|
|
31978
33069
|
*/
|
|
31979
33070
|
systemReserveds: outputs.vke.GetNodePoolKubernetesConfigKubeletConfigSystemReserved[];
|
|
31980
33071
|
/**
|
|
@@ -31992,17 +33083,17 @@ export declare namespace vke {
|
|
|
31992
33083
|
*/
|
|
31993
33084
|
key: string;
|
|
31994
33085
|
/**
|
|
31995
|
-
* Hard threshold value.
|
|
33086
|
+
* Hard threshold value. Supports integer or percentage format: Integer format specifies the actual resource threshold in bytes, for example, 100Mi. Percentage format specifies the resource threshold as a proportion, range: 0%–100%, for example, 20%. To explicitly disable, set the threshold to 0% or 100% for any resource.
|
|
31996
33087
|
*/
|
|
31997
33088
|
value: string;
|
|
31998
33089
|
}
|
|
31999
33090
|
interface GetNodePoolKubernetesConfigKubeletConfigFeatureGates {
|
|
32000
33091
|
/**
|
|
32001
|
-
* Enable
|
|
33092
|
+
* Enable Pod vertical scaling. Options: true: enabled. false: disabled.
|
|
32002
33093
|
*/
|
|
32003
33094
|
inPlacePodVerticalScaling: boolean;
|
|
32004
33095
|
/**
|
|
32005
|
-
* Whether to enable the
|
|
33096
|
+
* Whether to enable the QoS resource manager to support micro-topology scheduling. Values: true: Enable the QoS resource manager. false: (default) Do not enable the QoS resource manager.
|
|
32006
33097
|
*/
|
|
32007
33098
|
qoSResourceManager: boolean;
|
|
32008
33099
|
}
|
|
@@ -32012,7 +33103,7 @@ export declare namespace vke {
|
|
|
32012
33103
|
*/
|
|
32013
33104
|
name: string;
|
|
32014
33105
|
/**
|
|
32015
|
-
* Specify the resource quantity.
|
|
33106
|
+
* Specify the resource quantity. For cpu, example value is 200m. For memory, example value is 1G.
|
|
32016
33107
|
*/
|
|
32017
33108
|
quantity: string;
|
|
32018
33109
|
}
|
|
@@ -32022,17 +33113,17 @@ export declare namespace vke {
|
|
|
32022
33113
|
*/
|
|
32023
33114
|
name: string;
|
|
32024
33115
|
/**
|
|
32025
|
-
*
|
|
33116
|
+
* Specify the resource quantity. For cpu, example value is 200m. For memory, example value is 1G.
|
|
32026
33117
|
*/
|
|
32027
33118
|
quantity: string;
|
|
32028
33119
|
}
|
|
32029
33120
|
interface GetNodePoolKubernetesConfigLabel {
|
|
32030
33121
|
/**
|
|
32031
|
-
* Tag key.
|
|
33122
|
+
* Tag key. A valid tag key consists of two segments: prefix and name, separated by a slash (/). The name is required and supports English letters (upper and lower case), numbers, hyphens (-), underscores (_), and periods (.), must start and end with a letter or number, and cannot exceed 63 characters. The prefix is optional; if specified, it must be a DNS subdomain: a series of DNS labels separated by periods (.), not exceeding 253 characters. The total length of prefix and name must not exceed 82 characters.
|
|
32032
33123
|
*/
|
|
32033
33124
|
key: string;
|
|
32034
33125
|
/**
|
|
32035
|
-
*
|
|
33126
|
+
* Tag value. Maximum length is 63 characters (can be empty). Must start and end with English letters or numbers. Supports special characters: hyphen (-), underscore (_), period (.).
|
|
32036
33127
|
*/
|
|
32037
33128
|
value: string;
|
|
32038
33129
|
}
|
|
@@ -32042,117 +33133,117 @@ export declare namespace vke {
|
|
|
32042
33133
|
*/
|
|
32043
33134
|
effect: string;
|
|
32044
33135
|
/**
|
|
32045
|
-
* Taint key.
|
|
33136
|
+
* Taint key. A valid taint key consists of two segments: prefix and name, separated by a slash (/). The name is required and supports English letters (upper and lower case), numbers, hyphens (-), underscores (_), and periods (.), must start and end with a letter or number, and cannot exceed 63 characters. The prefix is optional; if specified, it must be a DNS subdomain: a series of DNS labels separated by periods (.), not exceeding 253 characters. The total length of prefix and name must not exceed 82 characters.
|
|
32046
33137
|
*/
|
|
32047
33138
|
key: string;
|
|
32048
33139
|
/**
|
|
32049
|
-
* Taint value
|
|
33140
|
+
* Taint value. Maximum length is 63 characters (can be empty). Must start and end with an English letter (upper or lower case) or a number. Supports special characters: hyphen (-), underscore (_), and period (.).
|
|
32050
33141
|
*/
|
|
32051
33142
|
value: string;
|
|
32052
33143
|
}
|
|
32053
33144
|
interface GetNodePoolManagement {
|
|
32054
33145
|
/**
|
|
32055
|
-
* Enable managed mode for node pool. Options:
|
|
33146
|
+
* Enable managed mode for the node pool. Options: true: Enabled. false: Disabled.
|
|
32056
33147
|
*/
|
|
32057
33148
|
enabled: boolean;
|
|
32058
33149
|
/**
|
|
32059
|
-
*
|
|
33150
|
+
* Node pool health check and self-healing rule configuration.
|
|
32060
33151
|
*/
|
|
32061
33152
|
remedyConfig: outputs.vke.GetNodePoolManagementRemedyConfig;
|
|
32062
33153
|
}
|
|
32063
33154
|
interface GetNodePoolManagementRemedyConfig {
|
|
32064
33155
|
/**
|
|
32065
|
-
*
|
|
33156
|
+
* Whether to enable the self-healing check after enabling managed mode for the node pool. Values: true: enable; false: disable.
|
|
32066
33157
|
*/
|
|
32067
33158
|
enabled: boolean;
|
|
32068
33159
|
/**
|
|
32069
|
-
* Self-healing rule ID
|
|
33160
|
+
* Self-healing rule ID associated after enabling self-healing check for the node pool.
|
|
32070
33161
|
*/
|
|
32071
33162
|
remedyId: string;
|
|
32072
33163
|
}
|
|
32073
33164
|
interface GetNodePoolNodeConfig {
|
|
32074
33165
|
/**
|
|
32075
|
-
* Whether the first data disk of the node
|
|
33166
|
+
* Whether to configure the first data disk of the node, format it, and mount it to the container and image storage directory (/var/lib/containerd). Options: false: (default) Disabled. true: Enabled. Note: When enabled, at least one data disk must be configured; otherwise, node pool creation will fail. This method will automatically format the first data disk and create the file system.
|
|
32076
33167
|
*/
|
|
32077
33168
|
additionalContainerStorageEnabled: boolean;
|
|
32078
33169
|
/**
|
|
32079
|
-
* Whether the
|
|
33170
|
+
* Whether the ECS instance will be automatically renewed upon expiration. Options: true (default): auto renewal. false: no auto renewal. Only required when InstanceChargeType=PrePaid; otherwise, ignore.
|
|
32080
33171
|
*/
|
|
32081
33172
|
autoRenew: boolean;
|
|
32082
33173
|
/**
|
|
32083
|
-
*
|
|
33174
|
+
* ECS instance auto-renewal duration, in months. Values: 1 (default), 2, 3, 6, 12. Only required when AutoRenew=true; otherwise, ignore.
|
|
32084
33175
|
*/
|
|
32085
33176
|
autoRenewPeriod: number;
|
|
32086
33177
|
/**
|
|
32087
|
-
* Node data disk configuration.
|
|
33178
|
+
* Node data disk configuration. You can call the DescribeInstanceTypes API of the cloud server to obtain the matching relationship between ECS instance families and cloud disk specifications.
|
|
32088
33179
|
*/
|
|
32089
33180
|
dataVolumes: outputs.vke.GetNodePoolNodeConfigDataVolume[];
|
|
32090
33181
|
/**
|
|
32091
|
-
*
|
|
33182
|
+
* When the specified deployment set policy is the deployment set group high availability policy, you can use this parameter to specify the group number of the instance in the deployment set. Value range: 1–3. 0 means not set.
|
|
32092
33183
|
*/
|
|
32093
33184
|
deploymentSetGroupNumber: number;
|
|
32094
33185
|
/**
|
|
32095
|
-
* Deployment
|
|
33186
|
+
* Deployment set ID that nodes in the node pool need to join. You can call the DescribeDeploymentSets API to obtain the deployment set ID.
|
|
32096
33187
|
*/
|
|
32097
33188
|
deploymentSetId: string;
|
|
32098
33189
|
/**
|
|
32099
|
-
*
|
|
33190
|
+
* Host name corresponding to the node. Supports defining fixed incremental sorting and dynamic expansion sorting. For details on the definition format, see naming format.
|
|
32100
33191
|
*/
|
|
32101
33192
|
hostname: string;
|
|
32102
33193
|
/**
|
|
32103
|
-
* High
|
|
33194
|
+
* High Performance Computing Cluster ID. When creating a node pool with a high-performance computing GPU type, you must specify the High Performance Computing Cluster ID, which can be obtained from the 'Instances & Images > High Performance Computing Cluster' page in the cloud server console. Note: Only one High Performance Computing Cluster ID is supported; ensure the specified cluster and the subnets in SubnetIds are in the same availability zone.
|
|
32104
33195
|
*/
|
|
32105
33196
|
hpcClusterIds: string[];
|
|
32106
33197
|
/**
|
|
32107
|
-
*
|
|
33198
|
+
* The image ID used by the ECS instance corresponding to the node. Different image types have different image IDs. For details, see Public Images Supported by Container Service. Note: If you do not specify this parameter, Container Service will assign the veLinux-VKE image ID corresponding to the selected ECS instance type by default. If you specify multiple instance types, this parameter is required.
|
|
32108
33199
|
*/
|
|
32109
33200
|
imageId: string;
|
|
32110
33201
|
/**
|
|
32111
|
-
* Custom script
|
|
33202
|
+
* Custom script to execute after creating and initializing the node. Supports Shell format and must be Base64-encoded before being passed in. Note: The Base64-encoded length must not exceed 8 KB. If both InitializeScript and PreScript are provided, the total length of both parameters must not exceed 8 KB.
|
|
32112
33203
|
*/
|
|
32113
33204
|
initializeScript: string;
|
|
32114
33205
|
/**
|
|
32115
|
-
*
|
|
33206
|
+
* ECS instance billing type. Values: PostPaid (default): pay-as-you-go. PrePaid: subscription.
|
|
32116
33207
|
*/
|
|
32117
33208
|
instanceChargeType: string;
|
|
32118
33209
|
/**
|
|
32119
|
-
*
|
|
33210
|
+
* Name of the node (instance). Supports defining fixed incremental sorting and dynamic expansion sorting. For format details, see naming format.
|
|
32120
33211
|
*/
|
|
32121
33212
|
instanceName: string;
|
|
32122
33213
|
/**
|
|
32123
|
-
* List of cloud server instance type
|
|
33214
|
+
* List of instance type IDs for cloud server (ECS) instances corresponding to the nodes. This list serves as the candidate set of instance types when creating nodes in the node pool, not as a fixed quota for each type: the node pool selects instance types from the list based on available inventory and other factors. Different nodes in the same node pool may use different types from the list, or all may use the same type. Each type does not correspond to an independent node count quota. To strictly split node counts by type, create a separate node pool for each type. You can call the ListSupportedResourceTypes API to query the resource types and ranges supported by the cluster instance. Constraints: Up to ten array elements are supported; all types in the list must be consistent, such as all GPU types, all non-GPU types, or all bare metal types; when multiple types are provided, the ImageId parameter is required.
|
|
32124
33215
|
*/
|
|
32125
33216
|
instanceTypeIds: string[];
|
|
32126
33217
|
/**
|
|
32127
|
-
*
|
|
33218
|
+
* Configure a mixed strategy for spot instances and on-demand instances. This strategy takes effect when SpotStrategy is SpotAsPriceGo.
|
|
32128
33219
|
*/
|
|
32129
33220
|
instancesDistribution: outputs.vke.GetNodePoolNodeConfigInstancesDistribution;
|
|
32130
33221
|
/**
|
|
32131
|
-
* Node name prefix.
|
|
33222
|
+
* Node name prefix. If the value is an empty string or nil, it indicates that the node name prefix policy is not enabled. This policy is not enabled by default. Prefix validation rules: supports uppercase and lowercase English letters, numbers, and hyphens (-); must start with a letter and end with a letter or number; hyphens (-) cannot be used consecutively; length must be between 2 and 51 characters.
|
|
32132
33223
|
*/
|
|
32133
33224
|
namePrefix: string;
|
|
32134
33225
|
/**
|
|
32135
|
-
* Network communication mode between nodes
|
|
33226
|
+
* Network communication mode between nodes. Options: HighPerformance: Communication method based on RDMA for data transmission. Standard: Communication method based on TCP for data transmission.
|
|
32136
33227
|
*/
|
|
32137
33228
|
networkTrafficMode: string;
|
|
32138
33229
|
/**
|
|
32139
|
-
*
|
|
33230
|
+
* ECS instance purchase duration, in months. Values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36. Only required and mandatory when InstanceChargeType=PrePaid.
|
|
32140
33231
|
*/
|
|
32141
33232
|
period: number;
|
|
32142
33233
|
/**
|
|
32143
|
-
* Script
|
|
33234
|
+
* [Invitation Test · Apply for Trial] Script executed before deploying the node. Enter the Shell script encoded in Base64. Note: The length after Base64 encoding must not exceed 8 KB. If both InitializeScript and PreScript are provided, the total length of both parameters must not exceed 8 KB.
|
|
32144
33235
|
*/
|
|
32145
33236
|
preScript: string;
|
|
32146
33237
|
/**
|
|
32147
|
-
* Project to which the ECS belongs. Each ECS can only belong to one project.
|
|
33238
|
+
* Project name to which the ECS expanded from the node pool belongs. Each ECS can only belong to one project. Only English letters, numbers, underscores (_), periods (.), and hyphens (-) are allowed. Maximum length is 64 characters. Default is default.
|
|
32148
33239
|
*/
|
|
32149
33240
|
projectName: string;
|
|
32150
33241
|
/**
|
|
32151
|
-
* Configuration for
|
|
33242
|
+
* Configuration information for automatically binding EIP to nodes.
|
|
32152
33243
|
*/
|
|
32153
33244
|
publicAccessConfig: outputs.vke.GetNodePoolNodeConfigPublicAccessConfig;
|
|
32154
33245
|
/**
|
|
32155
|
-
* Enable public
|
|
33246
|
+
* Enable automatic public IP (EIP) binding for nodes. Options: false: (default) Disabled. The system will not automatically assign an EIP to the node. If you need public network access later, refer to Applying for a Public IP and Binding to a Cloud Server. true: Enabled. The system automatically assigns an EIP to nodes in the cluster. You must also configure the PublicAccessConfig parameter to customize the EIP settings.
|
|
32156
33247
|
*/
|
|
32157
33248
|
publicAccessEnabled: boolean;
|
|
32158
33249
|
/**
|
|
@@ -32160,25 +33251,25 @@ export declare namespace vke {
|
|
|
32160
33251
|
*/
|
|
32161
33252
|
security: outputs.vke.GetNodePoolNodeConfigSecurity;
|
|
32162
33253
|
/**
|
|
32163
|
-
* Spot pricing strategy for
|
|
33254
|
+
* Spot pricing strategy for on-demand billing applies only when InstanceChargeType=PostPaid. Options: NoSpot (default): standard on-demand instance. SpotAsPriceGo: system automatically bids, following the current market price.
|
|
32164
33255
|
*/
|
|
32165
33256
|
spotStrategy: string;
|
|
32166
33257
|
/**
|
|
32167
|
-
* List of subnet IDs
|
|
33258
|
+
* List of subnet IDs to which the node network belongs. You can call the private network API to obtain subnet IDs. Note: Must be in the same private network as the cluster. A single node pool supports up to 8 subnet IDs.
|
|
32168
33259
|
*/
|
|
32169
33260
|
subnetIds: string[];
|
|
32170
33261
|
/**
|
|
32171
|
-
* System disk configuration for the node
|
|
33262
|
+
* System disk configuration for the node. You can call the DescribeInstanceTypes API of the cloud server to obtain the matching relationship between ECS instance families and disk specifications.
|
|
32172
33263
|
*/
|
|
32173
33264
|
systemVolume: outputs.vke.GetNodePoolNodeConfigSystemVolume;
|
|
32174
33265
|
/**
|
|
32175
|
-
*
|
|
33266
|
+
* Tag information bound to the ECS instance corresponding to the node, used for searching and managing ECS instances. Note: Keys in Tags must be unique. If a resource already has the same Tags.Key, binding the same Tags.Key again will not cause an error and will update to the latest Tags.Value. A single resource supports up to 20 ECS instance tags. Do not enter spaces at the beginning or end of Keys or Values in Tags.
|
|
32176
33267
|
*/
|
|
32177
33268
|
tags: outputs.vke.GetNodePoolNodeConfigTag[];
|
|
32178
33269
|
}
|
|
32179
33270
|
interface GetNodePoolNodeConfigDataVolume {
|
|
32180
33271
|
/**
|
|
32181
|
-
* File system.
|
|
33272
|
+
* [Invitation Test · Apply for Trial] File system for the node pool data disk. Values: Ext4 (default), Xfs.
|
|
32182
33273
|
*/
|
|
32183
33274
|
fileSystem: string;
|
|
32184
33275
|
/**
|
|
@@ -32186,7 +33277,7 @@ export declare namespace vke {
|
|
|
32186
33277
|
*/
|
|
32187
33278
|
mountPoint: string;
|
|
32188
33279
|
/**
|
|
32189
|
-
*
|
|
33280
|
+
* Storage placement group ID to which the data disk belongs.
|
|
32190
33281
|
*/
|
|
32191
33282
|
placementGroupId: string;
|
|
32192
33283
|
/**
|
|
@@ -32194,33 +33285,33 @@ export declare namespace vke {
|
|
|
32194
33285
|
*/
|
|
32195
33286
|
size: number;
|
|
32196
33287
|
/**
|
|
32197
|
-
*
|
|
33288
|
+
* Snapshot ID used when creating a data disk from a snapshot. You can call the DescribeSnapshots API to query the snapshot ID. Note: Only ultra-fast SSDs and efficient cloud disks support creating cloud disks from snapshots. Only snapshots in the 'available' state can be used to create new cloud disks. Snapshots in 'creating', 'rolling back', 'deleting', or 'error' states cannot be used to create new cloud disks.
|
|
32198
33289
|
*/
|
|
32199
33290
|
snapshotId: string;
|
|
32200
33291
|
/**
|
|
32201
|
-
*
|
|
33292
|
+
* Storage sub-placement group number of the data disk.
|
|
32202
33293
|
*/
|
|
32203
33294
|
subgroupNumber: number;
|
|
32204
33295
|
/**
|
|
32205
|
-
* Disk
|
|
33296
|
+
* Disk types. Cloud disks: ESSD*PL0: Ultra-fast SSD cloud disk, PL0 specification. ESSD*FlexPL: Ultra-fast SSD cloud disk, FlexPL specification. Ultra*Disk: [EBS Invitation Test] High-performance SSD cloud disk. TSSD*TL0: Throughput SSD cloud disk, TL0 specification. RSSD*PL0: [EBS Invitation Test] Elastic remote disk, PL0 specification. Local disks: LOCAL*SSD: SSD type local disk. LOCAL*HDD: HDD type local disk. LOCAL*LVM*SSD: SSD LVM logical local disk. LOCAL*SSD_SRIOV: SSD SRIOV local disk.
|
|
32206
33297
|
*/
|
|
32207
33298
|
type: string;
|
|
32208
33299
|
}
|
|
32209
33300
|
interface GetNodePoolNodeConfigInstancesDistribution {
|
|
32210
33301
|
/**
|
|
32211
|
-
*
|
|
33302
|
+
* Whether to enable capacity rebalancing (on-demand instance supplementation for preemptible capacity). Values: true: enable this feature to proactively create new preemptible instances for compensation before existing preemptible instances are reclaimed; false (default): do not enable this feature, and only scale out to replenish instances after preemptible instances are reclaimed.
|
|
32212
33303
|
*/
|
|
32213
33304
|
capacityRebalance: boolean;
|
|
32214
33305
|
/**
|
|
32215
|
-
*
|
|
33306
|
+
* Enable on-demand instance replacement. Values: true: Enable this feature. When all preemptible instances fail to be purchased due to insufficient inventory or other reasons, attempt to purchase on-demand instances. false: (Default) Do not enable this feature. When scaling out preemptible instances, only the configured preemptible instances are attempted.
|
|
32216
33307
|
*/
|
|
32217
33308
|
compensateWithOnDemand: boolean;
|
|
32218
33309
|
/**
|
|
32219
|
-
*
|
|
33310
|
+
* Base capacity size. The base capacity portion is fixed as on-demand instances. Value range: [0,500], default is 0.
|
|
32220
33311
|
*/
|
|
32221
33312
|
onDemandBaseCapacity: number;
|
|
32222
33313
|
/**
|
|
32223
|
-
* Proportion of pay-as-you-go instances in the
|
|
33314
|
+
* Proportion of pay-as-you-go instances in the remaining capacity of the node pool after deducting the base capacity for pay-as-you-go instances. Value range: [0,100]. 0 means only preemptible instances are created for the portion exceeding the base capacity; 100 means only pay-as-you-go instances are created. Default value is 0.
|
|
32224
33315
|
*/
|
|
32225
33316
|
onDemandPercentageAboveBaseCapacity: number;
|
|
32226
33317
|
}
|
|
@@ -32230,11 +33321,11 @@ export declare namespace vke {
|
|
|
32230
33321
|
*/
|
|
32231
33322
|
bandwidth: number;
|
|
32232
33323
|
/**
|
|
32233
|
-
* Billing type for public IP: 2: pay-as-you-go by bandwidth cap. 3: pay-as-you-go by actual traffic.
|
|
33324
|
+
* Billing type for public IP. Values: 2: pay-as-you-go by bandwidth cap. 3: pay-as-you-go by actual traffic.
|
|
32234
33325
|
*/
|
|
32235
33326
|
billingType: number;
|
|
32236
33327
|
/**
|
|
32237
|
-
* Public IP line type. Parameter description: BGP: BGP (multi-line)
|
|
33328
|
+
* Public IP line type. Parameter value description: BGP: BGP (multi-line).
|
|
32238
33329
|
*/
|
|
32239
33330
|
isp: string;
|
|
32240
33331
|
}
|
|
@@ -32272,15 +33363,15 @@ export declare namespace vke {
|
|
|
32272
33363
|
}
|
|
32273
33364
|
interface GetNodePoolNodeConfigSystemVolume {
|
|
32274
33365
|
/**
|
|
32275
|
-
*
|
|
33366
|
+
* Storage placement group ID of the system disk.
|
|
32276
33367
|
*/
|
|
32277
33368
|
placementGroupId: string;
|
|
32278
33369
|
/**
|
|
32279
|
-
*
|
|
33370
|
+
* Cloud disk capacity, in GiB. Value description: Default is 40 GiB; for Ultra SSD (ESSD*PL0, ESSD*FlexPL), the range is 40–2048 GiB.
|
|
32280
33371
|
*/
|
|
32281
33372
|
size: number;
|
|
32282
33373
|
/**
|
|
32283
|
-
*
|
|
33374
|
+
* Storage sub-placement group number for the system disk.
|
|
32284
33375
|
*/
|
|
32285
33376
|
subgroupNumber: number;
|
|
32286
33377
|
/**
|
|
@@ -32330,13 +33421,13 @@ export declare namespace vke {
|
|
|
32330
33421
|
*/
|
|
32331
33422
|
conditions: outputs.vke.GetNodePoolStatusCondition[];
|
|
32332
33423
|
/**
|
|
32333
|
-
* Status of the node pool.
|
|
33424
|
+
* Status of the node pool. Values: Creating: Creating. Running: Running. Updating: Updating. Deleting: Deleting. Failed: Abnormal. Scaling: Scaling. Note: For valid combinations of Phase and Conditions.Type, see the resource status documentation.
|
|
32334
33425
|
*/
|
|
32335
33426
|
phase: string;
|
|
32336
33427
|
}
|
|
32337
33428
|
interface GetNodePoolStatusCondition {
|
|
32338
33429
|
/**
|
|
32339
|
-
* Status conditions
|
|
33430
|
+
* Status conditions under the current primary state of the node pool, indicating the reasons for entering this state. Multiple reasons are possible. Values: Progressing: in progress. Ok: normal. ResourceCleanupFailed: resource cleanup failed. Unknown: creation failed due to unknown reasons. ClusterNotRunning: cluster exception. ScalingFailed: scaling failed. ClusterVersionUpgrading: node version upgrading in the node pool. Note: For valid Phase and Conditions.Type combinations, see resource status description.
|
|
32340
33431
|
*/
|
|
32341
33432
|
type: string;
|
|
32342
33433
|
}
|
|
@@ -32366,6 +33457,50 @@ export declare namespace vke {
|
|
|
32366
33457
|
*/
|
|
32367
33458
|
type: string;
|
|
32368
33459
|
}
|
|
33460
|
+
interface GetNodepoolScalingPolicyScheduledInstancePolicy {
|
|
33461
|
+
/**
|
|
33462
|
+
* Automatic release time for reserved instances, in UTC, accurate to the minute, must be at a 10-minute mark. Required and valid only when ElasticScheduledInstanceType is Segmented (elastic scheduled instance - time segment type).
|
|
33463
|
+
*/
|
|
33464
|
+
autoReleaseTime: string;
|
|
33465
|
+
/**
|
|
33466
|
+
* If the inventory of elastic scheduled instances cannot fully meet the reservation demand, specify whether to reserve as many instances as possible. false (default): At most one reservation order is generated; true: If a single reservation order cannot meet the demand, multiple reservation orders will be submitted.
|
|
33467
|
+
*/
|
|
33468
|
+
bestEffort: boolean;
|
|
33469
|
+
/**
|
|
33470
|
+
* Delivery type for elastic scheduled instance - time segment type. Valid values: Reserve (reserved delivery), Immediate (immediate delivery). Required and valid only when ElasticScheduledInstanceType is Segmented (elastic scheduled instance - time segment type).
|
|
33471
|
+
*/
|
|
33472
|
+
deliveryType: string;
|
|
33473
|
+
/**
|
|
33474
|
+
* Elastic reservation instance type. Options: Esi (general-purpose elastic reservation instance), Segmented (time-slot elastic reservation instance).
|
|
33475
|
+
*/
|
|
33476
|
+
elasticScheduledInstanceType: string;
|
|
33477
|
+
/**
|
|
33478
|
+
* End time for delivery of the elastic reservation instance, in UTC, accurate to the minute. Must be on a 10-minute mark and have a 10-minute interval from StartDeliveryTime. For type Esi, set within 4–8 hours after LaunchTime; for type Segmented with DeliveryType Reserve, set within 24 hours after LaunchTime.
|
|
33479
|
+
*/
|
|
33480
|
+
endDeliveryTime: string;
|
|
33481
|
+
/**
|
|
33482
|
+
* Start time for delivery of the elastic reservation instance, in UTC, accurate to the minute. Must be on a 10-minute mark. For type Esi, set within 4–8 hours after LaunchTime; for type Segmented with DeliveryType Reserve, set within 24 hours after LaunchTime.
|
|
33483
|
+
*/
|
|
33484
|
+
startDeliveryTime: string;
|
|
33485
|
+
}
|
|
33486
|
+
interface GetNodepoolScalingPolicyScheduledPolicy {
|
|
33487
|
+
/**
|
|
33488
|
+
* Task start time, in UTC, accurate to the minute. When Type is Scheduled, this is the trigger time for the scheduled task; when Type is Recurrence, this is the start time for the periodic task. Must be later than the current time, and can only be set within 90 days from the creation/modification time.
|
|
33489
|
+
*/
|
|
33490
|
+
launchTime: string;
|
|
33491
|
+
/**
|
|
33492
|
+
* End time for the periodic task, in UTC, accurate to the minute. Only valid and required when Type is Recurrence. Must be greater than or equal to LaunchTime, and can only be set within 365 days from the creation/modification time.
|
|
33493
|
+
*/
|
|
33494
|
+
recurrenceEndTime: string;
|
|
33495
|
+
/**
|
|
33496
|
+
* Recurrence cycle for the periodic task. Only valid and required when Type is Recurrence. Options: Daily (runs every few days), Weekly (select days of the week, runs once per day), Monthly (select dates within the month, runs once per day).
|
|
33497
|
+
*/
|
|
33498
|
+
recurrenceType: string;
|
|
33499
|
+
/**
|
|
33500
|
+
* Number of recurrences for the periodic task. Only valid and required when Type is Recurrence. For RecurrenceType Daily, only one value is allowed, range 1–31; for Weekly, multiple values can be entered and separated by commas (Monday to Sunday are 1–7); for Monthly, use the format A-B (both A and B range from 1–31, and B ≥ A).
|
|
33501
|
+
*/
|
|
33502
|
+
recurrenceValue: string;
|
|
33503
|
+
}
|
|
32369
33504
|
interface NodeKubernetesConfig {
|
|
32370
33505
|
/**
|
|
32371
33506
|
* Node lock configuration. Options: false (default): not locked; true: locked
|
|
@@ -32408,27 +33543,27 @@ export declare namespace vke {
|
|
|
32408
33543
|
}
|
|
32409
33544
|
interface NodePoolAutoScaling {
|
|
32410
33545
|
/**
|
|
32411
|
-
* Configure the expected number of nodes in the node pool
|
|
33546
|
+
* Configure the expected number of nodes in the node pool. Value description: Default is 0. Range: 0–2000. Note: When auto scaling is enabled for the node pool, DesiredReplicas must be greater than or equal to MinReplicas and less than or equal to MaxReplicas.
|
|
32412
33547
|
*/
|
|
32413
33548
|
desiredReplicas: number;
|
|
32414
33549
|
/**
|
|
32415
|
-
* Configure the node pool auto scaling feature switch. Parameter values: false: disabled. true: enabled.
|
|
33550
|
+
* Configure the node pool auto scaling feature switch. Parameter values: false (default): disabled. true: enabled.
|
|
32416
33551
|
*/
|
|
32417
33552
|
enabled: boolean;
|
|
32418
33553
|
/**
|
|
32419
|
-
*
|
|
33554
|
+
* Set the maximum number of nodes in the node pool. This takes effect only when auto scaling is enabled (Enabled=true). The number of nodes will not exceed this value during node pool scaling.
|
|
32420
33555
|
*/
|
|
32421
33556
|
maxReplicas: number;
|
|
32422
33557
|
/**
|
|
32423
|
-
* Minimum number of nodes
|
|
33558
|
+
* Minimum number of nodes in the node pool. Only effective when node pool auto scaling is enabled (Enabled=true). The number of nodes will not fall below this value during auto scaling.
|
|
32424
33559
|
*/
|
|
32425
33560
|
minReplicas: number;
|
|
32426
33561
|
/**
|
|
32427
|
-
* Priority
|
|
33562
|
+
* Elastic scaling priority of the node pool. Effective only when SubnetPolicy=Priority. The higher the value, the higher the priority.
|
|
32428
33563
|
*/
|
|
32429
33564
|
priority: number;
|
|
32430
33565
|
/**
|
|
32431
|
-
* Scaling group ID
|
|
33566
|
+
* Scaling group ID associated with the node pool.
|
|
32432
33567
|
*/
|
|
32433
33568
|
scalingGroupId: string;
|
|
32434
33569
|
/**
|
|
@@ -32438,7 +33573,7 @@ export declare namespace vke {
|
|
|
32438
33573
|
}
|
|
32439
33574
|
interface NodePoolKubernetesConfig {
|
|
32440
33575
|
/**
|
|
32441
|
-
* Disable automatic synchronization of labels and taints to existing nodes. Parameter
|
|
33576
|
+
* Disable automatic synchronization of labels and taints to existing nodes. Parameter value description: true: Disable, i.e., turn off automatic synchronization. false: (Default) Do not disable, i.e., enable automatic synchronization.
|
|
32442
33577
|
*/
|
|
32443
33578
|
autoSyncDisabled: boolean;
|
|
32444
33579
|
/**
|
|
@@ -32446,20 +33581,20 @@ export declare namespace vke {
|
|
|
32446
33581
|
*/
|
|
32447
33582
|
containerdConfig: outputs.vke.NodePoolKubernetesConfigContainerdConfig;
|
|
32448
33583
|
/**
|
|
32449
|
-
* Node blocking configuration.
|
|
33584
|
+
* Node blocking configuration. Options: false: (default) Not blocked. true: Blocked. Note: When updating the node pool (UpdateNodePoolConfig), if no parameter value is provided, the original parameter configuration is retained.
|
|
32450
33585
|
*/
|
|
32451
33586
|
cordon: boolean;
|
|
32452
33587
|
/**
|
|
32453
|
-
*
|
|
33588
|
+
* Custom kubelet parameter configuration for nodes in the node pool, used to adjust node behavior.
|
|
32454
33589
|
*/
|
|
32455
33590
|
kubeletConfig: outputs.vke.NodePoolKubernetesConfigKubeletConfig;
|
|
32456
33591
|
/**
|
|
32457
|
-
* Kubernetes label information for node
|
|
33592
|
+
* Kubernetes label information for the node pool/nodes. Up to 20 labels can be specified. Note: The node pool centrally manages node label configurations, so label information is synchronized to all nodes in the pool. When labels change, the original label configuration will be overwritten.
|
|
32458
33593
|
* Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
|
|
32459
33594
|
*/
|
|
32460
33595
|
labels: outputs.vke.NodePoolKubernetesConfigLabel[];
|
|
32461
33596
|
/**
|
|
32462
|
-
* Prefix for node
|
|
33597
|
+
* Prefix for the metadata name of node objects in Kubernetes. Disabled by default. If set, it is enabled and will affect the metadata.name prefix displayed in the Kubernetes Node Manifest file. Prefix validation rules: Supports lowercase English letters, numbers, hyphens (-), and periods (.); must start with a lowercase English letter or number; length must be 1–48 characters.
|
|
32463
33598
|
*/
|
|
32464
33599
|
namePrefix: string;
|
|
32465
33600
|
/**
|
|
@@ -32467,18 +33602,18 @@ export declare namespace vke {
|
|
|
32467
33602
|
*/
|
|
32468
33603
|
nameSuffix: string;
|
|
32469
33604
|
/**
|
|
32470
|
-
* Whether the
|
|
33605
|
+
* Whether to use the ECS host name as the metadata name for node objects in Kubernetes. Options: true: Use ECS host name as node name. false: Do not use ECS host name as node name. Note: This setting takes precedence over NamePrefix and NameSuffix.
|
|
32471
33606
|
*/
|
|
32472
33607
|
nameUseHostname: boolean;
|
|
32473
33608
|
/**
|
|
32474
|
-
* Kubernetes
|
|
33609
|
+
* Kubernetes taints information for the node pool/nodes. You can specify up to 20 taints. Note: The node pool manages taint configuration uniformly, so taint information is synchronized to all nodes in the pool. When taints are changed, the original taint configuration will be overwritten.
|
|
32475
33610
|
* Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
|
|
32476
33611
|
*/
|
|
32477
33612
|
taints: outputs.vke.NodePoolKubernetesConfigTaint[];
|
|
32478
33613
|
}
|
|
32479
33614
|
interface NodePoolKubernetesConfigContainerdConfig {
|
|
32480
33615
|
/**
|
|
32481
|
-
* Specify
|
|
33616
|
+
* Specify container image registry addresses to skip certificate authentication. The format is a domain name or IP address without protocol, and can include a port number, for example: example.com or example.com:8080. Supports up to 10 domain names or IP addresses.
|
|
32482
33617
|
*/
|
|
32483
33618
|
insecureRegistries: string[];
|
|
32484
33619
|
/**
|
|
@@ -32489,59 +33624,59 @@ export declare namespace vke {
|
|
|
32489
33624
|
}
|
|
32490
33625
|
interface NodePoolKubernetesConfigContainerdConfigRegistryProxyConfig {
|
|
32491
33626
|
/**
|
|
32492
|
-
* Proxy address.
|
|
33627
|
+
* Proxy address. Format: domain name or IP address with protocol, may include port number, for example: https://example.com or https://example.com:8080. Supports up to 5 domain names or IP addresses.
|
|
32493
33628
|
*/
|
|
32494
33629
|
proxyEndpoints: string[];
|
|
32495
33630
|
/**
|
|
32496
|
-
* Container image repository address.
|
|
33631
|
+
* Container image repository address. The format is a domain name or IP address without protocol, and may include a port number, for example: example.com or example.com:8080.
|
|
32497
33632
|
*/
|
|
32498
33633
|
registry: string;
|
|
32499
33634
|
}
|
|
32500
33635
|
interface NodePoolKubernetesConfigKubeletConfig {
|
|
32501
33636
|
/**
|
|
32502
|
-
*
|
|
33637
|
+
* CPU manager policy. Options: none: Default policy. static: Allows Pods with certain resource characteristics on the node to have stronger CPU affinity and exclusivity.
|
|
32503
33638
|
*/
|
|
32504
33639
|
cpuManagerPolicy: string;
|
|
32505
33640
|
/**
|
|
32506
|
-
*
|
|
33641
|
+
* A set of hard thresholds that trigger Pod eviction. For detailed parameter explanations, see the Kubernetes official documentation (https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/). To explicitly disable, set the threshold for any resource to 0% or 100%. Default values: memory.available: "100Mi", nodefs.available: "10%", nodefs.inodesFree: "5%", imagefs.available: "15%".
|
|
32507
33642
|
* Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
|
|
32508
33643
|
*/
|
|
32509
33644
|
evictionHards: outputs.vke.NodePoolKubernetesConfigKubeletConfigEvictionHard[];
|
|
32510
33645
|
/**
|
|
32511
|
-
* Feature
|
|
33646
|
+
* Feature gates, which are a set of key-value pairs that describe Kubernetes features. Note: These feature gates are only supported in clusters running Kubernetes v1.26 or earlier.
|
|
32512
33647
|
*/
|
|
32513
33648
|
featureGates: outputs.vke.NodePoolKubernetesConfigKubeletConfigFeatureGates;
|
|
32514
33649
|
/**
|
|
32515
|
-
* Maximum burst request
|
|
33650
|
+
* Maximum burst request count sent to APIServer per second. Integer value, range: 1–100, default is 10. Note: This value must be greater than or equal to the value of the KubeApiQps parameter.
|
|
32516
33651
|
*/
|
|
32517
33652
|
kubeApiBurst: number;
|
|
32518
33653
|
/**
|
|
32519
|
-
*
|
|
33654
|
+
* Number of queries per second (QPS) to APIServer. Integer, range: 1–50, default is 5.
|
|
32520
33655
|
*/
|
|
32521
33656
|
kubeApiQps: number;
|
|
32522
33657
|
/**
|
|
32523
|
-
* Resources reserved for Kubernetes system components on the node. By default, half of the default value in the node
|
|
33658
|
+
* Resources reserved for Kubernetes system components on the node. By default, reserves half of the default value specified in the node resource reservation policy.
|
|
32524
33659
|
* Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
|
|
32525
33660
|
*/
|
|
32526
33661
|
kubeReserveds: outputs.vke.NodePoolKubernetesConfigKubeletConfigKubeReserved[];
|
|
32527
33662
|
/**
|
|
32528
|
-
*
|
|
33663
|
+
* Maximum number of Pods supported by the node. Default is 110.
|
|
32529
33664
|
*/
|
|
32530
33665
|
maxPods: number;
|
|
32531
33666
|
/**
|
|
32532
|
-
*
|
|
33667
|
+
* Burst threshold for pulling images from the image registry in the cluster. Integer value, range: 1–100, default is 5. Note: Only required when RegistryPullQps is greater than 0, and the value must be greater than or equal to the value of the RegistryPullQps parameter.
|
|
32533
33668
|
*/
|
|
32534
33669
|
registryBurst: number;
|
|
32535
33670
|
/**
|
|
32536
|
-
*
|
|
33671
|
+
* QPS threshold for pulling images from the image registry in the cluster. Integer value, range: 1–50, default is 2.
|
|
32537
33672
|
*/
|
|
32538
33673
|
registryPullQps: number;
|
|
32539
33674
|
/**
|
|
32540
|
-
* Pull images
|
|
33675
|
+
* Enable serial image pulling. Values: true: Pull images serially. false: (Default) Pull images in parallel to speed up Pod startup.
|
|
32541
33676
|
*/
|
|
32542
33677
|
serializeImagePulls: boolean;
|
|
32543
33678
|
/**
|
|
32544
|
-
* Resources reserved for the operating system on the node. By default, half of the default value in the node reserved resource policy is
|
|
33679
|
+
* Resources reserved for the operating system on the node. By default, half of the default value in the node reserved resource policy is allocated.
|
|
32545
33680
|
* Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
|
|
32546
33681
|
*/
|
|
32547
33682
|
systemReserveds: outputs.vke.NodePoolKubernetesConfigKubeletConfigSystemReserved[];
|
|
@@ -32560,17 +33695,17 @@ export declare namespace vke {
|
|
|
32560
33695
|
*/
|
|
32561
33696
|
key: string;
|
|
32562
33697
|
/**
|
|
32563
|
-
* Hard threshold value.
|
|
33698
|
+
* Hard threshold value. Supports integer or percentage format: Integer format specifies the actual resource threshold in bytes, for example, 100Mi. Percentage format specifies the resource threshold as a proportion, range: 0%–100%, for example, 20%. To explicitly disable, set the threshold to 0% or 100% for any resource.
|
|
32564
33699
|
*/
|
|
32565
33700
|
value: string;
|
|
32566
33701
|
}
|
|
32567
33702
|
interface NodePoolKubernetesConfigKubeletConfigFeatureGates {
|
|
32568
33703
|
/**
|
|
32569
|
-
* Enable
|
|
33704
|
+
* Enable Pod vertical scaling. Options: true: enabled. false: disabled.
|
|
32570
33705
|
*/
|
|
32571
33706
|
inPlacePodVerticalScaling: boolean;
|
|
32572
33707
|
/**
|
|
32573
|
-
* Whether to enable the
|
|
33708
|
+
* Whether to enable the QoS resource manager to support micro-topology scheduling. Values: true: Enable the QoS resource manager. false: (default) Do not enable the QoS resource manager.
|
|
32574
33709
|
*/
|
|
32575
33710
|
qoSResourceManager: boolean;
|
|
32576
33711
|
}
|
|
@@ -32580,7 +33715,7 @@ export declare namespace vke {
|
|
|
32580
33715
|
*/
|
|
32581
33716
|
name: string;
|
|
32582
33717
|
/**
|
|
32583
|
-
* Specify the resource quantity.
|
|
33718
|
+
* Specify the resource quantity. For cpu, example value is 200m. For memory, example value is 1G.
|
|
32584
33719
|
*/
|
|
32585
33720
|
quantity: string;
|
|
32586
33721
|
}
|
|
@@ -32590,17 +33725,17 @@ export declare namespace vke {
|
|
|
32590
33725
|
*/
|
|
32591
33726
|
name: string;
|
|
32592
33727
|
/**
|
|
32593
|
-
*
|
|
33728
|
+
* Specify the resource quantity. For cpu, example value is 200m. For memory, example value is 1G.
|
|
32594
33729
|
*/
|
|
32595
33730
|
quantity: string;
|
|
32596
33731
|
}
|
|
32597
33732
|
interface NodePoolKubernetesConfigLabel {
|
|
32598
33733
|
/**
|
|
32599
|
-
* Tag key.
|
|
33734
|
+
* Tag key. A valid tag key consists of two segments: prefix and name, separated by a slash (/). The name is required and supports English letters (upper and lower case), numbers, hyphens (-), underscores (_), and periods (.), must start and end with a letter or number, and cannot exceed 63 characters. The prefix is optional; if specified, it must be a DNS subdomain: a series of DNS labels separated by periods (.), not exceeding 253 characters. The total length of prefix and name must not exceed 82 characters.
|
|
32600
33735
|
*/
|
|
32601
33736
|
key: string;
|
|
32602
33737
|
/**
|
|
32603
|
-
*
|
|
33738
|
+
* Tag value. Maximum length is 63 characters (can be empty). Must start and end with English letters or numbers. Supports special characters: hyphen (-), underscore (_), period (.).
|
|
32604
33739
|
*/
|
|
32605
33740
|
value: string;
|
|
32606
33741
|
}
|
|
@@ -32610,118 +33745,118 @@ export declare namespace vke {
|
|
|
32610
33745
|
*/
|
|
32611
33746
|
effect: string;
|
|
32612
33747
|
/**
|
|
32613
|
-
* Taint key.
|
|
33748
|
+
* Taint key. A valid taint key consists of two segments: prefix and name, separated by a slash (/). The name is required and supports English letters (upper and lower case), numbers, hyphens (-), underscores (_), and periods (.), must start and end with a letter or number, and cannot exceed 63 characters. The prefix is optional; if specified, it must be a DNS subdomain: a series of DNS labels separated by periods (.), not exceeding 253 characters. The total length of prefix and name must not exceed 82 characters.
|
|
32614
33749
|
*/
|
|
32615
33750
|
key: string;
|
|
32616
33751
|
/**
|
|
32617
|
-
* Taint value
|
|
33752
|
+
* Taint value. Maximum length is 63 characters (can be empty). Must start and end with an English letter (upper or lower case) or a number. Supports special characters: hyphen (-), underscore (_), and period (.).
|
|
32618
33753
|
*/
|
|
32619
33754
|
value: string;
|
|
32620
33755
|
}
|
|
32621
33756
|
interface NodePoolManagement {
|
|
32622
33757
|
/**
|
|
32623
|
-
* Enable managed mode for node pool. Options:
|
|
33758
|
+
* Enable managed mode for the node pool. Options: true: Enabled. false: Disabled.
|
|
32624
33759
|
*/
|
|
32625
33760
|
enabled: boolean;
|
|
32626
33761
|
/**
|
|
32627
|
-
*
|
|
33762
|
+
* Node pool health check and self-healing rule configuration.
|
|
32628
33763
|
*/
|
|
32629
33764
|
remedyConfig: outputs.vke.NodePoolManagementRemedyConfig;
|
|
32630
33765
|
}
|
|
32631
33766
|
interface NodePoolManagementRemedyConfig {
|
|
32632
33767
|
/**
|
|
32633
|
-
*
|
|
33768
|
+
* Whether to enable the self-healing check after enabling managed mode for the node pool. Values: true: enable; false: disable.
|
|
32634
33769
|
*/
|
|
32635
33770
|
enabled: boolean;
|
|
32636
33771
|
/**
|
|
32637
|
-
* Self-healing rule ID
|
|
33772
|
+
* Self-healing rule ID associated after enabling self-healing check for the node pool.
|
|
32638
33773
|
*/
|
|
32639
33774
|
remedyId: string;
|
|
32640
33775
|
}
|
|
32641
33776
|
interface NodePoolNodeConfig {
|
|
32642
33777
|
/**
|
|
32643
|
-
* Whether the first data disk of the node
|
|
33778
|
+
* Whether to configure the first data disk of the node, format it, and mount it to the container and image storage directory (/var/lib/containerd). Options: false: (default) Disabled. true: Enabled. Note: When enabled, at least one data disk must be configured; otherwise, node pool creation will fail. This method will automatically format the first data disk and create the file system.
|
|
32644
33779
|
*/
|
|
32645
33780
|
additionalContainerStorageEnabled: boolean;
|
|
32646
33781
|
/**
|
|
32647
|
-
* Whether the
|
|
33782
|
+
* Whether the ECS instance will be automatically renewed upon expiration. Options: true (default): auto renewal. false: no auto renewal. Only required when InstanceChargeType=PrePaid; otherwise, ignore.
|
|
32648
33783
|
*/
|
|
32649
33784
|
autoRenew: boolean;
|
|
32650
33785
|
/**
|
|
32651
|
-
*
|
|
33786
|
+
* ECS instance auto-renewal duration, in months. Values: 1 (default), 2, 3, 6, 12. Only required when AutoRenew=true; otherwise, ignore.
|
|
32652
33787
|
*/
|
|
32653
33788
|
autoRenewPeriod: number;
|
|
32654
33789
|
/**
|
|
32655
|
-
* Node data disk configuration.
|
|
33790
|
+
* Node data disk configuration. You can call the DescribeInstanceTypes API of the cloud server to obtain the matching relationship between ECS instance families and cloud disk specifications.
|
|
32656
33791
|
* Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
|
|
32657
33792
|
*/
|
|
32658
33793
|
dataVolumes: outputs.vke.NodePoolNodeConfigDataVolume[];
|
|
32659
33794
|
/**
|
|
32660
|
-
*
|
|
33795
|
+
* When the specified deployment set policy is the deployment set group high availability policy, you can use this parameter to specify the group number of the instance in the deployment set. Value range: 1–3. 0 means not set.
|
|
32661
33796
|
*/
|
|
32662
33797
|
deploymentSetGroupNumber: number;
|
|
32663
33798
|
/**
|
|
32664
|
-
* Deployment
|
|
33799
|
+
* Deployment set ID that nodes in the node pool need to join. You can call the DescribeDeploymentSets API to obtain the deployment set ID.
|
|
32665
33800
|
*/
|
|
32666
33801
|
deploymentSetId: string;
|
|
32667
33802
|
/**
|
|
32668
|
-
*
|
|
33803
|
+
* Host name corresponding to the node. Supports defining fixed incremental sorting and dynamic expansion sorting. For details on the definition format, see naming format.
|
|
32669
33804
|
*/
|
|
32670
33805
|
hostname: string;
|
|
32671
33806
|
/**
|
|
32672
|
-
* High
|
|
33807
|
+
* High Performance Computing Cluster ID. When creating a node pool with a high-performance computing GPU type, you must specify the High Performance Computing Cluster ID, which can be obtained from the 'Instances & Images > High Performance Computing Cluster' page in the cloud server console. Note: Only one High Performance Computing Cluster ID is supported; ensure the specified cluster and the subnets in SubnetIds are in the same availability zone.
|
|
32673
33808
|
*/
|
|
32674
33809
|
hpcClusterIds: string[];
|
|
32675
33810
|
/**
|
|
32676
|
-
*
|
|
33811
|
+
* The image ID used by the ECS instance corresponding to the node. Different image types have different image IDs. For details, see Public Images Supported by Container Service. Note: If you do not specify this parameter, Container Service will assign the veLinux-VKE image ID corresponding to the selected ECS instance type by default. If you specify multiple instance types, this parameter is required.
|
|
32677
33812
|
*/
|
|
32678
33813
|
imageId: string;
|
|
32679
33814
|
/**
|
|
32680
|
-
* Custom script
|
|
33815
|
+
* Custom script to execute after creating and initializing the node. Supports Shell format and must be Base64-encoded before being passed in. Note: The Base64-encoded length must not exceed 8 KB. If both InitializeScript and PreScript are provided, the total length of both parameters must not exceed 8 KB.
|
|
32681
33816
|
*/
|
|
32682
33817
|
initializeScript: string;
|
|
32683
33818
|
/**
|
|
32684
|
-
*
|
|
33819
|
+
* ECS instance billing type. Values: PostPaid (default): pay-as-you-go. PrePaid: subscription.
|
|
32685
33820
|
*/
|
|
32686
33821
|
instanceChargeType: string;
|
|
32687
33822
|
/**
|
|
32688
|
-
*
|
|
33823
|
+
* Name of the node (instance). Supports defining fixed incremental sorting and dynamic expansion sorting. For format details, see naming format.
|
|
32689
33824
|
*/
|
|
32690
33825
|
instanceName: string;
|
|
32691
33826
|
/**
|
|
32692
|
-
* List of cloud server instance type
|
|
33827
|
+
* List of instance type IDs for cloud server (ECS) instances corresponding to the nodes. This list serves as the candidate set of instance types when creating nodes in the node pool, not as a fixed quota for each type: the node pool selects instance types from the list based on available inventory and other factors. Different nodes in the same node pool may use different types from the list, or all may use the same type. Each type does not correspond to an independent node count quota. To strictly split node counts by type, create a separate node pool for each type. You can call the ListSupportedResourceTypes API to query the resource types and ranges supported by the cluster instance. Constraints: Up to ten array elements are supported; all types in the list must be consistent, such as all GPU types, all non-GPU types, or all bare metal types; when multiple types are provided, the ImageId parameter is required.
|
|
32693
33828
|
*/
|
|
32694
33829
|
instanceTypeIds: string[];
|
|
32695
33830
|
/**
|
|
32696
|
-
*
|
|
33831
|
+
* Configure a mixed strategy for spot instances and on-demand instances. This strategy takes effect when SpotStrategy is SpotAsPriceGo.
|
|
32697
33832
|
*/
|
|
32698
33833
|
instancesDistribution: outputs.vke.NodePoolNodeConfigInstancesDistribution;
|
|
32699
33834
|
/**
|
|
32700
|
-
* Node name prefix.
|
|
33835
|
+
* Node name prefix. If the value is an empty string or nil, it indicates that the node name prefix policy is not enabled. This policy is not enabled by default. Prefix validation rules: supports uppercase and lowercase English letters, numbers, and hyphens (-); must start with a letter and end with a letter or number; hyphens (-) cannot be used consecutively; length must be between 2 and 51 characters.
|
|
32701
33836
|
*/
|
|
32702
33837
|
namePrefix: string;
|
|
32703
33838
|
/**
|
|
32704
|
-
* Network communication mode between nodes
|
|
33839
|
+
* Network communication mode between nodes. Options: HighPerformance: Communication method based on RDMA for data transmission. Standard: Communication method based on TCP for data transmission.
|
|
32705
33840
|
*/
|
|
32706
33841
|
networkTrafficMode: string;
|
|
32707
33842
|
/**
|
|
32708
|
-
*
|
|
33843
|
+
* ECS instance purchase duration, in months. Values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36. Only required and mandatory when InstanceChargeType=PrePaid.
|
|
32709
33844
|
*/
|
|
32710
33845
|
period: number;
|
|
32711
33846
|
/**
|
|
32712
|
-
* Script
|
|
33847
|
+
* [Invitation Test · Apply for Trial] Script executed before deploying the node. Enter the Shell script encoded in Base64. Note: The length after Base64 encoding must not exceed 8 KB. If both InitializeScript and PreScript are provided, the total length of both parameters must not exceed 8 KB.
|
|
32713
33848
|
*/
|
|
32714
33849
|
preScript: string;
|
|
32715
33850
|
/**
|
|
32716
|
-
* Project to which the ECS belongs. Each ECS can only belong to one project.
|
|
33851
|
+
* Project name to which the ECS expanded from the node pool belongs. Each ECS can only belong to one project. Only English letters, numbers, underscores (_), periods (.), and hyphens (-) are allowed. Maximum length is 64 characters. Default is default.
|
|
32717
33852
|
*/
|
|
32718
33853
|
projectName: string;
|
|
32719
33854
|
/**
|
|
32720
|
-
* Configuration for
|
|
33855
|
+
* Configuration information for automatically binding EIP to nodes.
|
|
32721
33856
|
*/
|
|
32722
33857
|
publicAccessConfig: outputs.vke.NodePoolNodeConfigPublicAccessConfig;
|
|
32723
33858
|
/**
|
|
32724
|
-
* Enable public
|
|
33859
|
+
* Enable automatic public IP (EIP) binding for nodes. Options: false: (default) Disabled. The system will not automatically assign an EIP to the node. If you need public network access later, refer to Applying for a Public IP and Binding to a Cloud Server. true: Enabled. The system automatically assigns an EIP to nodes in the cluster. You must also configure the PublicAccessConfig parameter to customize the EIP settings.
|
|
32725
33860
|
*/
|
|
32726
33861
|
publicAccessEnabled: boolean;
|
|
32727
33862
|
/**
|
|
@@ -32729,26 +33864,26 @@ export declare namespace vke {
|
|
|
32729
33864
|
*/
|
|
32730
33865
|
security: outputs.vke.NodePoolNodeConfigSecurity;
|
|
32731
33866
|
/**
|
|
32732
|
-
* Spot pricing strategy for
|
|
33867
|
+
* Spot pricing strategy for on-demand billing applies only when InstanceChargeType=PostPaid. Options: NoSpot (default): standard on-demand instance. SpotAsPriceGo: system automatically bids, following the current market price.
|
|
32733
33868
|
*/
|
|
32734
33869
|
spotStrategy: string;
|
|
32735
33870
|
/**
|
|
32736
|
-
* List of subnet IDs
|
|
33871
|
+
* List of subnet IDs to which the node network belongs. You can call the private network API to obtain subnet IDs. Note: Must be in the same private network as the cluster. A single node pool supports up to 8 subnet IDs.
|
|
32737
33872
|
*/
|
|
32738
33873
|
subnetIds: string[];
|
|
32739
33874
|
/**
|
|
32740
|
-
* System disk configuration for the node
|
|
33875
|
+
* System disk configuration for the node. You can call the DescribeInstanceTypes API of the cloud server to obtain the matching relationship between ECS instance families and disk specifications.
|
|
32741
33876
|
*/
|
|
32742
33877
|
systemVolume: outputs.vke.NodePoolNodeConfigSystemVolume;
|
|
32743
33878
|
/**
|
|
32744
|
-
*
|
|
33879
|
+
* Tag information bound to the ECS instance corresponding to the node, used for searching and managing ECS instances. Note: Keys in Tags must be unique. If a resource already has the same Tags.Key, binding the same Tags.Key again will not cause an error and will update to the latest Tags.Value. A single resource supports up to 20 ECS instance tags. Do not enter spaces at the beginning or end of Keys or Values in Tags.
|
|
32745
33880
|
* Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
|
|
32746
33881
|
*/
|
|
32747
33882
|
tags: outputs.vke.NodePoolNodeConfigTag[];
|
|
32748
33883
|
}
|
|
32749
33884
|
interface NodePoolNodeConfigDataVolume {
|
|
32750
33885
|
/**
|
|
32751
|
-
* File system.
|
|
33886
|
+
* [Invitation Test · Apply for Trial] File system for the node pool data disk. Values: Ext4 (default), Xfs.
|
|
32752
33887
|
*/
|
|
32753
33888
|
fileSystem: string;
|
|
32754
33889
|
/**
|
|
@@ -32756,7 +33891,7 @@ export declare namespace vke {
|
|
|
32756
33891
|
*/
|
|
32757
33892
|
mountPoint: string;
|
|
32758
33893
|
/**
|
|
32759
|
-
*
|
|
33894
|
+
* Storage placement group ID to which the data disk belongs.
|
|
32760
33895
|
*/
|
|
32761
33896
|
placementGroupId: string;
|
|
32762
33897
|
/**
|
|
@@ -32764,33 +33899,33 @@ export declare namespace vke {
|
|
|
32764
33899
|
*/
|
|
32765
33900
|
size: number;
|
|
32766
33901
|
/**
|
|
32767
|
-
*
|
|
33902
|
+
* Snapshot ID used when creating a data disk from a snapshot. You can call the DescribeSnapshots API to query the snapshot ID. Note: Only ultra-fast SSDs and efficient cloud disks support creating cloud disks from snapshots. Only snapshots in the 'available' state can be used to create new cloud disks. Snapshots in 'creating', 'rolling back', 'deleting', or 'error' states cannot be used to create new cloud disks.
|
|
32768
33903
|
*/
|
|
32769
33904
|
snapshotId: string;
|
|
32770
33905
|
/**
|
|
32771
|
-
*
|
|
33906
|
+
* Storage sub-placement group number of the data disk.
|
|
32772
33907
|
*/
|
|
32773
33908
|
subgroupNumber: number;
|
|
32774
33909
|
/**
|
|
32775
|
-
* Disk
|
|
33910
|
+
* Disk types. Cloud disks: ESSD*PL0: Ultra-fast SSD cloud disk, PL0 specification. ESSD*FlexPL: Ultra-fast SSD cloud disk, FlexPL specification. Ultra*Disk: [EBS Invitation Test] High-performance SSD cloud disk. TSSD*TL0: Throughput SSD cloud disk, TL0 specification. RSSD*PL0: [EBS Invitation Test] Elastic remote disk, PL0 specification. Local disks: LOCAL*SSD: SSD type local disk. LOCAL*HDD: HDD type local disk. LOCAL*LVM*SSD: SSD LVM logical local disk. LOCAL*SSD_SRIOV: SSD SRIOV local disk.
|
|
32776
33911
|
*/
|
|
32777
33912
|
type: string;
|
|
32778
33913
|
}
|
|
32779
33914
|
interface NodePoolNodeConfigInstancesDistribution {
|
|
32780
33915
|
/**
|
|
32781
|
-
*
|
|
33916
|
+
* Whether to enable capacity rebalancing (on-demand instance supplementation for preemptible capacity). Values: true: enable this feature to proactively create new preemptible instances for compensation before existing preemptible instances are reclaimed; false (default): do not enable this feature, and only scale out to replenish instances after preemptible instances are reclaimed.
|
|
32782
33917
|
*/
|
|
32783
33918
|
capacityRebalance: boolean;
|
|
32784
33919
|
/**
|
|
32785
|
-
*
|
|
33920
|
+
* Enable on-demand instance replacement. Values: true: Enable this feature. When all preemptible instances fail to be purchased due to insufficient inventory or other reasons, attempt to purchase on-demand instances. false: (Default) Do not enable this feature. When scaling out preemptible instances, only the configured preemptible instances are attempted.
|
|
32786
33921
|
*/
|
|
32787
33922
|
compensateWithOnDemand: boolean;
|
|
32788
33923
|
/**
|
|
32789
|
-
*
|
|
33924
|
+
* Base capacity size. The base capacity portion is fixed as on-demand instances. Value range: [0,500], default is 0.
|
|
32790
33925
|
*/
|
|
32791
33926
|
onDemandBaseCapacity: number;
|
|
32792
33927
|
/**
|
|
32793
|
-
* Proportion of pay-as-you-go instances in the
|
|
33928
|
+
* Proportion of pay-as-you-go instances in the remaining capacity of the node pool after deducting the base capacity for pay-as-you-go instances. Value range: [0,100]. 0 means only preemptible instances are created for the portion exceeding the base capacity; 100 means only pay-as-you-go instances are created. Default value is 0.
|
|
32794
33929
|
*/
|
|
32795
33930
|
onDemandPercentageAboveBaseCapacity: number;
|
|
32796
33931
|
}
|
|
@@ -32800,11 +33935,11 @@ export declare namespace vke {
|
|
|
32800
33935
|
*/
|
|
32801
33936
|
bandwidth: number;
|
|
32802
33937
|
/**
|
|
32803
|
-
* Billing type for public IP: 2: pay-as-you-go by bandwidth cap. 3: pay-as-you-go by actual traffic.
|
|
33938
|
+
* Billing type for public IP. Values: 2: pay-as-you-go by bandwidth cap. 3: pay-as-you-go by actual traffic.
|
|
32804
33939
|
*/
|
|
32805
33940
|
billingType: number;
|
|
32806
33941
|
/**
|
|
32807
|
-
* Public IP line type. Parameter description: BGP: BGP (multi-line)
|
|
33942
|
+
* Public IP line type. Parameter value description: BGP: BGP (multi-line).
|
|
32808
33943
|
*/
|
|
32809
33944
|
isp: string;
|
|
32810
33945
|
}
|
|
@@ -32842,15 +33977,15 @@ export declare namespace vke {
|
|
|
32842
33977
|
}
|
|
32843
33978
|
interface NodePoolNodeConfigSystemVolume {
|
|
32844
33979
|
/**
|
|
32845
|
-
*
|
|
33980
|
+
* Storage placement group ID of the system disk.
|
|
32846
33981
|
*/
|
|
32847
33982
|
placementGroupId: string;
|
|
32848
33983
|
/**
|
|
32849
|
-
*
|
|
33984
|
+
* Cloud disk capacity, in GiB. Value description: Default is 40 GiB; for Ultra SSD (ESSD*PL0, ESSD*FlexPL), the range is 40–2048 GiB.
|
|
32850
33985
|
*/
|
|
32851
33986
|
size: number;
|
|
32852
33987
|
/**
|
|
32853
|
-
*
|
|
33988
|
+
* Storage sub-placement group number for the system disk.
|
|
32854
33989
|
*/
|
|
32855
33990
|
subgroupNumber: number;
|
|
32856
33991
|
/**
|
|
@@ -32901,13 +34036,13 @@ export declare namespace vke {
|
|
|
32901
34036
|
*/
|
|
32902
34037
|
conditions: outputs.vke.NodePoolStatusCondition[];
|
|
32903
34038
|
/**
|
|
32904
|
-
* Status of the node pool.
|
|
34039
|
+
* Status of the node pool. Values: Creating: Creating. Running: Running. Updating: Updating. Deleting: Deleting. Failed: Abnormal. Scaling: Scaling. Note: For valid combinations of Phase and Conditions.Type, see the resource status documentation.
|
|
32905
34040
|
*/
|
|
32906
34041
|
phase: string;
|
|
32907
34042
|
}
|
|
32908
34043
|
interface NodePoolStatusCondition {
|
|
32909
34044
|
/**
|
|
32910
|
-
* Status conditions
|
|
34045
|
+
* Status conditions under the current primary state of the node pool, indicating the reasons for entering this state. Multiple reasons are possible. Values: Progressing: in progress. Ok: normal. ResourceCleanupFailed: resource cleanup failed. Unknown: creation failed due to unknown reasons. ClusterNotRunning: cluster exception. ScalingFailed: scaling failed. ClusterVersionUpgrading: node version upgrading in the node pool. Note: For valid Phase and Conditions.Type combinations, see resource status description.
|
|
32911
34046
|
*/
|
|
32912
34047
|
type: string;
|
|
32913
34048
|
}
|
|
@@ -32938,6 +34073,50 @@ export declare namespace vke {
|
|
|
32938
34073
|
*/
|
|
32939
34074
|
type: string;
|
|
32940
34075
|
}
|
|
34076
|
+
interface NodepoolScalingPolicyScheduledInstancePolicy {
|
|
34077
|
+
/**
|
|
34078
|
+
* Automatic release time for reserved instances, in UTC, accurate to the minute, must be at a 10-minute mark. Required and valid only when ElasticScheduledInstanceType is Segmented (elastic scheduled instance - time segment type).
|
|
34079
|
+
*/
|
|
34080
|
+
autoReleaseTime: string;
|
|
34081
|
+
/**
|
|
34082
|
+
* If the inventory of elastic scheduled instances cannot fully meet the reservation demand, specify whether to reserve as many instances as possible. false (default): At most one reservation order is generated; true: If a single reservation order cannot meet the demand, multiple reservation orders will be submitted.
|
|
34083
|
+
*/
|
|
34084
|
+
bestEffort: boolean;
|
|
34085
|
+
/**
|
|
34086
|
+
* Delivery type for elastic scheduled instance - time segment type. Valid values: Reserve (reserved delivery), Immediate (immediate delivery). Required and valid only when ElasticScheduledInstanceType is Segmented (elastic scheduled instance - time segment type).
|
|
34087
|
+
*/
|
|
34088
|
+
deliveryType: string;
|
|
34089
|
+
/**
|
|
34090
|
+
* Elastic reservation instance type. Options: Esi (general-purpose elastic reservation instance), Segmented (time-slot elastic reservation instance).
|
|
34091
|
+
*/
|
|
34092
|
+
elasticScheduledInstanceType: string;
|
|
34093
|
+
/**
|
|
34094
|
+
* End time for delivery of the elastic reservation instance, in UTC, accurate to the minute. Must be on a 10-minute mark and have a 10-minute interval from StartDeliveryTime. For type Esi, set within 4–8 hours after LaunchTime; for type Segmented with DeliveryType Reserve, set within 24 hours after LaunchTime.
|
|
34095
|
+
*/
|
|
34096
|
+
endDeliveryTime: string;
|
|
34097
|
+
/**
|
|
34098
|
+
* Start time for delivery of the elastic reservation instance, in UTC, accurate to the minute. Must be on a 10-minute mark. For type Esi, set within 4–8 hours after LaunchTime; for type Segmented with DeliveryType Reserve, set within 24 hours after LaunchTime.
|
|
34099
|
+
*/
|
|
34100
|
+
startDeliveryTime: string;
|
|
34101
|
+
}
|
|
34102
|
+
interface NodepoolScalingPolicyScheduledPolicy {
|
|
34103
|
+
/**
|
|
34104
|
+
* Task start time, in UTC, accurate to the minute. When Type is Scheduled, this is the trigger time for the scheduled task; when Type is Recurrence, this is the start time for the periodic task. Must be later than the current time, and can only be set within 90 days from the creation/modification time.
|
|
34105
|
+
*/
|
|
34106
|
+
launchTime: string;
|
|
34107
|
+
/**
|
|
34108
|
+
* End time for the periodic task, in UTC, accurate to the minute. Only valid and required when Type is Recurrence. Must be greater than or equal to LaunchTime, and can only be set within 365 days from the creation/modification time.
|
|
34109
|
+
*/
|
|
34110
|
+
recurrenceEndTime: string;
|
|
34111
|
+
/**
|
|
34112
|
+
* Recurrence cycle for the periodic task. Only valid and required when Type is Recurrence. Options: Daily (runs every few days), Weekly (select days of the week, runs once per day), Monthly (select dates within the month, runs once per day).
|
|
34113
|
+
*/
|
|
34114
|
+
recurrenceType: string;
|
|
34115
|
+
/**
|
|
34116
|
+
* Number of recurrences for the periodic task. Only valid and required when Type is Recurrence. For RecurrenceType Daily, only one value is allowed, range 1–31; for Weekly, multiple values can be entered and separated by commas (Monday to Sunday are 1–7); for Monthly, use the format A-B (both A and B range from 1–31, and B ≥ A).
|
|
34117
|
+
*/
|
|
34118
|
+
recurrenceValue: string;
|
|
34119
|
+
}
|
|
32941
34120
|
}
|
|
32942
34121
|
export declare namespace vmp {
|
|
32943
34122
|
interface AlertingRuleAnnotation {
|
|
@@ -33546,6 +34725,16 @@ export declare namespace vpc {
|
|
|
33546
34725
|
*/
|
|
33547
34726
|
value: string;
|
|
33548
34727
|
}
|
|
34728
|
+
interface GetIpamResourceDiscoveryTag {
|
|
34729
|
+
/**
|
|
34730
|
+
* Tag key.
|
|
34731
|
+
*/
|
|
34732
|
+
key: string;
|
|
34733
|
+
/**
|
|
34734
|
+
* Tag value.
|
|
34735
|
+
*/
|
|
34736
|
+
value: string;
|
|
34737
|
+
}
|
|
33549
34738
|
interface GetIpamScopeTag {
|
|
33550
34739
|
/**
|
|
33551
34740
|
* Tag Key
|
|
@@ -34230,6 +35419,16 @@ export declare namespace vpc {
|
|
|
34230
35419
|
*/
|
|
34231
35420
|
value: string;
|
|
34232
35421
|
}
|
|
35422
|
+
interface IpamResourceDiscoveryTag {
|
|
35423
|
+
/**
|
|
35424
|
+
* Tag key.
|
|
35425
|
+
*/
|
|
35426
|
+
key: string;
|
|
35427
|
+
/**
|
|
35428
|
+
* Tag value.
|
|
35429
|
+
*/
|
|
35430
|
+
value: string;
|
|
35431
|
+
}
|
|
34233
35432
|
interface IpamScopeTag {
|
|
34234
35433
|
/**
|
|
34235
35434
|
* Tag Key
|
|
@@ -35428,6 +36627,61 @@ export declare namespace vpn {
|
|
|
35428
36627
|
}
|
|
35429
36628
|
}
|
|
35430
36629
|
export declare namespace waf {
|
|
36630
|
+
interface BotAnalyseProtectRuleAccurateGroup {
|
|
36631
|
+
/**
|
|
36632
|
+
* Priority of advanced condition group. Not required for create/update; used only for list display.
|
|
36633
|
+
*/
|
|
36634
|
+
accurateGroupPriority: number;
|
|
36635
|
+
/**
|
|
36636
|
+
* Sub-rule list in advanced conditions.
|
|
36637
|
+
* Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
|
|
36638
|
+
*/
|
|
36639
|
+
accurateRules: outputs.waf.BotAnalyseProtectRuleAccurateGroupAccurateRule[];
|
|
36640
|
+
/**
|
|
36641
|
+
* Advanced condition group ID. Not required for create/update operations; used only for list display.
|
|
36642
|
+
*/
|
|
36643
|
+
id: number;
|
|
36644
|
+
/**
|
|
36645
|
+
* Logical relationship. 1: AND; 2: OR.
|
|
36646
|
+
*/
|
|
36647
|
+
logic: number;
|
|
36648
|
+
}
|
|
36649
|
+
interface BotAnalyseProtectRuleAccurateGroupAccurateRule {
|
|
36650
|
+
/**
|
|
36651
|
+
* Match object. Fixed objects automatically generate HttpObj by ObjType. Custom objects require specifying the Key in HttpObj, e.g., request.header.clientip, request.uri, request.queryargs.abc, request.header.custom-header, request.cookie.custom-cookie, etc.
|
|
36652
|
+
*/
|
|
36653
|
+
httpObj: string;
|
|
36654
|
+
/**
|
|
36655
|
+
* Enumeration of match object types. 0: request protocol; 1: request URI; 2: request method; 3: request path; 4: request parameters; 5: request header; 6: User-Agent; 7: Referer; 8: Cookie; 9: request body length; 10: request body format; 11: X-Forwarded-For; 12: client IP; 13: custom Args; 14: custom Header; 15: custom Cookie; 23: JA3 Hash; 25: Session-ID; 26: client fingerprint.
|
|
36656
|
+
*/
|
|
36657
|
+
objType: number;
|
|
36658
|
+
/**
|
|
36659
|
+
* Enumeration of match operators. 0~5: size comparison; 6~11: substring match; 12~15: set match; 16: regex; 17~21: IP identification (only for request.header.clientip or custom objects); 23/24: include/exclude address group; 25/26: include/exclude geographic location; 27: include IP intelligence; 28/29: AS number belongs/does not belong.
|
|
36660
|
+
*/
|
|
36661
|
+
opretar: number;
|
|
36662
|
+
/**
|
|
36663
|
+
* Match attribute type enumeration. 0: Value; 1: StrLen; 2: Size; 3: Keys; 4: Version; 5: IP (used only for Operator=17~21); 6: Country.
|
|
36664
|
+
*/
|
|
36665
|
+
property: number;
|
|
36666
|
+
/**
|
|
36667
|
+
* Match value. IP identification operations with Operator=17~21 do not involve match content and can be an empty string. For Operator=23~29, fill in according to the corresponding format (IP address group ID/region code/IP intelligence tag/ASN). For other operators, enter the actual match value.
|
|
36668
|
+
*/
|
|
36669
|
+
valueString: string;
|
|
36670
|
+
}
|
|
36671
|
+
interface BotAnalyseProtectRuleCronConf {
|
|
36672
|
+
/**
|
|
36673
|
+
* crontab expression. Recommended format: * \n\n-\n\n * * \n\n, for example * 18-20 * * 1,2,3,4,5.
|
|
36674
|
+
*/
|
|
36675
|
+
crontab: string;
|
|
36676
|
+
/**
|
|
36677
|
+
* Total path threshold during the specified period. Value range: 1~300000.
|
|
36678
|
+
*/
|
|
36679
|
+
pathThreshold: number;
|
|
36680
|
+
/**
|
|
36681
|
+
* Threshold for a single object during the specified period. Value range: 1~300000.
|
|
36682
|
+
*/
|
|
36683
|
+
singleThreshold: number;
|
|
36684
|
+
}
|
|
35431
36685
|
interface CcRuleAccurateGroup {
|
|
35432
36686
|
/**
|
|
35433
36687
|
* Advanced condition group priority. Not required when creating/updating, used only for list display.
|
|
@@ -35483,6 +36737,39 @@ export declare namespace waf {
|
|
|
35483
36737
|
*/
|
|
35484
36738
|
singleThreshold: number;
|
|
35485
36739
|
}
|
|
36740
|
+
interface CustomBotAccurate {
|
|
36741
|
+
/**
|
|
36742
|
+
* Advanced condition subrule list
|
|
36743
|
+
* Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
|
|
36744
|
+
*/
|
|
36745
|
+
accurateRules: outputs.waf.CustomBotAccurateAccurateRule[];
|
|
36746
|
+
/**
|
|
36747
|
+
* Advanced condition group logical relationship. 1: AND; 2: OR
|
|
36748
|
+
*/
|
|
36749
|
+
logic: number;
|
|
36750
|
+
}
|
|
36751
|
+
interface CustomBotAccurateAccurateRule {
|
|
36752
|
+
/**
|
|
36753
|
+
* HTTP objects. Supported match objects are as follows: request.schema: request protocol; request.uri: request URI; request.method: request method; request.path: request path; request.queryargs: request parameters; request.header: request headers; request.header.ua: request User-Agent; request.header.refer: request referer; request.header.cookie: request Cookie header; request.header.content-length: request body length; request.header.content-type: request body format; request.header.x-forwarded-for: X-Forwarded-For; request.header.clientip: client IP; request.queryargs.{Key}: custom request parameter (replace {Key} with the specific parameter name); request.header.{Key}: custom request header (replace {Key} with the specific header name); request.cookie.{Key}: custom Cookie (replace {Key} with the specific Cookie name); response.header: response headers; response.body: response body; response.code: response status code; response.header.content-type: response header content-type; response.header.{Key}: custom response header (replace {Key} with the specific header name); response.body.{Key}: response body field (replace {Key} with the specific field name); request.ja3-hash: JA3 Hash (applicable only to byteplus-global region). You cannot directly pass generalized forms such as request.queryargs.*, request.header.*, request.cookie.*, response.header.*, response.body.*; you must provide a specific Key.
|
|
36754
|
+
*/
|
|
36755
|
+
httpObj: string;
|
|
36756
|
+
/**
|
|
36757
|
+
* Enumeration value for the match object type, used to specify the match object type for subrules in advanced conditions. Supported values are as follows: 0: request.schema; 1: request.uri; 2: request.method; 3: request.path; 4: request.queryargs; 5: request.header; 6: request.header.ua; 7: request.header.refer; 8: request.header.cookie; 9: request.header.content-length; 10: request.header.content-type; 11: request.header.x-forwarded-for; 12: request.header.clientip; 13: request.queryargs.{Key}; 14: request.header.{Key}; 15: request.cookie.{Key}; 17: response.header; 18: response.body; 19: response.code; 20: response.header.content-type; 21: response.header.{Key}; 22: response.body.{Key}; 23: request.ja3-hash (applicable only to byteplus-global regions)
|
|
36758
|
+
*/
|
|
36759
|
+
objType: number;
|
|
36760
|
+
/**
|
|
36761
|
+
* Enumeration values for match operators, used to specify how subrules are matched in advanced conditions. Supported values are as follows: 0: greater than; 1: greater than or equal to; 2: equal to; 3: less than; 4: less than or equal to; 5: not equal to; 6: contains substring; 7: does not contain substring; 8: prefix match; 9: prefix does not match; 10: suffix match; 11: suffix does not match; 12: contains all match sets; 13: does not contain all match sets; 14: belongs to match set; 15: does not belong to match set; 16: regex match; 17: recognized as IP; 18: recognized as IPv4; 19: recognized as IPv6; 20: recognized as private IP; 21: recognized as public IP; 22: reserved value; 23: belongs to IP group; 24: does not belong to IP group; 25: belongs to IP location; 26: does not belong to IP location; 27: contains IP intelligence; 28: belongs to ASN; 29: does not belong to ASN.
|
|
36762
|
+
*/
|
|
36763
|
+
opretar: number;
|
|
36764
|
+
/**
|
|
36765
|
+
* Enumeration value for the match attribute type. Default is 0 (except for special IP recognition scenarios). Supported values are as follows: 0: Value, applicable to most match object scenarios, such as request protocol, URI, method, request header, client IP, JA3 Hash, etc.; 5: IP, only used for the following IP recognition operations: 17 (recognize as IP), 18 (recognize as IPv4), 19 (recognize as IPv6), 20 (recognize as private IP), 21 (recognize as public IP)
|
|
36766
|
+
*/
|
|
36767
|
+
property: number;
|
|
36768
|
+
/**
|
|
36769
|
+
* Specific value corresponding to the match rule. When the match object is a generalized object such as request.header.{Key}, request.queryargs.{Key}, or request.cookie.{Key}, this field indicates the match value for the corresponding Key. Special note: When the operator (Operator) is 17, 18, 19, 20, or 21 and the match object (HttpObj) is request.header.clientip, this field does not need to be filled in; for all other operator scenarios, fill in the actual match value as required
|
|
36770
|
+
*/
|
|
36771
|
+
valueString: string;
|
|
36772
|
+
}
|
|
35486
36773
|
interface CustomPageAccurate {
|
|
35487
36774
|
/**
|
|
35488
36775
|
* Sub-rule list in advanced conditions.
|
|
@@ -35644,6 +36931,60 @@ export declare namespace waf {
|
|
|
35644
36931
|
*/
|
|
35645
36932
|
statisticalKeyLists: string[];
|
|
35646
36933
|
}
|
|
36934
|
+
interface GetBotAnalyseProtectRuleAccurateGroup {
|
|
36935
|
+
/**
|
|
36936
|
+
* Priority of advanced condition group. Not required for create/update; used only for list display.
|
|
36937
|
+
*/
|
|
36938
|
+
accurateGroupPriority: number;
|
|
36939
|
+
/**
|
|
36940
|
+
* Sub-rule list in advanced conditions.
|
|
36941
|
+
*/
|
|
36942
|
+
accurateRules: outputs.waf.GetBotAnalyseProtectRuleAccurateGroupAccurateRule[];
|
|
36943
|
+
/**
|
|
36944
|
+
* Advanced condition group ID. Not required for create/update operations; used only for list display.
|
|
36945
|
+
*/
|
|
36946
|
+
id: number;
|
|
36947
|
+
/**
|
|
36948
|
+
* Logical relationship. 1: AND; 2: OR.
|
|
36949
|
+
*/
|
|
36950
|
+
logic: number;
|
|
36951
|
+
}
|
|
36952
|
+
interface GetBotAnalyseProtectRuleAccurateGroupAccurateRule {
|
|
36953
|
+
/**
|
|
36954
|
+
* Match object. Fixed objects automatically generate HttpObj by ObjType. Custom objects require specifying the Key in HttpObj, e.g., request.header.clientip, request.uri, request.queryargs.abc, request.header.custom-header, request.cookie.custom-cookie, etc.
|
|
36955
|
+
*/
|
|
36956
|
+
httpObj: string;
|
|
36957
|
+
/**
|
|
36958
|
+
* Enumeration of match object types. 0: request protocol; 1: request URI; 2: request method; 3: request path; 4: request parameters; 5: request header; 6: User-Agent; 7: Referer; 8: Cookie; 9: request body length; 10: request body format; 11: X-Forwarded-For; 12: client IP; 13: custom Args; 14: custom Header; 15: custom Cookie; 23: JA3 Hash; 25: Session-ID; 26: client fingerprint.
|
|
36959
|
+
*/
|
|
36960
|
+
objType: number;
|
|
36961
|
+
/**
|
|
36962
|
+
* Enumeration of match operators. 0~5: size comparison; 6~11: substring match; 12~15: set match; 16: regex; 17~21: IP identification (only for request.header.clientip or custom objects); 23/24: include/exclude address group; 25/26: include/exclude geographic location; 27: include IP intelligence; 28/29: AS number belongs/does not belong.
|
|
36963
|
+
*/
|
|
36964
|
+
opretar: number;
|
|
36965
|
+
/**
|
|
36966
|
+
* Match attribute type enumeration. 0: Value; 1: StrLen; 2: Size; 3: Keys; 4: Version; 5: IP (used only for Operator=17~21); 6: Country.
|
|
36967
|
+
*/
|
|
36968
|
+
property: number;
|
|
36969
|
+
/**
|
|
36970
|
+
* Match value. IP identification operations with Operator=17~21 do not involve match content and can be an empty string. For Operator=23~29, fill in according to the corresponding format (IP address group ID/region code/IP intelligence tag/ASN). For other operators, enter the actual match value.
|
|
36971
|
+
*/
|
|
36972
|
+
valueString: string;
|
|
36973
|
+
}
|
|
36974
|
+
interface GetBotAnalyseProtectRuleCronConf {
|
|
36975
|
+
/**
|
|
36976
|
+
* crontab expression. Recommended format: * \n\n-\n\n * * \n\n, for example * 18-20 * * 1,2,3,4,5.
|
|
36977
|
+
*/
|
|
36978
|
+
crontab: string;
|
|
36979
|
+
/**
|
|
36980
|
+
* Total path threshold during the specified period. Value range: 1~300000.
|
|
36981
|
+
*/
|
|
36982
|
+
pathThreshold: number;
|
|
36983
|
+
/**
|
|
36984
|
+
* Threshold for a single object during the specified period. Value range: 1~300000.
|
|
36985
|
+
*/
|
|
36986
|
+
singleThreshold: number;
|
|
36987
|
+
}
|
|
35647
36988
|
interface GetCcRuleAccurateGroup {
|
|
35648
36989
|
/**
|
|
35649
36990
|
* Advanced condition group priority. Not required when creating/updating, used only for list display.
|
|
@@ -35698,6 +37039,38 @@ export declare namespace waf {
|
|
|
35698
37039
|
*/
|
|
35699
37040
|
singleThreshold: number;
|
|
35700
37041
|
}
|
|
37042
|
+
interface GetCustomBotAccurate {
|
|
37043
|
+
/**
|
|
37044
|
+
* Advanced condition subrule list
|
|
37045
|
+
*/
|
|
37046
|
+
accurateRules: outputs.waf.GetCustomBotAccurateAccurateRule[];
|
|
37047
|
+
/**
|
|
37048
|
+
* Advanced condition group logical relationship. 1: AND; 2: OR
|
|
37049
|
+
*/
|
|
37050
|
+
logic: number;
|
|
37051
|
+
}
|
|
37052
|
+
interface GetCustomBotAccurateAccurateRule {
|
|
37053
|
+
/**
|
|
37054
|
+
* HTTP objects. Supported match objects are as follows: request.schema: request protocol; request.uri: request URI; request.method: request method; request.path: request path; request.queryargs: request parameters; request.header: request headers; request.header.ua: request User-Agent; request.header.refer: request referer; request.header.cookie: request Cookie header; request.header.content-length: request body length; request.header.content-type: request body format; request.header.x-forwarded-for: X-Forwarded-For; request.header.clientip: client IP; request.queryargs.{Key}: custom request parameter (replace {Key} with the specific parameter name); request.header.{Key}: custom request header (replace {Key} with the specific header name); request.cookie.{Key}: custom Cookie (replace {Key} with the specific Cookie name); response.header: response headers; response.body: response body; response.code: response status code; response.header.content-type: response header content-type; response.header.{Key}: custom response header (replace {Key} with the specific header name); response.body.{Key}: response body field (replace {Key} with the specific field name); request.ja3-hash: JA3 Hash (applicable only to byteplus-global region). You cannot directly pass generalized forms such as request.queryargs.*, request.header.*, request.cookie.*, response.header.*, response.body.*; you must provide a specific Key.
|
|
37055
|
+
*/
|
|
37056
|
+
httpObj: string;
|
|
37057
|
+
/**
|
|
37058
|
+
* Enumeration value for the match object type, used to specify the match object type for subrules in advanced conditions. Supported values are as follows: 0: request.schema; 1: request.uri; 2: request.method; 3: request.path; 4: request.queryargs; 5: request.header; 6: request.header.ua; 7: request.header.refer; 8: request.header.cookie; 9: request.header.content-length; 10: request.header.content-type; 11: request.header.x-forwarded-for; 12: request.header.clientip; 13: request.queryargs.{Key}; 14: request.header.{Key}; 15: request.cookie.{Key}; 17: response.header; 18: response.body; 19: response.code; 20: response.header.content-type; 21: response.header.{Key}; 22: response.body.{Key}; 23: request.ja3-hash (applicable only to byteplus-global regions)
|
|
37059
|
+
*/
|
|
37060
|
+
objType: number;
|
|
37061
|
+
/**
|
|
37062
|
+
* Enumeration values for match operators, used to specify how subrules are matched in advanced conditions. Supported values are as follows: 0: greater than; 1: greater than or equal to; 2: equal to; 3: less than; 4: less than or equal to; 5: not equal to; 6: contains substring; 7: does not contain substring; 8: prefix match; 9: prefix does not match; 10: suffix match; 11: suffix does not match; 12: contains all match sets; 13: does not contain all match sets; 14: belongs to match set; 15: does not belong to match set; 16: regex match; 17: recognized as IP; 18: recognized as IPv4; 19: recognized as IPv6; 20: recognized as private IP; 21: recognized as public IP; 22: reserved value; 23: belongs to IP group; 24: does not belong to IP group; 25: belongs to IP location; 26: does not belong to IP location; 27: contains IP intelligence; 28: belongs to ASN; 29: does not belong to ASN.
|
|
37063
|
+
*/
|
|
37064
|
+
opretar: number;
|
|
37065
|
+
/**
|
|
37066
|
+
* Enumeration value for the match attribute type. Default is 0 (except for special IP recognition scenarios). Supported values are as follows: 0: Value, applicable to most match object scenarios, such as request protocol, URI, method, request header, client IP, JA3 Hash, etc.; 5: IP, only used for the following IP recognition operations: 17 (recognize as IP), 18 (recognize as IPv4), 19 (recognize as IPv6), 20 (recognize as private IP), 21 (recognize as public IP)
|
|
37067
|
+
*/
|
|
37068
|
+
property: number;
|
|
37069
|
+
/**
|
|
37070
|
+
* Specific value corresponding to the match rule. When the match object is a generalized object such as request.header.{Key}, request.queryargs.{Key}, or request.cookie.{Key}, this field indicates the match value for the corresponding Key. Special note: When the operator (Operator) is 17, 18, 19, 20, or 21 and the match object (HttpObj) is request.header.clientip, this field does not need to be filled in; for all other operator scenarios, fill in the actual match value as required
|
|
37071
|
+
*/
|
|
37072
|
+
valueString: string;
|
|
37073
|
+
}
|
|
35701
37074
|
interface GetCustomPageAccurate {
|
|
35702
37075
|
/**
|
|
35703
37076
|
* Sub-rule list in advanced conditions.
|