@pulumi/alicloud 3.40.0 → 3.42.0

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.
Files changed (485) hide show
  1. package/apigateway/api.d.ts +31 -31
  2. package/apigateway/api.js +7 -7
  3. package/apigateway/app.d.ts +1 -1
  4. package/apigateway/app.js +1 -1
  5. package/apigateway/appAttachment.d.ts +40 -4
  6. package/apigateway/appAttachment.js +40 -4
  7. package/apigateway/appAttachment.js.map +1 -1
  8. package/apigateway/backend.d.ts +5 -5
  9. package/apigateway/backend.js +5 -5
  10. package/apigateway/group.d.ts +1 -1
  11. package/apigateway/group.js +1 -1
  12. package/apigateway/logConfig.d.ts +38 -7
  13. package/apigateway/logConfig.js +38 -7
  14. package/apigateway/logConfig.js.map +1 -1
  15. package/apigateway/model.d.ts +2 -2
  16. package/apigateway/model.js +2 -2
  17. package/apigateway/plugin.d.ts +4 -4
  18. package/apigateway/plugin.js +4 -4
  19. package/apigateway/vpcAccess.d.ts +37 -3
  20. package/apigateway/vpcAccess.js +37 -3
  21. package/apigateway/vpcAccess.js.map +1 -1
  22. package/arms/alertContact.d.ts +2 -2
  23. package/arms/alertContact.js +2 -2
  24. package/arms/alertContactGroup.d.ts +2 -2
  25. package/arms/alertContactGroup.js +2 -2
  26. package/arms/dispatchRule.d.ts +10 -10
  27. package/arms/dispatchRule.js +1 -1
  28. package/arms/integrationExporter.d.ts +19 -10
  29. package/arms/integrationExporter.js +19 -10
  30. package/arms/integrationExporter.js.map +1 -1
  31. package/arms/prometheus.d.ts +19 -10
  32. package/arms/prometheus.js +19 -10
  33. package/arms/prometheus.js.map +1 -1
  34. package/arms/prometheusAlertRule.d.ts +7 -24
  35. package/arms/prometheusAlertRule.js +1 -18
  36. package/arms/prometheusAlertRule.js.map +1 -1
  37. package/arms/remoteWrite.d.ts +33 -4
  38. package/arms/remoteWrite.js +33 -4
  39. package/arms/remoteWrite.js.map +1 -1
  40. package/bastionhost/host.d.ts +30 -4
  41. package/bastionhost/host.js +30 -4
  42. package/bastionhost/host.js.map +1 -1
  43. package/bastionhost/hostAccount.d.ts +40 -6
  44. package/bastionhost/hostAccount.js +40 -6
  45. package/bastionhost/hostAccount.js.map +1 -1
  46. package/bastionhost/hostAccountShareKeyAttachment.d.ts +35 -11
  47. package/bastionhost/hostAccountShareKeyAttachment.js +35 -11
  48. package/bastionhost/hostAccountShareKeyAttachment.js.map +1 -1
  49. package/bastionhost/hostAccountUserAttachment.d.ts +40 -17
  50. package/bastionhost/hostAccountUserAttachment.js +40 -17
  51. package/bastionhost/hostAccountUserAttachment.js.map +1 -1
  52. package/bastionhost/hostAccountUserGroupAttachment.d.ts +39 -16
  53. package/bastionhost/hostAccountUserGroupAttachment.js +39 -16
  54. package/bastionhost/hostAccountUserGroupAttachment.js.map +1 -1
  55. package/bastionhost/hostAttachment.d.ts +43 -5
  56. package/bastionhost/hostAttachment.js +43 -5
  57. package/bastionhost/hostAttachment.js.map +1 -1
  58. package/bastionhost/hostGroup.d.ts +30 -4
  59. package/bastionhost/hostGroup.js +30 -4
  60. package/bastionhost/hostGroup.js.map +1 -1
  61. package/bastionhost/hostGroupAccountUserAttachment.d.ts +46 -23
  62. package/bastionhost/hostGroupAccountUserAttachment.js +46 -23
  63. package/bastionhost/hostGroupAccountUserAttachment.js.map +1 -1
  64. package/bastionhost/hostGroupAccountUserGroupAttachment.d.ts +41 -18
  65. package/bastionhost/hostGroupAccountUserGroupAttachment.js +41 -18
  66. package/bastionhost/hostGroupAccountUserGroupAttachment.js.map +1 -1
  67. package/bastionhost/hostShareKey.d.ts +32 -6
  68. package/bastionhost/hostShareKey.js +32 -6
  69. package/bastionhost/hostShareKey.js.map +1 -1
  70. package/bastionhost/instance.d.ts +15 -9
  71. package/bastionhost/instance.js.map +1 -1
  72. package/bastionhost/user.d.ts +46 -15
  73. package/bastionhost/user.js +43 -12
  74. package/bastionhost/user.js.map +1 -1
  75. package/bastionhost/userAttachment.d.ts +43 -5
  76. package/bastionhost/userAttachment.js +43 -5
  77. package/bastionhost/userAttachment.js.map +1 -1
  78. package/bastionhost/userGroup.d.ts +30 -4
  79. package/bastionhost/userGroup.js +30 -4
  80. package/bastionhost/userGroup.js.map +1 -1
  81. package/cen/bandwidthLimit.d.ts +3 -9
  82. package/cen/bandwidthLimit.js +3 -9
  83. package/cen/bandwidthLimit.js.map +1 -1
  84. package/cen/instanceGrant.d.ts +1 -2
  85. package/cen/instanceGrant.js +1 -2
  86. package/cen/instanceGrant.js.map +1 -1
  87. package/cfg/aggregateCompliancePack.d.ts +24 -29
  88. package/cfg/aggregateCompliancePack.js +18 -23
  89. package/cfg/aggregateCompliancePack.js.map +1 -1
  90. package/cfg/aggregateConfigRule.d.ts +21 -14
  91. package/cfg/aggregateConfigRule.js +19 -12
  92. package/cfg/aggregateConfigRule.js.map +1 -1
  93. package/cfg/aggregateDelivery.d.ts +2 -2
  94. package/cfg/aggregateDelivery.js +2 -2
  95. package/cfg/aggregator.d.ts +16 -10
  96. package/cfg/aggregator.js +13 -7
  97. package/cfg/aggregator.js.map +1 -1
  98. package/cfg/compliancePack.d.ts +20 -26
  99. package/cfg/compliancePack.js +14 -20
  100. package/cfg/compliancePack.js.map +1 -1
  101. package/cfg/configurationRecorder.d.ts +2 -2
  102. package/cfg/configurationRecorder.js +2 -2
  103. package/cfg/delivery.d.ts +27 -1
  104. package/cfg/delivery.js +27 -1
  105. package/cfg/delivery.js.map +1 -1
  106. package/cfg/remediation.d.ts +30 -6
  107. package/cfg/remediation.js +30 -6
  108. package/cfg/remediation.js.map +1 -1
  109. package/cfg/rule.d.ts +19 -16
  110. package/cfg/rule.js +19 -16
  111. package/cfg/rule.js.map +1 -1
  112. package/cloudsso/accessManagement.d.ts +1 -1
  113. package/cloudsso/accessManagement.js +1 -1
  114. package/cms/alarm.d.ts +56 -20
  115. package/cms/alarm.js +44 -8
  116. package/cms/alarm.js.map +1 -1
  117. package/cms/alarmContact.d.ts +6 -6
  118. package/cms/alarmContact.js +6 -6
  119. package/cms/alarmContactGroup.d.ts +3 -3
  120. package/cms/alarmContactGroup.js +3 -3
  121. package/cms/dynamicTagGroup.d.ts +5 -5
  122. package/cms/dynamicTagGroup.js +2 -2
  123. package/cms/eventRule.d.ts +9 -7
  124. package/cms/eventRule.js +6 -4
  125. package/cms/eventRule.js.map +1 -1
  126. package/cms/groupMetricRule.d.ts +23 -16
  127. package/cms/groupMetricRule.js +17 -10
  128. package/cms/groupMetricRule.js.map +1 -1
  129. package/cms/hybridMonitorFcTask.d.ts +30 -5
  130. package/cms/hybridMonitorFcTask.js +30 -5
  131. package/cms/hybridMonitorFcTask.js.map +1 -1
  132. package/cms/hybridMonitorSlsTask.d.ts +7 -69
  133. package/cms/hybridMonitorSlsTask.js +1 -63
  134. package/cms/hybridMonitorSlsTask.js.map +1 -1
  135. package/cms/metricRuleBlackList.d.ts +58 -4
  136. package/cms/metricRuleBlackList.js +55 -1
  137. package/cms/metricRuleBlackList.js.map +1 -1
  138. package/cms/metricRuleTemplate.d.ts +11 -9
  139. package/cms/metricRuleTemplate.js +8 -6
  140. package/cms/metricRuleTemplate.js.map +1 -1
  141. package/cms/monitorGroup.d.ts +4 -4
  142. package/cms/monitorGroup.js +4 -4
  143. package/cms/monitorGroupInstances.d.ts +14 -9
  144. package/cms/monitorGroupInstances.js +11 -6
  145. package/cms/monitorGroupInstances.js.map +1 -1
  146. package/cms/namespace.d.ts +3 -3
  147. package/cms/namespace.js +3 -3
  148. package/cms/slsGroup.d.ts +4 -25
  149. package/cms/slsGroup.js +1 -22
  150. package/cms/slsGroup.js.map +1 -1
  151. package/cr/endpointAclPolicy.d.ts +33 -1
  152. package/cr/endpointAclPolicy.js +33 -1
  153. package/cr/endpointAclPolicy.js.map +1 -1
  154. package/cs/autoscalingConfig.d.ts +4 -23
  155. package/cs/autoscalingConfig.js +4 -23
  156. package/cs/autoscalingConfig.js.map +1 -1
  157. package/cs/edgeKubernetes.d.ts +147 -16
  158. package/cs/edgeKubernetes.js +112 -2
  159. package/cs/edgeKubernetes.js.map +1 -1
  160. package/cs/kubernetes.d.ts +106 -70
  161. package/cs/kubernetes.js +3 -1
  162. package/cs/kubernetes.js.map +1 -1
  163. package/cs/kubernetesAddon.d.ts +3 -90
  164. package/cs/kubernetesAddon.js +3 -90
  165. package/cs/kubernetesAddon.js.map +1 -1
  166. package/cs/kubernetesAutoscaler.d.ts +3 -69
  167. package/cs/kubernetesAutoscaler.js +0 -60
  168. package/cs/kubernetesAutoscaler.js.map +1 -1
  169. package/cs/kubernetesPermission.d.ts +15 -3
  170. package/cs/kubernetesPermission.js +12 -0
  171. package/cs/kubernetesPermission.js.map +1 -1
  172. package/cs/managedKubernetes.d.ts +21 -21
  173. package/cs/nodePool.d.ts +32 -339
  174. package/cs/nodePool.js +0 -307
  175. package/cs/nodePool.js.map +1 -1
  176. package/cs/serverlessKubernetes.d.ts +29 -14
  177. package/cs/serverlessKubernetes.js +2 -2
  178. package/cs/serverlessKubernetes.js.map +1 -1
  179. package/databasefilesystem/autoSnapShotPolicy.d.ts +3 -3
  180. package/databasefilesystem/autoSnapShotPolicy.js +3 -3
  181. package/databasefilesystem/instance.d.ts +11 -8
  182. package/databasefilesystem/instance.js +8 -5
  183. package/databasefilesystem/instance.js.map +1 -1
  184. package/databasefilesystem/instanceAttachment.d.ts +33 -27
  185. package/databasefilesystem/instanceAttachment.js +33 -27
  186. package/databasefilesystem/instanceAttachment.js.map +1 -1
  187. package/databasefilesystem/serviceLinkedRole.d.ts +1 -1
  188. package/databasefilesystem/serviceLinkedRole.js +1 -1
  189. package/databasefilesystem/snapshot.d.ts +37 -33
  190. package/databasefilesystem/snapshot.js +37 -33
  191. package/databasefilesystem/snapshot.js.map +1 -1
  192. package/dcdn/domain.d.ts +8 -5
  193. package/dcdn/domain.js +5 -2
  194. package/dcdn/domain.js.map +1 -1
  195. package/dcdn/domainConfig.d.ts +14 -13
  196. package/dcdn/domainConfig.js +11 -10
  197. package/dcdn/domainConfig.js.map +1 -1
  198. package/dcdn/er.d.ts +12 -10
  199. package/dcdn/er.js +9 -7
  200. package/dcdn/er.js.map +1 -1
  201. package/dcdn/ipaDomain.d.ts +12 -12
  202. package/dcdn/ipaDomain.js +9 -9
  203. package/dcdn/kv.d.ts +13 -14
  204. package/dcdn/kv.js +7 -8
  205. package/dcdn/kv.js.map +1 -1
  206. package/dcdn/kvNamespace.d.ts +5 -3
  207. package/dcdn/kvNamespace.js +5 -3
  208. package/dcdn/kvNamespace.js.map +1 -1
  209. package/dcdn/wafDomain.d.ts +9 -5
  210. package/dcdn/wafDomain.js +9 -5
  211. package/dcdn/wafDomain.js.map +1 -1
  212. package/dcdn/wafPolicy.d.ts +4 -2
  213. package/dcdn/wafPolicy.js +4 -2
  214. package/dcdn/wafPolicy.js.map +1 -1
  215. package/dcdn/wafPolicyDomainAttachment.d.ts +16 -11
  216. package/dcdn/wafPolicyDomainAttachment.js +16 -11
  217. package/dcdn/wafPolicyDomainAttachment.js.map +1 -1
  218. package/dcdn/wafRule.d.ts +15 -13
  219. package/dcdn/wafRule.js +9 -7
  220. package/dcdn/wafRule.js.map +1 -1
  221. package/ddos/domainResource.d.ts +12 -0
  222. package/ddos/domainResource.js +2 -0
  223. package/ddos/domainResource.js.map +1 -1
  224. package/dfs/accessGroup.d.ts +5 -3
  225. package/dfs/accessGroup.js +5 -3
  226. package/dfs/accessGroup.js.map +1 -1
  227. package/dfs/accessRule.d.ts +1 -1
  228. package/dfs/accessRule.js +1 -1
  229. package/dfs/fileSystem.d.ts +2 -2
  230. package/dfs/fileSystem.js +2 -2
  231. package/dfs/mountPoint.d.ts +46 -1
  232. package/dfs/mountPoint.js +46 -1
  233. package/dfs/mountPoint.js.map +1 -1
  234. package/eci/containerGroup.d.ts +43 -40
  235. package/eci/containerGroup.js +3 -3
  236. package/eci/containerGroup.js.map +1 -1
  237. package/ecs/disk.d.ts +0 -3
  238. package/ecs/disk.js +0 -2
  239. package/ecs/disk.js.map +1 -1
  240. package/ecs/ecsDisk.d.ts +0 -3
  241. package/ecs/ecsDisk.js +0 -2
  242. package/ecs/ecsDisk.js.map +1 -1
  243. package/ecs/eipAssociation.d.ts +35 -28
  244. package/ecs/eipAssociation.js +35 -28
  245. package/ecs/eipAssociation.js.map +1 -1
  246. package/ecs/instance.d.ts +44 -56
  247. package/ecs/instance.js +6 -15
  248. package/ecs/instance.js.map +1 -1
  249. package/eipanycast/anycastEipAddress.d.ts +65 -18
  250. package/eipanycast/anycastEipAddress.js +19 -4
  251. package/eipanycast/anycastEipAddress.js.map +1 -1
  252. package/eipanycast/anycastEipAddressAttachment.d.ts +75 -34
  253. package/eipanycast/anycastEipAddressAttachment.js +11 -20
  254. package/eipanycast/anycastEipAddressAttachment.js.map +1 -1
  255. package/elasticsearch/instance.d.ts +70 -51
  256. package/elasticsearch/instance.js +10 -35
  257. package/elasticsearch/instance.js.map +1 -1
  258. package/ens/index.d.ts +3 -0
  259. package/ens/index.js +6 -1
  260. package/ens/index.js.map +1 -1
  261. package/ens/instance.d.ts +355 -0
  262. package/ens/instance.js +122 -0
  263. package/ens/instance.js.map +1 -0
  264. package/ess/suspendProcess.d.ts +1 -3
  265. package/ess/suspendProcess.js +1 -3
  266. package/ess/suspendProcess.js.map +1 -1
  267. package/eventbridge/rule.d.ts +5 -5
  268. package/eventbridge/rule.js +2 -2
  269. package/fc/index.d.ts +3 -0
  270. package/fc/index.js +6 -1
  271. package/fc/index.js.map +1 -1
  272. package/fc/v2function.d.ts +480 -0
  273. package/fc/v2function.js +231 -0
  274. package/fc/v2function.js.map +1 -0
  275. package/ga/accelerator.d.ts +78 -9
  276. package/ga/accelerator.js +29 -6
  277. package/ga/accelerator.js.map +1 -1
  278. package/ga/acceleratorSpareIpAttachment.d.ts +1 -1
  279. package/ga/acceleratorSpareIpAttachment.js +1 -1
  280. package/ga/accessLog.d.ts +1 -1
  281. package/ga/accessLog.js +1 -1
  282. package/ga/acl.d.ts +1 -1
  283. package/ga/acl.js +1 -1
  284. package/ga/aclAttachment.d.ts +1 -1
  285. package/ga/aclAttachment.js +1 -1
  286. package/ga/aclEntryAttachment.d.ts +1 -1
  287. package/ga/aclEntryAttachment.js +1 -1
  288. package/ga/additionalCertificate.d.ts +1 -1
  289. package/ga/additionalCertificate.js +1 -1
  290. package/ga/bandwidthPackage.d.ts +13 -1
  291. package/ga/bandwidthPackage.js +3 -1
  292. package/ga/bandwidthPackage.js.map +1 -1
  293. package/ga/bandwidthPackageAttachment.d.ts +1 -1
  294. package/ga/bandwidthPackageAttachment.js +1 -1
  295. package/ga/basicAccelerateIp.d.ts +1 -1
  296. package/ga/basicAccelerateIp.js +1 -1
  297. package/ga/basicAccelerateIpEndpointRelation.d.ts +1 -1
  298. package/ga/basicAccelerateIpEndpointRelation.js +1 -1
  299. package/ga/basicAccelerator.d.ts +37 -1
  300. package/ga/basicAccelerator.js +7 -1
  301. package/ga/basicAccelerator.js.map +1 -1
  302. package/ga/basicEndpoint.d.ts +1 -1
  303. package/ga/basicEndpoint.js +1 -1
  304. package/ga/basicEndpointGroup.d.ts +1 -1
  305. package/ga/basicEndpointGroup.js +1 -1
  306. package/ga/basicIpSet.d.ts +1 -1
  307. package/ga/basicIpSet.js +1 -1
  308. package/ga/customRoutingEndpoint.d.ts +1 -1
  309. package/ga/customRoutingEndpoint.js +1 -1
  310. package/ga/customRoutingEndpointGroup.d.ts +1 -1
  311. package/ga/customRoutingEndpointGroup.js +1 -1
  312. package/ga/customRoutingEndpointGroupDestination.d.ts +1 -1
  313. package/ga/customRoutingEndpointGroupDestination.js +1 -1
  314. package/ga/customRoutingEndpointTrafficPolicy.d.ts +1 -1
  315. package/ga/customRoutingEndpointTrafficPolicy.js +1 -1
  316. package/ga/domain.d.ts +1 -1
  317. package/ga/domain.js +1 -1
  318. package/ga/endpointGroup.d.ts +1 -1
  319. package/ga/endpointGroup.js +1 -1
  320. package/ga/forwardingRule.d.ts +111 -1
  321. package/ga/forwardingRule.js +111 -1
  322. package/ga/forwardingRule.js.map +1 -1
  323. package/ga/ipSet.d.ts +1 -1
  324. package/ga/ipSet.js +1 -1
  325. package/ga/listener.d.ts +1 -1
  326. package/ga/listener.js +1 -1
  327. package/kvstore/instance.d.ts +92 -91
  328. package/kvstore/instance.js +2 -0
  329. package/kvstore/instance.js.map +1 -1
  330. package/nas/dataFlow.d.ts +1 -1
  331. package/nas/dataFlow.js +1 -1
  332. package/nas/mountTarget.d.ts +28 -53
  333. package/nas/mountTarget.js +6 -51
  334. package/nas/mountTarget.js.map +1 -1
  335. package/oos/secretParameter.d.ts +1 -1
  336. package/oos/secretParameter.js +1 -1
  337. package/oss/bucket.d.ts +77 -27
  338. package/oss/bucket.js +30 -0
  339. package/oss/bucket.js.map +1 -1
  340. package/ots/secondaryIndex.d.ts +2 -2
  341. package/ots/secondaryIndex.js +2 -2
  342. package/package.json +2 -2
  343. package/polardb/cluster.d.ts +88 -85
  344. package/polardb/cluster.js +8 -51
  345. package/polardb/cluster.js.map +1 -1
  346. package/provider.js +1 -1
  347. package/provider.js.map +1 -1
  348. package/ram/accessKey.d.ts +4 -2
  349. package/ram/accessKey.js +2 -0
  350. package/ram/accessKey.js.map +1 -1
  351. package/ram/accountAlias.d.ts +2 -0
  352. package/ram/accountAlias.js +2 -0
  353. package/ram/accountAlias.js.map +1 -1
  354. package/ram/accountPasswordPolicy.d.ts +3 -3
  355. package/ram/getAccountAliases.d.ts +0 -39
  356. package/ram/getAccountAliases.js +0 -30
  357. package/ram/getAccountAliases.js.map +1 -1
  358. package/ram/getGroups.d.ts +4 -0
  359. package/ram/getGroups.js +4 -0
  360. package/ram/getGroups.js.map +1 -1
  361. package/ram/getPolicies.d.ts +13 -0
  362. package/ram/getPolicies.js +4 -0
  363. package/ram/getPolicies.js.map +1 -1
  364. package/ram/getPolicyDocument.d.ts +8 -8
  365. package/ram/getPolicyDocument.js +6 -6
  366. package/ram/getRoles.d.ts +4 -0
  367. package/ram/getRoles.js +4 -0
  368. package/ram/getRoles.js.map +1 -1
  369. package/ram/getSamlProviders.d.ts +8 -2
  370. package/ram/getSamlProviders.js +2 -2
  371. package/ram/getSamlProviders.js.map +1 -1
  372. package/ram/getUsers.d.ts +4 -0
  373. package/ram/getUsers.js +4 -0
  374. package/ram/getUsers.js.map +1 -1
  375. package/ram/group.d.ts +2 -0
  376. package/ram/group.js +2 -0
  377. package/ram/group.js.map +1 -1
  378. package/ram/groupMembership.d.ts +2 -0
  379. package/ram/groupMembership.js +2 -0
  380. package/ram/groupMembership.js.map +1 -1
  381. package/ram/groupPolicyAttachment.d.ts +2 -0
  382. package/ram/groupPolicyAttachment.js +2 -0
  383. package/ram/groupPolicyAttachment.js.map +1 -1
  384. package/ram/loginProfile.d.ts +2 -0
  385. package/ram/loginProfile.js +2 -0
  386. package/ram/loginProfile.js.map +1 -1
  387. package/ram/policy.d.ts +14 -12
  388. package/ram/policy.js +2 -0
  389. package/ram/policy.js.map +1 -1
  390. package/ram/role.d.ts +11 -9
  391. package/ram/role.js +2 -0
  392. package/ram/role.js.map +1 -1
  393. package/ram/roleAttachment.d.ts +2 -0
  394. package/ram/roleAttachment.js +2 -0
  395. package/ram/roleAttachment.js.map +1 -1
  396. package/ram/rolePolicyAttachment.d.ts +2 -0
  397. package/ram/rolePolicyAttachment.js +2 -0
  398. package/ram/rolePolicyAttachment.js.map +1 -1
  399. package/ram/samlProvider.d.ts +2 -2
  400. package/ram/samlProvider.js +2 -2
  401. package/ram/securityPreference.d.ts +1 -1
  402. package/ram/securityPreference.js +1 -1
  403. package/ram/user.d.ts +2 -0
  404. package/ram/user.js +2 -0
  405. package/ram/user.js.map +1 -1
  406. package/ram/userPolicyAttachment.d.ts +2 -0
  407. package/ram/userPolicyAttachment.js +2 -0
  408. package/ram/userPolicyAttachment.js.map +1 -1
  409. package/rds/accountPrivilege.d.ts +11 -11
  410. package/rds/accountPrivilege.js +11 -8
  411. package/rds/accountPrivilege.js.map +1 -1
  412. package/rds/backupPolicy.d.ts +7 -5
  413. package/rds/backupPolicy.js +7 -5
  414. package/rds/backupPolicy.js.map +1 -1
  415. package/rds/connection.d.ts +10 -9
  416. package/rds/connection.js +10 -9
  417. package/rds/connection.js.map +1 -1
  418. package/rds/database.d.ts +16 -14
  419. package/rds/database.js +13 -8
  420. package/rds/database.js.map +1 -1
  421. package/rds/dbInstanceEndpoint.d.ts +69 -2
  422. package/rds/dbInstanceEndpoint.js +69 -2
  423. package/rds/dbInstanceEndpoint.js.map +1 -1
  424. package/rds/dbInstanceEndpointAddress.d.ts +2 -2
  425. package/rds/dbInstanceEndpointAddress.js +2 -2
  426. package/rds/dbNode.d.ts +22 -14
  427. package/rds/dbNode.js +22 -14
  428. package/rds/dbNode.js.map +1 -1
  429. package/rds/instance.d.ts +15 -3
  430. package/rds/instance.js +2 -0
  431. package/rds/instance.js.map +1 -1
  432. package/rds/rdsAccount.d.ts +18 -13
  433. package/rds/rdsAccount.js +18 -13
  434. package/rds/rdsAccount.js.map +1 -1
  435. package/rds/rdsBackup.d.ts +2 -2
  436. package/rds/rdsBackup.js +2 -2
  437. package/rds/rdsDbProxy.d.ts +13 -11
  438. package/rds/rdsDbProxy.js +13 -11
  439. package/rds/rdsDbProxy.js.map +1 -1
  440. package/rds/rdsInstanceCrossBackupPolicy.d.ts +24 -13
  441. package/rds/rdsInstanceCrossBackupPolicy.js +24 -13
  442. package/rds/rdsInstanceCrossBackupPolicy.js.map +1 -1
  443. package/rds/rdsParameterGroup.d.ts +5 -3
  444. package/rds/rdsParameterGroup.js +5 -3
  445. package/rds/rdsParameterGroup.js.map +1 -1
  446. package/rds/rdsServiceLinkedRole.d.ts +1 -1
  447. package/rds/rdsServiceLinkedRole.js +1 -1
  448. package/rds/readOnlyInstance.d.ts +25 -20
  449. package/rds/readOnlyInstance.js +25 -20
  450. package/rds/readOnlyInstance.js.map +1 -1
  451. package/rds/readWriteSplittingConnection.d.ts +25 -22
  452. package/rds/readWriteSplittingConnection.js +25 -22
  453. package/rds/readWriteSplittingConnection.js.map +1 -1
  454. package/resourcemanager/controlPolicyAttachment.d.ts +7 -9
  455. package/resourcemanager/controlPolicyAttachment.js +7 -9
  456. package/resourcemanager/controlPolicyAttachment.js.map +1 -1
  457. package/resourcemanager/sharedResource.d.ts +7 -7
  458. package/resourcemanager/sharedResource.js +2 -2
  459. package/sddp/dataLimit.d.ts +1 -1
  460. package/sddp/dataLimit.js +1 -1
  461. package/types/input.d.ts +521 -185
  462. package/types/output.d.ts +524 -185
  463. package/vpc/gatewayEndpoint.d.ts +183 -0
  464. package/vpc/gatewayEndpoint.js +112 -0
  465. package/vpc/gatewayEndpoint.js.map +1 -0
  466. package/vpc/gatewayEndpointRouteTableAttachment.d.ts +111 -0
  467. package/vpc/gatewayEndpointRouteTableAttachment.js +102 -0
  468. package/vpc/gatewayEndpointRouteTableAttachment.js.map +1 -0
  469. package/vpc/index.d.ts +6 -0
  470. package/vpc/index.js +13 -3
  471. package/vpc/index.js.map +1 -1
  472. package/vpc/natGateway.d.ts +2 -2
  473. package/vpc/snatEntry.d.ts +46 -2
  474. package/vpc/snatEntry.js +44 -0
  475. package/vpc/snatEntry.js.map +1 -1
  476. package/vpc/subnet.d.ts +1 -1
  477. package/vpc/switch.d.ts +3 -1
  478. package/vpc/switch.js +2 -0
  479. package/vpc/switch.js.map +1 -1
  480. package/vpc/vbrHa.d.ts +1 -49
  481. package/vpc/vbrHa.js +1 -49
  482. package/vpc/vbrHa.js.map +1 -1
  483. package/vpn/gatewayVpnAttachment.d.ts +17 -20
  484. package/vpn/gatewayVpnAttachment.js +5 -8
  485. package/vpn/gatewayVpnAttachment.js.map +1 -1
