@volcengine/pulumi-volcenginecc 0.0.43 → 0.0.45

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 (287) hide show
  1. package/alb/acl.d.ts +20 -20
  2. package/alb/acl.js +1 -1
  3. package/alb/certificate.d.ts +19 -3
  4. package/alb/certificate.js +3 -4
  5. package/alb/certificate.js.map +1 -1
  6. package/alb/getAcl.d.ts +11 -11
  7. package/alb/getCertificate.d.ts +5 -1
  8. package/alb/getCertificate.js.map +1 -1
  9. package/alb/getListener.d.ts +20 -20
  10. package/alb/getServerGroup.d.ts +9 -9
  11. package/alb/listener.d.ts +52 -52
  12. package/alb/listener.js +1 -1
  13. package/alb/serverGroup.d.ts +24 -24
  14. package/alb/serverGroup.js +1 -1
  15. package/cbr/backupPolicy.d.ts +2 -2
  16. package/cbr/backupPolicy.js +2 -2
  17. package/cloudidentity/userProvisioning.d.ts +2 -2
  18. package/cloudidentity/userProvisioning.js +2 -2
  19. package/cloudmonitor/eventRule.d.ts +226 -0
  20. package/cloudmonitor/eventRule.js +126 -0
  21. package/cloudmonitor/eventRule.js.map +1 -0
  22. package/cloudmonitor/getEventRule.d.ts +65 -0
  23. package/cloudmonitor/getEventRule.js +28 -0
  24. package/cloudmonitor/getEventRule.js.map +1 -0
  25. package/cloudmonitor/getEventRules.d.ts +22 -0
  26. package/cloudmonitor/getEventRules.js +24 -0
  27. package/cloudmonitor/getEventRules.js.map +1 -0
  28. package/cloudmonitor/getRule.d.ts +11 -11
  29. package/cloudmonitor/index.d.ts +9 -0
  30. package/cloudmonitor/index.js +12 -1
  31. package/cloudmonitor/index.js.map +1 -1
  32. package/cloudmonitor/rule.d.ts +33 -33
  33. package/cr/getRegistry.d.ts +11 -11
  34. package/cr/getVpcEndpoint.d.ts +45 -0
  35. package/cr/getVpcEndpoint.js +28 -0
  36. package/cr/getVpcEndpoint.js.map +1 -0
  37. package/cr/getVpcEndpoints.d.ts +22 -0
  38. package/cr/getVpcEndpoints.js +24 -0
  39. package/cr/getVpcEndpoints.js.map +1 -0
  40. package/cr/index.d.ts +9 -0
  41. package/cr/index.js +12 -1
  42. package/cr/index.js.map +1 -1
  43. package/cr/registry.d.ts +28 -28
  44. package/cr/registry.js +1 -1
  45. package/cr/vpcEndpoint.d.ts +62 -0
  46. package/cr/vpcEndpoint.js +66 -0
  47. package/cr/vpcEndpoint.js.map +1 -0
  48. package/directconnect/connection.d.ts +332 -0
  49. package/directconnect/connection.js +163 -0
  50. package/directconnect/connection.js.map +1 -0
  51. package/directconnect/getConnection.d.ts +145 -0
  52. package/directconnect/getConnection.js +28 -0
  53. package/directconnect/getConnection.js.map +1 -0
  54. package/directconnect/getConnections.d.ts +22 -0
  55. package/directconnect/getConnections.js +24 -0
  56. package/directconnect/getConnections.js.map +1 -0
  57. package/directconnect/index.d.ts +9 -0
  58. package/directconnect/index.js +12 -1
  59. package/directconnect/index.js.map +1 -1
  60. package/dns/backupSchedule.d.ts +89 -0
  61. package/dns/backupSchedule.js +80 -0
  62. package/dns/backupSchedule.js.map +1 -0
  63. package/dns/getBackupSchedule.d.ts +48 -0
  64. package/dns/getBackupSchedule.js +28 -0
  65. package/dns/getBackupSchedule.js.map +1 -0
  66. package/dns/getBackupSchedules.d.ts +22 -0
  67. package/dns/getBackupSchedules.js +24 -0
  68. package/dns/getBackupSchedules.js.map +1 -0
  69. package/dns/index.d.ts +9 -0
  70. package/dns/index.js +12 -1
  71. package/dns/index.js.map +1 -1
  72. package/fwcenter/addressBook.d.ts +210 -0
  73. package/fwcenter/addressBook.js +115 -0
  74. package/fwcenter/addressBook.js.map +1 -0
  75. package/fwcenter/controlPolicy.d.ts +437 -0
  76. package/fwcenter/controlPolicy.js +183 -0
  77. package/fwcenter/controlPolicy.js.map +1 -0
  78. package/fwcenter/getAddressBook.d.ts +93 -0
  79. package/fwcenter/getAddressBook.js +28 -0
  80. package/fwcenter/getAddressBook.js.map +1 -0
  81. package/fwcenter/getAddressBooks.d.ts +22 -0
  82. package/fwcenter/getAddressBooks.js +24 -0
  83. package/fwcenter/getAddressBooks.js.map +1 -0
  84. package/fwcenter/getControlPolicies.d.ts +22 -0
  85. package/fwcenter/getControlPolicies.js +24 -0
  86. package/fwcenter/getControlPolicies.js.map +1 -0
  87. package/fwcenter/getControlPolicy.d.ts +185 -0
  88. package/fwcenter/getControlPolicy.js +28 -0
  89. package/fwcenter/getControlPolicy.js.map +1 -0
  90. package/fwcenter/getVpcFireWallAclRule.d.ts +189 -0
  91. package/fwcenter/getVpcFireWallAclRule.js +28 -0
  92. package/fwcenter/getVpcFireWallAclRule.js.map +1 -0
  93. package/fwcenter/getVpcFireWallAclRules.d.ts +22 -0
  94. package/fwcenter/getVpcFireWallAclRules.js +24 -0
  95. package/fwcenter/getVpcFireWallAclRules.js.map +1 -0
  96. package/fwcenter/index.d.ts +27 -0
  97. package/fwcenter/index.js +34 -1
  98. package/fwcenter/index.js.map +1 -1
  99. package/fwcenter/vpcFireWallAclRule.d.ts +446 -0
  100. package/fwcenter/vpcFireWallAclRule.js +186 -0
  101. package/fwcenter/vpcFireWallAclRule.js.map +1 -0
  102. package/gtm/getGtm.d.ts +9 -0
  103. package/gtm/getGtm.js.map +1 -1
  104. package/gtm/getPolicies.d.ts +22 -0
  105. package/gtm/getPolicies.js +24 -0
  106. package/gtm/getPolicies.js.map +1 -0
  107. package/gtm/getPolicy.d.ts +65 -0
  108. package/gtm/getPolicy.js +28 -0
  109. package/gtm/getPolicy.js.map +1 -0
  110. package/gtm/gtm.d.ts +18 -0
  111. package/gtm/gtm.js +4 -0
  112. package/gtm/gtm.js.map +1 -1
  113. package/gtm/index.d.ts +9 -0
  114. package/gtm/index.js +12 -1
  115. package/gtm/index.js.map +1 -1
  116. package/gtm/policy.d.ts +114 -0
  117. package/gtm/policy.js +76 -0
  118. package/gtm/policy.js.map +1 -0
  119. package/index.d.ts +2 -1
  120. package/index.js +4 -2
  121. package/index.js.map +1 -1
  122. package/kafka/allowList.d.ts +0 -22
  123. package/kafka/allowList.js +0 -22
  124. package/kafka/allowList.js.map +1 -1
  125. package/kafka/getGroup.d.ts +65 -0
  126. package/kafka/getGroup.js +28 -0
  127. package/kafka/getGroup.js.map +1 -0
  128. package/kafka/getGroups.d.ts +22 -0
  129. package/kafka/getGroups.js +24 -0
  130. package/kafka/getGroups.js.map +1 -0
  131. package/kafka/group.d.ts +127 -0
  132. package/kafka/group.js +93 -0
  133. package/kafka/group.js.map +1 -0
  134. package/kafka/index.d.ts +9 -0
  135. package/kafka/index.js +12 -1
  136. package/kafka/index.js.map +1 -1
  137. package/organization/getServiceControlPolicyEnabler.d.ts +48 -0
  138. package/organization/getServiceControlPolicyEnabler.js +28 -0
  139. package/organization/getServiceControlPolicyEnabler.js.map +1 -0
  140. package/organization/getServiceControlPolicyEnablers.d.ts +22 -0
  141. package/organization/getServiceControlPolicyEnablers.js +24 -0
  142. package/organization/getServiceControlPolicyEnablers.js.map +1 -0
  143. package/organization/index.d.ts +9 -0
  144. package/organization/index.js +12 -1
  145. package/organization/index.js.map +1 -1
  146. package/organization/serviceControlPolicyEnabler.d.ts +78 -0
  147. package/organization/serviceControlPolicyEnabler.js +71 -0
  148. package/organization/serviceControlPolicyEnabler.js.map +1 -0
  149. package/package.json +1 -1
  150. package/rabbitmq/allowList.d.ts +0 -17
  151. package/rabbitmq/allowList.js +0 -17
  152. package/rabbitmq/allowList.js.map +1 -1
  153. package/rdsmysql/allowList.d.ts +1 -0
  154. package/rdsmysql/allowList.js +1 -1
  155. package/rdsmysql/allowList.js.map +1 -1
  156. package/rdsmysql/getInstance.d.ts +16 -0
  157. package/rdsmysql/getInstance.js.map +1 -1
  158. package/rdsmysql/instance.d.ts +48 -0
  159. package/rdsmysql/instance.js +8 -0
  160. package/rdsmysql/instance.js.map +1 -1
  161. package/redis/getInstance.d.ts +4 -0
  162. package/redis/getInstance.js.map +1 -1
  163. package/redis/instance.d.ts +3 -0
  164. package/redis/instance.js +3 -0
  165. package/redis/instance.js.map +1 -1
  166. package/redis/parameterGroup.d.ts +2 -2
  167. package/redis/parameterGroup.js +2 -2
  168. package/rocketmq/accessKey.d.ts +126 -0
  169. package/rocketmq/accessKey.js +80 -0
  170. package/rocketmq/accessKey.js.map +1 -0
  171. package/rocketmq/getAccessKey.d.ts +73 -0
  172. package/rocketmq/getAccessKey.js +28 -0
  173. package/rocketmq/getAccessKey.js.map +1 -0
  174. package/rocketmq/getAccessKeys.d.ts +22 -0
  175. package/rocketmq/getAccessKeys.js +24 -0
  176. package/rocketmq/getAccessKeys.js.map +1 -0
  177. package/rocketmq/index.d.ts +9 -0
  178. package/rocketmq/index.js +12 -1
  179. package/rocketmq/index.js.map +1 -1
  180. package/tls/alarmWebhookIntegrationType.d.ts +159 -0
  181. package/tls/alarmWebhookIntegrationType.js +108 -0
  182. package/tls/alarmWebhookIntegrationType.js.map +1 -0
  183. package/tls/etl.d.ts +222 -0
  184. package/tls/etl.js +113 -0
  185. package/tls/etl.js.map +1 -0
  186. package/tls/getAlarmWebhookIntegrationType.d.ts +73 -0
  187. package/tls/getAlarmWebhookIntegrationType.js +28 -0
  188. package/tls/getAlarmWebhookIntegrationType.js.map +1 -0
  189. package/tls/getAlarmWebhookIntegrationTypes.d.ts +22 -0
  190. package/tls/getAlarmWebhookIntegrationTypes.js +24 -0
  191. package/tls/getAlarmWebhookIntegrationTypes.js.map +1 -0
  192. package/tls/getEtl.d.ts +109 -0
  193. package/tls/getEtl.js +28 -0
  194. package/tls/getEtl.js.map +1 -0
  195. package/tls/getEtls.d.ts +22 -0
  196. package/tls/getEtls.js +24 -0
  197. package/tls/getEtls.js.map +1 -0
  198. package/tls/getHost.d.ts +52 -0
  199. package/tls/getHost.js +28 -0
  200. package/tls/getHost.js.map +1 -0
  201. package/tls/getHostGroup.d.ts +113 -0
  202. package/tls/getHostGroup.js +28 -0
  203. package/tls/getHostGroup.js.map +1 -0
  204. package/tls/getHostGroups.d.ts +22 -0
  205. package/tls/getHostGroups.js +24 -0
  206. package/tls/getHostGroups.js.map +1 -0
  207. package/tls/getHosts.d.ts +22 -0
  208. package/tls/getHosts.js +24 -0
  209. package/tls/getHosts.js.map +1 -0
  210. package/tls/host.d.ts +97 -0
  211. package/tls/host.js +82 -0
  212. package/tls/host.js.map +1 -0
  213. package/tls/hostGroup.d.ts +254 -0
  214. package/tls/hostGroup.js +121 -0
  215. package/tls/hostGroup.js.map +1 -0
  216. package/tls/index.d.ts +36 -0
  217. package/tls/index.js +46 -1
  218. package/tls/index.js.map +1 -1
  219. package/tos/bucket.d.ts +12 -0
  220. package/tos/bucket.js +2 -0
  221. package/tos/bucket.js.map +1 -1
  222. package/tos/bucketMirrorBack.d.ts +62 -0
  223. package/tos/bucketMirrorBack.js +63 -0
  224. package/tos/bucketMirrorBack.js.map +1 -0
  225. package/tos/bucketRename.d.ts +74 -0
  226. package/tos/bucketRename.js +72 -0
  227. package/tos/bucketRename.js.map +1 -0
  228. package/tos/bucketWebsite.d.ts +98 -0
  229. package/tos/bucketWebsite.js +69 -0
  230. package/tos/bucketWebsite.js.map +1 -0
  231. package/tos/getBucket.d.ts +4 -0
  232. package/tos/getBucket.js.map +1 -1
  233. package/tos/getBucketMirrorBack.d.ts +45 -0
  234. package/tos/getBucketMirrorBack.js +28 -0
  235. package/tos/getBucketMirrorBack.js.map +1 -0
  236. package/tos/getBucketMirrorBacks.d.ts +22 -0
  237. package/tos/getBucketMirrorBacks.js +24 -0
  238. package/tos/getBucketMirrorBacks.js.map +1 -0
  239. package/tos/getBucketRename.d.ts +44 -0
  240. package/tos/getBucketRename.js +28 -0
  241. package/tos/getBucketRename.js.map +1 -0
  242. package/tos/getBucketRenames.d.ts +22 -0
  243. package/tos/getBucketRenames.js +24 -0
  244. package/tos/getBucketRenames.js.map +1 -0
  245. package/tos/getBucketWebsite.d.ts +57 -0
  246. package/tos/getBucketWebsite.js +28 -0
  247. package/tos/getBucketWebsite.js.map +1 -0
  248. package/tos/getBucketWebsites.d.ts +22 -0
  249. package/tos/getBucketWebsites.js +24 -0
  250. package/tos/getBucketWebsites.js.map +1 -0
  251. package/tos/index.d.ts +27 -0
  252. package/tos/index.js +34 -1
  253. package/tos/index.js.map +1 -1
  254. package/types/input.d.ts +1493 -114
  255. package/types/output.d.ts +4728 -1830
  256. package/veenedge/getVpc.d.ts +101 -0
  257. package/veenedge/getVpc.js +28 -0
  258. package/veenedge/getVpc.js.map +1 -0
  259. package/veenedge/getVpcs.d.ts +22 -0
  260. package/veenedge/getVpcs.js +24 -0
  261. package/veenedge/getVpcs.js.map +1 -0
  262. package/veenedge/index.d.ts +9 -0
  263. package/veenedge/index.js +28 -0
  264. package/veenedge/index.js.map +1 -0
  265. package/veenedge/vpc.d.ts +216 -0
  266. package/veenedge/vpc.js +131 -0
  267. package/veenedge/vpc.js.map +1 -0
  268. package/vke/node.d.ts +1 -1
  269. package/vke/node.js +0 -3
  270. package/vke/node.js.map +1 -1
  271. package/vmp/ruleFile.d.ts +2 -2
  272. package/vmp/ruleFile.js +2 -2
  273. package/vpc/vpc.d.ts +4 -0
  274. package/vpc/vpc.js +1 -1
  275. package/vpc/vpc.js.map +1 -1
  276. package/waf/getHostGroup.d.ts +69 -0
  277. package/waf/getHostGroup.js +28 -0
  278. package/waf/getHostGroup.js.map +1 -0
  279. package/waf/getHostGroups.d.ts +22 -0
  280. package/waf/getHostGroups.js +24 -0
  281. package/waf/getHostGroups.js.map +1 -0
  282. package/waf/hostGroup.d.ts +135 -0
  283. package/waf/hostGroup.js +92 -0
  284. package/waf/hostGroup.js.map +1 -0
  285. package/waf/index.d.ts +9 -0
  286. package/waf/index.js +12 -1
  287. package/waf/index.js.map +1 -1
