@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,90 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides a resource to manage dns backup schedule
4
+ * ## Example Usage
5
+ *
6
+ * ```typescript
7
+ * import * as pulumi from "@pulumi/pulumi";
8
+ * import * as volcengine from "@volcengine/pulumi";
9
+ *
10
+ * const foo = new volcengine.dns.BackupSchedule("foo", {
11
+ * schedule: 1,
12
+ * zid: 58846,
13
+ * });
14
+ * ```
15
+ *
16
+ * ## Import
17
+ *
18
+ * DnsBackupSchedule can be imported using the id, e.g.
19
+ *
20
+ * ```sh
21
+ * $ pulumi import volcengine:dns/backupSchedule:BackupSchedule default resource_id
22
+ * ```
23
+ */
24
+ export declare class BackupSchedule extends pulumi.CustomResource {
25
+ /**
26
+ * Get an existing BackupSchedule resource's state with the given name, ID, and optional extra
27
+ * properties used to qualify the lookup.
28
+ *
29
+ * @param name The _unique_ name of the resulting resource.
30
+ * @param id The _unique_ provider ID of the resource to lookup.
31
+ * @param state Any extra arguments used during the lookup.
32
+ * @param opts Optional settings to control the behavior of the CustomResource.
33
+ */
34
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: BackupScheduleState, opts?: pulumi.CustomResourceOptions): BackupSchedule;
35
+ /**
36
+ * Returns true if the given object is an instance of BackupSchedule. This is designed to work even
37
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
38
+ */
39
+ static isInstance(obj: any): obj is BackupSchedule;
40
+ /**
41
+ * Maximum number of backups per domain.
42
+ */
43
+ readonly countLimit: pulumi.Output<number>;
44
+ /**
45
+ * The backup schedule. 0: Turn off automatic backup. 1: Automatic backup once per hour. 2: Automatic backup once per day. 3: Automatic backup once per month.
46
+ */
47
+ readonly schedule: pulumi.Output<number>;
48
+ /**
49
+ * The ID of the domain for which you want to update the backup schedule.
50
+ */
51
+ readonly zid: pulumi.Output<number>;
52
+ /**
53
+ * Create a BackupSchedule resource with the given unique name, arguments, and options.
54
+ *
55
+ * @param name The _unique_ name of the resource.
56
+ * @param args The arguments to use to populate this resource's properties.
57
+ * @param opts A bag of options that control this resource's behavior.
58
+ */
59
+ constructor(name: string, args: BackupScheduleArgs, opts?: pulumi.CustomResourceOptions);
60
+ }
61
+ /**
62
+ * Input properties used for looking up and filtering BackupSchedule resources.
63
+ */
64
+ export interface BackupScheduleState {
65
+ /**
66
+ * Maximum number of backups per domain.
67
+ */
68
+ countLimit?: pulumi.Input<number>;
69
+ /**
70
+ * The backup schedule. 0: Turn off automatic backup. 1: Automatic backup once per hour. 2: Automatic backup once per day. 3: Automatic backup once per month.
71
+ */
72
+ schedule?: pulumi.Input<number>;
73
+ /**
74
+ * The ID of the domain for which you want to update the backup schedule.
75
+ */
76
+ zid?: pulumi.Input<number>;
77
+ }
78
+ /**
79
+ * The set of arguments for constructing a BackupSchedule resource.
80
+ */
81
+ export interface BackupScheduleArgs {
82
+ /**
83
+ * The backup schedule. 0: Turn off automatic backup. 1: Automatic backup once per hour. 2: Automatic backup once per day. 3: Automatic backup once per month.
84
+ */
85
+ schedule: pulumi.Input<number>;
86
+ /**
87
+ * The ID of the domain for which you want to update the backup schedule.
88
+ */
89
+ zid: pulumi.Input<number>;
90
+ }
@@ -0,0 +1,81 @@
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.BackupSchedule = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides a resource to manage dns backup schedule
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as volcengine from "@volcengine/pulumi";
15
+ *
16
+ * const foo = new volcengine.dns.BackupSchedule("foo", {
17
+ * schedule: 1,
18
+ * zid: 58846,
19
+ * });
20
+ * ```
21
+ *
22
+ * ## Import
23
+ *
24
+ * DnsBackupSchedule can be imported using the id, e.g.
25
+ *
26
+ * ```sh
27
+ * $ pulumi import volcengine:dns/backupSchedule:BackupSchedule default resource_id
28
+ * ```
29
+ */
30
+ class BackupSchedule extends pulumi.CustomResource {
31
+ /**
32
+ * Get an existing BackupSchedule resource's state with the given name, ID, and optional extra
33
+ * properties used to qualify the lookup.
34
+ *
35
+ * @param name The _unique_ name of the resulting resource.
36
+ * @param id The _unique_ provider ID of the resource to lookup.
37
+ * @param state Any extra arguments used during the lookup.
38
+ * @param opts Optional settings to control the behavior of the CustomResource.
39
+ */
40
+ static get(name, id, state, opts) {
41
+ return new BackupSchedule(name, state, Object.assign(Object.assign({}, opts), { id: id }));
42
+ }
43
+ /**
44
+ * Returns true if the given object is an instance of BackupSchedule. This is designed to work even
45
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
46
+ */
47
+ static isInstance(obj) {
48
+ if (obj === undefined || obj === null) {
49
+ return false;
50
+ }
51
+ return obj['__pulumiType'] === BackupSchedule.__pulumiType;
52
+ }
53
+ constructor(name, argsOrState, opts) {
54
+ let resourceInputs = {};
55
+ opts = opts || {};
56
+ if (opts.id) {
57
+ const state = argsOrState;
58
+ resourceInputs["countLimit"] = state ? state.countLimit : undefined;
59
+ resourceInputs["schedule"] = state ? state.schedule : undefined;
60
+ resourceInputs["zid"] = state ? state.zid : undefined;
61
+ }
62
+ else {
63
+ const args = argsOrState;
64
+ if ((!args || args.schedule === undefined) && !opts.urn) {
65
+ throw new Error("Missing required property 'schedule'");
66
+ }
67
+ if ((!args || args.zid === undefined) && !opts.urn) {
68
+ throw new Error("Missing required property 'zid'");
69
+ }
70
+ resourceInputs["schedule"] = args ? args.schedule : undefined;
71
+ resourceInputs["zid"] = args ? args.zid : undefined;
72
+ resourceInputs["countLimit"] = undefined /*out*/;
73
+ }
74
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
75
+ super(BackupSchedule.__pulumiType, name, resourceInputs, opts);
76
+ }
77
+ }
78
+ exports.BackupSchedule = BackupSchedule;
79
+ /** @internal */
80
+ BackupSchedule.__pulumiType = 'volcengine:dns/backupSchedule:BackupSchedule';
81
+ //# sourceMappingURL=backupSchedule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"backupSchedule.js","sourceRoot":"","sources":["../../dns/backupSchedule.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;IAuBD,YAAY,IAAY,EAAE,WAAsD,EAAE,IAAmC;QACjH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA8C,CAAC;YAC7D,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;aAAM;YACH,MAAM,IAAI,GAAG,WAA6C,CAAC;YAC3D,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,QAAQ,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACrD,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,GAAG,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAChD,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;aACtD;YACD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACpD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AAvEL,wCAwEC;AA1DG,gBAAgB;AACO,2BAAY,GAAG,8CAA8C,CAAC"}
@@ -0,0 +1,84 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Use this data source to query detailed information of dns backups
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as volcengine from "@pulumi/volcengine";
10
+ *
11
+ * const foo = volcengine.dns.Backups({
12
+ * zid: 58846,
13
+ * });
14
+ * ```
15
+ */
16
+ export declare function backups(args: BackupsArgs, opts?: pulumi.InvokeOptions): Promise<BackupsResult>;
17
+ /**
18
+ * A collection of arguments for invoking Backups.
19
+ */
20
+ export interface BackupsArgs {
21
+ /**
22
+ * A Name Regex of Resource.
23
+ */
24
+ nameRegex?: string;
25
+ /**
26
+ * File name where to save data source results.
27
+ */
28
+ outputFile?: string;
29
+ /**
30
+ * The ID of the domain for which you want to get the backup schedule.
31
+ */
32
+ zid: number;
33
+ }
34
+ /**
35
+ * A collection of values returned by Backups.
36
+ */
37
+ export interface BackupsResult {
38
+ /**
39
+ * The collection of query.
40
+ */
41
+ readonly backupInfos: outputs.dns.BackupsBackupInfo[];
42
+ /**
43
+ * The provider-assigned unique ID for this managed resource.
44
+ */
45
+ readonly id: string;
46
+ readonly nameRegex?: string;
47
+ readonly outputFile?: string;
48
+ /**
49
+ * The total count of query.
50
+ */
51
+ readonly totalCount: number;
52
+ readonly zid: number;
53
+ }
54
+ /**
55
+ * Use this data source to query detailed information of dns backups
56
+ * ## Example Usage
57
+ *
58
+ * ```typescript
59
+ * import * as pulumi from "@pulumi/pulumi";
60
+ * import * as volcengine from "@pulumi/volcengine";
61
+ *
62
+ * const foo = volcengine.dns.Backups({
63
+ * zid: 58846,
64
+ * });
65
+ * ```
66
+ */
67
+ export declare function backupsOutput(args: BackupsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<BackupsResult>;
68
+ /**
69
+ * A collection of arguments for invoking Backups.
70
+ */
71
+ export interface BackupsOutputArgs {
72
+ /**
73
+ * A Name Regex of Resource.
74
+ */
75
+ nameRegex?: pulumi.Input<string>;
76
+ /**
77
+ * File name where to save data source results.
78
+ */
79
+ outputFile?: pulumi.Input<string>;
80
+ /**
81
+ * The ID of the domain for which you want to get the backup schedule.
82
+ */
83
+ zid: pulumi.Input<number>;
84
+ }
package/dns/backups.js ADDED
@@ -0,0 +1,47 @@
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.backupsOutput = exports.backups = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Use this data source to query detailed information of dns backups
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as volcengine from "@pulumi/volcengine";
15
+ *
16
+ * const foo = volcengine.dns.Backups({
17
+ * zid: 58846,
18
+ * });
19
+ * ```
20
+ */
21
+ function backups(args, opts) {
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invoke("volcengine:dns/backups:Backups", {
24
+ "nameRegex": args.nameRegex,
25
+ "outputFile": args.outputFile,
26
+ "zid": args.zid,
27
+ }, opts);
28
+ }
29
+ exports.backups = backups;
30
+ /**
31
+ * Use this data source to query detailed information of dns backups
32
+ * ## Example Usage
33
+ *
34
+ * ```typescript
35
+ * import * as pulumi from "@pulumi/pulumi";
36
+ * import * as volcengine from "@pulumi/volcengine";
37
+ *
38
+ * const foo = volcengine.dns.Backups({
39
+ * zid: 58846,
40
+ * });
41
+ * ```
42
+ */
43
+ function backupsOutput(args, opts) {
44
+ return pulumi.output(args).apply((a) => backups(a, opts));
45
+ }
46
+ exports.backupsOutput = backupsOutput;
47
+ //# sourceMappingURL=backups.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"backups.js","sourceRoot":"","sources":["../../dns/backups.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAElE,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,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,KAAK,EAAE,IAAI,CAAC,GAAG;KAClB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,0BAQC;AAwCD;;;;;;;;;;;;GAYG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,sCAEC"}
package/dns/index.d.ts ADDED
@@ -0,0 +1,24 @@
1
+ export { BackupArgs, BackupState } from "./backup";
2
+ export type Backup = import("./backup").Backup;
3
+ export declare const Backup: typeof import("./backup").Backup;
4
+ export { BackupScheduleArgs, BackupScheduleState } from "./backupSchedule";
5
+ export type BackupSchedule = import("./backupSchedule").BackupSchedule;
6
+ export declare const BackupSchedule: typeof import("./backupSchedule").BackupSchedule;
7
+ export { BackupsArgs, BackupsResult, BackupsOutputArgs } from "./backups";
8
+ export declare const backups: typeof import("./backups").backups;
9
+ export declare const backupsOutput: typeof import("./backups").backupsOutput;
10
+ export { RecordArgs, RecordState } from "./record";
11
+ export type Record = import("./record").Record;
12
+ export declare const Record: typeof import("./record").Record;
13
+ export { RecordSetsArgs, RecordSetsResult, RecordSetsOutputArgs } from "./recordSets";
14
+ export declare const recordSets: typeof import("./recordSets").recordSets;
15
+ export declare const recordSetsOutput: typeof import("./recordSets").recordSetsOutput;
16
+ export { RecordsArgs, RecordsResult, RecordsOutputArgs } from "./records";
17
+ export declare const records: typeof import("./records").records;
18
+ export declare const recordsOutput: typeof import("./records").recordsOutput;
19
+ export { ZoneArgs, ZoneState } from "./zone";
20
+ export type Zone = import("./zone").Zone;
21
+ export declare const Zone: typeof import("./zone").Zone;
22
+ export { ZonesArgs, ZonesResult, ZonesOutputArgs } from "./zones";
23
+ export declare const zones: typeof import("./zones").zones;
24
+ export declare const zonesOutput: typeof import("./zones").zonesOutput;
package/dns/index.js ADDED
@@ -0,0 +1,49 @@
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.zonesOutput = exports.zones = exports.Zone = exports.recordsOutput = exports.records = exports.recordSetsOutput = exports.recordSets = exports.Record = exports.backupsOutput = exports.backups = exports.BackupSchedule = exports.Backup = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ exports.Backup = null;
9
+ utilities.lazyLoad(exports, ["Backup"], () => require("./backup"));
10
+ exports.BackupSchedule = null;
11
+ utilities.lazyLoad(exports, ["BackupSchedule"], () => require("./backupSchedule"));
12
+ exports.backups = null;
13
+ exports.backupsOutput = null;
14
+ utilities.lazyLoad(exports, ["backups", "backupsOutput"], () => require("./backups"));
15
+ exports.Record = null;
16
+ utilities.lazyLoad(exports, ["Record"], () => require("./record"));
17
+ exports.recordSets = null;
18
+ exports.recordSetsOutput = null;
19
+ utilities.lazyLoad(exports, ["recordSets", "recordSetsOutput"], () => require("./recordSets"));
20
+ exports.records = null;
21
+ exports.recordsOutput = null;
22
+ utilities.lazyLoad(exports, ["records", "recordsOutput"], () => require("./records"));
23
+ exports.Zone = null;
24
+ utilities.lazyLoad(exports, ["Zone"], () => require("./zone"));
25
+ exports.zones = null;
26
+ exports.zonesOutput = null;
27
+ utilities.lazyLoad(exports, ["zones", "zonesOutput"], () => require("./zones"));
28
+ const _module = {
29
+ version: utilities.getVersion(),
30
+ construct: (name, type, urn) => {
31
+ switch (type) {
32
+ case "volcengine:dns/backup:Backup":
33
+ return new exports.Backup(name, undefined, { urn });
34
+ case "volcengine:dns/backupSchedule:BackupSchedule":
35
+ return new exports.BackupSchedule(name, undefined, { urn });
36
+ case "volcengine:dns/record:Record":
37
+ return new exports.Record(name, undefined, { urn });
38
+ case "volcengine:dns/zone:Zone":
39
+ return new exports.Zone(name, undefined, { urn });
40
+ default:
41
+ throw new Error(`unknown resource type ${type}`);
42
+ }
43
+ },
44
+ };
45
+ pulumi.runtime.registerResourceModule("volcengine", "dns/backup", _module);
46
+ pulumi.runtime.registerResourceModule("volcengine", "dns/backupSchedule", _module);
47
+ pulumi.runtime.registerResourceModule("volcengine", "dns/record", _module);
48
+ pulumi.runtime.registerResourceModule("volcengine", "dns/zone", _module);
49
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../dns/index.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,220 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides a resource to manage dns record
4
+ * ## Example Usage
5
+ *
6
+ * ```typescript
7
+ * import * as pulumi from "@pulumi/pulumi";
8
+ * import * as volcengine from "@volcengine/pulumi";
9
+ *
10
+ * const foo = new volcengine.dns.Record("foo", {
11
+ * host: "a.com",
12
+ * type: "A",
13
+ * value: "1.1.1.2",
14
+ * zid: 58846,
15
+ * });
16
+ * ```
17
+ *
18
+ * ## Import
19
+ *
20
+ * DnsRecord can be imported using the id, e.g.
21
+ *
22
+ * ```sh
23
+ * $ pulumi import volcengine:dns/record:Record default ZID:recordId
24
+ * ```
25
+ */
26
+ export declare class Record extends pulumi.CustomResource {
27
+ /**
28
+ * Get an existing Record resource's state with the given name, ID, and optional extra
29
+ * properties used to qualify the lookup.
30
+ *
31
+ * @param name The _unique_ name of the resulting resource.
32
+ * @param id The _unique_ provider ID of the resource to lookup.
33
+ * @param state Any extra arguments used during the lookup.
34
+ * @param opts Optional settings to control the behavior of the CustomResource.
35
+ */
36
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RecordState, opts?: pulumi.CustomResourceOptions): Record;
37
+ /**
38
+ * Returns true if the given object is an instance of Record. This is designed to work even
39
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
40
+ */
41
+ static isInstance(obj: any): obj is Record;
42
+ /**
43
+ * The creation time of the domain.
44
+ */
45
+ readonly createdAt: pulumi.Output<string>;
46
+ /**
47
+ * Whether the DNS record is enabled.
48
+ */
49
+ readonly enable: pulumi.Output<boolean>;
50
+ /**
51
+ * The host record, which is the domain prefix of the subdomain.
52
+ */
53
+ readonly host: pulumi.Output<string>;
54
+ /**
55
+ * The value of the DNS record.
56
+ */
57
+ readonly line: pulumi.Output<string>;
58
+ /**
59
+ * The account ID that called this API.
60
+ */
61
+ readonly operators: pulumi.Output<string[]>;
62
+ /**
63
+ * The account ID that called this API.
64
+ */
65
+ readonly pqdn: pulumi.Output<string>;
66
+ /**
67
+ * The ID of the DNS record.
68
+ */
69
+ readonly recordId: pulumi.Output<string>;
70
+ /**
71
+ * The ID of the record set where the DNS record is located.
72
+ */
73
+ readonly recordSetId: pulumi.Output<string>;
74
+ /**
75
+ * The remark for the DNS record.
76
+ */
77
+ readonly remark: pulumi.Output<string>;
78
+ /**
79
+ * The tag information of the DNS record.
80
+ */
81
+ readonly tags: pulumi.Output<string[]>;
82
+ /**
83
+ * The Time-To-Live (TTL) of the DNS record, in seconds.
84
+ */
85
+ readonly ttl: pulumi.Output<number>;
86
+ /**
87
+ * The record type.
88
+ */
89
+ readonly type: pulumi.Output<string>;
90
+ /**
91
+ * The update time of the domain.
92
+ */
93
+ readonly updatedAt: pulumi.Output<string>;
94
+ /**
95
+ * The value of the DNS record.
96
+ */
97
+ readonly value: pulumi.Output<string>;
98
+ /**
99
+ * The weight of the DNS record.
100
+ */
101
+ readonly weight: pulumi.Output<number>;
102
+ /**
103
+ * The ID of the domain to which you want to add a DNS record.
104
+ */
105
+ readonly zid: pulumi.Output<number>;
106
+ /**
107
+ * Create a Record resource with the given unique name, arguments, and options.
108
+ *
109
+ * @param name The _unique_ name of the resource.
110
+ * @param args The arguments to use to populate this resource's properties.
111
+ * @param opts A bag of options that control this resource's behavior.
112
+ */
113
+ constructor(name: string, args: RecordArgs, opts?: pulumi.CustomResourceOptions);
114
+ }
115
+ /**
116
+ * Input properties used for looking up and filtering Record resources.
117
+ */
118
+ export interface RecordState {
119
+ /**
120
+ * The creation time of the domain.
121
+ */
122
+ createdAt?: pulumi.Input<string>;
123
+ /**
124
+ * Whether the DNS record is enabled.
125
+ */
126
+ enable?: pulumi.Input<boolean>;
127
+ /**
128
+ * The host record, which is the domain prefix of the subdomain.
129
+ */
130
+ host?: pulumi.Input<string>;
131
+ /**
132
+ * The value of the DNS record.
133
+ */
134
+ line?: pulumi.Input<string>;
135
+ /**
136
+ * The account ID that called this API.
137
+ */
138
+ operators?: pulumi.Input<pulumi.Input<string>[]>;
139
+ /**
140
+ * The account ID that called this API.
141
+ */
142
+ pqdn?: pulumi.Input<string>;
143
+ /**
144
+ * The ID of the DNS record.
145
+ */
146
+ recordId?: pulumi.Input<string>;
147
+ /**
148
+ * The ID of the record set where the DNS record is located.
149
+ */
150
+ recordSetId?: pulumi.Input<string>;
151
+ /**
152
+ * The remark for the DNS record.
153
+ */
154
+ remark?: pulumi.Input<string>;
155
+ /**
156
+ * The tag information of the DNS record.
157
+ */
158
+ tags?: pulumi.Input<pulumi.Input<string>[]>;
159
+ /**
160
+ * The Time-To-Live (TTL) of the DNS record, in seconds.
161
+ */
162
+ ttl?: pulumi.Input<number>;
163
+ /**
164
+ * The record type.
165
+ */
166
+ type?: pulumi.Input<string>;
167
+ /**
168
+ * The update time of the domain.
169
+ */
170
+ updatedAt?: pulumi.Input<string>;
171
+ /**
172
+ * The value of the DNS record.
173
+ */
174
+ value?: pulumi.Input<string>;
175
+ /**
176
+ * The weight of the DNS record.
177
+ */
178
+ weight?: pulumi.Input<number>;
179
+ /**
180
+ * The ID of the domain to which you want to add a DNS record.
181
+ */
182
+ zid?: pulumi.Input<number>;
183
+ }
184
+ /**
185
+ * The set of arguments for constructing a Record resource.
186
+ */
187
+ export interface RecordArgs {
188
+ /**
189
+ * The host record, which is the domain prefix of the subdomain.
190
+ */
191
+ host: pulumi.Input<string>;
192
+ /**
193
+ * The value of the DNS record.
194
+ */
195
+ line?: pulumi.Input<string>;
196
+ /**
197
+ * The remark for the DNS record.
198
+ */
199
+ remark?: pulumi.Input<string>;
200
+ /**
201
+ * The Time-To-Live (TTL) of the DNS record, in seconds.
202
+ */
203
+ ttl?: pulumi.Input<number>;
204
+ /**
205
+ * The record type.
206
+ */
207
+ type: pulumi.Input<string>;
208
+ /**
209
+ * The value of the DNS record.
210
+ */
211
+ value: pulumi.Input<string>;
212
+ /**
213
+ * The weight of the DNS record.
214
+ */
215
+ weight?: pulumi.Input<number>;
216
+ /**
217
+ * The ID of the domain to which you want to add a DNS record.
218
+ */
219
+ zid: pulumi.Input<number>;
220
+ }