@@ -2,7 +2,9 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "../types/input";
3
3
  import * as outputs from "../types/output";
4
4
  /**
5
- * This resource will help you to manage a Kubernetes Cluster in Alibaba Cloud Kubernetes Service.
5
+ * This resource will help you to manage a Kubernetes Cluster in Alibaba Cloud Kubernetes Service, see [What is kubernetes](https://www.alibabacloud.com/help/en/ack/ack-managed-and-ack-dedicated/developer-reference/create-an-ask-cluster-1).
6
+ *
7
+ * > **NOTE:** Available since v1.9.0.
6
8
  *
7
9
  * > **NOTE:** Kubernetes cluster only supports VPC network and it can access internet while creating kubernetes cluster.
8
10
  * A Nat Gateway and configuring a SNAT for it can ensure one VPC network access internet. If there is no nat gateway in the
@@ -56,19 +58,21 @@ export declare class Kubernetes extends pulumi.CustomResource {
56
58
  */
57
59
  static isInstance(obj: any): obj is Kubernetes;
58
60
  /**
59
- * The addon you want to install in cluster.
61
+ * The addon you want to install in cluster. See `addons` below.
60
62
  */
61
63
  readonly addons: pulumi.Output<outputs.cs.KubernetesAddon[] | undefined>;