@@ -0,0 +1,163 @@
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.Connection = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * The physical connection is a dedicated physical connection resource in the dedicated connection service, used to connect the local IDC to the Volcano Engine access point
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
16
+ *
17
+ * const example = new volcenginecc.directconnect.Connection("Example", {
18
+ * bandwidth: 500,
19
+ * customerContactEmail: "zhaoliu@example.com",
20
+ * customerContactPhone: "136xxxx6000",
21
+ * customerName: "赵六",
22
+ * description: "其他运营商物理专线",
23
+ * directConnectAccessPointId: "ap-cn-beijing-cy-A",
24
+ * directConnectConnectionName: "其他运营商专线",
25
+ * lineOperator: "ChinaTelecom",
26
+ * peerLocation: "深圳市南山区某IDC",
27
+ * portSpec: "1G",
28
+ * portType: "1000Base",
29
+ * projectName: "default",
30
+ * tags: [{
31
+ * key: "env",
32
+ * value: "test",
33
+ * }],
34
+ * });
35
+ * ```
36
+ *
37
+ * ## Import
38
+ *
39
+ * ```sh
40
+ * $ pulumi import volcenginecc:directconnect/connection:Connection example "direct_connect_connection_id"
41
+ * ```
42
+ */
43
+ class Connection extends pulumi.CustomResource {
44
+ /**
45
+ * Get an existing Connection resource's state with the given name, ID, and optional extra
46
+ * properties used to qualify the lookup.
47
+ *
48
+ * @param name The _unique_ name of the resulting resource.
49
+ * @param id The _unique_ provider ID of the resource to lookup.
50
+ * @param state Any extra arguments used during the lookup.
51
+ * @param opts Optional settings to control the behavior of the CustomResource.
52
+ */
53
+ static get(name, id, state, opts) {
54
+ return new Connection(name, state, Object.assign(Object.assign({}, opts), { id: id }));
55
+ }
56
+ /**
57
+ * Returns true if the given object is an instance of Connection. This is designed to work even
58
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
59
+ */
60
+ static isInstance(obj) {
61
+ if (obj === undefined || obj === null) {
62
+ return false;
63
+ }
64
+ return obj['__pulumiType'] === Connection.__pulumiType;
65
+ }
66
+ constructor(name, argsOrState, opts) {
67
+ let resourceInputs = {};
68
+ opts = opts || {};
69
+ if (opts.id) {
70
+ const state = argsOrState;
71
+ resourceInputs["accountId"] = state ? state.accountId : undefined;
72
+ resourceInputs["bandwidth"] = state ? state.bandwidth : undefined;
73
+ resourceInputs["billingType"] = state ? state.billingType : undefined;
74
+ resourceInputs["businessStatus"] = state ? state.businessStatus : undefined;
75
+ resourceInputs["connectionType"] = state ? state.connectionType : undefined;
76
+ resourceInputs["creationTime"] = state ? state.creationTime : undefined;
77
+ resourceInputs["customerContactEmail"] = state ? state.customerContactEmail : undefined;
78
+ resourceInputs["customerContactPhone"] = state ? state.customerContactPhone : undefined;
79
+ resourceInputs["customerName"] = state ? state.customerName : undefined;
80
+ resourceInputs["deletedTime"] = state ? state.deletedTime : undefined;
81
+ resourceInputs["description"] = state ? state.description : undefined;
82
+ resourceInputs["directConnectAccessPointId"] = state ? state.directConnectAccessPointId : undefined;
83
+ resourceInputs["directConnectConnectionId"] = state ? state.directConnectConnectionId : undefined;
84
+ resourceInputs["directConnectConnectionName"] = state ? state.directConnectConnectionName : undefined;
85
+ resourceInputs["expectBandwidth"] = state ? state.expectBandwidth : undefined;
86
+ resourceInputs["expiredTime"] = state ? state.expiredTime : undefined;
87
+ resourceInputs["lineOperator"] = state ? state.lineOperator : undefined;
88
+ resourceInputs["parentConnectionAccountId"] = state ? state.parentConnectionAccountId : undefined;
89
+ resourceInputs["parentConnectionId"] = state ? state.parentConnectionId : undefined;
90
+ resourceInputs["peerLocation"] = state ? state.peerLocation : undefined;
91
+ resourceInputs["portSpec"] = state ? state.portSpec : undefined;
92
+ resourceInputs["portType"] = state ? state.portType : undefined;
93
+ resourceInputs["projectName"] = state ? state.projectName : undefined;
94
+ resourceInputs["status"] = state ? state.status : undefined;
95
+ resourceInputs["tags"] = state ? state.tags : undefined;
96
+ resourceInputs["updateTime"] = state ? state.updateTime : undefined;
97
+ resourceInputs["vlanId"] = state ? state.vlanId : undefined;
98
+ }
99
+ else {
100
+ const args = argsOrState;
101
+ if ((!args || args.bandwidth === undefined) && !opts.urn) {
102
+ throw new Error("Missing required property 'bandwidth'");
103
+ }
104
+ if ((!args || args.customerContactEmail === undefined) && !opts.urn) {
105
+ throw new Error("Missing required property 'customerContactEmail'");
106
+ }
107
+ if ((!args || args.customerContactPhone === undefined) && !opts.urn) {
108
+ throw new Error("Missing required property 'customerContactPhone'");
109
+ }
110
+ if ((!args || args.customerName === undefined) && !opts.urn) {
111
+ throw new Error("Missing required property 'customerName'");
112
+ }
113
+ if ((!args || args.directConnectAccessPointId === undefined) && !opts.urn) {
114
+ throw new Error("Missing required property 'directConnectAccessPointId'");
115
+ }
116
+ if ((!args || args.lineOperator === undefined) && !opts.urn) {
117
+ throw new Error("Missing required property 'lineOperator'");
118
+ }
119
+ if ((!args || args.peerLocation === undefined) && !opts.urn) {
120
+ throw new Error("Missing required property 'peerLocation'");
121
+ }
122
+ if ((!args || args.portSpec === undefined) && !opts.urn) {
123
+ throw new Error("Missing required property 'portSpec'");
124
+ }
125
+ if ((!args || args.portType === undefined) && !opts.urn) {
126
+ throw new Error("Missing required property 'portType'");
127
+ }
128
+ resourceInputs["bandwidth"] = args ? args.bandwidth : undefined;
129
+ resourceInputs["customerContactEmail"] = args ? args.customerContactEmail : undefined;
130
+ resourceInputs["customerContactPhone"] = args ? args.customerContactPhone : undefined;
131
+ resourceInputs["customerName"] = args ? args.customerName : undefined;
132
+ resourceInputs["description"] = args ? args.description : undefined;
133
+ resourceInputs["directConnectAccessPointId"] = args ? args.directConnectAccessPointId : undefined;
134
+ resourceInputs["directConnectConnectionName"] = args ? args.directConnectConnectionName : undefined;
135
+ resourceInputs["lineOperator"] = args ? args.lineOperator : undefined;
136
+ resourceInputs["peerLocation"] = args ? args.peerLocation : undefined;
137
+ resourceInputs["portSpec"] = args ? args.portSpec : undefined;
138
+ resourceInputs["portType"] = args ? args.portType : undefined;
139
+ resourceInputs["projectName"] = args ? args.projectName : undefined;
140
+ resourceInputs["tags"] = args ? args.tags : undefined;
141
+ resourceInputs["accountId"] = undefined /*out*/;
142
+ resourceInputs["billingType"] = undefined /*out*/;
143
+ resourceInputs["businessStatus"] = undefined /*out*/;
144
+ resourceInputs["connectionType"] = undefined /*out*/;
145
+ resourceInputs["creationTime"] = undefined /*out*/;
146
+ resourceInputs["deletedTime"] = undefined /*out*/;
147
+ resourceInputs["directConnectConnectionId"] = undefined /*out*/;
148
+ resourceInputs["expectBandwidth"] = undefined /*out*/;
149
+ resourceInputs["expiredTime"] = undefined /*out*/;
150
+ resourceInputs["parentConnectionAccountId"] = undefined /*out*/;
151
+ resourceInputs["parentConnectionId"] = undefined /*out*/;
152
+ resourceInputs["status"] = undefined /*out*/;
153
+ resourceInputs["updateTime"] = undefined /*out*/;
154
+ resourceInputs["vlanId"] = undefined /*out*/;
155
+ }
156
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
157
+ super(Connection.__pulumiType, name, resourceInputs, opts);
158
+ }
159
+ }
160
+ exports.Connection = Connection;
161
+ /** @internal */
162
+ Connection.__pulumiType = 'volcenginecc:directconnect/connection:Connection';
163
+ //# sourceMappingURL=connection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"connection.js","sourceRoot":"","sources":["../../directconnect/connection.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS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,GAAG,kDAAkD,CAAC"}
@@ -0,0 +1,145 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Data Source schema for Volcengine::DirectConnect::Connection
5
+ */
6
+ export declare function getConnection(args: GetConnectionArgs, opts?: pulumi.InvokeOptions): Promise<GetConnectionResult>;
7
+ /**
8
+ * A collection of arguments for invoking getConnection.
9
+ */
10
+ export interface GetConnectionArgs {
11
+ /**
12
+ * Uniquely identifies the resource.
13
+ */
14
+ id: string;
15
+ }
16
+ /**
17
+ * A collection of values returned by getConnection.
18
+ */
19
+ export interface GetConnectionResult {
20
+ /**
21
+ * Account ID of the physical connection owner
22
+ */
23
+ readonly accountId: string;
24
+ /**
25
+ * Line bandwidth in Mbps. If not specified, defaults to the port specification bandwidth. 1000Base specification range: 1 ~ 1000; 10GBase specification range: 1 ~ 10000; 40GBase specification range: 1 ~ 40000; 100GBase specification range: 1 ~ 100000
26
+ */
27
+ readonly bandwidth: number;
28
+ /**
29
+ * Connection billing type. Currently only 1 is supported, indicating annual/monthly subscription billing
30
+ */
31
+ readonly billingType: number;
32
+ /**
33
+ * Billing status of the connection. Normal: normal; FinancialLocked: locked
34
+ */
35
+ readonly businessStatus: string;
36
+ /**
37
+ * Type of the physical connection. DedicatedConnection: dedicated connection; SharedConnection: shared connection
38
+ */
39
+ readonly connectionType: string;
40
+ /**
41
+ * Time when the physical connection was created
42
+ */
43
+ readonly creationTime: string;
44
+ /**
45
+ * Email address of the dedicated connection contact
46
+ */
47
+ readonly customerContactEmail: string;
48
+ /**
49
+ * Phone number of the dedicated connection contact
50
+ */
51
+ readonly customerContactPhone: string;
52
+ /**
53
+ * Name of the dedicated connection contact
54
+ */
55
+ readonly customerName: string;
56
+ /**
57
+ * Expected resource forced reclaim time
58
+ */
59
+ readonly deletedTime: string;
60
+ /**
61
+ * Description of the physical connection. Length limit: 0 ~ 255 characters
62
+ */
63
+ readonly description: string;
64
+ /**
65
+ * ID of the physical connection access point. You can call DescribeDirectConnectAccessPoints to query access point information
66
+ */
67
+ readonly directConnectAccessPointId: string;
68
+ /**
69
+ * ID of the physical dedicated line.
70
+ */
71
+ readonly directConnectConnectionId: string;
72
+ /**
73
+ * Name of the physical connection. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), space, underscore (_), hyphen (-), equals sign (=), English comma (,), Chinese comma (,), Chinese period (。). Length limit: 1 ~ 128 characters
74
+ */
75
+ readonly directConnectConnectionName: string;
76
+ /**
77
+ * Expected bandwidth of the physical connection in Mbps
78
+ */
79
+ readonly expectBandwidth: number;
80
+ /**
81
+ * Connection expiration time
82
+ */
83
+ readonly expiredTime: string;
84
+ /**
85
+ * Uniquely identifies the resource.
86
+ */
87
+ readonly id: string;
88
+ /**
89
+ * Operator of the physical dedicated line. ChinaTelecom refers to China Telecom, ChinaMobile refers to China Mobile, ChinaUnicom refers to China Unicom, ChinaOther refers to other operators in China with the required telecom business qualifications. Only international operators are allowed in bp environments.
90
+ */
91
+ readonly lineOperator: string;
92
+ /**
93
+ * Account ID of the physical connection associated with the shared connection. If the physical connection type is DedicatedConnection, this parameter returns empty
94
+ */
95
+ readonly parentConnectionAccountId: string;
96
+ /**
97
+ * ID of the physical dedicated line to which the shared dedicated line belongs. If the physical dedicated line type is dedicated, this parameter returns empty.
98
+ */
99
+ readonly parentConnectionId: string;
100
+ /**
101
+ * Local IDC address or the remote access point of the physical dedicated line.
102
+ */
103
+ readonly peerLocation: string;
104
+ /**
105
+ * Port specification of the physical dedicated line. Dedicated lines support 1G, 10G, 40G, and 100G. 40G and 100G are not enabled by default; contact your account manager to request a trial.
106
+ */
107
+ readonly portSpec: string;
108
+ /**
109
+ * Port type of the physical connection. 1000Base: 1G optical port; 10GBase: 10G optical port; 40GBase: 40G optical port; 100GBase: 100G optical port. 40GBase and 100GBase are not open by default; contact your account manager to request a trial
110
+ */
111
+ readonly portType: string;
112
+ /**
113
+ * Project to which the physical dedicated line belongs. If left blank, the default project is used.
114
+ */
115
+ readonly projectName: string;
116
+ /**
117
+ * Status of the physical connection. Creating: being created; Deleting: being deleted; Pending: being configured; Available: available; Initial: applying; Allocated: under construction; Rejected: application rejected; UnConfirmed: waiting for acceptance; NoPayment: pending payment
118
+ */
119
+ readonly status: string;
120
+ /**
121
+ * All tag information added to the physical connection
122
+ */
123
+ readonly tags: outputs.directconnect.GetConnectionTag[];
124
+ /**
125
+ * Time when the physical dedicated line was updated.
126
+ */
127
+ readonly updateTime: string;
128
+ /**
129
+ * VLAN ID of the shared connection. If the physical connection type is DedicatedConnection, returns 0
130
+ */
131
+ readonly vlanId: number;
132
+ }
133
+ /**
134
+ * Data Source schema for Volcengine::DirectConnect::Connection
135
+ */
136
+ export declare function getConnectionOutput(args: GetConnectionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetConnectionResult>;
137
+ /**
138
+ * A collection of arguments for invoking getConnection.
139
+ */
140
+ export interface GetConnectionOutputArgs {
141
+ /**
142
+ * Uniquely identifies the resource.
143
+ */
144
+ id: pulumi.Input<string>;
145
+ }
@@ -0,0 +1,28 @@
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.getConnectionOutput = exports.getConnection = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Data Source schema for Volcengine::DirectConnect::Connection
10
+ */
11
+ function getConnection(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("volcenginecc:directconnect/getConnection:getConnection", {
14
+ "id": args.id,
15
+ }, opts);
16
+ }
17
+ exports.getConnection = getConnection;
18
+ /**
19
+ * Data Source schema for Volcengine::DirectConnect::Connection
20
+ */
21
+ function getConnectionOutput(args, opts) {
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invokeOutput("volcenginecc:directconnect/getConnection:getConnection", {
24
+ "id": args.id,
25
+ }, opts);
26
+ }
27
+ exports.getConnectionOutput = getConnectionOutput;
28
+ //# sourceMappingURL=getConnection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getConnection.js","sourceRoot":"","sources":["../../directconnect/getConnection.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wDAAwD,EAAE;QACnF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sCAKC;AAiID;;GAEG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAAiC;IAChG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wDAAwD,EAAE;QACzF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kDAKC"}
@@ -0,0 +1,22 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Plural Data Source schema for Volcengine::DirectConnect::Connection
4
+ */
5
+ export declare function getConnections(opts?: pulumi.InvokeOptions): Promise<GetConnectionsResult>;
6
+ /**
7
+ * A collection of values returned by getConnections.
8
+ */
9
+ export interface GetConnectionsResult {
10
+ /**
11
+ * Uniquely identifies the data source.
12
+ */
13
+ readonly id: string;
14
+ /**
15
+ * Set of Resource Identifiers.
16
+ */
17
+ readonly ids: string[];
18
+ }
19
+ /**
20
+ * Plural Data Source schema for Volcengine::DirectConnect::Connection
21
+ */
22
+ export declare function getConnectionsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetConnectionsResult>;
@@ -0,0 +1,24 @@
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.getConnectionsOutput = exports.getConnections = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Plural Data Source schema for Volcengine::DirectConnect::Connection
10
+ */
11
+ function getConnections(opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("volcenginecc:directconnect/getConnections:getConnections", {}, opts);
14
+ }
15
+ exports.getConnections = getConnections;
16
+ /**
17
+ * Plural Data Source schema for Volcengine::DirectConnect::Connection
18
+ */
19
+ function getConnectionsOutput(opts) {
20
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
21
+ return pulumi.runtime.invokeOutput("volcenginecc:directconnect/getConnections:getConnections", {}, opts);
22
+ }
23
+ exports.getConnectionsOutput = getConnectionsOutput;
24
+ //# sourceMappingURL=getConnections.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getConnections.js","sourceRoot":"","sources":["../../directconnect/getConnections.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,cAAc,CAAC,IAA2B;IACtD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0DAA0D,EAAE,EACxF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,wCAIC;AAeD;;GAEG;AACH,SAAgB,oBAAoB,CAAC,IAAiC;IAClE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0DAA0D,EAAE,EAC9F,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,oDAIC"}
@@ -1,6 +1,9 @@
1
1
  export { BgpPeerArgs, BgpPeerState } from "./bgpPeer";
2
2
  export type BgpPeer = import("./bgpPeer").BgpPeer;
3
3
  export declare const BgpPeer: typeof import("./bgpPeer").BgpPeer;
4
+ export { ConnectionArgs, ConnectionState } from "./connection";
5
+ export type Connection = import("./connection").Connection;
6
+ export declare const Connection: typeof import("./connection").Connection;
4
7
  export { DirectConnectGatewayArgs, DirectConnectGatewayState } from "./directConnectGateway";
5
8
  export type DirectConnectGateway = import("./directConnectGateway").DirectConnectGateway;
6
9
  export declare const DirectConnectGateway: typeof import("./directConnectGateway").DirectConnectGateway;
@@ -13,6 +16,12 @@ export declare const getBgpPeerOutput: typeof import("./getBgpPeer").getBgpPeerO
13
16
  export { GetBgpPeersResult } from "./getBgpPeers";
14
17
  export declare const getBgpPeers: typeof import("./getBgpPeers").getBgpPeers;
15
18
  export declare const getBgpPeersOutput: typeof import("./getBgpPeers").getBgpPeersOutput;
19
+ export { GetConnectionArgs, GetConnectionResult, GetConnectionOutputArgs } from "./getConnection";
20
+ export declare const getConnection: typeof import("./getConnection").getConnection;
21
+ export declare const getConnectionOutput: typeof import("./getConnection").getConnectionOutput;
22
+ export { GetConnectionsResult } from "./getConnections";
23
+ export declare const getConnections: typeof import("./getConnections").getConnections;
24
+ export declare const getConnectionsOutput: typeof import("./getConnections").getConnectionsOutput;
16
25
  export { GetDirectConnectGatewayArgs, GetDirectConnectGatewayResult, GetDirectConnectGatewayOutputArgs } from "./getDirectConnectGateway";
17
26
  export declare const getDirectConnectGateway: typeof import("./getDirectConnectGateway").getDirectConnectGateway;
18
27
  export declare const getDirectConnectGatewayOutput: typeof import("./getDirectConnectGateway").getDirectConnectGatewayOutput;
@@ -2,11 +2,13 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.VirtualInterface = exports.getVirtualInterfacesOutput = exports.getVirtualInterfaces = exports.getVirtualInterfaceOutput = exports.getVirtualInterface = exports.getGatewayRoutesOutput = exports.getGatewayRoutes = exports.getGatewayRouteOutput = exports.getGatewayRoute = exports.getDirectConnectGatewaysOutput = exports.getDirectConnectGateways = exports.getDirectConnectGatewayOutput = exports.getDirectConnectGateway = exports.getBgpPeersOutput = exports.getBgpPeers = exports.getBgpPeerOutput = exports.getBgpPeer = exports.GatewayRoute = exports.DirectConnectGateway = exports.BgpPeer = void 0;
5
+ exports.VirtualInterface = exports.getVirtualInterfacesOutput = exports.getVirtualInterfaces = exports.getVirtualInterfaceOutput = exports.getVirtualInterface = exports.getGatewayRoutesOutput = exports.getGatewayRoutes = exports.getGatewayRouteOutput = exports.getGatewayRoute = exports.getDirectConnectGatewaysOutput = exports.getDirectConnectGateways = exports.getDirectConnectGatewayOutput = exports.getDirectConnectGateway = exports.getConnectionsOutput = exports.getConnections = exports.getConnectionOutput = exports.getConnection = exports.getBgpPeersOutput = exports.getBgpPeers = exports.getBgpPeerOutput = exports.getBgpPeer = exports.GatewayRoute = exports.DirectConnectGateway = exports.Connection = exports.BgpPeer = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  exports.BgpPeer = null;
9
9
  utilities.lazyLoad(exports, ["BgpPeer"], () => require("./bgpPeer"));
10
+ exports.Connection = null;
11
+ utilities.lazyLoad(exports, ["Connection"], () => require("./connection"));
10
12
  exports.DirectConnectGateway = null;
11
13
  utilities.lazyLoad(exports, ["DirectConnectGateway"], () => require("./directConnectGateway"));
12
14
  exports.GatewayRoute = null;
@@ -17,6 +19,12 @@ utilities.lazyLoad(exports, ["getBgpPeer", "getBgpPeerOutput"], () => require(".
17
19
  exports.getBgpPeers = null;
18
20
  exports.getBgpPeersOutput = null;
19
21
  utilities.lazyLoad(exports, ["getBgpPeers", "getBgpPeersOutput"], () => require("./getBgpPeers"));
22
+ exports.getConnection = null;
23
+ exports.getConnectionOutput = null;
24
+ utilities.lazyLoad(exports, ["getConnection", "getConnectionOutput"], () => require("./getConnection"));
25
+ exports.getConnections = null;
26
+ exports.getConnectionsOutput = null;
27
+ utilities.lazyLoad(exports, ["getConnections", "getConnectionsOutput"], () => require("./getConnections"));
20
28
  exports.getDirectConnectGateway = null;
21
29
  exports.getDirectConnectGatewayOutput = null;
22
30
  utilities.lazyLoad(exports, ["getDirectConnectGateway", "getDirectConnectGatewayOutput"], () => require("./getDirectConnectGateway"));
@@ -43,6 +51,8 @@ const _module = {
43
51
  switch (type) {
44
52
  case "volcenginecc:directconnect/bgpPeer:BgpPeer":
45
53
  return new exports.BgpPeer(name, undefined, { urn });
54
+ case "volcenginecc:directconnect/connection:Connection":
55
+ return new exports.Connection(name, undefined, { urn });
46
56
  case "volcenginecc:directconnect/directConnectGateway:DirectConnectGateway":
47
57
  return new exports.DirectConnectGateway(name, undefined, { urn });
48
58
  case "volcenginecc:directconnect/gatewayRoute:GatewayRoute":
@@ -55,6 +65,7 @@ const _module = {
55
65
  },
56
66
  };
57
67
  pulumi.runtime.registerResourceModule("volcenginecc", "directconnect/bgpPeer", _module);
68
+ pulumi.runtime.registerResourceModule("volcenginecc", "directconnect/connection", _module);
58
69
  pulumi.runtime.registerResourceModule("volcenginecc", "directconnect/directConnectGateway", _module);
59
70
  pulumi.runtime.registerResourceModule("volcenginecc", "directconnect/gatewayRoute", _module);
60
71
  pulumi.runtime.registerResourceModule("volcenginecc", "directconnect/virtualInterface", _module);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../directconnect/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,OAAO,GAAuC,IAAW,CAAC;AACvE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AAIxD,QAAA,oBAAoB,GAAiE,IAAW,CAAC;AAC9G,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,sBAAsB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,wBAAwB,CAAC,CAAC,CAAC;AAIlF,QAAA,YAAY,GAAiD,IAAW,CAAC;AACtF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,cAAc,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC;AAGlE,QAAA,UAAU,GAA6C,IAAW,CAAC;AACnE,QAAA,gBAAgB,GAAmD,IAAW,CAAC;AAC5F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,YAAY,EAAC,kBAAkB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC;AAGjF,QAAA,WAAW,GAA+C,IAAW,CAAC;AACtE,QAAA,iBAAiB,GAAqD,IAAW,CAAC;AAC/F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,aAAa,EAAC,mBAAmB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC;AAGpF,QAAA,uBAAuB,GAAuE,IAAW,CAAC;AAC1G,QAAA,6BAA6B,GAA6E,IAAW,CAAC;AACnI,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC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C1D,KAAK,8DAA8D;gBAC/D,OAAO,IAAI,wBAAgB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC9D;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,uBAAuB,EAAE,OAAO,CAAC,CAAA;AACvF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,0BAA0B,EAAE,OAAO,CAAC,CAAA;AAC1F,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,oCAAoC,EAAE,OAAO,CAAC,CAAA;AACpG,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,4BAA4B,EAAE,OAAO,CAAC,CAAA;AAC5F,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,gCAAgC,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,89 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Domain backup plan configuration.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
10
+ *
11
+ * const dNSBackupScheduleDemo = new volcenginecc.dns.BackupSchedule("DNSBackupScheduleDemo", {
12
+ * zid: "2xxxx71",
13
+ * schedule: 1,
14
+ * });
15
+ * ```
16
+ *
17
+ * ## Import
18
+ *
19
+ * ```sh
20
+ * $ pulumi import volcenginecc:dns/backupSchedule:BackupSchedule example "zid"
21
+ * ```
22
+ */
23
+ export declare class BackupSchedule extends pulumi.CustomResource {
24
+ /**
25
+ * Get an existing BackupSchedule resource's state with the given name, ID, and optional extra
26
+ * properties used to qualify the lookup.
27
+ *
28
+ * @param name The _unique_ name of the resulting resource.
29
+ * @param id The _unique_ provider ID of the resource to lookup.
30
+ * @param state Any extra arguments used during the lookup.
31
+ * @param opts Optional settings to control the behavior of the CustomResource.
32
+ */
33
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: BackupScheduleState, opts?: pulumi.CustomResourceOptions): BackupSchedule;
34
+ /**
35
+ * Returns true if the given object is an instance of BackupSchedule. This is designed to work even
36
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
37
+ */
38
+ static isInstance(obj: any): obj is BackupSchedule;
39
+ /**
40
+ * Backup quantity limit.
41
+ */
42
+ readonly countLimit: pulumi.Output<number>;
43
+ /**
44
+ * Backup plan: - 0: Disable automatic backup. - 1: Automatically back up every hour. - 2: Automatically back up every day. - 3: Automatically back up every month.
45
+ */
46
+ readonly schedule: pulumi.Output<number>;
47
+ /**
48
+ * You need to obtain the ID of the domain name for the backup plan. You can call the ListZones API to get the domain name ID.
49
+ */
50
+ readonly zid: pulumi.Output<string>;
51
+ /**
52
+ * Create a BackupSchedule resource with the given unique name, arguments, and options.
53
+ *
54
+ * @param name The _unique_ name of the resource.
55
+ * @param args The arguments to use to populate this resource's properties.
56
+ * @param opts A bag of options that control this resource's behavior.
57
+ */
58
+ constructor(name: string, args: BackupScheduleArgs, opts?: pulumi.CustomResourceOptions);
59
+ }
60
+ /**
61
+ * Input properties used for looking up and filtering BackupSchedule resources.
62
+ */
63
+ export interface BackupScheduleState {
64
+ /**
65
+ * Backup quantity limit.
66
+ */
67
+ countLimit?: pulumi.Input<number>;
68
+ /**
69
+ * Backup plan: - 0: Disable automatic backup. - 1: Automatically back up every hour. - 2: Automatically back up every day. - 3: Automatically back up every month.
70
+ */
71
+ schedule?: pulumi.Input<number>;
72
+ /**
73
+ * You need to obtain the ID of the domain name for the backup plan. You can call the ListZones API to get the domain name ID.
74
+ */
75
+ zid?: pulumi.Input<string>;
76
+ }
77
+ /**
78
+ * The set of arguments for constructing a BackupSchedule resource.
79
+ */
80
+ export interface BackupScheduleArgs {
81
+ /**
82
+ * Backup plan: - 0: Disable automatic backup. - 1: Automatically back up every hour. - 2: Automatically back up every day. - 3: Automatically back up every month.
83
+ */
84
+ schedule: pulumi.Input<number>;
85
+ /**
86
+ * You need to obtain the ID of the domain name for the backup plan. You can call the ListZones API to get the domain name ID.
87
+ */
88
+ zid: pulumi.Input<string>;
89
+ }