@pulumi/alicloud 3.44.0 → 3.44.2

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 (364) hide show
  1. package/adb/dbcluster.d.ts +3 -3
  2. package/adb/dbclusterLakeVersion.d.ts +71 -27
  3. package/adb/dbclusterLakeVersion.js +22 -22
  4. package/adb/dbclusterLakeVersion.js.map +1 -1
  5. package/adb/getResourceGroups.d.ts +4 -4
  6. package/adb/getResourceGroups.js +4 -4
  7. package/alb/acl.d.ts +1 -1
  8. package/alb/acl.js +1 -1
  9. package/alb/aclEntryAttachment.d.ts +2 -2
  10. package/alb/aclEntryAttachment.js +2 -2
  11. package/alb/ascript.d.ts +1 -1
  12. package/alb/ascript.js +1 -1
  13. package/alb/healthCheckTemplate.d.ts +1 -1
  14. package/alb/healthCheckTemplate.js +1 -1
  15. package/alb/listener.d.ts +1 -1
  16. package/alb/listener.js +1 -1
  17. package/alb/listenerAclAttachment.d.ts +1 -1
  18. package/alb/listenerAclAttachment.js +1 -1
  19. package/alb/listenerAdditionalCertificateAttachment.d.ts +1 -1
  20. package/alb/listenerAdditionalCertificateAttachment.js +1 -1
  21. package/alb/loadBalancer.d.ts +80 -42
  22. package/alb/loadBalancer.js +8 -5
  23. package/alb/loadBalancer.js.map +1 -1
  24. package/alb/loadBalancerCommonBandwidthPackageAttachment.d.ts +1 -1
  25. package/alb/loadBalancerCommonBandwidthPackageAttachment.js +1 -1
  26. package/alb/rule.d.ts +1 -1
  27. package/alb/rule.js +1 -1
  28. package/alb/securityPolicy.d.ts +1 -1
  29. package/alb/securityPolicy.js +1 -1
  30. package/alb/serverGroup.d.ts +1 -1
  31. package/alb/serverGroup.js +1 -1
  32. package/alikafka/consumerGroup.d.ts +1 -1
  33. package/alikafka/consumerGroup.js +1 -1
  34. package/alikafka/instanceAllowedIpAttachment.d.ts +1 -1
  35. package/alikafka/instanceAllowedIpAttachment.js +1 -1
  36. package/alikafka/saslAcl.d.ts +1 -1
  37. package/alikafka/saslAcl.js +1 -1
  38. package/alikafka/saslUser.d.ts +1 -1
  39. package/alikafka/saslUser.js +1 -1
  40. package/alikafka/topic.d.ts +1 -1
  41. package/alikafka/topic.js +1 -1
  42. package/apigateway/backend.d.ts +1 -1
  43. package/apigateway/backend.js +1 -1
  44. package/apigateway/plugin.d.ts +1 -1
  45. package/apigateway/plugin.js +1 -1
  46. package/arms/dispatchRule.d.ts +1 -1
  47. package/arms/dispatchRule.js +1 -1
  48. package/arms/integrationExporter.d.ts +1 -1
  49. package/arms/integrationExporter.js +1 -1
  50. package/arms/prometheus.d.ts +1 -1
  51. package/arms/prometheus.js +1 -1
  52. package/arms/remoteWrite.d.ts +1 -1
  53. package/arms/remoteWrite.js +1 -1
  54. package/bastionhost/user.d.ts +1 -1
  55. package/bastionhost/user.js +1 -1
  56. package/bss/getOpenApiProducts.d.ts +2 -2
  57. package/bss/getOpenApiProducts.js +2 -2
  58. package/cdn/fcTrigger.d.ts +4 -4
  59. package/cdn/fcTrigger.js +1 -1
  60. package/cen/childInstanceRouteEntryToAttachment.d.ts +1 -1
  61. package/cen/childInstanceRouteEntryToAttachment.js +1 -1
  62. package/cen/flowLog.d.ts +2 -2
  63. package/cen/flowLog.js +2 -2
  64. package/cen/getChildInstanceRouteEntryToAttachments.d.ts +2 -2
  65. package/cen/getChildInstanceRouteEntryToAttachments.js +2 -2
  66. package/cen/getTransitRouterMulticastDomainMembers.d.ts +8 -4
  67. package/cen/getTransitRouterMulticastDomainMembers.js +8 -4
  68. package/cen/getTransitRouterMulticastDomainMembers.js.map +1 -1
  69. package/cen/getTransitRouterMulticastDomainPeerMembers.d.ts +8 -4
  70. package/cen/getTransitRouterMulticastDomainPeerMembers.js +8 -4
  71. package/cen/getTransitRouterMulticastDomainPeerMembers.js.map +1 -1
  72. package/cen/getTransitRouterMulticastDomainSources.d.ts +10 -4
  73. package/cen/getTransitRouterMulticastDomainSources.js +4 -4
  74. package/cen/getTransitRouterMulticastDomainSources.js.map +1 -1
  75. package/cen/instance.d.ts +1 -1
  76. package/cen/instance.js +1 -1
  77. package/cen/instanceGrant.d.ts +1 -1
  78. package/cen/instanceGrant.js +1 -1
  79. package/cen/interRegionTrafficQosPolicy.d.ts +1 -1
  80. package/cen/interRegionTrafficQosPolicy.js +1 -1
  81. package/cen/interRegionTrafficQosQueue.d.ts +1 -1
  82. package/cen/interRegionTrafficQosQueue.js +1 -1
  83. package/cen/privateZone.d.ts +1 -1
  84. package/cen/privateZone.js +1 -1
  85. package/cen/routeMap.d.ts +1 -1
  86. package/cen/routeMap.js +1 -1
  87. package/cen/routeService.d.ts +1 -1
  88. package/cen/routeService.js +1 -1
  89. package/cen/trafficMarkingPolicy.d.ts +1 -1
  90. package/cen/trafficMarkingPolicy.js +1 -1
  91. package/cen/transitRouteTableAggregation.d.ts +1 -1
  92. package/cen/transitRouteTableAggregation.js +1 -1
  93. package/cen/transitRouter.d.ts +4 -4
  94. package/cen/transitRouter.js +1 -1
  95. package/cen/transitRouterMulticastDomain.d.ts +1 -1
  96. package/cen/transitRouterMulticastDomain.js +1 -1
  97. package/cen/transitRouterMulticastDomainAssociation.d.ts +1 -1
  98. package/cen/transitRouterMulticastDomainAssociation.js +1 -1
  99. package/cen/transitRouterMulticastDomainMember.d.ts +1 -1
  100. package/cen/transitRouterMulticastDomainMember.js +1 -1
  101. package/cen/transitRouterMulticastDomainPeerMember.d.ts +1 -1
  102. package/cen/transitRouterMulticastDomainPeerMember.js +1 -1
  103. package/cen/transitRouterMulticastDomainSource.d.ts +1 -1
  104. package/cen/transitRouterMulticastDomainSource.js +1 -1
  105. package/cen/transitRouterPeerAttachment.d.ts +1 -1
  106. package/cen/transitRouterPeerAttachment.js +1 -1
  107. package/cen/transitRouterRouteEntry.d.ts +1 -1
  108. package/cen/transitRouterRouteEntry.js +1 -1
  109. package/cen/transitRouterRouteTable.d.ts +1 -1
  110. package/cen/transitRouterRouteTable.js +1 -1
  111. package/cen/transitRouterRouteTableAssociation.d.ts +1 -1
  112. package/cen/transitRouterRouteTableAssociation.js +1 -1
  113. package/cen/transitRouterRouteTablePropagation.d.ts +1 -1
  114. package/cen/transitRouterRouteTablePropagation.js +1 -1
  115. package/cen/transitRouterVbrAttachment.d.ts +11 -20
  116. package/cen/transitRouterVbrAttachment.js +11 -20
  117. package/cen/transitRouterVbrAttachment.js.map +1 -1
  118. package/cen/transitRouterVpcAttachment.d.ts +1 -1
  119. package/cen/transitRouterVpcAttachment.js +1 -1
  120. package/cen/transitRouterVpnAttachment.d.ts +1 -1
  121. package/cen/transitRouterVpnAttachment.js +1 -1
  122. package/cen/vbrHealthCheck.d.ts +1 -1
  123. package/cen/vbrHealthCheck.js +1 -1
  124. package/cfg/delivery.d.ts +1 -1
  125. package/cfg/delivery.js +1 -1
  126. package/cloudfirewall/getAddressBooks.d.ts +45 -8
  127. package/cloudfirewall/getAddressBooks.js +34 -6
  128. package/cloudfirewall/getAddressBooks.js.map +1 -1
  129. package/cms/eventRule.d.ts +76 -4
  130. package/cms/eventRule.js +16 -4
  131. package/cms/eventRule.js.map +1 -1
  132. package/cs/getKubernetesAddons.d.ts +5 -38
  133. package/cs/getKubernetesAddons.js +4 -29
  134. package/cs/getKubernetesAddons.js.map +1 -1
  135. package/cs/managedKubernetes.d.ts +30 -3
  136. package/cs/managedKubernetes.js +27 -0
  137. package/cs/managedKubernetes.js.map +1 -1
  138. package/dbs/backupPlan.d.ts +2 -2
  139. package/dbs/backupPlan.js +2 -2
  140. package/dcdn/er.d.ts +1 -1
  141. package/dcdn/er.js +1 -1
  142. package/dcdn/getKvAccount.d.ts +4 -4
  143. package/dcdn/getKvAccount.js +4 -4
  144. package/dcdn/getWafRules.d.ts +4 -4
  145. package/dcdn/getWafRules.js +4 -4
  146. package/dcdn/kv.d.ts +1 -1
  147. package/dcdn/kv.js +1 -1
  148. package/dcdn/kvNamespace.d.ts +1 -1
  149. package/dcdn/kvNamespace.js +1 -1
  150. package/dcdn/wafDomain.d.ts +1 -1
  151. package/dcdn/wafDomain.js +1 -1
  152. package/dcdn/wafPolicy.d.ts +1 -1
  153. package/dcdn/wafPolicy.js +1 -1
  154. package/dcdn/wafPolicyDomainAttachment.d.ts +1 -1
  155. package/dcdn/wafPolicyDomainAttachment.js +1 -1
  156. package/dcdn/wafRule.d.ts +1 -1
  157. package/dcdn/wafRule.js +1 -1
  158. package/ddos/ddosCooInstance.d.ts +3 -3
  159. package/directmail/tag.d.ts +1 -1
  160. package/directmail/tag.js +1 -1
  161. package/dms/enterpriseLogicDatabase.d.ts +1 -1
  162. package/dms/enterpriseLogicDatabase.js +1 -1
  163. package/dms/enterpriseProxy.d.ts +1 -1
  164. package/dms/enterpriseProxy.js +1 -1
  165. package/dms/enterpriseProxyAccess.d.ts +1 -1
  166. package/dms/enterpriseProxyAccess.js +1 -1
  167. package/dms/getEnterpriseDatabases.d.ts +8 -4
  168. package/dms/getEnterpriseDatabases.js +8 -4
  169. package/dms/getEnterpriseDatabases.js.map +1 -1
  170. package/dms/getEnterpriseLogicDatabases.d.ts +4 -4
  171. package/dms/getEnterpriseLogicDatabases.js +4 -4
  172. package/dms/getEnterpriseProxyAccesses.d.ts +4 -4
  173. package/dms/getEnterpriseProxyAccesses.js +4 -4
  174. package/dns/alidnsRecord.d.ts +4 -4
  175. package/dns/alidnsRecord.js +1 -1
  176. package/dns/ddosCooInstance.d.ts +3 -3
  177. package/dns/getAlidnsRecords.d.ts +2 -2
  178. package/dns/getRecords.d.ts +6 -2
  179. package/dns/getRecords.js +4 -0
  180. package/dns/getRecords.js.map +1 -1
  181. package/dns/monitorConfig.d.ts +4 -4
  182. package/dns/monitorConfig.js +1 -1
  183. package/dns/record.d.ts +3 -3
  184. package/drds/index.d.ts +3 -0
  185. package/drds/index.js +6 -1
  186. package/drds/index.js.map +1 -1
  187. package/drds/polardbxInstance.d.ts +239 -0
  188. package/drds/polardbxInstance.js +146 -0
  189. package/drds/polardbxInstance.js.map +1 -0
  190. package/eais/instance.d.ts +1 -1
  191. package/eais/instance.js +1 -1
  192. package/ecs/autoProvisioningGroup.d.ts +3 -11
  193. package/ecs/autoProvisioningGroup.js +0 -8
  194. package/ecs/autoProvisioningGroup.js.map +1 -1
  195. package/ecs/disk.d.ts +1 -1
  196. package/ecs/ecsDisk.d.ts +4 -4
  197. package/ecs/ecsLaunchTemplate.d.ts +10 -10
  198. package/ecs/ecsLaunchTemplate.js +1 -1
  199. package/eds/adConnectorDirectory.d.ts +1 -1
  200. package/eds/adConnectorDirectory.js +1 -1
  201. package/eds/adConnectorOfficeSite.d.ts +1 -1
  202. package/eds/adConnectorOfficeSite.js +1 -1
  203. package/eds/bundle.d.ts +1 -1
  204. package/eds/bundle.js +1 -1
  205. package/eds/command.d.ts +1 -1
  206. package/eds/command.js +1 -1
  207. package/eds/customProperty.d.ts +1 -1
  208. package/eds/customProperty.js +1 -1
  209. package/eds/desktop.d.ts +1 -1
  210. package/eds/desktop.js +1 -1
  211. package/eds/ecdPolicyGroup.d.ts +1 -1
  212. package/eds/ecdPolicyGroup.js +1 -1
  213. package/eds/image.d.ts +1 -1
  214. package/eds/image.js +1 -1
  215. package/eds/networkPackage.d.ts +1 -1
  216. package/eds/networkPackage.js +1 -1
  217. package/eds/ramDirectory.d.ts +1 -1
  218. package/eds/ramDirectory.js +1 -1
  219. package/eds/simpleOfficeSite.d.ts +1 -1
  220. package/eds/simpleOfficeSite.js +1 -1
  221. package/eds/snapshot.d.ts +1 -1
  222. package/eds/snapshot.js +1 -1
  223. package/eds/user.d.ts +1 -1
  224. package/eds/user.js +1 -1
  225. package/ehpc/cluster.d.ts +1 -1
  226. package/ehpc/cluster.js +1 -1
  227. package/ess/alarm.d.ts +3 -3
  228. package/expressconnect/getRouterInterfaces.d.ts +2 -2
  229. package/expressconnect/getRouterInterfaces.js +2 -2
  230. package/fc/alias.d.ts +1 -1
  231. package/fc/alias.js +1 -1
  232. package/fc/customDomain.d.ts +1 -1
  233. package/fc/customDomain.js +1 -1
  234. package/fc/function.d.ts +1 -1
  235. package/fc/function.js +1 -1
  236. package/fc/functionAsyncInvokeConfig.d.ts +1 -1
  237. package/fc/functionAsyncInvokeConfig.js +1 -1
  238. package/fc/trigger.d.ts +1 -1
  239. package/fc/trigger.js +1 -1
  240. package/gpdb/instance.d.ts +4 -4
  241. package/gpdb/instance.js +1 -1
  242. package/hbase/instance.d.ts +3 -3
  243. package/hbr/hanaBackupClient.d.ts +1 -1
  244. package/hbr/hanaBackupClient.js +1 -1
  245. package/hbr/hanaBackupPlan.d.ts +1 -1
  246. package/hbr/hanaBackupPlan.js +1 -1
  247. package/hbr/hanaInstance.d.ts +1 -1
  248. package/hbr/hanaInstance.js +1 -1
  249. package/kms/ciphertext.d.ts +3 -3
  250. package/kms/getCiphertext.d.ts +6 -2
  251. package/kms/getCiphertext.js +4 -0
  252. package/kms/getCiphertext.js.map +1 -1
  253. package/kvstore/getInstances.d.ts +3 -3
  254. package/log/audit.d.ts +81 -95
  255. package/log/audit.js +81 -95
  256. package/log/audit.js.map +1 -1
  257. package/marketplace/getProducts.d.ts +2 -2
  258. package/mse/cluster.d.ts +3 -3
  259. package/mse/engineNamespace.d.ts +1 -1
  260. package/mse/engineNamespace.js +1 -1
  261. package/nas/accessGroup.d.ts +1 -1
  262. package/nas/accessGroup.js +1 -1
  263. package/nas/getService.d.ts +2 -2
  264. package/oos/defaultPatchBaseline.d.ts +1 -1
  265. package/oos/defaultPatchBaseline.js +1 -1
  266. package/package.json +1 -1
  267. package/polardb/cluster.d.ts +109 -67
  268. package/polardb/cluster.js +10 -0
  269. package/polardb/cluster.js.map +1 -1
  270. package/polardb/globalDatabaseNetwork.d.ts +1 -1
  271. package/polardb/globalDatabaseNetwork.js +1 -1
  272. package/polardb/parameterGroup.d.ts +1 -1
  273. package/polardb/parameterGroup.js +1 -1
  274. package/pvtz/zoneAttachment.d.ts +34 -13
  275. package/pvtz/zoneAttachment.js +31 -10
  276. package/pvtz/zoneAttachment.js.map +1 -1
  277. package/quotas/quotaAlarm.d.ts +1 -1
  278. package/quotas/quotaAlarm.js +1 -1
  279. package/quotas/templateQuota.d.ts +1 -1
  280. package/quotas/templateQuota.js +1 -1
  281. package/ram/getUsers.d.ts +92 -10
  282. package/ram/getUsers.js +92 -10
  283. package/ram/getUsers.js.map +1 -1
  284. package/rds/ddrInstance.d.ts +3 -3
  285. package/rds/instance.d.ts +9 -12
  286. package/rds/instance.js.map +1 -1
  287. package/rds/rdsCloneDbInstance.d.ts +16 -16
  288. package/rds/rdsCloneDbInstance.js +1 -1
  289. package/rds/rdsUpgradeDbInstance.d.ts +18 -18
  290. package/redis/tairInstance.d.ts +50 -8
  291. package/redis/tairInstance.js +6 -0
  292. package/redis/tairInstance.js.map +1 -1
  293. package/resourcemanager/controlPolicyAttachment.d.ts +1 -1
  294. package/resourcemanager/controlPolicyAttachment.js +1 -1
  295. package/scdn/domain.d.ts +2 -0
  296. package/scdn/domain.js +2 -0
  297. package/scdn/domain.js.map +1 -1
  298. package/scdn/domainConfig.d.ts +2 -0
  299. package/scdn/domainConfig.js +2 -0
  300. package/scdn/domainConfig.js.map +1 -1
  301. package/servicecatalog/getEndUserProducts.d.ts +4 -4
  302. package/servicecatalog/getEndUserProducts.js +4 -4
  303. package/servicecatalog/getLaunchOptions.d.ts +17 -5
  304. package/servicecatalog/getLaunchOptions.js +8 -4
  305. package/servicecatalog/getLaunchOptions.js.map +1 -1
  306. package/servicecatalog/getPortfolios.d.ts +2 -2
  307. package/servicecatalog/getPortfolios.js +2 -2
  308. package/servicecatalog/getProductAsEndUsers.d.ts +2 -2
  309. package/servicecatalog/getProductAsEndUsers.js +2 -2
  310. package/servicecatalog/getProductVersions.d.ts +2 -2
  311. package/servicecatalog/getProductVersions.js +2 -2
  312. package/servicecatalog/getProvisionedProducts.d.ts +35 -5
  313. package/servicecatalog/getProvisionedProducts.js +8 -4
  314. package/servicecatalog/getProvisionedProducts.js.map +1 -1
  315. package/servicecatalog/portfolio.d.ts +1 -1
  316. package/servicecatalog/portfolio.js +1 -1
  317. package/servicecatalog/provisionedProduct.d.ts +1 -1
  318. package/servicecatalog/provisionedProduct.js +1 -1
  319. package/servicemesh/serviceMesh.d.ts +101 -42
  320. package/servicemesh/serviceMesh.js +9 -1
  321. package/servicemesh/serviceMesh.js.map +1 -1
  322. package/slb/applicationLoadBalancer.d.ts +3 -3
  323. package/slb/loadBalancer.d.ts +82 -25
  324. package/slb/loadBalancer.js +10 -4
  325. package/slb/loadBalancer.js.map +1 -1
  326. package/sms/shortUrl.d.ts +1 -1
  327. package/sms/shortUrl.js +1 -1
  328. package/threatdetection/antiBruteForceRule.d.ts +3 -3
  329. package/threatdetection/antiBruteForceRule.js +3 -3
  330. package/threatdetection/backupPolicy.d.ts +7 -7
  331. package/threatdetection/backupPolicy.js +1 -1
  332. package/threatdetection/baselineStrategy.d.ts +2 -2
  333. package/threatdetection/baselineStrategy.js +2 -2
  334. package/threatdetection/getAntiBruteForceRules.d.ts +4 -4
  335. package/threatdetection/getAntiBruteForceRules.js +4 -4
  336. package/threatdetection/getAssets.d.ts +4 -4
  337. package/threatdetection/getAssets.js +4 -4
  338. package/threatdetection/getBaselineStrategies.d.ts +2 -2
  339. package/threatdetection/getBaselineStrategies.js +2 -2
  340. package/threatdetection/getHoneyPots.d.ts +16 -6
  341. package/threatdetection/getHoneyPots.js +10 -6
  342. package/threatdetection/getHoneyPots.js.map +1 -1
  343. package/threatdetection/getHoneypotImages.d.ts +2 -2
  344. package/threatdetection/getHoneypotImages.js +2 -2
  345. package/threatdetection/getHoneypotNodes.d.ts +2 -2
  346. package/threatdetection/getHoneypotNodes.js +2 -2
  347. package/threatdetection/getHoneypotProbes.d.ts +2 -2
  348. package/threatdetection/getHoneypotProbes.js +2 -2
  349. package/threatdetection/getLogShipper.d.ts +2 -2
  350. package/threatdetection/getLogShipper.js +2 -2
  351. package/threatdetection/getWebLockConfigs.d.ts +4 -4
  352. package/threatdetection/getWebLockConfigs.js +4 -4
  353. package/threatdetection/honeypotProbe.d.ts +1 -1
  354. package/threatdetection/honeypotProbe.js +1 -1
  355. package/threatdetection/vulWhitelist.d.ts +7 -7
  356. package/threatdetection/vulWhitelist.js +1 -1
  357. package/threatdetection/webLockConfig.d.ts +1 -1
  358. package/threatdetection/webLockConfig.js +1 -1
  359. package/types/input.d.ts +402 -259
  360. package/types/output.d.ts +457 -261
  361. package/vpc/getRouterInterfaces.d.ts +4 -4
  362. package/vpc/getRouterInterfaces.js +4 -4
  363. package/wafv3/domain.d.ts +1 -1
  364. package/wafv3/domain.js +1 -1