62
64
  /**
63
- * A list of API audiences for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm). Set this to `["https://kubernetes.default.svc"]` if you want to enable the Token Volume Projection feature (requires specifying `serviceAccountIssuer` as well. From cluster version 1.22+, Service Account Token Volume Projection will be enabled by default.
65
+ * A list of API audiences for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm). Set this to `["https://kubernetes.default.svc"]` if you want to enable the Token Volume Projection feature requires specifying `serviceAccountIssuer` as well. From cluster version 1.22+, Service Account Token Volume Projection will be enabled by default.
64
66
  */
65
67
  readonly apiAudiences: pulumi.Output<string[] | undefined>;
66
68
  /**
67
69
  * The Zone where new kubernetes cluster will be located. If it is not be specified, the `vswitchIds` should be set, its value will be vswitch's zone.
70
+ *
71
+ * *Removed params*
68
72
  */
69
73
  readonly availabilityZone: pulumi.Output<string>;
70
74
  /**
71
- * (Available in 1.105.0+) Nested attribute containing certificate authority data for your cluster.
75
+ * Nested attribute containing certificate authority data for your cluster.
72
76
  */
73
77
  readonly certificateAuthority: pulumi.Output<outputs.cs.KubernetesCertificateAuthority>;
74
78
  /**
@@ -92,7 +96,7 @@ export declare class Kubernetes extends pulumi.CustomResource {
92
96
  */
