@volcengine/pulumi-volcenginecc 0.0.7 → 0.0.9
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/autoscaling/getScalingGroup.d.ts +153 -0
- package/autoscaling/getScalingGroup.js +28 -0
- package/autoscaling/getScalingGroup.js.map +1 -0
- package/autoscaling/getScalingGroups.d.ts +22 -0
- package/autoscaling/getScalingGroups.js +24 -0
- package/autoscaling/getScalingGroups.js.map +1 -0
- package/autoscaling/getScalingPolicies.d.ts +22 -0
- package/autoscaling/getScalingPolicies.js +24 -0
- package/autoscaling/getScalingPolicies.js.map +1 -0
- package/autoscaling/getScalingPolicy.d.ts +81 -0
- package/autoscaling/getScalingPolicy.js +28 -0
- package/autoscaling/getScalingPolicy.js.map +1 -0
- package/autoscaling/index.d.ts +18 -0
- package/autoscaling/index.js +23 -1
- package/autoscaling/index.js.map +1 -1
- package/autoscaling/scalingGroup.d.ts +332 -0
- package/autoscaling/scalingGroup.js +126 -0
- package/autoscaling/scalingGroup.js.map +1 -0
- package/autoscaling/scalingPolicy.d.ts +171 -0
- package/autoscaling/scalingPolicy.js +87 -0
- package/autoscaling/scalingPolicy.js.map +1 -0
- package/cdn/getShareConfig.d.ts +1 -1
- package/cdn/shareConfig.d.ts +3 -3
- package/cdn/shareConfig.js +2 -2
- package/cdn/shareConfig.js.map +1 -1
- package/cen/cen.d.ts +151 -0
- package/cen/cen.js +93 -0
- package/cen/cen.js.map +1 -0
- package/cen/getCen.d.ts +77 -0
- package/cen/getCen.js +28 -0
- package/cen/getCen.js.map +1 -0
- package/cen/getCens.d.ts +22 -0
- package/cen/getCens.js +24 -0
- package/cen/getCens.js.map +1 -0
- package/cen/index.d.ts +9 -0
- package/cen/index.js +28 -0
- package/cen/index.js.map +1 -0
- package/index.d.ts +4 -1
- package/index.js +7 -1
- package/index.js.map +1 -1
- package/natgateway/dnatentry.d.ts +175 -0
- package/natgateway/dnatentry.js +112 -0
- package/natgateway/dnatentry.js.map +1 -0
- package/natgateway/getDnatentries.d.ts +22 -0
- package/natgateway/getDnatentries.js +24 -0
- package/natgateway/getDnatentries.js.map +1 -0
- package/natgateway/getDnatentry.d.ts +76 -0
- package/natgateway/getDnatentry.js +28 -0
- package/natgateway/getDnatentry.js.map +1 -0
- package/natgateway/getNatIp.d.ts +68 -0
- package/natgateway/getNatIp.js +28 -0
- package/natgateway/getNatIp.js.map +1 -0
- package/natgateway/getNatIps.d.ts +22 -0
- package/natgateway/getNatIps.js +24 -0
- package/natgateway/getNatIps.js.map +1 -0
- package/natgateway/getSnatentries.d.ts +22 -0
- package/natgateway/getSnatentries.js +24 -0
- package/natgateway/getSnatentries.js.map +1 -0
- package/natgateway/getSnatentry.d.ts +72 -0
- package/natgateway/getSnatentry.js +28 -0
- package/natgateway/getSnatentry.js.map +1 -0
- package/natgateway/index.d.ts +24 -0
- package/natgateway/index.js +29 -1
- package/natgateway/index.js.map +1 -1
- package/natgateway/snatentry.d.ts +155 -0
- package/natgateway/snatentry.js +91 -0
- package/natgateway/snatentry.js.map +1 -0
- package/package.json +1 -1
- package/rabbitmq/getInstance.d.ts +133 -0
- package/rabbitmq/getInstance.js +28 -0
- package/rabbitmq/getInstance.js.map +1 -0
- package/rabbitmq/getInstances.d.ts +22 -0
- package/rabbitmq/getInstances.js +24 -0
- package/rabbitmq/getInstances.js.map +1 -0
- package/rabbitmq/index.d.ts +9 -0
- package/rabbitmq/index.js +28 -0
- package/rabbitmq/index.js.map +1 -0
- package/rabbitmq/instance.d.ts +280 -0
- package/rabbitmq/instance.js +128 -0
- package/rabbitmq/instance.js.map +1 -0
- package/types/input.d.ts +576 -3
- package/types/output.d.ts +1197 -10
- package/vedbm/getInstance.d.ts +157 -0
- package/vedbm/getInstance.js +28 -0
- package/vedbm/getInstance.js.map +1 -0
- package/vedbm/getInstances.d.ts +22 -0
- package/vedbm/getInstances.js +24 -0
- package/vedbm/getInstances.js.map +1 -0
- package/vedbm/index.d.ts +9 -0
- package/vedbm/index.js +28 -0
- package/vedbm/index.js.map +1 -0
- package/vedbm/instance.d.ts +355 -0
- package/vedbm/instance.js +134 -0
- package/vedbm/instance.js.map +1 -0
- package/vke/cluster.d.ts +250 -0
- package/vke/cluster.js +99 -0
- package/vke/cluster.js.map +1 -0
- package/vke/getCluster.d.ts +117 -0
- package/vke/getCluster.js +28 -0
- package/vke/getCluster.js.map +1 -0
- package/vke/getClusters.d.ts +22 -0
- package/vke/getClusters.js +24 -0
- package/vke/getClusters.js.map +1 -0
- package/vke/index.d.ts +9 -0
- package/vke/index.js +12 -1
- package/vke/index.js.map +1 -1
package/types/output.d.ts
CHANGED
|
@@ -1630,6 +1630,144 @@ export declare namespace autoscaling {
|
|
|
1630
1630
|
*/
|
|
1631
1631
|
volumeType: string;
|
|
1632
1632
|
}
|
|
1633
|
+
interface GetScalingGroupInstancesDistribution {
|
|
1634
|
+
/**
|
|
1635
|
+
* 当因价格、库存等原因无法创建足够的抢占式实例时,是否允许使用按量实例补充抢占式容量。true: 允许。false(默认): 不允许。
|
|
1636
|
+
*/
|
|
1637
|
+
compensateWithOnDemand: boolean;
|
|
1638
|
+
/**
|
|
1639
|
+
* 伸缩组中按量计费实例个数的最小值,取值范围:0~2000。当组中按量计费实例个数少于该值时,将优先创建按量计费的实例。
|
|
1640
|
+
*/
|
|
1641
|
+
onDemandBaseCapacity: number;
|
|
1642
|
+
/**
|
|
1643
|
+
* 伸缩组满足最小按量实例数要求后,超出的实例中按量实例应占的比例,取值范围:0~100。
|
|
1644
|
+
*/
|
|
1645
|
+
onDemandPercentageAboveBaseCapacity: number;
|
|
1646
|
+
/**
|
|
1647
|
+
* 是否允许抢占式实例到期替换。开启则表示在抢占式实例被回收前5分钟左右,伸缩组将主动新建新的抢占式实例替换掉当前抢占式实例。true: 允许。false(默认): 不允许。
|
|
1648
|
+
*/
|
|
1649
|
+
spotInstanceRemedy: boolean;
|
|
1650
|
+
}
|
|
1651
|
+
interface GetScalingGroupLaunchTemplateOverride {
|
|
1652
|
+
/**
|
|
1653
|
+
* 指定实例规格。本参数仅当LaunchTemplateId参数存在取值时生有效。
|
|
1654
|
+
*/
|
|
1655
|
+
instanceType: string;
|
|
1656
|
+
/**
|
|
1657
|
+
* 指定抢占式实例规格每小时的最高价格。本参数仅当LaunchTemplateId参数存在取值,且启动模版的计费模式为设置出价上限的抢占式实例(即SpotWithPriceLimit)时有效。
|
|
1658
|
+
*/
|
|
1659
|
+
priceLimit: number;
|
|
1660
|
+
/**
|
|
1661
|
+
* 实例规格的权重。
|
|
1662
|
+
*/
|
|
1663
|
+
weightedCapacity: number;
|
|
1664
|
+
}
|
|
1665
|
+
interface GetScalingGroupServerGroupAttribute {
|
|
1666
|
+
/**
|
|
1667
|
+
* 负载均衡实例的ID。
|
|
1668
|
+
*/
|
|
1669
|
+
loadBalancerId: string;
|
|
1670
|
+
/**
|
|
1671
|
+
* 负载均衡后端服务器组中服务器的端口号。取值1 ~ 65535。
|
|
1672
|
+
*/
|
|
1673
|
+
port: number;
|
|
1674
|
+
/**
|
|
1675
|
+
* 负载均衡后端服务器组的ID。
|
|
1676
|
+
*/
|
|
1677
|
+
serverGroupId: string;
|
|
1678
|
+
/**
|
|
1679
|
+
* 负载均衡服务器组类型。单个CLB/ALB最多支持添加20个后端服务器组,所有CLB/ALB最多支持添加100个后端服务器。ALB:应用型负载均衡。CLB:传统型型负载均衡(默认)。
|
|
1680
|
+
*/
|
|
1681
|
+
type: string;
|
|
1682
|
+
/**
|
|
1683
|
+
* 负载均衡后端服务器组中服务器的权重。
|
|
1684
|
+
*/
|
|
1685
|
+
weight: number;
|
|
1686
|
+
}
|
|
1687
|
+
interface GetScalingGroupTag {
|
|
1688
|
+
/**
|
|
1689
|
+
* 用户标签的标签键。
|
|
1690
|
+
*/
|
|
1691
|
+
key: string;
|
|
1692
|
+
/**
|
|
1693
|
+
* 用户标签的标签值。
|
|
1694
|
+
*/
|
|
1695
|
+
value: string;
|
|
1696
|
+
}
|
|
1697
|
+
interface GetScalingPolicyAlarmPolicy {
|
|
1698
|
+
/**
|
|
1699
|
+
* 单指标监控时的监控指标详细信息。仅当ScalingPolicyType取值为Alarm时有效。
|
|
1700
|
+
*/
|
|
1701
|
+
condition: outputs.autoscaling.GetScalingPolicyAlarmPolicyCondition;
|
|
1702
|
+
/**
|
|
1703
|
+
* 多指标告警时的判定条件。&&:多个指标同时成立才判定为触发告警。||(默认):任意指标满足条件就判定为触发告警。
|
|
1704
|
+
*/
|
|
1705
|
+
conditionOperator: string;
|
|
1706
|
+
/**
|
|
1707
|
+
* 多指标监控时的监控指标详细信息。仅当ScalingPolicyType取值为Alarm时有效,且必须配置AlarmPolicy.Condition.x或AlarmPolicy.Conditions.x相关参数,当二者同时配置时,仅AlarmPolicy.Conditions.x生效。
|
|
1708
|
+
*/
|
|
1709
|
+
conditions: outputs.autoscaling.GetScalingPolicyAlarmPolicyCondition[];
|
|
1710
|
+
/**
|
|
1711
|
+
* 报警任务的生效时间段。
|
|
1712
|
+
*/
|
|
1713
|
+
effective: string;
|
|
1714
|
+
/**
|
|
1715
|
+
* 当监控指标数据连续几次达到阈值时,即触发伸缩行为。仅当ScalingPolicyType取值为Alarm时有效且为必填项。
|
|
1716
|
+
*/
|
|
1717
|
+
evaluationCount: number;
|
|
1718
|
+
/**
|
|
1719
|
+
* 报警任务的类型,取值:Static:表示由agent采集的静态监控。仅当ScalingPolicyType取值为Alarm时有效且为必填项。
|
|
1720
|
+
*/
|
|
1721
|
+
ruleType: string;
|
|
1722
|
+
}
|
|
1723
|
+
interface GetScalingPolicyAlarmPolicyCondition {
|
|
1724
|
+
/**
|
|
1725
|
+
* 指标告警时的规则表达式对象。>:大于。<:小于。=:等于。
|
|
1726
|
+
*/
|
|
1727
|
+
comparisonOperator: string;
|
|
1728
|
+
/**
|
|
1729
|
+
* 指标告警时的监控指标名称。CpuTotal*Max:带内CPU使用率最大值。CpuTotal*Min:带内CPU使用率最小值。CpuTotal*Avg:带内CPU使用率平均值。MemoryUsedUtilization*Max:带内内存使用率最大值。MemoryUsedUtilization*Min:带内内存使用率最小值。MemoryUsedUtilization*Avg:带内内存使用率平均值。Instance*CpuBusy*Max:带外CPU利用率最大值。Instance*CpuBusy*Min:带外CPU利用率最小值。Instance*CpuBusy*Avg:带外CPU利用率平均值。Instance*NetTxBits*Avg: 带外网络流出速率平均值。Instance*NetRxBits*Avg: 带外网络流入速率平均值。Instance*NetTxPackets*Avg: 带外网络发送包速率平均值。Instance*NetRxPackets*Avg: 带外网络接收包速率平均值。SystemDiskReadBytes*Avg: 带内系统盘读带宽平均值。SystemDiskWriteBytes*Avg: 带内系统盘写带宽平均值。SystemDiskReadIOPS*Avg: 带内系统盘读IOPS平均值。SystemDiskWriteIOPS*Avg: 带内系统盘写IOPS平均值。NetTcpConnection_Avg: 带内TCP连接数平均值。
|
|
1730
|
+
*/
|
|
1731
|
+
metricName: string;
|
|
1732
|
+
/**
|
|
1733
|
+
* 指标告警时的监控指标阈值的单位。当AlarmPolicy.Conditions.MetricName参数取值为CPU/内存使用率时: Percent。当AlarmPolicy.Conditions.MetricName参数取值为系统盘读/写带宽时: Bytes/Second(IEC)。当AlarmPolicy.Conditions.MetricName参数取值为系统盘读/写IOPS时: Count/Second。当AlarmPolicy.Conditions.MetricName参数取值为TCP连接数时: Count。当AlarmPolicy.Condition.MetricName参数取值为网络流入/流出速率时: Bits/Second(IEC)。当AlarmPolicy.Condition.MetricName参数取值为网络收发包速率时: Packet/Second。
|
|
1734
|
+
*/
|
|
1735
|
+
metricUnit: string;
|
|
1736
|
+
/**
|
|
1737
|
+
* 指标告警时的监控指标的阈值。当AlarmPolicy.Conditions.MetricUnit取值为Percent时:1 ~ 100。当AlarmPolicy.Conditions.MetricUnit取值为Bytes/Second(IEC)时:大于0的整数。当AlarmPolicy.Conditions.MetricUnit取值为Count/Second时:大于0的整数。当AlarmPolicy.Conditions.MetricUnit取值为Count时:大于0的整数。当AlarmPolicy.Condition.MetricUnit取值为Bits/Second(IEC)时:大于0的整数。当AlarmPolicy.Condition.MetricUnit取值为Packet/Second时:大于0的整数。
|
|
1738
|
+
*/
|
|
1739
|
+
threshold: string;
|
|
1740
|
+
}
|
|
1741
|
+
interface GetScalingPolicyScheduledPolicy {
|
|
1742
|
+
/**
|
|
1743
|
+
* 表示任务的触发时间,默认为此刻。当ScalingPolicyType值为Scheduled时,表示定时任务的触发时间。当ScalingPolicyType值为Recurrence时:如果ScheduledPolicy.RecurrenceType为空,则表示仅按照此处指定的日期和时间执行一次。如果ScheduledPolicy.RecurrenceType不为空,则表示周期任务开始时间。
|
|
1744
|
+
*/
|
|
1745
|
+
launchTime: string;
|
|
1746
|
+
/**
|
|
1747
|
+
* 表示任务的触发时间。只读字段,修改或创建使用LaunchTime。
|
|
1748
|
+
*/
|
|
1749
|
+
launchTimeRead: string;
|
|
1750
|
+
/**
|
|
1751
|
+
* 表示周期任务的结束时间。仅支持选择自创建当日起365日内的时间。若不配置,则根据重复周期(ScheduledPolicy.RecurrenceType)默认为此刻后的一天/周/月。设置为空,表示本任务永不停止。当ScalingPolicyType取值为Recurrence时有效且为必填项。
|
|
1752
|
+
*/
|
|
1753
|
+
recurrenceEndTime: string;
|
|
1754
|
+
/**
|
|
1755
|
+
* 表示周期任务的结束时间。只读字段,修改或创建使用RecurrenceEndTime。
|
|
1756
|
+
*/
|
|
1757
|
+
recurrenceEndTimeRead: string;
|
|
1758
|
+
/**
|
|
1759
|
+
* 表示周期任务的开始执行时间。当ScalingPolicyType取值为Recurrence时有效。
|
|
1760
|
+
*/
|
|
1761
|
+
recurrenceStartTime: string;
|
|
1762
|
+
/**
|
|
1763
|
+
* 表示周期任务的重复周期,取值:Daily:每XX天执行一次。Weekly:选择每周中的几天,每天执行一次。Monthly:选择每月中XX号到XX号,每天执行一次。Cron:按照指定的Cron表达式执行。当ScalingPolicyType取值为Recurrence时有效且为必填项。
|
|
1764
|
+
*/
|
|
1765
|
+
recurrenceType: string;
|
|
1766
|
+
/**
|
|
1767
|
+
* 表示重复执行周期任务的数值。当ScheduledPolicy.RecurrenceType参数取值为Daily时,只能填写一个值,取值:1 - 31。当ScheduledPolicy.RecurrenceType参数取值为Weekly时,可以填入多个值,使用英文逗号(,)分隔。星期一到星期日的取值依次为:1,2,3,4,5,6,7。当ScheduledPolicy.RecurrenceType参数取值为Monthly时,格式为A-B。A、B的取值范围均为1-31,且B必须大于等于A。当ScheduledPolicy.RecurrenceType参数取值为Cron 时,表示UTC+8时间,支持分、时、日、月、星期的5域表达式,支持通配符英文逗号(,)、英文问号(?)、连词符(-)、星号(*)、井号(#)、斜线(/)、L和W。当ScalingPolicyType取值为Recurrence时有效且为必填项。
|
|
1768
|
+
*/
|
|
1769
|
+
recurrenceValue: string;
|
|
1770
|
+
}
|
|
1633
1771
|
interface ScalingConfigurationEip {
|
|
1634
1772
|
/**
|
|
1635
1773
|
* 公网IP的带宽峰值,默认为1,单位:Mbps。取值:当Eip.BillingType取值为PostPaidByBandwidth时,取值为1 ~ 500。当Eip.BillingType取值为PostPaidByTraffic时,取值为1 ~ 200。
|
|
@@ -1682,6 +1820,133 @@ export declare namespace autoscaling {
|
|
|
1682
1820
|
*/
|
|
1683
1821
|
volumeType: string;
|
|
1684
1822
|
}
|
|
1823
|
+
interface ScalingGroupInstancesDistribution {
|
|
1824
|
+
/**
|
|
1825
|
+
* 当因价格、库存等原因无法创建足够的抢占式实例时,是否允许使用按量实例补充抢占式容量。true: 允许。false(默认): 不允许。
|
|
1826
|
+
*/
|
|
1827
|
+
compensateWithOnDemand: boolean;
|
|
1828
|
+
/**
|
|
1829
|
+
* 伸缩组中按量计费实例个数的最小值,取值范围:0~2000。当组中按量计费实例个数少于该值时,将优先创建按量计费的实例。
|
|
1830
|
+
*/
|
|
1831
|
+
onDemandBaseCapacity: number;
|
|
1832
|
+
/**
|
|
1833
|
+
* 伸缩组满足最小按量实例数要求后,超出的实例中按量实例应占的比例,取值范围:0~100。
|
|
1834
|
+
*/
|
|
1835
|
+
onDemandPercentageAboveBaseCapacity: number;
|
|
1836
|
+
/**
|
|
1837
|
+
* 是否允许抢占式实例到期替换。开启则表示在抢占式实例被回收前5分钟左右,伸缩组将主动新建新的抢占式实例替换掉当前抢占式实例。true: 允许。false(默认): 不允许。
|
|
1838
|
+
*/
|
|
1839
|
+
spotInstanceRemedy: boolean;
|
|
1840
|
+
}
|
|
1841
|
+
interface ScalingGroupLaunchTemplateOverride {
|
|
1842
|
+
/**
|
|
1843
|
+
* 指定实例规格。本参数仅当LaunchTemplateId参数存在取值时生有效。
|
|
1844
|
+
*/
|
|
1845
|
+
instanceType: string;
|
|
1846
|
+
/**
|
|
1847
|
+
* 指定抢占式实例规格每小时的最高价格。本参数仅当LaunchTemplateId参数存在取值,且启动模版的计费模式为设置出价上限的抢占式实例(即SpotWithPriceLimit)时有效。
|
|
1848
|
+
*/
|
|
1849
|
+
priceLimit: number;
|
|
1850
|
+
}
|
|
1851
|
+
interface ScalingGroupServerGroupAttribute {
|
|
1852
|
+
/**
|
|
1853
|
+
* 负载均衡后端服务器组中服务器的端口号。取值1 ~ 65535。
|
|
1854
|
+
*/
|
|
1855
|
+
port: number;
|
|
1856
|
+
/**
|
|
1857
|
+
* 负载均衡后端服务器组的ID。
|
|
1858
|
+
*/
|
|
1859
|
+
serverGroupId: string;
|
|
1860
|
+
/**
|
|
1861
|
+
* 负载均衡服务器组类型。单个CLB/ALB最多支持添加20个后端服务器组,所有CLB/ALB最多支持添加100个后端服务器。ALB:应用型负载均衡。CLB:传统型型负载均衡(默认)。
|
|
1862
|
+
*/
|
|
1863
|
+
type: string;
|
|
1864
|
+
/**
|
|
1865
|
+
* 负载均衡后端服务器组中服务器的权重。
|
|
1866
|
+
*/
|
|
1867
|
+
weight: number;
|
|
1868
|
+
}
|
|
1869
|
+
interface ScalingGroupTag {
|
|
1870
|
+
/**
|
|
1871
|
+
* 用户标签的标签键。
|
|
1872
|
+
*/
|
|
1873
|
+
key: string;
|
|
1874
|
+
/**
|
|
1875
|
+
* 用户标签的标签值。
|
|
1876
|
+
*/
|
|
1877
|
+
value: string;
|
|
1878
|
+
}
|
|
1879
|
+
interface ScalingPolicyAlarmPolicy {
|
|
1880
|
+
/**
|
|
1881
|
+
* 单指标监控时的监控指标详细信息。仅当ScalingPolicyType取值为Alarm时有效。
|
|
1882
|
+
*/
|
|
1883
|
+
condition: outputs.autoscaling.ScalingPolicyAlarmPolicyCondition;
|
|
1884
|
+
/**
|
|
1885
|
+
* 多指标告警时的判定条件。&&:多个指标同时成立才判定为触发告警。||(默认):任意指标满足条件就判定为触发告警。
|
|
1886
|
+
*/
|
|
1887
|
+
conditionOperator: string;
|
|
1888
|
+
conditions: outputs.autoscaling.ScalingPolicyAlarmPolicyCondition[];
|
|
1889
|
+
/**
|
|
1890
|
+
* 报警任务的生效时间段。
|
|
1891
|
+
*/
|
|
1892
|
+
effective: string;
|
|
1893
|
+
/**
|
|
1894
|
+
* 当监控指标数据连续几次达到阈值时,即触发伸缩行为。仅当ScalingPolicyType取值为Alarm时有效且为必填项。
|
|
1895
|
+
*/
|
|
1896
|
+
evaluationCount: number;
|
|
1897
|
+
/**
|
|
1898
|
+
* 报警任务的类型,取值:Static:表示由agent采集的静态监控。仅当ScalingPolicyType取值为Alarm时有效且为必填项。
|
|
1899
|
+
*/
|
|
1900
|
+
ruleType: string;
|
|
1901
|
+
}
|
|
1902
|
+
interface ScalingPolicyAlarmPolicyCondition {
|
|
1903
|
+
/**
|
|
1904
|
+
* 指标告警时的规则表达式对象。>:大于。<:小于。=:等于。
|
|
1905
|
+
*/
|
|
1906
|
+
comparisonOperator: string;
|
|
1907
|
+
/**
|
|
1908
|
+
* 指标告警时的监控指标名称。CpuTotal*Max:带内CPU使用率最大值。CpuTotal*Min:带内CPU使用率最小值。CpuTotal*Avg:带内CPU使用率平均值。MemoryUsedUtilization*Max:带内内存使用率最大值。MemoryUsedUtilization*Min:带内内存使用率最小值。MemoryUsedUtilization*Avg:带内内存使用率平均值。Instance*CpuBusy*Max:带外CPU利用率最大值。Instance*CpuBusy*Min:带外CPU利用率最小值。Instance*CpuBusy*Avg:带外CPU利用率平均值。Instance*NetTxBits*Avg: 带外网络流出速率平均值。Instance*NetRxBits*Avg: 带外网络流入速率平均值。Instance*NetTxPackets*Avg: 带外网络发送包速率平均值。Instance*NetRxPackets*Avg: 带外网络接收包速率平均值。SystemDiskReadBytes*Avg: 带内系统盘读带宽平均值。SystemDiskWriteBytes*Avg: 带内系统盘写带宽平均值。SystemDiskReadIOPS*Avg: 带内系统盘读IOPS平均值。SystemDiskWriteIOPS*Avg: 带内系统盘写IOPS平均值。NetTcpConnection_Avg: 带内TCP连接数平均值。
|
|
1909
|
+
*/
|
|
1910
|
+
metricName: string;
|
|
1911
|
+
/**
|
|
1912
|
+
* 指标告警时的监控指标阈值的单位。当AlarmPolicy.Conditions.MetricName参数取值为CPU/内存使用率时: Percent。当AlarmPolicy.Conditions.MetricName参数取值为系统盘读/写带宽时: Bytes/Second(IEC)。当AlarmPolicy.Conditions.MetricName参数取值为系统盘读/写IOPS时: Count/Second。当AlarmPolicy.Conditions.MetricName参数取值为TCP连接数时: Count。当AlarmPolicy.Condition.MetricName参数取值为网络流入/流出速率时: Bits/Second(IEC)。当AlarmPolicy.Condition.MetricName参数取值为网络收发包速率时: Packet/Second。
|
|
1913
|
+
*/
|
|
1914
|
+
metricUnit: string;
|
|
1915
|
+
/**
|
|
1916
|
+
* 指标告警时的监控指标的阈值。当AlarmPolicy.Conditions.MetricUnit取值为Percent时:1 ~ 100。当AlarmPolicy.Conditions.MetricUnit取值为Bytes/Second(IEC)时:大于0的整数。当AlarmPolicy.Conditions.MetricUnit取值为Count/Second时:大于0的整数。当AlarmPolicy.Conditions.MetricUnit取值为Count时:大于0的整数。当AlarmPolicy.Condition.MetricUnit取值为Bits/Second(IEC)时:大于0的整数。当AlarmPolicy.Condition.MetricUnit取值为Packet/Second时:大于0的整数。
|
|
1917
|
+
*/
|
|
1918
|
+
threshold: string;
|
|
1919
|
+
}
|
|
1920
|
+
interface ScalingPolicyScheduledPolicy {
|
|
1921
|
+
/**
|
|
1922
|
+
* 表示任务的触发时间,默认为此刻。当ScalingPolicyType值为Scheduled时,表示定时任务的触发时间。当ScalingPolicyType值为Recurrence时:如果ScheduledPolicy.RecurrenceType为空,则表示仅按照此处指定的日期和时间执行一次。如果ScheduledPolicy.RecurrenceType不为空,则表示周期任务开始时间。
|
|
1923
|
+
*/
|
|
1924
|
+
launchTime: string;
|
|
1925
|
+
/**
|
|
1926
|
+
* 表示任务的触发时间。只读字段,修改或创建使用LaunchTime。
|
|
1927
|
+
*/
|
|
1928
|
+
launchTimeRead: string;
|
|
1929
|
+
/**
|
|
1930
|
+
* 表示周期任务的结束时间。仅支持选择自创建当日起365日内的时间。若不配置,则根据重复周期(ScheduledPolicy.RecurrenceType)默认为此刻后的一天/周/月。设置为空,表示本任务永不停止。当ScalingPolicyType取值为Recurrence时有效且为必填项。
|
|
1931
|
+
*/
|
|
1932
|
+
recurrenceEndTime: string;
|
|
1933
|
+
/**
|
|
1934
|
+
* 表示周期任务的结束时间。只读字段,修改或创建使用RecurrenceEndTime。
|
|
1935
|
+
*/
|
|
1936
|
+
recurrenceEndTimeRead: string;
|
|
1937
|
+
/**
|
|
1938
|
+
* 表示周期任务的开始执行时间。当ScalingPolicyType取值为Recurrence时有效。
|
|
1939
|
+
*/
|
|
1940
|
+
recurrenceStartTime: string;
|
|
1941
|
+
/**
|
|
1942
|
+
* 表示周期任务的重复周期,取值:Daily:每XX天执行一次。Weekly:选择每周中的几天,每天执行一次。Monthly:选择每月中XX号到XX号,每天执行一次。Cron:按照指定的Cron表达式执行。当ScalingPolicyType取值为Recurrence时有效且为必填项。
|
|
1943
|
+
*/
|
|
1944
|
+
recurrenceType: string;
|
|
1945
|
+
/**
|
|
1946
|
+
* 表示重复执行周期任务的数值。当ScheduledPolicy.RecurrenceType参数取值为Daily时,只能填写一个值,取值:1 - 31。当ScheduledPolicy.RecurrenceType参数取值为Weekly时,可以填入多个值,使用英文逗号(,)分隔。星期一到星期日的取值依次为:1,2,3,4,5,6,7。当ScheduledPolicy.RecurrenceType参数取值为Monthly时,格式为A-B。A、B的取值范围均为1-31,且B必须大于等于A。当ScheduledPolicy.RecurrenceType参数取值为Cron 时,表示UTC+8时间,支持分、时、日、月、星期的5域表达式,支持通配符英文逗号(,)、英文问号(?)、连词符(-)、星号(*)、井号(#)、斜线(/)、L和W。当ScalingPolicyType取值为Recurrence时有效且为必填项。
|
|
1947
|
+
*/
|
|
1948
|
+
recurrenceValue: string;
|
|
1949
|
+
}
|
|
1685
1950
|
}
|
|
1686
1951
|
export declare namespace cdn {
|
|
1687
1952
|
interface GetShareConfigAllowIpAccessRule {
|
|
@@ -1710,13 +1975,13 @@ export declare namespace cdn {
|
|
|
1710
1975
|
*/
|
|
1711
1976
|
rules: string[];
|
|
1712
1977
|
}
|
|
1713
|
-
interface
|
|
1978
|
+
interface GetShareConfigCommonMatchList {
|
|
1714
1979
|
/**
|
|
1715
1980
|
* 表示该通用列表的内容。
|
|
1716
1981
|
*/
|
|
1717
|
-
commonType: outputs.cdn.
|
|
1982
|
+
commonType: outputs.cdn.GetShareConfigCommonMatchListCommonType;
|
|
1718
1983
|
}
|
|
1719
|
-
interface
|
|
1984
|
+
interface GetShareConfigCommonMatchListCommonType {
|
|
1720
1985
|
/**
|
|
1721
1986
|
* 表示 Rules 中的条目是否区分大小写。该参数有以下取值:true:表示不区分大小写。false:表示区分大小写。该参数的默认值是 true。
|
|
1722
1987
|
*/
|
|
@@ -1778,13 +2043,13 @@ export declare namespace cdn {
|
|
|
1778
2043
|
*/
|
|
1779
2044
|
rules: string[];
|
|
1780
2045
|
}
|
|
1781
|
-
interface
|
|
2046
|
+
interface ShareConfigCommonMatchList {
|
|
1782
2047
|
/**
|
|
1783
2048
|
* 表示该通用列表的内容。
|
|
1784
2049
|
*/
|
|
1785
|
-
commonType: outputs.cdn.
|
|
2050
|
+
commonType: outputs.cdn.ShareConfigCommonMatchListCommonType;
|
|
1786
2051
|
}
|
|
1787
|
-
interface
|
|
2052
|
+
interface ShareConfigCommonMatchListCommonType {
|
|
1788
2053
|
/**
|
|
1789
2054
|
* 表示 Rules 中的条目是否区分大小写。该参数有以下取值:true:表示不区分大小写。false:表示区分大小写。该参数的默认值是 true。
|
|
1790
2055
|
*/
|
|
@@ -1821,6 +2086,28 @@ export declare namespace cdn {
|
|
|
1821
2086
|
rules: string[];
|
|
1822
2087
|
}
|
|
1823
2088
|
}
|
|
2089
|
+
export declare namespace cen {
|
|
2090
|
+
interface CenTag {
|
|
2091
|
+
/**
|
|
2092
|
+
* 用户标签的标签键。长度限制为1~128个字符。大小写敏感,不能以空格开头或结尾。允许包含字母、数字、空格()、下划线(_)、点号(.)、半角冒号(:)、斜杠(/)、等号(=)、加号(+)、减号(-)和@。同一资源的标签键不允许重复
|
|
2093
|
+
*/
|
|
2094
|
+
key: string;
|
|
2095
|
+
/**
|
|
2096
|
+
* 用户标签的标签值。长度限制为0~256个字符。大小写敏感,不能以空格开头或结尾。允许包含字母、数字、空格()、下划线(_)、点号(.)、半角冒号(:)、斜杠(/)、等号(=)、加号(+)、减号(-)和@
|
|
2097
|
+
*/
|
|
2098
|
+
value: string;
|
|
2099
|
+
}
|
|
2100
|
+
interface GetCenTag {
|
|
2101
|
+
/**
|
|
2102
|
+
* 用户标签的标签键。长度限制为1~128个字符。大小写敏感,不能以空格开头或结尾。允许包含字母、数字、空格()、下划线(_)、点号(.)、半角冒号(:)、斜杠(/)、等号(=)、加号(+)、减号(-)和@。同一资源的标签键不允许重复
|
|
2103
|
+
*/
|
|
2104
|
+
key: string;
|
|
2105
|
+
/**
|
|
2106
|
+
* 用户标签的标签值。长度限制为0~256个字符。大小写敏感,不能以空格开头或结尾。允许包含字母、数字、空格()、下划线(_)、点号(.)、半角冒号(:)、斜杠(/)、等号(=)、加号(+)、减号(-)和@
|
|
2107
|
+
*/
|
|
2108
|
+
value: string;
|
|
2109
|
+
}
|
|
2110
|
+
}
|
|
1824
2111
|
export declare namespace clb {
|
|
1825
2112
|
interface AclAclEntry {
|
|
1826
2113
|
/**
|
|
@@ -4592,6 +4879,156 @@ export declare namespace privatezone {
|
|
|
4592
4879
|
vpcId: string;
|
|
4593
4880
|
}
|
|
4594
4881
|
}
|
|
4882
|
+
export declare namespace rabbitmq {
|
|
4883
|
+
interface GetInstanceChargeDetail {
|
|
4884
|
+
/**
|
|
4885
|
+
* 包年包月实例到期后是否自动续费。
|
|
4886
|
+
*/
|
|
4887
|
+
autoRenew: boolean;
|
|
4888
|
+
/**
|
|
4889
|
+
* 实例的结束计费时间,时间显示格式为 YYYY-MM-DD'T'HH:MM:SS'Z'。
|
|
4890
|
+
*/
|
|
4891
|
+
chargeEndTime: string;
|
|
4892
|
+
/**
|
|
4893
|
+
* 包年包月实例的到期时间。时间显示格式为 YYYY-MM-DD'T'HH:MM:SS'Z'。
|
|
4894
|
+
*/
|
|
4895
|
+
chargeExpireTime: string;
|
|
4896
|
+
/**
|
|
4897
|
+
* 实例的开始计费时间,时间显示格式为 YYYY-MM-DD'T'HH:MM:SS'Z'。
|
|
4898
|
+
*/
|
|
4899
|
+
chargeStartTime: string;
|
|
4900
|
+
/**
|
|
4901
|
+
* 实例的计费状态。包括:Normal:正常,Overdue:按量计费欠费,Expired:包年包月到期。
|
|
4902
|
+
*/
|
|
4903
|
+
chargeStatus: string;
|
|
4904
|
+
/**
|
|
4905
|
+
* 实例的计费类型。支持的类型包括:PostPaid :按量付费,PrePaid:包年包月。
|
|
4906
|
+
*/
|
|
4907
|
+
chargeType: string;
|
|
4908
|
+
/**
|
|
4909
|
+
* 实例欠费关停后的预计释放时间。时间显示格式为 YYYY-MM-DD'T'HH:MM:SS'Z'。
|
|
4910
|
+
*/
|
|
4911
|
+
overdueReclaimTime: string;
|
|
4912
|
+
/**
|
|
4913
|
+
* 实例的欠费关停时间。时间显示格式为 YYYY-MM-DD'T'HH:MM:SS'Z'。
|
|
4914
|
+
*/
|
|
4915
|
+
overdueTime: string;
|
|
4916
|
+
/**
|
|
4917
|
+
* 包年包月类型实例的购买时长。PeriodUnit 指定为 Month 时,取值范围为 1~9。PeriodUnit 指定为 Year 时,取值范围为 1~3。
|
|
4918
|
+
*/
|
|
4919
|
+
period: number;
|
|
4920
|
+
/**
|
|
4921
|
+
* 购买时长的单位,取值如下:MONTHLY:按月购买。YEARLY:按年购买。
|
|
4922
|
+
*/
|
|
4923
|
+
periodUnit: string;
|
|
4924
|
+
}
|
|
4925
|
+
interface GetInstanceEndpoint {
|
|
4926
|
+
/**
|
|
4927
|
+
* 实例的接入点类型。RabbitMQ实例提供的接入点类型包括:WEB:Web UI 接入点,AMQP0*9*1:AMQP 接入点,MQTT:MQTT接入点,WEB_MQTT:WEB ,MQTT 接入点,STOMP:STOMP 接入点。
|
|
4928
|
+
*/
|
|
4929
|
+
endpointType: string;
|
|
4930
|
+
/**
|
|
4931
|
+
* 实例的私网访问域名。
|
|
4932
|
+
*/
|
|
4933
|
+
internalEndpoint: string;
|
|
4934
|
+
/**
|
|
4935
|
+
* 公共服务区 IP 接入点。
|
|
4936
|
+
*/
|
|
4937
|
+
internalIpEndpoint: string;
|
|
4938
|
+
/**
|
|
4939
|
+
* 接入点的网络类型。PrivateNetwork 表示私有网络 VPC。
|
|
4940
|
+
*/
|
|
4941
|
+
networkType: string;
|
|
4942
|
+
/**
|
|
4943
|
+
* 实例公网访问域名。仅在开启公网访问之后显示。
|
|
4944
|
+
*/
|
|
4945
|
+
publicEndpoint: string;
|
|
4946
|
+
}
|
|
4947
|
+
interface GetInstanceTag {
|
|
4948
|
+
/**
|
|
4949
|
+
* 标签的键。
|
|
4950
|
+
*/
|
|
4951
|
+
key: string;
|
|
4952
|
+
/**
|
|
4953
|
+
* 标签的值。
|
|
4954
|
+
*/
|
|
4955
|
+
value: string;
|
|
4956
|
+
}
|
|
4957
|
+
interface InstanceChargeDetail {
|
|
4958
|
+
/**
|
|
4959
|
+
* 包年包月实例到期后是否自动续费。
|
|
4960
|
+
*/
|
|
4961
|
+
autoRenew: boolean;
|
|
4962
|
+
/**
|
|
4963
|
+
* 实例的结束计费时间,时间显示格式为 YYYY-MM-DD'T'HH:MM:SS'Z'。
|
|
4964
|
+
*/
|
|
4965
|
+
chargeEndTime: string;
|
|
4966
|
+
/**
|
|
4967
|
+
* 包年包月实例的到期时间。时间显示格式为 YYYY-MM-DD'T'HH:MM:SS'Z'。
|
|
4968
|
+
*/
|
|
4969
|
+
chargeExpireTime: string;
|
|
4970
|
+
/**
|
|
4971
|
+
* 实例的开始计费时间,时间显示格式为 YYYY-MM-DD'T'HH:MM:SS'Z'。
|
|
4972
|
+
*/
|
|
4973
|
+
chargeStartTime: string;
|
|
4974
|
+
/**
|
|
4975
|
+
* 实例的计费状态。包括:Normal:正常,Overdue:按量计费欠费,Expired:包年包月到期。
|
|
4976
|
+
*/
|
|
4977
|
+
chargeStatus: string;
|
|
4978
|
+
/**
|
|
4979
|
+
* 实例的计费类型。支持的类型包括:PostPaid :按量付费,PrePaid:包年包月。
|
|
4980
|
+
*/
|
|
4981
|
+
chargeType: string;
|
|
4982
|
+
/**
|
|
4983
|
+
* 实例欠费关停后的预计释放时间。时间显示格式为 YYYY-MM-DD'T'HH:MM:SS'Z'。
|
|
4984
|
+
*/
|
|
4985
|
+
overdueReclaimTime: string;
|
|
4986
|
+
/**
|
|
4987
|
+
* 实例的欠费关停时间。时间显示格式为 YYYY-MM-DD'T'HH:MM:SS'Z'。
|
|
4988
|
+
*/
|
|
4989
|
+
overdueTime: string;
|
|
4990
|
+
/**
|
|
4991
|
+
* 包年包月类型实例的购买时长。PeriodUnit 指定为 Month 时,取值范围为 1~9。PeriodUnit 指定为 Year 时,取值范围为 1~3。
|
|
4992
|
+
*/
|
|
4993
|
+
period: number;
|
|
4994
|
+
/**
|
|
4995
|
+
* 购买时长的单位,取值如下:MONTHLY:按月购买。YEARLY:按年购买。
|
|
4996
|
+
*/
|
|
4997
|
+
periodUnit: string;
|
|
4998
|
+
}
|
|
4999
|
+
interface InstanceEndpoint {
|
|
5000
|
+
/**
|
|
5001
|
+
* 实例的接入点类型。RabbitMQ实例提供的接入点类型包括:WEB:Web UI 接入点,AMQP0*9*1:AMQP 接入点,MQTT:MQTT接入点,WEB_MQTT:WEB ,MQTT 接入点,STOMP:STOMP 接入点。
|
|
5002
|
+
*/
|
|
5003
|
+
endpointType: string;
|
|
5004
|
+
/**
|
|
5005
|
+
* 实例的私网访问域名。
|
|
5006
|
+
*/
|
|
5007
|
+
internalEndpoint: string;
|
|
5008
|
+
/**
|
|
5009
|
+
* 公共服务区 IP 接入点。
|
|
5010
|
+
*/
|
|
5011
|
+
internalIpEndpoint: string;
|
|
5012
|
+
/**
|
|
5013
|
+
* 接入点的网络类型。PrivateNetwork 表示私有网络 VPC。
|
|
5014
|
+
*/
|
|
5015
|
+
networkType: string;
|
|
5016
|
+
/**
|
|
5017
|
+
* 实例公网访问域名。仅在开启公网访问之后显示。
|
|
5018
|
+
*/
|
|
5019
|
+
publicEndpoint: string;
|
|
5020
|
+
}
|
|
5021
|
+
interface InstanceTag {
|
|
5022
|
+
/**
|
|
5023
|
+
* 标签的键。
|
|
5024
|
+
*/
|
|
5025
|
+
key: string;
|
|
5026
|
+
/**
|
|
5027
|
+
* 标签的值。
|
|
5028
|
+
*/
|
|
5029
|
+
value: string;
|
|
5030
|
+
}
|
|
5031
|
+
}
|
|
4595
5032
|
export declare namespace rdsmysql {
|
|
4596
5033
|
interface DatabaseDatabasePrivilege {
|
|
4597
5034
|
/**
|
|
@@ -5582,12 +6019,351 @@ export declare namespace transitrouter {
|
|
|
5582
6019
|
value: string;
|
|
5583
6020
|
}
|
|
5584
6021
|
}
|
|
5585
|
-
export declare namespace
|
|
5586
|
-
interface
|
|
6022
|
+
export declare namespace vedbm {
|
|
6023
|
+
interface GetInstanceChargeDetail {
|
|
5587
6024
|
/**
|
|
5588
|
-
*
|
|
6025
|
+
* 预付费场景下是否自动续费。取值:true:自动续费。false:不自动续费。
|
|
5589
6026
|
*/
|
|
5590
|
-
|
|
6027
|
+
autoRenew: boolean;
|
|
6028
|
+
/**
|
|
6029
|
+
* 预付费场景下计费到期的时间,格式:yyyy-MM-ddTHH:mm:ssZ(UTC 时间)。
|
|
6030
|
+
*/
|
|
6031
|
+
chargeEndTime: string;
|
|
6032
|
+
/**
|
|
6033
|
+
* 计费开始的时间,格式:yyyy-MM-ddTHH:mm:ssZ(UTC 时间)。
|
|
6034
|
+
*/
|
|
6035
|
+
chargeStartTime: string;
|
|
6036
|
+
/**
|
|
6037
|
+
* 付费状态:Normal:正常。Overdue:欠费。Shutdown:关停。
|
|
6038
|
+
*/
|
|
6039
|
+
chargeStatus: string;
|
|
6040
|
+
/**
|
|
6041
|
+
* 计费类型。PostPaid:按量计费;PrePaid:包年包月。
|
|
6042
|
+
*/
|
|
6043
|
+
chargeType: string;
|
|
6044
|
+
/**
|
|
6045
|
+
* 欠费关停时预计释放时间,格式:yyyy-MM-ddTHH:mm:ssZ(UTC 时间)。
|
|
6046
|
+
*/
|
|
6047
|
+
overdueReclaimTime: string;
|
|
6048
|
+
/**
|
|
6049
|
+
* 欠费关停时间,格式:yyyy-MM-ddTHH:mm:ssZ(UTC 时间)。
|
|
6050
|
+
*/
|
|
6051
|
+
overdueTime: string;
|
|
6052
|
+
/**
|
|
6053
|
+
* 预付费场景下的购买时长。
|
|
6054
|
+
*/
|
|
6055
|
+
period: number;
|
|
6056
|
+
/**
|
|
6057
|
+
* 预付费场景下的购买周期。Month:包月。Year:包年。
|
|
6058
|
+
*/
|
|
6059
|
+
periodUnit: string;
|
|
6060
|
+
}
|
|
6061
|
+
interface GetInstanceEndpoint {
|
|
6062
|
+
/**
|
|
6063
|
+
* 连接地址信息。
|
|
6064
|
+
*/
|
|
6065
|
+
addresses: outputs.vedbm.GetInstanceEndpointAddress[];
|
|
6066
|
+
/**
|
|
6067
|
+
* 是否允许自动加入新节点,取值:true:是。false:否。
|
|
6068
|
+
*/
|
|
6069
|
+
autoAddNewNodes: boolean;
|
|
6070
|
+
/**
|
|
6071
|
+
* 一致性级别,仅对读写模式的连接终端有效。取值:Eventual:最终一致性。Session:会话一致性。Global:全局一致性。
|
|
6072
|
+
*/
|
|
6073
|
+
consistLevel: string;
|
|
6074
|
+
/**
|
|
6075
|
+
* 延迟很大时,只读节点同步最新数据的超时时间,单位为 us,取值范围为 1us~100000000us。
|
|
6076
|
+
*/
|
|
6077
|
+
consistTimeout: number;
|
|
6078
|
+
/**
|
|
6079
|
+
* 只读节点同步数据超时后的超时策略,支持以下两种策略:ReturnError:返回 SQL 报错(wait replication complete timeout, please retry)。ReadMaster:发送请求到主节点。
|
|
6080
|
+
*/
|
|
6081
|
+
consistTimeoutAction: string;
|
|
6082
|
+
/**
|
|
6083
|
+
* 地址描述。
|
|
6084
|
+
*/
|
|
6085
|
+
description: string;
|
|
6086
|
+
/**
|
|
6087
|
+
* 是否开启事务拆分,仅对读写模式的连接终端有效。取值:true:是。false:否。
|
|
6088
|
+
*/
|
|
6089
|
+
distributedTransaction: boolean;
|
|
6090
|
+
/**
|
|
6091
|
+
* 实例连接终端 ID。
|
|
6092
|
+
*/
|
|
6093
|
+
endpointId: string;
|
|
6094
|
+
/**
|
|
6095
|
+
* 实例连接终端名称。
|
|
6096
|
+
*/
|
|
6097
|
+
endpointName: string;
|
|
6098
|
+
/**
|
|
6099
|
+
* 连接终端类型,取值:Cluster:默认终端。Primary:主节点终端。Custom:自定义终端。
|
|
6100
|
+
*/
|
|
6101
|
+
endpointType: string;
|
|
6102
|
+
/**
|
|
6103
|
+
* 主节点是否接受读请求。仅对读写模式的连接终端有效。true:是。false:否。
|
|
6104
|
+
*/
|
|
6105
|
+
masterAcceptReadRequests: boolean;
|
|
6106
|
+
/**
|
|
6107
|
+
* 连接终端配置的节点列表。
|
|
6108
|
+
*/
|
|
6109
|
+
nodeIds: string[];
|
|
6110
|
+
/**
|
|
6111
|
+
* 连接终端的读写模式,取值:ReadWrite: 读写。ReadOnly: 只读。
|
|
6112
|
+
*/
|
|
6113
|
+
readWriteMode: string;
|
|
6114
|
+
}
|
|
6115
|
+
interface GetInstanceEndpointAddress {
|
|
6116
|
+
/**
|
|
6117
|
+
* 解析方式。当前返回值只能为 false。
|
|
6118
|
+
*/
|
|
6119
|
+
dnsVisibility: boolean;
|
|
6120
|
+
/**
|
|
6121
|
+
* 实例内网访问域名。
|
|
6122
|
+
*/
|
|
6123
|
+
domain: string;
|
|
6124
|
+
/**
|
|
6125
|
+
* 公网 ID。
|
|
6126
|
+
*/
|
|
6127
|
+
eipId: string;
|
|
6128
|
+
/**
|
|
6129
|
+
* IP 地址。
|
|
6130
|
+
*/
|
|
6131
|
+
ipAddress: string;
|
|
6132
|
+
/**
|
|
6133
|
+
* 网络类型:Private:私有网络 VPC。Public:公网访问。
|
|
6134
|
+
*/
|
|
6135
|
+
networkType: string;
|
|
6136
|
+
/**
|
|
6137
|
+
* 实例内网访问端口。
|
|
6138
|
+
*/
|
|
6139
|
+
port: string;
|
|
6140
|
+
/**
|
|
6141
|
+
* 子网 ID。子网必须属于所选的可用区。
|
|
6142
|
+
*/
|
|
6143
|
+
subnetId: string;
|
|
6144
|
+
}
|
|
6145
|
+
interface GetInstanceMaintenanceWindow {
|
|
6146
|
+
/**
|
|
6147
|
+
* 可维护周期粒度,默认取值为:Week(周)。
|
|
6148
|
+
*/
|
|
6149
|
+
dayKind: string;
|
|
6150
|
+
/**
|
|
6151
|
+
* 指定每月哪一天为可维护时间段,默认为空,表示每天都指定。
|
|
6152
|
+
*/
|
|
6153
|
+
dayOfMonths: number[];
|
|
6154
|
+
/**
|
|
6155
|
+
* 每周的哪一天为可维护时间段,默认取值为每一天:Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday。
|
|
6156
|
+
*/
|
|
6157
|
+
dayOfWeeks: string[];
|
|
6158
|
+
/**
|
|
6159
|
+
* 实例的可维护时间段。格式:HH:mmZ-HH:mmZ(UTC 时间)。
|
|
6160
|
+
*/
|
|
6161
|
+
maintenanceTime: string;
|
|
6162
|
+
}
|
|
6163
|
+
interface GetInstanceNode {
|
|
6164
|
+
/**
|
|
6165
|
+
* 节点切主的优先级,取值范围为 0~15。数值越大,优先级越高。
|
|
6166
|
+
*/
|
|
6167
|
+
failoverPriority: number;
|
|
6168
|
+
/**
|
|
6169
|
+
* 内存大小,单位为 GiB。
|
|
6170
|
+
*/
|
|
6171
|
+
memory: number;
|
|
6172
|
+
/**
|
|
6173
|
+
* 节点 ID。
|
|
6174
|
+
*/
|
|
6175
|
+
nodeId: string;
|
|
6176
|
+
/**
|
|
6177
|
+
* 节点规格。
|
|
6178
|
+
*/
|
|
6179
|
+
nodeSpec: string;
|
|
6180
|
+
/**
|
|
6181
|
+
* 节点类型。取值:Primary:主节点。ReadOnly:只读节点。
|
|
6182
|
+
*/
|
|
6183
|
+
nodeType: string;
|
|
6184
|
+
/**
|
|
6185
|
+
* CPU 大小,例如当取值为 1 时表示 CPU 大小为 1U。
|
|
6186
|
+
*/
|
|
6187
|
+
vCpu: number;
|
|
6188
|
+
/**
|
|
6189
|
+
* 可用区 ID。
|
|
6190
|
+
*/
|
|
6191
|
+
zoneId: string;
|
|
6192
|
+
}
|
|
6193
|
+
interface GetInstanceTag {
|
|
6194
|
+
/**
|
|
6195
|
+
* 用户标签的标签键。长度取值范围为1~128字符,允许输入各国语言文字、数字、空格( )、下划线(_)、点号(.)、半角冒号(:)、斜杠(/)、等号(=)、加号(+)、中划线(-)和@(@)。若标签键开头或结尾存在空格,系统会自动为其去除。
|
|
6196
|
+
*/
|
|
6197
|
+
key: string;
|
|
6198
|
+
/**
|
|
6199
|
+
* 用户标签的标签值。允许输入各国语言文字、数字、空格( )、下划线(_)、点号(.)、半角冒号(:)、斜杠(/)、等号(=)、加号(+)、中划线(-)和@(@)。大小写敏感。若标签值开头或结尾存在空格,系统会自动为其去除。
|
|
6200
|
+
*/
|
|
6201
|
+
value: string;
|
|
6202
|
+
}
|
|
6203
|
+
interface InstanceChargeDetail {
|
|
6204
|
+
/**
|
|
6205
|
+
* 预付费场景下是否自动续费。取值:true:自动续费。false:不自动续费。
|
|
6206
|
+
*/
|
|
6207
|
+
autoRenew: boolean;
|
|
6208
|
+
/**
|
|
6209
|
+
* 预付费场景下计费到期的时间,格式:yyyy-MM-ddTHH:mm:ssZ(UTC 时间)。
|
|
6210
|
+
*/
|
|
6211
|
+
chargeEndTime: string;
|
|
6212
|
+
/**
|
|
6213
|
+
* 计费开始的时间,格式:yyyy-MM-ddTHH:mm:ssZ(UTC 时间)。
|
|
6214
|
+
*/
|
|
6215
|
+
chargeStartTime: string;
|
|
6216
|
+
/**
|
|
6217
|
+
* 付费状态:Normal:正常。Overdue:欠费。Shutdown:关停。
|
|
6218
|
+
*/
|
|
6219
|
+
chargeStatus: string;
|
|
6220
|
+
/**
|
|
6221
|
+
* 计费类型。PostPaid:按量计费;PrePaid:包年包月。
|
|
6222
|
+
*/
|
|
6223
|
+
chargeType: string;
|
|
6224
|
+
/**
|
|
6225
|
+
* 欠费关停时预计释放时间,格式:yyyy-MM-ddTHH:mm:ssZ(UTC 时间)。
|
|
6226
|
+
*/
|
|
6227
|
+
overdueReclaimTime: string;
|
|
6228
|
+
/**
|
|
6229
|
+
* 欠费关停时间,格式:yyyy-MM-ddTHH:mm:ssZ(UTC 时间)。
|
|
6230
|
+
*/
|
|
6231
|
+
overdueTime: string;
|
|
6232
|
+
/**
|
|
6233
|
+
* 预付费场景下的购买时长。
|
|
6234
|
+
*/
|
|
6235
|
+
period: number;
|
|
6236
|
+
/**
|
|
6237
|
+
* 预付费场景下的购买周期。Month:包月。Year:包年。
|
|
6238
|
+
*/
|
|
6239
|
+
periodUnit: string;
|
|
6240
|
+
}
|
|
6241
|
+
interface InstanceEndpoint {
|
|
6242
|
+
addresses: outputs.vedbm.InstanceEndpointAddress[];
|
|
6243
|
+
/**
|
|
6244
|
+
* 是否允许自动加入新节点,取值:true:是。false:否。
|
|
6245
|
+
*/
|
|
6246
|
+
autoAddNewNodes: boolean;
|
|
6247
|
+
/**
|
|
6248
|
+
* 一致性级别,仅对读写模式的连接终端有效。取值:Eventual:最终一致性。Session:会话一致性。Global:全局一致性。
|
|
6249
|
+
*/
|
|
6250
|
+
consistLevel: string;
|
|
6251
|
+
/**
|
|
6252
|
+
* 延迟很大时,只读节点同步最新数据的超时时间,单位为 us,取值范围为 1us~100000000us。
|
|
6253
|
+
*/
|
|
6254
|
+
consistTimeout: number;
|
|
6255
|
+
/**
|
|
6256
|
+
* 只读节点同步数据超时后的超时策略,支持以下两种策略:ReturnError:返回 SQL 报错(wait replication complete timeout, please retry)。ReadMaster:发送请求到主节点。
|
|
6257
|
+
*/
|
|
6258
|
+
consistTimeoutAction: string;
|
|
6259
|
+
/**
|
|
6260
|
+
* 地址描述。
|
|
6261
|
+
*/
|
|
6262
|
+
description: string;
|
|
6263
|
+
/**
|
|
6264
|
+
* 是否开启事务拆分,仅对读写模式的连接终端有效。取值:true:是。false:否。
|
|
6265
|
+
*/
|
|
6266
|
+
distributedTransaction: boolean;
|
|
6267
|
+
/**
|
|
6268
|
+
* 实例连接终端 ID。
|
|
6269
|
+
*/
|
|
6270
|
+
endpointId: string;
|
|
6271
|
+
/**
|
|
6272
|
+
* 实例连接终端名称。
|
|
6273
|
+
*/
|
|
6274
|
+
endpointName: string;
|
|
6275
|
+
/**
|
|
6276
|
+
* 连接终端类型,取值:Cluster:默认终端。Primary:主节点终端。Custom:自定义终端。
|
|
6277
|
+
*/
|
|
6278
|
+
endpointType: string;
|
|
6279
|
+
/**
|
|
6280
|
+
* 主节点是否接受读请求。仅对读写模式的连接终端有效。true:是。false:否。
|
|
6281
|
+
*/
|
|
6282
|
+
masterAcceptReadRequests: boolean;
|
|
6283
|
+
/**
|
|
6284
|
+
* 连接终端配置的节点列表。
|
|
6285
|
+
*/
|
|
6286
|
+
nodeIds: string[];
|
|
6287
|
+
/**
|
|
6288
|
+
* 连接终端的读写模式,取值:ReadWrite: 读写。ReadOnly: 只读。
|
|
6289
|
+
*/
|
|
6290
|
+
readWriteMode: string;
|
|
6291
|
+
}
|
|
6292
|
+
interface InstanceEndpointAddress {
|
|
6293
|
+
/**
|
|
6294
|
+
* 解析方式。当前返回值只能为 false。
|
|
6295
|
+
*/
|
|
6296
|
+
dnsVisibility: boolean;
|
|
6297
|
+
/**
|
|
6298
|
+
* 实例内网访问域名。
|
|
6299
|
+
*/
|
|
6300
|
+
domain: string;
|
|
6301
|
+
/**
|
|
6302
|
+
* 公网 ID。
|
|
6303
|
+
*/
|
|
6304
|
+
eipId: string;
|
|
6305
|
+
/**
|
|
6306
|
+
* IP 地址。
|
|
6307
|
+
*/
|
|
6308
|
+
ipAddress: string;
|
|
6309
|
+
/**
|
|
6310
|
+
* 网络类型:Private:私有网络 VPC。Public:公网访问。
|
|
6311
|
+
*/
|
|
6312
|
+
networkType: string;
|
|
6313
|
+
/**
|
|
6314
|
+
* 实例内网访问端口。
|
|
6315
|
+
*/
|
|
6316
|
+
port: string;
|
|
6317
|
+
/**
|
|
6318
|
+
* 子网 ID。子网必须属于所选的可用区。
|
|
6319
|
+
*/
|
|
6320
|
+
subnetId: string;
|
|
6321
|
+
}
|
|
6322
|
+
interface InstanceMaintenanceWindow {
|
|
6323
|
+
/**
|
|
6324
|
+
* 可维护周期粒度,默认取值为:Week(周)。
|
|
6325
|
+
*/
|
|
6326
|
+
dayKind: string;
|
|
6327
|
+
/**
|
|
6328
|
+
* 指定每月哪一天为可维护时间段,默认为空,表示每天都指定。
|
|
6329
|
+
*/
|
|
6330
|
+
dayOfMonths: number[];
|
|
6331
|
+
/**
|
|
6332
|
+
* 每周的哪一天为可维护时间段,默认取值为每一天:Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday。
|
|
6333
|
+
*/
|
|
6334
|
+
dayOfWeeks: string[];
|
|
6335
|
+
/**
|
|
6336
|
+
* 实例的可维护时间段。格式:HH:mmZ-HH:mmZ(UTC 时间)。
|
|
6337
|
+
*/
|
|
6338
|
+
maintenanceTime: string;
|
|
6339
|
+
}
|
|
6340
|
+
interface InstanceNode {
|
|
6341
|
+
/**
|
|
6342
|
+
* 节点切主的优先级,取值范围为 0~15。数值越大,优先级越高。
|
|
6343
|
+
*/
|
|
6344
|
+
failoverPriority: number;
|
|
6345
|
+
/**
|
|
6346
|
+
* 节点类型。取值:Primary:主节点。ReadOnly:只读节点。
|
|
6347
|
+
*/
|
|
6348
|
+
nodeType: string;
|
|
6349
|
+
}
|
|
6350
|
+
interface InstanceTag {
|
|
6351
|
+
/**
|
|
6352
|
+
* 用户标签的标签键。长度取值范围为1~128字符,允许输入各国语言文字、数字、空格( )、下划线(_)、点号(.)、半角冒号(:)、斜杠(/)、等号(=)、加号(+)、中划线(-)和@(@)。若标签键开头或结尾存在空格,系统会自动为其去除。
|
|
6353
|
+
*/
|
|
6354
|
+
key: string;
|
|
6355
|
+
/**
|
|
6356
|
+
* 用户标签的标签值。允许输入各国语言文字、数字、空格( )、下划线(_)、点号(.)、半角冒号(:)、斜杠(/)、等号(=)、加号(+)、中划线(-)和@(@)。大小写敏感。若标签值开头或结尾存在空格,系统会自动为其去除。
|
|
6357
|
+
*/
|
|
6358
|
+
value: string;
|
|
6359
|
+
}
|
|
6360
|
+
}
|
|
6361
|
+
export declare namespace vefaas {
|
|
6362
|
+
interface GetKafkaTriggerKafkaCredentials {
|
|
6363
|
+
/**
|
|
6364
|
+
* Kafka 认证机制。取值:PLAIN,SCRAM-SHA-256。
|
|
6365
|
+
*/
|
|
6366
|
+
mechanism: string;
|
|
5591
6367
|
/**
|
|
5592
6368
|
* 创建 Kafka 实例时设置的 SASL/PLAIN 用户密码。
|
|
5593
6369
|
*/
|
|
@@ -5739,6 +6515,205 @@ export declare namespace vke {
|
|
|
5739
6515
|
*/
|
|
5740
6516
|
type: string;
|
|
5741
6517
|
}
|
|
6518
|
+
interface ClusterClusterConfig {
|
|
6519
|
+
/**
|
|
6520
|
+
* 集群 API Server 访问的 IPv4 地址信息。
|
|
6521
|
+
*/
|
|
6522
|
+
apiServerEndpoints: outputs.vke.ClusterClusterConfigApiServerEndpoints;
|
|
6523
|
+
/**
|
|
6524
|
+
* 集群 API Server 公网访问配置信息。ApiServerPublicAccessEnable=true时才返回的参数。
|
|
6525
|
+
*/
|
|
6526
|
+
apiServerPublicAccessConfig: outputs.vke.ClusterClusterConfigApiServerPublicAccessConfig;
|
|
6527
|
+
/**
|
|
6528
|
+
* 节点公网访问配置,参数值说明:false:未开启。true:已开启。
|
|
6529
|
+
*/
|
|
6530
|
+
apiServerPublicAccessEnabled: boolean;
|
|
6531
|
+
/**
|
|
6532
|
+
* 节点公网访问配置,参数值说明:false:未开启。true:已开启。
|
|
6533
|
+
*/
|
|
6534
|
+
resourcePublicAccessDefaultEnabled: boolean;
|
|
6535
|
+
/**
|
|
6536
|
+
* 集群控制面及节点使用的的安全组。
|
|
6537
|
+
*/
|
|
6538
|
+
securityGroupIds: string[];
|
|
6539
|
+
/**
|
|
6540
|
+
* 集群控制面在私有网络内通信的子网 ID。
|
|
6541
|
+
*/
|
|
6542
|
+
subnetIds: string[];
|
|
6543
|
+
/**
|
|
6544
|
+
* 集群控制面及部分节点的网络所在的私有网络(VPC)ID。
|
|
6545
|
+
*/
|
|
6546
|
+
vpcId: string;
|
|
6547
|
+
}
|
|
6548
|
+
interface ClusterClusterConfigApiServerEndpoints {
|
|
6549
|
+
/**
|
|
6550
|
+
* 集群 API Server 私网的 IPv4 地址。
|
|
6551
|
+
*/
|
|
6552
|
+
privateIp: outputs.vke.ClusterClusterConfigApiServerEndpointsPrivateIp;
|
|
6553
|
+
/**
|
|
6554
|
+
* 集群 API Server 公网的 IPv4 地址。
|
|
6555
|
+
*/
|
|
6556
|
+
publicIp: outputs.vke.ClusterClusterConfigApiServerEndpointsPublicIp;
|
|
6557
|
+
}
|
|
6558
|
+
interface ClusterClusterConfigApiServerEndpointsPrivateIp {
|
|
6559
|
+
/**
|
|
6560
|
+
* 私网 IP 的 IPv4 地址。
|
|
6561
|
+
*/
|
|
6562
|
+
ipv4: string;
|
|
6563
|
+
}
|
|
6564
|
+
interface ClusterClusterConfigApiServerEndpointsPublicIp {
|
|
6565
|
+
/**
|
|
6566
|
+
* 公网 IP 的 IPv4 地址。
|
|
6567
|
+
*/
|
|
6568
|
+
ipv4: string;
|
|
6569
|
+
}
|
|
6570
|
+
interface ClusterClusterConfigApiServerPublicAccessConfig {
|
|
6571
|
+
/**
|
|
6572
|
+
* 公网访问网络配置。ApiServerPublicAccessEnable=true时才返回的参数。
|
|
6573
|
+
*/
|
|
6574
|
+
publicAccessNetworkConfig: outputs.vke.ClusterClusterConfigApiServerPublicAccessConfigPublicAccessNetworkConfig;
|
|
6575
|
+
}
|
|
6576
|
+
interface ClusterClusterConfigApiServerPublicAccessConfigPublicAccessNetworkConfig {
|
|
6577
|
+
/**
|
|
6578
|
+
* 公网 IP 的带宽峰值,单位:Mbps。
|
|
6579
|
+
*/
|
|
6580
|
+
bandwidth: number;
|
|
6581
|
+
/**
|
|
6582
|
+
* 公网 IP 的计费类型:2:按量计费-按带宽上限。3:按量计费-按实际流量。
|
|
6583
|
+
*/
|
|
6584
|
+
billingType: number;
|
|
6585
|
+
/**
|
|
6586
|
+
* 公网 IP 的线路类型,参数值说明: BGP:BGP(多线)。
|
|
6587
|
+
*/
|
|
6588
|
+
isp: string;
|
|
6589
|
+
}
|
|
6590
|
+
interface ClusterLoggingConfig {
|
|
6591
|
+
/**
|
|
6592
|
+
* 集群的日志项目(Log Project)ID。 如果为空,表示集群的日志项目未被创建。
|
|
6593
|
+
*/
|
|
6594
|
+
logProjectId: string;
|
|
6595
|
+
logSetups: outputs.vke.ClusterLoggingConfigLogSetup[];
|
|
6596
|
+
}
|
|
6597
|
+
interface ClusterLoggingConfigLogSetup {
|
|
6598
|
+
/**
|
|
6599
|
+
* 是否开启该日志选项,参数值说明:true:已开启。false:未开启。
|
|
6600
|
+
*/
|
|
6601
|
+
enabled: boolean;
|
|
6602
|
+
/**
|
|
6603
|
+
* 日志在日志服务中的保存时间,单位为天。 3650 天表示永久存储。
|
|
6604
|
+
*/
|
|
6605
|
+
logTtl: number;
|
|
6606
|
+
/**
|
|
6607
|
+
* 当前开启的日志类型,参数值说明:Audit:集群审计日志。KubeApiServer:kube-apiserver 组件日志。KubeScheduler:kube-scheduler 组件日志。KubeControllerManager:kube-controller-manager 组件日志。
|
|
6608
|
+
*/
|
|
6609
|
+
logType: string;
|
|
6610
|
+
}
|
|
6611
|
+
interface ClusterMonitoringConfig {
|
|
6612
|
+
componentConfigs: outputs.vke.ClusterMonitoringConfigComponentConfig[];
|
|
6613
|
+
/**
|
|
6614
|
+
* 监控数据所属的工作区 ID。
|
|
6615
|
+
*/
|
|
6616
|
+
workspaceId: string;
|
|
6617
|
+
}
|
|
6618
|
+
interface ClusterMonitoringConfigComponentConfig {
|
|
6619
|
+
/**
|
|
6620
|
+
* 是否启用该监控组件,true 表示启用,false 表示禁用。
|
|
6621
|
+
*/
|
|
6622
|
+
enabled: boolean;
|
|
6623
|
+
/**
|
|
6624
|
+
* 监控组件的名称,例如 'prometheus'、'grafana' 等。
|
|
6625
|
+
*/
|
|
6626
|
+
name: string;
|
|
6627
|
+
}
|
|
6628
|
+
interface ClusterNodeStatistics {
|
|
6629
|
+
/**
|
|
6630
|
+
* Phase=Creating的节点总数量。
|
|
6631
|
+
*/
|
|
6632
|
+
creatingCount: number;
|
|
6633
|
+
/**
|
|
6634
|
+
* Phase=Deleting的节点总数量。
|
|
6635
|
+
*/
|
|
6636
|
+
deletingCount: number;
|
|
6637
|
+
/**
|
|
6638
|
+
* Phase=Failed的节点总数量。
|
|
6639
|
+
*/
|
|
6640
|
+
failedCount: number;
|
|
6641
|
+
/**
|
|
6642
|
+
* Phase=Running的节点总数量。
|
|
6643
|
+
*/
|
|
6644
|
+
runningCount: number;
|
|
6645
|
+
/**
|
|
6646
|
+
* 节点总数量。
|
|
6647
|
+
*/
|
|
6648
|
+
totalCount: number;
|
|
6649
|
+
/**
|
|
6650
|
+
* Phase=Updating的节点总数量。
|
|
6651
|
+
*/
|
|
6652
|
+
updatingCount: number;
|
|
6653
|
+
}
|
|
6654
|
+
interface ClusterPodsConfig {
|
|
6655
|
+
/**
|
|
6656
|
+
* Flannel 网络配置。
|
|
6657
|
+
*/
|
|
6658
|
+
flannelConfig: outputs.vke.ClusterPodsConfigFlannelConfig;
|
|
6659
|
+
/**
|
|
6660
|
+
* 容器(Pod)网络模型(CNI),参数值说明:Flannel:Flannel 网络模型,独立的 Underlay 容器网络模型。VpcCniShared:VPC-CNI 网络模型,基于私有网络的弹性网卡 ENI 实现的 Underlay 容器网络模型。
|
|
6661
|
+
*/
|
|
6662
|
+
podNetworkMode: string;
|
|
6663
|
+
/**
|
|
6664
|
+
* VPC-CNI 网络配置。
|
|
6665
|
+
*/
|
|
6666
|
+
vpcCniConfig: outputs.vke.ClusterPodsConfigVpcCniConfig;
|
|
6667
|
+
}
|
|
6668
|
+
interface ClusterPodsConfigFlannelConfig {
|
|
6669
|
+
/**
|
|
6670
|
+
* Flannel 模型容器网络的单节点 Pod 实例数量上限,取值:64(默认值)、16、32、128、256。
|
|
6671
|
+
*/
|
|
6672
|
+
maxPodsPerNode: number;
|
|
6673
|
+
/**
|
|
6674
|
+
* Flannel 容器网络的 Pod CIDR。
|
|
6675
|
+
*/
|
|
6676
|
+
podCidrs: string[];
|
|
6677
|
+
}
|
|
6678
|
+
interface ClusterPodsConfigVpcCniConfig {
|
|
6679
|
+
/**
|
|
6680
|
+
* VPC-CNI 容器网络模型对应的 Pod 子网 ID 列表。
|
|
6681
|
+
*/
|
|
6682
|
+
subnetIds: string[];
|
|
6683
|
+
/**
|
|
6684
|
+
* 是否开启 VPC-CNI 容器网络模型的 Trunk 模式。
|
|
6685
|
+
*/
|
|
6686
|
+
trunkEniEnabled: boolean;
|
|
6687
|
+
}
|
|
6688
|
+
interface ClusterServicesConfig {
|
|
6689
|
+
/**
|
|
6690
|
+
* Kubernetes 服务(Service)暴露的 IPv4 私有网络地址。
|
|
6691
|
+
*/
|
|
6692
|
+
serviceCidrsv4s: string[];
|
|
6693
|
+
}
|
|
6694
|
+
interface ClusterStatus {
|
|
6695
|
+
conditions: outputs.vke.ClusterStatusCondition[];
|
|
6696
|
+
/**
|
|
6697
|
+
* 集群状态阶段
|
|
6698
|
+
*/
|
|
6699
|
+
phase: string;
|
|
6700
|
+
}
|
|
6701
|
+
interface ClusterStatusCondition {
|
|
6702
|
+
/**
|
|
6703
|
+
* 条件类型
|
|
6704
|
+
*/
|
|
6705
|
+
type: string;
|
|
6706
|
+
}
|
|
6707
|
+
interface ClusterTag {
|
|
6708
|
+
/**
|
|
6709
|
+
* 标签键。
|
|
6710
|
+
*/
|
|
6711
|
+
key: string;
|
|
6712
|
+
/**
|
|
6713
|
+
* 标签值。
|
|
6714
|
+
*/
|
|
6715
|
+
value: string;
|
|
6716
|
+
}
|
|
5742
6717
|
interface GetAddonStatus {
|
|
5743
6718
|
/**
|
|
5744
6719
|
* 组件当前主状态下的状态条件。
|
|
@@ -5755,6 +6730,218 @@ export declare namespace vke {
|
|
|
5755
6730
|
*/
|
|
5756
6731
|
type: string;
|
|
5757
6732
|
}
|
|
6733
|
+
interface GetClusterClusterConfig {
|
|
6734
|
+
/**
|
|
6735
|
+
* 集群 API Server 访问的 IPv4 地址信息。
|
|
6736
|
+
*/
|
|
6737
|
+
apiServerEndpoints: outputs.vke.GetClusterClusterConfigApiServerEndpoints;
|
|
6738
|
+
/**
|
|
6739
|
+
* 集群 API Server 公网访问配置信息。ApiServerPublicAccessEnable=true时才返回的参数。
|
|
6740
|
+
*/
|
|
6741
|
+
apiServerPublicAccessConfig: outputs.vke.GetClusterClusterConfigApiServerPublicAccessConfig;
|
|
6742
|
+
/**
|
|
6743
|
+
* 节点公网访问配置,参数值说明:false:未开启。true:已开启。
|
|
6744
|
+
*/
|
|
6745
|
+
apiServerPublicAccessEnabled: boolean;
|
|
6746
|
+
/**
|
|
6747
|
+
* 节点公网访问配置,参数值说明:false:未开启。true:已开启。
|
|
6748
|
+
*/
|
|
6749
|
+
resourcePublicAccessDefaultEnabled: boolean;
|
|
6750
|
+
/**
|
|
6751
|
+
* 集群控制面及节点使用的的安全组。
|
|
6752
|
+
*/
|
|
6753
|
+
securityGroupIds: string[];
|
|
6754
|
+
/**
|
|
6755
|
+
* 集群控制面在私有网络内通信的子网 ID。
|
|
6756
|
+
*/
|
|
6757
|
+
subnetIds: string[];
|
|
6758
|
+
/**
|
|
6759
|
+
* 集群控制面及部分节点的网络所在的私有网络(VPC)ID。
|
|
6760
|
+
*/
|
|
6761
|
+
vpcId: string;
|
|
6762
|
+
}
|
|
6763
|
+
interface GetClusterClusterConfigApiServerEndpoints {
|
|
6764
|
+
/**
|
|
6765
|
+
* 集群 API Server 私网的 IPv4 地址。
|
|
6766
|
+
*/
|
|
6767
|
+
privateIp: outputs.vke.GetClusterClusterConfigApiServerEndpointsPrivateIp;
|
|
6768
|
+
/**
|
|
6769
|
+
* 集群 API Server 公网的 IPv4 地址。
|
|
6770
|
+
*/
|
|
6771
|
+
publicIp: outputs.vke.GetClusterClusterConfigApiServerEndpointsPublicIp;
|
|
6772
|
+
}
|
|
6773
|
+
interface GetClusterClusterConfigApiServerEndpointsPrivateIp {
|
|
6774
|
+
/**
|
|
6775
|
+
* 私网 IP 的 IPv4 地址。
|
|
6776
|
+
*/
|
|
6777
|
+
ipv4: string;
|
|
6778
|
+
}
|
|
6779
|
+
interface GetClusterClusterConfigApiServerEndpointsPublicIp {
|
|
6780
|
+
/**
|
|
6781
|
+
* 公网 IP 的 IPv4 地址。
|
|
6782
|
+
*/
|
|
6783
|
+
ipv4: string;
|
|
6784
|
+
}
|
|
6785
|
+
interface GetClusterClusterConfigApiServerPublicAccessConfig {
|
|
6786
|
+
/**
|
|
6787
|
+
* 公网访问网络配置。ApiServerPublicAccessEnable=true时才返回的参数。
|
|
6788
|
+
*/
|
|
6789
|
+
publicAccessNetworkConfig: outputs.vke.GetClusterClusterConfigApiServerPublicAccessConfigPublicAccessNetworkConfig;
|
|
6790
|
+
}
|
|
6791
|
+
interface GetClusterClusterConfigApiServerPublicAccessConfigPublicAccessNetworkConfig {
|
|
6792
|
+
/**
|
|
6793
|
+
* 公网 IP 的带宽峰值,单位:Mbps。
|
|
6794
|
+
*/
|
|
6795
|
+
bandwidth: number;
|
|
6796
|
+
/**
|
|
6797
|
+
* 公网 IP 的计费类型:2:按量计费-按带宽上限。3:按量计费-按实际流量。
|
|
6798
|
+
*/
|
|
6799
|
+
billingType: number;
|
|
6800
|
+
/**
|
|
6801
|
+
* 公网 IP 的线路类型,参数值说明: BGP:BGP(多线)。
|
|
6802
|
+
*/
|
|
6803
|
+
isp: string;
|
|
6804
|
+
}
|
|
6805
|
+
interface GetClusterLoggingConfig {
|
|
6806
|
+
/**
|
|
6807
|
+
* 集群的日志项目(Log Project)ID。 如果为空,表示集群的日志项目未被创建。
|
|
6808
|
+
*/
|
|
6809
|
+
logProjectId: string;
|
|
6810
|
+
/**
|
|
6811
|
+
* 集群的日志选项信息。
|
|
6812
|
+
*/
|
|
6813
|
+
logSetups: outputs.vke.GetClusterLoggingConfigLogSetup[];
|
|
6814
|
+
}
|
|
6815
|
+
interface GetClusterLoggingConfigLogSetup {
|
|
6816
|
+
/**
|
|
6817
|
+
* 是否开启该日志选项,参数值说明:true:已开启。false:未开启。
|
|
6818
|
+
*/
|
|
6819
|
+
enabled: boolean;
|
|
6820
|
+
/**
|
|
6821
|
+
* 采集目标的TLS日志主题ID。 如果为空,表示对应日志的主题未被创建。
|
|
6822
|
+
*/
|
|
6823
|
+
logTopicId: string;
|
|
6824
|
+
/**
|
|
6825
|
+
* 日志在日志服务中的保存时间,单位为天。 3650 天表示永久存储。
|
|
6826
|
+
*/
|
|
6827
|
+
logTtl: number;
|
|
6828
|
+
/**
|
|
6829
|
+
* 当前开启的日志类型,参数值说明:Audit:集群审计日志。KubeApiServer:kube-apiserver 组件日志。KubeScheduler:kube-scheduler 组件日志。KubeControllerManager:kube-controller-manager 组件日志。
|
|
6830
|
+
*/
|
|
6831
|
+
logType: string;
|
|
6832
|
+
}
|
|
6833
|
+
interface GetClusterMonitoringConfig {
|
|
6834
|
+
/**
|
|
6835
|
+
* 监控组件的配置列表。
|
|
6836
|
+
*/
|
|
6837
|
+
componentConfigs: outputs.vke.GetClusterMonitoringConfigComponentConfig[];
|
|
6838
|
+
/**
|
|
6839
|
+
* 监控数据所属的工作区 ID。
|
|
6840
|
+
*/
|
|
6841
|
+
workspaceId: string;
|
|
6842
|
+
}
|
|
6843
|
+
interface GetClusterMonitoringConfigComponentConfig {
|
|
6844
|
+
/**
|
|
6845
|
+
* 是否启用该监控组件,true 表示启用,false 表示禁用。
|
|
6846
|
+
*/
|
|
6847
|
+
enabled: boolean;
|
|
6848
|
+
/**
|
|
6849
|
+
* 监控组件的名称,例如 'prometheus'、'grafana' 等。
|
|
6850
|
+
*/
|
|
6851
|
+
name: string;
|
|
6852
|
+
}
|
|
6853
|
+
interface GetClusterNodeStatistics {
|
|
6854
|
+
/**
|
|
6855
|
+
* Phase=Creating的节点总数量。
|
|
6856
|
+
*/
|
|
6857
|
+
creatingCount: number;
|
|
6858
|
+
/**
|
|
6859
|
+
* Phase=Deleting的节点总数量。
|
|
6860
|
+
*/
|
|
6861
|
+
deletingCount: number;
|
|
6862
|
+
/**
|
|
6863
|
+
* Phase=Failed的节点总数量。
|
|
6864
|
+
*/
|
|
6865
|
+
failedCount: number;
|
|
6866
|
+
/**
|
|
6867
|
+
* Phase=Running的节点总数量。
|
|
6868
|
+
*/
|
|
6869
|
+
runningCount: number;
|
|
6870
|
+
/**
|
|
6871
|
+
* 节点总数量。
|
|
6872
|
+
*/
|
|
6873
|
+
totalCount: number;
|
|
6874
|
+
/**
|
|
6875
|
+
* Phase=Updating的节点总数量。
|
|
6876
|
+
*/
|
|
6877
|
+
updatingCount: number;
|
|
6878
|
+
}
|
|
6879
|
+
interface GetClusterPodsConfig {
|
|
6880
|
+
/**
|
|
6881
|
+
* Flannel 网络配置。
|
|
6882
|
+
*/
|
|
6883
|
+
flannelConfig: outputs.vke.GetClusterPodsConfigFlannelConfig;
|
|
6884
|
+
/**
|
|
6885
|
+
* 容器(Pod)网络模型(CNI),参数值说明:Flannel:Flannel 网络模型,独立的 Underlay 容器网络模型。VpcCniShared:VPC-CNI 网络模型,基于私有网络的弹性网卡 ENI 实现的 Underlay 容器网络模型。
|
|
6886
|
+
*/
|
|
6887
|
+
podNetworkMode: string;
|
|
6888
|
+
/**
|
|
6889
|
+
* VPC-CNI 网络配置。
|
|
6890
|
+
*/
|
|
6891
|
+
vpcCniConfig: outputs.vke.GetClusterPodsConfigVpcCniConfig;
|
|
6892
|
+
}
|
|
6893
|
+
interface GetClusterPodsConfigFlannelConfig {
|
|
6894
|
+
/**
|
|
6895
|
+
* Flannel 模型容器网络的单节点 Pod 实例数量上限,取值:64(默认值)、16、32、128、256。
|
|
6896
|
+
*/
|
|
6897
|
+
maxPodsPerNode: number;
|
|
6898
|
+
/**
|
|
6899
|
+
* Flannel 容器网络的 Pod CIDR。
|
|
6900
|
+
*/
|
|
6901
|
+
podCidrs: string[];
|
|
6902
|
+
}
|
|
6903
|
+
interface GetClusterPodsConfigVpcCniConfig {
|
|
6904
|
+
/**
|
|
6905
|
+
* VPC-CNI 容器网络模型对应的 Pod 子网 ID 列表。
|
|
6906
|
+
*/
|
|
6907
|
+
subnetIds: string[];
|
|
6908
|
+
/**
|
|
6909
|
+
* 是否开启 VPC-CNI 容器网络模型的 Trunk 模式。
|
|
6910
|
+
*/
|
|
6911
|
+
trunkEniEnabled: boolean;
|
|
6912
|
+
}
|
|
6913
|
+
interface GetClusterServicesConfig {
|
|
6914
|
+
/**
|
|
6915
|
+
* Kubernetes 服务(Service)暴露的 IPv4 私有网络地址。
|
|
6916
|
+
*/
|
|
6917
|
+
serviceCidrsv4s: string[];
|
|
6918
|
+
}
|
|
6919
|
+
interface GetClusterStatus {
|
|
6920
|
+
/**
|
|
6921
|
+
* 状态条件列表
|
|
6922
|
+
*/
|
|
6923
|
+
conditions: outputs.vke.GetClusterStatusCondition[];
|
|
6924
|
+
/**
|
|
6925
|
+
* 集群状态阶段
|
|
6926
|
+
*/
|
|
6927
|
+
phase: string;
|
|
6928
|
+
}
|
|
6929
|
+
interface GetClusterStatusCondition {
|
|
6930
|
+
/**
|
|
6931
|
+
* 条件类型
|
|
6932
|
+
*/
|
|
6933
|
+
type: string;
|
|
6934
|
+
}
|
|
6935
|
+
interface GetClusterTag {
|
|
6936
|
+
/**
|
|
6937
|
+
* 标签键。
|
|
6938
|
+
*/
|
|
6939
|
+
key: string;
|
|
6940
|
+
/**
|
|
6941
|
+
* 标签值。
|
|
6942
|
+
*/
|
|
6943
|
+
value: string;
|
|
6944
|
+
}
|
|
5758
6945
|
}
|
|
5759
6946
|
export declare namespace vmp {
|
|
5760
6947
|
interface GetWorkspaceInstanceType {
|