@@ -10,9 +10,15 @@ import * as outputs from "../types/output";
10
10
  * import * as pulumi from "@pulumi/pulumi";
11
11
  * import * as alicloud from "@pulumi/alicloud";
12
12
  *
13
- * const zone = new alicloud.pvtz.Zone("zone", {});
14
- * const first = new alicloud.vpc.Network("first", {cidrBlock: "172.16.0.0/12"});
15
- * const second = new alicloud.vpc.Network("second", {cidrBlock: "172.16.0.0/16"});
13
+ * const zone = new alicloud.pvtz.Zone("zone", {zoneName: "foo.example.com"});
14
+ * const first = new alicloud.vpc.Network("first", {
15
+ * vpcName: "the-first-vpc",
16
+ * cidrBlock: "172.16.0.0/12",
17
+ * });
18
+ * const second = new alicloud.vpc.Network("second", {
19
+ * vpcName: "the-second-vpc",
20
+ * cidrBlock: "172.16.0.0/16",
21
+ * });
16
22
  * const zone_attachment = new alicloud.pvtz.ZoneAttachment("zone-attachment", {
17
23
  * zoneId: zone.id,
18
24
  * vpcIds: [
@@ -28,9 +34,15 @@ import * as outputs from "../types/output";
28
34
  * import * as pulumi from "@pulumi/pulumi";
29
35
  * import * as alicloud from "@pulumi/alicloud";
30
36
  *
31
- * const zone = new alicloud.pvtz.Zone("zone", {});
32
- * const first = new alicloud.vpc.Network("first", {cidrBlock: "172.16.0.0/12"});
33
- * const second = new alicloud.vpc.Network("second", {cidrBlock: "172.16.0.0/16"});
37
+ * const zone = new alicloud.pvtz.Zone("zone", {zoneName: "foo.example.com"});
38
+ * const first = new alicloud.vpc.Network("first", {
39
+ * vpcName: "the-first-vpc",
40
+ * cidrBlock: "172.16.0.0/12",
41
+ * });
42
+ * const second = new alicloud.vpc.Network("second", {
43
+ * vpcName: "the-second-vpc",
44
+ * cidrBlock: "172.16.0.0/16",
45
+ * });
34
46
  * const zone_attachment = new alicloud.pvtz.ZoneAttachment("zone-attachment", {
35
47
  * zoneId: zone.id,
36
48
  * vpcs: [
@@ -50,11 +62,20 @@ import * as outputs from "../types/output";
50
62
  * import * as pulumi from "@pulumi/pulumi";
51
63
  * import * as alicloud from "@pulumi/alicloud";
52
64
  *
53
- * const zone = new alicloud.pvtz.Zone("zone", {});
54
- * const first = new alicloud.vpc.Network("first", {cidrBlock: "172.16.0.0/12"});
55
- * const second = new alicloud.vpc.Network("second", {cidrBlock: "172.16.0.0/16"});
65
+ * const zone = new alicloud.pvtz.Zone("zone", {zoneName: "foo.example.com"});
66
+ * const first = new alicloud.vpc.Network("first", {
67
+ * vpcName: "the-first-vpc",
68
+ * cidrBlock: "172.16.0.0/12",
69
+ * });
70
+ * const second = new alicloud.vpc.Network("second", {
71
+ * vpcName: "the-second-vpc",
72
+ * cidrBlock: "172.16.0.0/16",
73
+ * });
56
74
  * const eu = new alicloud.Provider("eu", {region: "eu-central-1"});
57
- * const third = new alicloud.vpc.Network("third", {cidrBlock: "172.16.0.0/16"}, {
75
+ * const third = new alicloud.vpc.Network("third", {
76
+ * vpcName: "the-third-vpc",
77
+ * cidrBlock: "172.16.0.0/16",
78
+ * }, {
58
79
  * provider: alicloud.eu,
59
80
  * });
60
81
  * const zone_attachment = new alicloud.pvtz.ZoneAttachment("zone-attachment", {
@@ -111,7 +132,7 @@ export declare class ZoneAttachment extends pulumi.CustomResource {
111
132
  */
112
133
  readonly vpcIds: pulumi.Output<string[]>;
113
134
  /**
114
- * The List of the VPC:
135
+ * See `vpcs` below.Recommend to use `vpcs`.
115
136
  */
116
137
  readonly vpcs: pulumi.Output<outputs.pvtz.ZoneAttachmentVpc[]>;
117
138
  /**
@@ -144,7 +165,7 @@ export interface ZoneAttachmentState {
144
165
  */
145
166
  vpcIds?: pulumi.Input<pulumi.Input<string>[]>;
146
167
  /**
147
- * The List of the VPC:
168
+ * See `vpcs` below.Recommend to use `vpcs`.
148
169
  */
149
170
  vpcs?: pulumi.Input<pulumi.Input<inputs.pvtz.ZoneAttachmentVpc>[]>;
150
171
  /**
@@ -169,7 +190,7 @@ export interface ZoneAttachmentArgs {
169
190
  */
170
191
  vpcIds?: pulumi.Input<pulumi.Input<string>[]>;
171
192
  /**
172
- * The List of the VPC:
193
+ * See `vpcs` below.Recommend to use `vpcs`.
173
194
  */
174
195
  vpcs?: pulumi.Input<pulumi.Input<inputs.pvtz.ZoneAttachmentVpc>[]>;
175
196
  /**
@@ -14,9 +14,15 @@ const utilities = require("../utilities");
14
14
  * import * as pulumi from "@pulumi/pulumi";
15
15
  * import * as alicloud from "@pulumi/alicloud";
16
16
  *
17
- * const zone = new alicloud.pvtz.Zone("zone", {});
18
- * const first = new alicloud.vpc.Network("first", {cidrBlock: "172.16.0.0/12"});
19
- * const second = new alicloud.vpc.Network("second", {cidrBlock: "172.16.0.0/16"});
17
+ * const zone = new alicloud.pvtz.Zone("zone", {zoneName: "foo.example.com"});
18
+ * const first = new alicloud.vpc.Network("first", {
19
+ * vpcName: "the-first-vpc",
20
+ * cidrBlock: "172.16.0.0/12",
21
+ * });
22
+ * const second = new alicloud.vpc.Network("second", {
23
+ * vpcName: "the-second-vpc",
24
+ * cidrBlock: "172.16.0.0/16",
25
+ * });
20
26
  * const zone_attachment = new alicloud.pvtz.ZoneAttachment("zone-attachment", {
21
27
  * zoneId: zone.id,
22
28
  * vpcIds: [
@@ -32,9 +38,15 @@ const utilities = require("../utilities");
32
38
  * import * as pulumi from "@pulumi/pulumi";
33
39
  * import * as alicloud from "@pulumi/alicloud";
34
40
  *
35
- * const zone = new alicloud.pvtz.Zone("zone", {});
36
- * const first = new alicloud.vpc.Network("first", {cidrBlock: "172.16.0.0/12"});
37
- * const second = new alicloud.vpc.Network("second", {cidrBlock: "172.16.0.0/16"});
41
+ * const zone = new alicloud.pvtz.Zone("zone", {zoneName: "foo.example.com"});
42
+ * const first = new alicloud.vpc.Network("first", {
43
+ * vpcName: "the-first-vpc",
44
+ * cidrBlock: "172.16.0.0/12",
45
+ * });
46
+ * const second = new alicloud.vpc.Network("second", {
47
+ * vpcName: "the-second-vpc",
48
+ * cidrBlock: "172.16.0.0/16",
49
+ * });
38
50
  * const zone_attachment = new alicloud.pvtz.ZoneAttachment("zone-attachment", {
39
51
  * zoneId: zone.id,
40
52
  * vpcs: [
@@ -54,11 +66,20 @@ const utilities = require("../utilities");
54
66
  * import * as pulumi from "@pulumi/pulumi";
55
67
  * import * as alicloud from "@pulumi/alicloud";
56
68
  *
57
- * const zone = new alicloud.pvtz.Zone("zone", {});
58
- * const first = new alicloud.vpc.Network("first", {cidrBlock: "172.16.0.0/12"});
59
- * const second = new alicloud.vpc.Network("second", {cidrBlock: "172.16.0.0/16"});
69
+ * const zone = new alicloud.pvtz.Zone("zone", {zoneName: "foo.example.com"});
70
+ * const first = new alicloud.vpc.Network("first", {
71
+ * vpcName: "the-first-vpc",
72
+ * cidrBlock: "172.16.0.0/12",
73
+ * });
74
+ * const second = new alicloud.vpc.Network("second", {
75
+ * vpcName: "the-second-vpc",
76
+ * cidrBlock: "172.16.0.0/16",
77
+ * });
60
78
  * const eu = new alicloud.Provider("eu", {region: "eu-central-1"});
61
- * const third = new alicloud.vpc.Network("third", {cidrBlock: "172.16.0.0/16"}, {
79
+ * const third = new alicloud.vpc.Network("third", {
80
+ * vpcName: "the-third-vpc",
81
+ * cidrBlock: "172.16.0.0/16",
82
+ * }, {
62
83
  * provider: alicloud.eu,
63
84
  * });
64
85
  * const zone_attachment = new alicloud.pvtz.ZoneAttachment("zone-attachment", {
@@ -1 +1 @@
1
- {"version":3,"file":"zoneAttachment.js","sourceRoot":"","sources":["../../pvtz/zoneAttachment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yC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Provides a Quotas Quota Alarm resource.
6
6
  *
7
- * For information about Quotas Quota Alarm and how to use it, see [What is Quota Alarm](https://www.alibabacloud.com/help/en/quota-center/latest/api-doc-quotas-2020-05-10-api-doc-createquotaalarm).
7
+ * For information about Quotas Quota Alarm and how to use it, see [What is Quota Alarm](https://www.alibabacloud.com/help/en/quota-center/developer-reference/api-quotas-2020-05-10-createquotaalarm).
8
8
  *
9
9
  * > **NOTE:** Available since v1.116.0.
10
10
  *
@@ -8,7 +8,7 @@ const utilities = require("../utilities");
8
8
  /**
9
9
  * Provides a Quotas Quota Alarm resource.
10
10
  *
11
- * For information about Quotas Quota Alarm and how to use it, see [What is Quota Alarm](https://www.alibabacloud.com/help/en/quota-center/latest/api-doc-quotas-2020-05-10-api-doc-createquotaalarm).
11
+ * For information about Quotas Quota Alarm and how to use it, see [What is Quota Alarm](https://www.alibabacloud.com/help/en/quota-center/developer-reference/api-quotas-2020-05-10-createquotaalarm).
12
12
  *
13
13
  * > **NOTE:** Available since v1.116.0.
14
14
  *
@@ -4,7 +4,7 @@ import * as outputs from "../types/output";
4
4
  /**
5
5
  * Provides a Quotas Template Quota resource.
6
6
  *
7
- * For information about Quotas Template Quota and how to use it, see [What is Template Quota](https://www.alibabacloud.com/help/en/quota-center/latest/api-doc-quotas-2020-05-10-api-doc-createtemplatequotaitem).
7
+ * For information about Quotas Template Quota and how to use it, see [What is Template Quota](https://www.alibabacloud.com/help/en/quota-center/developer-reference/api-quotas-2020-05-10-createtemplatequotaitem).
8
8
  *
9
9
  * > **NOTE:** Available since v1.206.0.
10
10
  *
@@ -8,7 +8,7 @@ const utilities = require("../utilities");
8
8
  /**
9
9
  * Provides a Quotas Template Quota resource.
10
10
  *
11
- * For information about Quotas Template Quota and how to use it, see [What is Template Quota](https://www.alibabacloud.com/help/en/quota-center/latest/api-doc-quotas-2020-05-10-api-doc-createtemplatequotaitem).
11
+ * For information about Quotas Template Quota and how to use it, see [What is Template Quota](https://www.alibabacloud.com/help/en/quota-center/developer-reference/api-quotas-2020-05-10-createtemplatequotaitem).
12
12
  *
13
13
  * > **NOTE:** Available since v1.206.0.
14
14
  *
package/ram/getUsers.d.ts CHANGED
@@ -11,14 +11,55 @@ import * as outputs from "../types/output";
11
11
  * import * as pulumi from "@pulumi/pulumi";
12
12
  * import * as alicloud from "@pulumi/alicloud";
13
13
  *
14
- * const usersDs = alicloud.ram.getUsers({
14
+ * const defaultGroup = new alicloud.ram.Group("defaultGroup", {
15
+ * comments: "group comments",
16
+ * force: true,
17
+ * });
18
+ * const defaultUser = new alicloud.ram.User("defaultUser", {
19
+ * displayName: "displayname",
20
+ * mobile: "86-18888888888",
21
+ * email: "hello.uuu@aaa.com",
22
+ * comments: "yoyoyo",
23
+ * });
24
+ * const defaultGroupMembership = new alicloud.ram.GroupMembership("defaultGroupMembership", {
25
+ * groupName: defaultGroup.name,
26
+ * userNames: [defaultUser.name],
27
+ * });
28
+ * const defaultPolicy = new alicloud.ram.Policy("defaultPolicy", {
29
+ * policyName: "ram-policy-example",
30
+ * policyDocument: ` {
31
+ * "Statement": [
32
+ * {
33
+ * "Action": [
34
+ * "oss:ListObjects",
35
+ * "oss:ListObjects"
36
+ * ],
37
+ * "Effect": "Deny",
38
+ * "Resource": [
39
+ * "acs:oss:*:*:mybucket",
40
+ * "acs:oss:*:*:mybucket/*"
41
+ * ]
42
+ * }
43
+ * ],
44
+ * "Version": "1"
45
+ * }
46
+ * `,
47
+ * description: "this is a policy example",
48
+ * force: true,
49
+ * });
50
+ * const defaultUserPolicyAttachment = new alicloud.ram.UserPolicyAttachment("defaultUserPolicyAttachment", {
51
+ * policyName: defaultPolicy.policyName,
52
+ * userName: defaultUser.name,
53
+ * policyType: defaultPolicy.type,
54
+ * });
55
+ * const usersDs = alicloud.ram.getUsersOutput({
15
56
  * outputFile: "users.txt",
16
- * groupName: "group1",
17
- * policyName: "AliyunACSDefaultAccess",
57
+ * groupName: defaultGroup.name,
58
+ * policyName: defaultPolicy.policyName,
18
59
  * policyType: "Custom",
19
- * nameRegex: "^user",
60
+ * nameRegex: defaultUser.name,
20
61
  * });
21
- * export const firstUserId = usersDs.then(usersDs => usersDs.users?.[0]?.id);
62
+ * export const firstUserId = usersDs.apply(usersDs => usersDs.users?.[0]?.id);
22
63
  * ```
23
64
  */
24
65
  export declare function getUsers(args?: GetUsersArgs, opts?: pulumi.InvokeOptions): Promise<GetUsersResult>;
@@ -88,14 +129,55 @@ export interface GetUsersResult {
88
129
  * import * as pulumi from "@pulumi/pulumi";
89
130
  * import * as alicloud from "@pulumi/alicloud";
90
131
  *
91
- * const usersDs = alicloud.ram.getUsers({
132
+ * const defaultGroup = new alicloud.ram.Group("defaultGroup", {
133
+ * comments: "group comments",
134
+ * force: true,
135
+ * });
136
+ * const defaultUser = new alicloud.ram.User("defaultUser", {
137
+ * displayName: "displayname",
138
+ * mobile: "86-18888888888",
139
+ * email: "hello.uuu@aaa.com",
140
+ * comments: "yoyoyo",
141
+ * });
142
+ * const defaultGroupMembership = new alicloud.ram.GroupMembership("defaultGroupMembership", {
143
+ * groupName: defaultGroup.name,
144
+ * userNames: [defaultUser.name],
145
+ * });
146
+ * const defaultPolicy = new alicloud.ram.Policy("defaultPolicy", {
147
+ * policyName: "ram-policy-example",
148
+ * policyDocument: ` {
149
+ * "Statement": [
150
+ * {
151
+ * "Action": [
152
+ * "oss:ListObjects",
153
+ * "oss:ListObjects"
154
+ * ],
155
+ * "Effect": "Deny",
156
+ * "Resource": [
157
+ * "acs:oss:*:*:mybucket",
158
+ * "acs:oss:*:*:mybucket/*"
159
+ * ]
160
+ * }
161
+ * ],
162
+ * "Version": "1"
163
+ * }
164
+ * `,
165
+ * description: "this is a policy example",
166
+ * force: true,
167
+ * });
168
+ * const defaultUserPolicyAttachment = new alicloud.ram.UserPolicyAttachment("defaultUserPolicyAttachment", {
169
+ * policyName: defaultPolicy.policyName,
170
+ * userName: defaultUser.name,
171
+ * policyType: defaultPolicy.type,
172
+ * });
173
+ * const usersDs = alicloud.ram.getUsersOutput({
92
174
  * outputFile: "users.txt",
93
- * groupName: "group1",
94
- * policyName: "AliyunACSDefaultAccess",
175
+ * groupName: defaultGroup.name,
176
+ * policyName: defaultPolicy.policyName,
95
177
  * policyType: "Custom",
96
- * nameRegex: "^user",
178
+ * nameRegex: defaultUser.name,
97
179
  * });
98
- * export const firstUserId = usersDs.then(usersDs => usersDs.users?.[0]?.id);
180
+ * export const firstUserId = usersDs.apply(usersDs => usersDs.users?.[0]?.id);
99
181
  * ```
100
182
  */
101
183
  export declare function getUsersOutput(args?: GetUsersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetUsersResult>;
package/ram/getUsers.js CHANGED
@@ -16,14 +16,55 @@ const utilities = require("../utilities");
16
16
  * import * as pulumi from "@pulumi/pulumi";
17
17
  * import * as alicloud from "@pulumi/alicloud";
18
18
  *
19
- * const usersDs = alicloud.ram.getUsers({
19
+ * const defaultGroup = new alicloud.ram.Group("defaultGroup", {
20
+ * comments: "group comments",
21
+ * force: true,
22
+ * });
23
+ * const defaultUser = new alicloud.ram.User("defaultUser", {
24
+ * displayName: "displayname",
25
+ * mobile: "86-18888888888",
26
+ * email: "hello.uuu@aaa.com",
27
+ * comments: "yoyoyo",
28
+ * });
29
+ * const defaultGroupMembership = new alicloud.ram.GroupMembership("defaultGroupMembership", {
30
+ * groupName: defaultGroup.name,
31
+ * userNames: [defaultUser.name],
32
+ * });
33
+ * const defaultPolicy = new alicloud.ram.Policy("defaultPolicy", {
34
+ * policyName: "ram-policy-example",
35
+ * policyDocument: ` {
36
+ * "Statement": [
37
+ * {
38
+ * "Action": [
39
+ * "oss:ListObjects",
40
+ * "oss:ListObjects"
41
+ * ],
42
+ * "Effect": "Deny",
43
+ * "Resource": [
44
+ * "acs:oss:*:*:mybucket",
45
+ * "acs:oss:*:*:mybucket/*"
46
+ * ]
47
+ * }
48
+ * ],
49
+ * "Version": "1"
50
+ * }
51
+ * `,
52
+ * description: "this is a policy example",
53
+ * force: true,
54
+ * });
55
+ * const defaultUserPolicyAttachment = new alicloud.ram.UserPolicyAttachment("defaultUserPolicyAttachment", {
56
+ * policyName: defaultPolicy.policyName,
57
+ * userName: defaultUser.name,
58
+ * policyType: defaultPolicy.type,
59
+ * });
60
+ * const usersDs = alicloud.ram.getUsersOutput({
20
61
  * outputFile: "users.txt",
21
- * groupName: "group1",
22
- * policyName: "AliyunACSDefaultAccess",
62
+ * groupName: defaultGroup.name,
63
+ * policyName: defaultPolicy.policyName,
23
64
  * policyType: "Custom",
24
- * nameRegex: "^user",
65
+ * nameRegex: defaultUser.name,
25
66
  * });
26
- * export const firstUserId = usersDs.then(usersDs => usersDs.users?.[0]?.id);
67
+ * export const firstUserId = usersDs.apply(usersDs => usersDs.users?.[0]?.id);
27
68
  * ```
28
69
  */
29
70
  function getUsers(args, opts) {
@@ -50,14 +91,55 @@ exports.getUsers = getUsers;
50
91
  * import * as pulumi from "@pulumi/pulumi";
51
92
  * import * as alicloud from "@pulumi/alicloud";
52
93
  *
53
- * const usersDs = alicloud.ram.getUsers({
94
+ * const defaultGroup = new alicloud.ram.Group("defaultGroup", {
95
+ * comments: "group comments",
96
+ * force: true,
97
+ * });
98
+ * const defaultUser = new alicloud.ram.User("defaultUser", {
99
+ * displayName: "displayname",
100
+ * mobile: "86-18888888888",
101
+ * email: "hello.uuu@aaa.com",
102
+ * comments: "yoyoyo",
103
+ * });
104
+ * const defaultGroupMembership = new alicloud.ram.GroupMembership("defaultGroupMembership", {
105
+ * groupName: defaultGroup.name,
106
+ * userNames: [defaultUser.name],
107
+ * });
108
+ * const defaultPolicy = new alicloud.ram.Policy("defaultPolicy", {
109
+ * policyName: "ram-policy-example",
110
+ * policyDocument: ` {
111
+ * "Statement": [
112
+ * {
113
+ * "Action": [
114
+ * "oss:ListObjects",
115
+ * "oss:ListObjects"
116
+ * ],
117
+ * "Effect": "Deny",
118
+ * "Resource": [
119
+ * "acs:oss:*:*:mybucket",
120
+ * "acs:oss:*:*:mybucket/*"
121
+ * ]
122
+ * }
123
+ * ],
124
+ * "Version": "1"
125
+ * }
126
+ * `,
127
+ * description: "this is a policy example",
128
+ * force: true,
129
+ * });
130
+ * const defaultUserPolicyAttachment = new alicloud.ram.UserPolicyAttachment("defaultUserPolicyAttachment", {
131
+ * policyName: defaultPolicy.policyName,
132
+ * userName: defaultUser.name,
133
+ * policyType: defaultPolicy.type,
134
+ * });
135
+ * const usersDs = alicloud.ram.getUsersOutput({
54
136
  * outputFile: "users.txt",
55
- * groupName: "group1",
56
- * policyName: "AliyunACSDefaultAccess",
137
+ * groupName: defaultGroup.name,
138
+ * policyName: defaultPolicy.policyName,
57
139
  * policyType: "Custom",
58
- * nameRegex: "^user",
140
+ * nameRegex: defaultUser.name,
59
141
  * });
60
- * export const firstUserId = usersDs.then(usersDs => usersDs.users?.[0]?.id);
142
+ * export const firstUserId = usersDs.apply(usersDs => usersDs.users?.[0]?.id);
61
143
  * ```
62
144
  */
63
145
  function getUsersOutput(args, opts) {
@@ -1 +1 @@
1
- {"version":3,"file":"getUsers.js","sourceRoot":"","sources":["../../ram/getUsers.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,QAAQ,CAAC,IAAmB,EAAE,IAA2B;IACrE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gCAAgC,EAAE;QAC3D,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,YAAY,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,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,wCAEC"}
@@ -121,7 +121,7 @@ export declare class DdrInstance extends pulumi.CustomResource {
121
121
  * - true: delete protect.
122
122
  * - false: no delete protect.
123
123
  *
124
- * > **NOTE:** `deletionProtection` is valid only when attribute `paymentType` is set to `PayAsYouGo`, supported engine type: **MySQL**, **PostgresSQL**, **MariaDB**, **MSSQL**.
124
+ * > **NOTE:** `deletionProtection` is valid only when attribute `paymentType` is set to `PayAsYouGo`, supported engine type: **MySQL**, **PostgreSQL**, **MariaDB**, **MSSQL**.
125
125
  */
126
126
  readonly deletionProtection: pulumi.Output<boolean>;
127
127
  /**
@@ -518,7 +518,7 @@ export interface DdrInstanceState {
518
518
  * - true: delete protect.
519
519
  * - false: no delete protect.
520
520
  *
521
- * > **NOTE:** `deletionProtection` is valid only when attribute `paymentType` is set to `PayAsYouGo`, supported engine type: **MySQL**, **PostgresSQL**, **MariaDB**, **MSSQL**.
521
+ * > **NOTE:** `deletionProtection` is valid only when attribute `paymentType` is set to `PayAsYouGo`, supported engine type: **MySQL**, **PostgreSQL**, **MariaDB**, **MSSQL**.
522
522
  */
523
523
  deletionProtection?: pulumi.Input<boolean>;
524
524
  /**
@@ -899,7 +899,7 @@ export interface DdrInstanceArgs {
899
899
  * - true: delete protect.
900
900
  * - false: no delete protect.
901
901
  *
902
- * > **NOTE:** `deletionProtection` is valid only when attribute `paymentType` is set to `PayAsYouGo`, supported engine type: **MySQL**, **PostgresSQL**, **MariaDB**, **MSSQL**.
902
+ * > **NOTE:** `deletionProtection` is valid only when attribute `paymentType` is set to `PayAsYouGo`, supported engine type: **MySQL**, **PostgreSQL**, **MariaDB**, **MSSQL**.
903
903
  */
904
904
  deletionProtection?: pulumi.Input<boolean>;
905
905
  /**
package/rds/instance.d.ts CHANGED
@@ -78,6 +78,8 @@ export declare class Instance extends pulumi.CustomResource {
78
78
  * * **serverless_basic**: RDS Serverless Basic Edition. This edition is available only for instances that run MySQL and PostgreSQL. (Available in 1.200.0+)
79
79
  * * **serverless_standard**: RDS Serverless Basic Edition. This edition is available only for instances that run MySQL and PostgreSQL. (Available in 1.204.0+)
80
80
  * * **serverless_ha**: RDS Serverless High-availability Edition for SQL Server. (Available in 1.204.0+)
81
+ *
82
+ * > **NOTE:** `zoneIdSlaveA` and `zoneIdSlaveB` can specify slave zone ids when creating the high-availability or enterprise edition instances. Meanwhile, `vswitchId` needs to pass in the corresponding vswitch id to the slave zone by order (If the `vswitchId` is not specified, the classic network version will be created). For example, `zoneId` = "zone-a" and `zoneIdSlaveA` = "zone-c", `zoneIdSlaveB` = "zone-b", then the `vswitchId` must be "vsw-zone-a,vsw-zone-c,vsw-zone-b". Of course, you can also choose automatic allocation , for example, `zoneId` = "zone-a" and `zoneIdSlaveA` = "Auto",`zoneIdSlaveB` = "Auto", then the `vswitchId` must be "vsw-zone-a,Auto,Auto". The list contains up to 2 slave zone ids , separated by commas.
81
83
  */
82
84
  readonly category: pulumi.Output<string>;
83
85
  /**
@@ -159,7 +161,7 @@ export declare class Instance extends pulumi.CustomResource {
159
161
  * - true: delete protect.
160
162
  * - false: no delete protect.
161
163
  *
162
- * > **NOTE:** `deletionProtection` is valid only when attribute `instanceChargeType` is set to `Postpaid` or `Serverless`, supported engine type: **MySQL**, **PostgresSQL**, **MariaDB**, **MSSQL**.
164
+ * > **NOTE:** `deletionProtection` is valid only when attribute `instanceChargeType` is set to `Postpaid` or `Serverless`, supported engine type: `MySQL`, `PostgreSQL`, `MariaDB`, `MSSQL`.
163
165
  */
164
166
  readonly deletionProtection: pulumi.Output<boolean | undefined>;
165
167
  /**
@@ -426,9 +428,6 @@ export declare class Instance extends pulumi.CustomResource {
426
428
  * The availability check method of the instance. Valid values:
427
429
  * - **SHORT**: Alibaba Cloud uses short-lived connections to check the availability of the instance.
428
430
  * - **LONG**: Alibaba Cloud uses persistent connections to check the availability of the instance.
429
- *
430
- *
431
- * > **NOTE:** `zoneIdSlaveA` and `zoneIdSlaveB` can specify slave zone ids when creating the high-availability or enterprise edition instances. Meanwhile, `vswitchId` needs to pass in the corresponding vswitch id to the slave zone by order (If the `vswitchId` is not specified, the classic network version will be created). For example, `zoneId` = "zone-a" and `zoneIdSlaveA` = "zone-c", `zoneIdSlaveB` = "zone-b", then the `vswitchId` must be "vsw-zone-a,vsw-zone-c,vsw-zone-b". Of course, you can also choose automatic allocation , for example, `zoneId` = "zone-a" and `zoneIdSlaveA` = "Auto",`zoneIdSlaveB` = "Auto", then the `vswitchId` must be "vsw-zone-a,Auto,Auto". The list contains up to 2 slave zone ids , separated by commas.
432
431
  */
433
432
  readonly tcpConnectionType: pulumi.Output<string>;
434
433
  /**
@@ -549,6 +548,8 @@ export interface InstanceState {
549
548
  * * **serverless_basic**: RDS Serverless Basic Edition. This edition is available only for instances that run MySQL and PostgreSQL. (Available in 1.200.0+)
550
549
  * * **serverless_standard**: RDS Serverless Basic Edition. This edition is available only for instances that run MySQL and PostgreSQL. (Available in 1.204.0+)
551
550
  * * **serverless_ha**: RDS Serverless High-availability Edition for SQL Server. (Available in 1.204.0+)
551
+ *
552
+ * > **NOTE:** `zoneIdSlaveA` and `zoneIdSlaveB` can specify slave zone ids when creating the high-availability or enterprise edition instances. Meanwhile, `vswitchId` needs to pass in the corresponding vswitch id to the slave zone by order (If the `vswitchId` is not specified, the classic network version will be created). For example, `zoneId` = "zone-a" and `zoneIdSlaveA` = "zone-c", `zoneIdSlaveB` = "zone-b", then the `vswitchId` must be "vsw-zone-a,vsw-zone-c,vsw-zone-b". Of course, you can also choose automatic allocation , for example, `zoneId` = "zone-a" and `zoneIdSlaveA` = "Auto",`zoneIdSlaveB` = "Auto", then the `vswitchId` must be "vsw-zone-a,Auto,Auto". The list contains up to 2 slave zone ids , separated by commas.
552
553
  */
553
554
  category?: pulumi.Input<string>;
554
555
  /**
@@ -630,7 +631,7 @@ export interface InstanceState {
630
631
  * - true: delete protect.
631
632
  * - false: no delete protect.
632
633
  *
633
- * > **NOTE:** `deletionProtection` is valid only when attribute `instanceChargeType` is set to `Postpaid` or `Serverless`, supported engine type: **MySQL**, **PostgresSQL**, **MariaDB**, **MSSQL**.
634
+ * > **NOTE:** `deletionProtection` is valid only when attribute `instanceChargeType` is set to `Postpaid` or `Serverless`, supported engine type: `MySQL`, `PostgreSQL`, `MariaDB`, `MSSQL`.
634
635
  */
635
636
  deletionProtection?: pulumi.Input<boolean>;
636
637
  /**
@@ -897,9 +898,6 @@ export interface InstanceState {
897
898
  * The availability check method of the instance. Valid values:
898
899
  * - **SHORT**: Alibaba Cloud uses short-lived connections to check the availability of the instance.
899
900
  * - **LONG**: Alibaba Cloud uses persistent connections to check the availability of the instance.
900
- *
901
- *
902
- * > **NOTE:** `zoneIdSlaveA` and `zoneIdSlaveB` can specify slave zone ids when creating the high-availability or enterprise edition instances. Meanwhile, `vswitchId` needs to pass in the corresponding vswitch id to the slave zone by order (If the `vswitchId` is not specified, the classic network version will be created). For example, `zoneId` = "zone-a" and `zoneIdSlaveA` = "zone-c", `zoneIdSlaveB` = "zone-b", then the `vswitchId` must be "vsw-zone-a,vsw-zone-c,vsw-zone-b". Of course, you can also choose automatic allocation , for example, `zoneId` = "zone-a" and `zoneIdSlaveA` = "Auto",`zoneIdSlaveB` = "Auto", then the `vswitchId` must be "vsw-zone-a,Auto,Auto". The list contains up to 2 slave zone ids , separated by commas.
903
901
  */
904
902
  tcpConnectionType?: pulumi.Input<string>;
905
903
  /**
@@ -1012,6 +1010,8 @@ export interface InstanceArgs {
1012
1010
  * * **serverless_basic**: RDS Serverless Basic Edition. This edition is available only for instances that run MySQL and PostgreSQL. (Available in 1.200.0+)
1013
1011
  * * **serverless_standard**: RDS Serverless Basic Edition. This edition is available only for instances that run MySQL and PostgreSQL. (Available in 1.204.0+)
1014
1012
  * * **serverless_ha**: RDS Serverless High-availability Edition for SQL Server. (Available in 1.204.0+)
1013
+ *
1014
+ * > **NOTE:** `zoneIdSlaveA` and `zoneIdSlaveB` can specify slave zone ids when creating the high-availability or enterprise edition instances. Meanwhile, `vswitchId` needs to pass in the corresponding vswitch id to the slave zone by order (If the `vswitchId` is not specified, the classic network version will be created). For example, `zoneId` = "zone-a" and `zoneIdSlaveA` = "zone-c", `zoneIdSlaveB` = "zone-b", then the `vswitchId` must be "vsw-zone-a,vsw-zone-c,vsw-zone-b". Of course, you can also choose automatic allocation , for example, `zoneId` = "zone-a" and `zoneIdSlaveA` = "Auto",`zoneIdSlaveB` = "Auto", then the `vswitchId` must be "vsw-zone-a,Auto,Auto". The list contains up to 2 slave zone ids , separated by commas.
1015
1015
  */
1016
1016
  category?: pulumi.Input<string>;
1017
1017
  /**
@@ -1081,7 +1081,7 @@ export interface InstanceArgs {
1081
1081
  * - true: delete protect.
1082
1082
  * - false: no delete protect.
1083
1083
  *
1084
- * > **NOTE:** `deletionProtection` is valid only when attribute `instanceChargeType` is set to `Postpaid` or `Serverless`, supported engine type: **MySQL**, **PostgresSQL**, **MariaDB**, **MSSQL**.
1084
+ * > **NOTE:** `deletionProtection` is valid only when attribute `instanceChargeType` is set to `Postpaid` or `Serverless`, supported engine type: `MySQL`, `PostgreSQL`, `MariaDB`, `MSSQL`.
1085
1085
  */
1086
1086
  deletionProtection?: pulumi.Input<boolean>;
1087
1087
  /**
@@ -1340,9 +1340,6 @@ export interface InstanceArgs {
1340
1340
  * The availability check method of the instance. Valid values:
1341
1341
  * - **SHORT**: Alibaba Cloud uses short-lived connections to check the availability of the instance.
1342
1342
  * - **LONG**: Alibaba Cloud uses persistent connections to check the availability of the instance.
1343
- *
1344
- *
1345
- * > **NOTE:** `zoneIdSlaveA` and `zoneIdSlaveB` can specify slave zone ids when creating the high-availability or enterprise edition instances. Meanwhile, `vswitchId` needs to pass in the corresponding vswitch id to the slave zone by order (If the `vswitchId` is not specified, the classic network version will be created). For example, `zoneId` = "zone-a" and `zoneIdSlaveA` = "zone-c", `zoneIdSlaveB` = "zone-b", then the `vswitchId` must be "vsw-zone-a,vsw-zone-c,vsw-zone-b". Of course, you can also choose automatic allocation , for example, `zoneId` = "zone-a" and `zoneIdSlaveA` = "Auto",`zoneIdSlaveB` = "Auto", then the `vswitchId` must be "vsw-zone-a,Auto,Auto". The list contains up to 2 slave zone ids , separated by commas.
1346
1343
  */
1347
1344
  tcpConnectionType?: pulumi.Input<string>;
1348
1345
  /**