pulumi-oci 2.5.0a1722062014__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.
- pulumi_oci/__init__.py +91 -32
- pulumi_oci/bigdataservice/_inputs.py +157 -14
- pulumi_oci/bigdataservice/bds_instance.py +175 -0
- pulumi_oci/bigdataservice/bds_instance_patch_action.py +64 -3
- pulumi_oci/bigdataservice/get_bds_instance.py +41 -1
- pulumi_oci/bigdataservice/outputs.py +264 -30
- pulumi_oci/core/__init__.py +3 -0
- pulumi_oci/core/_inputs.py +40 -0
- pulumi_oci/core/get_instance_maintenance_event.py +414 -0
- pulumi_oci/core/get_instance_maintenance_events.py +250 -0
- pulumi_oci/core/instance_maintenance_event.py +1022 -0
- pulumi_oci/core/outputs.py +314 -0
- pulumi_oci/database/autonomous_database.py +28 -0
- pulumi_oci/database/get_autonomous_database.py +14 -1
- pulumi_oci/database/outputs.py +22 -0
- pulumi_oci/databasemigration/_inputs.py +184 -0
- pulumi_oci/databasemigration/job.py +99 -24
- pulumi_oci/databasemigration/outputs.py +171 -0
- pulumi_oci/datasafe/__init__.py +2 -4
- pulumi_oci/datasafe/_inputs.py +55 -0
- pulumi_oci/datasafe/alert.py +56 -0
- pulumi_oci/datasafe/alert_policy.py +745 -0
- pulumi_oci/datasafe/alert_policy_rule.py +446 -0
- pulumi_oci/datasafe/get_alert.py +27 -1
- pulumi_oci/datasafe/get_alert_policy.py +26 -2
- pulumi_oci/datasafe/get_alert_policy_rule.py +94 -18
- pulumi_oci/datasafe/get_report.py +14 -1
- pulumi_oci/datasafe/get_report_definition.py +14 -1
- pulumi_oci/datasafe/get_target_alert_policy_association.py +15 -2
- pulumi_oci/datasafe/outputs.py +231 -27
- pulumi_oci/datasafe/report.py +28 -0
- pulumi_oci/datasafe/report_definition.py +28 -0
- pulumi_oci/datasafe/target_alert_policy_association.py +28 -0
- pulumi_oci/devops/__init__.py +6 -0
- pulumi_oci/devops/_inputs.py +531 -32
- pulumi_oci/devops/get_build_runs.py +0 -5
- pulumi_oci/devops/get_project_repository_setting.py +129 -0
- pulumi_oci/devops/get_repositories.py +1 -1
- pulumi_oci/devops/get_repository.py +17 -4
- pulumi_oci/devops/get_repository_diffs.py +20 -3
- pulumi_oci/devops/get_repository_protected_branches.py +150 -0
- pulumi_oci/devops/get_repository_ref.py +2 -2
- pulumi_oci/devops/get_repository_setting.py +142 -0
- pulumi_oci/devops/get_triggers.py +0 -5
- pulumi_oci/devops/outputs.py +1216 -180
- pulumi_oci/devops/project_repository_setting.py +338 -0
- pulumi_oci/devops/repository.py +66 -75
- pulumi_oci/devops/repository_protected_branch_management.py +333 -0
- pulumi_oci/devops/repository_ref.py +2 -2
- pulumi_oci/devops/repository_setting.py +391 -0
- pulumi_oci/fleetsoftwareupdate/__init__.py +15 -0
- pulumi_oci/fleetsoftwareupdate/_inputs.py +553 -0
- pulumi_oci/fleetsoftwareupdate/fsu_collection.py +514 -0
- pulumi_oci/fleetsoftwareupdate/fsu_cycle.py +812 -0
- pulumi_oci/fleetsoftwareupdate/get_fsu_collection.py +225 -0
- pulumi_oci/fleetsoftwareupdate/get_fsu_collections.py +141 -0
- pulumi_oci/fleetsoftwareupdate/get_fsu_cycle.py +325 -0
- pulumi_oci/fleetsoftwareupdate/get_fsu_cycles.py +167 -0
- pulumi_oci/fleetsoftwareupdate/outputs.py +1481 -0
- pulumi_oci/generativeai/get_dedicated_ai_cluster.py +3 -0
- pulumi_oci/generativeai/get_dedicated_ai_clusters.py +3 -0
- pulumi_oci/generativeai/get_endpoint.py +6 -9
- pulumi_oci/generativeai/get_endpoints.py +3 -3
- pulumi_oci/generativeai/get_model.py +36 -6
- pulumi_oci/generativeai/get_models.py +6 -0
- pulumi_oci/generativeai/outputs.py +228 -16
- pulumi_oci/identity/__init__.py +3 -0
- pulumi_oci/identity/_inputs.py +1029 -0
- pulumi_oci/identity/domains_social_identity_provider.py +4628 -0
- pulumi_oci/identity/get_domains_social_identity_provider.py +664 -0
- pulumi_oci/identity/get_domains_social_identity_providers.py +276 -0
- pulumi_oci/identity/outputs.py +19544 -17378
- pulumi_oci/jms/__init__.py +4 -0
- pulumi_oci/jms/_inputs.py +80 -0
- pulumi_oci/jms/get_agent_installers.py +190 -0
- pulumi_oci/jms/get_fleet_blocklists.py +2 -2
- pulumi_oci/jms/get_fleet_crypto_analysis_result.py +29 -3
- pulumi_oci/jms/get_fleet_crypto_analysis_results.py +97 -3
- 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 +45 -5
- pulumi_oci/jms/get_fleet_performance_tuning_analysis_result.py +4 -4
- pulumi_oci/jms/get_fleet_performance_tuning_analysis_results.py +25 -5
- 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 +14 -1
- pulumi_oci/jms/get_jms_plugin.py +313 -0
- pulumi_oci/jms/get_jms_plugins.py +291 -0
- pulumi_oci/jms/jms_plugin.py +731 -0
- pulumi_oci/jms/outputs.py +488 -32
- pulumi_oci/networkfirewall/__init__.py +3 -0
- pulumi_oci/networkfirewall/_inputs.py +150 -0
- pulumi_oci/networkfirewall/get_network_firewall_policy_tunnel_inspection_rule.py +227 -0
- pulumi_oci/networkfirewall/get_network_firewall_policy_tunnel_inspection_rules.py +167 -0
- pulumi_oci/networkfirewall/network_firewall_policy_tunnel_inspection_rule.py +605 -0
- pulumi_oci/networkfirewall/outputs.py +457 -0
- pulumi_oci/osmanagementhub/get_software_source.py +19 -1
- pulumi_oci/osmanagementhub/software_source.py +82 -0
- pulumi_oci/psql/_inputs.py +8 -4
- pulumi_oci/psql/backup.py +4 -4
- pulumi_oci/psql/configuration.py +141 -38
- pulumi_oci/psql/db_system.py +53 -55
- pulumi_oci/psql/get_backup.py +1 -1
- pulumi_oci/psql/get_configuration.py +27 -1
- pulumi_oci/psql/get_configurations.py +2 -2
- pulumi_oci/psql/get_default_configuration.py +15 -2
- pulumi_oci/psql/get_default_configurations.py +2 -2
- pulumi_oci/psql/outputs.py +176 -13
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/redis/get_redis_cluster.py +1 -1
- pulumi_oci/redis/outputs.py +2 -2
- pulumi_oci/redis/redis_cluster.py +7 -7
- pulumi_oci/stackmonitoring/_inputs.py +2 -2
- pulumi_oci/stackmonitoring/baselineable_metric.py +76 -28
- pulumi_oci/stackmonitoring/get_baselineable_metric.py +14 -1
- pulumi_oci/stackmonitoring/get_baselineable_metrics.py +45 -5
- pulumi_oci/stackmonitoring/outputs.py +19 -8
- {pulumi_oci-2.5.0a1722062014.dist-info → pulumi_oci-2.6.0.dist-info}/METADATA +1 -1
- {pulumi_oci-2.5.0a1722062014.dist-info → pulumi_oci-2.6.0.dist-info}/RECORD +125 -99
- {pulumi_oci-2.5.0a1722062014.dist-info → pulumi_oci-2.6.0.dist-info}/WHEEL +1 -1
- pulumi_oci/datasafe/masking_policy_health_report_management.py +0 -453
- pulumi_oci/datasafe/masking_report_management.py +0 -693
- pulumi_oci/datasafe/set_security_assessment_baseline_management.py +0 -304
- pulumi_oci/datasafe/set_user_assessment_baseline_management.py +0 -304
- {pulumi_oci-2.5.0a1722062014.dist-info → pulumi_oci-2.6.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,333 @@
|
|
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
|
+
|
12
|
+
__all__ = ['RepositoryProtectedBranchManagementArgs', 'RepositoryProtectedBranchManagement']
|
13
|
+
|
14
|
+
@pulumi.input_type
|
15
|
+
class RepositoryProtectedBranchManagementArgs:
|
16
|
+
def __init__(__self__, *,
|
17
|
+
branch_name: pulumi.Input[str],
|
18
|
+
repository_id: pulumi.Input[str],
|
19
|
+
protection_levels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
20
|
+
"""
|
21
|
+
The set of arguments for constructing a RepositoryProtectedBranchManagement resource.
|
22
|
+
:param pulumi.Input[str] branch_name: Name of a branch to protect.
|
23
|
+
:param pulumi.Input[str] repository_id: Unique repository identifier.
|
24
|
+
|
25
|
+
|
26
|
+
** IMPORTANT **
|
27
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
28
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] protection_levels: Level of protection to add on a branch.
|
29
|
+
"""
|
30
|
+
pulumi.set(__self__, "branch_name", branch_name)
|
31
|
+
pulumi.set(__self__, "repository_id", repository_id)
|
32
|
+
if protection_levels is not None:
|
33
|
+
pulumi.set(__self__, "protection_levels", protection_levels)
|
34
|
+
|
35
|
+
@property
|
36
|
+
@pulumi.getter(name="branchName")
|
37
|
+
def branch_name(self) -> pulumi.Input[str]:
|
38
|
+
"""
|
39
|
+
Name of a branch to protect.
|
40
|
+
"""
|
41
|
+
return pulumi.get(self, "branch_name")
|
42
|
+
|
43
|
+
@branch_name.setter
|
44
|
+
def branch_name(self, value: pulumi.Input[str]):
|
45
|
+
pulumi.set(self, "branch_name", value)
|
46
|
+
|
47
|
+
@property
|
48
|
+
@pulumi.getter(name="repositoryId")
|
49
|
+
def repository_id(self) -> pulumi.Input[str]:
|
50
|
+
"""
|
51
|
+
Unique repository identifier.
|
52
|
+
|
53
|
+
|
54
|
+
** IMPORTANT **
|
55
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
56
|
+
"""
|
57
|
+
return pulumi.get(self, "repository_id")
|
58
|
+
|
59
|
+
@repository_id.setter
|
60
|
+
def repository_id(self, value: pulumi.Input[str]):
|
61
|
+
pulumi.set(self, "repository_id", value)
|
62
|
+
|
63
|
+
@property
|
64
|
+
@pulumi.getter(name="protectionLevels")
|
65
|
+
def protection_levels(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
66
|
+
"""
|
67
|
+
Level of protection to add on a branch.
|
68
|
+
"""
|
69
|
+
return pulumi.get(self, "protection_levels")
|
70
|
+
|
71
|
+
@protection_levels.setter
|
72
|
+
def protection_levels(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
73
|
+
pulumi.set(self, "protection_levels", value)
|
74
|
+
|
75
|
+
|
76
|
+
@pulumi.input_type
|
77
|
+
class _RepositoryProtectedBranchManagementState:
|
78
|
+
def __init__(__self__, *,
|
79
|
+
branch_name: Optional[pulumi.Input[str]] = None,
|
80
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
81
|
+
protection_levels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
82
|
+
repository_id: Optional[pulumi.Input[str]] = None):
|
83
|
+
"""
|
84
|
+
Input properties used for looking up and filtering RepositoryProtectedBranchManagement resources.
|
85
|
+
:param pulumi.Input[str] branch_name: Name of a branch to protect.
|
86
|
+
:param pulumi.Input[Mapping[str, Any]] freeform_tags: Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}`
|
87
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] protection_levels: Level of protection to add on a branch.
|
88
|
+
:param pulumi.Input[str] repository_id: Unique repository identifier.
|
89
|
+
|
90
|
+
|
91
|
+
** IMPORTANT **
|
92
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
93
|
+
"""
|
94
|
+
if branch_name is not None:
|
95
|
+
pulumi.set(__self__, "branch_name", branch_name)
|
96
|
+
if freeform_tags is not None:
|
97
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
98
|
+
if protection_levels is not None:
|
99
|
+
pulumi.set(__self__, "protection_levels", protection_levels)
|
100
|
+
if repository_id is not None:
|
101
|
+
pulumi.set(__self__, "repository_id", repository_id)
|
102
|
+
|
103
|
+
@property
|
104
|
+
@pulumi.getter(name="branchName")
|
105
|
+
def branch_name(self) -> Optional[pulumi.Input[str]]:
|
106
|
+
"""
|
107
|
+
Name of a branch to protect.
|
108
|
+
"""
|
109
|
+
return pulumi.get(self, "branch_name")
|
110
|
+
|
111
|
+
@branch_name.setter
|
112
|
+
def branch_name(self, value: Optional[pulumi.Input[str]]):
|
113
|
+
pulumi.set(self, "branch_name", value)
|
114
|
+
|
115
|
+
@property
|
116
|
+
@pulumi.getter(name="freeformTags")
|
117
|
+
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
118
|
+
"""
|
119
|
+
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}`
|
120
|
+
"""
|
121
|
+
return pulumi.get(self, "freeform_tags")
|
122
|
+
|
123
|
+
@freeform_tags.setter
|
124
|
+
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
125
|
+
pulumi.set(self, "freeform_tags", value)
|
126
|
+
|
127
|
+
@property
|
128
|
+
@pulumi.getter(name="protectionLevels")
|
129
|
+
def protection_levels(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
130
|
+
"""
|
131
|
+
Level of protection to add on a branch.
|
132
|
+
"""
|
133
|
+
return pulumi.get(self, "protection_levels")
|
134
|
+
|
135
|
+
@protection_levels.setter
|
136
|
+
def protection_levels(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
137
|
+
pulumi.set(self, "protection_levels", value)
|
138
|
+
|
139
|
+
@property
|
140
|
+
@pulumi.getter(name="repositoryId")
|
141
|
+
def repository_id(self) -> Optional[pulumi.Input[str]]:
|
142
|
+
"""
|
143
|
+
Unique repository identifier.
|
144
|
+
|
145
|
+
|
146
|
+
** IMPORTANT **
|
147
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
148
|
+
"""
|
149
|
+
return pulumi.get(self, "repository_id")
|
150
|
+
|
151
|
+
@repository_id.setter
|
152
|
+
def repository_id(self, value: Optional[pulumi.Input[str]]):
|
153
|
+
pulumi.set(self, "repository_id", value)
|
154
|
+
|
155
|
+
|
156
|
+
class RepositoryProtectedBranchManagement(pulumi.CustomResource):
|
157
|
+
@overload
|
158
|
+
def __init__(__self__,
|
159
|
+
resource_name: str,
|
160
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
161
|
+
branch_name: Optional[pulumi.Input[str]] = None,
|
162
|
+
protection_levels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
163
|
+
repository_id: Optional[pulumi.Input[str]] = None,
|
164
|
+
__props__=None):
|
165
|
+
"""
|
166
|
+
This resource provides the Repository Protected Branch Management resource in Oracle Cloud Infrastructure Devops service.
|
167
|
+
|
168
|
+
Creates a restriction on a branch that prevents certain actions on it.
|
169
|
+
|
170
|
+
## Example Usage
|
171
|
+
|
172
|
+
```python
|
173
|
+
import pulumi
|
174
|
+
import pulumi_oci as oci
|
175
|
+
|
176
|
+
test_repository_protected_branch_management = oci.dev_ops.RepositoryProtectedBranchManagement("test_repository_protected_branch_management",
|
177
|
+
branch_name=repository_protected_branch_management_branch_name,
|
178
|
+
repository_id=test_repository["id"],
|
179
|
+
protection_levels=repository_protected_branch_management_protection_levels)
|
180
|
+
```
|
181
|
+
|
182
|
+
## Import
|
183
|
+
|
184
|
+
Import is not supported for this resource.
|
185
|
+
|
186
|
+
:param str resource_name: The name of the resource.
|
187
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
188
|
+
:param pulumi.Input[str] branch_name: Name of a branch to protect.
|
189
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] protection_levels: Level of protection to add on a branch.
|
190
|
+
:param pulumi.Input[str] repository_id: Unique repository identifier.
|
191
|
+
|
192
|
+
|
193
|
+
** IMPORTANT **
|
194
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
195
|
+
"""
|
196
|
+
...
|
197
|
+
@overload
|
198
|
+
def __init__(__self__,
|
199
|
+
resource_name: str,
|
200
|
+
args: RepositoryProtectedBranchManagementArgs,
|
201
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
202
|
+
"""
|
203
|
+
This resource provides the Repository Protected Branch Management resource in Oracle Cloud Infrastructure Devops service.
|
204
|
+
|
205
|
+
Creates a restriction on a branch that prevents certain actions on it.
|
206
|
+
|
207
|
+
## Example Usage
|
208
|
+
|
209
|
+
```python
|
210
|
+
import pulumi
|
211
|
+
import pulumi_oci as oci
|
212
|
+
|
213
|
+
test_repository_protected_branch_management = oci.dev_ops.RepositoryProtectedBranchManagement("test_repository_protected_branch_management",
|
214
|
+
branch_name=repository_protected_branch_management_branch_name,
|
215
|
+
repository_id=test_repository["id"],
|
216
|
+
protection_levels=repository_protected_branch_management_protection_levels)
|
217
|
+
```
|
218
|
+
|
219
|
+
## Import
|
220
|
+
|
221
|
+
Import is not supported for this resource.
|
222
|
+
|
223
|
+
:param str resource_name: The name of the resource.
|
224
|
+
:param RepositoryProtectedBranchManagementArgs args: The arguments to use to populate this resource's properties.
|
225
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
226
|
+
"""
|
227
|
+
...
|
228
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
229
|
+
resource_args, opts = _utilities.get_resource_args_opts(RepositoryProtectedBranchManagementArgs, pulumi.ResourceOptions, *args, **kwargs)
|
230
|
+
if resource_args is not None:
|
231
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
232
|
+
else:
|
233
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
234
|
+
|
235
|
+
def _internal_init(__self__,
|
236
|
+
resource_name: str,
|
237
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
238
|
+
branch_name: Optional[pulumi.Input[str]] = None,
|
239
|
+
protection_levels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
240
|
+
repository_id: Optional[pulumi.Input[str]] = None,
|
241
|
+
__props__=None):
|
242
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
243
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
244
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
245
|
+
if opts.id is None:
|
246
|
+
if __props__ is not None:
|
247
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
248
|
+
__props__ = RepositoryProtectedBranchManagementArgs.__new__(RepositoryProtectedBranchManagementArgs)
|
249
|
+
|
250
|
+
if branch_name is None and not opts.urn:
|
251
|
+
raise TypeError("Missing required property 'branch_name'")
|
252
|
+
__props__.__dict__["branch_name"] = branch_name
|
253
|
+
__props__.__dict__["protection_levels"] = protection_levels
|
254
|
+
if repository_id is None and not opts.urn:
|
255
|
+
raise TypeError("Missing required property 'repository_id'")
|
256
|
+
__props__.__dict__["repository_id"] = repository_id
|
257
|
+
__props__.__dict__["freeform_tags"] = None
|
258
|
+
super(RepositoryProtectedBranchManagement, __self__).__init__(
|
259
|
+
'oci:DevOps/repositoryProtectedBranchManagement:RepositoryProtectedBranchManagement',
|
260
|
+
resource_name,
|
261
|
+
__props__,
|
262
|
+
opts)
|
263
|
+
|
264
|
+
@staticmethod
|
265
|
+
def get(resource_name: str,
|
266
|
+
id: pulumi.Input[str],
|
267
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
268
|
+
branch_name: Optional[pulumi.Input[str]] = None,
|
269
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
270
|
+
protection_levels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
271
|
+
repository_id: Optional[pulumi.Input[str]] = None) -> 'RepositoryProtectedBranchManagement':
|
272
|
+
"""
|
273
|
+
Get an existing RepositoryProtectedBranchManagement resource's state with the given name, id, and optional extra
|
274
|
+
properties used to qualify the lookup.
|
275
|
+
|
276
|
+
:param str resource_name: The unique name of the resulting resource.
|
277
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
278
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
279
|
+
:param pulumi.Input[str] branch_name: Name of a branch to protect.
|
280
|
+
:param pulumi.Input[Mapping[str, Any]] freeform_tags: Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}`
|
281
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] protection_levels: Level of protection to add on a branch.
|
282
|
+
:param pulumi.Input[str] repository_id: Unique repository identifier.
|
283
|
+
|
284
|
+
|
285
|
+
** IMPORTANT **
|
286
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
287
|
+
"""
|
288
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
289
|
+
|
290
|
+
__props__ = _RepositoryProtectedBranchManagementState.__new__(_RepositoryProtectedBranchManagementState)
|
291
|
+
|
292
|
+
__props__.__dict__["branch_name"] = branch_name
|
293
|
+
__props__.__dict__["freeform_tags"] = freeform_tags
|
294
|
+
__props__.__dict__["protection_levels"] = protection_levels
|
295
|
+
__props__.__dict__["repository_id"] = repository_id
|
296
|
+
return RepositoryProtectedBranchManagement(resource_name, opts=opts, __props__=__props__)
|
297
|
+
|
298
|
+
@property
|
299
|
+
@pulumi.getter(name="branchName")
|
300
|
+
def branch_name(self) -> pulumi.Output[str]:
|
301
|
+
"""
|
302
|
+
Name of a branch to protect.
|
303
|
+
"""
|
304
|
+
return pulumi.get(self, "branch_name")
|
305
|
+
|
306
|
+
@property
|
307
|
+
@pulumi.getter(name="freeformTags")
|
308
|
+
def freeform_tags(self) -> pulumi.Output[Mapping[str, Any]]:
|
309
|
+
"""
|
310
|
+
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}`
|
311
|
+
"""
|
312
|
+
return pulumi.get(self, "freeform_tags")
|
313
|
+
|
314
|
+
@property
|
315
|
+
@pulumi.getter(name="protectionLevels")
|
316
|
+
def protection_levels(self) -> pulumi.Output[Sequence[str]]:
|
317
|
+
"""
|
318
|
+
Level of protection to add on a branch.
|
319
|
+
"""
|
320
|
+
return pulumi.get(self, "protection_levels")
|
321
|
+
|
322
|
+
@property
|
323
|
+
@pulumi.getter(name="repositoryId")
|
324
|
+
def repository_id(self) -> pulumi.Output[str]:
|
325
|
+
"""
|
326
|
+
Unique repository identifier.
|
327
|
+
|
328
|
+
|
329
|
+
** IMPORTANT **
|
330
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
331
|
+
"""
|
332
|
+
return pulumi.get(self, "repository_id")
|
333
|
+
|
@@ -262,7 +262,7 @@ class RepositoryRef(pulumi.CustomResource):
|
|
262
262
|
"""
|
263
263
|
This resource provides the Repository Ref resource in Oracle Cloud Infrastructure Devops service.
|
264
264
|
|
265
|
-
Creates a new reference or updates an existing one.
|
265
|
+
Creates a new reference or updates an existing one. 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}/actions/createOrUpdateGitRef"
|
266
266
|
|
267
267
|
## Example Usage
|
268
268
|
|
@@ -307,7 +307,7 @@ class RepositoryRef(pulumi.CustomResource):
|
|
307
307
|
"""
|
308
308
|
This resource provides the Repository Ref resource in Oracle Cloud Infrastructure Devops service.
|
309
309
|
|
310
|
-
Creates a new reference or updates an existing one.
|
310
|
+
Creates a new reference or updates an existing one. 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}/actions/createOrUpdateGitRef"
|
311
311
|
|
312
312
|
## Example Usage
|
313
313
|
|