@pulumi/gcp 6.41.0 → 6.42.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 (408) hide show
  1. package/accessapproval/index.js +2 -2
  2. package/accessapproval/index.js.map +1 -1
  3. package/accesscontextmanager/index.js +10 -10
  4. package/accesscontextmanager/index.js.map +1 -1
  5. package/activedirectory/domainTrust.js +3 -1
  6. package/activedirectory/domainTrust.js.map +1 -1
  7. package/activedirectory/index.js +2 -2
  8. package/activedirectory/index.js.map +1 -1
  9. package/alloydb/cluster.d.ts +283 -0
  10. package/alloydb/cluster.js +165 -0
  11. package/alloydb/cluster.js.map +1 -0
  12. package/alloydb/index.d.ts +3 -0
  13. package/alloydb/index.js +22 -0
  14. package/alloydb/index.js.map +1 -0
  15. package/apigateway/index.js +11 -11
  16. package/apigateway/index.js.map +1 -1
  17. package/apigee/endpointAttachment.d.ts +0 -33
  18. package/apigee/endpointAttachment.js +0 -33
  19. package/apigee/endpointAttachment.js.map +1 -1
  20. package/apigee/envGroup.d.ts +0 -31
  21. package/apigee/envGroup.js +0 -31
  22. package/apigee/envGroup.js.map +1 -1
  23. package/apigee/environment.d.ts +0 -32
  24. package/apigee/environment.js +0 -32
  25. package/apigee/environment.js.map +1 -1
  26. package/apigee/index.js +10 -10
  27. package/apigee/index.js.map +1 -1
  28. package/apigee/instance.d.ts +0 -148
  29. package/apigee/instance.js +0 -148
  30. package/apigee/instance.js.map +1 -1
  31. package/apigee/organization.d.ts +0 -73
  32. package/apigee/organization.js +0 -73
  33. package/apigee/organization.js.map +1 -1
  34. package/appengine/getDefaultServiceAccount.d.ts +4 -0
  35. package/appengine/getDefaultServiceAccount.js.map +1 -1
  36. package/appengine/index.js +8 -8
  37. package/appengine/index.js.map +1 -1
  38. package/artifactregistry/index.js +4 -4
  39. package/artifactregistry/index.js.map +1 -1
  40. package/assuredworkloads/index.js.map +1 -1
  41. package/bigquery/dataset.d.ts +12 -0
  42. package/bigquery/dataset.js +2 -0
  43. package/bigquery/dataset.js.map +1 -1
  44. package/bigquery/getDefaultServiceAccount.d.ts +4 -0
  45. package/bigquery/getDefaultServiceAccount.js.map +1 -1
  46. package/bigquery/index.js +19 -19
  47. package/bigquery/index.js.map +1 -1
  48. package/bigqueryanalyticshub/dataExchange.d.ts +11 -5
  49. package/bigqueryanalyticshub/dataExchange.js +11 -5
  50. package/bigqueryanalyticshub/dataExchange.js.map +1 -1
  51. package/bigqueryanalyticshub/dataExchangeIamBinding.d.ts +60 -0
  52. package/bigqueryanalyticshub/dataExchangeIamBinding.js +60 -0
  53. package/bigqueryanalyticshub/dataExchangeIamBinding.js.map +1 -1
  54. package/bigqueryanalyticshub/dataExchangeIamMember.d.ts +60 -0
  55. package/bigqueryanalyticshub/dataExchangeIamMember.js +60 -0
  56. package/bigqueryanalyticshub/dataExchangeIamMember.js.map +1 -1
  57. package/bigqueryanalyticshub/dataExchangeIamPolicy.d.ts +60 -0
  58. package/bigqueryanalyticshub/dataExchangeIamPolicy.js +60 -0
  59. package/bigqueryanalyticshub/dataExchangeIamPolicy.js.map +1 -1
  60. package/bigqueryanalyticshub/index.js +7 -7
  61. package/bigqueryanalyticshub/index.js.map +1 -1
  62. package/bigqueryanalyticshub/listing.d.ts +8 -6
  63. package/bigqueryanalyticshub/listing.js +8 -6
  64. package/bigqueryanalyticshub/listing.js.map +1 -1
  65. package/bigqueryanalyticshub/listingIamBinding.d.ts +63 -0
  66. package/bigqueryanalyticshub/listingIamBinding.js +63 -0
  67. package/bigqueryanalyticshub/listingIamBinding.js.map +1 -1
  68. package/bigqueryanalyticshub/listingIamMember.d.ts +63 -0
  69. package/bigqueryanalyticshub/listingIamMember.js +63 -0
  70. package/bigqueryanalyticshub/listingIamMember.js.map +1 -1
  71. package/bigqueryanalyticshub/listingIamPolicy.d.ts +63 -0
  72. package/bigqueryanalyticshub/listingIamPolicy.js +63 -0
  73. package/bigqueryanalyticshub/listingIamPolicy.js.map +1 -1
  74. package/bigquerydatapolicy/index.js +3 -3
  75. package/bigquerydatapolicy/index.js.map +1 -1
  76. package/bigtable/gcpolicy.d.ts +9 -0
  77. package/bigtable/gcpolicy.js +9 -0
  78. package/bigtable/gcpolicy.js.map +1 -1
  79. package/bigtable/index.js +8 -8
  80. package/bigtable/index.js.map +1 -1
  81. package/billing/index.js +4 -4
  82. package/billing/index.js.map +1 -1
  83. package/binaryauthorization/index.js +4 -4
  84. package/binaryauthorization/index.js.map +1 -1
  85. package/certificateauthority/authority.d.ts +33 -0
  86. package/certificateauthority/authority.js +2 -0
  87. package/certificateauthority/authority.js.map +1 -1
  88. package/certificateauthority/getAuthority.d.ts +1 -0
  89. package/certificateauthority/getAuthority.js.map +1 -1
  90. package/certificateauthority/index.js +10 -10
  91. package/certificateauthority/index.js.map +1 -1
  92. package/certificatemanager/index.js +3 -3
  93. package/certificatemanager/index.js.map +1 -1
  94. package/cloudasset/index.js +2 -2
  95. package/cloudasset/index.js.map +1 -1
  96. package/cloudbuild/index.js +1 -1
  97. package/cloudbuild/index.js.map +1 -1
  98. package/cloudbuild/trigger.d.ts +16 -10
  99. package/cloudbuild/trigger.js +16 -10
  100. package/cloudbuild/trigger.js.map +1 -1
  101. package/clouddeploy/index.js +1 -1
  102. package/clouddeploy/index.js.map +1 -1
  103. package/cloudfunctions/index.js +5 -5
  104. package/cloudfunctions/index.js.map +1 -1
  105. package/cloudfunctionsv2/index.js +4 -4
  106. package/cloudfunctionsv2/index.js.map +1 -1
  107. package/cloudidentity/index.js +3 -3
  108. package/cloudidentity/index.js.map +1 -1
  109. package/cloudids/index.js.map +1 -1
  110. package/cloudrun/index.js +6 -6
  111. package/cloudrun/index.js.map +1 -1
  112. package/cloudrun/service.d.ts +5 -25
  113. package/cloudrun/service.js +5 -25
  114. package/cloudrun/service.js.map +1 -1
  115. package/cloudscheduler/index.js.map +1 -1
  116. package/cloudtasks/index.js +3 -3
  117. package/cloudtasks/index.js.map +1 -1
  118. package/composer/index.js +2 -2
  119. package/composer/index.js.map +1 -1
  120. package/compute/backendBucketSignedUrlKey.js +3 -1
  121. package/compute/backendBucketSignedUrlKey.js.map +1 -1
  122. package/compute/backendServiceSignedUrlKey.js +3 -1
  123. package/compute/backendServiceSignedUrlKey.js.map +1 -1
  124. package/compute/disk.d.ts +43 -0
  125. package/compute/disk.js +4 -0
  126. package/compute/disk.js.map +1 -1
  127. package/compute/getAddresses.d.ts +108 -0
  128. package/compute/getAddresses.js +30 -0
  129. package/compute/getAddresses.js.map +1 -0
  130. package/compute/getDisk.d.ts +2 -0
  131. package/compute/getDisk.js.map +1 -1
  132. package/compute/getLBIPRanges.d.ts +0 -18
  133. package/compute/getLBIPRanges.js +0 -18
  134. package/compute/getLBIPRanges.js.map +1 -1
  135. package/compute/getRegionNetworkEndpointGroup.d.ts +103 -0
  136. package/compute/getRegionNetworkEndpointGroup.js +46 -0
  137. package/compute/getRegionNetworkEndpointGroup.js.map +1 -0
  138. package/compute/index.d.ts +6 -0
  139. package/compute/index.js +163 -157
  140. package/compute/index.js.map +1 -1
  141. package/compute/instance.d.ts +6 -3
  142. package/compute/instance.js.map +1 -1
  143. package/compute/regionDisk.d.ts +43 -0
  144. package/compute/regionDisk.js +4 -0
  145. package/compute/regionDisk.js.map +1 -1
  146. package/compute/regionSslCertificate.js +4 -2
  147. package/compute/regionSslCertificate.js.map +1 -1
  148. package/compute/routerNat.d.ts +59 -1
  149. package/compute/routerNat.js +46 -1
  150. package/compute/routerNat.js.map +1 -1
  151. package/compute/sslcertificate.js +4 -2
  152. package/compute/sslcertificate.js.map +1 -1
  153. package/compute/vpntunnel.js +3 -1
  154. package/compute/vpntunnel.js.map +1 -1
  155. package/config/vars.d.ts +3 -0
  156. package/config/vars.js +18 -0
  157. package/config/vars.js.map +1 -1
  158. package/container/cluster.d.ts +9 -3
  159. package/container/cluster.js.map +1 -1
  160. package/container/index.js +13 -13
  161. package/container/index.js.map +1 -1
  162. package/containeranalysis/index.js +1 -1
  163. package/containeranalysis/index.js.map +1 -1
  164. package/datacatalog/index.js +17 -17
  165. package/datacatalog/index.js.map +1 -1
  166. package/dataflow/index.js +1 -1
  167. package/dataflow/index.js.map +1 -1
  168. package/dataform/index.d.ts +3 -0
  169. package/dataform/index.js +22 -0
  170. package/dataform/index.js.map +1 -0
  171. package/dataform/repository.d.ts +146 -0
  172. package/dataform/repository.js +109 -0
  173. package/dataform/repository.js.map +1 -0
  174. package/datafusion/index.js.map +1 -1
  175. package/dataloss/index.js +3 -3
  176. package/dataloss/index.js.map +1 -1
  177. package/dataplex/index.js +2 -2
  178. package/dataplex/index.js.map +1 -1
  179. package/dataproc/index.js +20 -20
  180. package/dataproc/index.js.map +1 -1
  181. package/datastore/index.js.map +1 -1
  182. package/datastream/connectionProfile.d.ts +35 -4
  183. package/datastream/connectionProfile.js +22 -4
  184. package/datastream/connectionProfile.js.map +1 -1
  185. package/datastream/index.js +1 -1
  186. package/datastream/index.js.map +1 -1
  187. package/deploymentmanager/index.js.map +1 -1
  188. package/diagflow/index.js +11 -11
  189. package/diagflow/index.js.map +1 -1
  190. package/dns/index.js +7 -7
  191. package/dns/index.js.map +1 -1
  192. package/dns/recordSet.d.ts +52 -6
  193. package/dns/recordSet.js +49 -0
  194. package/dns/recordSet.js.map +1 -1
  195. package/endpoints/index.js +6 -6
  196. package/endpoints/index.js.map +1 -1
  197. package/essentialcontacts/index.js +2 -2
  198. package/essentialcontacts/index.js.map +1 -1
  199. package/eventarc/index.js.map +1 -1
  200. package/filestore/index.js +1 -1
  201. package/filestore/index.js.map +1 -1
  202. package/firebase/androidApp.d.ts +151 -0
  203. package/firebase/androidApp.js +99 -0
  204. package/firebase/androidApp.js.map +1 -0
  205. package/firebase/getWebApp.d.ts +2 -0
  206. package/firebase/getWebApp.js.map +1 -1
  207. package/firebase/index.d.ts +3 -0
  208. package/firebase/index.js +10 -5
  209. package/firebase/index.js.map +1 -1
  210. package/firebase/webApp.d.ts +24 -0
  211. package/firebase/webApp.js +5 -0
  212. package/firebase/webApp.js.map +1 -1
  213. package/firebaserules/index.js +1 -1
  214. package/firebaserules/index.js.map +1 -1
  215. package/firestore/index.js +1 -1
  216. package/firestore/index.js.map +1 -1
  217. package/folder/index.js +6 -6
  218. package/folder/index.js.map +1 -1
  219. package/gameservices/index.js +5 -5
  220. package/gameservices/index.js.map +1 -1
  221. package/gkehub/index.js +5 -5
  222. package/gkehub/index.js.map +1 -1
  223. package/healthcare/index.js +19 -19
  224. package/healthcare/index.js.map +1 -1
  225. package/iam/index.d.ts +3 -0
  226. package/iam/index.js +12 -7
  227. package/iam/index.js.map +1 -1
  228. package/iam/workforcePool.d.ts +214 -0
  229. package/iam/workforcePool.js +121 -0
  230. package/iam/workforcePool.js.map +1 -0
  231. package/iap/client.js +2 -0
  232. package/iap/client.js.map +1 -1
  233. package/iap/index.js +26 -26
  234. package/iap/index.js.map +1 -1
  235. package/identityplatform/index.js +7 -7
  236. package/identityplatform/index.js.map +1 -1
  237. package/index.d.ts +3 -1
  238. package/index.js +7 -3
  239. package/index.js.map +1 -1
  240. package/iot/index.js +4 -4
  241. package/iot/index.js.map +1 -1
  242. package/kms/index.js +16 -16
  243. package/kms/index.js.map +1 -1
  244. package/kms/secretCiphertext.js +4 -2
  245. package/kms/secretCiphertext.js.map +1 -1
  246. package/logging/index.js +13 -13
  247. package/logging/index.js.map +1 -1
  248. package/memcache/index.js.map +1 -1
  249. package/ml/index.js.map +1 -1
  250. package/monitoring/genericService.d.ts +202 -0
  251. package/monitoring/genericService.js +116 -0
  252. package/monitoring/genericService.js.map +1 -0
  253. package/monitoring/getUptimeCheckIPs.d.ts +0 -10
  254. package/monitoring/getUptimeCheckIPs.js +0 -10
  255. package/monitoring/getUptimeCheckIPs.js.map +1 -1
  256. package/monitoring/index.d.ts +3 -0
  257. package/monitoring/index.js +21 -16
  258. package/monitoring/index.js.map +1 -1
  259. package/networkconnectivity/index.js +1 -1
  260. package/networkconnectivity/index.js.map +1 -1
  261. package/networkmanagement/index.js.map +1 -1
  262. package/networkservices/index.js +2 -2
  263. package/networkservices/index.js.map +1 -1
  264. package/notebooks/index.js +9 -9
  265. package/notebooks/index.js.map +1 -1
  266. package/organizations/folder.d.ts +1 -1
  267. package/organizations/folder.js +1 -1
  268. package/organizations/getClientConfig.d.ts +0 -11
  269. package/organizations/getClientConfig.js +0 -11
  270. package/organizations/getClientConfig.js.map +1 -1
  271. package/organizations/getClientOpenIdUserInfo.d.ts +0 -14
  272. package/organizations/getClientOpenIdUserInfo.js +0 -14
  273. package/organizations/getClientOpenIdUserInfo.js.map +1 -1
  274. package/organizations/index.js +17 -17
  275. package/organizations/index.js.map +1 -1
  276. package/orgpolicy/index.js +1 -1
  277. package/orgpolicy/index.js.map +1 -1
  278. package/osconfig/index.js +2 -2
  279. package/osconfig/index.js.map +1 -1
  280. package/oslogin/index.js.map +1 -1
  281. package/oslogin/sshPublicKey.d.ts +0 -13
  282. package/oslogin/sshPublicKey.js +0 -13
  283. package/oslogin/sshPublicKey.js.map +1 -1
  284. package/package.json +2 -2
  285. package/package.json.dev +2 -2
  286. package/projects/apiKey.js +2 -0
  287. package/projects/apiKey.js.map +1 -1
  288. package/projects/index.js +13 -13
  289. package/projects/index.js.map +1 -1
  290. package/provider.d.ts +6 -0
  291. package/provider.js +3 -0
  292. package/provider.js.map +1 -1
  293. package/pubsub/index.js +13 -13
  294. package/pubsub/index.js.map +1 -1
  295. package/recaptcha/index.js.map +1 -1
  296. package/redis/index.js +1 -1
  297. package/redis/index.js.map +1 -1
  298. package/redis/instance.js +2 -0
  299. package/redis/instance.js.map +1 -1
  300. package/resourcemanager/index.js.map +1 -1
  301. package/runtimeconfig/index.js +6 -6
  302. package/runtimeconfig/index.js.map +1 -1
  303. package/runtimeconfig/variable.js +4 -2
  304. package/runtimeconfig/variable.js.map +1 -1
  305. package/secretmanager/index.js +6 -6
  306. package/secretmanager/index.js.map +1 -1
  307. package/secretmanager/secretVersion.js +3 -1
  308. package/secretmanager/secretVersion.js.map +1 -1
  309. package/securitycenter/index.d.ts +9 -0
  310. package/securitycenter/index.js +17 -2
  311. package/securitycenter/index.js.map +1 -1
  312. package/securitycenter/source.d.ts +1 -1
  313. package/securitycenter/source.js +1 -1
  314. package/securitycenter/sourceIamBinding.d.ts +105 -0
  315. package/securitycenter/sourceIamBinding.js +109 -0
  316. package/securitycenter/sourceIamBinding.js.map +1 -0
  317. package/securitycenter/sourceIamMember.d.ts +105 -0
  318. package/securitycenter/sourceIamMember.js +109 -0
  319. package/securitycenter/sourceIamMember.js.map +1 -0
  320. package/securitycenter/sourceIamPolicy.d.ts +97 -0
  321. package/securitycenter/sourceIamPolicy.js +102 -0
  322. package/securitycenter/sourceIamPolicy.js.map +1 -0
  323. package/serviceaccount/account.d.ts +8 -0
  324. package/serviceaccount/account.js +2 -0
  325. package/serviceaccount/account.js.map +1 -1
  326. package/serviceaccount/getAccount.d.ts +4 -0
  327. package/serviceaccount/getAccount.js.map +1 -1
  328. package/serviceaccount/index.js +9 -9
  329. package/serviceaccount/index.js.map +1 -1
  330. package/serviceaccount/key.js +2 -0
  331. package/serviceaccount/key.js.map +1 -1
  332. package/servicedirectory/index.js +8 -8
  333. package/servicedirectory/index.js.map +1 -1
  334. package/servicenetworking/connection.d.ts +11 -1
  335. package/servicenetworking/connection.js +11 -1
  336. package/servicenetworking/connection.js.map +1 -1
  337. package/servicenetworking/index.js +2 -2
  338. package/servicenetworking/index.js.map +1 -1
  339. package/serviceusage/index.js.map +1 -1
  340. package/sourcerepo/index.js +4 -4
  341. package/sourcerepo/index.js.map +1 -1
  342. package/spanner/index.js +8 -8
  343. package/spanner/index.js.map +1 -1
  344. package/spanner/instanceIAMBinding.d.ts +2 -2
  345. package/spanner/instanceIAMBinding.js +2 -2
  346. package/spanner/instanceIAMMember.d.ts +2 -2
  347. package/spanner/instanceIAMMember.js +2 -2
  348. package/spanner/instanceIAMPolicy.d.ts +2 -2
  349. package/spanner/instanceIAMPolicy.js +2 -2
  350. package/sql/databaseInstance.js +3 -1
  351. package/sql/databaseInstance.js.map +1 -1
  352. package/sql/index.js +7 -7
  353. package/sql/index.js.map +1 -1
  354. package/sql/sslCert.js +2 -0
  355. package/sql/sslCert.js.map +1 -1
  356. package/sql/user.js +3 -1
  357. package/sql/user.js.map +1 -1
  358. package/storage/bucket.d.ts +15 -3
  359. package/storage/bucket.js +12 -0
  360. package/storage/bucket.js.map +1 -1
  361. package/storage/bucketIAMBinding.d.ts +0 -39
  362. package/storage/bucketIAMBinding.js.map +1 -1
  363. package/storage/bucketObject.js +4 -2
  364. package/storage/bucketObject.js.map +1 -1
  365. package/storage/getProjectServiceAccount.d.ts +4 -0
  366. package/storage/getProjectServiceAccount.js.map +1 -1
  367. package/storage/getTransferProjectServieAccount.d.ts +4 -0
  368. package/storage/getTransferProjectServieAccount.js.map +1 -1
  369. package/storage/hmacKey.js +2 -0
  370. package/storage/hmacKey.js.map +1 -1
  371. package/storage/index.js +20 -20
  372. package/storage/index.js.map +1 -1
  373. package/tags/index.js +10 -10
  374. package/tags/index.js.map +1 -1
  375. package/tpu/index.js +1 -1
  376. package/tpu/index.js.map +1 -1
  377. package/types/input.d.ts +547 -9
  378. package/types/output.d.ts +626 -9
  379. package/vertex/aiEndpoint.d.ts +262 -0
  380. package/vertex/aiEndpoint.js +147 -0
  381. package/vertex/aiEndpoint.js.map +1 -0
  382. package/vertex/aiFeatureStore.d.ts +13 -7
  383. package/vertex/aiFeatureStore.js +13 -7
  384. package/vertex/aiFeatureStore.js.map +1 -1
  385. package/vertex/aiFeatureStoreEntityType.d.ts +33 -0
  386. package/vertex/aiFeatureStoreEntityType.js +33 -0
  387. package/vertex/aiFeatureStoreEntityType.js.map +1 -1
  388. package/vertex/aiFeatureStoreEntityTypeFeature.d.ts +37 -0
  389. package/vertex/aiFeatureStoreEntityTypeFeature.js +37 -0
  390. package/vertex/aiFeatureStoreEntityTypeFeature.js.map +1 -1
  391. package/vertex/aiFeatureStoreIamBinding.d.ts +130 -0
  392. package/vertex/aiFeatureStoreIamBinding.js +121 -0
  393. package/vertex/aiFeatureStoreIamBinding.js.map +1 -0
  394. package/vertex/aiFeatureStoreIamMember.d.ts +130 -0
  395. package/vertex/aiFeatureStoreIamMember.js +121 -0
  396. package/vertex/aiFeatureStoreIamMember.js.map +1 -0
  397. package/vertex/aiFeatureStoreIamPolicy.d.ts +122 -0
  398. package/vertex/aiFeatureStoreIamPolicy.js +114 -0
  399. package/vertex/aiFeatureStoreIamPolicy.js.map +1 -0
  400. package/vertex/index.d.ts +12 -0
  401. package/vertex/index.js +25 -5
  402. package/vertex/index.js.map +1 -1
  403. package/vpcaccess/connector.d.ts +1 -77
  404. package/vpcaccess/connector.js +1 -77
  405. package/vpcaccess/connector.js.map +1 -1
  406. package/vpcaccess/index.js +1 -1
  407. package/vpcaccess/index.js.map +1 -1
  408. package/workflows/index.js.map +1 -1
