@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
@@ -2,7 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
3
  * Provides a HBR Oss Backup Plan resource.
4
4
  *
5
- * For information about HBR Oss Backup Plan and how to use it, see [What is Oss Backup Plan](https://www.alibabacloud.com/product/hybrid-backup-recovery).
5
+ * For information about HBR Oss Backup Plan and how to use it, see [What is Oss Backup Plan](https://www.alibabacloud.com/help/doc-detail/130040.htm).
6
6
  *
7
7
  * > **NOTE:** Available in v1.131.0+.
8
8
  *
@@ -15,15 +15,16 @@ import * as pulumi from "@pulumi/pulumi";
15
15
  * import * as alicloud from "@pulumi/alicloud";
16
16
  *
17
17
  * const config = new pulumi.Config();
18
- * const name = config.get("name") || `%s`;
18
+ * const name = config.get("name") || "example_value";
19
19
  * const defaultVault = new alicloud.hbr.Vault("defaultVault", {vaultName: name});
20
20
  * const defaultBuckets = alicloud.oss.getBuckets({
21
- * nameRegex: "bosh-cf-blobstore-hz",
21
+ * nameRegex: "oss_bucket_example_name",
22
22
  * });
23
23
  * const example = new alicloud.hbr.OssBackupPlan("example", {
24
- * ossBackupPlanName: "example_value",
25
- * instanceId: defaultBuckets.then(defaultBuckets => defaultBuckets.buckets[0].name),
24
+ * ossBackupPlanName: name,
26
25
  * vaultId: defaultVault.id,
26
+ * bucket: alicloud_oss_bucket["default"].bucket,
27
+ * prefix: "/home",
27
28
  * retention: "1",
28
29
  * schedule: "I|1602673264|PT2H",
29
30
  * backupType: "COMPLETE",
@@ -55,34 +56,34 @@ export declare class OssBackupPlan extends pulumi.CustomResource {
55
56
  */
56
57
  static isInstance(obj: any): obj is OssBackupPlan;
57
58
  /**
58
- * Backup Type. Valid Values: * Complete. Valid values: `COMPLETE`.
59
+ * Backup type. Valid values: `COMPLETE`.
59
60
  */
60
61
  readonly backupType: pulumi.Output<string>;
61
62
  /**
62
- * The OSS Bucket Name.
63
+ * The name of OSS bucket.
63
64
  */
64
- readonly bucket: pulumi.Output<string | undefined>;
65
+ readonly bucket: pulumi.Output<string>;
65
66
  /**
66
- * Whether to Disable the Backup Task. Valid Values: true, false.
67
+ * Whether to disable the backup task. Valid values: `true`, `false`.
67
68
  */
68
69
  readonly disabled: pulumi.Output<boolean>;
69
70
  /**
70
- * The Configuration Page of a Backup Plan Name. 1-64 Characters, requiring a Single Warehouse under Each of the Data Source Type Drop-down List of the Configuration Page of a Backup Plan Name Is Unique.
71
+ * The name of the backup plan. 1~64 characters, the backup plan name of each data source type in a single warehouse required to be unique.
71
72
  */
72
73
  readonly ossBackupPlanName: pulumi.Output<string>;
73
74
  readonly prefix: pulumi.Output<string | undefined>;
74
75
  /**
75
- * Backup Retention Period, the Minimum Value of 1.
76
+ * Backup retention days, the minimum is 1.
76
77
  */
77
78
  readonly retention: pulumi.Output<string>;
78
79
  /**
79
- * Backup strategy. Optional format: I|{startTime}|{interval} * startTime Backup start time, UNIX time, in seconds. * interval ISO8601 time interval. E.g: ** PT1H, one hour apart. ** P1D, one day apart. It means to execute a backup task every {interval} starting from {startTime}. The backup task for the elapsed time will not be compensated. If the last backup task is not completed, the next backup task will not be triggered.
80
+ * Backup strategy. Optional format: I|{startTime}|{interval}. It means to execute a backup task every {interval} starting from {startTime}. The backup task for the elapsed time will not be compensated. If the last backup task is not completed yet, the next backup task will not be triggered.
80
81
  */
81
82
  readonly schedule: pulumi.Output<string>;
82
83
  /**
83
- * Vault ID.
84
+ * The ID of backup vault.
84
85
  */
85
- readonly vaultId: pulumi.Output<string | undefined>;
86
+ readonly vaultId: pulumi.Output<string>;
86
87
  /**
87
88
  * Create a OssBackupPlan resource with the given unique name, arguments, and options.
88
89
  *
@@ -97,32 +98,32 @@ export declare class OssBackupPlan extends pulumi.CustomResource {
97
98
  */
98
99
  export interface OssBackupPlanState {
99
100
  /**
100
- * Backup Type. Valid Values: * Complete. Valid values: `COMPLETE`.
101
+ * Backup type. Valid values: `COMPLETE`.
101
102
  */
102
103
  readonly backupType?: pulumi.Input<string>;
103
104
  /**
104
- * The OSS Bucket Name.
105
+ * The name of OSS bucket.
105
106
  */
106
107
  readonly bucket?: pulumi.Input<string>;
107
108
  /**
108
- * Whether to Disable the Backup Task. Valid Values: true, false.
109
+ * Whether to disable the backup task. Valid values: `true`, `false`.
109
110
  */
110
111
  readonly disabled?: pulumi.Input<boolean>;
111
112
  /**
112
- * The Configuration Page of a Backup Plan Name. 1-64 Characters, requiring a Single Warehouse under Each of the Data Source Type Drop-down List of the Configuration Page of a Backup Plan Name Is Unique.
113
+ * The name of the backup plan. 1~64 characters, the backup plan name of each data source type in a single warehouse required to be unique.
113
114
  */
114
115
  readonly ossBackupPlanName?: pulumi.Input<string>;
115
116
  readonly prefix?: pulumi.Input<string>;
116
117
  /**
117
- * Backup Retention Period, the Minimum Value of 1.
118
+ * Backup retention days, the minimum is 1.
118
119
  */
119
120
  readonly retention?: pulumi.Input<string>;
120
121
  /**
121
- * Backup strategy. Optional format: I|{startTime}|{interval} * startTime Backup start time, UNIX time, in seconds. * interval ISO8601 time interval. E.g: ** PT1H, one hour apart. ** P1D, one day apart. It means to execute a backup task every {interval} starting from {startTime}. The backup task for the elapsed time will not be compensated. If the last backup task is not completed, the next backup task will not be triggered.
122
+ * Backup strategy. Optional format: I|{startTime}|{interval}. It means to execute a backup task every {interval} starting from {startTime}. The backup task for the elapsed time will not be compensated. If the last backup task is not completed yet, the next backup task will not be triggered.
122
123
  */
123
124
  readonly schedule?: pulumi.Input<string>;
124
125
  /**
125
- * Vault ID.
126
+ * The ID of backup vault.
126
127
  */
127
128
  readonly vaultId?: pulumi.Input<string>;
128
129
  }
@@ -131,32 +132,32 @@ export interface OssBackupPlanState {
131
132
  */
132
133
  export interface OssBackupPlanArgs {
133
134
  /**
134
- * Backup Type. Valid Values: * Complete. Valid values: `COMPLETE`.
135
+ * Backup type. Valid values: `COMPLETE`.
135
136
  */
136
- readonly backupType?: pulumi.Input<string>;
137
+ readonly backupType: pulumi.Input<string>;
137
138
  /**
138
- * The OSS Bucket Name.
139
+ * The name of OSS bucket.
139
140
  */
140
- readonly bucket?: pulumi.Input<string>;
141
+ readonly bucket: pulumi.Input<string>;
141
142
  /**
142
- * Whether to Disable the Backup Task. Valid Values: true, false.
143
+ * Whether to disable the backup task. Valid values: `true`, `false`.
143
144
  */
144
145
  readonly disabled?: pulumi.Input<boolean>;
145
146
  /**
146
- * The Configuration Page of a Backup Plan Name. 1-64 Characters, requiring a Single Warehouse under Each of the Data Source Type Drop-down List of the Configuration Page of a Backup Plan Name Is Unique.
147
+ * The name of the backup plan. 1~64 characters, the backup plan name of each data source type in a single warehouse required to be unique.
147
148
  */
148
149
  readonly ossBackupPlanName: pulumi.Input<string>;
149
150
  readonly prefix?: pulumi.Input<string>;
150
151
  /**
151
- * Backup Retention Period, the Minimum Value of 1.
152
+ * Backup retention days, the minimum is 1.
152
153
  */
153
154
  readonly retention: pulumi.Input<string>;
154
155
  /**
155
- * Backup strategy. Optional format: I|{startTime}|{interval} * startTime Backup start time, UNIX time, in seconds. * interval ISO8601 time interval. E.g: ** PT1H, one hour apart. ** P1D, one day apart. It means to execute a backup task every {interval} starting from {startTime}. The backup task for the elapsed time will not be compensated. If the last backup task is not completed, the next backup task will not be triggered.
156
+ * Backup strategy. Optional format: I|{startTime}|{interval}. It means to execute a backup task every {interval} starting from {startTime}. The backup task for the elapsed time will not be compensated. If the last backup task is not completed yet, the next backup task will not be triggered.
156
157
  */
157
158
  readonly schedule: pulumi.Input<string>;
158
159
  /**
159
- * Vault ID.
160
+ * The ID of backup vault.
160
161
  */
161
- readonly vaultId?: pulumi.Input<string>;
162
+ readonly vaultId: pulumi.Input<string>;
162
163
  }
@@ -7,7 +7,7 @@ const utilities = require("../utilities");
7
7
  /**
8
8
  * Provides a HBR Oss Backup Plan resource.
9
9
  *
10
- * For information about HBR Oss Backup Plan and how to use it, see [What is Oss Backup Plan](https://www.alibabacloud.com/product/hybrid-backup-recovery).
10
+ * For information about HBR Oss Backup Plan and how to use it, see [What is Oss Backup Plan](https://www.alibabacloud.com/help/doc-detail/130040.htm).
11
11
  *
12
12
  * > **NOTE:** Available in v1.131.0+.
13
13
  *
@@ -20,15 +20,16 @@ const utilities = require("../utilities");
20
20
  * import * as alicloud from "@pulumi/alicloud";
21
21
  *
22
22
  * const config = new pulumi.Config();
23
- * const name = config.get("name") || `%s`;
23
+ * const name = config.get("name") || "example_value";
24
24
  * const defaultVault = new alicloud.hbr.Vault("defaultVault", {vaultName: name});
25
25
  * const defaultBuckets = alicloud.oss.getBuckets({
26
- * nameRegex: "bosh-cf-blobstore-hz",
26
+ * nameRegex: "oss_bucket_example_name",
27
27
  * });
28
28
  * const example = new alicloud.hbr.OssBackupPlan("example", {
29
- * ossBackupPlanName: "example_value",
30
- * instanceId: defaultBuckets.then(defaultBuckets => defaultBuckets.buckets[0].name),
29
+ * ossBackupPlanName: name,
31
30
  * vaultId: defaultVault.id,
31
+ * bucket: alicloud_oss_bucket["default"].bucket,
32
+ * prefix: "/home",
32
33
  * retention: "1",
33
34
  * schedule: "I|1602673264|PT2H",
34
35
  * backupType: "COMPLETE",
@@ -60,6 +61,12 @@ class OssBackupPlan extends pulumi.CustomResource {
60
61
  }
61
62
  else {
62
63
  const args = argsOrState;
64
+ if ((!args || args.backupType === undefined) && !opts.urn) {
65
+ throw new Error("Missing required property 'backupType'");
66
+ }
67
+ if ((!args || args.bucket === undefined) && !opts.urn) {
68
+ throw new Error("Missing required property 'bucket'");
69
+ }
63
70
  if ((!args || args.ossBackupPlanName === undefined) && !opts.urn) {
64
71
  throw new Error("Missing required property 'ossBackupPlanName'");
65
72
  }
@@ -69,6 +76,9 @@ class OssBackupPlan extends pulumi.CustomResource {
69
76
  if ((!args || args.schedule === undefined) && !opts.urn) {
70
77
  throw new Error("Missing required property 'schedule'");
71
78
  }
79
+ if ((!args || args.vaultId === undefined) && !opts.urn) {
80
+ throw new Error("Missing required property 'vaultId'");
81
+ }
72
82
  inputs["backupType"] = args ? args.backupType : undefined;
73
83
  inputs["bucket"] = args ? args.bucket : undefined;
74
84
  inputs["disabled"] = args ? args.disabled : undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"ossBackupPlan.js","sourceRoot":"","sources":["../../hbr/ossBackupPlan.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAa,aAAc,S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ource.
4
+ *
5
+ * For information about Hybrid Backup Recovery (HBR) Restore Job and how to use it, see [What is Restore Job](https://www.alibabacloud.com/help/doc-detail/186575.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 defaultNasBackupPlans = alicloud.hbr.getNasBackupPlans({
18
+ * nameRegex: "plan-tf-used-dont-delete",
19
+ * });
20
+ * const nasSnapshots = Promise.all([defaultNasBackupPlans, defaultNasBackupPlans, defaultNasBackupPlans]).then(([defaultNasBackupPlans, defaultNasBackupPlans1, defaultNasBackupPlans2]) => alicloud.hbr.getSnapshots({
21
+ * sourceType: "NAS",
22
+ * vaultId: defaultNasBackupPlans.plans[0].vaultId,
23
+ * fileSystemId: defaultNasBackupPlans1.plans[0].fileSystemId,
24
+ * createTime: defaultNasBackupPlans2.plans[0].createTime,
25
+ * }));
26
+ * const defaultRestoreJob = new alicloud.hbr.RestoreJob("defaultRestoreJob", {
27
+ * restoreJobId: "tftestacc112358",
28
+ * snapshotHash: nasSnapshots.then(nasSnapshots => nasSnapshots.snapshots[0].snapshotHash),
29
+ * vaultId: defaultNasBackupPlans.then(defaultNasBackupPlans => defaultNasBackupPlans.plans[0].vaultId),
30
+ * sourceType: "NAS",
31
+ * restoreType: "NAS",
32
+ * snapshotId: nasSnapshots.then(nasSnapshots => nasSnapshots.snapshots[0].snapshotId),
33
+ * targetFileSystemId: defaultNasBackupPlans.then(defaultNasBackupPlans => defaultNasBackupPlans.plans[0].fileSystemId),
34
+ * targetCreateTime: defaultNasBackupPlans.then(defaultNasBackupPlans => defaultNasBackupPlans.plans[0].createTime),
35
+ * targetPath: "/",
36
+ * options: " {\"includes\":[], \"excludes\":[]}\n",
37
+ * });
38
+ * ```
39
+ *
40
+ * > **NOTE:** This resource can only be created, cannot be modified or deleted. Therefore, any modification of the resource attribute will not affect exist resource.
41
+ *
42
+ * ## Import
43
+ *
44
+ * Hybrid Backup Recovery (HBR) Restore Job can be imported using the id, e.g.
45
+ *
46
+ * ```sh
47
+ * $ pulumi import alicloud:hbr/restoreJob:RestoreJob example <restore_job_id>:<restore_type>
48
+ * ```
49
+ */
50
+ export declare class RestoreJob extends pulumi.CustomResource {
51
+ /**
52
+ * Get an existing RestoreJob resource's state with the given name, ID, and optional extra
53
+ * properties used to qualify the lookup.
54
+ *
55
+ * @param name The _unique_ name of the resulting resource.
56
+ * @param id The _unique_ provider ID of the resource to lookup.
57
+ * @param state Any extra arguments used during the lookup.
58
+ * @param opts Optional settings to control the behavior of the CustomResource.
59
+ */
60
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RestoreJobState, opts?: pulumi.CustomResourceOptions): RestoreJob;
61
+ /**
62
+ * Returns true if the given object is an instance of RestoreJob. This is designed to work even
63
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
64
+ */
65
+ static isInstance(obj: any): obj is RestoreJob;
66
+ /**
67
+ * The exclude path. It's a json string with format:`["/home", "/exclude"]`.
68
+ */
69
+ readonly exclude: pulumi.Output<string | undefined>;
70
+ /**
71
+ * The include path. It's a json string with format:`["/home", "/include"]`.
72
+ */
73
+ readonly include: pulumi.Output<string | undefined>;
74
+ /**
75
+ * Recovery options. It's a json string with format:`"{"includes":[],"excludes":[]}",`.
76
+ */
77
+ readonly options: pulumi.Output<string | undefined>;
78
+ /**
79
+ * Restore Job ID. It's the unique key of this resource, you must specify a unique keyword.
80
+ */
81
+ readonly restoreJobId: pulumi.Output<string>;
82
+ /**
83
+ * The type of recovery destination. Valid values: `ECS_FILE`, `NAS`, `OSS`. **Note**: Currently, there is a one-to-one correspondence between the data source type with the recovery destination type.
84
+ */
85
+ readonly restoreType: pulumi.Output<string>;
86
+ /**
87
+ * The hashcode of restore Snapshot.
88
+ */
89
+ readonly snapshotHash: pulumi.Output<string>;
90
+ /**
91
+ * The ID of Snapshot.
92
+ */
93
+ readonly snapshotId: pulumi.Output<string>;
94
+ /**
95
+ * The type of data source. Valid values: `ECS_FILE`, `NAS`, `OSS`.
96
+ */
97
+ readonly sourceType: pulumi.Output<string>;
98
+ /**
99
+ * The Restore Job Status.
100
+ */
101
+ readonly status: pulumi.Output<string>;
102
+ /**
103
+ * The target ofo OSS bucket name.
104
+ */
105
+ readonly targetBucket: pulumi.Output<string | undefined>;
106
+ readonly targetClientId: pulumi.Output<string | undefined>;
107
+ readonly targetContainer: pulumi.Output<string | undefined>;
108
+ readonly targetContainerClusterId: pulumi.Output<string | undefined>;
109
+ /**
110
+ * The creation Time of destination File System. While sourceType equals `NAS`, this parameter must be set. **Note** The time format of the API adopts the ISO 8601 format, such as `2021-07-09T15:45:30CST` or `2021-07-09T07:45:30Z`.
111
+ */
112
+ readonly targetCreateTime: pulumi.Output<string | undefined>;
113
+ readonly targetDataSourceId: pulumi.Output<string | undefined>;
114
+ /**
115
+ * The ID of destination File System.
116
+ */
117
+ readonly targetFileSystemId: pulumi.Output<string | undefined>;
118
+ /**
119
+ * The target ID of ECS instance.
120
+ */
121
+ readonly targetInstanceId: pulumi.Output<string | undefined>;
122
+ /**
123
+ * The target file path of (ECS) instance.
124
+ */
125
+ readonly targetPath: pulumi.Output<string | undefined>;
126
+ /**
127
+ * The target of the OSS object prefix.
128
+ */
129
+ readonly targetPrefix: pulumi.Output<string | undefined>;
130
+ /**
131
+ * The ID of backup vault.
132
+ */
133
+ readonly vaultId: pulumi.Output<string>;
134
+ /**
135
+ * Create a RestoreJob resource with the given unique name, arguments, and options.
136
+ *
137
+ * @param name The _unique_ name of the resource.
138
+ * @param args The arguments to use to populate this resource's properties.
139
+ * @param opts A bag of options that control this resource's behavior.
140
+ */
141
+ constructor(name: string, args: RestoreJobArgs, opts?: pulumi.CustomResourceOptions);
142
+ }
143
+ /**
144
+ * Input properties used for looking up and filtering RestoreJob resources.
145
+ */
146
+ export interface RestoreJobState {
147
+ /**
148
+ * The exclude path. It's a json string with format:`["/home", "/exclude"]`.
149
+ */
150
+ readonly exclude?: pulumi.Input<string>;
151
+ /**
152
+ * The include path. It's a json string with format:`["/home", "/include"]`.
153
+ */
154
+ readonly include?: pulumi.Input<string>;
155
+ /**
156
+ * Recovery options. It's a json string with format:`"{"includes":[],"excludes":[]}",`.
157
+ */
158
+ readonly options?: pulumi.Input<string>;
159
+ /**
160
+ * Restore Job ID. It's the unique key of this resource, you must specify a unique keyword.
161
+ */
162
+ readonly restoreJobId?: pulumi.Input<string>;
163
+ /**
164
+ * The type of recovery destination. Valid values: `ECS_FILE`, `NAS`, `OSS`. **Note**: Currently, there is a one-to-one correspondence between the data source type with the recovery destination type.
165
+ */
166
+ readonly restoreType?: pulumi.Input<string>;
167
+ /**
168
+ * The hashcode of restore Snapshot.
169
+ */
170
+ readonly snapshotHash?: pulumi.Input<string>;
171
+ /**
172
+ * The ID of Snapshot.
173
+ */
174
+ readonly snapshotId?: pulumi.Input<string>;
175
+ /**
176
+ * The type of data source. Valid values: `ECS_FILE`, `NAS`, `OSS`.
177
+ */
178
+ readonly sourceType?: pulumi.Input<string>;
179
+ /**
180
+ * The Restore Job Status.
181
+ */
182
+ readonly status?: pulumi.Input<string>;
183
+ /**
184
+ * The target ofo OSS bucket name.
185
+ */
186
+ readonly targetBucket?: pulumi.Input<string>;
187
+ readonly targetClientId?: pulumi.Input<string>;
188
+ readonly targetContainer?: pulumi.Input<string>;
189
+ readonly targetContainerClusterId?: pulumi.Input<string>;
190
+ /**
191
+ * The creation Time of destination File System. While sourceType equals `NAS`, this parameter must be set. **Note** The time format of the API adopts the ISO 8601 format, such as `2021-07-09T15:45:30CST` or `2021-07-09T07:45:30Z`.
192
+ */
193
+ readonly targetCreateTime?: pulumi.Input<string>;
194
+ readonly targetDataSourceId?: pulumi.Input<string>;
195
+ /**
196
+ * The ID of destination File System.
197
+ */
198
+ readonly targetFileSystemId?: pulumi.Input<string>;
199
+ /**
200
+ * The target ID of ECS instance.
201
+ */
202
+ readonly targetInstanceId?: pulumi.Input<string>;
203
+ /**
204
+ * The target file path of (ECS) instance.
205
+ */
206
+ readonly targetPath?: pulumi.Input<string>;
207
+ /**
208
+ * The target of the OSS object prefix.
209
+ */
210
+ readonly targetPrefix?: pulumi.Input<string>;
211
+ /**
212
+ * The ID of backup vault.
213
+ */
214
+ readonly vaultId?: pulumi.Input<string>;
215
+ }
216
+ /**
217
+ * The set of arguments for constructing a RestoreJob resource.
218
+ */
219
+ export interface RestoreJobArgs {
220
+ /**
221
+ * The exclude path. It's a json string with format:`["/home", "/exclude"]`.
222
+ */
223
+ readonly exclude?: pulumi.Input<string>;
224
+ /**
225
+ * The include path. It's a json string with format:`["/home", "/include"]`.
226
+ */
227
+ readonly include?: pulumi.Input<string>;
228
+ /**
229
+ * Recovery options. It's a json string with format:`"{"includes":[],"excludes":[]}",`.
230
+ */
231
+ readonly options?: pulumi.Input<string>;
232
+ /**
233
+ * Restore Job ID. It's the unique key of this resource, you must specify a unique keyword.
234
+ */
235
+ readonly restoreJobId: pulumi.Input<string>;
236
+ /**
237
+ * The type of recovery destination. Valid values: `ECS_FILE`, `NAS`, `OSS`. **Note**: Currently, there is a one-to-one correspondence between the data source type with the recovery destination type.
238
+ */
239
+ readonly restoreType: pulumi.Input<string>;
240
+ /**
241
+ * The hashcode of restore Snapshot.
242
+ */
243
+ readonly snapshotHash: pulumi.Input<string>;
244
+ /**
245
+ * The ID of Snapshot.
246
+ */
247
+ readonly snapshotId: pulumi.Input<string>;
248
+ /**
249
+ * The type of data source. Valid values: `ECS_FILE`, `NAS`, `OSS`.
250
+ */
251
+ readonly sourceType: pulumi.Input<string>;
252
+ /**
253
+ * The target ofo OSS bucket name.
254
+ */
255
+ readonly targetBucket?: pulumi.Input<string>;
256
+ readonly targetClientId?: pulumi.Input<string>;
257
+ readonly targetContainer?: pulumi.Input<string>;
258
+ readonly targetContainerClusterId?: pulumi.Input<string>;
259
+ /**
260
+ * The creation Time of destination File System. While sourceType equals `NAS`, this parameter must be set. **Note** The time format of the API adopts the ISO 8601 format, such as `2021-07-09T15:45:30CST` or `2021-07-09T07:45:30Z`.
261
+ */
262
+ readonly targetCreateTime?: pulumi.Input<string>;
263
+ readonly targetDataSourceId?: pulumi.Input<string>;
264
+ /**
265
+ * The ID of destination File System.
266
+ */
267
+ readonly targetFileSystemId?: pulumi.Input<string>;
268
+ /**
269
+ * The target ID of ECS instance.
270
+ */
271
+ readonly targetInstanceId?: pulumi.Input<string>;
272
+ /**
273
+ * The target file path of (ECS) instance.
274
+ */
275
+ readonly targetPath?: pulumi.Input<string>;
276
+ /**
277
+ * The target of the OSS object prefix.
278
+ */
279
+ readonly targetPrefix?: pulumi.Input<string>;
280
+ /**
281
+ * The ID of backup vault.
282
+ */
283
+ readonly vaultId: pulumi.Input<string>;
284
+ }
@@ -0,0 +1,154 @@
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 Hybrid Backup Recovery (HBR) Restore Job resource.
9
+ *
10
+ * For information about Hybrid Backup Recovery (HBR) Restore Job and how to use it, see [What is Restore Job](https://www.alibabacloud.com/help/doc-detail/186575.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 defaultNasBackupPlans = alicloud.hbr.getNasBackupPlans({
23
+ * nameRegex: "plan-tf-used-dont-delete",
24
+ * });
25
+ * const nasSnapshots = Promise.all([defaultNasBackupPlans, defaultNasBackupPlans, defaultNasBackupPlans]).then(([defaultNasBackupPlans, defaultNasBackupPlans1, defaultNasBackupPlans2]) => alicloud.hbr.getSnapshots({
26
+ * sourceType: "NAS",
27
+ * vaultId: defaultNasBackupPlans.plans[0].vaultId,
28
+ * fileSystemId: defaultNasBackupPlans1.plans[0].fileSystemId,
29
+ * createTime: defaultNasBackupPlans2.plans[0].createTime,
30
+ * }));
31
+ * const defaultRestoreJob = new alicloud.hbr.RestoreJob("defaultRestoreJob", {
32
+ * restoreJobId: "tftestacc112358",
33
+ * snapshotHash: nasSnapshots.then(nasSnapshots => nasSnapshots.snapshots[0].snapshotHash),
34
+ * vaultId: defaultNasBackupPlans.then(defaultNasBackupPlans => defaultNasBackupPlans.plans[0].vaultId),
35
+ * sourceType: "NAS",
36
+ * restoreType: "NAS",
37
+ * snapshotId: nasSnapshots.then(nasSnapshots => nasSnapshots.snapshots[0].snapshotId),
38
+ * targetFileSystemId: defaultNasBackupPlans.then(defaultNasBackupPlans => defaultNasBackupPlans.plans[0].fileSystemId),
39
+ * targetCreateTime: defaultNasBackupPlans.then(defaultNasBackupPlans => defaultNasBackupPlans.plans[0].createTime),
40
+ * targetPath: "/",
41
+ * options: " {\"includes\":[], \"excludes\":[]}\n",
42
+ * });
43
+ * ```
44
+ *
45
+ * > **NOTE:** This resource can only be created, cannot be modified or deleted. Therefore, any modification of the resource attribute will not affect exist resource.
46
+ *
47
+ * ## Import
48
+ *
49
+ * Hybrid Backup Recovery (HBR) Restore Job can be imported using the id, e.g.
50
+ *
51
+ * ```sh
52
+ * $ pulumi import alicloud:hbr/restoreJob:RestoreJob example <restore_job_id>:<restore_type>
53
+ * ```
54
+ */
55
+ class RestoreJob extends pulumi.CustomResource {
56
+ constructor(name, argsOrState, opts) {
57
+ let inputs = {};
58
+ opts = opts || {};
59
+ if (opts.id) {
60
+ const state = argsOrState;
61
+ inputs["exclude"] = state ? state.exclude : undefined;
62
+ inputs["include"] = state ? state.include : undefined;
63
+ inputs["options"] = state ? state.options : undefined;
64
+ inputs["restoreJobId"] = state ? state.restoreJobId : undefined;
65
+ inputs["restoreType"] = state ? state.restoreType : undefined;
66
+ inputs["snapshotHash"] = state ? state.snapshotHash : undefined;
67
+ inputs["snapshotId"] = state ? state.snapshotId : undefined;
68
+ inputs["sourceType"] = state ? state.sourceType : undefined;
69
+ inputs["status"] = state ? state.status : undefined;
70
+ inputs["targetBucket"] = state ? state.targetBucket : undefined;
71
+ inputs["targetClientId"] = state ? state.targetClientId : undefined;
72
+ inputs["targetContainer"] = state ? state.targetContainer : undefined;
73
+ inputs["targetContainerClusterId"] = state ? state.targetContainerClusterId : undefined;
74
+ inputs["targetCreateTime"] = state ? state.targetCreateTime : undefined;
75
+ inputs["targetDataSourceId"] = state ? state.targetDataSourceId : undefined;
76
+ inputs["targetFileSystemId"] = state ? state.targetFileSystemId : undefined;
77
+ inputs["targetInstanceId"] = state ? state.targetInstanceId : undefined;
78
+ inputs["targetPath"] = state ? state.targetPath : undefined;
79
+ inputs["targetPrefix"] = state ? state.targetPrefix : undefined;
80
+ inputs["vaultId"] = state ? state.vaultId : undefined;
81
+ }
82
+ else {
83
+ const args = argsOrState;
84
+ if ((!args || args.restoreJobId === undefined) && !opts.urn) {
85
+ throw new Error("Missing required property 'restoreJobId'");
86
+ }
87
+ if ((!args || args.restoreType === undefined) && !opts.urn) {
88
+ throw new Error("Missing required property 'restoreType'");
89
+ }
90
+ if ((!args || args.snapshotHash === undefined) && !opts.urn) {
91
+ throw new Error("Missing required property 'snapshotHash'");
92
+ }
93
+ if ((!args || args.snapshotId === undefined) && !opts.urn) {
94
+ throw new Error("Missing required property 'snapshotId'");
95
+ }
96
+ if ((!args || args.sourceType === undefined) && !opts.urn) {
97
+ throw new Error("Missing required property 'sourceType'");
98
+ }
99
+ if ((!args || args.vaultId === undefined) && !opts.urn) {
100
+ throw new Error("Missing required property 'vaultId'");
101
+ }
102
+ inputs["exclude"] = args ? args.exclude : undefined;
103
+ inputs["include"] = args ? args.include : undefined;
104
+ inputs["options"] = args ? args.options : undefined;
105
+ inputs["restoreJobId"] = args ? args.restoreJobId : undefined;
106
+ inputs["restoreType"] = args ? args.restoreType : undefined;
107
+ inputs["snapshotHash"] = args ? args.snapshotHash : undefined;
108
+ inputs["snapshotId"] = args ? args.snapshotId : undefined;
109
+ inputs["sourceType"] = args ? args.sourceType : undefined;
110
+ inputs["targetBucket"] = args ? args.targetBucket : undefined;
111
+ inputs["targetClientId"] = args ? args.targetClientId : undefined;
112
+ inputs["targetContainer"] = args ? args.targetContainer : undefined;
113
+ inputs["targetContainerClusterId"] = args ? args.targetContainerClusterId : undefined;
114
+ inputs["targetCreateTime"] = args ? args.targetCreateTime : undefined;
115
+ inputs["targetDataSourceId"] = args ? args.targetDataSourceId : undefined;
116
+ inputs["targetFileSystemId"] = args ? args.targetFileSystemId : undefined;
117
+ inputs["targetInstanceId"] = args ? args.targetInstanceId : undefined;
118
+ inputs["targetPath"] = args ? args.targetPath : undefined;
119
+ inputs["targetPrefix"] = args ? args.targetPrefix : undefined;
120
+ inputs["vaultId"] = args ? args.vaultId : undefined;
121
+ inputs["status"] = undefined /*out*/;
122
+ }
123
+ if (!opts.version) {
124
+ opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
125
+ }
126
+ super(RestoreJob.__pulumiType, name, inputs, opts);
127
+ }
128
+ /**
129
+ * Get an existing RestoreJob resource's state with the given name, ID, and optional extra
130
+ * properties used to qualify the lookup.
131
+ *
132
+ * @param name The _unique_ name of the resulting resource.
133
+ * @param id The _unique_ provider ID of the resource to lookup.
134
+ * @param state Any extra arguments used during the lookup.
135
+ * @param opts Optional settings to control the behavior of the CustomResource.
136
+ */
137
+ static get(name, id, state, opts) {
138
+ return new RestoreJob(name, state, Object.assign(Object.assign({}, opts), { id: id }));
139
+ }
140
+ /**
141
+ * Returns true if the given object is an instance of RestoreJob. This is designed to work even
142
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
143
+ */
144
+ static isInstance(obj) {
145
+ if (obj === undefined || obj === null) {
146
+ return false;
147
+ }
148
+ return obj['__pulumiType'] === RestoreJob.__pulumiType;
149
+ }
150
+ }
151
+ exports.RestoreJob = RestoreJob;
152
+ /** @internal */
153
+ RestoreJob.__pulumiType = 'alicloud:hbr/restoreJob:RestoreJob';
154
+ //# sourceMappingURL=restoreJob.js.map