@pulumi/alicloud 3.6.0 → 3.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (673) hide show
  1. package/alb/acl.d.ts +130 -0
  2. package/alb/acl.js +91 -0
  3. package/alb/acl.js.map +1 -0
  4. package/alb/getAcls.d.ts +77 -0
  5. package/alb/getAcls.js +48 -0
  6. package/alb/getAcls.js.map +1 -0
  7. package/alb/getHealthCheckTemplates.d.ts +64 -0
  8. package/alb/getHealthCheckTemplates.js +47 -0
  9. package/alb/getHealthCheckTemplates.js.map +1 -0
  10. package/alb/getListeners.d.ts +69 -0
  11. package/alb/getListeners.js +45 -0
  12. package/alb/getListeners.js.map +1 -0
  13. package/alb/getLoadBalancers.d.ts +111 -0
  14. package/alb/getLoadBalancers.js +54 -0
  15. package/alb/getLoadBalancers.js.map +1 -0
  16. package/alb/getRules.d.ts +74 -0
  17. package/alb/getRules.js +49 -0
  18. package/alb/getRules.js.map +1 -0
  19. package/alb/getZones.d.ts +38 -0
  20. package/alb/getZones.js +37 -0
  21. package/alb/getZones.js.map +1 -0
  22. package/alb/healthCheckTemplate.d.ts +220 -0
  23. package/alb/healthCheckTemplate.js +105 -0
  24. package/alb/healthCheckTemplate.js.map +1 -0
  25. package/alb/index.d.ts +11 -0
  26. package/alb/index.js +31 -0
  27. package/alb/index.js.map +1 -1
  28. package/alb/listener.d.ts +268 -0
  29. package/alb/listener.js +108 -0
  30. package/alb/listener.js.map +1 -0
  31. package/alb/loadBalancer.d.ts +219 -0
  32. package/alb/loadBalancer.js +109 -0
  33. package/alb/loadBalancer.js.map +1 -0
  34. package/alb/rule.d.ts +134 -0
  35. package/alb/rule.js +94 -0
  36. package/alb/rule.js.map +1 -0
  37. package/alb/serverGroup.d.ts +63 -3
  38. package/alb/serverGroup.js +63 -3
  39. package/alb/serverGroup.js.map +1 -1
  40. package/alikafka/instance.d.ts +4 -2
  41. package/alikafka/instance.js +2 -0
  42. package/alikafka/instance.js.map +1 -1
  43. package/amqp/binding.d.ts +190 -0
  44. package/amqp/binding.js +129 -0
  45. package/amqp/binding.js.map +1 -0
  46. package/amqp/getBindings.d.ts +50 -0
  47. package/amqp/getBindings.js +40 -0
  48. package/amqp/getBindings.js.map +1 -0
  49. package/amqp/index.d.ts +2 -0
  50. package/amqp/index.js +6 -0
  51. package/amqp/index.js.map +1 -1
  52. package/arms/dispatchRule.d.ts +187 -0
  53. package/arms/dispatchRule.js +144 -0
  54. package/arms/dispatchRule.js.map +1 -0
  55. package/arms/getDispatchRules.d.ts +62 -0
  56. package/arms/getDispatchRules.js +45 -0
  57. package/arms/getDispatchRules.js.map +1 -0
  58. package/arms/getPrometheusAlertRules.d.ts +78 -0
  59. package/arms/getPrometheusAlertRules.js +53 -0
  60. package/arms/getPrometheusAlertRules.js.map +1 -0
  61. package/arms/index.d.ts +4 -0
  62. package/arms/index.js +12 -0
  63. package/arms/index.js.map +1 -1
  64. package/arms/prometheusAlertRule.d.ts +197 -0
  65. package/arms/prometheusAlertRule.js +117 -0
  66. package/arms/prometheusAlertRule.js.map +1 -0
  67. package/bastionhost/getHostAccounts.d.ts +81 -0
  68. package/bastionhost/getHostAccounts.js +55 -0
  69. package/bastionhost/getHostAccounts.js.map +1 -0
  70. package/bastionhost/getHostGroups.d.ts +69 -0
  71. package/bastionhost/getHostGroups.js +51 -0
  72. package/bastionhost/getHostGroups.js.map +1 -0
  73. package/bastionhost/getHosts.d.ts +99 -0
  74. package/bastionhost/getHosts.js +57 -0
  75. package/bastionhost/getHosts.js.map +1 -0
  76. package/bastionhost/getInstances.d.ts +79 -0
  77. package/bastionhost/getInstances.js +43 -0
  78. package/bastionhost/getInstances.js.map +1 -0
  79. package/bastionhost/getUserGroups.d.ts +69 -0
  80. package/bastionhost/getUserGroups.js +51 -0
  81. package/bastionhost/getUserGroups.js.map +1 -0
  82. package/bastionhost/getUsers.d.ts +94 -0
  83. package/bastionhost/getUsers.js +56 -0
  84. package/bastionhost/getUsers.js.map +1 -0
  85. package/bastionhost/host.d.ts +206 -0
  86. package/bastionhost/host.js +118 -0
  87. package/bastionhost/host.js.map +1 -0
  88. package/bastionhost/hostAccount.d.ts +160 -0
  89. package/bastionhost/hostAccount.js +108 -0
  90. package/bastionhost/hostAccount.js.map +1 -0
  91. package/bastionhost/hostAccountUserAttachment.d.ts +139 -0
  92. package/bastionhost/hostAccountUserAttachment.js +123 -0
  93. package/bastionhost/hostAccountUserAttachment.js.map +1 -0
  94. package/bastionhost/hostAccountUserGroupAttachment.d.ts +135 -0
  95. package/bastionhost/hostAccountUserGroupAttachment.js +119 -0
  96. package/bastionhost/hostAccountUserGroupAttachment.js.map +1 -0
  97. package/bastionhost/hostAttachment.d.ts +100 -0
  98. package/bastionhost/hostAttachment.js +91 -0
  99. package/bastionhost/hostAttachment.js.map +1 -0
  100. package/bastionhost/hostGroup.d.ts +109 -0
  101. package/bastionhost/hostGroup.js +91 -0
  102. package/bastionhost/hostGroup.js.map +1 -0
  103. package/bastionhost/hostGroupAccountUserAttachment.d.ts +143 -0
  104. package/bastionhost/hostGroupAccountUserAttachment.js +127 -0
  105. package/bastionhost/hostGroupAccountUserAttachment.js.map +1 -0
  106. package/bastionhost/hostGroupAccountUserGroupAttachment.d.ts +139 -0
  107. package/bastionhost/hostGroupAccountUserGroupAttachment.js +123 -0
  108. package/bastionhost/hostGroupAccountUserGroupAttachment.js.map +1 -0
  109. package/bastionhost/index.d.ts +18 -0
  110. package/bastionhost/index.js +87 -0
  111. package/bastionhost/index.js.map +1 -0
  112. package/bastionhost/instance.d.ts +157 -0
  113. package/bastionhost/instance.js +114 -0
  114. package/bastionhost/instance.js.map +1 -0
  115. package/bastionhost/user.d.ts +281 -0
  116. package/bastionhost/user.js +123 -0
  117. package/bastionhost/user.js.map +1 -0
  118. package/bastionhost/userAttachment.d.ts +100 -0
  119. package/bastionhost/userAttachment.js +91 -0
  120. package/bastionhost/userAttachment.js.map +1 -0
  121. package/bastionhost/userGroup.d.ts +109 -0
  122. package/bastionhost/userGroup.js +91 -0
  123. package/bastionhost/userGroup.js.map +1 -0
  124. package/cddc/dedicatedHostGroup.d.ts +171 -0
  125. package/cddc/dedicatedHostGroup.js +109 -0
  126. package/cddc/dedicatedHostGroup.js.map +1 -0
  127. package/cddc/getDedicatedHostGroups.d.ts +49 -0
  128. package/cddc/getDedicatedHostGroups.js +41 -0
  129. package/cddc/getDedicatedHostGroups.js.map +1 -0
  130. package/cddc/index.d.ts +2 -0
  131. package/cddc/index.js +27 -0
  132. package/cddc/index.js.map +1 -0
  133. package/cdn/domainConfig.d.ts +21 -1
  134. package/cdn/domainConfig.js +9 -1
  135. package/cdn/domainConfig.js.map +1 -1
  136. package/cdn/getRealTimeLogDeliveries.d.ts +49 -0
  137. package/cdn/getRealTimeLogDeliveries.js +40 -0
  138. package/cdn/getRealTimeLogDeliveries.js.map +1 -0
  139. package/cdn/index.d.ts +2 -0
  140. package/cdn/index.js +6 -0
  141. package/cdn/index.js.map +1 -1
  142. package/cdn/realTimeLogDelivery.d.ts +123 -0
  143. package/cdn/realTimeLogDelivery.js +101 -0
  144. package/cdn/realTimeLogDelivery.js.map +1 -0
  145. package/clickhouse/account.d.ts +140 -0
  146. package/clickhouse/account.js +115 -0
  147. package/clickhouse/account.js.map +1 -0
  148. package/clickhouse/dbCluster.d.ts +270 -0
  149. package/clickhouse/dbCluster.js +140 -0
  150. package/clickhouse/dbCluster.js.map +1 -0
  151. package/clickhouse/getAccounts.d.ts +82 -0
  152. package/clickhouse/getAccounts.js +64 -0
  153. package/clickhouse/getAccounts.js.map +1 -0
  154. package/clickhouse/getDbClusters.d.ts +70 -0
  155. package/clickhouse/getDbClusters.js +54 -0
  156. package/clickhouse/getDbClusters.js.map +1 -0
  157. package/clickhouse/getRegions.d.ts +51 -0
  158. package/clickhouse/getRegions.js +43 -0
  159. package/clickhouse/getRegions.js.map +1 -0
  160. package/clickhouse/index.d.ts +5 -0
  161. package/clickhouse/index.js +34 -0
  162. package/clickhouse/index.js.map +1 -0
  163. package/cloudauth/faceConfig.d.ts +97 -0
  164. package/cloudauth/faceConfig.js +89 -0
  165. package/cloudauth/faceConfig.js.map +1 -0
  166. package/cloudauth/getFaceConfigs.d.ts +55 -0
  167. package/cloudauth/getFaceConfigs.js +46 -0
  168. package/cloudauth/getFaceConfigs.js.map +1 -0
  169. package/cloudauth/index.d.ts +2 -0
  170. package/cloudauth/index.js +27 -0
  171. package/cloudauth/index.js.map +1 -0
  172. package/cloudfirewall/controlPolicyOrder.d.ts +1 -1
  173. package/cloudfirewall/controlPolicyOrder.js +1 -1
  174. package/cloudsso/directory.d.ts +115 -0
  175. package/cloudsso/directory.js +86 -0
  176. package/cloudsso/directory.js.map +1 -0
  177. package/cloudsso/getDirectories.d.ts +61 -0
  178. package/cloudsso/getDirectories.js +48 -0
  179. package/cloudsso/getDirectories.js.map +1 -0
  180. package/cloudsso/getGroups.d.ts +71 -0
  181. package/cloudsso/getGroups.js +53 -0
  182. package/cloudsso/getGroups.js.map +1 -0
  183. package/cloudsso/getScimServerCredentials.d.ts +60 -0
  184. package/cloudsso/getScimServerCredentials.js +47 -0
  185. package/cloudsso/getScimServerCredentials.js.map +1 -0
  186. package/cloudsso/group.d.ts +97 -0
  187. package/cloudsso/group.js +79 -0
  188. package/cloudsso/group.js.map +1 -0
  189. package/cloudsso/index.d.ts +6 -0
  190. package/cloudsso/index.js +39 -0
  191. package/cloudsso/index.js.map +1 -0
  192. package/cloudsso/scimServerCredential.d.ts +85 -0
  193. package/cloudsso/scimServerCredential.js +74 -0
  194. package/cloudsso/scimServerCredential.js.map +1 -0
  195. package/cloudstoragegateway/gateway.d.ts +239 -0
  196. package/cloudstoragegateway/gateway.js +137 -0
  197. package/cloudstoragegateway/gateway.js.map +1 -0
  198. package/cloudstoragegateway/getGateways.d.ts +62 -0
  199. package/cloudstoragegateway/getGateways.js +44 -0
  200. package/cloudstoragegateway/getGateways.js.map +1 -0
  201. package/cloudstoragegateway/index.d.ts +2 -0
  202. package/cloudstoragegateway/index.js +6 -0
  203. package/cloudstoragegateway/index.js.map +1 -1
  204. package/cms/alarm.d.ts +6 -6
  205. package/cms/getMetricRuleTemplates.d.ts +82 -0
  206. package/cms/getMetricRuleTemplates.js +57 -0
  207. package/cms/getMetricRuleTemplates.js.map +1 -0
  208. package/cms/index.d.ts +2 -0
  209. package/cms/index.js +6 -0
  210. package/cms/index.js.map +1 -1
  211. package/cms/metricRuleTemplate.d.ts +207 -0
  212. package/cms/metricRuleTemplate.js +115 -0
  213. package/cms/metricRuleTemplate.js.map +1 -0
  214. package/config/vars.d.ts +6 -2
  215. package/config/vars.js +6 -2
  216. package/config/vars.js.map +1 -1
  217. package/cr/registryEnterpriseInstance.d.ts +42 -0
  218. package/cr/registryEnterpriseInstance.js +6 -0
  219. package/cr/registryEnterpriseInstance.js.map +1 -1
  220. package/cs/edgeKubernetes.d.ts +1 -1
  221. package/cs/getRegistryEnterpriseInstances.d.ts +5 -0
  222. package/cs/getRegistryEnterpriseInstances.js +1 -0
  223. package/cs/getRegistryEnterpriseInstances.js.map +1 -1
  224. package/cs/nodePool.d.ts +3 -3
  225. package/databasefilesystem/getInstances.d.ts +59 -0
  226. package/databasefilesystem/getInstances.js +46 -0
  227. package/databasefilesystem/getInstances.js.map +1 -0
  228. package/databasefilesystem/index.d.ts +2 -0
  229. package/databasefilesystem/index.js +27 -0
  230. package/databasefilesystem/index.js.map +1 -0
  231. package/databasefilesystem/instance.d.ts +232 -0
  232. package/databasefilesystem/instance.js +122 -0
  233. package/databasefilesystem/instance.js.map +1 -0
  234. package/databasegateway/gateway.d.ts +96 -0
  235. package/databasegateway/gateway.js +85 -0
  236. package/databasegateway/gateway.js.map +1 -0
  237. package/databasegateway/getGateways.d.ts +69 -0
  238. package/databasegateway/getGateways.js +48 -0
  239. package/databasegateway/getGateways.js.map +1 -0
  240. package/databasegateway/index.d.ts +2 -0
  241. package/databasegateway/index.js +27 -0
  242. package/databasegateway/index.js.map +1 -0
  243. package/dfs/accessGroup.d.ts +101 -0
  244. package/dfs/accessGroup.js +89 -0
  245. package/dfs/accessGroup.js.map +1 -0
  246. package/dfs/getAccessGroups.d.ts +62 -0
  247. package/dfs/getAccessGroups.js +49 -0
  248. package/dfs/getAccessGroups.js.map +1 -0
  249. package/dfs/index.d.ts +2 -0
  250. package/dfs/index.js +27 -0
  251. package/dfs/index.js.map +1 -0
  252. package/directmail/domain.d.ts +84 -0
  253. package/directmail/domain.js +83 -0
  254. package/directmail/domain.js.map +1 -0
  255. package/directmail/getDomains.d.ts +75 -0
  256. package/directmail/getDomains.js +54 -0
  257. package/directmail/getDomains.js.map +1 -0
  258. package/directmail/getMailAddresses.d.ts +59 -0
  259. package/directmail/getMailAddresses.js +43 -0
  260. package/directmail/getMailAddresses.js.map +1 -0
  261. package/directmail/index.d.ts +4 -0
  262. package/directmail/index.js +12 -0
  263. package/directmail/index.js.map +1 -1
  264. package/directmail/mailAddress.d.ts +126 -0
  265. package/directmail/mailAddress.js +98 -0
  266. package/directmail/mailAddress.js.map +1 -0
  267. package/dts/getSubscriptionJobs.d.ts +64 -0
  268. package/dts/getSubscriptionJobs.js +42 -0
  269. package/dts/getSubscriptionJobs.js.map +1 -0
  270. package/dts/getSynchronizationJobs.d.ts +54 -0
  271. package/dts/getSynchronizationJobs.js +41 -0
  272. package/dts/getSynchronizationJobs.js.map +1 -0
  273. package/dts/index.d.ts +6 -0
  274. package/dts/index.js +43 -0
  275. package/dts/index.js.map +1 -0
  276. package/dts/jobMonitorRule.d.ts +125 -0
  277. package/dts/jobMonitorRule.js +93 -0
  278. package/dts/jobMonitorRule.js.map +1 -0
  279. package/dts/subscriptionJob.d.ts +590 -0
  280. package/dts/subscriptionJob.js +218 -0
  281. package/dts/subscriptionJob.js.map +1 -0
  282. package/dts/synchronizationInstance.d.ts +222 -0
  283. package/dts/synchronizationInstance.js +123 -0
  284. package/dts/synchronizationInstance.js.map +1 -0
  285. package/dts/synchronizationJob.d.ts +548 -0
  286. package/dts/synchronizationJob.js +216 -0
  287. package/dts/synchronizationJob.js.map +1 -0
  288. package/eais/getInstances.d.ts +64 -0
  289. package/eais/getInstances.js +47 -0
  290. package/eais/getInstances.js.map +1 -0
  291. package/eais/index.d.ts +2 -0
  292. package/eais/index.js +27 -0
  293. package/eais/index.js.map +1 -0
  294. package/eais/instance.d.ts +119 -0
  295. package/eais/instance.js +84 -0
  296. package/eais/instance.js.map +1 -0
  297. package/ecs/copyImage.d.ts +3 -0
  298. package/ecs/copyImage.js +2 -0
  299. package/ecs/copyImage.js.map +1 -1
  300. package/ecs/image.d.ts +3 -0
  301. package/ecs/image.js +2 -0
  302. package/ecs/image.js.map +1 -1
  303. package/ecs/imageCopy.d.ts +3 -0
  304. package/ecs/imageCopy.js +2 -0
  305. package/ecs/imageCopy.js.map +1 -1
  306. package/ecs/instance.d.ts +3 -3
  307. package/ehpc/getJobTemplates.d.ts +48 -0
  308. package/ehpc/getJobTemplates.js +44 -0
  309. package/ehpc/getJobTemplates.js.map +1 -0
  310. package/ehpc/index.d.ts +2 -0
  311. package/ehpc/index.js +27 -0
  312. package/ehpc/index.js.map +1 -0
  313. package/ehpc/jobTemplate.d.ts +269 -0
  314. package/ehpc/jobTemplate.js +117 -0
  315. package/ehpc/jobTemplate.js.map +1 -0
  316. package/ens/getKeyPairs.d.ts +57 -0
  317. package/ens/getKeyPairs.js +42 -0
  318. package/ens/getKeyPairs.js.map +1 -0
  319. package/ens/index.d.ts +2 -0
  320. package/ens/index.js +27 -0
  321. package/ens/index.js.map +1 -0
  322. package/ens/keyPair.d.ts +89 -0
  323. package/ens/keyPair.js +87 -0
  324. package/ens/keyPair.js.map +1 -0
  325. package/ess/scalingConfiguration.d.ts +12 -0
  326. package/ess/scalingConfiguration.js +2 -0
  327. package/ess/scalingConfiguration.js.map +1 -1
  328. package/eventbridge/slr.d.ts +4 -4
  329. package/eventbridge/slr.js +1 -1
  330. package/expressconnect/getAccessPoints.d.ts +59 -0
  331. package/expressconnect/getAccessPoints.js +46 -0
  332. package/expressconnect/getAccessPoints.js.map +1 -0
  333. package/expressconnect/getPhysicalConnectionService.d.ts +43 -0
  334. package/expressconnect/getPhysicalConnectionService.js +38 -0
  335. package/expressconnect/getPhysicalConnectionService.js.map +1 -0
  336. package/expressconnect/getPhysicalConnections.d.ts +64 -0
  337. package/expressconnect/getPhysicalConnections.js +47 -0
  338. package/expressconnect/getPhysicalConnections.js.map +1 -0
  339. package/expressconnect/getVirtualBorderRouters.d.ts +46 -0
  340. package/expressconnect/getVirtualBorderRouters.js +29 -0
  341. package/expressconnect/getVirtualBorderRouters.js.map +1 -0
  342. package/expressconnect/index.d.ts +6 -0
  343. package/expressconnect/index.js +35 -0
  344. package/expressconnect/index.js.map +1 -0
  345. package/expressconnect/physicalConnection.d.ts +246 -0
  346. package/expressconnect/physicalConnection.js +124 -0
  347. package/expressconnect/physicalConnection.js.map +1 -0
  348. package/expressconnect/virtualBorderRouter.d.ts +303 -0
  349. package/expressconnect/virtualBorderRouter.js +140 -0
  350. package/expressconnect/virtualBorderRouter.js.map +1 -0
  351. package/getMscSubContacts.d.ts +52 -0
  352. package/getMscSubContacts.js +43 -0
  353. package/getMscSubContacts.js.map +1 -0
  354. package/getMscSubSubscriptions.d.ts +37 -0
  355. package/getMscSubSubscriptions.js +37 -0
  356. package/getMscSubSubscriptions.js.map +1 -0
  357. package/getZones.d.ts +0 -1
  358. package/gpdb/instance.d.ts +2 -2
  359. package/gpdb/instance.js +2 -2
  360. package/graphdatabase/dbInstance.d.ts +192 -0
  361. package/graphdatabase/dbInstance.js +128 -0
  362. package/graphdatabase/dbInstance.js.map +1 -0
  363. package/graphdatabase/getDbInstances.d.ts +69 -0
  364. package/graphdatabase/getDbInstances.js +53 -0
  365. package/graphdatabase/getDbInstances.js.map +1 -0
  366. package/graphdatabase/index.d.ts +2 -0
  367. package/graphdatabase/index.js +27 -0
  368. package/graphdatabase/index.js.map +1 -0
  369. package/hbr/ecsBackupClient.d.ts +218 -0
  370. package/hbr/ecsBackupClient.js +123 -0
  371. package/hbr/ecsBackupClient.js.map +1 -0
  372. package/hbr/ecsBackupPlan.d.ts +245 -0
  373. package/hbr/ecsBackupPlan.js +153 -0
  374. package/hbr/ecsBackupPlan.js.map +1 -0
  375. package/hbr/getBackupJobs.d.ts +47 -0
  376. package/hbr/getBackupJobs.js +29 -0
  377. package/hbr/getBackupJobs.js.map +1 -0
  378. package/hbr/getEcsBackupClients.d.ts +59 -0
  379. package/hbr/getEcsBackupClients.js +47 -0
  380. package/hbr/getEcsBackupClients.js.map +1 -0
  381. package/hbr/getEcsBackupPlans.d.ts +60 -0
  382. package/hbr/getEcsBackupPlans.js +43 -0
  383. package/hbr/getEcsBackupPlans.js.map +1 -0
  384. package/hbr/getNasBackupPlans.d.ts +60 -0
  385. package/hbr/getNasBackupPlans.js +43 -0
  386. package/hbr/getNasBackupPlans.js.map +1 -0
  387. package/hbr/getOssBackupPlans.d.ts +2 -2
  388. package/hbr/getRestoreJobs.d.ts +84 -0
  389. package/hbr/getRestoreJobs.js +50 -0
  390. package/hbr/getRestoreJobs.js.map +1 -0
  391. package/hbr/getSnapshots.d.ts +84 -0
  392. package/hbr/getSnapshots.js +37 -0
  393. package/hbr/getSnapshots.js.map +1 -0
  394. package/hbr/index.d.ts +10 -0
  395. package/hbr/index.js +26 -0
  396. package/hbr/index.js.map +1 -1
  397. package/hbr/nasBackupPlan.d.ts +232 -0
  398. package/hbr/nasBackupPlan.js +142 -0
  399. package/hbr/nasBackupPlan.js.map +1 -0
  400. package/hbr/ossBackupPlan.d.ts +32 -31
  401. package/hbr/ossBackupPlan.js +15 -5
  402. package/hbr/ossBackupPlan.js.map +1 -1
  403. package/hbr/restoreJob.d.ts +284 -0
  404. package/hbr/restoreJob.js +154 -0
  405. package/hbr/restoreJob.js.map +1 -0
  406. package/hbr/vault.d.ts +2 -2
  407. package/hbr/vault.js +2 -2
  408. package/imm/getProjects.d.ts +44 -0
  409. package/imm/getProjects.js +40 -0
  410. package/imm/getProjects.js.map +1 -0
  411. package/imm/index.d.ts +2 -0
  412. package/imm/index.js +27 -0
  413. package/imm/index.js.map +1 -0
  414. package/imm/project.d.ts +108 -0
  415. package/imm/project.js +103 -0
  416. package/imm/project.js.map +1 -0
  417. package/imp/appTemplate.d.ts +145 -0
  418. package/imp/appTemplate.js +100 -0
  419. package/imp/appTemplate.js.map +1 -0
  420. package/imp/getAppTemplates.d.ts +57 -0
  421. package/imp/getAppTemplates.js +44 -0
  422. package/imp/getAppTemplates.js.map +1 -0
  423. package/imp/index.d.ts +2 -0
  424. package/imp/index.js +27 -0
  425. package/imp/index.js.map +1 -0
  426. package/index.d.ts +31 -1
  427. package/index.js +74 -0
  428. package/index.js.map +1 -1
  429. package/iot/deviceGroup.d.ts +112 -0
  430. package/iot/deviceGroup.js +87 -0
  431. package/iot/deviceGroup.js.map +1 -0
  432. package/iot/getDeviceGroups.d.ts +67 -0
  433. package/iot/getDeviceGroups.js +43 -0
  434. package/iot/getDeviceGroups.js.map +1 -0
  435. package/iot/index.d.ts +2 -0
  436. package/iot/index.js +18 -0
  437. package/iot/index.js.map +1 -1
  438. package/kvstore/instance.d.ts +3 -3
  439. package/lindorm/getInstances.d.ts +72 -0
  440. package/lindorm/getInstances.js +47 -0
  441. package/lindorm/getInstances.js.map +1 -0
  442. package/lindorm/index.d.ts +2 -0
  443. package/lindorm/index.js +27 -0
  444. package/lindorm/index.js.map +1 -0
  445. package/lindorm/instance.d.ts +383 -0
  446. package/lindorm/instance.js +128 -0
  447. package/lindorm/instance.js.map +1 -0
  448. package/log/audit.d.ts +50 -0
  449. package/log/audit.js +40 -0
  450. package/log/audit.js.map +1 -1
  451. package/mhub/app.d.ts +153 -0
  452. package/mhub/app.js +104 -0
  453. package/mhub/app.js.map +1 -0
  454. package/mhub/getApps.d.ts +51 -0
  455. package/mhub/getApps.js +29 -0
  456. package/mhub/getApps.js.map +1 -0
  457. package/mhub/getProducts.d.ts +55 -0
  458. package/mhub/getProducts.js +46 -0
  459. package/mhub/getProducts.js.map +1 -0
  460. package/mhub/index.d.ts +4 -0
  461. package/mhub/index.js +33 -0
  462. package/mhub/index.js.map +1 -0
  463. package/mhub/product.d.ts +76 -0
  464. package/mhub/product.js +81 -0
  465. package/mhub/product.js.map +1 -0
  466. package/mongodb/instance.d.ts +21 -0
  467. package/mongodb/instance.js +2 -0
  468. package/mongodb/instance.js.map +1 -1
  469. package/mongodb/shardingInstance.d.ts +21 -0
  470. package/mongodb/shardingInstance.js +2 -0
  471. package/mongodb/shardingInstance.js.map +1 -1
  472. package/mscSubContract.d.ts +113 -0
  473. package/mscSubContract.js +97 -0
  474. package/mscSubContract.js.map +1 -0
  475. package/mscSubSubscription.d.ts +179 -0
  476. package/mscSubSubscription.js +102 -0
  477. package/mscSubSubscription.js.map +1 -0
  478. package/opensearch/appGroup.d.ts +190 -0
  479. package/opensearch/appGroup.js +117 -0
  480. package/opensearch/appGroup.js.map +1 -0
  481. package/opensearch/getAppGroups.d.ts +84 -0
  482. package/opensearch/getAppGroups.js +58 -0
  483. package/opensearch/getAppGroups.js.map +1 -0
  484. package/opensearch/index.d.ts +2 -0
  485. package/opensearch/index.js +27 -0
  486. package/opensearch/index.js.map +1 -0
  487. package/package.json +2 -2
  488. package/package.json.dev +1 -1
  489. package/polardb/endpoint.d.ts +8 -1
  490. package/polardb/endpoint.js +7 -1
  491. package/polardb/endpoint.js.map +1 -1
  492. package/provider.d.ts +6 -2
  493. package/provider.js +2 -0
  494. package/provider.js.map +1 -1
  495. package/pvtz/index.d.ts +1 -0
  496. package/pvtz/index.js +5 -0
  497. package/pvtz/index.js.map +1 -1
  498. package/pvtz/userVpcAuthorization.d.ts +100 -0
  499. package/pvtz/userVpcAuthorization.js +85 -0
  500. package/pvtz/userVpcAuthorization.js.map +1 -0
  501. package/quickbi/getUsers.d.ts +54 -0
  502. package/quickbi/getUsers.js +42 -0
  503. package/quickbi/getUsers.js.map +1 -0
  504. package/quickbi/index.d.ts +2 -0
  505. package/quickbi/index.js +27 -0
  506. package/quickbi/index.js.map +1 -0
  507. package/quickbi/user.d.ts +140 -0
  508. package/quickbi/user.js +107 -0
  509. package/quickbi/user.js.map +1 -0
  510. package/rdc/getOrganizations.d.ts +65 -0
  511. package/rdc/getOrganizations.js +52 -0
  512. package/rdc/getOrganizations.js.map +1 -0
  513. package/rdc/index.d.ts +2 -0
  514. package/rdc/index.js +27 -0
  515. package/rdc/index.js.map +1 -0
  516. package/rdc/organization.d.ts +113 -0
  517. package/rdc/organization.js +91 -0
  518. package/rdc/organization.js.map +1 -0
  519. package/rds/getInstanceClasses.d.ts +8 -3
  520. package/rds/getInstanceClasses.js +1 -0
  521. package/rds/getInstanceClasses.js.map +1 -1
  522. package/rds/getInstanceEngines.d.ts +18 -1
  523. package/rds/getInstanceEngines.js +2 -0
  524. package/rds/getInstanceEngines.js.map +1 -1
  525. package/rds/getInstances.d.ts +5 -0
  526. package/rds/getInstances.js +1 -0
  527. package/rds/getInstances.js.map +1 -1
  528. package/rds/getZones.d.ts +28 -1
  529. package/rds/getZones.js +6 -0
  530. package/rds/getZones.js.map +1 -1
  531. package/rds/instance.d.ts +52 -1
  532. package/rds/instance.js +4 -0
  533. package/rds/instance.js.map +1 -1
  534. package/sae/application.d.ts +705 -0
  535. package/sae/application.js +216 -0
  536. package/sae/application.js.map +1 -0
  537. package/sae/getApplications.d.ts +116 -0
  538. package/sae/getApplications.js +80 -0
  539. package/sae/getApplications.js.map +1 -0
  540. package/sae/getIngresses.d.ts +40 -0
  541. package/sae/getIngresses.js +27 -0
  542. package/sae/getIngresses.js.map +1 -0
  543. package/sae/index.d.ts +4 -0
  544. package/sae/index.js +12 -0
  545. package/sae/index.js.map +1 -1
  546. package/sae/ingress.d.ts +192 -0
  547. package/sae/ingress.js +145 -0
  548. package/sae/ingress.js.map +1 -0
  549. package/sddp/config.d.ts +113 -0
  550. package/sddp/config.js +85 -0
  551. package/sddp/config.js.map +1 -0
  552. package/sddp/getConfigs.d.ts +51 -0
  553. package/sddp/getConfigs.js +46 -0
  554. package/sddp/getConfigs.js.map +1 -0
  555. package/sddp/getInstances.d.ts +37 -0
  556. package/sddp/getInstances.js +37 -0
  557. package/sddp/getInstances.js.map +1 -0
  558. package/sddp/getRules.d.ts +104 -0
  559. package/sddp/getRules.js +58 -0
  560. package/sddp/getRules.js.map +1 -0
  561. package/sddp/index.d.ts +6 -0
  562. package/sddp/index.js +39 -0
  563. package/sddp/index.js.map +1 -0
  564. package/sddp/instance.d.ts +279 -0
  565. package/sddp/instance.js +146 -0
  566. package/sddp/instance.js.map +1 -0
  567. package/sddp/rule.d.ts +296 -0
  568. package/sddp/rule.js +119 -0
  569. package/sddp/rule.js.map +1 -0
  570. package/securitycenter/getGroups.d.ts +50 -0
  571. package/securitycenter/getGroups.js +41 -0
  572. package/securitycenter/getGroups.js.map +1 -0
  573. package/securitycenter/group.d.ts +88 -0
  574. package/securitycenter/group.js +80 -0
  575. package/securitycenter/group.js.map +1 -0
  576. package/securitycenter/index.d.ts +2 -0
  577. package/securitycenter/index.js +27 -0
  578. package/securitycenter/index.js.map +1 -0
  579. package/servicemesh/getServiceMeshes.d.ts +66 -0
  580. package/servicemesh/getServiceMeshes.js +52 -0
  581. package/servicemesh/getServiceMeshes.js.map +1 -0
  582. package/servicemesh/index.d.ts +2 -0
  583. package/servicemesh/index.js +27 -0
  584. package/servicemesh/index.js.map +1 -0
  585. package/servicemesh/serviceMesh.d.ts +144 -0
  586. package/servicemesh/serviceMesh.js +82 -0
  587. package/servicemesh/serviceMesh.js.map +1 -0
  588. package/simpleapplicationserver/getImages.d.ts +33 -0
  589. package/simpleapplicationserver/getImages.js +23 -0
  590. package/simpleapplicationserver/getImages.js.map +1 -0
  591. package/simpleapplicationserver/getInstances.d.ts +64 -0
  592. package/simpleapplicationserver/getInstances.js +47 -0
  593. package/simpleapplicationserver/getInstances.js.map +1 -0
  594. package/simpleapplicationserver/getServerPlans.d.ts +73 -0
  595. package/simpleapplicationserver/getServerPlans.js +49 -0
  596. package/simpleapplicationserver/getServerPlans.js.map +1 -0
  597. package/simpleapplicationserver/index.d.ts +4 -0
  598. package/simpleapplicationserver/index.js +29 -0
  599. package/simpleapplicationserver/index.js.map +1 -0
  600. package/simpleapplicationserver/instance.d.ts +171 -0
  601. package/simpleapplicationserver/instance.js +92 -0
  602. package/simpleapplicationserver/instance.js.map +1 -0
  603. package/slb/getTlsCipherPolicies.d.ts +72 -0
  604. package/slb/getTlsCipherPolicies.js +51 -0
  605. package/slb/getTlsCipherPolicies.js.map +1 -0
  606. package/slb/index.d.ts +2 -0
  607. package/slb/index.js +6 -0
  608. package/slb/index.js.map +1 -1
  609. package/slb/listener.d.ts +8 -5
  610. package/slb/listener.js +2 -2
  611. package/slb/listener.js.map +1 -1
  612. package/slb/tlsCipherPolicy.d.ts +113 -0
  613. package/slb/tlsCipherPolicy.js +98 -0
  614. package/slb/tlsCipherPolicy.js.map +1 -0
  615. package/types/input.d.ts +1040 -27
  616. package/types/output.d.ts +15106 -8672
  617. package/videosurveillance/getSystemGroups.d.ts +72 -0
  618. package/videosurveillance/getSystemGroups.js +51 -0
  619. package/videosurveillance/getSystemGroups.js.map +1 -0
  620. package/videosurveillance/index.d.ts +2 -0
  621. package/videosurveillance/index.js +18 -0
  622. package/videosurveillance/index.js.map +1 -1
  623. package/videosurveillance/systemGroup.d.ts +220 -0
  624. package/videosurveillance/systemGroup.js +125 -0
  625. package/videosurveillance/systemGroup.js.map +1 -0
  626. package/vod/domain.d.ts +231 -0
  627. package/vod/domain.js +122 -0
  628. package/vod/domain.js.map +1 -0
  629. package/vod/getDomains.d.ts +92 -0
  630. package/vod/getDomains.js +61 -0
  631. package/vod/getDomains.js.map +1 -0
  632. package/vod/index.d.ts +2 -0
  633. package/vod/index.js +27 -0
  634. package/vod/index.js.map +1 -0
  635. package/vpc/dhcpOptionsSet.d.ts +156 -0
  636. package/vpc/dhcpOptionsSet.js +95 -0
  637. package/vpc/dhcpOptionsSet.js.map +1 -0
  638. package/vpc/getDhcpOptionsSets.d.ts +87 -0
  639. package/vpc/getDhcpOptionsSets.js +62 -0
  640. package/vpc/getDhcpOptionsSets.js.map +1 -0
  641. package/vpc/getNatIpCidrs.d.ts +56 -0
  642. package/vpc/getNatIpCidrs.js +30 -0
  643. package/vpc/getNatIpCidrs.js.map +1 -0
  644. package/vpc/getNatIps.d.ts +105 -0
  645. package/vpc/getNatIps.js +78 -0
  646. package/vpc/getNatIps.js.map +1 -0
  647. package/vpc/index.d.ts +6 -0
  648. package/vpc/index.js +18 -0
  649. package/vpc/index.js.map +1 -1
  650. package/vpc/natGateway.d.ts +23 -11
  651. package/vpc/natGateway.js +2 -0
  652. package/vpc/natGateway.js.map +1 -1
  653. package/vpc/natIp.d.ts +190 -0
  654. package/vpc/natIp.js +129 -0
  655. package/vpc/natIp.js.map +1 -0
  656. package/vpc/natIpCidr.d.ts +156 -0
  657. package/vpc/natIpCidr.js +115 -0
  658. package/vpc/natIpCidr.js.map +1 -0
  659. package/waf/certificate.d.ts +145 -0
  660. package/waf/certificate.js +103 -0
  661. package/waf/certificate.js.map +1 -0
  662. package/waf/getCertificates.d.ts +62 -0
  663. package/waf/getCertificates.js +44 -0
  664. package/waf/getCertificates.js.map +1 -0
  665. package/waf/index.d.ts +2 -0
  666. package/waf/index.js +6 -0
  667. package/waf/index.js.map +1 -1
  668. package/yundun/bastionHostInstance.d.ts +0 -89
  669. package/yundun/bastionHostInstance.js +0 -35
  670. package/yundun/bastionHostInstance.js.map +1 -1
  671. package/yundun/getBastionHostInstances.d.ts +0 -46
  672. package/yundun/getBastionHostInstances.js +0 -18
  673. package/yundun/getBastionHostInstances.js.map +1 -1