@@ -13,7 +13,7 @@ const utilities = require("../utilities");
13
13
  *
14
14
  * To get more information about Source, see:
15
15
  *
16
- * * [API documentation](https://cloud.google.com/security-command-center/docs/reference/rest/v1beta1/organizations.sources)
16
+ * * [API documentation](https://cloud.google.com/security-command-center/docs/reference/rest/v1/organizations.sources)
17
17
  * * How-to Guides
18
18
  * * [Official Documentation](https://cloud.google.com/security-command-center/docs)
19
19
  *
@@ -0,0 +1,105 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * A Cloud Security Command Center's (Cloud SCC) finding source. A finding
6
+ * source is an entity or a mechanism that can produce a finding. A source is
7
+ * like a container of findings that come from the same scanner, logger,
8
+ * monitor, etc.
9
+ *
10
+ * To get more information about Source, see:
11
+ *
12
+ * * [API documentation](https://cloud.google.com/security-command-center/docs/reference/rest/v1/organizations.sources)
13
+ * * How-to Guides
14
+ * * [Official Documentation](https://cloud.google.com/security-command-center/docs)
15
+ *
16
+ * ## Example Usage
17
+ * ### Scc Source Basic
18
+ *
19
+ * ```typescript
20
+ * import * as pulumi from "@pulumi/pulumi";
21
+ * import * as gcp from "@pulumi/gcp";
22
+ *
23
+ * const customSource = new gcp.securitycenter.Source("custom_source", {
24
+ * description: "My custom Cloud Security Command Center Finding Source",
25
+ * displayName: "My Source",
26
+ * organization: "123456789",
27
+ * });
28
+ * ```
29
+ *
30
+ * ## Import
31
+ *
32
+ * Source can be imported using any of these accepted formats
33
+ *
34
+ * ```sh
35
+ * $ pulumi import gcp:securitycenter/sourceIamBinding:SourceIamBinding default organizations/{{organization}}/sources/{{name}}
36
+ * ```
37
+ *
38
+ * ```sh
39
+ * $ pulumi import gcp:securitycenter/sourceIamBinding:SourceIamBinding default {{organization}}/{{name}}
40
+ * ```
41
+ */
42
+ export declare class SourceIamBinding extends pulumi.CustomResource {
43
+ /**
44
+ * Get an existing SourceIamBinding resource's state with the given name, ID, and optional extra
45
+ * properties used to qualify the lookup.
46
+ *
47
+ * @param name The _unique_ name of the resulting resource.
48
+ * @param id The _unique_ provider ID of the resource to lookup.
49
+ * @param state Any extra arguments used during the lookup.
50
+ * @param opts Optional settings to control the behavior of the CustomResource.
51
+ */
52
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SourceIamBindingState, opts?: pulumi.CustomResourceOptions): SourceIamBinding;
53
+ /**
54
+ * Returns true if the given object is an instance of SourceIamBinding. This is designed to work even
55
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
56
+ */
57
+ static isInstance(obj: any): obj is SourceIamBinding;
58
+ readonly condition: pulumi.Output<outputs.securitycenter.SourceIamBindingCondition | undefined>;
59
+ readonly etag: pulumi.Output<string>;
60
+ readonly members: pulumi.Output<string[]>;
61
+ /**
62
+ * The organization whose Cloud Security Command Center the Source
63
+ * lives in.
64
+ */
65
+ readonly organization: pulumi.Output<string>;
66
+ readonly role: pulumi.Output<string>;
67
+ readonly source: pulumi.Output<string>;
68
+ /**
69
+ * Create a SourceIamBinding resource with the given unique name, arguments, and options.
70
+ *
71
+ * @param name The _unique_ name of the resource.
72
+ * @param args The arguments to use to populate this resource's properties.
73
+ * @param opts A bag of options that control this resource's behavior.
74
+ */
75
+ constructor(name: string, args: SourceIamBindingArgs, opts?: pulumi.CustomResourceOptions);
76
+ }
77
+ /**
78
+ * Input properties used for looking up and filtering SourceIamBinding resources.
79
+ */
80
+ export interface SourceIamBindingState {
81
+ condition?: pulumi.Input<inputs.securitycenter.SourceIamBindingCondition>;
82
+ etag?: pulumi.Input<string>;
83
+ members?: pulumi.Input<pulumi.Input<string>[]>;
84
+ /**
85
+ * The organization whose Cloud Security Command Center the Source
86
+ * lives in.
87
+ */
88
+ organization?: pulumi.Input<string>;
89
+ role?: pulumi.Input<string>;
90
+ source?: pulumi.Input<string>;
91
+ }
92
+ /**
93
+ * The set of arguments for constructing a SourceIamBinding resource.
94
+ */
95
+ export interface SourceIamBindingArgs {
96
+ condition?: pulumi.Input<inputs.securitycenter.SourceIamBindingCondition>;
97
+ members: pulumi.Input<pulumi.Input<string>[]>;
98
+ /**
99
+ * The organization whose Cloud Security Command Center the Source
100
+ * lives in.
101
+ */
102
+ organization: pulumi.Input<string>;
103
+ role: pulumi.Input<string>;
104
+ source: pulumi.Input<string>;
105
+ }
@@ -0,0 +1,109 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.SourceIamBinding = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * A Cloud Security Command Center's (Cloud SCC) finding source. A finding
10
+ * source is an entity or a mechanism that can produce a finding. A source is
11
+ * like a container of findings that come from the same scanner, logger,
12
+ * monitor, etc.
13
+ *
14
+ * To get more information about Source, see:
15
+ *
16
+ * * [API documentation](https://cloud.google.com/security-command-center/docs/reference/rest/v1/organizations.sources)
17
+ * * How-to Guides
18
+ * * [Official Documentation](https://cloud.google.com/security-command-center/docs)
19
+ *
20
+ * ## Example Usage
21
+ * ### Scc Source Basic
22
+ *
23
+ * ```typescript
24
+ * import * as pulumi from "@pulumi/pulumi";
25
+ * import * as gcp from "@pulumi/gcp";
26
+ *
27
+ * const customSource = new gcp.securitycenter.Source("custom_source", {
28
+ * description: "My custom Cloud Security Command Center Finding Source",
29
+ * displayName: "My Source",
30
+ * organization: "123456789",
31
+ * });
32
+ * ```
33
+ *
34
+ * ## Import
35
+ *
36
+ * Source can be imported using any of these accepted formats
37
+ *
38
+ * ```sh
39
+ * $ pulumi import gcp:securitycenter/sourceIamBinding:SourceIamBinding default organizations/{{organization}}/sources/{{name}}
40
+ * ```
41
+ *
42
+ * ```sh
43
+ * $ pulumi import gcp:securitycenter/sourceIamBinding:SourceIamBinding default {{organization}}/{{name}}
44
+ * ```
45
+ */
46
+ class SourceIamBinding extends pulumi.CustomResource {
47
+ constructor(name, argsOrState, opts) {
48
+ let resourceInputs = {};
49
+ opts = opts || {};
50
+ if (opts.id) {
51
+ const state = argsOrState;
52
+ resourceInputs["condition"] = state ? state.condition : undefined;
53
+ resourceInputs["etag"] = state ? state.etag : undefined;
54
+ resourceInputs["members"] = state ? state.members : undefined;
55
+ resourceInputs["organization"] = state ? state.organization : undefined;
56
+ resourceInputs["role"] = state ? state.role : undefined;
57
+ resourceInputs["source"] = state ? state.source : undefined;
58
+ }
59
+ else {
60
+ const args = argsOrState;
61
+ if ((!args || args.members === undefined) && !opts.urn) {
62
+ throw new Error("Missing required property 'members'");
63
+ }
64
+ if ((!args || args.organization === undefined) && !opts.urn) {
65
+ throw new Error("Missing required property 'organization'");
66
+ }
67
+ if ((!args || args.role === undefined) && !opts.urn) {
68
+ throw new Error("Missing required property 'role'");
69
+ }
70
+ if ((!args || args.source === undefined) && !opts.urn) {
71
+ throw new Error("Missing required property 'source'");
72
+ }
73
+ resourceInputs["condition"] = args ? args.condition : undefined;
74
+ resourceInputs["members"] = args ? args.members : undefined;
75
+ resourceInputs["organization"] = args ? args.organization : undefined;
76
+ resourceInputs["role"] = args ? args.role : undefined;
77
+ resourceInputs["source"] = args ? args.source : undefined;
78
+ resourceInputs["etag"] = undefined /*out*/;
79
+ }
80
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
81
+ super(SourceIamBinding.__pulumiType, name, resourceInputs, opts);
82
+ }
83
+ /**
84
+ * Get an existing SourceIamBinding resource's state with the given name, ID, and optional extra
85
+ * properties used to qualify the lookup.
86
+ *
87
+ * @param name The _unique_ name of the resulting resource.
88
+ * @param id The _unique_ provider ID of the resource to lookup.
89
+ * @param state Any extra arguments used during the lookup.
90
+ * @param opts Optional settings to control the behavior of the CustomResource.
91
+ */
92
+ static get(name, id, state, opts) {
93
+ return new SourceIamBinding(name, state, Object.assign(Object.assign({}, opts), { id: id }));
94
+ }
95
+ /**
96
+ * Returns true if the given object is an instance of SourceIamBinding. This is designed to work even
97
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
98
+ */
99
+ static isInstance(obj) {
100
+ if (obj === undefined || obj === null) {
101
+ return false;
102
+ }
103
+ return obj['__pulumiType'] === SourceIamBinding.__pulumiType;
104
+ }
105
+ }
106
+ exports.SourceIamBinding = SourceIamBinding;
107
+ /** @internal */
108
+ SourceIamBinding.__pulumiType = 'gcp:securitycenter/sourceIamBinding:SourceIamBinding';
109
+ //# sourceMappingURL=sourceIamBinding.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sourceIamBinding.js","sourceRoot":"","sources":["../../securitycenter/sourceIamBinding.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IA+CvD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE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GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;;AA1BL,4CAkFC;AApEG,gBAAgB;AACO,6BAAY,GAAG,sDAAsD,CAAC"}
@@ -0,0 +1,105 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * A Cloud Security Command Center's (Cloud SCC) finding source. A finding
6
+ * source is an entity or a mechanism that can produce a finding. A source is
7
+ * like a container of findings that come from the same scanner, logger,
8
+ * monitor, etc.
9
+ *
10
+ * To get more information about Source, see:
11
+ *
12
+ * * [API documentation](https://cloud.google.com/security-command-center/docs/reference/rest/v1/organizations.sources)
13
+ * * How-to Guides
14
+ * * [Official Documentation](https://cloud.google.com/security-command-center/docs)
15
+ *
16
+ * ## Example Usage
17
+ * ### Scc Source Basic
18
+ *
19
+ * ```typescript
20
+ * import * as pulumi from "@pulumi/pulumi";
21
+ * import * as gcp from "@pulumi/gcp";
22
+ *
23
+ * const customSource = new gcp.securitycenter.Source("custom_source", {
24
+ * description: "My custom Cloud Security Command Center Finding Source",
25
+ * displayName: "My Source",
26
+ * organization: "123456789",
27
+ * });
28
+ * ```
29
+ *
30
+ * ## Import
31
+ *
32
+ * Source can be imported using any of these accepted formats
33
+ *
34
+ * ```sh
35
+ * $ pulumi import gcp:securitycenter/sourceIamMember:SourceIamMember default organizations/{{organization}}/sources/{{name}}
36
+ * ```
37
+ *
38
+ * ```sh
39
+ * $ pulumi import gcp:securitycenter/sourceIamMember:SourceIamMember default {{organization}}/{{name}}
40
+ * ```
41
+ */
42
+ export declare class SourceIamMember extends pulumi.CustomResource {
43
+ /**
44
+ * Get an existing SourceIamMember resource's state with the given name, ID, and optional extra
45
+ * properties used to qualify the lookup.
46
+ *
47
+ * @param name The _unique_ name of the resulting resource.
48
+ * @param id The _unique_ provider ID of the resource to lookup.
49
+ * @param state Any extra arguments used during the lookup.
50
+ * @param opts Optional settings to control the behavior of the CustomResource.
51
+ */
52
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SourceIamMemberState, opts?: pulumi.CustomResourceOptions): SourceIamMember;
53
+ /**
54
+ * Returns true if the given object is an instance of SourceIamMember. This is designed to work even
55
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
56
+ */
57
+ static isInstance(obj: any): obj is SourceIamMember;
58
+ readonly condition: pulumi.Output<outputs.securitycenter.SourceIamMemberCondition | undefined>;
59
+ readonly etag: pulumi.Output<string>;
60
+ readonly member: pulumi.Output<string>;
61
+ /**
62
+ * The organization whose Cloud Security Command Center the Source
63
+ * lives in.
64
+ */
65
+ readonly organization: pulumi.Output<string>;
66
+ readonly role: pulumi.Output<string>;
67
+ readonly source: pulumi.Output<string>;
68
+ /**
69
+ * Create a SourceIamMember resource with the given unique name, arguments, and options.
70
+ *
71
+ * @param name The _unique_ name of the resource.
72
+ * @param args The arguments to use to populate this resource's properties.
73
+ * @param opts A bag of options that control this resource's behavior.
74
+ */
75
+ constructor(name: string, args: SourceIamMemberArgs, opts?: pulumi.CustomResourceOptions);
76
+ }
77
+ /**
78
+ * Input properties used for looking up and filtering SourceIamMember resources.
79
+ */
80
+ export interface SourceIamMemberState {
81
+ condition?: pulumi.Input<inputs.securitycenter.SourceIamMemberCondition>;
82
+ etag?: pulumi.Input<string>;
83
+ member?: pulumi.Input<string>;
84
+ /**
85
+ * The organization whose Cloud Security Command Center the Source
86
+ * lives in.
87
+ */
88
+ organization?: pulumi.Input<string>;
89
+ role?: pulumi.Input<string>;
90
+ source?: pulumi.Input<string>;
91
+ }
92
+ /**
93
+ * The set of arguments for constructing a SourceIamMember resource.
94
+ */
95
+ export interface SourceIamMemberArgs {
96
+ condition?: pulumi.Input<inputs.securitycenter.SourceIamMemberCondition>;
97
+ member: pulumi.Input<string>;
98
+ /**
99
+ * The organization whose Cloud Security Command Center the Source
100
+ * lives in.
101
+ */
102
+ organization: pulumi.Input<string>;
103
+ role: pulumi.Input<string>;
104
+ source: pulumi.Input<string>;
105
+ }
@@ -0,0 +1,109 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.SourceIamMember = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * A Cloud Security Command Center's (Cloud SCC) finding source. A finding
10
+ * source is an entity or a mechanism that can produce a finding. A source is
11
+ * like a container of findings that come from the same scanner, logger,
12
+ * monitor, etc.
13
+ *
14
+ * To get more information about Source, see:
15
+ *
16
+ * * [API documentation](https://cloud.google.com/security-command-center/docs/reference/rest/v1/organizations.sources)
17
+ * * How-to Guides
18
+ * * [Official Documentation](https://cloud.google.com/security-command-center/docs)
19
+ *
20
+ * ## Example Usage
21
+ * ### Scc Source Basic
22
+ *
23
+ * ```typescript
24
+ * import * as pulumi from "@pulumi/pulumi";
25
+ * import * as gcp from "@pulumi/gcp";
26
+ *
27
+ * const customSource = new gcp.securitycenter.Source("custom_source", {
28
+ * description: "My custom Cloud Security Command Center Finding Source",
29
+ * displayName: "My Source",
30
+ * organization: "123456789",
31
+ * });
32
+ * ```
33
+ *
34
+ * ## Import
35
+ *
36
+ * Source can be imported using any of these accepted formats
37
+ *
38
+ * ```sh
39
+ * $ pulumi import gcp:securitycenter/sourceIamMember:SourceIamMember default organizations/{{organization}}/sources/{{name}}
40
+ * ```
41
+ *
42
+ * ```sh
43
+ * $ pulumi import gcp:securitycenter/sourceIamMember:SourceIamMember default {{organization}}/{{name}}
44
+ * ```
45
+ */
46
+ class SourceIamMember extends pulumi.CustomResource {
47
+ constructor(name, argsOrState, opts) {
48
+ let resourceInputs = {};
49
+ opts = opts || {};
50
+ if (opts.id) {
51
+ const state = argsOrState;
52
+ resourceInputs["condition"] = state ? state.condition : undefined;
53
+ resourceInputs["etag"] = state ? state.etag : undefined;
54
+ resourceInputs["member"] = state ? state.member : undefined;
55
+ resourceInputs["organization"] = state ? state.organization : undefined;
56
+ resourceInputs["role"] = state ? state.role : undefined;
57
+ resourceInputs["source"] = state ? state.source : undefined;
58
+ }
59
+ else {
60
+ const args = argsOrState;
61
+ if ((!args || args.member === undefined) && !opts.urn) {
62
+ throw new Error("Missing required property 'member'");
63
+ }
64
+ if ((!args || args.organization === undefined) && !opts.urn) {
65
+ throw new Error("Missing required property 'organization'");
66
+ }
67
+ if ((!args || args.role === undefined) && !opts.urn) {
68
+ throw new Error("Missing required property 'role'");
69
+ }
70
+ if ((!args || args.source === undefined) && !opts.urn) {
71
+ throw new Error("Missing required property 'source'");
72
+ }
73
+ resourceInputs["condition"] = args ? args.condition : undefined;
74
+ resourceInputs["member"] = args ? args.member : undefined;
75
+ resourceInputs["organization"] = args ? args.organization : undefined;
76
+ resourceInputs["role"] = args ? args.role : undefined;
77
+ resourceInputs["source"] = args ? args.source : undefined;
78
+ resourceInputs["etag"] = undefined /*out*/;
79
+ }
80
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
81
+ super(SourceIamMember.__pulumiType, name, resourceInputs, opts);
82
+ }
83
+ /**
84
+ * Get an existing SourceIamMember resource's state with the given name, ID, and optional extra
85
+ * properties used to qualify the lookup.
86
+ *
87
+ * @param name The _unique_ name of the resulting resource.
88
+ * @param id The _unique_ provider ID of the resource to lookup.
89
+ * @param state Any extra arguments used during the lookup.
90
+ * @param opts Optional settings to control the behavior of the CustomResource.
91
+ */
92
+ static get(name, id, state, opts) {
93
+ return new SourceIamMember(name, state, Object.assign(Object.assign({}, opts), { id: id }));
94
+ }
95
+ /**
96
+ * Returns true if the given object is an instance of SourceIamMember. This is designed to work even
97
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
98
+ */
99
+ static isInstance(obj) {
100
+ if (obj === undefined || obj === null) {
101
+ return false;
102
+ }
103
+ return obj['__pulumiType'] === SourceIamMember.__pulumiType;
104
+ }
105
+ }
106
+ exports.SourceIamMember = SourceIamMember;
107
+ /** @internal */
108
+ SourceIamMember.__pulumiType = 'gcp:securitycenter/sourceIamMember:SourceIamMember';
109
+ //# sourceMappingURL=sourceIamMember.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sourceIamMember.js","sourceRoot":"","sources":["../../securitycenter/sourceIamMember.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IA+CtD,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA+C,CAAC;YAC9D,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS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,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;IAhFD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;;AA1BL,0CAkFC;AApEG,gBAAgB;AACO,4BAAY,GAAG,oDAAoD,CAAC"}
@@ -0,0 +1,97 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * A Cloud Security Command Center's (Cloud SCC) finding source. A finding
4
+ * source is an entity or a mechanism that can produce a finding. A source is
5
+ * like a container of findings that come from the same scanner, logger,
6
+ * monitor, etc.
7
+ *
8
+ * To get more information about Source, see:
9
+ *
10
+ * * [API documentation](https://cloud.google.com/security-command-center/docs/reference/rest/v1/organizations.sources)
11
+ * * How-to Guides
12
+ * * [Official Documentation](https://cloud.google.com/security-command-center/docs)
13
+ *
14
+ * ## Example Usage
15
+ * ### Scc Source Basic
16
+ *
17
+ * ```typescript
18
+ * import * as pulumi from "@pulumi/pulumi";
19
+ * import * as gcp from "@pulumi/gcp";
20
+ *
21
+ * const customSource = new gcp.securitycenter.Source("custom_source", {
22
+ * description: "My custom Cloud Security Command Center Finding Source",
23
+ * displayName: "My Source",
24
+ * organization: "123456789",
25
+ * });
26
+ * ```
27
+ *
28
+ * ## Import
29
+ *
30
+ * Source can be imported using any of these accepted formats
31
+ *
32
+ * ```sh
33
+ * $ pulumi import gcp:securitycenter/sourceIamPolicy:SourceIamPolicy default organizations/{{organization}}/sources/{{name}}
34
+ * ```
35
+ *
36
+ * ```sh
37
+ * $ pulumi import gcp:securitycenter/sourceIamPolicy:SourceIamPolicy default {{organization}}/{{name}}
38
+ * ```
39
+ */
40
+ export declare class SourceIamPolicy extends pulumi.CustomResource {
41
+ /**
42
+ * Get an existing SourceIamPolicy resource's state with the given name, ID, and optional extra
43
+ * properties used to qualify the lookup.
44
+ *
45
+ * @param name The _unique_ name of the resulting resource.
46
+ * @param id The _unique_ provider ID of the resource to lookup.
47
+ * @param state Any extra arguments used during the lookup.
48
+ * @param opts Optional settings to control the behavior of the CustomResource.
49
+ */
50
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SourceIamPolicyState, opts?: pulumi.CustomResourceOptions): SourceIamPolicy;
51
+ /**
52
+ * Returns true if the given object is an instance of SourceIamPolicy. This is designed to work even
53
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
54
+ */
55
+ static isInstance(obj: any): obj is SourceIamPolicy;
56
+ readonly etag: pulumi.Output<string>;
57
+ /**
58
+ * The organization whose Cloud Security Command Center the Source
59
+ * lives in.
60
+ */
61
+ readonly organization: pulumi.Output<string>;
62
+ readonly policyData: pulumi.Output<string>;
63
+ readonly source: pulumi.Output<string>;
64
+ /**
65
+ * Create a SourceIamPolicy resource with the given unique name, arguments, and options.
66
+ *
67
+ * @param name The _unique_ name of the resource.
68
+ * @param args The arguments to use to populate this resource's properties.
69
+ * @param opts A bag of options that control this resource's behavior.
70
+ */
71
+ constructor(name: string, args: SourceIamPolicyArgs, opts?: pulumi.CustomResourceOptions);
72
+ }
73
+ /**
74
+ * Input properties used for looking up and filtering SourceIamPolicy resources.
75
+ */
76
+ export interface SourceIamPolicyState {
77
+ etag?: pulumi.Input<string>;
78
+ /**
79
+ * The organization whose Cloud Security Command Center the Source
80
+ * lives in.
81
+ */
82
+ organization?: pulumi.Input<string>;
83
+ policyData?: pulumi.Input<string>;
84
+ source?: pulumi.Input<string>;
85
+ }
86
+ /**
87
+ * The set of arguments for constructing a SourceIamPolicy resource.
88
+ */
89
+ export interface SourceIamPolicyArgs {
90
+ /**
91
+ * The organization whose Cloud Security Command Center the Source
92
+ * lives in.
93
+ */
94
+ organization: pulumi.Input<string>;
95
+ policyData: pulumi.Input<string>;
96
+ source: pulumi.Input<string>;
97
+ }
@@ -0,0 +1,102 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.SourceIamPolicy = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * A Cloud Security Command Center's (Cloud SCC) finding source. A finding
10
+ * source is an entity or a mechanism that can produce a finding. A source is
11
+ * like a container of findings that come from the same scanner, logger,
12
+ * monitor, etc.
13
+ *
14
+ * To get more information about Source, see:
15
+ *
16
+ * * [API documentation](https://cloud.google.com/security-command-center/docs/reference/rest/v1/organizations.sources)
17
+ * * How-to Guides
18
+ * * [Official Documentation](https://cloud.google.com/security-command-center/docs)
19
+ *
20
+ * ## Example Usage
21
+ * ### Scc Source Basic
22
+ *
23
+ * ```typescript
24
+ * import * as pulumi from "@pulumi/pulumi";
25
+ * import * as gcp from "@pulumi/gcp";
26
+ *
27
+ * const customSource = new gcp.securitycenter.Source("custom_source", {
28
+ * description: "My custom Cloud Security Command Center Finding Source",
29
+ * displayName: "My Source",
30
+ * organization: "123456789",
31
+ * });
32
+ * ```
33
+ *
34
+ * ## Import
35
+ *
36
+ * Source can be imported using any of these accepted formats
37
+ *
38
+ * ```sh
39
+ * $ pulumi import gcp:securitycenter/sourceIamPolicy:SourceIamPolicy default organizations/{{organization}}/sources/{{name}}
40
+ * ```
41
+ *
42
+ * ```sh
43
+ * $ pulumi import gcp:securitycenter/sourceIamPolicy:SourceIamPolicy default {{organization}}/{{name}}
44
+ * ```
45
+ */
46
+ class SourceIamPolicy extends pulumi.CustomResource {
47
+ constructor(name, argsOrState, opts) {
48
+ let resourceInputs = {};
49
+ opts = opts || {};
50
+ if (opts.id) {
51
+ const state = argsOrState;
52
+ resourceInputs["etag"] = state ? state.etag : undefined;
53
+ resourceInputs["organization"] = state ? state.organization : undefined;
54
+ resourceInputs["policyData"] = state ? state.policyData : undefined;
55
+ resourceInputs["source"] = state ? state.source : undefined;
56
+ }
57
+ else {
58
+ const args = argsOrState;
59
+ if ((!args || args.organization === undefined) && !opts.urn) {
60
+ throw new Error("Missing required property 'organization'");
61
+ }
62
+ if ((!args || args.policyData === undefined) && !opts.urn) {
63
+ throw new Error("Missing required property 'policyData'");
64
+ }
65
+ if ((!args || args.source === undefined) && !opts.urn) {
66
+ throw new Error("Missing required property 'source'");
67
+ }
68
+ resourceInputs["organization"] = args ? args.organization : undefined;
69
+ resourceInputs["policyData"] = args ? args.policyData : undefined;
70
+ resourceInputs["source"] = args ? args.source : undefined;
71
+ resourceInputs["etag"] = undefined /*out*/;
72
+ }
73
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
74
+ super(SourceIamPolicy.__pulumiType, name, resourceInputs, opts);
75
+ }
76
+ /**
77
+ * Get an existing SourceIamPolicy resource's state with the given name, ID, and optional extra
78
+ * properties used to qualify the lookup.
79
+ *
80
+ * @param name The _unique_ name of the resulting resource.
81
+ * @param id The _unique_ provider ID of the resource to lookup.
82
+ * @param state Any extra arguments used during the lookup.
83
+ * @param opts Optional settings to control the behavior of the CustomResource.
84
+ */
85
+ static get(name, id, state, opts) {
86
+ return new SourceIamPolicy(name, state, Object.assign(Object.assign({}, opts), { id: id }));
87
+ }
88
+ /**
89
+ * Returns true if the given object is an instance of SourceIamPolicy. This is designed to work even
90
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
91
+ */
92
+ static isInstance(obj) {
93
+ if (obj === undefined || obj === null) {
94
+ return false;
95
+ }
96
+ return obj['__pulumiType'] === SourceIamPolicy.__pulumiType;
97
+ }
98
+ }
99
+ exports.SourceIamPolicy = SourceIamPolicy;
100
+ /** @internal */
101
+ SourceIamPolicy.__pulumiType = 'gcp:securitycenter/sourceIamPolicy:SourceIamPolicy';
102
+ //# sourceMappingURL=sourceIamPolicy.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sourceIamPolicy.js","sourceRoot":"","sources":["../../securitycenter/sourceIamPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IA6CtD,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA+C,CAAC;YAC9D,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK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