@volcengine/pulumi 0.0.27 → 0.0.29

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 (311) hide show
  1. package/alb/listener.d.ts +80 -22
  2. package/alb/listener.js +57 -19
  3. package/alb/listener.js.map +1 -1
  4. package/clb/clb.d.ts +8 -8
  5. package/clb/clb.js +0 -3
  6. package/clb/clb.js.map +1 -1
  7. package/cloud_firewall/cfwAddressBook.d.ts +128 -0
  8. package/cloud_firewall/cfwAddressBook.js +93 -0
  9. package/cloud_firewall/cfwAddressBook.js.map +1 -0
  10. package/cloud_firewall/cfwAddressBooks.d.ts +122 -0
  11. package/cloud_firewall/cfwAddressBooks.js +53 -0
  12. package/cloud_firewall/cfwAddressBooks.js.map +1 -0
  13. package/cloud_firewall/cfwControlPolicies.d.ts +176 -0
  14. package/cloud_firewall/cfwControlPolicies.js +56 -0
  15. package/cloud_firewall/cfwControlPolicies.js.map +1 -0
  16. package/cloud_firewall/cfwControlPolicy.d.ts +384 -0
  17. package/cloud_firewall/cfwControlPolicy.js +170 -0
  18. package/cloud_firewall/cfwControlPolicy.js.map +1 -0
  19. package/cloud_firewall/cfwControlPolicyPriority.d.ts +135 -0
  20. package/cloud_firewall/cfwControlPolicyPriority.js +116 -0
  21. package/cloud_firewall/cfwControlPolicyPriority.js.map +1 -0
  22. package/cloud_firewall/cfwDnsControlPolicies.d.ts +160 -0
  23. package/cloud_firewall/cfwDnsControlPolicies.js +80 -0
  24. package/cloud_firewall/cfwDnsControlPolicies.js.map +1 -0
  25. package/cloud_firewall/cfwDnsControlPolicy.d.ts +173 -0
  26. package/cloud_firewall/cfwDnsControlPolicy.js +107 -0
  27. package/cloud_firewall/cfwDnsControlPolicy.js.map +1 -0
  28. package/cloud_firewall/cfwNatFirewallControlPolicies.d.ts +200 -0
  29. package/cloud_firewall/cfwNatFirewallControlPolicies.js +58 -0
  30. package/cloud_firewall/cfwNatFirewallControlPolicies.js.map +1 -0
  31. package/cloud_firewall/cfwNatFirewallControlPolicy.d.ts +406 -0
  32. package/cloud_firewall/cfwNatFirewallControlPolicy.js +179 -0
  33. package/cloud_firewall/cfwNatFirewallControlPolicy.js.map +1 -0
  34. package/cloud_firewall/cfwNatFirewallControlPolicyPriority.d.ts +150 -0
  35. package/cloud_firewall/cfwNatFirewallControlPolicyPriority.js +124 -0
  36. package/cloud_firewall/cfwNatFirewallControlPolicyPriority.js.map +1 -0
  37. package/cloud_firewall/cfwVpcFirewallAclRule.d.ts +392 -0
  38. package/cloud_firewall/cfwVpcFirewallAclRule.js +172 -0
  39. package/cloud_firewall/cfwVpcFirewallAclRule.js.map +1 -0
  40. package/cloud_firewall/cfwVpcFirewallAclRulePriority.d.ts +135 -0
  41. package/cloud_firewall/cfwVpcFirewallAclRulePriority.js +116 -0
  42. package/cloud_firewall/cfwVpcFirewallAclRulePriority.js.map +1 -0
  43. package/cloud_firewall/cfwVpcFirewallAclRules.d.ts +182 -0
  44. package/cloud_firewall/cfwVpcFirewallAclRules.js +62 -0
  45. package/cloud_firewall/cfwVpcFirewallAclRules.js.map +1 -0
  46. package/cloud_firewall/index.d.ts +39 -0
  47. package/cloud_firewall/index.js +72 -0
  48. package/cloud_firewall/index.js.map +1 -0
  49. package/cloud_monitor/rule.d.ts +29 -11
  50. package/cloud_monitor/rule.js +10 -2
  51. package/cloud_monitor/rule.js.map +1 -1
  52. package/config/vars.d.ts +4 -0
  53. package/config/vars.js +6 -0
  54. package/config/vars.js.map +1 -1
  55. package/cr/endpoint.d.ts +10 -0
  56. package/cr/endpoint.js +2 -0
  57. package/cr/endpoint.js.map +1 -1
  58. package/cr/endpointAclPolicy.d.ts +116 -0
  59. package/cr/endpointAclPolicy.js +99 -0
  60. package/cr/endpointAclPolicy.js.map +1 -0
  61. package/cr/index.d.ts +3 -0
  62. package/cr/index.js +6 -1
  63. package/cr/index.js.map +1 -1
  64. package/cr/namespace.d.ts +20 -2
  65. package/cr/namespace.js +10 -2
  66. package/cr/namespace.js.map +1 -1
  67. package/cr/registries.d.ts +12 -0
  68. package/cr/registries.js +1 -0
  69. package/cr/registries.js.map +1 -1
  70. package/cr/registry.d.ts +21 -0
  71. package/cr/registry.js +5 -0
  72. package/cr/registry.js.map +1 -1
  73. package/dns/backup.d.ts +83 -0
  74. package/dns/backup.js +75 -0
  75. package/dns/backup.js.map +1 -0
  76. package/dns/backupSchedule.d.ts +90 -0
  77. package/dns/backupSchedule.js +81 -0
  78. package/dns/backupSchedule.js.map +1 -0
  79. package/dns/backups.d.ts +84 -0
  80. package/dns/backups.js +47 -0
  81. package/dns/backups.js.map +1 -0
  82. package/dns/index.d.ts +24 -0
  83. package/dns/index.js +49 -0
  84. package/dns/index.js.map +1 -0
  85. package/dns/record.d.ts +220 -0
  86. package/dns/record.js +115 -0
  87. package/dns/record.js.map +1 -0
  88. package/dns/recordSets.d.ts +122 -0
  89. package/dns/recordSets.js +58 -0
  90. package/dns/recordSets.js.map +1 -0
  91. package/dns/records.d.ts +150 -0
  92. package/dns/records.js +53 -0
  93. package/dns/records.js.map +1 -0
  94. package/dns/zone.d.ts +225 -0
  95. package/dns/zone.js +113 -0
  96. package/dns/zone.js.map +1 -0
  97. package/dns/zones.d.ts +169 -0
  98. package/dns/zones.js +61 -0
  99. package/dns/zones.js.map +1 -0
  100. package/ebs/volume.d.ts +27 -15
  101. package/ebs/volume.js +2 -0
  102. package/ebs/volume.js.map +1 -1
  103. package/ecs/instance.d.ts +30 -9
  104. package/ecs/instance.js +4 -5
  105. package/ecs/instance.js.map +1 -1
  106. package/escloud/instance.d.ts +1 -1
  107. package/escloud/instance.js +1 -1
  108. package/escloud/instances.d.ts +2 -2
  109. package/escloud/instances.js +2 -2
  110. package/escloud/regions.d.ts +2 -2
  111. package/escloud/regions.js +2 -2
  112. package/escloud/zones.d.ts +2 -2
  113. package/escloud/zones.js +2 -2
  114. package/escloud_v2/escloudInstanceV2.d.ts +496 -0
  115. package/escloud_v2/escloudInstanceV2.js +243 -0
  116. package/escloud_v2/escloudInstanceV2.js.map +1 -0
  117. package/escloud_v2/escloudInstancesV2.d.ts +53 -0
  118. package/escloud_v2/escloudInstancesV2.js +28 -0
  119. package/escloud_v2/escloudInstancesV2.js.map +1 -0
  120. package/escloud_v2/escloudIpWhiteList.d.ts +188 -0
  121. package/escloud_v2/escloudIpWhiteList.js +171 -0
  122. package/escloud_v2/escloudIpWhiteList.js.map +1 -0
  123. package/escloud_v2/index.d.ts +9 -0
  124. package/escloud_v2/index.js +30 -0
  125. package/escloud_v2/index.js.map +1 -0
  126. package/index.d.ts +6 -1
  127. package/index.js +11 -1
  128. package/index.js.map +1 -1
  129. package/mongodb/account.d.ts +188 -0
  130. package/mongodb/account.js +142 -0
  131. package/mongodb/account.js.map +1 -0
  132. package/mongodb/accounts.d.ts +16 -4
  133. package/mongodb/accounts.js +1 -0
  134. package/mongodb/accounts.js.map +1 -1
  135. package/mongodb/endpoint.d.ts +3 -3
  136. package/mongodb/index.d.ts +3 -0
  137. package/mongodb/index.js +6 -1
  138. package/mongodb/index.js.map +1 -1
  139. package/mongodb/instance.d.ts +117 -46
  140. package/mongodb/instance.js +40 -7
  141. package/mongodb/instance.js.map +1 -1
  142. package/mongodb/instanceParameter.d.ts +3 -3
  143. package/mongodb/instances.d.ts +12 -0
  144. package/mongodb/instances.js +1 -0
  145. package/mongodb/instances.js.map +1 -1
  146. package/mongodb/mongoAllowList.d.ts +43 -4
  147. package/mongodb/mongoAllowList.js +10 -1
  148. package/mongodb/mongoAllowList.js.map +1 -1
  149. package/mongodb/mongoAllowLists.d.ts +12 -0
  150. package/mongodb/mongoAllowLists.js +1 -0
  151. package/mongodb/mongoAllowLists.js.map +1 -1
  152. package/nas/mountPoints.d.ts +6 -3
  153. package/nas/mountPoints.js +1 -1
  154. package/nas/mountPoints.js.map +1 -1
  155. package/package.json +1 -1
  156. package/privatelink/vpcEndpoint.d.ts +20 -0
  157. package/privatelink/vpcEndpoint.js +4 -0
  158. package/privatelink/vpcEndpoint.js.map +1 -1
  159. package/provider.d.ts +8 -0
  160. package/provider.js +1 -0
  161. package/provider.js.map +1 -1
  162. package/rabbitmq/index.d.ts +15 -0
  163. package/rabbitmq/index.js +38 -0
  164. package/rabbitmq/index.js.map +1 -0
  165. package/rabbitmq/instance.d.ts +323 -0
  166. package/rabbitmq/instance.js +172 -0
  167. package/rabbitmq/instance.js.map +1 -0
  168. package/rabbitmq/instancePlugin.d.ts +173 -0
  169. package/rabbitmq/instancePlugin.js +128 -0
  170. package/rabbitmq/instancePlugin.js.map +1 -0
  171. package/rabbitmq/instancePlugins.d.ts +154 -0
  172. package/rabbitmq/instancePlugins.js +117 -0
  173. package/rabbitmq/instancePlugins.js.map +1 -0
  174. package/rabbitmq/instances.d.ts +251 -0
  175. package/rabbitmq/instances.js +126 -0
  176. package/rabbitmq/instances.js.map +1 -0
  177. package/rabbitmq/publicAddress.d.ts +124 -0
  178. package/rabbitmq/publicAddress.js +121 -0
  179. package/rabbitmq/publicAddress.js.map +1 -0
  180. package/rds_mysql/account.d.ts +15 -5
  181. package/rds_mysql/account.js +15 -5
  182. package/rds_mysql/account.js.map +1 -1
  183. package/rds_mysql/allowlist.d.ts +77 -8
  184. package/rds_mysql/allowlist.js +22 -7
  185. package/rds_mysql/allowlist.js.map +1 -1
  186. package/rds_mysql/backup.d.ts +128 -0
  187. package/rds_mysql/backup.js +85 -0
  188. package/rds_mysql/backup.js.map +1 -0
  189. package/rds_mysql/backupPolicy.d.ts +380 -0
  190. package/rds_mysql/backupPolicy.js +125 -0
  191. package/rds_mysql/backupPolicy.js.map +1 -0
  192. package/rds_mysql/backups.d.ts +178 -0
  193. package/rds_mysql/backups.js +68 -0
  194. package/rds_mysql/backups.js.map +1 -0
  195. package/rds_mysql/endpoint.d.ts +254 -0
  196. package/rds_mysql/endpoint.js +124 -0
  197. package/rds_mysql/endpoint.js.map +1 -0
  198. package/rds_mysql/endpointPublicAddress.d.ts +108 -0
  199. package/rds_mysql/endpointPublicAddress.js +88 -0
  200. package/rds_mysql/endpointPublicAddress.js.map +1 -0
  201. package/rds_mysql/endpoints.d.ts +75 -0
  202. package/rds_mysql/endpoints.js +46 -0
  203. package/rds_mysql/endpoints.js.map +1 -0
  204. package/rds_mysql/index.d.ts +33 -0
  205. package/rds_mysql/index.js +44 -1
  206. package/rds_mysql/index.js.map +1 -1
  207. package/rds_mysql/instance.d.ts +107 -5
  208. package/rds_mysql/instance.js +21 -3
  209. package/rds_mysql/instance.js.map +1 -1
  210. package/rds_mysql/instanceSpecs.d.ts +122 -0
  211. package/rds_mysql/instanceSpecs.js +52 -0
  212. package/rds_mysql/instanceSpecs.js.map +1 -0
  213. package/rds_mysql/parameterTemplate.d.ts +132 -0
  214. package/rds_mysql/parameterTemplate.js +97 -0
  215. package/rds_mysql/parameterTemplate.js.map +1 -0
  216. package/rds_mysql/parameterTemplates.d.ts +124 -0
  217. package/rds_mysql/parameterTemplates.js +52 -0
  218. package/rds_mysql/parameterTemplates.js.map +1 -0
  219. package/rds_mysql/regions.d.ts +62 -0
  220. package/rds_mysql/regions.js +42 -0
  221. package/rds_mysql/regions.js.map +1 -0
  222. package/rds_mysql/zones.d.ts +62 -0
  223. package/rds_mysql/zones.js +42 -0
  224. package/rds_mysql/zones.js.map +1 -0
  225. package/redis/instance.d.ts +4 -4
  226. package/redis/instance.js +4 -4
  227. package/rocketmq/accessKeys.d.ts +90 -0
  228. package/rocketmq/accessKeys.js +47 -0
  229. package/rocketmq/accessKeys.js.map +1 -0
  230. package/rocketmq/allowLists.d.ts +62 -0
  231. package/rocketmq/allowLists.js +42 -0
  232. package/rocketmq/allowLists.js.map +1 -0
  233. package/rocketmq/groups.d.ts +99 -0
  234. package/rocketmq/groups.js +48 -0
  235. package/rocketmq/groups.js.map +1 -0
  236. package/rocketmq/index.d.ts +36 -0
  237. package/rocketmq/index.js +67 -0
  238. package/rocketmq/index.js.map +1 -0
  239. package/rocketmq/instances.d.ts +193 -0
  240. package/rocketmq/instances.js +57 -0
  241. package/rocketmq/instances.js.map +1 -0
  242. package/rocketmq/rocketMQAccessKey.d.ts +176 -0
  243. package/rocketmq/rocketMQAccessKey.js +130 -0
  244. package/rocketmq/rocketMQAccessKey.js.map +1 -0
  245. package/rocketmq/rocketMQAllowList.d.ts +132 -0
  246. package/rocketmq/rocketMQAllowList.js +93 -0
  247. package/rocketmq/rocketMQAllowList.js.map +1 -0
  248. package/rocketmq/rocketMQAllowListAssociate.d.ts +121 -0
  249. package/rocketmq/rocketMQAllowListAssociate.js +118 -0
  250. package/rocketmq/rocketMQAllowListAssociate.js.map +1 -0
  251. package/rocketmq/rocketMQGroup.d.ts +190 -0
  252. package/rocketmq/rocketMQGroup.js +129 -0
  253. package/rocketmq/rocketMQGroup.js.map +1 -0
  254. package/rocketmq/rocketMQInstance.d.ts +351 -0
  255. package/rocketmq/rocketMQInstance.js +171 -0
  256. package/rocketmq/rocketMQInstance.js.map +1 -0
  257. package/rocketmq/rocketMQPublicAddress.d.ts +133 -0
  258. package/rocketmq/rocketMQPublicAddress.js +120 -0
  259. package/rocketmq/rocketMQPublicAddress.js.map +1 -0
  260. package/rocketmq/rocketMQTopic.d.ts +191 -0
  261. package/rocketmq/rocketMQTopic.js +140 -0
  262. package/rocketmq/rocketMQTopic.js.map +1 -0
  263. package/rocketmq/topics.d.ts +121 -0
  264. package/rocketmq/topics.js +49 -0
  265. package/rocketmq/topics.js.map +1 -0
  266. package/tos/bucket.d.ts +27 -1
  267. package/tos/bucket.js +7 -1
  268. package/tos/bucket.js.map +1 -1
  269. package/tos/bucketInventories.d.ts +156 -0
  270. package/tos/bucketInventories.js +108 -0
  271. package/tos/bucketInventories.js.map +1 -0
  272. package/tos/bucketInventory.d.ts +180 -0
  273. package/tos/bucketInventory.js +127 -0
  274. package/tos/bucketInventory.js.map +1 -0
  275. package/tos/bucketObject.d.ts +11 -3
  276. package/tos/bucketObject.js +2 -0
  277. package/tos/bucketObject.js.map +1 -1
  278. package/tos/bucketRealtimeLog.d.ts +100 -0
  279. package/tos/bucketRealtimeLog.js +88 -0
  280. package/tos/bucketRealtimeLog.js.map +1 -0
  281. package/tos/index.d.ts +9 -0
  282. package/tos/index.js +14 -1
  283. package/tos/index.js.map +1 -1
  284. package/types/input.d.ts +679 -8
  285. package/types/output.d.ts +8847 -5411
  286. package/vke/cluster.d.ts +13 -0
  287. package/vke/cluster.js +3 -0
  288. package/vke/cluster.js.map +1 -1
  289. package/vke/clusters.d.ts +12 -0
  290. package/vke/clusters.js +1 -0
  291. package/vke/clusters.js.map +1 -1
  292. package/vke/kubeconfigs.d.ts +9 -0
  293. package/vke/kubeconfigs.js +1 -0
  294. package/vke/kubeconfigs.js.map +1 -1
  295. package/vke/nodePool.d.ts +7 -4
  296. package/vke/nodePool.js +7 -4
  297. package/vke/nodePool.js.map +1 -1
  298. package/vpc/haVip.d.ts +18 -1
  299. package/vpc/haVip.js +6 -1
  300. package/vpc/haVip.js.map +1 -1
  301. package/vpc/haVips.d.ts +13 -0
  302. package/vpc/haVips.js +1 -0
  303. package/vpc/haVips.js.map +1 -1
  304. package/vpc/routeTable.d.ts +28 -5
  305. package/vpc/routeTable.js +16 -5
  306. package/vpc/routeTable.js.map +1 -1
  307. package/vpc/routeTables.d.ts +13 -0
  308. package/vpc/routeTables.js +1 -0
  309. package/vpc/routeTables.js.map +1 -1
  310. package/vpc/vpc.d.ts +2 -2
  311. package/vpc/vpc.js +2 -2