93
97
  readonly connections: pulumi.Output<outputs.cs.KubernetesConnections>;
94
98
  /**
95
- * (Optional) Kubelet cpu policy. For Kubernetes 1.12.6 and later, its valid value is either `static` or `none`. Default to `none`.
99
+ * Kubelet cpu policy. For Kubernetes 1.12.6 and later, its valid value is either `static` or `none`. Default to `none`.
96
100
  *
97
101
  * @deprecated Field 'cpu_policy' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'cpu_policy' to replace it
98
102
  */
@@ -110,7 +114,7 @@ export declare class Kubernetes extends pulumi.CustomResource {
110
114
  */
111
115
  readonly enableSsh: pulumi.Output<boolean | undefined>;
112
116
  /**
113
- * (Optional, Available in 1.88.0+) Exclude autoscaler nodes from `workerNodes`. Default to `false`.
117
+ * Exclude autoscaler nodes from `workerNodes`. Default to `false`.
114
118
  *
115
119
  * @deprecated Field 'exclude_autoscaler_nodes' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes.
116
120
  */
@@ -173,6 +177,8 @@ export declare class Kubernetes extends pulumi.CustomResource {
173
177
  readonly masterDiskSize: pulumi.Output<number | undefined>;
174
178
  /**
175
179
  * Master node system disk auto snapshot policy.
180
+ *
181
+ * *Worker params*
176
182
  */
177
183
  readonly masterDiskSnapshotPolicyId: pulumi.Output<string | undefined>;
178
184
  /**
@@ -184,7 +190,9 @@ export declare class Kubernetes extends pulumi.CustomResource {
184
190
  */
185
191
  readonly masterInstanceTypes: pulumi.Output<string[]>;
186
192
  /**
187
- * List of cluster master nodes.
193
+ * The master nodes. See `masterNodes` below.
194
+ *
195
+ * *Network params*
188
196
  */
189
197
  readonly masterNodes: pulumi.Output<outputs.cs.KubernetesMasterNode[]>;
190
198
  /**
@@ -224,7 +232,7 @@ export declare class Kubernetes extends pulumi.CustomResource {
224
232
  */
225
233
  readonly nodeNameMode: pulumi.Output<string | undefined>;
226
234
  /**
227
- * (Optional, ForceNew, Available in 1.103.2+) The service port range of nodes, valid values: `30000` to `65535`. Default to `30000-32767`.
235
+ * The service port range of nodes, valid values: `30000` to `65535`. Default to `30000-32767`.
228
236
  *
229
237
  * @deprecated Field 'node_port_range' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes.
230
238
  */
@@ -293,6 +301,8 @@ export declare class Kubernetes extends pulumi.CustomResource {
293
301
  *
294
302
  * > **NOTE:** If you want to use `Terway` as CNI network plugin, You need to specific the `podVswitchIds` field and addons with `terway-eniip`.
295
303
  * If you want to use `Flannel` as CNI network plugin, You need to specific the `podCidr` field and addons with `flannel`.
304
+ *
305
+ * *Master params*
296
306
  */
297
307
  readonly slbInternetEnabled: pulumi.Output<boolean | undefined>;
298
308
  /**
@@ -300,13 +310,13 @@ export declare class Kubernetes extends pulumi.CustomResource {
300
310
  */
301
311
  readonly slbIntranet: pulumi.Output<string>;
302
312
  /**
303
- * Default nil, A map of tags assigned to the kubernetes cluster and work nodes. Detailed below.
313
+ * Default nil, A map of tags assigned to the kubernetes cluster and work nodes.
304
314
  */
305
315
  readonly tags: pulumi.Output<{
306
316
  [key: string]: any;
307
317
  } | undefined>;
308
318
  /**
309
- * (Optional, Available in 1.103.2+) Taints ensure pods are not scheduled onto inappropriate nodes. One or more taints are applied to a node; this marks that the node should not accept any pods that do not tolerate the taints. For more information, see [Taints and Tolerations](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/). Detailed below.
319
+ * Taints ensure pods are not scheduled onto inappropriate nodes. One or more taints are applied to a node; this marks that the node should not accept any pods that do not tolerate the taints. For more information, see [Taints and Tolerations](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/). See `taints` below.
310
320
  *
311
321
  * @deprecated Field 'taints' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'taints' to replace it
312
322
  */
@@ -320,7 +330,7 @@ export declare class Kubernetes extends pulumi.CustomResource {
320
330
  */
321
331
  readonly userCa: pulumi.Output<string | undefined>;
322
332
  /**
323
- * (Optional, Available in 1.81.0+) Custom data that can execute on nodes. For more information, see [Prepare user data](https://www.alibabacloud.com/help/doc-detail/49121.htm).
333
+ * Custom data that can execute on nodes. For more information, see [Prepare user data](https://www.alibabacloud.com/help/doc-detail/49121.htm).
324
334
  *
325
335
  * @deprecated Field 'user_data' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'user_data' to replace it
326
336
  */
@@ -334,13 +344,13 @@ export declare class Kubernetes extends pulumi.CustomResource {
334
344
  */
335
345
  readonly vpcId: pulumi.Output<string>;
336
346
  /**
337
- * (Optional) Enable worker payment auto-renew, defaults to false.
347
+ * Enable worker payment auto-renew, defaults to false.
338
348
  *
339
349
  * @deprecated Field 'worker_auto_renew' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'auto_renew' to replace it
340
350
  */
341
351
  readonly workerAutoRenew: pulumi.Output<boolean | undefined>;
342
352
  /**
343
- * (Optional) Worker payment auto-renew period, it can be one of {1, 2, 3, 6, 12}.
353
+ * Worker payment auto-renew period, it can be one of {1, 2, 3, 6, 12}.
344
354
  *
345
355
  * @deprecated Field 'worker_auto_renew_period' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'auto_renew_period' to replace it
346
356
  */
@@ -358,67 +368,71 @@ export declare class Kubernetes extends pulumi.CustomResource {
358
368
  */
359
369
  readonly workerDataDiskSize: pulumi.Output<number | undefined>;
360
370
  /**
361
- * (Optional, Available in 1.91.0+) The data disk configurations of worker nodes, such as the disk type and disk size.
371
+ * The data disk configurations of worker nodes, such as the disk type and disk size. See `workerDataDisks` below.
362
372
  *
363
373
  * @deprecated Field 'worker_data_disks' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'data_disks' to replace it
364
374
  */
365
375
  readonly workerDataDisks: pulumi.Output<outputs.cs.KubernetesWorkerDataDisk[] | undefined>;
366
376
  /**
367
- * (Optional) The system disk category of worker node. Its valid value are `cloud`, `cloudSsd`, `cloudEssd` and `cloudEfficiency`. Default to `cloudEfficiency`.
377
+ * The system disk category of worker node. Its valid value are `cloud`, `cloudSsd`, `cloudEssd` and `cloudEfficiency`. Default to `cloudEfficiency`.
368
378
  *
369
379
  * @deprecated Field 'worker_disk_category' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'system_disk_category' to replace it
370
380
  */
371
381
  readonly workerDiskCategory: pulumi.Output<string | undefined>;
372
382
  /**
373
- * (Optional, Available in 1.120.0+) Worker node system disk performance level, when `workerDiskCategory` values `cloudEssd`, the optional values are `PL0`, `PL1`, `PL2` or `PL3`, but the specific performance level is related to the disk capacity. For more information, see [Enhanced SSDs](https://www.alibabacloud.com/help/doc-detail/122389.htm). Default is `PL1`.
383
+ * Worker node system disk performance level, when `workerDiskCategory` values `cloudEssd`, the optional values are `PL0`, `PL1`, `PL2` or `PL3`, but the specific performance level is related to the disk capacity. For more information, see [Enhanced SSDs](https://www.alibabacloud.com/help/doc-detail/122389.htm). Default is `PL1`.
374
384
  *
375
385
  * @deprecated Field 'worker_disk_performance_level' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'system_disk_performance_level' to replace it
376
386
  */
377
387
  readonly workerDiskPerformanceLevel: pulumi.Output<string | undefined>;
378
388
  /**
379
- * (Optional) The system disk size of worker node. Its valid value range [40~500] in GB.
389
+ * The system disk size of worker node. Its valid value range [40~500] in GB.
380
390
  *
381
391
  * @deprecated Field 'worker_disk_size' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'system_disk_size' to replace it
382
392
  */
383
393
  readonly workerDiskSize: pulumi.Output<number>;
384
394
  /**
385
- * (Optional, Available in 1.120.0+) Worker node system disk auto snapshot policy.
395
+ * Worker node system disk auto snapshot policy.
396
+ *
397
+ * *Computed params*
398
+ *
399
+ * You can set some file paths to save kubeConfig information, but this way is cumbersome. Since version 1.105.0, we've written it to tf state file. About its use,see export attribute certificate_authority. From version 1.187.0+, new DataSource `alicloud.cs.getClusterCredential` is recommended to manage cluster's kube_config.
386
400
  *
387
401
  * @deprecated Field 'worker_disk_snapshot_policy_id' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'system_disk_snapshot_policy_id' to replace it
388
402
  */
389
403
  readonly workerDiskSnapshotPolicyId: pulumi.Output<string | undefined>;
390
404
  /**
391
- * (Optional, Force new resource) Worker payment type, its valid value is either or `PostPaid` or `PrePaid`. Defaults to `PostPaid`. If value is `PrePaid`, the files `workerPeriod`, `workerPeriodUnit`, `workerAutoRenew` and `workerAutoRenewPeriod` are required, default is `PostPaid`.
405
+ * Worker payment type, its valid value is either or `PostPaid` or `PrePaid`. Defaults to `PostPaid`. If value is `PrePaid`, the files `workerPeriod`, `workerPeriodUnit`, `workerAutoRenew` and `workerAutoRenewPeriod` are required, default is `PostPaid`.
392
406
  *
393
407
  * @deprecated Field 'worker_instance_charge_type' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'instance_charge_type' to replace it
394
408
  */
395
409
  readonly workerInstanceChargeType: pulumi.Output<string>;
396
410
  /**
397
- * (Optional) The instance type of worker node. Specify one type for single AZ Cluster, three types for MultiAZ Cluster.
411
+ * The instance type of worker node. Specify one type for single AZ Cluster, three types for MultiAZ Cluster.
398
412
  *
399
413
  * @deprecated Field 'worker_instance_types' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'instance_types' to replace it
400
414
  */
401
415
  readonly workerInstanceTypes: pulumi.Output<string[] | undefined>;
402
416
  /**
403
- * (Deprecated from version 1.177.0)List of cluster worker nodes.
417
+ * List of cluster worker nodes. See `workerNodes` below.
404
418
  *
405
419
  * @deprecated Field 'worker_nodes' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes.
406
420
  */
407
421
  readonly workerNodes: pulumi.Output<outputs.cs.KubernetesWorkerNode[]>;
408
422
  /**
409
- * (Optional) The worker node number of the kubernetes cluster. Default to 3. It is limited up to 50 and if you want to enlarge it, please apply white list or contact with us.
423
+ * The worker node number of the kubernetes cluster. Default to 3. It is limited up to 50 and if you want to enlarge it, please apply white list or contact with us.
410
424
  *
411
425
  * @deprecated Field 'worker_number' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'desired_size' to replace it
412
426
  */
413
427
  readonly workerNumber: pulumi.Output<number | undefined>;
414
428
  /**
415
- * (Optional) Worker payment period. The unit is `Month`. Its valid value is one of {1, 2, 3, 6, 12, 24, 36, 48, 60}.
429
+ * Worker payment period. The unit is `Month`. Its valid value is one of {1, 2, 3, 6, 12, 24, 36, 48, 60}.
416
430
  *
417
431
  * @deprecated Field 'worker_period' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'period' to replace it
418
432
  */
419
433
  readonly workerPeriod: pulumi.Output<number>;
420
434
  /**
421
- * (Optional) Worker payment period unit, the valid value is `Month`.
435
+ * Worker payment period unit, the valid value is `Month`.
422
436
  *
423
437
  * @deprecated Field 'worker_period_unit' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'period_unit' to replace it
424
438
  */
@@ -428,7 +442,7 @@ export declare class Kubernetes extends pulumi.CustomResource {
428
442
  */
429
443
  readonly workerRamRoleName: pulumi.Output<string>;
430
444
  /**
431
- * (Optional) The vswitches used by workers.
445
+ * The vswitches used by workers.
432
446
  *
433
447
  * @deprecated Field 'worker_vswitch_ids' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'vswitch_ids' to replace it
434
448
  */
@@ -447,19 +461,21 @@ export declare class Kubernetes extends pulumi.CustomResource {
447
461
  */
448
462
  export interface KubernetesState {
449
463
  /**
450
- * The addon you want to install in cluster.
464
+ * The addon you want to install in cluster. See `addons` below.
451
465
  */
452
466
  addons?: pulumi.Input<pulumi.Input<inputs.cs.KubernetesAddon>[]>;
453
467
  /**
454
- * A list of API audiences for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm). Set this to `["https://kubernetes.default.svc"]` if you want to enable the Token Volume Projection feature (requires specifying `serviceAccountIssuer` as well. From cluster version 1.22+, Service Account Token Volume Projection will be enabled by default.
468
+ * A list of API audiences for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm). Set this to `["https://kubernetes.default.svc"]` if you want to enable the Token Volume Projection feature requires specifying `serviceAccountIssuer` as well. From cluster version 1.22+, Service Account Token Volume Projection will be enabled by default.
455
469
  */
456
470
  apiAudiences?: pulumi.Input<pulumi.Input<string>[]>;
457
471
  /**
458
472
  * The Zone where new kubernetes cluster will be located. If it is not be specified, the `vswitchIds` should be set, its value will be vswitch's zone.
473
+ *
474
+ * *Removed params*
459
475
  */
460
476
  availabilityZone?: pulumi.Input<string>;
461
477
  /**
462
- * (Available in 1.105.0+) Nested attribute containing certificate authority data for your cluster.
478
+ * Nested attribute containing certificate authority data for your cluster.
463
479
  */
464
480
  certificateAuthority?: pulumi.Input<inputs.cs.KubernetesCertificateAuthority>;
465
481
  /**
@@ -483,7 +499,7 @@ export interface KubernetesState {
483
499
  */
484
500
  connections?: pulumi.Input<inputs.cs.KubernetesConnections>;
485
501
  /**
486
- * (Optional) Kubelet cpu policy. For Kubernetes 1.12.6 and later, its valid value is either `static` or `none`. Default to `none`.
502
+ * Kubelet cpu policy. For Kubernetes 1.12.6 and later, its valid value is either `static` or `none`. Default to `none`.
487
503
  *
488
504
  * @deprecated Field 'cpu_policy' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'cpu_policy' to replace it
489
505
  */
@@ -501,7 +517,7 @@ export interface KubernetesState {
501
517
  */
502
518
  enableSsh?: pulumi.Input<boolean>;
503
519
  /**
504
- * (Optional, Available in 1.88.0+) Exclude autoscaler nodes from `workerNodes`. Default to `false`.
520
+ * Exclude autoscaler nodes from `workerNodes`. Default to `false`.
505
521
  *
506
522
  * @deprecated Field 'exclude_autoscaler_nodes' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes.
507
523
  */
@@ -564,6 +580,8 @@ export interface KubernetesState {
564
580
  masterDiskSize?: pulumi.Input<number>;
565
581
  /**
566
582
  * Master node system disk auto snapshot policy.
583
+ *
584
+ * *Worker params*
567
585
  */
568
586
  masterDiskSnapshotPolicyId?: pulumi.Input<string>;
569
587
  /**
@@ -575,7 +593,9 @@ export interface KubernetesState {
575
593
  */
576
594
  masterInstanceTypes?: pulumi.Input<pulumi.Input<string>[]>;
577
595
  /**
578
- * List of cluster master nodes.
596
+ * The master nodes. See `masterNodes` below.
597
+ *
598
+ * *Network params*
579
599
  */
580
600
  masterNodes?: pulumi.Input<pulumi.Input<inputs.cs.KubernetesMasterNode>[]>;
581
601
  /**
@@ -615,7 +635,7 @@ export interface KubernetesState {
615
635
  */
616
636
  nodeNameMode?: pulumi.Input<string>;
617
637
  /**
618
- * (Optional, ForceNew, Available in 1.103.2+) The service port range of nodes, valid values: `30000` to `65535`. Default to `30000-32767`.
638
+ * The service port range of nodes, valid values: `30000` to `65535`. Default to `30000-32767`.
619
639
  *
620
640
  * @deprecated Field 'node_port_range' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes.
621
641
  */
@@ -684,6 +704,8 @@ export interface KubernetesState {
684
704
  *
685
705
  * > **NOTE:** If you want to use `Terway` as CNI network plugin, You need to specific the `podVswitchIds` field and addons with `terway-eniip`.
686
706
  * If you want to use `Flannel` as CNI network plugin, You need to specific the `podCidr` field and addons with `flannel`.
707
+ *
708
+ * *Master params*
687
709
  */
688
710
  slbInternetEnabled?: pulumi.Input<boolean>;
689
711
  /**
@@ -691,13 +713,13 @@ export interface KubernetesState {
691
713
  */
692
714
  slbIntranet?: pulumi.Input<string>;
693
715
  /**
694
- * Default nil, A map of tags assigned to the kubernetes cluster and work nodes. Detailed below.
716
+ * Default nil, A map of tags assigned to the kubernetes cluster and work nodes.
695
717
  */
696
718
  tags?: pulumi.Input<{
697
719
  [key: string]: any;
698
720
  }>;
699
721
  /**
700
- * (Optional, Available in 1.103.2+) Taints ensure pods are not scheduled onto inappropriate nodes. One or more taints are applied to a node; this marks that the node should not accept any pods that do not tolerate the taints. For more information, see [Taints and Tolerations](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/). Detailed below.
722
+ * Taints ensure pods are not scheduled onto inappropriate nodes. One or more taints are applied to a node; this marks that the node should not accept any pods that do not tolerate the taints. For more information, see [Taints and Tolerations](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/). See `taints` below.
701
723
  *
702
724
  * @deprecated Field 'taints' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'taints' to replace it
703
725
  */
@@ -711,7 +733,7 @@ export interface KubernetesState {
711
733
  */
712
734
  userCa?: pulumi.Input<string>;
713
735
  /**
714
- * (Optional, Available in 1.81.0+) Custom data that can execute on nodes. For more information, see [Prepare user data](https://www.alibabacloud.com/help/doc-detail/49121.htm).
736
+ * Custom data that can execute on nodes. For more information, see [Prepare user data](https://www.alibabacloud.com/help/doc-detail/49121.htm).
715
737
  *
716
738
  * @deprecated Field 'user_data' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'user_data' to replace it
717
739
  */
@@ -725,13 +747,13 @@ export interface KubernetesState {
725
747
  */
726
748
  vpcId?: pulumi.Input<string>;
727
749
  /**
728
- * (Optional) Enable worker payment auto-renew, defaults to false.
750
+ * Enable worker payment auto-renew, defaults to false.
729
751
  *
730
752
  * @deprecated Field 'worker_auto_renew' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'auto_renew' to replace it
731
753
  */
732
754
  workerAutoRenew?: pulumi.Input<boolean>;
733
755
  /**
734
- * (Optional) Worker payment auto-renew period, it can be one of {1, 2, 3, 6, 12}.
756
+ * Worker payment auto-renew period, it can be one of {1, 2, 3, 6, 12}.
735
757
  *
736
758
  * @deprecated Field 'worker_auto_renew_period' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'auto_renew_period' to replace it
737
759
  */
@@ -749,67 +771,71 @@ export interface KubernetesState {
749
771
  */
750
772
  workerDataDiskSize?: pulumi.Input<number>;
751
773
  /**
752
- * (Optional, Available in 1.91.0+) The data disk configurations of worker nodes, such as the disk type and disk size.
774
+ * The data disk configurations of worker nodes, such as the disk type and disk size. See `workerDataDisks` below.
753
775
  *
754
776
  * @deprecated Field 'worker_data_disks' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'data_disks' to replace it
755
777
  */
756
778
  workerDataDisks?: pulumi.Input<pulumi.Input<inputs.cs.KubernetesWorkerDataDisk>[]>;
757
779
  /**
758
- * (Optional) The system disk category of worker node. Its valid value are `cloud`, `cloudSsd`, `cloudEssd` and `cloudEfficiency`. Default to `cloudEfficiency`.
780
+ * The system disk category of worker node. Its valid value are `cloud`, `cloudSsd`, `cloudEssd` and `cloudEfficiency`. Default to `cloudEfficiency`.
759
781
  *
760
782
  * @deprecated Field 'worker_disk_category' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'system_disk_category' to replace it
761
783
  */
762
784
  workerDiskCategory?: pulumi.Input<string>;
763
785
  /**
764
- * (Optional, Available in 1.120.0+) Worker node system disk performance level, when `workerDiskCategory` values `cloudEssd`, the optional values are `PL0`, `PL1`, `PL2` or `PL3`, but the specific performance level is related to the disk capacity. For more information, see [Enhanced SSDs](https://www.alibabacloud.com/help/doc-detail/122389.htm). Default is `PL1`.
786
+ * Worker node system disk performance level, when `workerDiskCategory` values `cloudEssd`, the optional values are `PL0`, `PL1`, `PL2` or `PL3`, but the specific performance level is related to the disk capacity. For more information, see [Enhanced SSDs](https://www.alibabacloud.com/help/doc-detail/122389.htm). Default is `PL1`.
765
787
  *
766
788
  * @deprecated Field 'worker_disk_performance_level' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'system_disk_performance_level' to replace it
767
789
  */
768
790
  workerDiskPerformanceLevel?: pulumi.Input<string>;
769
791
  /**
770
- * (Optional) The system disk size of worker node. Its valid value range [40~500] in GB.
792
+ * The system disk size of worker node. Its valid value range [40~500] in GB.
771
793
  *
772
794
  * @deprecated Field 'worker_disk_size' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'system_disk_size' to replace it
773
795
  */
774
796
  workerDiskSize?: pulumi.Input<number>;
775
797
  /**
776
- * (Optional, Available in 1.120.0+) Worker node system disk auto snapshot policy.
798
+ * Worker node system disk auto snapshot policy.
799
+ *
800
+ * *Computed params*
801
+ *
802
+ * You can set some file paths to save kubeConfig information, but this way is cumbersome. Since version 1.105.0, we've written it to tf state file. About its use,see export attribute certificate_authority. From version 1.187.0+, new DataSource `alicloud.cs.getClusterCredential` is recommended to manage cluster's kube_config.
777
803
  *
778
804
  * @deprecated Field 'worker_disk_snapshot_policy_id' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'system_disk_snapshot_policy_id' to replace it
779
805
  */
780
806
  workerDiskSnapshotPolicyId?: pulumi.Input<string>;
781
807
  /**
782
- * (Optional, Force new resource) Worker payment type, its valid value is either or `PostPaid` or `PrePaid`. Defaults to `PostPaid`. If value is `PrePaid`, the files `workerPeriod`, `workerPeriodUnit`, `workerAutoRenew` and `workerAutoRenewPeriod` are required, default is `PostPaid`.
808
+ * Worker payment type, its valid value is either or `PostPaid` or `PrePaid`. Defaults to `PostPaid`. If value is `PrePaid`, the files `workerPeriod`, `workerPeriodUnit`, `workerAutoRenew` and `workerAutoRenewPeriod` are required, default is `PostPaid`.
783
809
  *
784
810
  * @deprecated Field 'worker_instance_charge_type' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'instance_charge_type' to replace it
785
811
  */
786
812
  workerInstanceChargeType?: pulumi.Input<string>;
787
813
  /**
788
- * (Optional) The instance type of worker node. Specify one type for single AZ Cluster, three types for MultiAZ Cluster.
814
+ * The instance type of worker node. Specify one type for single AZ Cluster, three types for MultiAZ Cluster.
789
815
  *
790
816
  * @deprecated Field 'worker_instance_types' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'instance_types' to replace it
791
817
  */
792
818
  workerInstanceTypes?: pulumi.Input<pulumi.Input<string>[]>;
793
819
  /**
794
- * (Deprecated from version 1.177.0)List of cluster worker nodes.
820
+ * List of cluster worker nodes. See `workerNodes` below.
795
821
  *
796
822
  * @deprecated Field 'worker_nodes' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes.
797
823
  */
798
824
  workerNodes?: pulumi.Input<pulumi.Input<inputs.cs.KubernetesWorkerNode>[]>;
799
825
  /**
800
- * (Optional) The worker node number of the kubernetes cluster. Default to 3. It is limited up to 50 and if you want to enlarge it, please apply white list or contact with us.
826
+ * The worker node number of the kubernetes cluster. Default to 3. It is limited up to 50 and if you want to enlarge it, please apply white list or contact with us.
801
827
  *
802
828
  * @deprecated Field 'worker_number' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'desired_size' to replace it
803
829
  */
804
830
  workerNumber?: pulumi.Input<number>;
805
831
  /**
806
- * (Optional) Worker payment period. The unit is `Month`. Its valid value is one of {1, 2, 3, 6, 12, 24, 36, 48, 60}.
832
+ * Worker payment period. The unit is `Month`. Its valid value is one of {1, 2, 3, 6, 12, 24, 36, 48, 60}.
807
833
  *
808
834
  * @deprecated Field 'worker_period' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'period' to replace it
809
835
  */
810
836
  workerPeriod?: pulumi.Input<number>;
811
837
  /**
812
- * (Optional) Worker payment period unit, the valid value is `Month`.
838
+ * Worker payment period unit, the valid value is `Month`.
813
839
  *
814
840
  * @deprecated Field 'worker_period_unit' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'period_unit' to replace it
815
841
  */
@@ -819,7 +845,7 @@ export interface KubernetesState {
819
845
  */
820
846
  workerRamRoleName?: pulumi.Input<string>;
821
847
  /**
822
- * (Optional) The vswitches used by workers.
848
+ * The vswitches used by workers.
823
849
  *
824
850
  * @deprecated Field 'worker_vswitch_ids' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'vswitch_ids' to replace it
825
851
  */
@@ -830,15 +856,17 @@ export interface KubernetesState {
830
856
  */
831
857
  export interface KubernetesArgs {
832
858
  /**
833
- * The addon you want to install in cluster.
859
+ * The addon you want to install in cluster. See `addons` below.
834
860
  */
835
861
  addons?: pulumi.Input<pulumi.Input<inputs.cs.KubernetesAddon>[]>;
836
862
  /**
837
- * A list of API audiences for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm). Set this to `["https://kubernetes.default.svc"]` if you want to enable the Token Volume Projection feature (requires specifying `serviceAccountIssuer` as well. From cluster version 1.22+, Service Account Token Volume Projection will be enabled by default.
863
+ * A list of API audiences for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm). Set this to `["https://kubernetes.default.svc"]` if you want to enable the Token Volume Projection feature requires specifying `serviceAccountIssuer` as well. From cluster version 1.22+, Service Account Token Volume Projection will be enabled by default.
838
864
  */
839
865
  apiAudiences?: pulumi.Input<pulumi.Input<string>[]>;
840
866
  /**
841
867
  * The Zone where new kubernetes cluster will be located. If it is not be specified, the `vswitchIds` should be set, its value will be vswitch's zone.
868
+ *
869
+ * *Removed params*
842
870
  */
843
871
  availabilityZone?: pulumi.Input<string>;
844
872
  /**
@@ -858,7 +886,7 @@ export interface KubernetesArgs {
858
886
  */
859
887
  clusterDomain?: pulumi.Input<string>;
860
888
  /**
861
- * (Optional) Kubelet cpu policy. For Kubernetes 1.12.6 and later, its valid value is either `static` or `none`. Default to `none`.
889
+ * Kubelet cpu policy. For Kubernetes 1.12.6 and later, its valid value is either `static` or `none`. Default to `none`.
862
890
  *
863
891
  * @deprecated Field 'cpu_policy' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'cpu_policy' to replace it
864
892
  */
@@ -876,7 +904,7 @@ export interface KubernetesArgs {
876
904
  */
877
905
  enableSsh?: pulumi.Input<boolean>;
878
906
  /**
879
- * (Optional, Available in 1.88.0+) Exclude autoscaler nodes from `workerNodes`. Default to `false`.
907
+ * Exclude autoscaler nodes from `workerNodes`. Default to `false`.
880
908
  *
881
909
  * @deprecated Field 'exclude_autoscaler_nodes' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes.
882
910
  */
@@ -939,6 +967,8 @@ export interface KubernetesArgs {
939
967
  masterDiskSize?: pulumi.Input<number>;
940
968
  /**
941
969
  * Master node system disk auto snapshot policy.
970
+ *
971
+ * *Worker params*
942
972
  */
943
973
  masterDiskSnapshotPolicyId?: pulumi.Input<string>;
944
974
  /**
@@ -982,7 +1012,7 @@ export interface KubernetesArgs {
982
1012
  */
983
1013
  nodeNameMode?: pulumi.Input<string>;
984
1014
  /**
985
- * (Optional, ForceNew, Available in 1.103.2+) The service port range of nodes, valid values: `30000` to `65535`. Default to `30000-32767`.
1015
+ * The service port range of nodes, valid values: `30000` to `65535`. Default to `30000-32767`.
986
1016
  *
987
1017
  * @deprecated Field 'node_port_range' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes.
988
1018
  */
@@ -1041,16 +1071,18 @@ export interface KubernetesArgs {
1041
1071
  *
1042
1072
  * > **NOTE:** If you want to use `Terway` as CNI network plugin, You need to specific the `podVswitchIds` field and addons with `terway-eniip`.
1043
1073
  * If you want to use `Flannel` as CNI network plugin, You need to specific the `podCidr` field and addons with `flannel`.
1074
+ *
1075
+ * *Master params*
1044
1076
  */
1045
1077
  slbInternetEnabled?: pulumi.Input<boolean>;
1046
1078
  /**
1047
- * Default nil, A map of tags assigned to the kubernetes cluster and work nodes. Detailed below.
1079
+ * Default nil, A map of tags assigned to the kubernetes cluster and work nodes.
1048
1080
  */
1049
1081
  tags?: pulumi.Input<{
1050
1082
  [key: string]: any;
1051
1083
  }>;
1052
1084
  /**
1053
- * (Optional, Available in 1.103.2+) Taints ensure pods are not scheduled onto inappropriate nodes. One or more taints are applied to a node; this marks that the node should not accept any pods that do not tolerate the taints. For more information, see [Taints and Tolerations](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/). Detailed below.
1085
+ * Taints ensure pods are not scheduled onto inappropriate nodes. One or more taints are applied to a node; this marks that the node should not accept any pods that do not tolerate the taints. For more information, see [Taints and Tolerations](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/). See `taints` below.
1054
1086
  *
1055
1087
  * @deprecated Field 'taints' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'taints' to replace it
1056
1088
  */
@@ -1064,7 +1096,7 @@ export interface KubernetesArgs {
1064
1096
  */
1065
1097
  userCa?: pulumi.Input<string>;
1066
1098
  /**
1067
- * (Optional, Available in 1.81.0+) Custom data that can execute on nodes. For more information, see [Prepare user data](https://www.alibabacloud.com/help/doc-detail/49121.htm).
1099
+ * Custom data that can execute on nodes. For more information, see [Prepare user data](https://www.alibabacloud.com/help/doc-detail/49121.htm).
1068
1100
  *
1069
1101
  * @deprecated Field 'user_data' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'user_data' to replace it
1070
1102
  */
@@ -1074,13 +1106,13 @@ export interface KubernetesArgs {
1074
1106
  */
1075
1107
  version?: pulumi.Input<string>;
1076
1108
  /**
1077
- * (Optional) Enable worker payment auto-renew, defaults to false.
1109
+ * Enable worker payment auto-renew, defaults to false.
1078
1110
  *
1079
1111
  * @deprecated Field 'worker_auto_renew' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'auto_renew' to replace it
1080
1112
  */
1081
1113
  workerAutoRenew?: pulumi.Input<boolean>;
1082
1114
  /**
1083
- * (Optional) Worker payment auto-renew period, it can be one of {1, 2, 3, 6, 12}.
1115
+ * Worker payment auto-renew period, it can be one of {1, 2, 3, 6, 12}.
1084
1116
  *
1085
1117
  * @deprecated Field 'worker_auto_renew_period' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'auto_renew_period' to replace it
1086
1118
  */
@@ -1098,67 +1130,71 @@ export interface KubernetesArgs {
1098
1130
  */
1099
1131
  workerDataDiskSize?: pulumi.Input<number>;
1100
1132
  /**
1101
- * (Optional, Available in 1.91.0+) The data disk configurations of worker nodes, such as the disk type and disk size.
1133
+ * The data disk configurations of worker nodes, such as the disk type and disk size. See `workerDataDisks` below.
1102
1134
  *
1103
1135
  * @deprecated Field 'worker_data_disks' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'data_disks' to replace it
1104
1136
  */
1105
1137
  workerDataDisks?: pulumi.Input<pulumi.Input<inputs.cs.KubernetesWorkerDataDisk>[]>;
1106
1138
  /**
1107
- * (Optional) The system disk category of worker node. Its valid value are `cloud`, `cloudSsd`, `cloudEssd` and `cloudEfficiency`. Default to `cloudEfficiency`.
1139
+ * The system disk category of worker node. Its valid value are `cloud`, `cloudSsd`, `cloudEssd` and `cloudEfficiency`. Default to `cloudEfficiency`.
1108
1140
  *
1109
1141
  * @deprecated Field 'worker_disk_category' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'system_disk_category' to replace it
1110
1142
  */
1111
1143
  workerDiskCategory?: pulumi.Input<string>;
1112
1144
  /**
1113
- * (Optional, Available in 1.120.0+) Worker node system disk performance level, when `workerDiskCategory` values `cloudEssd`, the optional values are `PL0`, `PL1`, `PL2` or `PL3`, but the specific performance level is related to the disk capacity. For more information, see [Enhanced SSDs](https://www.alibabacloud.com/help/doc-detail/122389.htm). Default is `PL1`.
1145
+ * Worker node system disk performance level, when `workerDiskCategory` values `cloudEssd`, the optional values are `PL0`, `PL1`, `PL2` or `PL3`, but the specific performance level is related to the disk capacity. For more information, see [Enhanced SSDs](https://www.alibabacloud.com/help/doc-detail/122389.htm). Default is `PL1`.
1114
1146
  *
1115
1147
  * @deprecated Field 'worker_disk_performance_level' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'system_disk_performance_level' to replace it
1116
1148
  */
1117
1149
  workerDiskPerformanceLevel?: pulumi.Input<string>;
1118
1150
  /**
1119
- * (Optional) The system disk size of worker node. Its valid value range [40~500] in GB.
1151
+ * The system disk size of worker node. Its valid value range [40~500] in GB.
1120
1152
  *
1121
1153
  * @deprecated Field 'worker_disk_size' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'system_disk_size' to replace it
1122
1154
  */
1123
1155
  workerDiskSize?: pulumi.Input<number>;
1124
1156
  /**
1125
- * (Optional, Available in 1.120.0+) Worker node system disk auto snapshot policy.
1157
+ * Worker node system disk auto snapshot policy.
1158
+ *
1159
+ * *Computed params*
1160
+ *
1161
+ * You can set some file paths to save kubeConfig information, but this way is cumbersome. Since version 1.105.0, we've written it to tf state file. About its use,see export attribute certificate_authority. From version 1.187.0+, new DataSource `alicloud.cs.getClusterCredential` is recommended to manage cluster's kube_config.
1126
1162
  *
1127
1163
  * @deprecated Field 'worker_disk_snapshot_policy_id' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'system_disk_snapshot_policy_id' to replace it
1128
1164
  */
1129
1165
  workerDiskSnapshotPolicyId?: pulumi.Input<string>;
1130
1166
  /**
1131
- * (Optional, Force new resource) Worker payment type, its valid value is either or `PostPaid` or `PrePaid`. Defaults to `PostPaid`. If value is `PrePaid`, the files `workerPeriod`, `workerPeriodUnit`, `workerAutoRenew` and `workerAutoRenewPeriod` are required, default is `PostPaid`.
1167
+ * Worker payment type, its valid value is either or `PostPaid` or `PrePaid`. Defaults to `PostPaid`. If value is `PrePaid`, the files `workerPeriod`, `workerPeriodUnit`, `workerAutoRenew` and `workerAutoRenewPeriod` are required, default is `PostPaid`.
1132
1168
  *
1133
1169
  * @deprecated Field 'worker_instance_charge_type' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'instance_charge_type' to replace it
1134
1170
  */
1135
1171
  workerInstanceChargeType?: pulumi.Input<string>;
1136
1172
  /**
1137
- * (Optional) The instance type of worker node. Specify one type for single AZ Cluster, three types for MultiAZ Cluster.
1173
+ * The instance type of worker node. Specify one type for single AZ Cluster, three types for MultiAZ Cluster.
1138
1174
  *
1139
1175
  * @deprecated Field 'worker_instance_types' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'instance_types' to replace it
1140
1176
  */
1141
1177
  workerInstanceTypes?: pulumi.Input<pulumi.Input<string>[]>;
1142
1178
  /**
1143
- * (Optional) The worker node number of the kubernetes cluster. Default to 3. It is limited up to 50 and if you want to enlarge it, please apply white list or contact with us.
1179
+ * The worker node number of the kubernetes cluster. Default to 3. It is limited up to 50 and if you want to enlarge it, please apply white list or contact with us.
1144
1180
  *
1145
1181
  * @deprecated Field 'worker_number' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'desired_size' to replace it
1146
1182
  */
1147
1183
  workerNumber?: pulumi.Input<number>;
1148
1184
  /**
1149
- * (Optional) Worker payment period. The unit is `Month`. Its valid value is one of {1, 2, 3, 6, 12, 24, 36, 48, 60}.
1185
+ * Worker payment period. The unit is `Month`. Its valid value is one of {1, 2, 3, 6, 12, 24, 36, 48, 60}.
1150
1186
  *
1151
1187
  * @deprecated Field 'worker_period' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'period' to replace it
1152
1188
  */
1153
1189
  workerPeriod?: pulumi.Input<number>;
1154
1190
  /**
1155
- * (Optional) Worker payment period unit, the valid value is `Month`.
1191
+ * Worker payment period unit, the valid value is `Month`.
1156
1192
  *
1157
1193
  * @deprecated Field 'worker_period_unit' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'period_unit' to replace it
1158
1194
  */
1159
1195
  workerPeriodUnit?: pulumi.Input<string>;
1160
1196
  /**
1161
- * (Optional) The vswitches used by workers.
1197
+ * The vswitches used by workers.
1162
1198
  *
1163
1199
  * @deprecated Field 'worker_vswitch_ids' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'vswitch_ids' to replace it
1164
1200
  */
package/cs/kubernetes.js CHANGED
@@ -6,7 +6,9 @@ exports.Kubernetes = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
9
- * This resource will help you to manage a Kubernetes Cluster in Alibaba Cloud Kubernetes Service.
9
+ * This resource will help you to manage a Kubernetes Cluster in Alibaba Cloud Kubernetes Service, see [What is kubernetes](https://www.alibabacloud.com/help/en/ack/ack-managed-and-ack-dedicated/developer-reference/create-an-ask-cluster-1).
10
+ *
11
+ * > **NOTE:** Available since v1.9.0.
10
12
  *
11
13
  * > **NOTE:** Kubernetes cluster only supports VPC network and it can access internet while creating kubernetes cluster.
12
14
  * A Nat Gateway and configuring a SNAT for it can ensure one VPC network access internet. If there is no nat gateway in the