@pulumi/oci 0.2.0 → 0.3.1-alpha.1660927832

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 (293) hide show
  1. package/announcementsservice/announcementSubscription.d.ts +218 -0
  2. package/announcementsservice/announcementSubscription.js +121 -0
  3. package/announcementsservice/announcementSubscription.js.map +1 -0
  4. package/announcementsservice/announcementSubscriptionsActionsChangeCompartment.d.ts +87 -0
  5. package/announcementsservice/announcementSubscriptionsActionsChangeCompartment.js +84 -0
  6. package/announcementsservice/announcementSubscriptionsActionsChangeCompartment.js.map +1 -0
  7. package/announcementsservice/announcementSubscriptionsFilterGroup.d.ts +103 -0
  8. package/announcementsservice/announcementSubscriptionsFilterGroup.js +89 -0
  9. package/announcementsservice/announcementSubscriptionsFilterGroup.js.map +1 -0
  10. package/announcementsservice/getAnnouncementSubscription.d.ts +104 -0
  11. package/announcementsservice/getAnnouncementSubscription.js +40 -0
  12. package/announcementsservice/getAnnouncementSubscription.js.map +1 -0
  13. package/announcementsservice/getAnnouncementSubscriptions.d.ts +95 -0
  14. package/announcementsservice/getAnnouncementSubscriptions.js +47 -0
  15. package/announcementsservice/getAnnouncementSubscriptions.js.map +1 -0
  16. package/announcementsservice/index.d.ts +5 -0
  17. package/announcementsservice/index.js +49 -0
  18. package/announcementsservice/index.js.map +1 -0
  19. package/apmsynthetics/config.d.ts +49 -0
  20. package/apmsynthetics/config.js +13 -0
  21. package/apmsynthetics/config.js.map +1 -1
  22. package/apmsynthetics/dedicatedVantagePoint.d.ts +3 -3
  23. package/apmsynthetics/getDedicatedVantagePoint.d.ts +1 -1
  24. package/apmsynthetics/getMonitor.d.ts +12 -0
  25. package/apmsynthetics/getMonitor.js.map +1 -1
  26. package/bigdataservice/bdsInstance.d.ts +13 -0
  27. package/bigdataservice/bdsInstance.js +3 -0
  28. package/bigdataservice/bdsInstance.js.map +1 -1
  29. package/bigdataservice/bdsInstancePatchAction.d.ts +94 -0
  30. package/bigdataservice/bdsInstancePatchAction.js +84 -0
  31. package/bigdataservice/bdsInstancePatchAction.js.map +1 -0
  32. package/bigdataservice/getBdsInstance.d.ts +4 -0
  33. package/bigdataservice/getBdsInstance.js.map +1 -1
  34. package/bigdataservice/getBdsInstancePatchHistories.d.ts +78 -0
  35. package/bigdataservice/getBdsInstancePatchHistories.js +43 -0
  36. package/bigdataservice/getBdsInstancePatchHistories.js.map +1 -0
  37. package/bigdataservice/getBdsInstancePatches.d.ts +55 -0
  38. package/bigdataservice/getBdsInstancePatches.js +39 -0
  39. package/bigdataservice/getBdsInstancePatches.js.map +1 -0
  40. package/bigdataservice/index.d.ts +3 -0
  41. package/bigdataservice/index.js +7 -0
  42. package/bigdataservice/index.js.map +1 -1
  43. package/certificatesmanagement/certificate.d.ts +0 -63
  44. package/certificatesmanagement/certificate.js +0 -63
  45. package/certificatesmanagement/certificate.js.map +1 -1
  46. package/certificatesmanagement/getCertificateAuthorityVersion.d.ts +0 -12
  47. package/certificatesmanagement/getCertificateAuthorityVersion.js +0 -12
  48. package/certificatesmanagement/getCertificateAuthorityVersion.js.map +1 -1
  49. package/core/getBlockVolumeReplicas.d.ts +18 -8
  50. package/core/getBlockVolumeReplicas.js +3 -0
  51. package/core/getBlockVolumeReplicas.js.map +1 -1
  52. package/core/getBootVolumeReplicas.d.ts +18 -8
  53. package/core/getBootVolumeReplicas.js +3 -0
  54. package/core/getBootVolumeReplicas.js.map +1 -1
  55. package/core/getBootVolumes.d.ts +8 -8
  56. package/core/getBootVolumes.js +1 -0
  57. package/core/getBootVolumes.js.map +1 -1
  58. package/core/getInstanceMaintenanceReboot.d.ts +51 -0
  59. package/core/getInstanceMaintenanceReboot.js +38 -0
  60. package/core/getInstanceMaintenanceReboot.js.map +1 -0
  61. package/core/getVolumes.d.ts +6 -6
  62. package/core/getVolumes.js +2 -1
  63. package/core/getVolumes.js.map +1 -1
  64. package/core/index.d.ts +1 -0
  65. package/core/index.js +1 -0
  66. package/core/index.js.map +1 -1
  67. package/database/autonomousDatabaseWallet.d.ts +1 -1
  68. package/database/autonomousDatabaseWallet.js +1 -1
  69. package/database/databaseUpgrade.d.ts +0 -19
  70. package/database/databaseUpgrade.js +0 -19
  71. package/database/databaseUpgrade.js.map +1 -1
  72. package/database/dbHome.d.ts +0 -52
  73. package/database/dbHome.js +0 -52
  74. package/database/dbHome.js.map +1 -1
  75. package/database/exadataInfrastructure.d.ts +8 -0
  76. package/database/exadataInfrastructure.js +2 -0
  77. package/database/exadataInfrastructure.js.map +1 -1
  78. package/database/externalContainerDatabaseManagement.d.ts +0 -13
  79. package/database/externalContainerDatabaseManagement.js +0 -13
  80. package/database/externalContainerDatabaseManagement.js.map +1 -1
  81. package/database/externalNonContainerDatabaseManagement.d.ts +0 -13
  82. package/database/externalNonContainerDatabaseManagement.js +0 -13
  83. package/database/externalNonContainerDatabaseManagement.js.map +1 -1
  84. package/database/getAutonomousDatabaseWallet.d.ts +1 -1
  85. package/database/getAutonomousDatabaseWallet.js +1 -1
  86. package/database/getDatabaseMaintenanceRunHistories.d.ts +120 -0
  87. package/database/getDatabaseMaintenanceRunHistories.js +49 -0
  88. package/database/getDatabaseMaintenanceRunHistories.js.map +1 -0
  89. package/database/getDatabaseMaintenanceRunHistory.d.ts +56 -0
  90. package/database/getDatabaseMaintenanceRunHistory.js +38 -0
  91. package/database/getDatabaseMaintenanceRunHistory.js.map +1 -0
  92. package/database/getExadataInfrastructure.d.ts +4 -0
  93. package/database/getExadataInfrastructure.js.map +1 -1
  94. package/database/getExadataInfrastructureDownloadConfigFile.d.ts +1 -1
  95. package/database/getExadataInfrastructureDownloadConfigFile.js +1 -1
  96. package/database/getMaintenanceRuns.d.ts +13 -0
  97. package/database/getMaintenanceRuns.js +2 -0
  98. package/database/getMaintenanceRuns.js.map +1 -1
  99. package/database/getVmClusterNetworkDownloadConfigFile.d.ts +1 -1
  100. package/database/getVmClusterNetworkDownloadConfigFile.js +1 -1
  101. package/database/index.d.ts +2 -0
  102. package/database/index.js +2 -0
  103. package/database/index.js.map +1 -1
  104. package/databasemanagement/getManagedDatabaseOptimizerStatisticsAdvisorExecution.d.ts +107 -0
  105. package/databasemanagement/getManagedDatabaseOptimizerStatisticsAdvisorExecution.js +43 -0
  106. package/databasemanagement/getManagedDatabaseOptimizerStatisticsAdvisorExecution.js.map +1 -0
  107. package/databasemanagement/getManagedDatabaseOptimizerStatisticsAdvisorExecutionScript.d.ts +71 -0
  108. package/databasemanagement/getManagedDatabaseOptimizerStatisticsAdvisorExecutionScript.js +42 -0
  109. package/databasemanagement/getManagedDatabaseOptimizerStatisticsAdvisorExecutionScript.js.map +1 -0
  110. package/databasemanagement/getManagedDatabaseOptimizerStatisticsAdvisorExecutions.d.ts +77 -0
  111. package/databasemanagement/getManagedDatabaseOptimizerStatisticsAdvisorExecutions.js +45 -0
  112. package/databasemanagement/getManagedDatabaseOptimizerStatisticsAdvisorExecutions.js.map +1 -0
  113. package/databasemanagement/getManagedDatabaseOptimizerStatisticsCollectionAggregations.d.ts +103 -0
  114. package/databasemanagement/getManagedDatabaseOptimizerStatisticsCollectionAggregations.js +53 -0
  115. package/databasemanagement/getManagedDatabaseOptimizerStatisticsCollectionAggregations.js.map +1 -0
  116. package/databasemanagement/getManagedDatabaseOptimizerStatisticsCollectionOperation.d.ts +114 -0
  117. package/databasemanagement/getManagedDatabaseOptimizerStatisticsCollectionOperation.js +40 -0
  118. package/databasemanagement/getManagedDatabaseOptimizerStatisticsCollectionOperation.js.map +1 -0
  119. package/databasemanagement/getManagedDatabaseOptimizerStatisticsCollectionOperations.d.ts +104 -0
  120. package/databasemanagement/getManagedDatabaseOptimizerStatisticsCollectionOperations.js +54 -0
  121. package/databasemanagement/getManagedDatabaseOptimizerStatisticsCollectionOperations.js.map +1 -0
  122. package/databasemanagement/getManagedDatabaseTableStatistics.d.ts +56 -0
  123. package/databasemanagement/getManagedDatabaseTableStatistics.js +40 -0
  124. package/databasemanagement/getManagedDatabaseTableStatistics.js.map +1 -0
  125. package/databasemanagement/index.d.ts +7 -0
  126. package/databasemanagement/index.js +7 -0
  127. package/databasemanagement/index.js.map +1 -1
  128. package/datacatalog/getDataAssets.d.ts +0 -21
  129. package/datacatalog/getDataAssets.js +0 -21
  130. package/datacatalog/getDataAssets.js.map +1 -1
  131. package/dataconnectivity/registryFolder.d.ts +0 -207
  132. package/dataconnectivity/registryFolder.js +0 -207
  133. package/dataconnectivity/registryFolder.js.map +1 -1
  134. package/dataflow/application.d.ts +16 -0
  135. package/dataflow/application.js +6 -0
  136. package/dataflow/application.js.map +1 -1
  137. package/dataflow/getApplication.d.ts +4 -0
  138. package/dataflow/getApplication.js.map +1 -1
  139. package/dataflow/getInvokeRun.d.ts +4 -0
  140. package/dataflow/getInvokeRun.js.map +1 -1
  141. package/dataflow/getPrivateEndpoints.d.ts +1 -1
  142. package/dataflow/getPrivateEndpoints.js +1 -1
  143. package/dataflow/invokeRun.d.ts +16 -0
  144. package/dataflow/invokeRun.js +6 -0
  145. package/dataflow/invokeRun.js.map +1 -1
  146. package/datascience/getNotebookSession.d.ts +4 -0
  147. package/datascience/getNotebookSession.js.map +1 -1
  148. package/datascience/job.d.ts +4 -0
  149. package/datascience/job.js +4 -0
  150. package/datascience/job.js.map +1 -1
  151. package/datascience/notebookSession.d.ts +20 -0
  152. package/datascience/notebookSession.js +10 -0
  153. package/datascience/notebookSession.js.map +1 -1
  154. package/devops/buildPipelineStage.d.ts +17 -0
  155. package/devops/buildPipelineStage.js +7 -0
  156. package/devops/buildPipelineStage.js.map +1 -1
  157. package/devops/connection.d.ts +30 -0
  158. package/devops/connection.js +9 -0
  159. package/devops/connection.js.map +1 -1
  160. package/devops/deployStage.d.ts +3 -3
  161. package/devops/getBuildPipelineStage.d.ts +4 -0
  162. package/devops/getBuildPipelineStage.js.map +1 -1
  163. package/devops/getConnection.d.ts +9 -0
  164. package/devops/getConnection.js.map +1 -1
  165. package/devops/getDeployStage.d.ts +1 -1
  166. package/dns/getRecords.d.ts +0 -19
  167. package/dns/getRecords.js +0 -19
  168. package/dns/getRecords.js.map +1 -1
  169. package/filestorage/exportSet.d.ts +2 -2
  170. package/filestorage/exportSet.js +2 -2
  171. package/identity/userCapabilitiesManagement.d.ts +5 -5
  172. package/identity/userCapabilitiesManagement.js +5 -5
  173. package/index.d.ts +3 -1
  174. package/index.js +6 -2
  175. package/index.js.map +1 -1
  176. package/integration/getIntegrationInstance.d.ts +8 -0
  177. package/integration/getIntegrationInstance.js.map +1 -1
  178. package/integration/integrationInstance.d.ts +16 -0
  179. package/integration/integrationInstance.js +4 -0
  180. package/integration/integrationInstance.js.map +1 -1
  181. package/jms/fleet.d.ts +24 -5
  182. package/jms/fleet.js +16 -4
  183. package/jms/fleet.js.map +1 -1
  184. package/jms/getFleet.d.ts +4 -0
  185. package/jms/getFleet.js.map +1 -1
  186. package/jms/getFleets.d.ts +10 -0
  187. package/jms/getFleets.js +2 -0
  188. package/jms/getFleets.js.map +1 -1
  189. package/jms/getInstallationSite.d.ts +30 -0
  190. package/jms/getInstallationSite.js +6 -0
  191. package/jms/getInstallationSite.js.map +1 -1
  192. package/jms/getInstallationSites.d.ts +30 -0
  193. package/jms/getInstallationSites.js +6 -0
  194. package/jms/getInstallationSites.js.map +1 -1
  195. package/jms/getJavaFamilies.d.ts +72 -0
  196. package/jms/getJavaFamilies.js +43 -0
  197. package/jms/getJavaFamilies.js.map +1 -0
  198. package/jms/getJavaFamily.d.ts +66 -0
  199. package/jms/getJavaFamily.js +38 -0
  200. package/jms/getJavaFamily.js.map +1 -0
  201. package/jms/getJavaRelease.d.ts +91 -0
  202. package/jms/getJavaRelease.js +38 -0
  203. package/jms/getJavaRelease.js.map +1 -0
  204. package/jms/getJavaReleases.d.ts +107 -0
  205. package/jms/getJavaReleases.js +48 -0
  206. package/jms/getJavaReleases.js.map +1 -0
  207. package/jms/index.d.ts +4 -0
  208. package/jms/index.js +4 -0
  209. package/jms/index.js.map +1 -1
  210. package/loganalytics/namespaceScheduledTask.d.ts +0 -39
  211. package/loganalytics/namespaceScheduledTask.js +0 -39
  212. package/loganalytics/namespaceScheduledTask.js.map +1 -1
  213. package/networkfirewall/networkFirewallPolicy.d.ts +0 -60
  214. package/networkfirewall/networkFirewallPolicy.js +0 -60
  215. package/networkfirewall/networkFirewallPolicy.js.map +1 -1
  216. package/networkloadbalancer/getBackendSet.d.ts +0 -13
  217. package/networkloadbalancer/getBackendSet.js +0 -13
  218. package/networkloadbalancer/getBackendSet.js.map +1 -1
  219. package/nosql/table.d.ts +9 -9
  220. package/nosql/table.js +5 -8
  221. package/nosql/table.js.map +1 -1
  222. package/objectstorage/getObjects.d.ts +0 -18
  223. package/objectstorage/getObjects.js +0 -18
  224. package/objectstorage/getObjects.js.map +1 -1
  225. package/ocvp/getSddc.d.ts +4 -0
  226. package/ocvp/getSddc.js.map +1 -1
  227. package/ocvp/sddc.d.ts +16 -3
  228. package/ocvp/sddc.js +3 -0
  229. package/ocvp/sddc.js.map +1 -1
  230. package/opensearch/cluster.d.ts +489 -0
  231. package/opensearch/cluster.js +227 -0
  232. package/opensearch/cluster.js.map +1 -0
  233. package/opensearch/getOpensearchCluster.d.ts +206 -0
  234. package/opensearch/getOpensearchCluster.js +47 -0
  235. package/opensearch/getOpensearchCluster.js.map +1 -0
  236. package/opensearch/getOpensearchClusters.d.ts +102 -0
  237. package/opensearch/getOpensearchClusters.js +54 -0
  238. package/opensearch/getOpensearchClusters.js.map +1 -0
  239. package/opensearch/getOpensearchVersion.d.ts +52 -0
  240. package/opensearch/getOpensearchVersion.js +38 -0
  241. package/opensearch/getOpensearchVersion.js.map +1 -0
  242. package/opensearch/getOpensearchVersions.d.ts +55 -0
  243. package/opensearch/getOpensearchVersions.js +39 -0
  244. package/opensearch/getOpensearchVersions.js.map +1 -0
  245. package/opensearch/index.d.ts +5 -0
  246. package/opensearch/index.js +41 -0
  247. package/opensearch/index.js.map +1 -0
  248. package/operatoraccesscontrol/getAccessRequest.d.ts +4 -0
  249. package/operatoraccesscontrol/getAccessRequest.js.map +1 -1
  250. package/operatoraccesscontrol/getControlAssignment.d.ts +4 -0
  251. package/operatoraccesscontrol/getControlAssignment.js.map +1 -1
  252. package/operatoraccesscontrol/operatorControlAssignment.d.ts +8 -0
  253. package/operatoraccesscontrol/operatorControlAssignment.js +2 -0
  254. package/operatoraccesscontrol/operatorControlAssignment.js.map +1 -1
  255. package/opsi/databaseInsight.d.ts +0 -36
  256. package/opsi/databaseInsight.js +0 -36
  257. package/opsi/databaseInsight.js.map +1 -1
  258. package/opsi/getHostInsight.d.ts +5 -0
  259. package/opsi/getHostInsight.js.map +1 -1
  260. package/opsi/getHostInsights.d.ts +4 -0
  261. package/opsi/getHostInsights.js.map +1 -1
  262. package/opsi/getImportableAgentEntities.d.ts +56 -0
  263. package/opsi/getImportableAgentEntities.js +42 -0
  264. package/opsi/getImportableAgentEntities.js.map +1 -0
  265. package/opsi/getImportableAgentEntity.d.ts +56 -0
  266. package/opsi/getImportableAgentEntity.js +42 -0
  267. package/opsi/getImportableAgentEntity.js.map +1 -0
  268. package/opsi/getImportableComputeEntities.d.ts +61 -0
  269. package/opsi/getImportableComputeEntities.js +44 -0
  270. package/opsi/getImportableComputeEntities.js.map +1 -0
  271. package/opsi/getImportableComputeEntity.d.ts +61 -0
  272. package/opsi/getImportableComputeEntity.js +44 -0
  273. package/opsi/getImportableComputeEntity.js.map +1 -0
  274. package/opsi/hostInsight.d.ts +12 -0
  275. package/opsi/hostInsight.js +2 -0
  276. package/opsi/hostInsight.js.map +1 -1
  277. package/opsi/index.d.ts +4 -0
  278. package/opsi/index.js +4 -0
  279. package/opsi/index.js.map +1 -1
  280. package/package.json +4 -3
  281. package/package.json.bak +2 -1
  282. package/package.json.dev +4 -3
  283. package/sch/connector.d.ts +1 -0
  284. package/sch/connector.js +1 -0
  285. package/sch/connector.js.map +1 -1
  286. package/types/input.d.ts +1468 -1122
  287. package/types/output.d.ts +2403 -214
  288. package/waas/policy.d.ts +0 -223
  289. package/waas/policy.js +0 -223
  290. package/waas/policy.js.map +1 -1
  291. package/waas/protectionRule.d.ts +0 -17
  292. package/waas/protectionRule.js +0 -17
  293. package/waas/protectionRule.js.map +1 -1
