pulumi-oci 2.6.0__py3-none-any.whl → 2.6.0a1723011044__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.
- pulumi_oci/__init__.py +0 -32
- pulumi_oci/bigdataservice/_inputs.py +14 -157
- pulumi_oci/bigdataservice/bds_instance.py +0 -128
- pulumi_oci/bigdataservice/bds_instance_patch_action.py +3 -64
- pulumi_oci/bigdataservice/get_bds_instance.py +1 -31
- pulumi_oci/bigdataservice/outputs.py +30 -257
- pulumi_oci/devops/__init__.py +0 -6
- pulumi_oci/devops/_inputs.py +32 -531
- pulumi_oci/devops/get_build_runs.py +5 -0
- pulumi_oci/devops/get_repositories.py +1 -1
- pulumi_oci/devops/get_repository.py +4 -17
- pulumi_oci/devops/get_repository_diffs.py +3 -20
- pulumi_oci/devops/get_repository_ref.py +2 -2
- pulumi_oci/devops/get_triggers.py +5 -0
- pulumi_oci/devops/outputs.py +162 -1198
- pulumi_oci/devops/repository.py +75 -66
- pulumi_oci/devops/repository_ref.py +2 -2
- pulumi_oci/jms/__init__.py +0 -4
- pulumi_oci/jms/_inputs.py +0 -80
- pulumi_oci/jms/get_fleet_blocklists.py +2 -2
- pulumi_oci/jms/get_fleet_crypto_analysis_result.py +3 -29
- pulumi_oci/jms/get_fleet_crypto_analysis_results.py +3 -97
- pulumi_oci/jms/get_fleet_export_setting.py +3 -3
- pulumi_oci/jms/get_fleet_export_status.py +2 -2
- pulumi_oci/jms/get_fleet_java_migration_analysis_result.py +2 -2
- pulumi_oci/jms/get_fleet_java_migration_analysis_results.py +5 -45
- pulumi_oci/jms/get_fleet_performance_tuning_analysis_result.py +4 -4
- pulumi_oci/jms/get_fleet_performance_tuning_analysis_results.py +5 -25
- pulumi_oci/jms/get_fleets.py +2 -2
- pulumi_oci/jms/get_installation_site.py +4 -4
- pulumi_oci/jms/get_installation_sites.py +4 -4
- pulumi_oci/jms/get_java_downloads_java_download_tokens.py +2 -2
- pulumi_oci/jms/get_java_downloads_java_license_acceptance_records.py +2 -2
- pulumi_oci/jms/get_java_family.py +1 -14
- pulumi_oci/jms/outputs.py +32 -488
- pulumi_oci/osmanagementhub/get_software_source.py +1 -19
- pulumi_oci/osmanagementhub/software_source.py +0 -82
- pulumi_oci/psql/_inputs.py +4 -8
- pulumi_oci/psql/backup.py +4 -4
- pulumi_oci/psql/configuration.py +38 -141
- pulumi_oci/psql/db_system.py +55 -53
- pulumi_oci/psql/get_backup.py +1 -1
- pulumi_oci/psql/get_configuration.py +1 -27
- pulumi_oci/psql/get_configurations.py +2 -2
- pulumi_oci/psql/get_default_configuration.py +2 -15
- pulumi_oci/psql/get_default_configurations.py +2 -2
- pulumi_oci/psql/outputs.py +13 -176
- pulumi_oci/pulumi-plugin.json +1 -1
- {pulumi_oci-2.6.0.dist-info → pulumi_oci-2.6.0a1723011044.dist-info}/METADATA +1 -1
- {pulumi_oci-2.6.0.dist-info → pulumi_oci-2.6.0a1723011044.dist-info}/RECORD +52 -62
- pulumi_oci/devops/get_project_repository_setting.py +0 -129
- pulumi_oci/devops/get_repository_protected_branches.py +0 -150
- pulumi_oci/devops/get_repository_setting.py +0 -142
- pulumi_oci/devops/project_repository_setting.py +0 -338
- pulumi_oci/devops/repository_protected_branch_management.py +0 -333
- pulumi_oci/devops/repository_setting.py +0 -391
- pulumi_oci/jms/get_agent_installers.py +0 -190
- pulumi_oci/jms/get_jms_plugin.py +0 -313
- pulumi_oci/jms/get_jms_plugins.py +0 -291
- pulumi_oci/jms/jms_plugin.py +0 -731
- {pulumi_oci-2.6.0.dist-info → pulumi_oci-2.6.0a1723011044.dist-info}/WHEEL +0 -0
- {pulumi_oci-2.6.0.dist-info → pulumi_oci-2.6.0a1723011044.dist-info}/top_level.txt +0 -0
@@ -1,391 +0,0 @@
|
|
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__ = ['RepositorySettingArgs', 'RepositorySetting']
|
15
|
-
|
16
|
-
@pulumi.input_type
|
17
|
-
class RepositorySettingArgs:
|
18
|
-
def __init__(__self__, *,
|
19
|
-
repository_id: pulumi.Input[str],
|
20
|
-
approval_rules: Optional[pulumi.Input['RepositorySettingApprovalRulesArgs']] = None,
|
21
|
-
merge_checks: Optional[pulumi.Input['RepositorySettingMergeChecksArgs']] = None,
|
22
|
-
merge_settings: Optional[pulumi.Input['RepositorySettingMergeSettingsArgs']] = None):
|
23
|
-
"""
|
24
|
-
The set of arguments for constructing a RepositorySetting resource.
|
25
|
-
:param pulumi.Input[str] repository_id: Unique repository identifier.
|
26
|
-
|
27
|
-
|
28
|
-
** IMPORTANT **
|
29
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
30
|
-
:param pulumi.Input['RepositorySettingApprovalRulesArgs'] approval_rules: (Updatable) List of approval rules which must be statisfied before pull requests which match the rules can be merged
|
31
|
-
:param pulumi.Input['RepositorySettingMergeChecksArgs'] merge_checks: (Updatable) Criteria which must be satisfied to merge a pull request.
|
32
|
-
:param pulumi.Input['RepositorySettingMergeSettingsArgs'] merge_settings: (Updatable) Enabled and disabled merge strategies for a project or repository, also contains a default strategy.
|
33
|
-
"""
|
34
|
-
pulumi.set(__self__, "repository_id", repository_id)
|
35
|
-
if approval_rules is not None:
|
36
|
-
pulumi.set(__self__, "approval_rules", approval_rules)
|
37
|
-
if merge_checks is not None:
|
38
|
-
pulumi.set(__self__, "merge_checks", merge_checks)
|
39
|
-
if merge_settings is not None:
|
40
|
-
pulumi.set(__self__, "merge_settings", merge_settings)
|
41
|
-
|
42
|
-
@property
|
43
|
-
@pulumi.getter(name="repositoryId")
|
44
|
-
def repository_id(self) -> pulumi.Input[str]:
|
45
|
-
"""
|
46
|
-
Unique repository identifier.
|
47
|
-
|
48
|
-
|
49
|
-
** IMPORTANT **
|
50
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
51
|
-
"""
|
52
|
-
return pulumi.get(self, "repository_id")
|
53
|
-
|
54
|
-
@repository_id.setter
|
55
|
-
def repository_id(self, value: pulumi.Input[str]):
|
56
|
-
pulumi.set(self, "repository_id", value)
|
57
|
-
|
58
|
-
@property
|
59
|
-
@pulumi.getter(name="approvalRules")
|
60
|
-
def approval_rules(self) -> Optional[pulumi.Input['RepositorySettingApprovalRulesArgs']]:
|
61
|
-
"""
|
62
|
-
(Updatable) List of approval rules which must be statisfied before pull requests which match the rules can be merged
|
63
|
-
"""
|
64
|
-
return pulumi.get(self, "approval_rules")
|
65
|
-
|
66
|
-
@approval_rules.setter
|
67
|
-
def approval_rules(self, value: Optional[pulumi.Input['RepositorySettingApprovalRulesArgs']]):
|
68
|
-
pulumi.set(self, "approval_rules", value)
|
69
|
-
|
70
|
-
@property
|
71
|
-
@pulumi.getter(name="mergeChecks")
|
72
|
-
def merge_checks(self) -> Optional[pulumi.Input['RepositorySettingMergeChecksArgs']]:
|
73
|
-
"""
|
74
|
-
(Updatable) Criteria which must be satisfied to merge a pull request.
|
75
|
-
"""
|
76
|
-
return pulumi.get(self, "merge_checks")
|
77
|
-
|
78
|
-
@merge_checks.setter
|
79
|
-
def merge_checks(self, value: Optional[pulumi.Input['RepositorySettingMergeChecksArgs']]):
|
80
|
-
pulumi.set(self, "merge_checks", value)
|
81
|
-
|
82
|
-
@property
|
83
|
-
@pulumi.getter(name="mergeSettings")
|
84
|
-
def merge_settings(self) -> Optional[pulumi.Input['RepositorySettingMergeSettingsArgs']]:
|
85
|
-
"""
|
86
|
-
(Updatable) Enabled and disabled merge strategies for a project or repository, also contains a default strategy.
|
87
|
-
"""
|
88
|
-
return pulumi.get(self, "merge_settings")
|
89
|
-
|
90
|
-
@merge_settings.setter
|
91
|
-
def merge_settings(self, value: Optional[pulumi.Input['RepositorySettingMergeSettingsArgs']]):
|
92
|
-
pulumi.set(self, "merge_settings", value)
|
93
|
-
|
94
|
-
|
95
|
-
@pulumi.input_type
|
96
|
-
class _RepositorySettingState:
|
97
|
-
def __init__(__self__, *,
|
98
|
-
approval_rules: Optional[pulumi.Input['RepositorySettingApprovalRulesArgs']] = None,
|
99
|
-
merge_checks: Optional[pulumi.Input['RepositorySettingMergeChecksArgs']] = None,
|
100
|
-
merge_settings: Optional[pulumi.Input['RepositorySettingMergeSettingsArgs']] = None,
|
101
|
-
repository_id: Optional[pulumi.Input[str]] = None):
|
102
|
-
"""
|
103
|
-
Input properties used for looking up and filtering RepositorySetting resources.
|
104
|
-
:param pulumi.Input['RepositorySettingApprovalRulesArgs'] approval_rules: (Updatable) List of approval rules which must be statisfied before pull requests which match the rules can be merged
|
105
|
-
:param pulumi.Input['RepositorySettingMergeChecksArgs'] merge_checks: (Updatable) Criteria which must be satisfied to merge a pull request.
|
106
|
-
:param pulumi.Input['RepositorySettingMergeSettingsArgs'] merge_settings: (Updatable) Enabled and disabled merge strategies for a project or repository, also contains a default strategy.
|
107
|
-
:param pulumi.Input[str] repository_id: Unique repository identifier.
|
108
|
-
|
109
|
-
|
110
|
-
** IMPORTANT **
|
111
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
112
|
-
"""
|
113
|
-
if approval_rules is not None:
|
114
|
-
pulumi.set(__self__, "approval_rules", approval_rules)
|
115
|
-
if merge_checks is not None:
|
116
|
-
pulumi.set(__self__, "merge_checks", merge_checks)
|
117
|
-
if merge_settings is not None:
|
118
|
-
pulumi.set(__self__, "merge_settings", merge_settings)
|
119
|
-
if repository_id is not None:
|
120
|
-
pulumi.set(__self__, "repository_id", repository_id)
|
121
|
-
|
122
|
-
@property
|
123
|
-
@pulumi.getter(name="approvalRules")
|
124
|
-
def approval_rules(self) -> Optional[pulumi.Input['RepositorySettingApprovalRulesArgs']]:
|
125
|
-
"""
|
126
|
-
(Updatable) List of approval rules which must be statisfied before pull requests which match the rules can be merged
|
127
|
-
"""
|
128
|
-
return pulumi.get(self, "approval_rules")
|
129
|
-
|
130
|
-
@approval_rules.setter
|
131
|
-
def approval_rules(self, value: Optional[pulumi.Input['RepositorySettingApprovalRulesArgs']]):
|
132
|
-
pulumi.set(self, "approval_rules", value)
|
133
|
-
|
134
|
-
@property
|
135
|
-
@pulumi.getter(name="mergeChecks")
|
136
|
-
def merge_checks(self) -> Optional[pulumi.Input['RepositorySettingMergeChecksArgs']]:
|
137
|
-
"""
|
138
|
-
(Updatable) Criteria which must be satisfied to merge a pull request.
|
139
|
-
"""
|
140
|
-
return pulumi.get(self, "merge_checks")
|
141
|
-
|
142
|
-
@merge_checks.setter
|
143
|
-
def merge_checks(self, value: Optional[pulumi.Input['RepositorySettingMergeChecksArgs']]):
|
144
|
-
pulumi.set(self, "merge_checks", value)
|
145
|
-
|
146
|
-
@property
|
147
|
-
@pulumi.getter(name="mergeSettings")
|
148
|
-
def merge_settings(self) -> Optional[pulumi.Input['RepositorySettingMergeSettingsArgs']]:
|
149
|
-
"""
|
150
|
-
(Updatable) Enabled and disabled merge strategies for a project or repository, also contains a default strategy.
|
151
|
-
"""
|
152
|
-
return pulumi.get(self, "merge_settings")
|
153
|
-
|
154
|
-
@merge_settings.setter
|
155
|
-
def merge_settings(self, value: Optional[pulumi.Input['RepositorySettingMergeSettingsArgs']]):
|
156
|
-
pulumi.set(self, "merge_settings", value)
|
157
|
-
|
158
|
-
@property
|
159
|
-
@pulumi.getter(name="repositoryId")
|
160
|
-
def repository_id(self) -> Optional[pulumi.Input[str]]:
|
161
|
-
"""
|
162
|
-
Unique repository identifier.
|
163
|
-
|
164
|
-
|
165
|
-
** IMPORTANT **
|
166
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
167
|
-
"""
|
168
|
-
return pulumi.get(self, "repository_id")
|
169
|
-
|
170
|
-
@repository_id.setter
|
171
|
-
def repository_id(self, value: Optional[pulumi.Input[str]]):
|
172
|
-
pulumi.set(self, "repository_id", value)
|
173
|
-
|
174
|
-
|
175
|
-
class RepositorySetting(pulumi.CustomResource):
|
176
|
-
@overload
|
177
|
-
def __init__(__self__,
|
178
|
-
resource_name: str,
|
179
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
180
|
-
approval_rules: Optional[pulumi.Input[pulumi.InputType['RepositorySettingApprovalRulesArgs']]] = None,
|
181
|
-
merge_checks: Optional[pulumi.Input[pulumi.InputType['RepositorySettingMergeChecksArgs']]] = None,
|
182
|
-
merge_settings: Optional[pulumi.Input[pulumi.InputType['RepositorySettingMergeSettingsArgs']]] = None,
|
183
|
-
repository_id: Optional[pulumi.Input[str]] = None,
|
184
|
-
__props__=None):
|
185
|
-
"""
|
186
|
-
This resource provides the Repository Setting resource in Oracle Cloud Infrastructure Devops service.
|
187
|
-
|
188
|
-
Updates the settings for a repository.
|
189
|
-
|
190
|
-
## Example Usage
|
191
|
-
|
192
|
-
```python
|
193
|
-
import pulumi
|
194
|
-
import pulumi_oci as oci
|
195
|
-
|
196
|
-
test_repository_setting = oci.dev_ops.RepositorySetting("test_repository_setting",
|
197
|
-
repository_id=test_repository["id"],
|
198
|
-
approval_rules=oci.dev_ops.RepositorySettingApprovalRulesArgs(
|
199
|
-
items=[oci.dev_ops.RepositorySettingApprovalRulesItemArgs(
|
200
|
-
min_approvals_count=repository_setting_approval_rules_items_min_approvals_count,
|
201
|
-
name=repository_setting_approval_rules_items_name,
|
202
|
-
destination_branch=repository_setting_approval_rules_items_destination_branch,
|
203
|
-
reviewers=[oci.dev_ops.RepositorySettingApprovalRulesItemReviewerArgs(
|
204
|
-
principal_id=test_principal["id"],
|
205
|
-
)],
|
206
|
-
)],
|
207
|
-
),
|
208
|
-
merge_checks=oci.dev_ops.RepositorySettingMergeChecksArgs(
|
209
|
-
last_build_succeeded=repository_setting_merge_checks_last_build_succeeded,
|
210
|
-
),
|
211
|
-
merge_settings=oci.dev_ops.RepositorySettingMergeSettingsArgs(
|
212
|
-
allowed_merge_strategies=repository_setting_merge_settings_allowed_merge_strategies,
|
213
|
-
default_merge_strategy=repository_setting_merge_settings_default_merge_strategy,
|
214
|
-
))
|
215
|
-
```
|
216
|
-
|
217
|
-
## Import
|
218
|
-
|
219
|
-
RepositorySettings can be imported using the `id`, e.g.
|
220
|
-
|
221
|
-
```sh
|
222
|
-
$ pulumi import oci:DevOps/repositorySetting:RepositorySetting test_repository_setting "repositories/{repositoryId}/repositorySettings"
|
223
|
-
```
|
224
|
-
|
225
|
-
:param str resource_name: The name of the resource.
|
226
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
227
|
-
:param pulumi.Input[pulumi.InputType['RepositorySettingApprovalRulesArgs']] approval_rules: (Updatable) List of approval rules which must be statisfied before pull requests which match the rules can be merged
|
228
|
-
:param pulumi.Input[pulumi.InputType['RepositorySettingMergeChecksArgs']] merge_checks: (Updatable) Criteria which must be satisfied to merge a pull request.
|
229
|
-
:param pulumi.Input[pulumi.InputType['RepositorySettingMergeSettingsArgs']] merge_settings: (Updatable) Enabled and disabled merge strategies for a project or repository, also contains a default strategy.
|
230
|
-
:param pulumi.Input[str] repository_id: Unique repository identifier.
|
231
|
-
|
232
|
-
|
233
|
-
** IMPORTANT **
|
234
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
235
|
-
"""
|
236
|
-
...
|
237
|
-
@overload
|
238
|
-
def __init__(__self__,
|
239
|
-
resource_name: str,
|
240
|
-
args: RepositorySettingArgs,
|
241
|
-
opts: Optional[pulumi.ResourceOptions] = None):
|
242
|
-
"""
|
243
|
-
This resource provides the Repository Setting resource in Oracle Cloud Infrastructure Devops service.
|
244
|
-
|
245
|
-
Updates the settings for a repository.
|
246
|
-
|
247
|
-
## Example Usage
|
248
|
-
|
249
|
-
```python
|
250
|
-
import pulumi
|
251
|
-
import pulumi_oci as oci
|
252
|
-
|
253
|
-
test_repository_setting = oci.dev_ops.RepositorySetting("test_repository_setting",
|
254
|
-
repository_id=test_repository["id"],
|
255
|
-
approval_rules=oci.dev_ops.RepositorySettingApprovalRulesArgs(
|
256
|
-
items=[oci.dev_ops.RepositorySettingApprovalRulesItemArgs(
|
257
|
-
min_approvals_count=repository_setting_approval_rules_items_min_approvals_count,
|
258
|
-
name=repository_setting_approval_rules_items_name,
|
259
|
-
destination_branch=repository_setting_approval_rules_items_destination_branch,
|
260
|
-
reviewers=[oci.dev_ops.RepositorySettingApprovalRulesItemReviewerArgs(
|
261
|
-
principal_id=test_principal["id"],
|
262
|
-
)],
|
263
|
-
)],
|
264
|
-
),
|
265
|
-
merge_checks=oci.dev_ops.RepositorySettingMergeChecksArgs(
|
266
|
-
last_build_succeeded=repository_setting_merge_checks_last_build_succeeded,
|
267
|
-
),
|
268
|
-
merge_settings=oci.dev_ops.RepositorySettingMergeSettingsArgs(
|
269
|
-
allowed_merge_strategies=repository_setting_merge_settings_allowed_merge_strategies,
|
270
|
-
default_merge_strategy=repository_setting_merge_settings_default_merge_strategy,
|
271
|
-
))
|
272
|
-
```
|
273
|
-
|
274
|
-
## Import
|
275
|
-
|
276
|
-
RepositorySettings can be imported using the `id`, e.g.
|
277
|
-
|
278
|
-
```sh
|
279
|
-
$ pulumi import oci:DevOps/repositorySetting:RepositorySetting test_repository_setting "repositories/{repositoryId}/repositorySettings"
|
280
|
-
```
|
281
|
-
|
282
|
-
:param str resource_name: The name of the resource.
|
283
|
-
:param RepositorySettingArgs args: The arguments to use to populate this resource's properties.
|
284
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
285
|
-
"""
|
286
|
-
...
|
287
|
-
def __init__(__self__, resource_name: str, *args, **kwargs):
|
288
|
-
resource_args, opts = _utilities.get_resource_args_opts(RepositorySettingArgs, pulumi.ResourceOptions, *args, **kwargs)
|
289
|
-
if resource_args is not None:
|
290
|
-
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
291
|
-
else:
|
292
|
-
__self__._internal_init(resource_name, *args, **kwargs)
|
293
|
-
|
294
|
-
def _internal_init(__self__,
|
295
|
-
resource_name: str,
|
296
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
297
|
-
approval_rules: Optional[pulumi.Input[pulumi.InputType['RepositorySettingApprovalRulesArgs']]] = None,
|
298
|
-
merge_checks: Optional[pulumi.Input[pulumi.InputType['RepositorySettingMergeChecksArgs']]] = None,
|
299
|
-
merge_settings: Optional[pulumi.Input[pulumi.InputType['RepositorySettingMergeSettingsArgs']]] = None,
|
300
|
-
repository_id: Optional[pulumi.Input[str]] = None,
|
301
|
-
__props__=None):
|
302
|
-
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
303
|
-
if not isinstance(opts, pulumi.ResourceOptions):
|
304
|
-
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
305
|
-
if opts.id is None:
|
306
|
-
if __props__ is not None:
|
307
|
-
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
308
|
-
__props__ = RepositorySettingArgs.__new__(RepositorySettingArgs)
|
309
|
-
|
310
|
-
__props__.__dict__["approval_rules"] = approval_rules
|
311
|
-
__props__.__dict__["merge_checks"] = merge_checks
|
312
|
-
__props__.__dict__["merge_settings"] = merge_settings
|
313
|
-
if repository_id is None and not opts.urn:
|
314
|
-
raise TypeError("Missing required property 'repository_id'")
|
315
|
-
__props__.__dict__["repository_id"] = repository_id
|
316
|
-
super(RepositorySetting, __self__).__init__(
|
317
|
-
'oci:DevOps/repositorySetting:RepositorySetting',
|
318
|
-
resource_name,
|
319
|
-
__props__,
|
320
|
-
opts)
|
321
|
-
|
322
|
-
@staticmethod
|
323
|
-
def get(resource_name: str,
|
324
|
-
id: pulumi.Input[str],
|
325
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
326
|
-
approval_rules: Optional[pulumi.Input[pulumi.InputType['RepositorySettingApprovalRulesArgs']]] = None,
|
327
|
-
merge_checks: Optional[pulumi.Input[pulumi.InputType['RepositorySettingMergeChecksArgs']]] = None,
|
328
|
-
merge_settings: Optional[pulumi.Input[pulumi.InputType['RepositorySettingMergeSettingsArgs']]] = None,
|
329
|
-
repository_id: Optional[pulumi.Input[str]] = None) -> 'RepositorySetting':
|
330
|
-
"""
|
331
|
-
Get an existing RepositorySetting resource's state with the given name, id, and optional extra
|
332
|
-
properties used to qualify the lookup.
|
333
|
-
|
334
|
-
:param str resource_name: The unique name of the resulting resource.
|
335
|
-
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
336
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
337
|
-
:param pulumi.Input[pulumi.InputType['RepositorySettingApprovalRulesArgs']] approval_rules: (Updatable) List of approval rules which must be statisfied before pull requests which match the rules can be merged
|
338
|
-
:param pulumi.Input[pulumi.InputType['RepositorySettingMergeChecksArgs']] merge_checks: (Updatable) Criteria which must be satisfied to merge a pull request.
|
339
|
-
:param pulumi.Input[pulumi.InputType['RepositorySettingMergeSettingsArgs']] merge_settings: (Updatable) Enabled and disabled merge strategies for a project or repository, also contains a default strategy.
|
340
|
-
:param pulumi.Input[str] repository_id: Unique repository identifier.
|
341
|
-
|
342
|
-
|
343
|
-
** IMPORTANT **
|
344
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
345
|
-
"""
|
346
|
-
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
347
|
-
|
348
|
-
__props__ = _RepositorySettingState.__new__(_RepositorySettingState)
|
349
|
-
|
350
|
-
__props__.__dict__["approval_rules"] = approval_rules
|
351
|
-
__props__.__dict__["merge_checks"] = merge_checks
|
352
|
-
__props__.__dict__["merge_settings"] = merge_settings
|
353
|
-
__props__.__dict__["repository_id"] = repository_id
|
354
|
-
return RepositorySetting(resource_name, opts=opts, __props__=__props__)
|
355
|
-
|
356
|
-
@property
|
357
|
-
@pulumi.getter(name="approvalRules")
|
358
|
-
def approval_rules(self) -> pulumi.Output['outputs.RepositorySettingApprovalRules']:
|
359
|
-
"""
|
360
|
-
(Updatable) List of approval rules which must be statisfied before pull requests which match the rules can be merged
|
361
|
-
"""
|
362
|
-
return pulumi.get(self, "approval_rules")
|
363
|
-
|
364
|
-
@property
|
365
|
-
@pulumi.getter(name="mergeChecks")
|
366
|
-
def merge_checks(self) -> pulumi.Output['outputs.RepositorySettingMergeChecks']:
|
367
|
-
"""
|
368
|
-
(Updatable) Criteria which must be satisfied to merge a pull request.
|
369
|
-
"""
|
370
|
-
return pulumi.get(self, "merge_checks")
|
371
|
-
|
372
|
-
@property
|
373
|
-
@pulumi.getter(name="mergeSettings")
|
374
|
-
def merge_settings(self) -> pulumi.Output['outputs.RepositorySettingMergeSettings']:
|
375
|
-
"""
|
376
|
-
(Updatable) Enabled and disabled merge strategies for a project or repository, also contains a default strategy.
|
377
|
-
"""
|
378
|
-
return pulumi.get(self, "merge_settings")
|
379
|
-
|
380
|
-
@property
|
381
|
-
@pulumi.getter(name="repositoryId")
|
382
|
-
def repository_id(self) -> pulumi.Output[str]:
|
383
|
-
"""
|
384
|
-
Unique repository identifier.
|
385
|
-
|
386
|
-
|
387
|
-
** IMPORTANT **
|
388
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
389
|
-
"""
|
390
|
-
return pulumi.get(self, "repository_id")
|
391
|
-
|
@@ -1,190 +0,0 @@
|
|
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
|
-
'GetAgentInstallersResult',
|
16
|
-
'AwaitableGetAgentInstallersResult',
|
17
|
-
'get_agent_installers',
|
18
|
-
'get_agent_installers_output',
|
19
|
-
]
|
20
|
-
|
21
|
-
@pulumi.output_type
|
22
|
-
class GetAgentInstallersResult:
|
23
|
-
"""
|
24
|
-
A collection of values returned by getAgentInstallers.
|
25
|
-
"""
|
26
|
-
def __init__(__self__, agent_installer_collections=None, compartment_id=None, filters=None, fleet_id=None, id=None, os_family=None, platform_architecture=None):
|
27
|
-
if agent_installer_collections and not isinstance(agent_installer_collections, list):
|
28
|
-
raise TypeError("Expected argument 'agent_installer_collections' to be a list")
|
29
|
-
pulumi.set(__self__, "agent_installer_collections", agent_installer_collections)
|
30
|
-
if compartment_id and not isinstance(compartment_id, str):
|
31
|
-
raise TypeError("Expected argument 'compartment_id' to be a str")
|
32
|
-
pulumi.set(__self__, "compartment_id", compartment_id)
|
33
|
-
if filters and not isinstance(filters, list):
|
34
|
-
raise TypeError("Expected argument 'filters' to be a list")
|
35
|
-
pulumi.set(__self__, "filters", filters)
|
36
|
-
if fleet_id and not isinstance(fleet_id, str):
|
37
|
-
raise TypeError("Expected argument 'fleet_id' to be a str")
|
38
|
-
pulumi.set(__self__, "fleet_id", fleet_id)
|
39
|
-
if id and not isinstance(id, str):
|
40
|
-
raise TypeError("Expected argument 'id' to be a str")
|
41
|
-
pulumi.set(__self__, "id", id)
|
42
|
-
if os_family and not isinstance(os_family, str):
|
43
|
-
raise TypeError("Expected argument 'os_family' to be a str")
|
44
|
-
pulumi.set(__self__, "os_family", os_family)
|
45
|
-
if platform_architecture and not isinstance(platform_architecture, str):
|
46
|
-
raise TypeError("Expected argument 'platform_architecture' to be a str")
|
47
|
-
pulumi.set(__self__, "platform_architecture", platform_architecture)
|
48
|
-
|
49
|
-
@property
|
50
|
-
@pulumi.getter(name="agentInstallerCollections")
|
51
|
-
def agent_installer_collections(self) -> Sequence['outputs.GetAgentInstallersAgentInstallerCollectionResult']:
|
52
|
-
"""
|
53
|
-
The list of agent_installer_collection.
|
54
|
-
"""
|
55
|
-
return pulumi.get(self, "agent_installer_collections")
|
56
|
-
|
57
|
-
@property
|
58
|
-
@pulumi.getter(name="compartmentId")
|
59
|
-
def compartment_id(self) -> Optional[str]:
|
60
|
-
return pulumi.get(self, "compartment_id")
|
61
|
-
|
62
|
-
@property
|
63
|
-
@pulumi.getter
|
64
|
-
def filters(self) -> Optional[Sequence['outputs.GetAgentInstallersFilterResult']]:
|
65
|
-
return pulumi.get(self, "filters")
|
66
|
-
|
67
|
-
@property
|
68
|
-
@pulumi.getter(name="fleetId")
|
69
|
-
def fleet_id(self) -> Optional[str]:
|
70
|
-
return pulumi.get(self, "fleet_id")
|
71
|
-
|
72
|
-
@property
|
73
|
-
@pulumi.getter
|
74
|
-
def id(self) -> str:
|
75
|
-
"""
|
76
|
-
The provider-assigned unique ID for this managed resource.
|
77
|
-
"""
|
78
|
-
return pulumi.get(self, "id")
|
79
|
-
|
80
|
-
@property
|
81
|
-
@pulumi.getter(name="osFamily")
|
82
|
-
def os_family(self) -> Optional[str]:
|
83
|
-
"""
|
84
|
-
The target operating system family for the agent installer.
|
85
|
-
"""
|
86
|
-
return pulumi.get(self, "os_family")
|
87
|
-
|
88
|
-
@property
|
89
|
-
@pulumi.getter(name="platformArchitecture")
|
90
|
-
def platform_architecture(self) -> Optional[str]:
|
91
|
-
"""
|
92
|
-
The target operating system architecture for the installer.
|
93
|
-
"""
|
94
|
-
return pulumi.get(self, "platform_architecture")
|
95
|
-
|
96
|
-
|
97
|
-
class AwaitableGetAgentInstallersResult(GetAgentInstallersResult):
|
98
|
-
# pylint: disable=using-constant-test
|
99
|
-
def __await__(self):
|
100
|
-
if False:
|
101
|
-
yield self
|
102
|
-
return GetAgentInstallersResult(
|
103
|
-
agent_installer_collections=self.agent_installer_collections,
|
104
|
-
compartment_id=self.compartment_id,
|
105
|
-
filters=self.filters,
|
106
|
-
fleet_id=self.fleet_id,
|
107
|
-
id=self.id,
|
108
|
-
os_family=self.os_family,
|
109
|
-
platform_architecture=self.platform_architecture)
|
110
|
-
|
111
|
-
|
112
|
-
def get_agent_installers(compartment_id: Optional[str] = None,
|
113
|
-
filters: Optional[Sequence[pulumi.InputType['GetAgentInstallersFilterArgs']]] = None,
|
114
|
-
fleet_id: Optional[str] = None,
|
115
|
-
os_family: Optional[str] = None,
|
116
|
-
platform_architecture: Optional[str] = None,
|
117
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAgentInstallersResult:
|
118
|
-
"""
|
119
|
-
This data source provides the list of Agent Installers in Oracle Cloud Infrastructure Jms service.
|
120
|
-
|
121
|
-
Returns a list of the agent installer information.
|
122
|
-
|
123
|
-
## Example Usage
|
124
|
-
|
125
|
-
```python
|
126
|
-
import pulumi
|
127
|
-
import pulumi_oci as oci
|
128
|
-
|
129
|
-
test_agent_installers = oci.Jms.get_agent_installers(compartment_id=compartment_id,
|
130
|
-
fleet_id=test_fleet["id"],
|
131
|
-
os_family=agent_installer_os_family,
|
132
|
-
platform_architecture=agent_installer_platform_architecture)
|
133
|
-
```
|
134
|
-
|
135
|
-
|
136
|
-
:param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
|
137
|
-
:param str fleet_id: The ID of the Fleet.
|
138
|
-
:param str os_family: The OS family for the agent installer.
|
139
|
-
:param str platform_architecture: The platform architecture for the agent installer.
|
140
|
-
"""
|
141
|
-
__args__ = dict()
|
142
|
-
__args__['compartmentId'] = compartment_id
|
143
|
-
__args__['filters'] = filters
|
144
|
-
__args__['fleetId'] = fleet_id
|
145
|
-
__args__['osFamily'] = os_family
|
146
|
-
__args__['platformArchitecture'] = platform_architecture
|
147
|
-
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
148
|
-
__ret__ = pulumi.runtime.invoke('oci:Jms/getAgentInstallers:getAgentInstallers', __args__, opts=opts, typ=GetAgentInstallersResult).value
|
149
|
-
|
150
|
-
return AwaitableGetAgentInstallersResult(
|
151
|
-
agent_installer_collections=pulumi.get(__ret__, 'agent_installer_collections'),
|
152
|
-
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
153
|
-
filters=pulumi.get(__ret__, 'filters'),
|
154
|
-
fleet_id=pulumi.get(__ret__, 'fleet_id'),
|
155
|
-
id=pulumi.get(__ret__, 'id'),
|
156
|
-
os_family=pulumi.get(__ret__, 'os_family'),
|
157
|
-
platform_architecture=pulumi.get(__ret__, 'platform_architecture'))
|
158
|
-
|
159
|
-
|
160
|
-
@_utilities.lift_output_func(get_agent_installers)
|
161
|
-
def get_agent_installers_output(compartment_id: Optional[pulumi.Input[Optional[str]]] = None,
|
162
|
-
filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetAgentInstallersFilterArgs']]]]] = None,
|
163
|
-
fleet_id: Optional[pulumi.Input[Optional[str]]] = None,
|
164
|
-
os_family: Optional[pulumi.Input[Optional[str]]] = None,
|
165
|
-
platform_architecture: Optional[pulumi.Input[Optional[str]]] = None,
|
166
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAgentInstallersResult]:
|
167
|
-
"""
|
168
|
-
This data source provides the list of Agent Installers in Oracle Cloud Infrastructure Jms service.
|
169
|
-
|
170
|
-
Returns a list of the agent installer information.
|
171
|
-
|
172
|
-
## Example Usage
|
173
|
-
|
174
|
-
```python
|
175
|
-
import pulumi
|
176
|
-
import pulumi_oci as oci
|
177
|
-
|
178
|
-
test_agent_installers = oci.Jms.get_agent_installers(compartment_id=compartment_id,
|
179
|
-
fleet_id=test_fleet["id"],
|
180
|
-
os_family=agent_installer_os_family,
|
181
|
-
platform_architecture=agent_installer_platform_architecture)
|
182
|
-
```
|
183
|
-
|
184
|
-
|
185
|
-
:param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
|
186
|
-
:param str fleet_id: The ID of the Fleet.
|
187
|
-
:param str os_family: The OS family for the agent installer.
|
188
|
-
:param str platform_architecture: The platform architecture for the agent installer.
|
189
|
-
"""
|
190
|
-
...
|