pulumi-oci 2.6.0a1723011044__py3-none-any.whl → 2.6.0a1723107075__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.6.0a1723011044.dist-info → pulumi_oci-2.6.0a1723107075.dist-info}/METADATA +1 -1
  60. {pulumi_oci-2.6.0a1723011044.dist-info → pulumi_oci-2.6.0a1723107075.dist-info}/RECORD +62 -52
  61. {pulumi_oci-2.6.0a1723011044.dist-info → pulumi_oci-2.6.0a1723107075.dist-info}/WHEEL +0 -0
  62. {pulumi_oci-2.6.0a1723011044.dist-info → pulumi_oci-2.6.0a1723107075.dist-info}/top_level.txt +0 -0
@@ -84,9 +84,6 @@ class GetBuildRunsResult:
84
84
  @property
85
85
  @pulumi.getter
86
86
  def filters(self) -> Optional[Sequence['outputs.GetBuildRunsFilterResult']]:
87
- """
88
- The filters for the trigger.
89
- """
90
87
  return pulumi.get(self, "filters")
91
88
 
92
89
  @property
@@ -161,7 +158,6 @@ def get_build_runs(build_pipeline_id: Optional[str] = None,
161
158
  :param str build_pipeline_id: Unique build pipeline identifier.
162
159
  :param str compartment_id: The OCID of the compartment in which to list resources.
163
160
  :param str display_name: A filter to return only resources that match the entire display name given.
164
- :param Sequence[pulumi.InputType['GetBuildRunsFilterArgs']] filters: The filters for the trigger.
165
161
  :param str id: Unique identifier or OCID for listing a single resource by ID.
166
162
  :param str project_id: unique project identifier
167
163
  :param str state: A filter to return only build runs that matches the given lifecycle state.
@@ -220,7 +216,6 @@ def get_build_runs_output(build_pipeline_id: Optional[pulumi.Input[Optional[str]
220
216
  :param str build_pipeline_id: Unique build pipeline identifier.
221
217
  :param str compartment_id: The OCID of the compartment in which to list resources.
222
218
  :param str display_name: A filter to return only resources that match the entire display name given.
223
- :param Sequence[pulumi.InputType['GetBuildRunsFilterArgs']] filters: The filters for the trigger.
224
219
  :param str id: Unique identifier or OCID for listing a single resource by ID.
225
220
  :param str project_id: unique project identifier
226
221
  :param str state: A filter to return only build runs that matches the given lifecycle state.
@@ -0,0 +1,129 @@
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
+
13
+ __all__ = [
14
+ 'GetProjectRepositorySettingResult',
15
+ 'AwaitableGetProjectRepositorySettingResult',
16
+ 'get_project_repository_setting',
17
+ 'get_project_repository_setting_output',
18
+ ]
19
+
20
+ @pulumi.output_type
21
+ class GetProjectRepositorySettingResult:
22
+ """
23
+ A collection of values returned by getProjectRepositorySetting.
24
+ """
25
+ def __init__(__self__, approval_rules=None, id=None, merge_settings=None, project_id=None):
26
+ if approval_rules and not isinstance(approval_rules, list):
27
+ raise TypeError("Expected argument 'approval_rules' to be a list")
28
+ pulumi.set(__self__, "approval_rules", approval_rules)
29
+ if id and not isinstance(id, str):
30
+ raise TypeError("Expected argument 'id' to be a str")
31
+ pulumi.set(__self__, "id", id)
32
+ if merge_settings and not isinstance(merge_settings, list):
33
+ raise TypeError("Expected argument 'merge_settings' to be a list")
34
+ pulumi.set(__self__, "merge_settings", merge_settings)
35
+ if project_id and not isinstance(project_id, str):
36
+ raise TypeError("Expected argument 'project_id' to be a str")
37
+ pulumi.set(__self__, "project_id", project_id)
38
+
39
+ @property
40
+ @pulumi.getter(name="approvalRules")
41
+ def approval_rules(self) -> Sequence['outputs.GetProjectRepositorySettingApprovalRuleResult']:
42
+ """
43
+ List of approval rules which must be statisfied before pull requests which match the rules can be merged
44
+ """
45
+ return pulumi.get(self, "approval_rules")
46
+
47
+ @property
48
+ @pulumi.getter
49
+ def id(self) -> str:
50
+ return pulumi.get(self, "id")
51
+
52
+ @property
53
+ @pulumi.getter(name="mergeSettings")
54
+ def merge_settings(self) -> Sequence['outputs.GetProjectRepositorySettingMergeSettingResult']:
55
+ """
56
+ Enabled and disabled merge strategies for a project or repository, also contains a default strategy.
57
+ """
58
+ return pulumi.get(self, "merge_settings")
59
+
60
+ @property
61
+ @pulumi.getter(name="projectId")
62
+ def project_id(self) -> str:
63
+ return pulumi.get(self, "project_id")
64
+
65
+
66
+ class AwaitableGetProjectRepositorySettingResult(GetProjectRepositorySettingResult):
67
+ # pylint: disable=using-constant-test
68
+ def __await__(self):
69
+ if False:
70
+ yield self
71
+ return GetProjectRepositorySettingResult(
72
+ approval_rules=self.approval_rules,
73
+ id=self.id,
74
+ merge_settings=self.merge_settings,
75
+ project_id=self.project_id)
76
+
77
+
78
+ def get_project_repository_setting(project_id: Optional[str] = None,
79
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetProjectRepositorySettingResult:
80
+ """
81
+ This data source provides details about a specific Project Repository Setting resource in Oracle Cloud Infrastructure Devops service.
82
+
83
+ Retrieves a project's repository settings details.
84
+
85
+ ## Example Usage
86
+
87
+ ```python
88
+ import pulumi
89
+ import pulumi_oci as oci
90
+
91
+ test_project_repository_setting = oci.DevOps.get_project_repository_setting(project_id=test_project["id"])
92
+ ```
93
+
94
+
95
+ :param str project_id: Unique project identifier.
96
+ """
97
+ __args__ = dict()
98
+ __args__['projectId'] = project_id
99
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
100
+ __ret__ = pulumi.runtime.invoke('oci:DevOps/getProjectRepositorySetting:getProjectRepositorySetting', __args__, opts=opts, typ=GetProjectRepositorySettingResult).value
101
+
102
+ return AwaitableGetProjectRepositorySettingResult(
103
+ approval_rules=pulumi.get(__ret__, 'approval_rules'),
104
+ id=pulumi.get(__ret__, 'id'),
105
+ merge_settings=pulumi.get(__ret__, 'merge_settings'),
106
+ project_id=pulumi.get(__ret__, 'project_id'))
107
+
108
+
109
+ @_utilities.lift_output_func(get_project_repository_setting)
110
+ def get_project_repository_setting_output(project_id: Optional[pulumi.Input[str]] = None,
111
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetProjectRepositorySettingResult]:
112
+ """
113
+ This data source provides details about a specific Project Repository Setting resource in Oracle Cloud Infrastructure Devops service.
114
+
115
+ Retrieves a project's repository settings details.
116
+
117
+ ## Example Usage
118
+
119
+ ```python
120
+ import pulumi
121
+ import pulumi_oci as oci
122
+
123
+ test_project_repository_setting = oci.DevOps.get_project_repository_setting(project_id=test_project["id"])
124
+ ```
125
+
126
+
127
+ :param str project_id: Unique project identifier.
128
+ """
129
+ ...
@@ -74,7 +74,7 @@ class GetRepositoriesResult:
74
74
  @pulumi.getter
75
75
  def name(self) -> Optional[str]:
76
76
  """
77
- Unique name of a repository. This value is mutable.
77
+ Name of the repository. Should be unique within the project. This value is mutable.
78
78
  """
79
79
  return pulumi.get(self, "name")
80
80
 
@@ -22,7 +22,7 @@ class GetRepositoryResult:
22
22
  """
23
23
  A collection of values returned by getRepository.
24
24
  """
25
- def __init__(__self__, branch_count=None, commit_count=None, compartment_id=None, default_branch=None, defined_tags=None, description=None, fields=None, freeform_tags=None, http_url=None, id=None, lifecyle_details=None, mirror_repository_configs=None, name=None, namespace=None, project_id=None, project_name=None, repository_id=None, repository_type=None, size_in_bytes=None, ssh_url=None, state=None, system_tags=None, time_created=None, time_updated=None, trigger_build_events=None):
25
+ def __init__(__self__, branch_count=None, commit_count=None, compartment_id=None, default_branch=None, defined_tags=None, description=None, fields=None, freeform_tags=None, http_url=None, id=None, lifecyle_details=None, mirror_repository_configs=None, name=None, namespace=None, parent_repository_id=None, project_id=None, project_name=None, repository_id=None, repository_type=None, size_in_bytes=None, ssh_url=None, state=None, system_tags=None, time_created=None, time_updated=None, trigger_build_events=None):
26
26
  if branch_count and not isinstance(branch_count, int):
27
27
  raise TypeError("Expected argument 'branch_count' to be a int")
28
28
  pulumi.set(__self__, "branch_count", branch_count)
@@ -65,6 +65,9 @@ class GetRepositoryResult:
65
65
  if namespace and not isinstance(namespace, str):
66
66
  raise TypeError("Expected argument 'namespace' to be a str")
67
67
  pulumi.set(__self__, "namespace", namespace)
68
+ if parent_repository_id and not isinstance(parent_repository_id, str):
69
+ raise TypeError("Expected argument 'parent_repository_id' to be a str")
70
+ pulumi.set(__self__, "parent_repository_id", parent_repository_id)
68
71
  if project_id and not isinstance(project_id, str):
69
72
  raise TypeError("Expected argument 'project_id' to be a str")
70
73
  pulumi.set(__self__, "project_id", project_id)
@@ -196,7 +199,7 @@ class GetRepositoryResult:
196
199
  @pulumi.getter
197
200
  def name(self) -> str:
198
201
  """
199
- Unique name of a repository. This value is mutable.
202
+ Name of the repository. Should be unique within the project. This value is mutable.
200
203
  """
201
204
  return pulumi.get(self, "name")
202
205
 
@@ -208,6 +211,14 @@ class GetRepositoryResult:
208
211
  """
209
212
  return pulumi.get(self, "namespace")
210
213
 
214
+ @property
215
+ @pulumi.getter(name="parentRepositoryId")
216
+ def parent_repository_id(self) -> str:
217
+ """
218
+ The OCID of the parent repository.
219
+ """
220
+ return pulumi.get(self, "parent_repository_id")
221
+
211
222
  @property
212
223
  @pulumi.getter(name="projectId")
213
224
  def project_id(self) -> str:
@@ -233,7 +244,7 @@ class GetRepositoryResult:
233
244
  @pulumi.getter(name="repositoryType")
234
245
  def repository_type(self) -> str:
235
246
  """
236
- Type of repository: MIRRORED - Repository created by mirroring an existing repository. HOSTED - Repository created and hosted using Oracle Cloud Infrastructure DevOps code repository.
247
+ Type of repository: MIRRORED - Repository created by mirroring an existing repository. HOSTED - Repository created and hosted using Oracle Cloud Infrastructure DevOps code repository. FORKED - Repository created by forking an existing repository.
237
248
  """
238
249
  return pulumi.get(self, "repository_type")
239
250
 
@@ -289,7 +300,7 @@ class GetRepositoryResult:
289
300
  @pulumi.getter(name="triggerBuildEvents")
290
301
  def trigger_build_events(self) -> Sequence[str]:
291
302
  """
292
- Trigger build events supported for this repository: PUSH - Build is triggered when a push event occurs. COMMIT_UPDATES - Build is triggered when new commits are mirrored into a repository.
303
+ Trigger build events supported for this repository: PUSH - Build is triggered when a push event occurs. PULL_REQUEST_CREATED - Build is triggered when a pull request is created in the repository. PULL_REQUEST_UPDATED - Build is triggered when a push is made to a branch with an open pull request. COMMIT_UPDATES - Build is triggered when new commits are mirrored into a repository.
293
304
  """
294
305
  return pulumi.get(self, "trigger_build_events")
295
306
 
@@ -314,6 +325,7 @@ class AwaitableGetRepositoryResult(GetRepositoryResult):
314
325
  mirror_repository_configs=self.mirror_repository_configs,
315
326
  name=self.name,
316
327
  namespace=self.namespace,
328
+ parent_repository_id=self.parent_repository_id,
317
329
  project_id=self.project_id,
318
330
  project_name=self.project_name,
319
331
  repository_id=self.repository_id,
@@ -370,6 +382,7 @@ def get_repository(fields: Optional[Sequence[str]] = None,
370
382
  mirror_repository_configs=pulumi.get(__ret__, 'mirror_repository_configs'),
371
383
  name=pulumi.get(__ret__, 'name'),
372
384
  namespace=pulumi.get(__ret__, 'namespace'),
385
+ parent_repository_id=pulumi.get(__ret__, 'parent_repository_id'),
373
386
  project_id=pulumi.get(__ret__, 'project_id'),
374
387
  project_name=pulumi.get(__ret__, 'project_name'),
375
388
  repository_id=pulumi.get(__ret__, 'repository_id'),
@@ -23,7 +23,7 @@ class GetRepositoryDiffsResult:
23
23
  """
24
24
  A collection of values returned by getRepositoryDiffs.
25
25
  """
26
- def __init__(__self__, base_version=None, diff_collections=None, filters=None, id=None, is_comparison_from_merge_base=None, repository_id=None, target_version=None):
26
+ def __init__(__self__, base_version=None, diff_collections=None, filters=None, id=None, is_comparison_from_merge_base=None, repository_id=None, target_repository_id=None, target_version=None):
27
27
  if base_version and not isinstance(base_version, str):
28
28
  raise TypeError("Expected argument 'base_version' to be a str")
29
29
  pulumi.set(__self__, "base_version", base_version)
@@ -42,6 +42,9 @@ class GetRepositoryDiffsResult:
42
42
  if repository_id and not isinstance(repository_id, str):
43
43
  raise TypeError("Expected argument 'repository_id' to be a str")
44
44
  pulumi.set(__self__, "repository_id", repository_id)
45
+ if target_repository_id and not isinstance(target_repository_id, str):
46
+ raise TypeError("Expected argument 'target_repository_id' to be a str")
47
+ pulumi.set(__self__, "target_repository_id", target_repository_id)
45
48
  if target_version and not isinstance(target_version, str):
46
49
  raise TypeError("Expected argument 'target_version' to be a str")
47
50
  pulumi.set(__self__, "target_version", target_version)
@@ -82,6 +85,11 @@ class GetRepositoryDiffsResult:
82
85
  def repository_id(self) -> str:
83
86
  return pulumi.get(self, "repository_id")
84
87
 
88
+ @property
89
+ @pulumi.getter(name="targetRepositoryId")
90
+ def target_repository_id(self) -> Optional[str]:
91
+ return pulumi.get(self, "target_repository_id")
92
+
85
93
  @property
86
94
  @pulumi.getter(name="targetVersion")
87
95
  def target_version(self) -> str:
@@ -100,6 +108,7 @@ class AwaitableGetRepositoryDiffsResult(GetRepositoryDiffsResult):
100
108
  id=self.id,
101
109
  is_comparison_from_merge_base=self.is_comparison_from_merge_base,
102
110
  repository_id=self.repository_id,
111
+ target_repository_id=self.target_repository_id,
103
112
  target_version=self.target_version)
104
113
 
105
114
 
@@ -107,6 +116,7 @@ def get_repository_diffs(base_version: Optional[str] = None,
107
116
  filters: Optional[Sequence[pulumi.InputType['GetRepositoryDiffsFilterArgs']]] = None,
108
117
  is_comparison_from_merge_base: Optional[bool] = None,
109
118
  repository_id: Optional[str] = None,
119
+ target_repository_id: Optional[str] = None,
110
120
  target_version: Optional[str] = None,
111
121
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRepositoryDiffsResult:
112
122
  """
@@ -123,13 +133,15 @@ def get_repository_diffs(base_version: Optional[str] = None,
123
133
  test_repository_diffs = oci.DevOps.get_repository_diffs(base_version=repository_diff_base_version,
124
134
  repository_id=test_repository["id"],
125
135
  target_version=repository_diff_target_version,
126
- is_comparison_from_merge_base=repository_diff_is_comparison_from_merge_base)
136
+ is_comparison_from_merge_base=repository_diff_is_comparison_from_merge_base,
137
+ target_repository_id=test_repository["id"])
127
138
  ```
128
139
 
129
140
 
130
141
  :param str base_version: The commit or reference name to compare changes against.
131
142
  :param bool is_comparison_from_merge_base: Boolean value to indicate whether to use merge base or most recent revision.
132
143
  :param str repository_id: Unique repository identifier.
144
+ :param str target_repository_id: The target repository identifier
133
145
  :param str target_version: The commit or reference name where changes are coming from.
134
146
  """
135
147
  __args__ = dict()
@@ -137,6 +149,7 @@ def get_repository_diffs(base_version: Optional[str] = None,
137
149
  __args__['filters'] = filters
138
150
  __args__['isComparisonFromMergeBase'] = is_comparison_from_merge_base
139
151
  __args__['repositoryId'] = repository_id
152
+ __args__['targetRepositoryId'] = target_repository_id
140
153
  __args__['targetVersion'] = target_version
141
154
  opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
142
155
  __ret__ = pulumi.runtime.invoke('oci:DevOps/getRepositoryDiffs:getRepositoryDiffs', __args__, opts=opts, typ=GetRepositoryDiffsResult).value
@@ -148,6 +161,7 @@ def get_repository_diffs(base_version: Optional[str] = None,
148
161
  id=pulumi.get(__ret__, 'id'),
149
162
  is_comparison_from_merge_base=pulumi.get(__ret__, 'is_comparison_from_merge_base'),
150
163
  repository_id=pulumi.get(__ret__, 'repository_id'),
164
+ target_repository_id=pulumi.get(__ret__, 'target_repository_id'),
151
165
  target_version=pulumi.get(__ret__, 'target_version'))
152
166
 
153
167
 
@@ -156,6 +170,7 @@ def get_repository_diffs_output(base_version: Optional[pulumi.Input[str]] = None
156
170
  filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetRepositoryDiffsFilterArgs']]]]] = None,
157
171
  is_comparison_from_merge_base: Optional[pulumi.Input[Optional[bool]]] = None,
158
172
  repository_id: Optional[pulumi.Input[str]] = None,
173
+ target_repository_id: Optional[pulumi.Input[Optional[str]]] = None,
159
174
  target_version: Optional[pulumi.Input[str]] = None,
160
175
  opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRepositoryDiffsResult]:
161
176
  """
@@ -172,13 +187,15 @@ def get_repository_diffs_output(base_version: Optional[pulumi.Input[str]] = None
172
187
  test_repository_diffs = oci.DevOps.get_repository_diffs(base_version=repository_diff_base_version,
173
188
  repository_id=test_repository["id"],
174
189
  target_version=repository_diff_target_version,
175
- is_comparison_from_merge_base=repository_diff_is_comparison_from_merge_base)
190
+ is_comparison_from_merge_base=repository_diff_is_comparison_from_merge_base,
191
+ target_repository_id=test_repository["id"])
176
192
  ```
177
193
 
178
194
 
179
195
  :param str base_version: The commit or reference name to compare changes against.
180
196
  :param bool is_comparison_from_merge_base: Boolean value to indicate whether to use merge base or most recent revision.
181
197
  :param str repository_id: Unique repository identifier.
198
+ :param str target_repository_id: The target repository identifier
182
199
  :param str target_version: The commit or reference name where changes are coming from.
183
200
  """
184
201
  ...
@@ -0,0 +1,150 @@
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__ = [
15
+ 'GetRepositoryProtectedBranchesResult',
16
+ 'AwaitableGetRepositoryProtectedBranchesResult',
17
+ 'get_repository_protected_branches',
18
+ 'get_repository_protected_branches_output',
19
+ ]
20
+
21
+ @pulumi.output_type
22
+ class GetRepositoryProtectedBranchesResult:
23
+ """
24
+ A collection of values returned by getRepositoryProtectedBranches.
25
+ """
26
+ def __init__(__self__, filters=None, id=None, name=None, protected_branch_collections=None, repository_id=None):
27
+ if filters and not isinstance(filters, list):
28
+ raise TypeError("Expected argument 'filters' to be a list")
29
+ pulumi.set(__self__, "filters", filters)
30
+ if id and not isinstance(id, str):
31
+ raise TypeError("Expected argument 'id' to be a str")
32
+ pulumi.set(__self__, "id", id)
33
+ if name and not isinstance(name, str):
34
+ raise TypeError("Expected argument 'name' to be a str")
35
+ pulumi.set(__self__, "name", name)
36
+ if protected_branch_collections and not isinstance(protected_branch_collections, list):
37
+ raise TypeError("Expected argument 'protected_branch_collections' to be a list")
38
+ pulumi.set(__self__, "protected_branch_collections", protected_branch_collections)
39
+ if repository_id and not isinstance(repository_id, str):
40
+ raise TypeError("Expected argument 'repository_id' to be a str")
41
+ pulumi.set(__self__, "repository_id", repository_id)
42
+
43
+ @property
44
+ @pulumi.getter
45
+ def filters(self) -> Optional[Sequence['outputs.GetRepositoryProtectedBranchesFilterResult']]:
46
+ return pulumi.get(self, "filters")
47
+
48
+ @property
49
+ @pulumi.getter
50
+ def id(self) -> str:
51
+ """
52
+ The provider-assigned unique ID for this managed resource.
53
+ """
54
+ return pulumi.get(self, "id")
55
+
56
+ @property
57
+ @pulumi.getter
58
+ def name(self) -> Optional[str]:
59
+ return pulumi.get(self, "name")
60
+
61
+ @property
62
+ @pulumi.getter(name="protectedBranchCollections")
63
+ def protected_branch_collections(self) -> Sequence['outputs.GetRepositoryProtectedBranchesProtectedBranchCollectionResult']:
64
+ """
65
+ The list of protected_branch_collection.
66
+ """
67
+ return pulumi.get(self, "protected_branch_collections")
68
+
69
+ @property
70
+ @pulumi.getter(name="repositoryId")
71
+ def repository_id(self) -> str:
72
+ return pulumi.get(self, "repository_id")
73
+
74
+
75
+ class AwaitableGetRepositoryProtectedBranchesResult(GetRepositoryProtectedBranchesResult):
76
+ # pylint: disable=using-constant-test
77
+ def __await__(self):
78
+ if False:
79
+ yield self
80
+ return GetRepositoryProtectedBranchesResult(
81
+ filters=self.filters,
82
+ id=self.id,
83
+ name=self.name,
84
+ protected_branch_collections=self.protected_branch_collections,
85
+ repository_id=self.repository_id)
86
+
87
+
88
+ def get_repository_protected_branches(filters: Optional[Sequence[pulumi.InputType['GetRepositoryProtectedBranchesFilterArgs']]] = None,
89
+ name: Optional[str] = None,
90
+ repository_id: Optional[str] = None,
91
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRepositoryProtectedBranchesResult:
92
+ """
93
+ This data source provides the list of Repository Protected Branches in Oracle Cloud Infrastructure Devops service.
94
+
95
+ Returns a list of Protected Branches.
96
+
97
+ ## Example Usage
98
+
99
+ ```python
100
+ import pulumi
101
+ import pulumi_oci as oci
102
+
103
+ test_repository_protected_branches = oci.DevOps.get_repository_protected_branches(repository_id=test_repository["id"],
104
+ name=repository_protected_branch_name)
105
+ ```
106
+
107
+
108
+ :param str name: A filter to return only resources that match the given branch name.
109
+ :param str repository_id: Unique repository identifier.
110
+ """
111
+ __args__ = dict()
112
+ __args__['filters'] = filters
113
+ __args__['name'] = name
114
+ __args__['repositoryId'] = repository_id
115
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
116
+ __ret__ = pulumi.runtime.invoke('oci:DevOps/getRepositoryProtectedBranches:getRepositoryProtectedBranches', __args__, opts=opts, typ=GetRepositoryProtectedBranchesResult).value
117
+
118
+ return AwaitableGetRepositoryProtectedBranchesResult(
119
+ filters=pulumi.get(__ret__, 'filters'),
120
+ id=pulumi.get(__ret__, 'id'),
121
+ name=pulumi.get(__ret__, 'name'),
122
+ protected_branch_collections=pulumi.get(__ret__, 'protected_branch_collections'),
123
+ repository_id=pulumi.get(__ret__, 'repository_id'))
124
+
125
+
126
+ @_utilities.lift_output_func(get_repository_protected_branches)
127
+ def get_repository_protected_branches_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetRepositoryProtectedBranchesFilterArgs']]]]] = None,
128
+ name: Optional[pulumi.Input[Optional[str]]] = None,
129
+ repository_id: Optional[pulumi.Input[str]] = None,
130
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRepositoryProtectedBranchesResult]:
131
+ """
132
+ This data source provides the list of Repository Protected Branches in Oracle Cloud Infrastructure Devops service.
133
+
134
+ Returns a list of Protected Branches.
135
+
136
+ ## Example Usage
137
+
138
+ ```python
139
+ import pulumi
140
+ import pulumi_oci as oci
141
+
142
+ test_repository_protected_branches = oci.DevOps.get_repository_protected_branches(repository_id=test_repository["id"],
143
+ name=repository_protected_branch_name)
144
+ ```
145
+
146
+
147
+ :param str name: A filter to return only resources that match the given branch name.
148
+ :param str repository_id: Unique repository identifier.
149
+ """
150
+ ...
@@ -143,7 +143,7 @@ def get_repository_ref(ref_name: Optional[str] = None,
143
143
  """
144
144
  This data source provides details about a specific Repository Ref resource in Oracle Cloud Infrastructure Devops service.
145
145
 
146
- Retrieves a repository's reference by its name with preference for branches over tags if the name is ambiguous. This can be disambiguated by using full names like "heads/<name>" or "tags/<name>".
146
+ This API will be deprecated on Wed, 12 June 2024 01:00:00 GMT as it does not get recognized when refName has '/'. This will be replaced by "/repositories/{repositoryId}/refs". Retrieves a repository's reference by its name with preference for branches over tags if the name is ambiguous. This can be disambiguated by using full names like "heads/<name>" or "tags/<name>".
147
147
 
148
148
  ## Example Usage
149
149
 
@@ -184,7 +184,7 @@ def get_repository_ref_output(ref_name: Optional[pulumi.Input[str]] = None,
184
184
  """
185
185
  This data source provides details about a specific Repository Ref resource in Oracle Cloud Infrastructure Devops service.
186
186
 
187
- Retrieves a repository's reference by its name with preference for branches over tags if the name is ambiguous. This can be disambiguated by using full names like "heads/<name>" or "tags/<name>".
187
+ This API will be deprecated on Wed, 12 June 2024 01:00:00 GMT as it does not get recognized when refName has '/'. This will be replaced by "/repositories/{repositoryId}/refs". Retrieves a repository's reference by its name with preference for branches over tags if the name is ambiguous. This can be disambiguated by using full names like "heads/<name>" or "tags/<name>".
188
188
 
189
189
  ## Example Usage
190
190
 
@@ -0,0 +1,142 @@
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
+
13
+ __all__ = [
14
+ 'GetRepositorySettingResult',
15
+ 'AwaitableGetRepositorySettingResult',
16
+ 'get_repository_setting',
17
+ 'get_repository_setting_output',
18
+ ]
19
+
20
+ @pulumi.output_type
21
+ class GetRepositorySettingResult:
22
+ """
23
+ A collection of values returned by getRepositorySetting.
24
+ """
25
+ def __init__(__self__, approval_rules=None, id=None, merge_checks=None, merge_settings=None, repository_id=None):
26
+ if approval_rules and not isinstance(approval_rules, list):
27
+ raise TypeError("Expected argument 'approval_rules' to be a list")
28
+ pulumi.set(__self__, "approval_rules", approval_rules)
29
+ if id and not isinstance(id, str):
30
+ raise TypeError("Expected argument 'id' to be a str")
31
+ pulumi.set(__self__, "id", id)
32
+ if merge_checks and not isinstance(merge_checks, list):
33
+ raise TypeError("Expected argument 'merge_checks' to be a list")
34
+ pulumi.set(__self__, "merge_checks", merge_checks)
35
+ if merge_settings and not isinstance(merge_settings, list):
36
+ raise TypeError("Expected argument 'merge_settings' to be a list")
37
+ pulumi.set(__self__, "merge_settings", merge_settings)
38
+ if repository_id and not isinstance(repository_id, str):
39
+ raise TypeError("Expected argument 'repository_id' to be a str")
40
+ pulumi.set(__self__, "repository_id", repository_id)
41
+
42
+ @property
43
+ @pulumi.getter(name="approvalRules")
44
+ def approval_rules(self) -> Sequence['outputs.GetRepositorySettingApprovalRuleResult']:
45
+ """
46
+ List of approval rules which must be statisfied before pull requests which match the rules can be merged
47
+ """
48
+ return pulumi.get(self, "approval_rules")
49
+
50
+ @property
51
+ @pulumi.getter
52
+ def id(self) -> str:
53
+ return pulumi.get(self, "id")
54
+
55
+ @property
56
+ @pulumi.getter(name="mergeChecks")
57
+ def merge_checks(self) -> Sequence['outputs.GetRepositorySettingMergeCheckResult']:
58
+ """
59
+ Criteria which must be satisfied to merge a pull request.
60
+ """
61
+ return pulumi.get(self, "merge_checks")
62
+
63
+ @property
64
+ @pulumi.getter(name="mergeSettings")
65
+ def merge_settings(self) -> Sequence['outputs.GetRepositorySettingMergeSettingResult']:
66
+ """
67
+ Enabled and disabled merge strategies for a project or repository, also contains a default strategy.
68
+ """
69
+ return pulumi.get(self, "merge_settings")
70
+
71
+ @property
72
+ @pulumi.getter(name="repositoryId")
73
+ def repository_id(self) -> str:
74
+ return pulumi.get(self, "repository_id")
75
+
76
+
77
+ class AwaitableGetRepositorySettingResult(GetRepositorySettingResult):
78
+ # pylint: disable=using-constant-test
79
+ def __await__(self):
80
+ if False:
81
+ yield self
82
+ return GetRepositorySettingResult(
83
+ approval_rules=self.approval_rules,
84
+ id=self.id,
85
+ merge_checks=self.merge_checks,
86
+ merge_settings=self.merge_settings,
87
+ repository_id=self.repository_id)
88
+
89
+
90
+ def get_repository_setting(repository_id: Optional[str] = None,
91
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRepositorySettingResult:
92
+ """
93
+ This data source provides details about a specific Repository Setting resource in Oracle Cloud Infrastructure Devops service.
94
+
95
+ Retrieves a repository's settings details.
96
+
97
+ ## Example Usage
98
+
99
+ ```python
100
+ import pulumi
101
+ import pulumi_oci as oci
102
+
103
+ test_repository_setting = oci.DevOps.get_repository_setting(repository_id=test_repository["id"])
104
+ ```
105
+
106
+
107
+ :param str repository_id: Unique repository identifier.
108
+ """
109
+ __args__ = dict()
110
+ __args__['repositoryId'] = repository_id
111
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
112
+ __ret__ = pulumi.runtime.invoke('oci:DevOps/getRepositorySetting:getRepositorySetting', __args__, opts=opts, typ=GetRepositorySettingResult).value
113
+
114
+ return AwaitableGetRepositorySettingResult(
115
+ approval_rules=pulumi.get(__ret__, 'approval_rules'),
116
+ id=pulumi.get(__ret__, 'id'),
117
+ merge_checks=pulumi.get(__ret__, 'merge_checks'),
118
+ merge_settings=pulumi.get(__ret__, 'merge_settings'),
119
+ repository_id=pulumi.get(__ret__, 'repository_id'))
120
+
121
+
122
+ @_utilities.lift_output_func(get_repository_setting)
123
+ def get_repository_setting_output(repository_id: Optional[pulumi.Input[str]] = None,
124
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRepositorySettingResult]:
125
+ """
126
+ This data source provides details about a specific Repository Setting resource in Oracle Cloud Infrastructure Devops service.
127
+
128
+ Retrieves a repository's settings details.
129
+
130
+ ## Example Usage
131
+
132
+ ```python
133
+ import pulumi
134
+ import pulumi_oci as oci
135
+
136
+ test_repository_setting = oci.DevOps.get_repository_setting(repository_id=test_repository["id"])
137
+ ```
138
+
139
+
140
+ :param str repository_id: Unique repository identifier.
141
+ """
142
+ ...