@@ -0,0 +1,69 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { output as outputs } from "../types";
3
+ /**
4
+ * This data source provides the Database Gateway Gateways of the current Alibaba Cloud user.
5
+ *
6
+ * > **NOTE:** Available in v1.135.0+.
7
+ *
8
+ * ## Example Usage
9
+ *
10
+ * Basic Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as alicloud from "@pulumi/alicloud";
15
+ *
16
+ * const ids = alicloud.databasegateway.getGateways({
17
+ * ids: ["example_id"],
18
+ * });
19
+ * export const databaseGatewayGatewayId1 = ids.then(ids => ids.gateways[0].id);
20
+ * const nameRegex = alicloud.databasegateway.getGateways({
21
+ * nameRegex: "^my-Gateway",
22
+ * });
23
+ * export const databaseGatewayGatewayId2 = nameRegex.then(nameRegex => nameRegex.gateways[0].id);
24
+ * ```
25
+ */
26
+ export declare function getGateways(args?: GetGatewaysArgs, opts?: pulumi.InvokeOptions): Promise<GetGatewaysResult>;
27
+ /**
28
+ * A collection of arguments for invoking getGateways.
29
+ */
30
+ export interface GetGatewaysArgs {
31
+ /**
32
+ * Default to `false`. Set it to `true` can output more details about resource attributes.
33
+ */
34
+ readonly enableDetails?: boolean;
35
+ /**
36
+ * A list of Gateway IDs.
37
+ */
38
+ readonly ids?: string[];
39
+ /**
40
+ * A regex string to filter results by Gateway name.
41
+ */
42
+ readonly nameRegex?: string;
43
+ readonly outputFile?: string;
44
+ /**
45
+ * The search key.
46
+ */
47
+ readonly searchKey?: string;
48
+ /**
49
+ * The status of gateway. Valid values: `EXCEPTION`, `NEW`, `RUNNING`, `STOPPED`.
50
+ */
51
+ readonly status?: string;
52
+ }
53
+ /**
54
+ * A collection of values returned by getGateways.
55
+ */
56
+ export interface GetGatewaysResult {
57
+ readonly enableDetails?: boolean;
58
+ readonly gateways: outputs.databasegateway.GetGatewaysGateway[];
59
+ /**
60
+ * The provider-assigned unique ID for this managed resource.
61
+ */
62
+ readonly id: string;
63
+ readonly ids: string[];
64
+ readonly nameRegex?: string;
65
+ readonly names: string[];
66
+ readonly outputFile?: string;
67
+ readonly searchKey?: string;
68
+ readonly status?: string;
69
+ }
@@ -0,0 +1,48 @@
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
+ const pulumi = require("@pulumi/pulumi");
6
+ const utilities = require("../utilities");
7
+ /**
8
+ * This data source provides the Database Gateway Gateways of the current Alibaba Cloud user.
9
+ *
10
+ * > **NOTE:** Available in v1.135.0+.
11
+ *
12
+ * ## Example Usage
13
+ *
14
+ * Basic Usage
15
+ *
16
+ * ```typescript
17
+ * import * as pulumi from "@pulumi/pulumi";
18
+ * import * as alicloud from "@pulumi/alicloud";
19
+ *
20
+ * const ids = alicloud.databasegateway.getGateways({
21
+ * ids: ["example_id"],
22
+ * });
23
+ * export const databaseGatewayGatewayId1 = ids.then(ids => ids.gateways[0].id);
24
+ * const nameRegex = alicloud.databasegateway.getGateways({
25
+ * nameRegex: "^my-Gateway",
26
+ * });
27
+ * export const databaseGatewayGatewayId2 = nameRegex.then(nameRegex => nameRegex.gateways[0].id);
28
+ * ```
29
+ */
30
+ function getGateways(args, opts) {
31
+ args = args || {};
32
+ if (!opts) {
33
+ opts = {};
34
+ }
35
+ if (!opts.version) {
36
+ opts.version = utilities.getVersion();
37
+ }
38
+ return pulumi.runtime.invoke("alicloud:databasegateway/getGateways:getGateways", {
39
+ "enableDetails": args.enableDetails,
40
+ "ids": args.ids,
41
+ "nameRegex": args.nameRegex,
42
+ "outputFile": args.outputFile,
43
+ "searchKey": args.searchKey,
44
+ "status": args.status,
45
+ }, opts);
46
+ }
47
+ exports.getGateways = getGateways;
48
+ //# sourceMappingURL=getGateways.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getGateways.js","sourceRoot":"","sources":["../../databasegateway/getGateways.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,SAAgB,WAAW,CAAC,IAAsB,EAAE,IAA2B;IAC3E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE;QAC7E,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAjBD,kCAiBC"}
@@ -0,0 +1,2 @@
1
+ export * from "./gateway";
2
+ export * from "./getGateways";
@@ -0,0 +1,27 @@
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
+ function __export(m) {
5
+ for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
6
+ }
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ const pulumi = require("@pulumi/pulumi");
9
+ const utilities = require("../utilities");
10
+ // Export members:
11
+ __export(require("./gateway"));
12
+ __export(require("./getGateways"));
13
+ // Import resources to register:
14
+ const gateway_1 = require("./gateway");
15
+ const _module = {
16
+ version: utilities.getVersion(),
17
+ construct: (name, type, urn) => {
18
+ switch (type) {
19
+ case "alicloud:databasegateway/gateway:Gateway":
20
+ return new gateway_1.Gateway(name, undefined, { urn });
21
+ default:
22
+ throw new Error(`unknown resource type ${type}`);
23
+ }
24
+ },
25
+ };
26
+ pulumi.runtime.registerResourceModule("alicloud", "databasegateway/gateway", _module);
27
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../databasegateway/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,+BAA0B;AAC1B,mCAA8B;AAE9B,gCAAgC;AAChC,uCAAoC;AAEpC,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,0CAA0C;gBAC3C,OAAO,IAAI,iBAAO,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACrD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,yBAAyB,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,101 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides a DFS Access Group resource.
4
+ *
5
+ * For information about DFS Access Group and how to use it, see [What is Access Group](https://www.alibabacloud.com/help/doc-detail/207144.htm).
6
+ *
7
+ * > **NOTE:** Available in v1.133.0+.
8
+ *
9
+ * ## Example Usage
10
+ *
11
+ * Basic Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as alicloud from "@pulumi/alicloud";
16
+ *
17
+ * const example = new alicloud.dfs.AccessGroup("example", {
18
+ * accessGroupName: "example_value",
19
+ * networkType: "VPC",
20
+ * });
21
+ * ```
22
+ *
23
+ * ## Import
24
+ *
25
+ * DFS Access Group can be imported using the id, e.g.
26
+ *
27
+ * ```sh
28
+ * $ pulumi import alicloud:dfs/accessGroup:AccessGroup example <id>
29
+ * ```
30
+ */
31
+ export declare class AccessGroup extends pulumi.CustomResource {
32
+ /**
33
+ * Get an existing AccessGroup resource's state with the given name, ID, and optional extra
34
+ * properties used to qualify the lookup.
35
+ *
36
+ * @param name The _unique_ name of the resulting resource.
37
+ * @param id The _unique_ provider ID of the resource to lookup.
38
+ * @param state Any extra arguments used during the lookup.
39
+ * @param opts Optional settings to control the behavior of the CustomResource.
40
+ */
41
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AccessGroupState, opts?: pulumi.CustomResourceOptions): AccessGroup;
42
+ /**
43
+ * Returns true if the given object is an instance of AccessGroup. This is designed to work even
44
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
45
+ */
46
+ static isInstance(obj: any): obj is AccessGroup;
47
+ /**
48
+ * The Name of Access Group.The length of `accessGroupName` does not exceed 100 bytes.
49
+ */
50
+ readonly accessGroupName: pulumi.Output<string>;
51
+ /**
52
+ * The Description of Access Group. The length of `description` does not exceed 100 bytes.
53
+ */
54
+ readonly description: pulumi.Output<string | undefined>;
55
+ /**
56
+ * The NetworkType of Access Group. Valid values: `VPC`.
57
+ */
58
+ readonly networkType: pulumi.Output<string>;
59
+ /**
60
+ * Create a AccessGroup resource with the given unique name, arguments, and options.
61
+ *
62
+ * @param name The _unique_ name of the resource.
63
+ * @param args The arguments to use to populate this resource's properties.
64
+ * @param opts A bag of options that control this resource's behavior.
65
+ */
66
+ constructor(name: string, args: AccessGroupArgs, opts?: pulumi.CustomResourceOptions);
67
+ }
68
+ /**
69
+ * Input properties used for looking up and filtering AccessGroup resources.
70
+ */
71
+ export interface AccessGroupState {
72
+ /**
73
+ * The Name of Access Group.The length of `accessGroupName` does not exceed 100 bytes.
74
+ */
75
+ readonly accessGroupName?: pulumi.Input<string>;
76
+ /**
77
+ * The Description of Access Group. The length of `description` does not exceed 100 bytes.
78
+ */
79
+ readonly description?: pulumi.Input<string>;
80
+ /**
81
+ * The NetworkType of Access Group. Valid values: `VPC`.
82
+ */
83
+ readonly networkType?: pulumi.Input<string>;
84
+ }
85
+ /**
86
+ * The set of arguments for constructing a AccessGroup resource.
87
+ */
88
+ export interface AccessGroupArgs {
89
+ /**
90
+ * The Name of Access Group.The length of `accessGroupName` does not exceed 100 bytes.
91
+ */
92
+ readonly accessGroupName: pulumi.Input<string>;
93
+ /**
94
+ * The Description of Access Group. The length of `description` does not exceed 100 bytes.
95
+ */
96
+ readonly description?: pulumi.Input<string>;
97
+ /**
98
+ * The NetworkType of Access Group. Valid values: `VPC`.
99
+ */
100
+ readonly networkType: pulumi.Input<string>;
101
+ }
@@ -0,0 +1,89 @@
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
+ const pulumi = require("@pulumi/pulumi");
6
+ const utilities = require("../utilities");
7
+ /**
8
+ * Provides a DFS Access Group resource.
9
+ *
10
+ * For information about DFS Access Group and how to use it, see [What is Access Group](https://www.alibabacloud.com/help/doc-detail/207144.htm).
11
+ *
12
+ * > **NOTE:** Available in v1.133.0+.
13
+ *
14
+ * ## Example Usage
15
+ *
16
+ * Basic Usage
17
+ *
18
+ * ```typescript
19
+ * import * as pulumi from "@pulumi/pulumi";
20
+ * import * as alicloud from "@pulumi/alicloud";
21
+ *
22
+ * const example = new alicloud.dfs.AccessGroup("example", {
23
+ * accessGroupName: "example_value",
24
+ * networkType: "VPC",
25
+ * });
26
+ * ```
27
+ *
28
+ * ## Import
29
+ *
30
+ * DFS Access Group can be imported using the id, e.g.
31
+ *
32
+ * ```sh
33
+ * $ pulumi import alicloud:dfs/accessGroup:AccessGroup example <id>
34
+ * ```
35
+ */
36
+ class AccessGroup extends pulumi.CustomResource {
37
+ constructor(name, argsOrState, opts) {
38
+ let inputs = {};
39
+ opts = opts || {};
40
+ if (opts.id) {
41
+ const state = argsOrState;
42
+ inputs["accessGroupName"] = state ? state.accessGroupName : undefined;
43
+ inputs["description"] = state ? state.description : undefined;
44
+ inputs["networkType"] = state ? state.networkType : undefined;
45
+ }
46
+ else {
47
+ const args = argsOrState;
48
+ if ((!args || args.accessGroupName === undefined) && !opts.urn) {
49
+ throw new Error("Missing required property 'accessGroupName'");
50
+ }
51
+ if ((!args || args.networkType === undefined) && !opts.urn) {
52
+ throw new Error("Missing required property 'networkType'");
53
+ }
54
+ inputs["accessGroupName"] = args ? args.accessGroupName : undefined;
55
+ inputs["description"] = args ? args.description : undefined;
56
+ inputs["networkType"] = args ? args.networkType : undefined;
57
+ }
58
+ if (!opts.version) {
59
+ opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
60
+ }
61
+ super(AccessGroup.__pulumiType, name, inputs, opts);
62
+ }
63
+ /**
64
+ * Get an existing AccessGroup resource's state with the given name, ID, and optional extra
65
+ * properties used to qualify the lookup.
66
+ *
67
+ * @param name The _unique_ name of the resulting resource.
68
+ * @param id The _unique_ provider ID of the resource to lookup.
69
+ * @param state Any extra arguments used during the lookup.
70
+ * @param opts Optional settings to control the behavior of the CustomResource.
71
+ */
72
+ static get(name, id, state, opts) {
73
+ return new AccessGroup(name, state, Object.assign(Object.assign({}, opts), { id: id }));
74
+ }
75
+ /**
76
+ * Returns true if the given object is an instance of AccessGroup. This is designed to work even
77
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
78
+ */
79
+ static isInstance(obj) {
80
+ if (obj === undefined || obj === null) {
81
+ return false;
82
+ }
83
+ return obj['__pulumiType'] === AccessGroup.__pulumiType;
84
+ }
85
+ }
86
+ exports.AccessGroup = AccessGroup;
87
+ /** @internal */
88
+ AccessGroup.__pulumiType = 'alicloud:dfs/accessGroup:AccessGroup';
89
+ //# sourceMappingURL=accessGroup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accessGroup.js","sourceRoot":"","sources":["../../dfs/accessGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAiDlD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2C,CAAC;YAC1D,MAAM,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,MAAM,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,MAAM,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;SACjE;aAAM;YACH,MAAM,IAAI,GAAG,WAA0C,CAAC;YACxD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,eAAe,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC5D,MAAM,IAAI,KAAK,CAAC,6CAA6C,CAAC,CAAC;aAClE;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,WAAW,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACxD,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;aAC9D;YACD,MAAM,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,MAAM,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,MAAM,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/D;QACD,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACf,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACxD,CAAC;IAxED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,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,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;;AA1BL,kCA0EC;AA5DG,gBAAgB;AACO,wBAAY,GAAG,sCAAsC,CAAC"}
@@ -0,0 +1,62 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { output as outputs } from "../types";
3
+ /**
4
+ * This data source provides the Apsara File Storage for HDFS Access Groups of the current Alibaba Cloud user.
5
+ *
6
+ * > **NOTE:** Available in v1.133.0+.
7
+ *
8
+ * ## Example Usage
9
+ *
10
+ * Basic Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as alicloud from "@pulumi/alicloud";
15
+ *
16
+ * const ids = alicloud.dfs.getAccessGroups({
17
+ * ids: ["example_id"],
18
+ * });
19
+ * export const dfsAccessGroupId1 = ids.then(ids => ids.groups[0].id);
20
+ * const nameRegex = alicloud.dfs.getAccessGroups({
21
+ * nameRegex: "^my-AccessGroup",
22
+ * });
23
+ * export const dfsAccessGroupId2 = nameRegex.then(nameRegex => nameRegex.groups[0].id);
24
+ * ```
25
+ */
26
+ export declare function getAccessGroups(args?: GetAccessGroupsArgs, opts?: pulumi.InvokeOptions): Promise<GetAccessGroupsResult>;
27
+ /**
28
+ * A collection of arguments for invoking getAccessGroups.
29
+ */
30
+ export interface GetAccessGroupsArgs {
31
+ /**
32
+ * A list of Access Group IDs.
33
+ */
34
+ readonly ids?: string[];
35
+ readonly limit?: number;
36
+ /**
37
+ * A regex string to filter results by Access Group name.
38
+ */
39
+ readonly nameRegex?: string;
40
+ readonly orderBy?: string;
41
+ readonly orderType?: string;
42
+ readonly outputFile?: string;
43
+ readonly startOffset?: number;
44
+ }
45
+ /**
46
+ * A collection of values returned by getAccessGroups.
47
+ */
48
+ export interface GetAccessGroupsResult {
49
+ readonly groups: outputs.dfs.GetAccessGroupsGroup[];
50
+ /**
51
+ * The provider-assigned unique ID for this managed resource.
52
+ */
53
+ readonly id: string;
54
+ readonly ids: string[];
55
+ readonly limit?: number;
56
+ readonly nameRegex?: string;
57
+ readonly names: string[];
58
+ readonly orderBy?: string;
59
+ readonly orderType?: string;
60
+ readonly outputFile?: string;
61
+ readonly startOffset?: number;
62
+ }
@@ -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
+ const pulumi = require("@pulumi/pulumi");
6
+ const utilities = require("../utilities");
7
+ /**
8
+ * This data source provides the Apsara File Storage for HDFS Access Groups of the current Alibaba Cloud user.
9
+ *
10
+ * > **NOTE:** Available in v1.133.0+.
11
+ *
12
+ * ## Example Usage
13
+ *
14
+ * Basic Usage
15
+ *
16
+ * ```typescript
17
+ * import * as pulumi from "@pulumi/pulumi";
18
+ * import * as alicloud from "@pulumi/alicloud";
19
+ *
20
+ * const ids = alicloud.dfs.getAccessGroups({
21
+ * ids: ["example_id"],
22
+ * });
23
+ * export const dfsAccessGroupId1 = ids.then(ids => ids.groups[0].id);
24
+ * const nameRegex = alicloud.dfs.getAccessGroups({
25
+ * nameRegex: "^my-AccessGroup",
26
+ * });
27
+ * export const dfsAccessGroupId2 = nameRegex.then(nameRegex => nameRegex.groups[0].id);
28
+ * ```
29
+ */
30
+ function getAccessGroups(args, opts) {
31
+ args = args || {};
32
+ if (!opts) {
33
+ opts = {};
34
+ }
35
+ if (!opts.version) {
36
+ opts.version = utilities.getVersion();
37
+ }
38
+ return pulumi.runtime.invoke("alicloud:dfs/getAccessGroups:getAccessGroups", {
39
+ "ids": args.ids,
40
+ "limit": args.limit,
41
+ "nameRegex": args.nameRegex,
42
+ "orderBy": args.orderBy,
43
+ "orderType": args.orderType,
44
+ "outputFile": args.outputFile,
45
+ "startOffset": args.startOffset,
46
+ }, opts);
47
+ }
48
+ exports.getAccessGroups = getAccessGroups;
49
+ //# sourceMappingURL=getAccessGroups.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getAccessGroups.js","sourceRoot":"","sources":["../../dfs/getAccessGroups.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAA2B;IACnF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8CAA8C,EAAE;QACzE,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAlBD,0CAkBC"}
package/dfs/index.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export * from "./accessGroup";
2
+ export * from "./getAccessGroups";
package/dfs/index.js ADDED
@@ -0,0 +1,27 @@
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
+ function __export(m) {
5
+ for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
6
+ }
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ const pulumi = require("@pulumi/pulumi");
9
+ const utilities = require("../utilities");
10
+ // Export members:
11
+ __export(require("./accessGroup"));
12
+ __export(require("./getAccessGroups"));
13
+ // Import resources to register:
14
+ const accessGroup_1 = require("./accessGroup");
15
+ const _module = {
16
+ version: utilities.getVersion(),
17
+ construct: (name, type, urn) => {
18
+ switch (type) {
19
+ case "alicloud:dfs/accessGroup:AccessGroup":
20
+ return new accessGroup_1.AccessGroup(name, undefined, { urn });
21
+ default:
22
+ throw new Error(`unknown resource type ${type}`);
23
+ }
24
+ },
25
+ };
26
+ pulumi.runtime.registerResourceModule("alicloud", "dfs/accessGroup", _module);
27
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../dfs/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,mCAA8B;AAC9B,uCAAkC;AAElC,gCAAgC;AAChC,+CAA4C;AAE5C,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,sCAAsC;gBACvC,OAAO,IAAI,yBAAW,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACzD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,84 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides a Direct Mail Domain resource.
4
+ *
5
+ * For information about Direct Mail Domain and how to use it, see [What is Domain](https://www.alibabacloud.com/help/en/doc-detail/29414.htm).
6
+ *
7
+ * > **NOTE:** Available in v1.134.0+.
8
+ *
9
+ * ## Example Usage
10
+ *
11
+ * Basic Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as alicloud from "@pulumi/alicloud";
16
+ *
17
+ * const example = new alicloud.directmail.Domain("example", {
18
+ * domainName: "example_value",
19
+ * });
20
+ * ```
21
+ *
22
+ * ## Import
23
+ *
24
+ * Direct Mail Domain can be imported using the id, e.g.
25
+ *
26
+ * ```sh
27
+ * $ pulumi import alicloud:directmail/domain:Domain example <id>
28
+ * ```
29
+ */
30
+ export declare class Domain extends pulumi.CustomResource {
31
+ /**
32
+ * Get an existing Domain 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: string, id: pulumi.Input<pulumi.ID>, state?: DomainState, opts?: pulumi.CustomResourceOptions): Domain;
41
+ /**
42
+ * Returns true if the given object is an instance of Domain. This is designed to work even
43
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
44
+ */
45
+ static isInstance(obj: any): obj is Domain;
46
+ /**
47
+ * Domain, length `1` to `50`, including numbers or capitals or lowercase letters or `.` or `-`
48
+ */
49
+ readonly domainName: pulumi.Output<string>;
50
+ /**
51
+ * The status of the domain name. Valid values:`0` to `4`. `0`:Available, Passed. `1`: Unavailable, No passed. `2`: Available, cname no passed, icp no passed. `3`: Available, icp no passed. `4`: Available, cname no passed.
52
+ */
53
+ readonly status: pulumi.Output<string>;
54
+ /**
55
+ * Create a Domain resource with the given unique name, arguments, and options.
56
+ *
57
+ * @param name The _unique_ name of the resource.
58
+ * @param args The arguments to use to populate this resource's properties.
59
+ * @param opts A bag of options that control this resource's behavior.
60
+ */
61
+ constructor(name: string, args: DomainArgs, opts?: pulumi.CustomResourceOptions);
62
+ }
63
+ /**
64
+ * Input properties used for looking up and filtering Domain resources.
65
+ */
66
+ export interface DomainState {
67
+ /**
68
+ * Domain, length `1` to `50`, including numbers or capitals or lowercase letters or `.` or `-`
69
+ */
70
+ readonly domainName?: pulumi.Input<string>;
71
+ /**
72
+ * The status of the domain name. Valid values:`0` to `4`. `0`:Available, Passed. `1`: Unavailable, No passed. `2`: Available, cname no passed, icp no passed. `3`: Available, icp no passed. `4`: Available, cname no passed.
73
+ */
74
+ readonly status?: pulumi.Input<string>;
75
+ }
76
+ /**
77
+ * The set of arguments for constructing a Domain resource.
78
+ */
79
+ export interface DomainArgs {
80
+ /**
81
+ * Domain, length `1` to `50`, including numbers or capitals or lowercase letters or `.` or `-`
82
+ */
83
+ readonly domainName: pulumi.Input<string>;
84
+ }
@@ -0,0 +1,83 @@
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
+ const pulumi = require("@pulumi/pulumi");
6
+ const utilities = require("../utilities");
7
+ /**
8
+ * Provides a Direct Mail Domain resource.
9
+ *
10
+ * For information about Direct Mail Domain and how to use it, see [What is Domain](https://www.alibabacloud.com/help/en/doc-detail/29414.htm).
11
+ *
12
+ * > **NOTE:** Available in v1.134.0+.
13
+ *
14
+ * ## Example Usage
15
+ *
16
+ * Basic Usage
17
+ *
18
+ * ```typescript
19
+ * import * as pulumi from "@pulumi/pulumi";
20
+ * import * as alicloud from "@pulumi/alicloud";
21
+ *
22
+ * const example = new alicloud.directmail.Domain("example", {
23
+ * domainName: "example_value",
24
+ * });
25
+ * ```
26
+ *
27
+ * ## Import
28
+ *
29
+ * Direct Mail Domain can be imported using the id, e.g.
30
+ *
31
+ * ```sh
32
+ * $ pulumi import alicloud:directmail/domain:Domain example <id>
33
+ * ```
34
+ */
35
+ class Domain extends pulumi.CustomResource {
36
+ constructor(name, argsOrState, opts) {
37
+ let inputs = {};
38
+ opts = opts || {};
39
+ if (opts.id) {
40
+ const state = argsOrState;
41
+ inputs["domainName"] = state ? state.domainName : undefined;
42
+ inputs["status"] = state ? state.status : undefined;
43
+ }
44
+ else {
45
+ const args = argsOrState;
46
+ if ((!args || args.domainName === undefined) && !opts.urn) {
47
+ throw new Error("Missing required property 'domainName'");
48
+ }
49
+ inputs["domainName"] = args ? args.domainName : undefined;
50
+ inputs["status"] = undefined /*out*/;
51
+ }
52
+ if (!opts.version) {
53
+ opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
54
+ }
55
+ super(Domain.__pulumiType, name, inputs, opts);
56
+ }
57
+ /**
58
+ * Get an existing Domain resource's state with the given name, ID, and optional extra
59
+ * properties used to qualify the lookup.
60
+ *
61
+ * @param name The _unique_ name of the resulting resource.
62
+ * @param id The _unique_ provider ID of the resource to lookup.
63
+ * @param state Any extra arguments used during the lookup.
64
+ * @param opts Optional settings to control the behavior of the CustomResource.
65
+ */
66
+ static get(name, id, state, opts) {
67
+ return new Domain(name, state, Object.assign(Object.assign({}, opts), { id: id }));
68
+ }
69
+ /**
70
+ * Returns true if the given object is an instance of Domain. This is designed to work even
71
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
72
+ */
73
+ static isInstance(obj) {
74
+ if (obj === undefined || obj === null) {
75
+ return false;
76
+ }
77
+ return obj['__pulumiType'] === Domain.__pulumiType;
78
+ }
79
+ }
80
+ exports.Domain = Domain;
81
+ /** @internal */
82
+ Domain.__pulumiType = 'alicloud:directmail/domain:Domain';
83
+ //# sourceMappingURL=domain.js.map