@@ -0,0 +1,218 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs, output as outputs } from "../types";
3
+ /**
4
+ * This resource provides the Announcement Subscription resource in Oracle Cloud Infrastructure Announcements Service service.
5
+ *
6
+ * Creates a new announcement subscription.
7
+ *
8
+ * This call is subject to an Announcements limit that applies to the total number of requests across all read or write operations. Announcements might throttle this call to reject an otherwise valid request when the total rate of operations exceeds 20 requests per second for a given user. The service might also throttle this call to reject an otherwise valid request when the total rate of operations exceeds 100 requests per second for a given tenancy.
9
+ *
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as oci from "@pulumi/oci";
15
+ *
16
+ * const testAnnouncementSubscription = new oci.announcementsservice.AnnouncementSubscription("testAnnouncementSubscription", {
17
+ * compartmentId: _var.compartment_id,
18
+ * displayName: _var.announcement_subscription_display_name,
19
+ * onsTopicId: oci_ons_notification_topic.test_notification_topic.id,
20
+ * definedTags: {
21
+ * "foo-namespace.bar-key": "value",
22
+ * },
23
+ * description: _var.announcement_subscription_description,
24
+ * filterGroups: {
25
+ * filters: [{
26
+ * type: _var.announcement_subscription_filter_groups_filters_type,
27
+ * value: _var.announcement_subscription_filter_groups_filters_value,
28
+ * }],
29
+ * },
30
+ * freeformTags: {
31
+ * "bar-key": "value",
32
+ * },
33
+ * });
34
+ * ```
35
+ *
36
+ * ## Import
37
+ *
38
+ * AnnouncementSubscriptions can be imported using the `id`, e.g.
39
+ *
40
+ * ```sh
41
+ * $ pulumi import oci:AnnouncementsService/announcementSubscription:AnnouncementSubscription test_announcement_subscription "id"
42
+ * ```
43
+ */
44
+ export declare class AnnouncementSubscription extends pulumi.CustomResource {
45
+ /**
46
+ * Get an existing AnnouncementSubscription resource's state with the given name, ID, and optional extra
47
+ * properties used to qualify the lookup.
48
+ *
49
+ * @param name The _unique_ name of the resulting resource.
50
+ * @param id The _unique_ provider ID of the resource to lookup.
51
+ * @param state Any extra arguments used during the lookup.
52
+ * @param opts Optional settings to control the behavior of the CustomResource.
53
+ */
54
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AnnouncementSubscriptionState, opts?: pulumi.CustomResourceOptions): AnnouncementSubscription;
55
+ /**
56
+ * Returns true if the given object is an instance of AnnouncementSubscription. This is designed to work even
57
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
58
+ */
59
+ static isInstance(obj: any): obj is AnnouncementSubscription;
60
+ /**
61
+ * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the announcement subscription.
62
+ */
63
+ readonly compartmentId: pulumi.Output<string>;
64
+ /**
65
+ * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
66
+ */
67
+ readonly definedTags: pulumi.Output<{
68
+ [key: string]: any;
69
+ }>;
70
+ /**
71
+ * (Updatable) A description of the announcement subscription. Avoid entering confidential information.
72
+ */
73
+ readonly description: pulumi.Output<string>;
74
+ /**
75
+ * (Updatable) A user-friendly name for the announcement subscription. Does not have to be unique, and it's changeable. Avoid entering confidential information.
76
+ */
77
+ readonly displayName: pulumi.Output<string>;
78
+ /**
79
+ * A list of filter groups for the announcement subscription. A filter group combines one or more filters that the Announcements service applies to announcements for matching purposes.
80
+ */
81
+ readonly filterGroups: pulumi.Output<outputs.AnnouncementsService.AnnouncementSubscriptionFilterGroups>;
82
+ /**
83
+ * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
84
+ */
85
+ readonly freeformTags: pulumi.Output<{
86
+ [key: string]: any;
87
+ }>;
88
+ /**
89
+ * A message describing the current lifecycle state in more detail. For example, details might provide required or recommended actions for a resource in a Failed state.
90
+ */
91
+ readonly lifecycleDetails: pulumi.Output<string>;
92
+ /**
93
+ * (Updatable) The OCID of the Notifications service topic that is the target for publishing announcements that match the configured announcement subscription. The caller of the operation needs the ONS_TOPIC_PUBLISH permission for the targeted Notifications service topic. For more information about Notifications permissions, see [Details for Notifications](https://docs.cloud.oracle.com/iaas/Content/Identity/policyreference/notificationpolicyreference.htm).
94
+ */
95
+ readonly onsTopicId: pulumi.Output<string>;
96
+ /**
97
+ * The current lifecycle state of the announcement subscription.
98
+ */
99
+ readonly state: pulumi.Output<string>;
100
+ /**
101
+ * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
102
+ */
103
+ readonly systemTags: pulumi.Output<{
104
+ [key: string]: any;
105
+ }>;
106
+ /**
107
+ * The date and time that the announcement subscription was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format.
108
+ */
109
+ readonly timeCreated: pulumi.Output<string>;
110
+ /**
111
+ * The date and time that the announcement subscription was updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format.
112
+ */
113
+ readonly timeUpdated: pulumi.Output<string>;
114
+ /**
115
+ * Create a AnnouncementSubscription resource with the given unique name, arguments, and options.
116
+ *
117
+ * @param name The _unique_ name of the resource.
118
+ * @param args The arguments to use to populate this resource's properties.
119
+ * @param opts A bag of options that control this resource's behavior.
120
+ */
121
+ constructor(name: string, args: AnnouncementSubscriptionArgs, opts?: pulumi.CustomResourceOptions);
122
+ }
123
+ /**
124
+ * Input properties used for looking up and filtering AnnouncementSubscription resources.
125
+ */
126
+ export interface AnnouncementSubscriptionState {
127
+ /**
128
+ * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the announcement subscription.
129
+ */
130
+ compartmentId?: pulumi.Input<string>;
131
+ /**
132
+ * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
133
+ */
134
+ definedTags?: pulumi.Input<{
135
+ [key: string]: any;
136
+ }>;
137
+ /**
138
+ * (Updatable) A description of the announcement subscription. Avoid entering confidential information.
139
+ */
140
+ description?: pulumi.Input<string>;
141
+ /**
142
+ * (Updatable) A user-friendly name for the announcement subscription. Does not have to be unique, and it's changeable. Avoid entering confidential information.
143
+ */
144
+ displayName?: pulumi.Input<string>;
145
+ /**
146
+ * A list of filter groups for the announcement subscription. A filter group combines one or more filters that the Announcements service applies to announcements for matching purposes.
147
+ */
148
+ filterGroups?: pulumi.Input<inputs.AnnouncementsService.AnnouncementSubscriptionFilterGroups>;
149
+ /**
150
+ * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
151
+ */
152
+ freeformTags?: pulumi.Input<{
153
+ [key: string]: any;
154
+ }>;
155
+ /**
156
+ * A message describing the current lifecycle state in more detail. For example, details might provide required or recommended actions for a resource in a Failed state.
157
+ */
158
+ lifecycleDetails?: pulumi.Input<string>;
159
+ /**
160
+ * (Updatable) The OCID of the Notifications service topic that is the target for publishing announcements that match the configured announcement subscription. The caller of the operation needs the ONS_TOPIC_PUBLISH permission for the targeted Notifications service topic. For more information about Notifications permissions, see [Details for Notifications](https://docs.cloud.oracle.com/iaas/Content/Identity/policyreference/notificationpolicyreference.htm).
161
+ */
162
+ onsTopicId?: pulumi.Input<string>;
163
+ /**
164
+ * The current lifecycle state of the announcement subscription.
165
+ */
166
+ state?: pulumi.Input<string>;
167
+ /**
168
+ * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
169
+ */
170
+ systemTags?: pulumi.Input<{
171
+ [key: string]: any;
172
+ }>;
173
+ /**
174
+ * The date and time that the announcement subscription was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format.
175
+ */
176
+ timeCreated?: pulumi.Input<string>;
177
+ /**
178
+ * The date and time that the announcement subscription was updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format.
179
+ */
180
+ timeUpdated?: pulumi.Input<string>;
181
+ }
182
+ /**
183
+ * The set of arguments for constructing a AnnouncementSubscription resource.
184
+ */
185
+ export interface AnnouncementSubscriptionArgs {
186
+ /**
187
+ * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the announcement subscription.
188
+ */
189
+ compartmentId: pulumi.Input<string>;
190
+ /**
191
+ * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
192
+ */
193
+ definedTags?: pulumi.Input<{
194
+ [key: string]: any;
195
+ }>;
196
+ /**
197
+ * (Updatable) A description of the announcement subscription. Avoid entering confidential information.
198
+ */
199
+ description?: pulumi.Input<string>;
200
+ /**
201
+ * (Updatable) A user-friendly name for the announcement subscription. Does not have to be unique, and it's changeable. Avoid entering confidential information.
202
+ */
203
+ displayName: pulumi.Input<string>;
204
+ /**
205
+ * A list of filter groups for the announcement subscription. A filter group combines one or more filters that the Announcements service applies to announcements for matching purposes.
206
+ */
207
+ filterGroups?: pulumi.Input<inputs.AnnouncementsService.AnnouncementSubscriptionFilterGroups>;
208
+ /**
209
+ * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
210
+ */
211
+ freeformTags?: pulumi.Input<{
212
+ [key: string]: any;
213
+ }>;
214
+ /**
215
+ * (Updatable) The OCID of the Notifications service topic that is the target for publishing announcements that match the configured announcement subscription. The caller of the operation needs the ONS_TOPIC_PUBLISH permission for the targeted Notifications service topic. For more information about Notifications permissions, see [Details for Notifications](https://docs.cloud.oracle.com/iaas/Content/Identity/policyreference/notificationpolicyreference.htm).
216
+ */
217
+ onsTopicId: pulumi.Input<string>;
218
+ }
@@ -0,0 +1,121 @@
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.AnnouncementSubscription = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * This resource provides the Announcement Subscription resource in Oracle Cloud Infrastructure Announcements Service service.
10
+ *
11
+ * Creates a new announcement subscription.
12
+ *
13
+ * This call is subject to an Announcements limit that applies to the total number of requests across all read or write operations. Announcements might throttle this call to reject an otherwise valid request when the total rate of operations exceeds 20 requests per second for a given user. The service might also throttle this call to reject an otherwise valid request when the total rate of operations exceeds 100 requests per second for a given tenancy.
14
+ *
15
+ * ## Example Usage
16
+ *
17
+ * ```typescript
18
+ * import * as pulumi from "@pulumi/pulumi";
19
+ * import * as oci from "@pulumi/oci";
20
+ *
21
+ * const testAnnouncementSubscription = new oci.announcementsservice.AnnouncementSubscription("testAnnouncementSubscription", {
22
+ * compartmentId: _var.compartment_id,
23
+ * displayName: _var.announcement_subscription_display_name,
24
+ * onsTopicId: oci_ons_notification_topic.test_notification_topic.id,
25
+ * definedTags: {
26
+ * "foo-namespace.bar-key": "value",
27
+ * },
28
+ * description: _var.announcement_subscription_description,
29
+ * filterGroups: {
30
+ * filters: [{
31
+ * type: _var.announcement_subscription_filter_groups_filters_type,
32
+ * value: _var.announcement_subscription_filter_groups_filters_value,
33
+ * }],
34
+ * },
35
+ * freeformTags: {
36
+ * "bar-key": "value",
37
+ * },
38
+ * });
39
+ * ```
40
+ *
41
+ * ## Import
42
+ *
43
+ * AnnouncementSubscriptions can be imported using the `id`, e.g.
44
+ *
45
+ * ```sh
46
+ * $ pulumi import oci:AnnouncementsService/announcementSubscription:AnnouncementSubscription test_announcement_subscription "id"
47
+ * ```
48
+ */
49
+ class AnnouncementSubscription extends pulumi.CustomResource {
50
+ constructor(name, argsOrState, opts) {
51
+ let resourceInputs = {};
52
+ opts = opts || {};
53
+ if (opts.id) {
54
+ const state = argsOrState;
55
+ resourceInputs["compartmentId"] = state ? state.compartmentId : undefined;
56
+ resourceInputs["definedTags"] = state ? state.definedTags : undefined;
57
+ resourceInputs["description"] = state ? state.description : undefined;
58
+ resourceInputs["displayName"] = state ? state.displayName : undefined;
59
+ resourceInputs["filterGroups"] = state ? state.filterGroups : undefined;
60
+ resourceInputs["freeformTags"] = state ? state.freeformTags : undefined;
61
+ resourceInputs["lifecycleDetails"] = state ? state.lifecycleDetails : undefined;
62
+ resourceInputs["onsTopicId"] = state ? state.onsTopicId : undefined;
63
+ resourceInputs["state"] = state ? state.state : undefined;
64
+ resourceInputs["systemTags"] = state ? state.systemTags : undefined;
65
+ resourceInputs["timeCreated"] = state ? state.timeCreated : undefined;
66
+ resourceInputs["timeUpdated"] = state ? state.timeUpdated : undefined;
67
+ }
68
+ else {
69
+ const args = argsOrState;
70
+ if ((!args || args.compartmentId === undefined) && !opts.urn) {
71
+ throw new Error("Missing required property 'compartmentId'");
72
+ }
73
+ if ((!args || args.displayName === undefined) && !opts.urn) {
74
+ throw new Error("Missing required property 'displayName'");
75
+ }
76
+ if ((!args || args.onsTopicId === undefined) && !opts.urn) {
77
+ throw new Error("Missing required property 'onsTopicId'");
78
+ }
79
+ resourceInputs["compartmentId"] = args ? args.compartmentId : undefined;
80
+ resourceInputs["definedTags"] = args ? args.definedTags : undefined;
81
+ resourceInputs["description"] = args ? args.description : undefined;
82
+ resourceInputs["displayName"] = args ? args.displayName : undefined;
83
+ resourceInputs["filterGroups"] = args ? args.filterGroups : undefined;
84
+ resourceInputs["freeformTags"] = args ? args.freeformTags : undefined;
85
+ resourceInputs["onsTopicId"] = args ? args.onsTopicId : undefined;
86
+ resourceInputs["lifecycleDetails"] = undefined /*out*/;
87
+ resourceInputs["state"] = undefined /*out*/;
88
+ resourceInputs["systemTags"] = undefined /*out*/;
89
+ resourceInputs["timeCreated"] = undefined /*out*/;
90
+ resourceInputs["timeUpdated"] = undefined /*out*/;
91
+ }
92
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
93
+ super(AnnouncementSubscription.__pulumiType, name, resourceInputs, opts);
94
+ }
95
+ /**
96
+ * Get an existing AnnouncementSubscription resource's state with the given name, ID, and optional extra
97
+ * properties used to qualify the lookup.
98
+ *
99
+ * @param name The _unique_ name of the resulting resource.
100
+ * @param id The _unique_ provider ID of the resource to lookup.
101
+ * @param state Any extra arguments used during the lookup.
102
+ * @param opts Optional settings to control the behavior of the CustomResource.
103
+ */
104
+ static get(name, id, state, opts) {
105
+ return new AnnouncementSubscription(name, state, Object.assign(Object.assign({}, opts), { id: id }));
106
+ }
107
+ /**
108
+ * Returns true if the given object is an instance of AnnouncementSubscription. This is designed to work even
109
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
110
+ */
111
+ static isInstance(obj) {
112
+ if (obj === undefined || obj === null) {
113
+ return false;
114
+ }
115
+ return obj['__pulumiType'] === AnnouncementSubscription.__pulumiType;
116
+ }
117
+ }
118
+ exports.AnnouncementSubscription = AnnouncementSubscription;
119
+ /** @internal */
120
+ AnnouncementSubscription.__pulumiType = 'oci:AnnouncementsService/announcementSubscription:AnnouncementSubscription';
121
+ //# sourceMappingURL=announcementSubscription.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"announcementSubscription.js","sourceRoot":"","sources":["../../announcementsservice/announcementSubscription.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,87 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * This resource provides the Announcement Subscriptions Actions Change Compartment resource in Oracle Cloud Infrastructure Announcements Service service.
4
+ *
5
+ * Moves the specified announcement subscription from one compartment to another compartment. When provided, If-Match is checked against ETag values of the resource.
6
+ *
7
+ * This call is subject to an Announcements limit that applies to the total number of requests across all read or write operations. Announcements might throttle this call to reject an otherwise valid request when the total rate of operations exceeds 20 requests per second for a given user. The service might also throttle this call to reject an otherwise valid request when the total rate of operations exceeds 100 requests per second for a given tenancy.
8
+ *
9
+ * ## Example Usage
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as oci from "@pulumi/oci";
14
+ *
15
+ * const testAnnouncementSubscriptionsActionsChangeCompartment = new oci.announcementsservice.AnnouncementSubscriptionsActionsChangeCompartment("testAnnouncementSubscriptionsActionsChangeCompartment", {
16
+ * announcementSubscriptionId: oci_announcements_service_announcement_subscription.test_announcement_subscription.id,
17
+ * compartmentId: _var.compartment_id,
18
+ * });
19
+ * ```
20
+ *
21
+ * ## Import
22
+ *
23
+ * AnnouncementSubscriptionsActionsChangeCompartment can be imported using the `id`, e.g.
24
+ *
25
+ * ```sh
26
+ * $ pulumi import oci:AnnouncementsService/announcementSubscriptionsActionsChangeCompartment:AnnouncementSubscriptionsActionsChangeCompartment test_announcement_subscriptions_actions_change_compartment "id"
27
+ * ```
28
+ */
29
+ export declare class AnnouncementSubscriptionsActionsChangeCompartment extends pulumi.CustomResource {
30
+ /**
31
+ * Get an existing AnnouncementSubscriptionsActionsChangeCompartment resource's state with the given name, ID, and optional extra
32
+ * properties used to qualify the lookup.
33
+ *
34
+ * @param name The _unique_ name of the resulting resource.
35
+ * @param id The _unique_ provider ID of the resource to lookup.
36
+ * @param state Any extra arguments used during the lookup.
37
+ * @param opts Optional settings to control the behavior of the CustomResource.
38
+ */
39
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AnnouncementSubscriptionsActionsChangeCompartmentState, opts?: pulumi.CustomResourceOptions): AnnouncementSubscriptionsActionsChangeCompartment;
40
+ /**
41
+ * Returns true if the given object is an instance of AnnouncementSubscriptionsActionsChangeCompartment. This is designed to work even
42
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
43
+ */
44
+ static isInstance(obj: any): obj is AnnouncementSubscriptionsActionsChangeCompartment;
45
+ /**
46
+ * The OCID of the announcement subscription.
47
+ */
48
+ readonly announcementSubscriptionId: pulumi.Output<string>;
49
+ /**
50
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment into which you want to move the announcement subscription.
51
+ */
52
+ readonly compartmentId: pulumi.Output<string>;
53
+ /**
54
+ * Create a AnnouncementSubscriptionsActionsChangeCompartment resource with the given unique name, arguments, and options.
55
+ *
56
+ * @param name The _unique_ name of the resource.
57
+ * @param args The arguments to use to populate this resource's properties.
58
+ * @param opts A bag of options that control this resource's behavior.
59
+ */
60
+ constructor(name: string, args: AnnouncementSubscriptionsActionsChangeCompartmentArgs, opts?: pulumi.CustomResourceOptions);
61
+ }
62
+ /**
63
+ * Input properties used for looking up and filtering AnnouncementSubscriptionsActionsChangeCompartment resources.
64
+ */
65
+ export interface AnnouncementSubscriptionsActionsChangeCompartmentState {
66
+ /**
67
+ * The OCID of the announcement subscription.
68
+ */
69
+ announcementSubscriptionId?: pulumi.Input<string>;
70
+ /**
71
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment into which you want to move the announcement subscription.
72
+ */
73
+ compartmentId?: pulumi.Input<string>;
74
+ }
75
+ /**
76
+ * The set of arguments for constructing a AnnouncementSubscriptionsActionsChangeCompartment resource.
77
+ */
78
+ export interface AnnouncementSubscriptionsActionsChangeCompartmentArgs {
79
+ /**
80
+ * The OCID of the announcement subscription.
81
+ */
82
+ announcementSubscriptionId: pulumi.Input<string>;
83
+ /**
84
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment into which you want to move the announcement subscription.
85
+ */
86
+ compartmentId: pulumi.Input<string>;
87
+ }
@@ -0,0 +1,84 @@
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.AnnouncementSubscriptionsActionsChangeCompartment = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * This resource provides the Announcement Subscriptions Actions Change Compartment resource in Oracle Cloud Infrastructure Announcements Service service.
10
+ *
11
+ * Moves the specified announcement subscription from one compartment to another compartment. When provided, If-Match is checked against ETag values of the resource.
12
+ *
13
+ * This call is subject to an Announcements limit that applies to the total number of requests across all read or write operations. Announcements might throttle this call to reject an otherwise valid request when the total rate of operations exceeds 20 requests per second for a given user. The service might also throttle this call to reject an otherwise valid request when the total rate of operations exceeds 100 requests per second for a given tenancy.
14
+ *
15
+ * ## Example Usage
16
+ *
17
+ * ```typescript
18
+ * import * as pulumi from "@pulumi/pulumi";
19
+ * import * as oci from "@pulumi/oci";
20
+ *
21
+ * const testAnnouncementSubscriptionsActionsChangeCompartment = new oci.announcementsservice.AnnouncementSubscriptionsActionsChangeCompartment("testAnnouncementSubscriptionsActionsChangeCompartment", {
22
+ * announcementSubscriptionId: oci_announcements_service_announcement_subscription.test_announcement_subscription.id,
23
+ * compartmentId: _var.compartment_id,
24
+ * });
25
+ * ```
26
+ *
27
+ * ## Import
28
+ *
29
+ * AnnouncementSubscriptionsActionsChangeCompartment can be imported using the `id`, e.g.
30
+ *
31
+ * ```sh
32
+ * $ pulumi import oci:AnnouncementsService/announcementSubscriptionsActionsChangeCompartment:AnnouncementSubscriptionsActionsChangeCompartment test_announcement_subscriptions_actions_change_compartment "id"
33
+ * ```
34
+ */
35
+ class AnnouncementSubscriptionsActionsChangeCompartment extends pulumi.CustomResource {
36
+ constructor(name, argsOrState, opts) {
37
+ let resourceInputs = {};
38
+ opts = opts || {};
39
+ if (opts.id) {
40
+ const state = argsOrState;
41
+ resourceInputs["announcementSubscriptionId"] = state ? state.announcementSubscriptionId : undefined;
42
+ resourceInputs["compartmentId"] = state ? state.compartmentId : undefined;
43
+ }
44
+ else {
45
+ const args = argsOrState;
46
+ if ((!args || args.announcementSubscriptionId === undefined) && !opts.urn) {
47
+ throw new Error("Missing required property 'announcementSubscriptionId'");
48
+ }
49
+ if ((!args || args.compartmentId === undefined) && !opts.urn) {
50
+ throw new Error("Missing required property 'compartmentId'");
51
+ }
52
+ resourceInputs["announcementSubscriptionId"] = args ? args.announcementSubscriptionId : undefined;
53
+ resourceInputs["compartmentId"] = args ? args.compartmentId : undefined;
54
+ }
55
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
56
+ super(AnnouncementSubscriptionsActionsChangeCompartment.__pulumiType, name, resourceInputs, opts);
57
+ }
58
+ /**
59
+ * Get an existing AnnouncementSubscriptionsActionsChangeCompartment resource's state with the given name, ID, and optional extra
60
+ * properties used to qualify the lookup.
61
+ *
62
+ * @param name The _unique_ name of the resulting resource.
63
+ * @param id The _unique_ provider ID of the resource to lookup.
64
+ * @param state Any extra arguments used during the lookup.
65
+ * @param opts Optional settings to control the behavior of the CustomResource.
66
+ */
67
+ static get(name, id, state, opts) {
68
+ return new AnnouncementSubscriptionsActionsChangeCompartment(name, state, Object.assign(Object.assign({}, opts), { id: id }));
69
+ }
70
+ /**
71
+ * Returns true if the given object is an instance of AnnouncementSubscriptionsActionsChangeCompartment. This is designed to work even
72
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
73
+ */
74
+ static isInstance(obj) {
75
+ if (obj === undefined || obj === null) {
76
+ return false;
77
+ }
78
+ return obj['__pulumiType'] === AnnouncementSubscriptionsActionsChangeCompartment.__pulumiType;
79
+ }
80
+ }
81
+ exports.AnnouncementSubscriptionsActionsChangeCompartment = AnnouncementSubscriptionsActionsChangeCompartment;
82
+ /** @internal */
83
+ AnnouncementSubscriptionsActionsChangeCompartment.__pulumiType = 'oci:AnnouncementsService/announcementSubscriptionsActionsChangeCompartment:AnnouncementSubscriptionsActionsChangeCompartment';
84
+ //# sourceMappingURL=announcementSubscriptionsActionsChangeCompartment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"announcementSubscriptionsActionsChangeCompartment.js","sourceRoot":"","sources":["../../announcementsservice/announcementSubscriptionsActionsChangeCompartment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAa,iDAAkD,SAAQ,MAAM,CAAC,cAAc;IA6CxF,YAAY,IAAY,EAAE,WAA4H,EAAE,IAAmC;QACvL,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAiF,CAAC;YAChG,cAAc,CAAC,4BAA4B,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAAC,CAAC,SAAS,CAAC;YACpG,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7E;aAAM;YACH,MAAM,IAAI,GAAG,WAAgF,CAAC;YAC9F,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,0BAA0B,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvE,MAAM,IAAI,KAAK,CAAC,wDAAwD,CAAC,CAAC;aAC7E;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,aAAa,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC1D,MAAM,IAAI,KAAK,CAAC,2CAA2C,CAAC,CAAC;aAChE;YACD,cAAc,CAAC,4BAA4B,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,0BAA0B,CAAC,CAAC,CAAC,SAAS,CAAC;YAClG,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3E;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iDAAiD,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtG,CAAC;IAhED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8D,EAAE,IAAmC;QAC5J,OAAO,IAAI,iDAAiD,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxG,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,iDAAiD,CAAC,YAAY,CAAC;IAClG,CAAC;;AA1BL,8GAkEC;AApDG,gBAAgB;AACO,8DAAY,GAAG,8HAA8H,CAAC"}
@@ -0,0 +1,103 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs, output as outputs } from "../types";
3
+ /**
4
+ * This resource provides the Announcement Subscriptions Filter Group resource in Oracle Cloud Infrastructure Announcements Service service.
5
+ *
6
+ * Creates a new filter group in the specified announcement subscription.
7
+ *
8
+ * This call is subject to an Announcements limit that applies to the total number of requests across all read or write operations. Announcements might throttle this call to reject an otherwise valid request when the total rate of operations exceeds 20 requests per second for a given user. The service might also throttle this call to reject an otherwise valid request when the total rate of operations exceeds 100 requests per second for a given tenancy.
9
+ *
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as oci from "@pulumi/oci";
15
+ *
16
+ * const testAnnouncementSubscriptionsFilterGroup = new oci.announcementsservice.AnnouncementSubscriptionsFilterGroup("testAnnouncementSubscriptionsFilterGroup", {
17
+ * announcementSubscriptionId: oci_announcements_service_announcement_subscription.test_announcement_subscription.id,
18
+ * filters: [{
19
+ * type: _var.announcement_subscriptions_filter_group_filters_type,
20
+ * value: _var.announcement_subscriptions_filter_group_filters_value,
21
+ * }],
22
+ * });
23
+ * ```
24
+ *
25
+ * ## Import
26
+ *
27
+ * AnnouncementSubscriptionsFilterGroups can be imported using the `id`, e.g.
28
+ *
29
+ * ```sh
30
+ * $ pulumi import oci:AnnouncementsService/announcementSubscriptionsFilterGroup:AnnouncementSubscriptionsFilterGroup test_announcement_subscriptions_filter_group "id"
31
+ * ```
32
+ */
33
+ export declare class AnnouncementSubscriptionsFilterGroup extends pulumi.CustomResource {
34
+ /**
35
+ * Get an existing AnnouncementSubscriptionsFilterGroup resource's state with the given name, ID, and optional extra
36
+ * properties used to qualify the lookup.
37
+ *
38
+ * @param name The _unique_ name of the resulting resource.
39
+ * @param id The _unique_ provider ID of the resource to lookup.
40
+ * @param state Any extra arguments used during the lookup.
41
+ * @param opts Optional settings to control the behavior of the CustomResource.
42
+ */
43
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AnnouncementSubscriptionsFilterGroupState, opts?: pulumi.CustomResourceOptions): AnnouncementSubscriptionsFilterGroup;
44
+ /**
45
+ * Returns true if the given object is an instance of AnnouncementSubscriptionsFilterGroup. This is designed to work even
46
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
47
+ */
48
+ static isInstance(obj: any): obj is AnnouncementSubscriptionsFilterGroup;
49
+ /**
50
+ * The OCID of the announcement subscription.
51
+ */
52
+ readonly announcementSubscriptionId: pulumi.Output<string>;
53
+ /**
54
+ * (Updatable) A list of filters against which the Announcements service will match announcements. You cannot have more than one of any given filter type within a filter group.
55
+ */
56
+ readonly filters: pulumi.Output<outputs.AnnouncementsService.AnnouncementSubscriptionsFilterGroupFilter[]>;
57
+ /**
58
+ * The name of the filter group. The name must be unique and it cannot be changed. Avoid entering confidential information.
59
+ */
60
+ readonly name: pulumi.Output<string>;
61
+ /**
62
+ * Create a AnnouncementSubscriptionsFilterGroup resource with the given unique name, arguments, and options.
63
+ *
64
+ * @param name The _unique_ name of the resource.
65
+ * @param args The arguments to use to populate this resource's properties.
66
+ * @param opts A bag of options that control this resource's behavior.
67
+ */
68
+ constructor(name: string, args: AnnouncementSubscriptionsFilterGroupArgs, opts?: pulumi.CustomResourceOptions);
69
+ }
70
+ /**
71
+ * Input properties used for looking up and filtering AnnouncementSubscriptionsFilterGroup resources.
72
+ */
73
+ export interface AnnouncementSubscriptionsFilterGroupState {
74
+ /**
75
+ * The OCID of the announcement subscription.
76
+ */
77
+ announcementSubscriptionId?: pulumi.Input<string>;
78
+ /**
79
+ * (Updatable) A list of filters against which the Announcements service will match announcements. You cannot have more than one of any given filter type within a filter group.
80
+ */
81
+ filters?: pulumi.Input<pulumi.Input<inputs.AnnouncementsService.AnnouncementSubscriptionsFilterGroupFilter>[]>;
82
+ /**
83
+ * The name of the filter group. The name must be unique and it cannot be changed. Avoid entering confidential information.
84
+ */
85
+ name?: pulumi.Input<string>;
86
+ }
87
+ /**
88
+ * The set of arguments for constructing a AnnouncementSubscriptionsFilterGroup resource.
89
+ */
90
+ export interface AnnouncementSubscriptionsFilterGroupArgs {
91
+ /**
92
+ * The OCID of the announcement subscription.
93
+ */
94
+ announcementSubscriptionId: pulumi.Input<string>;
95
+ /**
96
+ * (Updatable) A list of filters against which the Announcements service will match announcements. You cannot have more than one of any given filter type within a filter group.
97
+ */
98
+ filters: pulumi.Input<pulumi.Input<inputs.AnnouncementsService.AnnouncementSubscriptionsFilterGroupFilter>[]>;
99
+ /**
100
+ * The name of the filter group. The name must be unique and it cannot be changed. Avoid entering confidential information.
101
+ */
102
+ name?: pulumi.Input<string>;
103
+ }