@@ -0,0 +1,351 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Provides a resource to manage rocketmq instance
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as volcengine from "@pulumi/volcengine";
11
+ * import * as volcengine from "@volcengine/pulumi";
12
+ *
13
+ * const fooZones = volcengine.ecs.Zones({});
14
+ * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
15
+ * vpcName: "acc-test-vpc",
16
+ * cidrBlock: "172.16.0.0/16",
17
+ * });
18
+ * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
19
+ * subnetName: "acc-test-subnet",
20
+ * cidrBlock: "172.16.0.0/24",
21
+ * zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
22
+ * vpcId: fooVpc.id,
23
+ * });
24
+ * const fooRocketMQInstance = new volcengine.rocketmq.RocketMQInstance("fooRocketMQInstance", {
25
+ * zoneIds: [fooZones.then(fooZones => fooZones.zones?.[0]?.id)],
26
+ * subnetId: fooSubnet.id,
27
+ * version: "4.8",
28
+ * computeSpec: "rocketmq.n1.x2.micro",
29
+ * storageSpace: 300,
30
+ * autoScaleQueue: true,
31
+ * fileReservedTime: 10,
32
+ * instanceName: "acc-test-rocketmq",
33
+ * instanceDescription: "acc-test",
34
+ * projectName: "default",
35
+ * chargeInfo: {
36
+ * chargeType: "PostPaid",
37
+ * },
38
+ * tags: [{
39
+ * key: "k1",
40
+ * value: "v1",
41
+ * }],
42
+ * });
43
+ * ```
44
+ *
45
+ * ## Import
46
+ *
47
+ * RocketmqInstance can be imported using the id, e.g.
48
+ *
49
+ * ```sh
50
+ * $ pulumi import volcengine:rocketmq/rocketMQInstance:RocketMQInstance default resource_id
51
+ * ```
52
+ */
53
+ export declare class RocketMQInstance extends pulumi.CustomResource {
54
+ /**
55
+ * Get an existing RocketMQInstance resource's state with the given name, ID, and optional extra
56
+ * properties used to qualify the lookup.
57
+ *
58
+ * @param name The _unique_ name of the resulting resource.
59
+ * @param id The _unique_ provider ID of the resource to lookup.
60
+ * @param state Any extra arguments used during the lookup.
61
+ * @param opts Optional settings to control the behavior of the CustomResource.
62
+ */
63
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RocketMQInstanceState, opts?: pulumi.CustomResourceOptions): RocketMQInstance;
64
+ /**
65
+ * Returns true if the given object is an instance of RocketMQInstance. This is designed to work even
66
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
67
+ */
68
+ static isInstance(obj: any): obj is RocketMQInstance;
69
+ /**
70
+ * The account id of the rocketmq instance.
71
+ */
72
+ readonly accountId: pulumi.Output<string>;
73
+ /**
74
+ * Whether the private dns to public function is enabled for the rocketmq instance.
75
+ */
76
+ readonly applyPrivateDnsToPublic: pulumi.Output<boolean>;
77
+ /**
78
+ * Whether to create queue automatically when the spec of the instance is changed. This field is effective only when modifying `computeField` and `storageSpace`.
79
+ */
80
+ readonly autoScaleQueue: pulumi.Output<boolean | undefined>;
81
+ /**
82
+ * The available queue number of the rocketmq instance.
83
+ */
84
+ readonly availableQueueNumber: pulumi.Output<number>;
85
+ /**
86
+ * The charge information of the rocketmq instance.
87
+ */
88
+ readonly chargeInfo: pulumi.Output<outputs.rocketmq.RocketMQInstanceChargeInfo>;
89
+ /**
90
+ * The compute spec of the rocketmq instance.
91
+ */
92
+ readonly computeSpec: pulumi.Output<string>;
93
+ /**
94
+ * The connection information of the rocketmq.
95
+ */
96
+ readonly connectionInfos: pulumi.Output<outputs.rocketmq.RocketMQInstanceConnectionInfo[]>;
97
+ /**
98
+ * The create time of the rocketmq instance.
99
+ */
100
+ readonly createTime: pulumi.Output<string>;
101
+ /**
102
+ * The eip id of the rocketmq instance.
103
+ */
104
+ readonly eipId: pulumi.Output<string>;
105
+ /**
106
+ * Whether the ssl authentication is enabled for the rocketmq instance.
107
+ */
108
+ readonly enableSsl: pulumi.Output<boolean>;
109
+ /**
110
+ * The reserved time of messages on the RocketMQ server of the message queue. Messages that exceed the reserved time will be cleared after expiration. The unit is in hours. Valid value range is 1~72.
111
+ */
112
+ readonly fileReservedTime: pulumi.Output<number>;
113
+ /**
114
+ * The instance description of the rocketmq instance.
115
+ */
116
+ readonly instanceDescription: pulumi.Output<string | undefined>;
117
+ /**
118
+ * The instance name of the rocketmq instance.
119
+ */
120
+ readonly instanceName: pulumi.Output<string>;
121
+ /**
122
+ * The status of the rocketmq instance.
123
+ */
124
+ readonly instanceStatus: pulumi.Output<string>;
125
+ /**
126
+ * The project name of the rocketmq instance.
127
+ */
128
+ readonly projectName: pulumi.Output<string>;
129
+ /**
130
+ * The region id of the rocketmq instance.
131
+ */
132
+ readonly regionId: pulumi.Output<string>;
133
+ /**
134
+ * The ssl mode of the rocketmq instance.
135
+ */
136
+ readonly sslMode: pulumi.Output<string>;
137
+ /**
138
+ * The storage space of the rocketmq instance.
139
+ */
140
+ readonly storageSpace: pulumi.Output<number>;
141
+ /**
142
+ * The subnet id of the rocketmq instance.
143
+ */
144
+ readonly subnetId: pulumi.Output<string>;
145
+ /**
146
+ * Tags.
147
+ */
148
+ readonly tags: pulumi.Output<outputs.rocketmq.RocketMQInstanceTag[] | undefined>;
149
+ /**
150
+ * The used group number of the rocketmq instance.
151
+ */
152
+ readonly usedGroupNumber: pulumi.Output<number>;
153
+ /**
154
+ * The used queue number of the rocketmq instance.
155
+ */
156
+ readonly usedQueueNumber: pulumi.Output<number>;
157
+ /**
158
+ * The used storage space of the rocketmq instance.
159
+ */
160
+ readonly usedStorageSpace: pulumi.Output<number>;
161
+ /**
162
+ * The used topic number of the rocketmq instance.
163
+ */
164
+ readonly usedTopicNumber: pulumi.Output<number>;
165
+ /**
166
+ * The version of the rocketmq instance. Valid values: `4.8`.
167
+ */
168
+ readonly version: pulumi.Output<string>;
169
+ /**
170
+ * The vpc id of the rocketmq instance.
171
+ */
172
+ readonly vpcId: pulumi.Output<string>;
173
+ /**
174
+ * The zone id of the rocketmq instance. Support specifying multiple availability zones.
175
+ */
176
+ readonly zoneIds: pulumi.Output<string[]>;
177
+ /**
178
+ * Create a RocketMQInstance resource with the given unique name, arguments, and options.
179
+ *
180
+ * @param name The _unique_ name of the resource.
181
+ * @param args The arguments to use to populate this resource's properties.
182
+ * @param opts A bag of options that control this resource's behavior.
183
+ */
184
+ constructor(name: string, args: RocketMQInstanceArgs, opts?: pulumi.CustomResourceOptions);
185
+ }
186
+ /**
187
+ * Input properties used for looking up and filtering RocketMQInstance resources.
188
+ */
189
+ export interface RocketMQInstanceState {
190
+ /**
191
+ * The account id of the rocketmq instance.
192
+ */
193
+ accountId?: pulumi.Input<string>;
194
+ /**
195
+ * Whether the private dns to public function is enabled for the rocketmq instance.
196
+ */
197
+ applyPrivateDnsToPublic?: pulumi.Input<boolean>;
198
+ /**
199
+ * Whether to create queue automatically when the spec of the instance is changed. This field is effective only when modifying `computeField` and `storageSpace`.
200
+ */
201
+ autoScaleQueue?: pulumi.Input<boolean>;
202
+ /**
203
+ * The available queue number of the rocketmq instance.
204
+ */
205
+ availableQueueNumber?: pulumi.Input<number>;
206
+ /**
207
+ * The charge information of the rocketmq instance.
208
+ */
209
+ chargeInfo?: pulumi.Input<inputs.rocketmq.RocketMQInstanceChargeInfo>;
210
+ /**
211
+ * The compute spec of the rocketmq instance.
212
+ */
213
+ computeSpec?: pulumi.Input<string>;
214
+ /**
215
+ * The connection information of the rocketmq.
216
+ */
217
+ connectionInfos?: pulumi.Input<pulumi.Input<inputs.rocketmq.RocketMQInstanceConnectionInfo>[]>;
218
+ /**
219
+ * The create time of the rocketmq instance.
220
+ */
221
+ createTime?: pulumi.Input<string>;
222
+ /**
223
+ * The eip id of the rocketmq instance.
224
+ */
225
+ eipId?: pulumi.Input<string>;
226
+ /**
227
+ * Whether the ssl authentication is enabled for the rocketmq instance.
228
+ */
229
+ enableSsl?: pulumi.Input<boolean>;
230
+ /**
231
+ * The reserved time of messages on the RocketMQ server of the message queue. Messages that exceed the reserved time will be cleared after expiration. The unit is in hours. Valid value range is 1~72.
232
+ */
233
+ fileReservedTime?: pulumi.Input<number>;
234
+ /**
235
+ * The instance description of the rocketmq instance.
236
+ */
237
+ instanceDescription?: pulumi.Input<string>;
238
+ /**
239
+ * The instance name of the rocketmq instance.
240
+ */
241
+ instanceName?: pulumi.Input<string>;
242
+ /**
243
+ * The status of the rocketmq instance.
244
+ */
245
+ instanceStatus?: pulumi.Input<string>;
246
+ /**
247
+ * The project name of the rocketmq instance.
248
+ */
249
+ projectName?: pulumi.Input<string>;
250
+ /**
251
+ * The region id of the rocketmq instance.
252
+ */
253
+ regionId?: pulumi.Input<string>;
254
+ /**
255
+ * The ssl mode of the rocketmq instance.
256
+ */
257
+ sslMode?: pulumi.Input<string>;
258
+ /**
259
+ * The storage space of the rocketmq instance.
260
+ */
261
+ storageSpace?: pulumi.Input<number>;
262
+ /**
263
+ * The subnet id of the rocketmq instance.
264
+ */
265
+ subnetId?: pulumi.Input<string>;
266
+ /**
267
+ * Tags.
268
+ */
269
+ tags?: pulumi.Input<pulumi.Input<inputs.rocketmq.RocketMQInstanceTag>[]>;
270
+ /**
271
+ * The used group number of the rocketmq instance.
272
+ */
273
+ usedGroupNumber?: pulumi.Input<number>;
274
+ /**
275
+ * The used queue number of the rocketmq instance.
276
+ */
277
+ usedQueueNumber?: pulumi.Input<number>;
278
+ /**
279
+ * The used storage space of the rocketmq instance.
280
+ */
281
+ usedStorageSpace?: pulumi.Input<number>;
282
+ /**
283
+ * The used topic number of the rocketmq instance.
284
+ */
285
+ usedTopicNumber?: pulumi.Input<number>;
286
+ /**
287
+ * The version of the rocketmq instance. Valid values: `4.8`.
288
+ */
289
+ version?: pulumi.Input<string>;
290
+ /**
291
+ * The vpc id of the rocketmq instance.
292
+ */
293
+ vpcId?: pulumi.Input<string>;
294
+ /**
295
+ * The zone id of the rocketmq instance. Support specifying multiple availability zones.
296
+ */
297
+ zoneIds?: pulumi.Input<pulumi.Input<string>[]>;
298
+ }
299
+ /**
300
+ * The set of arguments for constructing a RocketMQInstance resource.
301
+ */
302
+ export interface RocketMQInstanceArgs {
303
+ /**
304
+ * Whether to create queue automatically when the spec of the instance is changed. This field is effective only when modifying `computeField` and `storageSpace`.
305
+ */
306
+ autoScaleQueue?: pulumi.Input<boolean>;
307
+ /**
308
+ * The charge information of the rocketmq instance.
309
+ */
310
+ chargeInfo: pulumi.Input<inputs.rocketmq.RocketMQInstanceChargeInfo>;
311
+ /**
312
+ * The compute spec of the rocketmq instance.
313
+ */
314
+ computeSpec: pulumi.Input<string>;
315
+ /**
316
+ * The reserved time of messages on the RocketMQ server of the message queue. Messages that exceed the reserved time will be cleared after expiration. The unit is in hours. Valid value range is 1~72.
317
+ */
318
+ fileReservedTime: pulumi.Input<number>;
319
+ /**
320
+ * The instance description of the rocketmq instance.
321
+ */
322
+ instanceDescription?: pulumi.Input<string>;
323
+ /**
324
+ * The instance name of the rocketmq instance.
325
+ */
326
+ instanceName?: pulumi.Input<string>;
327
+ /**
328
+ * The project name of the rocketmq instance.
329
+ */
330
+ projectName?: pulumi.Input<string>;
331
+ /**
332
+ * The storage space of the rocketmq instance.
333
+ */
334
+ storageSpace: pulumi.Input<number>;
335
+ /**
336
+ * The subnet id of the rocketmq instance.
337
+ */
338
+ subnetId: pulumi.Input<string>;
339
+ /**
340
+ * Tags.
341
+ */
342
+ tags?: pulumi.Input<pulumi.Input<inputs.rocketmq.RocketMQInstanceTag>[]>;
343
+ /**
344
+ * The version of the rocketmq instance. Valid values: `4.8`.
345
+ */
346
+ version: pulumi.Input<string>;
347
+ /**
348
+ * The zone id of the rocketmq instance. Support specifying multiple availability zones.
349
+ */
350
+ zoneIds: pulumi.Input<pulumi.Input<string>[]>;
351
+ }
@@ -0,0 +1,171 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.RocketMQInstance = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides a resource to manage rocketmq instance
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as volcengine from "@pulumi/volcengine";
15
+ * import * as volcengine from "@volcengine/pulumi";
16
+ *
17
+ * const fooZones = volcengine.ecs.Zones({});
18
+ * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
19
+ * vpcName: "acc-test-vpc",
20
+ * cidrBlock: "172.16.0.0/16",
21
+ * });
22
+ * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
23
+ * subnetName: "acc-test-subnet",
24
+ * cidrBlock: "172.16.0.0/24",
25
+ * zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
26
+ * vpcId: fooVpc.id,
27
+ * });
28
+ * const fooRocketMQInstance = new volcengine.rocketmq.RocketMQInstance("fooRocketMQInstance", {
29
+ * zoneIds: [fooZones.then(fooZones => fooZones.zones?.[0]?.id)],
30
+ * subnetId: fooSubnet.id,
31
+ * version: "4.8",
32
+ * computeSpec: "rocketmq.n1.x2.micro",
33
+ * storageSpace: 300,
34
+ * autoScaleQueue: true,
35
+ * fileReservedTime: 10,
36
+ * instanceName: "acc-test-rocketmq",
37
+ * instanceDescription: "acc-test",
38
+ * projectName: "default",
39
+ * chargeInfo: {
40
+ * chargeType: "PostPaid",
41
+ * },
42
+ * tags: [{
43
+ * key: "k1",
44
+ * value: "v1",
45
+ * }],
46
+ * });
47
+ * ```
48
+ *
49
+ * ## Import
50
+ *
51
+ * RocketmqInstance can be imported using the id, e.g.
52
+ *
53
+ * ```sh
54
+ * $ pulumi import volcengine:rocketmq/rocketMQInstance:RocketMQInstance default resource_id
55
+ * ```
56
+ */
57
+ class RocketMQInstance extends pulumi.CustomResource {
58
+ /**
59
+ * Get an existing RocketMQInstance resource's state with the given name, ID, and optional extra
60
+ * properties used to qualify the lookup.
61
+ *
62
+ * @param name The _unique_ name of the resulting resource.
63
+ * @param id The _unique_ provider ID of the resource to lookup.
64
+ * @param state Any extra arguments used during the lookup.
65
+ * @param opts Optional settings to control the behavior of the CustomResource.
66
+ */
67
+ static get(name, id, state, opts) {
68
+ return new RocketMQInstance(name, state, Object.assign(Object.assign({}, opts), { id: id }));
69
+ }
70
+ /**
71
+ * Returns true if the given object is an instance of RocketMQInstance. This is designed to work even
72
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
73
+ */
74
+ static isInstance(obj) {
75
+ if (obj === undefined || obj === null) {
76
+ return false;
77
+ }
78
+ return obj['__pulumiType'] === RocketMQInstance.__pulumiType;
79
+ }
80
+ constructor(name, argsOrState, opts) {
81
+ let resourceInputs = {};
82
+ opts = opts || {};
83
+ if (opts.id) {
84
+ const state = argsOrState;
85
+ resourceInputs["accountId"] = state ? state.accountId : undefined;
86
+ resourceInputs["applyPrivateDnsToPublic"] = state ? state.applyPrivateDnsToPublic : undefined;
87
+ resourceInputs["autoScaleQueue"] = state ? state.autoScaleQueue : undefined;
88
+ resourceInputs["availableQueueNumber"] = state ? state.availableQueueNumber : undefined;
89
+ resourceInputs["chargeInfo"] = state ? state.chargeInfo : undefined;
90
+ resourceInputs["computeSpec"] = state ? state.computeSpec : undefined;
91
+ resourceInputs["connectionInfos"] = state ? state.connectionInfos : undefined;
92
+ resourceInputs["createTime"] = state ? state.createTime : undefined;
93
+ resourceInputs["eipId"] = state ? state.eipId : undefined;
94
+ resourceInputs["enableSsl"] = state ? state.enableSsl : undefined;
95
+ resourceInputs["fileReservedTime"] = state ? state.fileReservedTime : undefined;
96
+ resourceInputs["instanceDescription"] = state ? state.instanceDescription : undefined;
97
+ resourceInputs["instanceName"] = state ? state.instanceName : undefined;
98
+ resourceInputs["instanceStatus"] = state ? state.instanceStatus : undefined;
99
+ resourceInputs["projectName"] = state ? state.projectName : undefined;
100
+ resourceInputs["regionId"] = state ? state.regionId : undefined;
101
+ resourceInputs["sslMode"] = state ? state.sslMode : undefined;
102
+ resourceInputs["storageSpace"] = state ? state.storageSpace : undefined;
103
+ resourceInputs["subnetId"] = state ? state.subnetId : undefined;
104
+ resourceInputs["tags"] = state ? state.tags : undefined;
105
+ resourceInputs["usedGroupNumber"] = state ? state.usedGroupNumber : undefined;
106
+ resourceInputs["usedQueueNumber"] = state ? state.usedQueueNumber : undefined;
107
+ resourceInputs["usedStorageSpace"] = state ? state.usedStorageSpace : undefined;
108
+ resourceInputs["usedTopicNumber"] = state ? state.usedTopicNumber : undefined;
109
+ resourceInputs["version"] = state ? state.version : undefined;
110
+ resourceInputs["vpcId"] = state ? state.vpcId : undefined;
111
+ resourceInputs["zoneIds"] = state ? state.zoneIds : undefined;
112
+ }
113
+ else {
114
+ const args = argsOrState;
115
+ if ((!args || args.chargeInfo === undefined) && !opts.urn) {
116
+ throw new Error("Missing required property 'chargeInfo'");
117
+ }
118
+ if ((!args || args.computeSpec === undefined) && !opts.urn) {
119
+ throw new Error("Missing required property 'computeSpec'");
120
+ }
121
+ if ((!args || args.fileReservedTime === undefined) && !opts.urn) {
122
+ throw new Error("Missing required property 'fileReservedTime'");
123
+ }
124
+ if ((!args || args.storageSpace === undefined) && !opts.urn) {
125
+ throw new Error("Missing required property 'storageSpace'");
126
+ }
127
+ if ((!args || args.subnetId === undefined) && !opts.urn) {
128
+ throw new Error("Missing required property 'subnetId'");
129
+ }
130
+ if ((!args || args.version === undefined) && !opts.urn) {
131
+ throw new Error("Missing required property 'version'");
132
+ }
133
+ if ((!args || args.zoneIds === undefined) && !opts.urn) {
134
+ throw new Error("Missing required property 'zoneIds'");
135
+ }
136
+ resourceInputs["autoScaleQueue"] = args ? args.autoScaleQueue : undefined;
137
+ resourceInputs["chargeInfo"] = args ? args.chargeInfo : undefined;
138
+ resourceInputs["computeSpec"] = args ? args.computeSpec : undefined;
139
+ resourceInputs["fileReservedTime"] = args ? args.fileReservedTime : undefined;
140
+ resourceInputs["instanceDescription"] = args ? args.instanceDescription : undefined;
141
+ resourceInputs["instanceName"] = args ? args.instanceName : undefined;
142
+ resourceInputs["projectName"] = args ? args.projectName : undefined;
143
+ resourceInputs["storageSpace"] = args ? args.storageSpace : undefined;
144
+ resourceInputs["subnetId"] = args ? args.subnetId : undefined;
145
+ resourceInputs["tags"] = args ? args.tags : undefined;
146
+ resourceInputs["version"] = args ? args.version : undefined;
147
+ resourceInputs["zoneIds"] = args ? args.zoneIds : undefined;
148
+ resourceInputs["accountId"] = undefined /*out*/;
149
+ resourceInputs["applyPrivateDnsToPublic"] = undefined /*out*/;
150
+ resourceInputs["availableQueueNumber"] = undefined /*out*/;
151
+ resourceInputs["connectionInfos"] = undefined /*out*/;
152
+ resourceInputs["createTime"] = undefined /*out*/;
153
+ resourceInputs["eipId"] = undefined /*out*/;
154
+ resourceInputs["enableSsl"] = undefined /*out*/;
155
+ resourceInputs["instanceStatus"] = undefined /*out*/;
156
+ resourceInputs["regionId"] = undefined /*out*/;
157
+ resourceInputs["sslMode"] = undefined /*out*/;
158
+ resourceInputs["usedGroupNumber"] = undefined /*out*/;
159
+ resourceInputs["usedQueueNumber"] = undefined /*out*/;
160
+ resourceInputs["usedStorageSpace"] = undefined /*out*/;
161
+ resourceInputs["usedTopicNumber"] = undefined /*out*/;
162
+ resourceInputs["vpcId"] = undefined /*out*/;
163
+ }
164
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
165
+ super(RocketMQInstance.__pulumiType, name, resourceInputs, opts);
166
+ }
167
+ }
168
+ exports.RocketMQInstance = RocketMQInstance;
169
+ /** @internal */
170
+ RocketMQInstance.__pulumiType = 'volcengine:rocketmq/rocketMQInstance:RocketMQInstance';
171
+ //# sourceMappingURL=rocketMQInstance.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rocketMQInstance.js","sourceRoot":"","sources":["../../rocketmq/rocketMQInstance.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,G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,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AAtOL,4CAuOC;AAzNG,gBAAgB;AACO,6BAAY,GAAG,uDAAuD,CAAC"}
@@ -0,0 +1,133 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides a resource to manage rocketmq public address
4
+ * ## Example Usage
5
+ *
6
+ * ```typescript
7
+ * import * as pulumi from "@pulumi/pulumi";
8
+ * import * as volcengine from "@pulumi/volcengine";
9
+ * import * as volcengine from "@volcengine/pulumi";
10
+ *
11
+ * const fooZones = volcengine.ecs.Zones({});
12
+ * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
13
+ * vpcName: "acc-test-vpc",
14
+ * cidrBlock: "172.16.0.0/16",
15
+ * });
16
+ * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
17
+ * subnetName: "acc-test-subnet",
18
+ * cidrBlock: "172.16.0.0/24",
19
+ * zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
20
+ * vpcId: fooVpc.id,
21
+ * });
22
+ * const fooRocketMQInstance = new volcengine.rocketmq.RocketMQInstance("fooRocketMQInstance", {
23
+ * zoneIds: [fooZones.then(fooZones => fooZones.zones?.[0]?.id)],
24
+ * subnetId: fooSubnet.id,
25
+ * version: "4.8",
26
+ * computeSpec: "rocketmq.n1.x2.micro",
27
+ * storageSpace: 300,
28
+ * autoScaleQueue: true,
29
+ * fileReservedTime: 10,
30
+ * instanceName: "acc-test-rocketmq",
31
+ * instanceDescription: "acc-test",
32
+ * projectName: "default",
33
+ * chargeInfo: {
34
+ * chargeType: "PostPaid",
35
+ * },
36
+ * tags: [{
37
+ * key: "k1",
38
+ * value: "v1",
39
+ * }],
40
+ * });
41
+ * const fooAddress = new volcengine.eip.Address("fooAddress", {
42
+ * billingType: "PostPaidByBandwidth",
43
+ * bandwidth: 1,
44
+ * isp: "BGP",
45
+ * description: "acc-test",
46
+ * projectName: "default",
47
+ * });
48
+ * const fooRocketMQPublicAddress = new volcengine.rocketmq.RocketMQPublicAddress("fooRocketMQPublicAddress", {
49
+ * instanceId: fooRocketMQInstance.id,
50
+ * eipId: fooAddress.id,
51
+ * sslMode: "permissive",
52
+ * });
53
+ * ```
54
+ *
55
+ * ## Import
56
+ *
57
+ * RocketmqPublicAddress can be imported using the instance_id:eip_id, e.g.
58
+ *
59
+ * ```sh
60
+ * $ pulumi import volcengine:rocketmq/rocketMQPublicAddress:RocketMQPublicAddress default resource_id
61
+ * ```
62
+ */
63
+ export declare class RocketMQPublicAddress extends pulumi.CustomResource {
64
+ /**
65
+ * Get an existing RocketMQPublicAddress resource's state with the given name, ID, and optional extra
66
+ * properties used to qualify the lookup.
67
+ *
68
+ * @param name The _unique_ name of the resulting resource.
69
+ * @param id The _unique_ provider ID of the resource to lookup.
70
+ * @param state Any extra arguments used during the lookup.
71
+ * @param opts Optional settings to control the behavior of the CustomResource.
72
+ */
73
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RocketMQPublicAddressState, opts?: pulumi.CustomResourceOptions): RocketMQPublicAddress;
74
+ /**
75
+ * Returns true if the given object is an instance of RocketMQPublicAddress. This is designed to work even
76
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
77
+ */
78
+ static isInstance(obj: any): obj is RocketMQPublicAddress;
79
+ /**
80
+ * The id of the eip.
81
+ */
82
+ readonly eipId: pulumi.Output<string>;
83
+ /**
84
+ * The id of rocketmq instance.
85
+ */
86
+ readonly instanceId: pulumi.Output<string>;
87
+ /**
88
+ * The ssl mode of the rocketmq instance. Valid values: `enforcing`, `permissive`. Default is `permissive`.
89
+ */
90
+ readonly sslMode: pulumi.Output<string>;
91
+ /**
92
+ * Create a RocketMQPublicAddress resource with the given unique name, arguments, and options.
93
+ *
94
+ * @param name The _unique_ name of the resource.
95
+ * @param args The arguments to use to populate this resource's properties.
96
+ * @param opts A bag of options that control this resource's behavior.
97
+ */
98
+ constructor(name: string, args: RocketMQPublicAddressArgs, opts?: pulumi.CustomResourceOptions);
99
+ }
100
+ /**
101
+ * Input properties used for looking up and filtering RocketMQPublicAddress resources.
102
+ */
103
+ export interface RocketMQPublicAddressState {
104
+ /**
105
+ * The id of the eip.
106
+ */
107
+ eipId?: pulumi.Input<string>;
108
+ /**
109
+ * The id of rocketmq instance.
110
+ */
111
+ instanceId?: pulumi.Input<string>;
112
+ /**
113
+ * The ssl mode of the rocketmq instance. Valid values: `enforcing`, `permissive`. Default is `permissive`.
114
+ */
115
+ sslMode?: pulumi.Input<string>;
116
+ }
117
+ /**
118
+ * The set of arguments for constructing a RocketMQPublicAddress resource.
119
+ */
120
+ export interface RocketMQPublicAddressArgs {
121
+ /**
122
+ * The id of the eip.
123
+ */
124
+ eipId: pulumi.Input<string>;
125
+ /**
126
+ * The id of rocketmq instance.
127
+ */
128
+ instanceId: pulumi.Input<string>;
129
+ /**
130
+ * The ssl mode of the rocketmq instance. Valid values: `enforcing`, `permissive`. Default is `permissive`.
131
+ */
132
+ sslMode?: pulumi.Input<string>;
133
+ }