@pulumi/gcp 9.25.0 → 9.26.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 (359) hide show
  1. package/appengine/applicationUrlDispatchRules.d.ts +1 -1
  2. package/appengine/applicationUrlDispatchRules.js +1 -1
  3. package/appengine/engineSplitTraffic.d.ts +2 -2
  4. package/appengine/engineSplitTraffic.js +2 -2
  5. package/appengine/serviceNetworkSettings.d.ts +1 -1
  6. package/appengine/serviceNetworkSettings.js +1 -1
  7. package/appengine/standardAppVersion.d.ts +2 -2
  8. package/appengine/standardAppVersion.js +2 -2
  9. package/bigtable/instance.d.ts +18 -6
  10. package/bigtable/instance.d.ts.map +1 -1
  11. package/bigtable/instance.js +2 -0
  12. package/bigtable/instance.js.map +1 -1
  13. package/bigtable/table.d.ts +3 -3
  14. package/billing/subAccount.d.ts +1 -1
  15. package/billing/subAccount.js +1 -1
  16. package/ces/guardrail.d.ts +41 -0
  17. package/ces/guardrail.d.ts.map +1 -1
  18. package/ces/guardrail.js +41 -0
  19. package/ces/guardrail.js.map +1 -1
  20. package/ces/index.d.ts +3 -0
  21. package/ces/index.d.ts.map +1 -1
  22. package/ces/index.js +6 -1
  23. package/ces/index.js.map +1 -1
  24. package/ces/securitySettings.d.ts +163 -0
  25. package/ces/securitySettings.d.ts.map +1 -0
  26. package/ces/securitySettings.js +135 -0
  27. package/ces/securitySettings.js.map +1 -0
  28. package/chronicle/findingsRefinement.d.ts +250 -0
  29. package/chronicle/findingsRefinement.d.ts.map +1 -0
  30. package/chronicle/findingsRefinement.js +165 -0
  31. package/chronicle/findingsRefinement.js.map +1 -0
  32. package/chronicle/index.d.ts +3 -0
  33. package/chronicle/index.d.ts.map +1 -1
  34. package/chronicle/index.js +6 -1
  35. package/chronicle/index.js.map +1 -1
  36. package/cloudrun/getService.d.ts +26 -22
  37. package/cloudrun/getService.d.ts.map +1 -1
  38. package/cloudrun/getService.js +14 -12
  39. package/cloudrun/getService.js.map +1 -1
  40. package/compute/futureReservation.d.ts +15 -0
  41. package/compute/futureReservation.d.ts.map +1 -1
  42. package/compute/futureReservation.js +2 -0
  43. package/compute/futureReservation.js.map +1 -1
  44. package/compute/getNetwork.d.ts +13 -5
  45. package/compute/getNetwork.d.ts.map +1 -1
  46. package/compute/getNetwork.js +4 -0
  47. package/compute/getNetwork.js.map +1 -1
  48. package/compute/getRegionSSLPolicy.d.ts +83 -0
  49. package/compute/getRegionSSLPolicy.d.ts.map +1 -1
  50. package/compute/getRegionSSLPolicy.js +30 -0
  51. package/compute/getRegionSSLPolicy.js.map +1 -1
  52. package/compute/getSSLPolicy.d.ts +4 -0
  53. package/compute/getSSLPolicy.d.ts.map +1 -1
  54. package/compute/getSSLPolicy.js.map +1 -1
  55. package/compute/getServiceAttachment.d.ts +109 -0
  56. package/compute/getServiceAttachment.d.ts.map +1 -0
  57. package/compute/getServiceAttachment.js +85 -0
  58. package/compute/getServiceAttachment.js.map +1 -0
  59. package/compute/index.d.ts +3 -0
  60. package/compute/index.d.ts.map +1 -1
  61. package/compute/index.js +7 -4
  62. package/compute/index.js.map +1 -1
  63. package/compute/instanceFromTemplate.d.ts +18 -3
  64. package/compute/instanceFromTemplate.d.ts.map +1 -1
  65. package/compute/instanceFromTemplate.js.map +1 -1
  66. package/compute/networkFirewallPolicyRule.d.ts +135 -0
  67. package/compute/networkFirewallPolicyRule.d.ts.map +1 -1
  68. package/compute/networkFirewallPolicyRule.js +88 -0
  69. package/compute/networkFirewallPolicyRule.js.map +1 -1
  70. package/compute/organizationSecurityPolicyAssociation.d.ts +2 -2
  71. package/compute/organizationSecurityPolicyAssociation.js +2 -2
  72. package/compute/organizationSecurityPolicyRule.d.ts +5 -5
  73. package/compute/organizationSecurityPolicyRule.js +5 -5
  74. package/compute/regionSslPolicy.d.ts +68 -0
  75. package/compute/regionSslPolicy.d.ts.map +1 -1
  76. package/compute/regionSslPolicy.js +31 -0
  77. package/compute/regionSslPolicy.js.map +1 -1
  78. package/compute/rolloutPlan.d.ts +1 -1
  79. package/compute/rolloutPlan.js +1 -1
  80. package/compute/router.d.ts +1 -1
  81. package/compute/router.js +1 -1
  82. package/compute/sslpolicy.d.ts +52 -0
  83. package/compute/sslpolicy.d.ts.map +1 -1
  84. package/compute/sslpolicy.js +15 -0
  85. package/compute/sslpolicy.js.map +1 -1
  86. package/compute/subnetwork.d.ts +58 -0
  87. package/compute/subnetwork.d.ts.map +1 -1
  88. package/compute/subnetwork.js +58 -0
  89. package/compute/subnetwork.js.map +1 -1
  90. package/compute/targetInstance.d.ts +2 -2
  91. package/compute/targetInstance.js +2 -2
  92. package/config/vars.d.ts +1 -0
  93. package/config/vars.d.ts.map +1 -1
  94. package/config/vars.js +6 -0
  95. package/config/vars.js.map +1 -1
  96. package/configdeployment/deployment.d.ts +364 -0
  97. package/configdeployment/deployment.d.ts.map +1 -0
  98. package/configdeployment/deployment.js +174 -0
  99. package/configdeployment/deployment.js.map +1 -0
  100. package/configdeployment/index.d.ts +4 -0
  101. package/configdeployment/index.d.ts.map +1 -0
  102. package/configdeployment/index.js +45 -0
  103. package/configdeployment/index.js.map +1 -0
  104. package/databasemigrationservice/connectionProfile.d.ts +3 -3
  105. package/databasemigrationservice/connectionProfile.js +3 -3
  106. package/databasemigrationservice/privateConnection.d.ts +4 -4
  107. package/databasemigrationservice/privateConnection.js +4 -4
  108. package/dataflow/flexTemplateJob.d.ts +15 -3
  109. package/dataflow/flexTemplateJob.d.ts.map +1 -1
  110. package/dataflow/flexTemplateJob.js +2 -0
  111. package/dataflow/flexTemplateJob.js.map +1 -1
  112. package/dataform/folder.d.ts +3 -3
  113. package/dataform/folder.js +3 -3
  114. package/dataform/teamFolder.d.ts +1 -1
  115. package/dataform/teamFolder.js +1 -1
  116. package/datafusion/instance.d.ts +29 -14
  117. package/datafusion/instance.d.ts.map +1 -1
  118. package/datafusion/instance.js +4 -0
  119. package/datafusion/instance.js.map +1 -1
  120. package/datalineage/config.d.ts +2 -2
  121. package/datalineage/config.js +2 -2
  122. package/dataplex/dataAsset.d.ts +5 -5
  123. package/dataplex/dataAsset.js +5 -5
  124. package/dataplex/dataProduct.d.ts +7 -6
  125. package/dataplex/dataProduct.d.ts.map +1 -1
  126. package/dataplex/dataProduct.js +7 -6
  127. package/dataplex/dataProduct.js.map +1 -1
  128. package/dataplex/dataProductDataAsset.d.ts +5 -8
  129. package/dataplex/dataProductDataAsset.d.ts.map +1 -1
  130. package/dataplex/dataProductDataAsset.js +5 -8
  131. package/dataplex/dataProductDataAsset.js.map +1 -1
  132. package/dataplex/datascan.d.ts +24 -24
  133. package/dataplex/datascan.js +24 -24
  134. package/dataplex/entryLink.d.ts +11 -11
  135. package/dataplex/entryLink.js +11 -11
  136. package/dataplex/entryType.d.ts +1 -1
  137. package/dataplex/entryType.js +1 -1
  138. package/dataplex/glossaryCategory.d.ts +4 -4
  139. package/dataplex/glossaryCategory.js +4 -4
  140. package/dataplex/glossaryTerm.d.ts +4 -4
  141. package/dataplex/glossaryTerm.js +4 -4
  142. package/dataplex/task.d.ts +8 -8
  143. package/dataplex/task.js +8 -8
  144. package/dataproc/batch.d.ts +5 -5
  145. package/dataproc/batch.js +5 -5
  146. package/dataproc/cluster.d.ts +1 -1
  147. package/dataproc/cluster.js +1 -1
  148. package/dataproc/job.d.ts +1 -1
  149. package/dataproc/job.js +1 -1
  150. package/datastream/connectionProfile.d.ts +0 -6
  151. package/datastream/connectionProfile.d.ts.map +1 -1
  152. package/datastream/connectionProfile.js +0 -6
  153. package/datastream/connectionProfile.js.map +1 -1
  154. package/datastream/privateConnection.d.ts +3 -3
  155. package/datastream/privateConnection.js +3 -3
  156. package/datastream/stream.d.ts +2 -2
  157. package/datastream/stream.js +2 -2
  158. package/developerconnect/insightsConfig.d.ts +5 -5
  159. package/developerconnect/insightsConfig.js +5 -5
  160. package/diagflow/conversationProfile.d.ts +28 -6
  161. package/diagflow/conversationProfile.d.ts.map +1 -1
  162. package/diagflow/conversationProfile.js +7 -1
  163. package/diagflow/conversationProfile.js.map +1 -1
  164. package/diagflow/index.d.ts +3 -0
  165. package/diagflow/index.d.ts.map +1 -1
  166. package/diagflow/index.js +6 -1
  167. package/diagflow/index.js.map +1 -1
  168. package/diagflow/sipTrunk.d.ts +169 -0
  169. package/diagflow/sipTrunk.d.ts.map +1 -0
  170. package/diagflow/sipTrunk.js +124 -0
  171. package/diagflow/sipTrunk.js.map +1 -0
  172. package/firestore/field.d.ts +79 -6
  173. package/firestore/field.d.ts.map +1 -1
  174. package/firestore/field.js +76 -3
  175. package/firestore/field.js.map +1 -1
  176. package/folder/iamAuditConfig.d.ts +1 -1
  177. package/folder/iamAuditConfig.js +1 -1
  178. package/folder/iambinding.d.ts +1 -1
  179. package/folder/iambinding.js +1 -1
  180. package/folder/iammember.d.ts +1 -1
  181. package/folder/iammember.js +1 -1
  182. package/folder/iampolicy.d.ts +1 -1
  183. package/folder/iampolicy.js +1 -1
  184. package/gkehub/membershipBinding.d.ts +3 -3
  185. package/gkehub/membershipBinding.js +3 -3
  186. package/gkehub/membershipRbacRoleBinding.d.ts +2 -2
  187. package/gkehub/membershipRbacRoleBinding.js +2 -2
  188. package/gkehub/namespace.d.ts +2 -2
  189. package/gkehub/namespace.js +2 -2
  190. package/gkehub/scopeRbacRoleBinding.d.ts +4 -4
  191. package/gkehub/scopeRbacRoleBinding.js +4 -4
  192. package/iam/folderAccessPolicy.d.ts +333 -0
  193. package/iam/folderAccessPolicy.d.ts.map +1 -0
  194. package/iam/folderAccessPolicy.js +195 -0
  195. package/iam/folderAccessPolicy.js.map +1 -0
  196. package/iam/index.d.ts +6 -0
  197. package/iam/index.d.ts.map +1 -1
  198. package/iam/index.js +11 -1
  199. package/iam/index.js.map +1 -1
  200. package/iam/projectAccessPolicy.d.ts +326 -0
  201. package/iam/projectAccessPolicy.d.ts.map +1 -0
  202. package/iam/projectAccessPolicy.js +182 -0
  203. package/iam/projectAccessPolicy.js.map +1 -0
  204. package/iap/getClient.d.ts +16 -18
  205. package/iap/getClient.d.ts.map +1 -1
  206. package/iap/getClient.js +8 -14
  207. package/iap/getClient.js.map +1 -1
  208. package/iap/tunnelDestGroup.d.ts +1 -1
  209. package/iap/tunnelDestGroup.js +1 -1
  210. package/index.d.ts +2 -1
  211. package/index.d.ts.map +1 -1
  212. package/index.js +5 -3
  213. package/index.js.map +1 -1
  214. package/integrationconnectors/managedZone.d.ts +4 -4
  215. package/integrationconnectors/managedZone.js +4 -4
  216. package/kms/getKMSSecretCiphertext.d.ts +2 -2
  217. package/kms/getKMSSecretCiphertext.js +2 -2
  218. package/migrationcenter/assetsExportJob.d.ts +332 -0
  219. package/migrationcenter/assetsExportJob.d.ts.map +1 -0
  220. package/migrationcenter/assetsExportJob.js +155 -0
  221. package/migrationcenter/assetsExportJob.js.map +1 -0
  222. package/migrationcenter/discoveryClient.d.ts +396 -0
  223. package/migrationcenter/discoveryClient.d.ts.map +1 -0
  224. package/migrationcenter/discoveryClient.js +181 -0
  225. package/migrationcenter/discoveryClient.js.map +1 -0
  226. package/migrationcenter/index.d.ts +18 -0
  227. package/migrationcenter/index.d.ts.map +1 -1
  228. package/migrationcenter/index.js +31 -1
  229. package/migrationcenter/index.js.map +1 -1
  230. package/migrationcenter/report.d.ts +276 -0
  231. package/migrationcenter/report.d.ts.map +1 -0
  232. package/migrationcenter/report.js +158 -0
  233. package/migrationcenter/report.js.map +1 -0
  234. package/migrationcenter/reportConfig.d.ts +227 -0
  235. package/migrationcenter/reportConfig.d.ts.map +1 -0
  236. package/migrationcenter/reportConfig.js +146 -0
  237. package/migrationcenter/reportConfig.js.map +1 -0
  238. package/migrationcenter/settings.d.ts +173 -0
  239. package/migrationcenter/settings.d.ts.map +1 -0
  240. package/migrationcenter/settings.js +132 -0
  241. package/migrationcenter/settings.js.map +1 -0
  242. package/migrationcenter/source.d.ts +293 -0
  243. package/migrationcenter/source.d.ts.map +1 -0
  244. package/migrationcenter/source.js +144 -0
  245. package/migrationcenter/source.js.map +1 -0
  246. package/netapp/backup.d.ts +0 -3
  247. package/netapp/backup.d.ts.map +1 -1
  248. package/netapp/backup.js.map +1 -1
  249. package/networkconnectivity/gatewayAdvertisedRoute.d.ts +1 -1
  250. package/networkconnectivity/gatewayAdvertisedRoute.js +1 -1
  251. package/networkconnectivity/spoke.d.ts +8 -8
  252. package/networkconnectivity/spoke.js +8 -8
  253. package/networkconnectivity/transport.d.ts +17 -8
  254. package/networkconnectivity/transport.d.ts.map +1 -1
  255. package/networkconnectivity/transport.js +5 -8
  256. package/networkconnectivity/transport.js.map +1 -1
  257. package/networkmanagement/connectivityTest.d.ts +22 -0
  258. package/networkmanagement/connectivityTest.d.ts.map +1 -1
  259. package/networkmanagement/connectivityTest.js +22 -0
  260. package/networkmanagement/connectivityTest.js.map +1 -1
  261. package/networkmanagement/getConnectivityTestRun.d.ts +2 -2
  262. package/networkmanagement/getConnectivityTestRun.js +2 -2
  263. package/observability/folderSettings.d.ts +2 -2
  264. package/observability/folderSettings.js +2 -2
  265. package/observability/projectSettings.d.ts +2 -2
  266. package/observability/projectSettings.js +2 -2
  267. package/observability/traceScope.d.ts +2 -2
  268. package/observability/traceScope.js +2 -2
  269. package/oracledatabase/cloudVmCluster.d.ts +12 -0
  270. package/oracledatabase/cloudVmCluster.d.ts.map +1 -1
  271. package/oracledatabase/cloudVmCluster.js +2 -0
  272. package/oracledatabase/cloudVmCluster.js.map +1 -1
  273. package/oracledatabase/getCloudVmCluster.d.ts +1 -0
  274. package/oracledatabase/getCloudVmCluster.d.ts.map +1 -1
  275. package/oracledatabase/getCloudVmCluster.js.map +1 -1
  276. package/oracledatabase/getGoldengateConnectionTypes.d.ts +107 -0
  277. package/oracledatabase/getGoldengateConnectionTypes.d.ts.map +1 -0
  278. package/oracledatabase/getGoldengateConnectionTypes.js +109 -0
  279. package/oracledatabase/getGoldengateConnectionTypes.js.map +1 -0
  280. package/oracledatabase/getGoldengateDeploymentEnvironments.d.ts +139 -0
  281. package/oracledatabase/getGoldengateDeploymentEnvironments.d.ts.map +1 -0
  282. package/oracledatabase/getGoldengateDeploymentEnvironments.js +141 -0
  283. package/oracledatabase/getGoldengateDeploymentEnvironments.js.map +1 -0
  284. package/oracledatabase/goldengateConnection.d.ts +585 -0
  285. package/oracledatabase/goldengateConnection.d.ts.map +1 -0
  286. package/oracledatabase/goldengateConnection.js +408 -0
  287. package/oracledatabase/goldengateConnection.js.map +1 -0
  288. package/oracledatabase/goldengateConnectionAssignment.d.ts +265 -0
  289. package/oracledatabase/goldengateConnectionAssignment.d.ts.map +1 -0
  290. package/oracledatabase/goldengateConnectionAssignment.js +150 -0
  291. package/oracledatabase/goldengateConnectionAssignment.js.map +1 -0
  292. package/oracledatabase/goldengateDeployment.d.ts +362 -0
  293. package/oracledatabase/goldengateDeployment.d.ts.map +1 -0
  294. package/oracledatabase/goldengateDeployment.js +209 -0
  295. package/oracledatabase/goldengateDeployment.js.map +1 -0
  296. package/oracledatabase/index.d.ts +15 -0
  297. package/oracledatabase/index.d.ts.map +1 -1
  298. package/oracledatabase/index.js +22 -1
  299. package/oracledatabase/index.js.map +1 -1
  300. package/organizations/iamAuditConfig.d.ts +1 -1
  301. package/organizations/iamAuditConfig.js +1 -1
  302. package/organizations/iambinding.d.ts +1 -1
  303. package/organizations/iambinding.js +1 -1
  304. package/organizations/iammember.d.ts +1 -1
  305. package/organizations/iammember.js +1 -1
  306. package/organizations/iampolicy.d.ts +1 -1
  307. package/organizations/iampolicy.js +1 -1
  308. package/orgpolicy/policy.d.ts +1 -1
  309. package/orgpolicy/policy.js +1 -1
  310. package/package.json +2 -2
  311. package/projects/iamauditConfig.d.ts +2 -2
  312. package/projects/iamauditConfig.js +2 -2
  313. package/projects/iambinding.d.ts +2 -2
  314. package/projects/iambinding.js +2 -2
  315. package/projects/iammember.d.ts +2 -2
  316. package/projects/iammember.js +2 -2
  317. package/projects/iampolicy.d.ts +2 -2
  318. package/projects/iampolicy.js +2 -2
  319. package/projects/service.d.ts +6 -0
  320. package/projects/service.d.ts.map +1 -1
  321. package/projects/service.js.map +1 -1
  322. package/provider.d.ts +2 -0
  323. package/provider.d.ts.map +1 -1
  324. package/provider.js +1 -0
  325. package/provider.js.map +1 -1
  326. package/pubsub/subscription.d.ts +4 -4
  327. package/pubsub/subscription.js +4 -4
  328. package/storage/bucket.d.ts +0 -22
  329. package/storage/bucket.d.ts.map +1 -1
  330. package/storage/bucket.js +0 -22
  331. package/storage/bucket.js.map +1 -1
  332. package/storage/getControlFolderIntelligenceConfig.d.ts +8 -14
  333. package/storage/getControlFolderIntelligenceConfig.d.ts.map +1 -1
  334. package/storage/getControlFolderIntelligenceConfig.js +6 -12
  335. package/storage/getControlFolderIntelligenceConfig.js.map +1 -1
  336. package/storage/getControlOrganizationIntelligenceConfig.d.ts +8 -14
  337. package/storage/getControlOrganizationIntelligenceConfig.d.ts.map +1 -1
  338. package/storage/getControlOrganizationIntelligenceConfig.js +6 -12
  339. package/storage/getControlOrganizationIntelligenceConfig.js.map +1 -1
  340. package/storage/getControlProjectIntelligenceConfig.d.ts +8 -14
  341. package/storage/getControlProjectIntelligenceConfig.d.ts.map +1 -1
  342. package/storage/getControlProjectIntelligenceConfig.js +6 -12
  343. package/storage/getControlProjectIntelligenceConfig.js.map +1 -1
  344. package/types/input.d.ts +9906 -5729
  345. package/types/input.d.ts.map +1 -1
  346. package/types/output.d.ts +11669 -7189
  347. package/types/output.d.ts.map +1 -1
  348. package/vertex/aiEndpoint.d.ts +3 -3
  349. package/vertex/aiEndpoint.js +3 -3
  350. package/vertex/aiFeatureOnlineStoreFeatureview.d.ts +2 -2
  351. package/vertex/aiFeatureOnlineStoreFeatureview.js +2 -2
  352. package/vertex/getAiReasoningEngineQuery.d.ts +2 -2
  353. package/vertex/getAiReasoningEngineQuery.js +2 -2
  354. package/vmwareengine/getDatastore.d.ts +38 -18
  355. package/vmwareengine/getDatastore.d.ts.map +1 -1
  356. package/vmwareengine/getDatastore.js +8 -14
  357. package/vmwareengine/getDatastore.js.map +1 -1
  358. package/workstations/workstationCluster.d.ts +26 -26
  359. package/workstations/workstationCluster.js +26 -26
