pulumi-oci 2.5.0a1722606028__py3-none-any.whl → 2.6.0__py3-none-any.whl

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 (62) hide show
  1. pulumi_oci/__init__.py +32 -0
  2. pulumi_oci/bigdataservice/_inputs.py +157 -14
  3. pulumi_oci/bigdataservice/bds_instance.py +128 -0
  4. pulumi_oci/bigdataservice/bds_instance_patch_action.py +64 -3
  5. pulumi_oci/bigdataservice/get_bds_instance.py +31 -1
  6. pulumi_oci/bigdataservice/outputs.py +257 -30
  7. pulumi_oci/devops/__init__.py +6 -0
  8. pulumi_oci/devops/_inputs.py +531 -32
  9. pulumi_oci/devops/get_build_runs.py +0 -5
  10. pulumi_oci/devops/get_project_repository_setting.py +129 -0
  11. pulumi_oci/devops/get_repositories.py +1 -1
  12. pulumi_oci/devops/get_repository.py +17 -4
  13. pulumi_oci/devops/get_repository_diffs.py +20 -3
  14. pulumi_oci/devops/get_repository_protected_branches.py +150 -0
  15. pulumi_oci/devops/get_repository_ref.py +2 -2
  16. pulumi_oci/devops/get_repository_setting.py +142 -0
  17. pulumi_oci/devops/get_triggers.py +0 -5
  18. pulumi_oci/devops/outputs.py +1216 -180
  19. pulumi_oci/devops/project_repository_setting.py +338 -0
  20. pulumi_oci/devops/repository.py +66 -75
  21. pulumi_oci/devops/repository_protected_branch_management.py +333 -0
  22. pulumi_oci/devops/repository_ref.py +2 -2
  23. pulumi_oci/devops/repository_setting.py +391 -0
  24. pulumi_oci/jms/__init__.py +4 -0
  25. pulumi_oci/jms/_inputs.py +80 -0
  26. pulumi_oci/jms/get_agent_installers.py +190 -0
  27. pulumi_oci/jms/get_fleet_blocklists.py +2 -2
  28. pulumi_oci/jms/get_fleet_crypto_analysis_result.py +29 -3
  29. pulumi_oci/jms/get_fleet_crypto_analysis_results.py +97 -3
  30. pulumi_oci/jms/get_fleet_export_setting.py +3 -3
  31. pulumi_oci/jms/get_fleet_export_status.py +2 -2
  32. pulumi_oci/jms/get_fleet_java_migration_analysis_result.py +2 -2
  33. pulumi_oci/jms/get_fleet_java_migration_analysis_results.py +45 -5
  34. pulumi_oci/jms/get_fleet_performance_tuning_analysis_result.py +4 -4
  35. pulumi_oci/jms/get_fleet_performance_tuning_analysis_results.py +25 -5
  36. pulumi_oci/jms/get_fleets.py +2 -2
  37. pulumi_oci/jms/get_installation_site.py +4 -4
  38. pulumi_oci/jms/get_installation_sites.py +4 -4
  39. pulumi_oci/jms/get_java_downloads_java_download_tokens.py +2 -2
  40. pulumi_oci/jms/get_java_downloads_java_license_acceptance_records.py +2 -2
  41. pulumi_oci/jms/get_java_family.py +14 -1
  42. pulumi_oci/jms/get_jms_plugin.py +313 -0
  43. pulumi_oci/jms/get_jms_plugins.py +291 -0
  44. pulumi_oci/jms/jms_plugin.py +731 -0
  45. pulumi_oci/jms/outputs.py +488 -32
  46. pulumi_oci/osmanagementhub/get_software_source.py +19 -1
  47. pulumi_oci/osmanagementhub/software_source.py +82 -0
  48. pulumi_oci/psql/_inputs.py +8 -4
  49. pulumi_oci/psql/backup.py +4 -4
  50. pulumi_oci/psql/configuration.py +141 -38
  51. pulumi_oci/psql/db_system.py +53 -55
  52. pulumi_oci/psql/get_backup.py +1 -1
  53. pulumi_oci/psql/get_configuration.py +27 -1
  54. pulumi_oci/psql/get_configurations.py +2 -2
  55. pulumi_oci/psql/get_default_configuration.py +15 -2
  56. pulumi_oci/psql/get_default_configurations.py +2 -2
  57. pulumi_oci/psql/outputs.py +176 -13
  58. pulumi_oci/pulumi-plugin.json +1 -1
  59. {pulumi_oci-2.5.0a1722606028.dist-info → pulumi_oci-2.6.0.dist-info}/METADATA +1 -1
  60. {pulumi_oci-2.5.0a1722606028.dist-info → pulumi_oci-2.6.0.dist-info}/RECORD +62 -52
  61. {pulumi_oci-2.5.0a1722606028.dist-info → pulumi_oci-2.6.0.dist-info}/WHEEL +0 -0
  62. {pulumi_oci-2.5.0a1722606028.dist-info → pulumi_oci-2.6.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,338 @@
1
+ # coding=utf-8
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
+
5
+ import copy
6
+ import warnings
7
+ import pulumi
8
+ import pulumi.runtime
9
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
10
+ from .. import _utilities
11
+ from . import outputs
12
+ from ._inputs import *
13
+
14
+ __all__ = ['ProjectRepositorySettingArgs', 'ProjectRepositorySetting']
15
+
16
+ @pulumi.input_type
17
+ class ProjectRepositorySettingArgs:
18
+ def __init__(__self__, *,
19
+ project_id: pulumi.Input[str],
20
+ approval_rules: Optional[pulumi.Input['ProjectRepositorySettingApprovalRulesArgs']] = None,
21
+ merge_settings: Optional[pulumi.Input['ProjectRepositorySettingMergeSettingsArgs']] = None):
22
+ """
23
+ The set of arguments for constructing a ProjectRepositorySetting resource.
24
+ :param pulumi.Input[str] project_id: Unique project identifier.
25
+
26
+
27
+ ** IMPORTANT **
28
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
29
+ :param pulumi.Input['ProjectRepositorySettingApprovalRulesArgs'] approval_rules: (Updatable) List of approval rules which must be statisfied before pull requests which match the rules can be merged
30
+ :param pulumi.Input['ProjectRepositorySettingMergeSettingsArgs'] merge_settings: (Updatable) Enabled and disabled merge strategies for a project or repository, also contains a default strategy.
31
+ """
32
+ pulumi.set(__self__, "project_id", project_id)
33
+ if approval_rules is not None:
34
+ pulumi.set(__self__, "approval_rules", approval_rules)
35
+ if merge_settings is not None:
36
+ pulumi.set(__self__, "merge_settings", merge_settings)
37
+
38
+ @property
39
+ @pulumi.getter(name="projectId")
40
+ def project_id(self) -> pulumi.Input[str]:
41
+ """
42
+ Unique project identifier.
43
+
44
+
45
+ ** IMPORTANT **
46
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
47
+ """
48
+ return pulumi.get(self, "project_id")
49
+
50
+ @project_id.setter
51
+ def project_id(self, value: pulumi.Input[str]):
52
+ pulumi.set(self, "project_id", value)
53
+
54
+ @property
55
+ @pulumi.getter(name="approvalRules")
56
+ def approval_rules(self) -> Optional[pulumi.Input['ProjectRepositorySettingApprovalRulesArgs']]:
57
+ """
58
+ (Updatable) List of approval rules which must be statisfied before pull requests which match the rules can be merged
59
+ """
60
+ return pulumi.get(self, "approval_rules")
61
+
62
+ @approval_rules.setter
63
+ def approval_rules(self, value: Optional[pulumi.Input['ProjectRepositorySettingApprovalRulesArgs']]):
64
+ pulumi.set(self, "approval_rules", value)
65
+
66
+ @property
67
+ @pulumi.getter(name="mergeSettings")
68
+ def merge_settings(self) -> Optional[pulumi.Input['ProjectRepositorySettingMergeSettingsArgs']]:
69
+ """
70
+ (Updatable) Enabled and disabled merge strategies for a project or repository, also contains a default strategy.
71
+ """
72
+ return pulumi.get(self, "merge_settings")
73
+
74
+ @merge_settings.setter
75
+ def merge_settings(self, value: Optional[pulumi.Input['ProjectRepositorySettingMergeSettingsArgs']]):
76
+ pulumi.set(self, "merge_settings", value)
77
+
78
+
79
+ @pulumi.input_type
80
+ class _ProjectRepositorySettingState:
81
+ def __init__(__self__, *,
82
+ approval_rules: Optional[pulumi.Input['ProjectRepositorySettingApprovalRulesArgs']] = None,
83
+ merge_settings: Optional[pulumi.Input['ProjectRepositorySettingMergeSettingsArgs']] = None,
84
+ project_id: Optional[pulumi.Input[str]] = None):
85
+ """
86
+ Input properties used for looking up and filtering ProjectRepositorySetting resources.
87
+ :param pulumi.Input['ProjectRepositorySettingApprovalRulesArgs'] approval_rules: (Updatable) List of approval rules which must be statisfied before pull requests which match the rules can be merged
88
+ :param pulumi.Input['ProjectRepositorySettingMergeSettingsArgs'] merge_settings: (Updatable) Enabled and disabled merge strategies for a project or repository, also contains a default strategy.
89
+ :param pulumi.Input[str] project_id: Unique project identifier.
90
+
91
+
92
+ ** IMPORTANT **
93
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
94
+ """
95
+ if approval_rules is not None:
96
+ pulumi.set(__self__, "approval_rules", approval_rules)
97
+ if merge_settings is not None:
98
+ pulumi.set(__self__, "merge_settings", merge_settings)
99
+ if project_id is not None:
100
+ pulumi.set(__self__, "project_id", project_id)
101
+
102
+ @property
103
+ @pulumi.getter(name="approvalRules")
104
+ def approval_rules(self) -> Optional[pulumi.Input['ProjectRepositorySettingApprovalRulesArgs']]:
105
+ """
106
+ (Updatable) List of approval rules which must be statisfied before pull requests which match the rules can be merged
107
+ """
108
+ return pulumi.get(self, "approval_rules")
109
+
110
+ @approval_rules.setter
111
+ def approval_rules(self, value: Optional[pulumi.Input['ProjectRepositorySettingApprovalRulesArgs']]):
112
+ pulumi.set(self, "approval_rules", value)
113
+
114
+ @property
115
+ @pulumi.getter(name="mergeSettings")
116
+ def merge_settings(self) -> Optional[pulumi.Input['ProjectRepositorySettingMergeSettingsArgs']]:
117
+ """
118
+ (Updatable) Enabled and disabled merge strategies for a project or repository, also contains a default strategy.
119
+ """
120
+ return pulumi.get(self, "merge_settings")
121
+
122
+ @merge_settings.setter
123
+ def merge_settings(self, value: Optional[pulumi.Input['ProjectRepositorySettingMergeSettingsArgs']]):
124
+ pulumi.set(self, "merge_settings", value)
125
+
126
+ @property
127
+ @pulumi.getter(name="projectId")
128
+ def project_id(self) -> Optional[pulumi.Input[str]]:
129
+ """
130
+ Unique project identifier.
131
+
132
+
133
+ ** IMPORTANT **
134
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
135
+ """
136
+ return pulumi.get(self, "project_id")
137
+
138
+ @project_id.setter
139
+ def project_id(self, value: Optional[pulumi.Input[str]]):
140
+ pulumi.set(self, "project_id", value)
141
+
142
+
143
+ class ProjectRepositorySetting(pulumi.CustomResource):
144
+ @overload
145
+ def __init__(__self__,
146
+ resource_name: str,
147
+ opts: Optional[pulumi.ResourceOptions] = None,
148
+ approval_rules: Optional[pulumi.Input[pulumi.InputType['ProjectRepositorySettingApprovalRulesArgs']]] = None,
149
+ merge_settings: Optional[pulumi.Input[pulumi.InputType['ProjectRepositorySettingMergeSettingsArgs']]] = None,
150
+ project_id: Optional[pulumi.Input[str]] = None,
151
+ __props__=None):
152
+ """
153
+ This resource provides the Project Repository Setting resource in Oracle Cloud Infrastructure Devops service.
154
+
155
+ Updates the repository settings for a project.
156
+
157
+ ## Example Usage
158
+
159
+ ```python
160
+ import pulumi
161
+ import pulumi_oci as oci
162
+
163
+ test_project_repository_setting = oci.dev_ops.ProjectRepositorySetting("test_project_repository_setting",
164
+ project_id=test_project["id"],
165
+ approval_rules=oci.dev_ops.ProjectRepositorySettingApprovalRulesArgs(
166
+ items=[oci.dev_ops.ProjectRepositorySettingApprovalRulesItemArgs(
167
+ min_approvals_count=project_repository_setting_approval_rules_items_min_approvals_count,
168
+ name=project_repository_setting_approval_rules_items_name,
169
+ destination_branch=project_repository_setting_approval_rules_items_destination_branch,
170
+ reviewers=[oci.dev_ops.ProjectRepositorySettingApprovalRulesItemReviewerArgs(
171
+ principal_id=test_principal["id"],
172
+ )],
173
+ )],
174
+ ),
175
+ merge_settings=oci.dev_ops.ProjectRepositorySettingMergeSettingsArgs(
176
+ allowed_merge_strategies=project_repository_setting_merge_settings_allowed_merge_strategies,
177
+ default_merge_strategy=project_repository_setting_merge_settings_default_merge_strategy,
178
+ ))
179
+ ```
180
+
181
+ ## Import
182
+
183
+ ProjectRepositorySettings can be imported using the `id`, e.g.
184
+
185
+ ```sh
186
+ $ pulumi import oci:DevOps/projectRepositorySetting:ProjectRepositorySetting test_project_repository_setting "projects/{projectId}/repositorySettings"
187
+ ```
188
+
189
+ :param str resource_name: The name of the resource.
190
+ :param pulumi.ResourceOptions opts: Options for the resource.
191
+ :param pulumi.Input[pulumi.InputType['ProjectRepositorySettingApprovalRulesArgs']] approval_rules: (Updatable) List of approval rules which must be statisfied before pull requests which match the rules can be merged
192
+ :param pulumi.Input[pulumi.InputType['ProjectRepositorySettingMergeSettingsArgs']] merge_settings: (Updatable) Enabled and disabled merge strategies for a project or repository, also contains a default strategy.
193
+ :param pulumi.Input[str] project_id: Unique project identifier.
194
+
195
+
196
+ ** IMPORTANT **
197
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
198
+ """
199
+ ...
200
+ @overload
201
+ def __init__(__self__,
202
+ resource_name: str,
203
+ args: ProjectRepositorySettingArgs,
204
+ opts: Optional[pulumi.ResourceOptions] = None):
205
+ """
206
+ This resource provides the Project Repository Setting resource in Oracle Cloud Infrastructure Devops service.
207
+
208
+ Updates the repository settings for a project.
209
+
210
+ ## Example Usage
211
+
212
+ ```python
213
+ import pulumi
214
+ import pulumi_oci as oci
215
+
216
+ test_project_repository_setting = oci.dev_ops.ProjectRepositorySetting("test_project_repository_setting",
217
+ project_id=test_project["id"],
218
+ approval_rules=oci.dev_ops.ProjectRepositorySettingApprovalRulesArgs(
219
+ items=[oci.dev_ops.ProjectRepositorySettingApprovalRulesItemArgs(
220
+ min_approvals_count=project_repository_setting_approval_rules_items_min_approvals_count,
221
+ name=project_repository_setting_approval_rules_items_name,
222
+ destination_branch=project_repository_setting_approval_rules_items_destination_branch,
223
+ reviewers=[oci.dev_ops.ProjectRepositorySettingApprovalRulesItemReviewerArgs(
224
+ principal_id=test_principal["id"],
225
+ )],
226
+ )],
227
+ ),
228
+ merge_settings=oci.dev_ops.ProjectRepositorySettingMergeSettingsArgs(
229
+ allowed_merge_strategies=project_repository_setting_merge_settings_allowed_merge_strategies,
230
+ default_merge_strategy=project_repository_setting_merge_settings_default_merge_strategy,
231
+ ))
232
+ ```
233
+
234
+ ## Import
235
+
236
+ ProjectRepositorySettings can be imported using the `id`, e.g.
237
+
238
+ ```sh
239
+ $ pulumi import oci:DevOps/projectRepositorySetting:ProjectRepositorySetting test_project_repository_setting "projects/{projectId}/repositorySettings"
240
+ ```
241
+
242
+ :param str resource_name: The name of the resource.
243
+ :param ProjectRepositorySettingArgs args: The arguments to use to populate this resource's properties.
244
+ :param pulumi.ResourceOptions opts: Options for the resource.
245
+ """
246
+ ...
247
+ def __init__(__self__, resource_name: str, *args, **kwargs):
248
+ resource_args, opts = _utilities.get_resource_args_opts(ProjectRepositorySettingArgs, pulumi.ResourceOptions, *args, **kwargs)
249
+ if resource_args is not None:
250
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
251
+ else:
252
+ __self__._internal_init(resource_name, *args, **kwargs)
253
+
254
+ def _internal_init(__self__,
255
+ resource_name: str,
256
+ opts: Optional[pulumi.ResourceOptions] = None,
257
+ approval_rules: Optional[pulumi.Input[pulumi.InputType['ProjectRepositorySettingApprovalRulesArgs']]] = None,
258
+ merge_settings: Optional[pulumi.Input[pulumi.InputType['ProjectRepositorySettingMergeSettingsArgs']]] = None,
259
+ project_id: Optional[pulumi.Input[str]] = None,
260
+ __props__=None):
261
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
262
+ if not isinstance(opts, pulumi.ResourceOptions):
263
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
264
+ if opts.id is None:
265
+ if __props__ is not None:
266
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
267
+ __props__ = ProjectRepositorySettingArgs.__new__(ProjectRepositorySettingArgs)
268
+
269
+ __props__.__dict__["approval_rules"] = approval_rules
270
+ __props__.__dict__["merge_settings"] = merge_settings
271
+ if project_id is None and not opts.urn:
272
+ raise TypeError("Missing required property 'project_id'")
273
+ __props__.__dict__["project_id"] = project_id
274
+ super(ProjectRepositorySetting, __self__).__init__(
275
+ 'oci:DevOps/projectRepositorySetting:ProjectRepositorySetting',
276
+ resource_name,
277
+ __props__,
278
+ opts)
279
+
280
+ @staticmethod
281
+ def get(resource_name: str,
282
+ id: pulumi.Input[str],
283
+ opts: Optional[pulumi.ResourceOptions] = None,
284
+ approval_rules: Optional[pulumi.Input[pulumi.InputType['ProjectRepositorySettingApprovalRulesArgs']]] = None,
285
+ merge_settings: Optional[pulumi.Input[pulumi.InputType['ProjectRepositorySettingMergeSettingsArgs']]] = None,
286
+ project_id: Optional[pulumi.Input[str]] = None) -> 'ProjectRepositorySetting':
287
+ """
288
+ Get an existing ProjectRepositorySetting resource's state with the given name, id, and optional extra
289
+ properties used to qualify the lookup.
290
+
291
+ :param str resource_name: The unique name of the resulting resource.
292
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
293
+ :param pulumi.ResourceOptions opts: Options for the resource.
294
+ :param pulumi.Input[pulumi.InputType['ProjectRepositorySettingApprovalRulesArgs']] approval_rules: (Updatable) List of approval rules which must be statisfied before pull requests which match the rules can be merged
295
+ :param pulumi.Input[pulumi.InputType['ProjectRepositorySettingMergeSettingsArgs']] merge_settings: (Updatable) Enabled and disabled merge strategies for a project or repository, also contains a default strategy.
296
+ :param pulumi.Input[str] project_id: Unique project identifier.
297
+
298
+
299
+ ** IMPORTANT **
300
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
301
+ """
302
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
303
+
304
+ __props__ = _ProjectRepositorySettingState.__new__(_ProjectRepositorySettingState)
305
+
306
+ __props__.__dict__["approval_rules"] = approval_rules
307
+ __props__.__dict__["merge_settings"] = merge_settings
308
+ __props__.__dict__["project_id"] = project_id
309
+ return ProjectRepositorySetting(resource_name, opts=opts, __props__=__props__)
310
+
311
+ @property
312
+ @pulumi.getter(name="approvalRules")
313
+ def approval_rules(self) -> pulumi.Output['outputs.ProjectRepositorySettingApprovalRules']:
314
+ """
315
+ (Updatable) List of approval rules which must be statisfied before pull requests which match the rules can be merged
316
+ """
317
+ return pulumi.get(self, "approval_rules")
318
+
319
+ @property
320
+ @pulumi.getter(name="mergeSettings")
321
+ def merge_settings(self) -> pulumi.Output['outputs.ProjectRepositorySettingMergeSettings']:
322
+ """
323
+ (Updatable) Enabled and disabled merge strategies for a project or repository, also contains a default strategy.
324
+ """
325
+ return pulumi.get(self, "merge_settings")
326
+
327
+ @property
328
+ @pulumi.getter(name="projectId")
329
+ def project_id(self) -> pulumi.Output[str]:
330
+ """
331
+ Unique project identifier.
332
+
333
+
334
+ ** IMPORTANT **
335
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
336
+ """
337
+ return pulumi.get(self, "project_id")
338
+