@@ -0,0 +1,158 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.Report = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../utilities"));
31
+ /**
32
+ * Report represents an analytical assessment report summarizing infrastructure size, costs, and target suggestions.
33
+ *
34
+ * ## Example Usage
35
+ *
36
+ * ### Migration Center Report Basic
37
+ *
38
+ * ```typescript
39
+ * import * as pulumi from "@pulumi/pulumi";
40
+ * import * as gcp from "@pulumi/gcp";
41
+ *
42
+ * const _default = new gcp.migrationcenter.Group("default", {
43
+ * location: "us-central1",
44
+ * groupId: "group-test",
45
+ * });
46
+ * const defaultPreferenceSet = new gcp.migrationcenter.PreferenceSet("default", {
47
+ * location: "us-central1",
48
+ * preferenceSetId: "pref-set-test",
49
+ * });
50
+ * const defaultReportConfig = new gcp.migrationcenter.ReportConfig("default", {
51
+ * location: "us-central1",
52
+ * reportConfigId: "report-config-test",
53
+ * groupPreferencesetAssignments: [{
54
+ * group: _default.id,
55
+ * preferenceSet: defaultPreferenceSet.id,
56
+ * }],
57
+ * });
58
+ * const defaultReport = new gcp.migrationcenter.Report("default", {
59
+ * location: "us-central1",
60
+ * reportId: "report-test",
61
+ * reportConfig: defaultReportConfig.reportConfigId,
62
+ * type: "TOTAL_COST_OF_OWNERSHIP",
63
+ * description: "Terraform integration test description",
64
+ * displayName: "Terraform integration test display",
65
+ * });
66
+ * ```
67
+ *
68
+ * ## Import
69
+ *
70
+ * Report can be imported using any of these accepted formats:
71
+ *
72
+ * * `projects/{{project}}/locations/{{location}}/reportConfigs/{{report_config}}/reports/{{report_id}}`
73
+ * * `{{project}}/{{location}}/{{report_config}}/{{report_id}}`
74
+ * * `{{location}}/{{report_config}}/{{report_id}}`
75
+ *
76
+ * When using the `pulumi import` command, Report can be imported using one of the formats above. For example:
77
+ *
78
+ * ```sh
79
+ * $ pulumi import gcp:migrationcenter/report:Report default projects/{{project}}/locations/{{location}}/reportConfigs/{{report_config}}/reports/{{report_id}}
80
+ * $ pulumi import gcp:migrationcenter/report:Report default {{project}}/{{location}}/{{report_config}}/{{report_id}}
81
+ * $ pulumi import gcp:migrationcenter/report:Report default {{location}}/{{report_config}}/{{report_id}}
82
+ * ```
83
+ */
84
+ class Report extends pulumi.CustomResource {
85
+ /**
86
+ * Get an existing Report resource's state with the given name, ID, and optional extra
87
+ * properties used to qualify the lookup.
88
+ *
89
+ * @param name The _unique_ name of the resulting resource.
90
+ * @param id The _unique_ provider ID of the resource to lookup.
91
+ * @param state Any extra arguments used during the lookup.
92
+ * @param opts Optional settings to control the behavior of the CustomResource.
93
+ */
94
+ static get(name, id, state, opts) {
95
+ return new Report(name, state, { ...opts, id: id });
96
+ }
97
+ /** @internal */
98
+ static __pulumiType = 'gcp:migrationcenter/report:Report';
99
+ /**
100
+ * Returns true if the given object is an instance of Report. This is designed to work even
101
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
102
+ */
103
+ static isInstance(obj) {
104
+ if (obj === undefined || obj === null) {
105
+ return false;
106
+ }
107
+ return obj['__pulumiType'] === Report.__pulumiType;
108
+ }
109
+ constructor(name, argsOrState, opts) {
110
+ let resourceInputs = {};
111
+ opts = opts || {};
112
+ if (opts.id) {
113
+ const state = argsOrState;
114
+ resourceInputs["createTime"] = state?.createTime;
115
+ resourceInputs["deletionPolicy"] = state?.deletionPolicy;
116
+ resourceInputs["description"] = state?.description;
117
+ resourceInputs["displayName"] = state?.displayName;
118
+ resourceInputs["location"] = state?.location;
119
+ resourceInputs["name"] = state?.name;
120
+ resourceInputs["project"] = state?.project;
121
+ resourceInputs["reportConfig"] = state?.reportConfig;
122
+ resourceInputs["reportId"] = state?.reportId;
123
+ resourceInputs["state"] = state?.state;
124
+ resourceInputs["summaries"] = state?.summaries;
125
+ resourceInputs["type"] = state?.type;
126
+ resourceInputs["updateTime"] = state?.updateTime;
127
+ }
128
+ else {
129
+ const args = argsOrState;
130
+ if (args?.location === undefined && !opts.urn) {
131
+ throw new Error("Missing required property 'location'");
132
+ }
133
+ if (args?.reportConfig === undefined && !opts.urn) {
134
+ throw new Error("Missing required property 'reportConfig'");
135
+ }
136
+ if (args?.reportId === undefined && !opts.urn) {
137
+ throw new Error("Missing required property 'reportId'");
138
+ }
139
+ resourceInputs["deletionPolicy"] = args?.deletionPolicy;
140
+ resourceInputs["description"] = args?.description;
141
+ resourceInputs["displayName"] = args?.displayName;
142
+ resourceInputs["location"] = args?.location;
143
+ resourceInputs["project"] = args?.project;
144
+ resourceInputs["reportConfig"] = args?.reportConfig;
145
+ resourceInputs["reportId"] = args?.reportId;
146
+ resourceInputs["type"] = args?.type;
147
+ resourceInputs["createTime"] = undefined /*out*/;
148
+ resourceInputs["name"] = undefined /*out*/;
149
+ resourceInputs["state"] = undefined /*out*/;
150
+ resourceInputs["summaries"] = undefined /*out*/;
151
+ resourceInputs["updateTime"] = undefined /*out*/;
152
+ }
153
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
154
+ super(Report.__pulumiType, name, resourceInputs, opts);
155
+ }
156
+ }
157
+ exports.Report = Report;
158
+ //# sourceMappingURL=report.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"report.js","sourceRoot":"","sources":["../../migrationcenter/report.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC7D,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,mCAAmC,CAAC;IAE1E;;;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,MAAM,CAAC,YAAY,CAAC;IACvD,CAAC;IAiFD,YAAY,IAAY,EAAE,WAAsC,EAAE,IAAmC;QACjG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsC,CAAC;YACrD,cAAc,CA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;aAC3D;YACD,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AAxJL,wBAyJC"}
@@ -0,0 +1,227 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * ReportConfig defines the configuration and criteria used to generate Migration Center reports.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ### Migration Center Report Config Basic
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as gcp from "@pulumi/gcp";
14
+ *
15
+ * const _default = new gcp.migrationcenter.Group("default", {
16
+ * location: "us-central1",
17
+ * groupId: "group-test",
18
+ * });
19
+ * const defaultPreferenceSet = new gcp.migrationcenter.PreferenceSet("default", {
20
+ * location: "us-central1",
21
+ * preferenceSetId: "pref-set-test",
22
+ * });
23
+ * const defaultReportConfig = new gcp.migrationcenter.ReportConfig("default", {
24
+ * location: "us-central1",
25
+ * reportConfigId: "report-config-test",
26
+ * description: "Terraform integration test description",
27
+ * displayName: "Terraform integration test display",
28
+ * groupPreferencesetAssignments: [{
29
+ * group: _default.id,
30
+ * preferenceSet: defaultPreferenceSet.id,
31
+ * }],
32
+ * });
33
+ * ```
34
+ *
35
+ * ## Import
36
+ *
37
+ * ReportConfig can be imported using any of these accepted formats:
38
+ *
39
+ * * `projects/{{project}}/locations/{{location}}/reportConfigs/{{report_config_id}}`
40
+ * * `{{project}}/{{location}}/{{report_config_id}}`
41
+ * * `{{location}}/{{report_config_id}}`
42
+ *
43
+ * When using the `pulumi import` command, ReportConfig can be imported using one of the formats above. For example:
44
+ *
45
+ * ```sh
46
+ * $ pulumi import gcp:migrationcenter/reportConfig:ReportConfig default projects/{{project}}/locations/{{location}}/reportConfigs/{{report_config_id}}
47
+ * $ pulumi import gcp:migrationcenter/reportConfig:ReportConfig default {{project}}/{{location}}/{{report_config_id}}
48
+ * $ pulumi import gcp:migrationcenter/reportConfig:ReportConfig default {{location}}/{{report_config_id}}
49
+ * ```
50
+ */
51
+ export declare class ReportConfig extends pulumi.CustomResource {
52
+ /**
53
+ * Get an existing ReportConfig resource's state with the given name, ID, and optional extra
54
+ * properties used to qualify the lookup.
55
+ *
56
+ * @param name The _unique_ name of the resulting resource.
57
+ * @param id The _unique_ provider ID of the resource to lookup.
58
+ * @param state Any extra arguments used during the lookup.
59
+ * @param opts Optional settings to control the behavior of the CustomResource.
60
+ */
61
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ReportConfigState, opts?: pulumi.CustomResourceOptions): ReportConfig;
62
+ /**
63
+ * Returns true if the given object is an instance of ReportConfig. This is designed to work even
64
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
65
+ */
66
+ static isInstance(obj: any): obj is ReportConfig;
67
+ /**
68
+ * The timestamp when the resource was created.
69
+ */
70
+ readonly createTime: pulumi.Output<string>;
71
+ /**
72
+ * Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
73
+ * When a 'terraform destroy' or 'pulumi up' would delete the resource,
74
+ * the command will fail if this field is set to "PREVENT" in Terraform state.
75
+ * When set to "ABANDON", the command will remove the resource from Terraform
76
+ * management without updating or deleting the resource in the API.
77
+ * When set to "DELETE", deleting the resource is allowed.
78
+ */
79
+ readonly deletionPolicy: pulumi.Output<string>;
80
+ /**
81
+ * Free-text description.
82
+ */
83
+ readonly description: pulumi.Output<string | undefined>;
84
+ /**
85
+ * User-friendly display name. Maximum length is 63 characters.
86
+ */
87
+ readonly displayName: pulumi.Output<string | undefined>;
88
+ /**
89
+ * Collection of combinations of groups and preference sets.
90
+ * Structure is documented below.
91
+ */
92
+ readonly groupPreferencesetAssignments: pulumi.Output<outputs.migrationcenter.ReportConfigGroupPreferencesetAssignment[]>;
93
+ /**
94
+ * Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
95
+ */
96
+ readonly location: pulumi.Output<string>;
97
+ /**
98
+ * Name of resource.
99
+ */
100
+ readonly name: pulumi.Output<string>;
101
+ /**
102
+ * The ID of the project in which the resource belongs.
103
+ * If it is not provided, the provider project is used.
104
+ */
105
+ readonly project: pulumi.Output<string>;
106
+ /**
107
+ * User specified ID for the report config. It will become the last component
108
+ * of the report config name. The ID must be unique within the project, must
109
+ * conform with RFC-1034, is restricted to lower-cased letters, and has a
110
+ * maximum length of 63 characters. The ID must match the regular expression:
111
+ * a-z?.
112
+ */
113
+ readonly reportConfigId: pulumi.Output<string>;
114
+ /**
115
+ * The timestamp when the resource was last updated.
116
+ */
117
+ readonly updateTime: pulumi.Output<string>;
118
+ /**
119
+ * Create a ReportConfig resource with the given unique name, arguments, and options.
120
+ *
121
+ * @param name The _unique_ name of the resource.
122
+ * @param args The arguments to use to populate this resource's properties.
123
+ * @param opts A bag of options that control this resource's behavior.
124
+ */
125
+ constructor(name: string, args: ReportConfigArgs, opts?: pulumi.CustomResourceOptions);
126
+ }
127
+ /**
128
+ * Input properties used for looking up and filtering ReportConfig resources.
129
+ */
130
+ export interface ReportConfigState {
131
+ /**
132
+ * The timestamp when the resource was created.
133
+ */
134
+ createTime?: pulumi.Input<string | undefined>;
135
+ /**
136
+ * Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
137
+ * When a 'terraform destroy' or 'pulumi up' would delete the resource,
138
+ * the command will fail if this field is set to "PREVENT" in Terraform state.
139
+ * When set to "ABANDON", the command will remove the resource from Terraform
140
+ * management without updating or deleting the resource in the API.
141
+ * When set to "DELETE", deleting the resource is allowed.
142
+ */
143
+ deletionPolicy?: pulumi.Input<string | undefined>;
144
+ /**
145
+ * Free-text description.
146
+ */
147
+ description?: pulumi.Input<string | undefined>;
148
+ /**
149
+ * User-friendly display name. Maximum length is 63 characters.
150
+ */
151
+ displayName?: pulumi.Input<string | undefined>;
152
+ /**
153
+ * Collection of combinations of groups and preference sets.
154
+ * Structure is documented below.
155
+ */
156
+ groupPreferencesetAssignments?: pulumi.Input<pulumi.Input<inputs.migrationcenter.ReportConfigGroupPreferencesetAssignment>[] | undefined>;
157
+ /**
158
+ * Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
159
+ */
160
+ location?: pulumi.Input<string | undefined>;
161
+ /**
162
+ * Name of resource.
163
+ */
164
+ name?: pulumi.Input<string | undefined>;
165
+ /**
166
+ * The ID of the project in which the resource belongs.
167
+ * If it is not provided, the provider project is used.
168
+ */
169
+ project?: pulumi.Input<string | undefined>;
170
+ /**
171
+ * User specified ID for the report config. It will become the last component
172
+ * of the report config name. The ID must be unique within the project, must
173
+ * conform with RFC-1034, is restricted to lower-cased letters, and has a
174
+ * maximum length of 63 characters. The ID must match the regular expression:
175
+ * a-z?.
176
+ */
177
+ reportConfigId?: pulumi.Input<string | undefined>;
178
+ /**
179
+ * The timestamp when the resource was last updated.
180
+ */
181
+ updateTime?: pulumi.Input<string | undefined>;
182
+ }
183
+ /**
184
+ * The set of arguments for constructing a ReportConfig resource.
185
+ */
186
+ export interface ReportConfigArgs {
187
+ /**
188
+ * Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
189
+ * When a 'terraform destroy' or 'pulumi up' would delete the resource,
190
+ * the command will fail if this field is set to "PREVENT" in Terraform state.
191
+ * When set to "ABANDON", the command will remove the resource from Terraform
192
+ * management without updating or deleting the resource in the API.
193
+ * When set to "DELETE", deleting the resource is allowed.
194
+ */
195
+ deletionPolicy?: pulumi.Input<string | undefined>;
196
+ /**
197
+ * Free-text description.
198
+ */
199
+ description?: pulumi.Input<string | undefined>;
200
+ /**
201
+ * User-friendly display name. Maximum length is 63 characters.
202
+ */
203
+ displayName?: pulumi.Input<string | undefined>;
204
+ /**
205
+ * Collection of combinations of groups and preference sets.
206
+ * Structure is documented below.
207
+ */
208
+ groupPreferencesetAssignments: pulumi.Input<pulumi.Input<inputs.migrationcenter.ReportConfigGroupPreferencesetAssignment>[]>;
209
+ /**
210
+ * Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
211
+ */
212
+ location: pulumi.Input<string>;
213
+ /**
214
+ * The ID of the project in which the resource belongs.
215
+ * If it is not provided, the provider project is used.
216
+ */
217
+ project?: pulumi.Input<string | undefined>;
218
+ /**
219
+ * User specified ID for the report config. It will become the last component
220
+ * of the report config name. The ID must be unique within the project, must
221
+ * conform with RFC-1034, is restricted to lower-cased letters, and has a
222
+ * maximum length of 63 characters. The ID must match the regular expression:
223
+ * a-z?.
224
+ */
225
+ reportConfigId: pulumi.Input<string>;
226
+ }
227
+ //# sourceMapping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,SAAS,CAAC,CAAC;IAC3C;;;;;;OAMG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAClD;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACjD;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;;;;;;OAOG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAClD;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;;OAGG;IACH,6BAA6B,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,eAAe,CAAC,wCAAwC,CAAC,EAAE,CAAC,CAAC;IAC7H;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/B;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC3C;;;;;;OAMG;IACH,cAAc,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACxC"}
@@ -0,0 +1,146 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.ReportConfig = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../utilities"));
31
+ /**
32
+ * ReportConfig defines the configuration and criteria used to generate Migration Center reports.
33
+ *
34
+ * ## Example Usage
35
+ *
36
+ * ### Migration Center Report Config Basic
37
+ *
38
+ * ```typescript
39
+ * import * as pulumi from "@pulumi/pulumi";
40
+ * import * as gcp from "@pulumi/gcp";
41
+ *
42
+ * const _default = new gcp.migrationcenter.Group("default", {
43
+ * location: "us-central1",
44
+ * groupId: "group-test",
45
+ * });
46
+ * const defaultPreferenceSet = new gcp.migrationcenter.PreferenceSet("default", {
47
+ * location: "us-central1",
48
+ * preferenceSetId: "pref-set-test",
49
+ * });
50
+ * const defaultReportConfig = new gcp.migrationcenter.ReportConfig("default", {
51
+ * location: "us-central1",
52
+ * reportConfigId: "report-config-test",
53
+ * description: "Terraform integration test description",
54
+ * displayName: "Terraform integration test display",
55
+ * groupPreferencesetAssignments: [{
56
+ * group: _default.id,
57
+ * preferenceSet: defaultPreferenceSet.id,
58
+ * }],
59
+ * });
60
+ * ```
61
+ *
62
+ * ## Import
63
+ *
64
+ * ReportConfig can be imported using any of these accepted formats:
65
+ *
66
+ * * `projects/{{project}}/locations/{{location}}/reportConfigs/{{report_config_id}}`
67
+ * * `{{project}}/{{location}}/{{report_config_id}}`
68
+ * * `{{location}}/{{report_config_id}}`
69
+ *
70
+ * When using the `pulumi import` command, ReportConfig can be imported using one of the formats above. For example:
71
+ *
72
+ * ```sh
73
+ * $ pulumi import gcp:migrationcenter/reportConfig:ReportConfig default projects/{{project}}/locations/{{location}}/reportConfigs/{{report_config_id}}
74
+ * $ pulumi import gcp:migrationcenter/reportConfig:ReportConfig default {{project}}/{{location}}/{{report_config_id}}
75
+ * $ pulumi import gcp:migrationcenter/reportConfig:ReportConfig default {{location}}/{{report_config_id}}
76
+ * ```
77
+ */
78
+ class ReportConfig extends pulumi.CustomResource {
79
+ /**
80
+ * Get an existing ReportConfig resource's state with the given name, ID, and optional extra
81
+ * properties used to qualify the lookup.
82
+ *
83
+ * @param name The _unique_ name of the resulting resource.
84
+ * @param id The _unique_ provider ID of the resource to lookup.
85
+ * @param state Any extra arguments used during the lookup.
86
+ * @param opts Optional settings to control the behavior of the CustomResource.
87
+ */
88
+ static get(name, id, state, opts) {
89
+ return new ReportConfig(name, state, { ...opts, id: id });
90
+ }
91
+ /** @internal */
92
+ static __pulumiType = 'gcp:migrationcenter/reportConfig:ReportConfig';
93
+ /**
94
+ * Returns true if the given object is an instance of ReportConfig. This is designed to work even
95
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
96
+ */
97
+ static isInstance(obj) {
98
+ if (obj === undefined || obj === null) {
99
+ return false;
100
+ }
101
+ return obj['__pulumiType'] === ReportConfig.__pulumiType;
102
+ }
103
+ constructor(name, argsOrState, opts) {
104
+ let resourceInputs = {};
105
+ opts = opts || {};
106
+ if (opts.id) {
107
+ const state = argsOrState;
108
+ resourceInputs["createTime"] = state?.createTime;
109
+ resourceInputs["deletionPolicy"] = state?.deletionPolicy;
110
+ resourceInputs["description"] = state?.description;
111
+ resourceInputs["displayName"] = state?.displayName;
112
+ resourceInputs["groupPreferencesetAssignments"] = state?.groupPreferencesetAssignments;
113
+ resourceInputs["location"] = state?.location;
114
+ resourceInputs["name"] = state?.name;
115
+ resourceInputs["project"] = state?.project;
116
+ resourceInputs["reportConfigId"] = state?.reportConfigId;
117
+ resourceInputs["updateTime"] = state?.updateTime;
118
+ }
119
+ else {
120
+ const args = argsOrState;
121
+ if (args?.groupPreferencesetAssignments === undefined && !opts.urn) {
122
+ throw new Error("Missing required property 'groupPreferencesetAssignments'");
123
+ }
124
+ if (args?.location === undefined && !opts.urn) {
125
+ throw new Error("Missing required property 'location'");
126
+ }
127
+ if (args?.reportConfigId === undefined && !opts.urn) {
128
+ throw new Error("Missing required property 'reportConfigId'");
129
+ }
130
+ resourceInputs["deletionPolicy"] = args?.deletionPolicy;
131
+ resourceInputs["description"] = args?.description;
132
+ resourceInputs["displayName"] = args?.displayName;
133
+ resourceInputs["groupPreferencesetAssignments"] = args?.groupPreferencesetAssignments;
134
+ resourceInputs["location"] = args?.location;
135
+ resourceInputs["project"] = args?.project;
136
+ resourceInputs["reportConfigId"] = args?.reportConfigId;
137
+ resourceInputs["createTime"] = undefined /*out*/;
138
+ resourceInputs["name"] = undefined /*out*/;
139
+ resourceInputs["updateTime"] = undefined /*out*/;
140
+ }
141
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
142
+ super(ReportConfig.__pulumiType, name, resourceInputs, opts);
143
+ }
144
+ }
145
+ exports.ReportConfig = ReportConfig;
146
+ //# sourceMappingURL=reportConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reportConfig.js","sourceRoot":"","sources":["../../migrationcenter/reportConfig.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MA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