pulumi-oci 2.5.0__py3-none-any.whl → 2.5.0a1721976101__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 +32 -59
- pulumi_oci/bigdataservice/bds_instance.py +0 -47
- pulumi_oci/bigdataservice/get_bds_instance.py +1 -11
- pulumi_oci/bigdataservice/outputs.py +0 -7
- pulumi_oci/core/__init__.py +0 -3
- pulumi_oci/core/_inputs.py +0 -40
- pulumi_oci/core/outputs.py +0 -314
- pulumi_oci/database/autonomous_database.py +0 -28
- pulumi_oci/database/get_autonomous_database.py +1 -14
- pulumi_oci/database/outputs.py +0 -22
- pulumi_oci/databasemigration/_inputs.py +0 -184
- pulumi_oci/databasemigration/job.py +24 -99
- pulumi_oci/databasemigration/outputs.py +0 -171
- pulumi_oci/datasafe/__init__.py +4 -2
- pulumi_oci/datasafe/_inputs.py +0 -55
- pulumi_oci/datasafe/alert.py +0 -56
- pulumi_oci/datasafe/get_alert.py +1 -27
- pulumi_oci/datasafe/get_alert_policy.py +2 -26
- pulumi_oci/datasafe/get_alert_policy_rule.py +18 -94
- pulumi_oci/datasafe/get_report.py +1 -14
- pulumi_oci/datasafe/get_report_definition.py +1 -14
- pulumi_oci/datasafe/get_target_alert_policy_association.py +2 -15
- pulumi_oci/datasafe/masking_policy_health_report_management.py +453 -0
- pulumi_oci/datasafe/masking_report_management.py +693 -0
- pulumi_oci/datasafe/outputs.py +27 -231
- pulumi_oci/datasafe/report.py +0 -28
- pulumi_oci/datasafe/report_definition.py +0 -28
- pulumi_oci/datasafe/set_security_assessment_baseline_management.py +304 -0
- pulumi_oci/datasafe/set_user_assessment_baseline_management.py +304 -0
- pulumi_oci/datasafe/target_alert_policy_association.py +0 -28
- pulumi_oci/generativeai/get_dedicated_ai_cluster.py +0 -3
- pulumi_oci/generativeai/get_dedicated_ai_clusters.py +0 -3
- pulumi_oci/generativeai/get_endpoint.py +9 -6
- pulumi_oci/generativeai/get_endpoints.py +3 -3
- pulumi_oci/generativeai/get_model.py +6 -36
- pulumi_oci/generativeai/get_models.py +0 -6
- pulumi_oci/generativeai/outputs.py +16 -228
- pulumi_oci/identity/__init__.py +0 -3
- pulumi_oci/identity/_inputs.py +0 -1029
- pulumi_oci/identity/outputs.py +27254 -29420
- pulumi_oci/networkfirewall/__init__.py +0 -3
- pulumi_oci/networkfirewall/_inputs.py +0 -150
- pulumi_oci/networkfirewall/outputs.py +0 -457
- 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 +28 -76
- pulumi_oci/stackmonitoring/get_baselineable_metric.py +1 -14
- pulumi_oci/stackmonitoring/get_baselineable_metrics.py +5 -45
- pulumi_oci/stackmonitoring/outputs.py +8 -19
- {pulumi_oci-2.5.0.dist-info → pulumi_oci-2.5.0a1721976101.dist-info}/METADATA +1 -1
- {pulumi_oci-2.5.0.dist-info → pulumi_oci-2.5.0a1721976101.dist-info}/RECORD +56 -72
- {pulumi_oci-2.5.0.dist-info → pulumi_oci-2.5.0a1721976101.dist-info}/WHEEL +1 -1
- pulumi_oci/core/get_instance_maintenance_event.py +0 -414
- pulumi_oci/core/get_instance_maintenance_events.py +0 -250
- pulumi_oci/core/instance_maintenance_event.py +0 -1022
- pulumi_oci/datasafe/alert_policy.py +0 -745
- pulumi_oci/datasafe/alert_policy_rule.py +0 -446
- pulumi_oci/fleetsoftwareupdate/__init__.py +0 -15
- pulumi_oci/fleetsoftwareupdate/_inputs.py +0 -553
- pulumi_oci/fleetsoftwareupdate/fsu_collection.py +0 -514
- pulumi_oci/fleetsoftwareupdate/fsu_cycle.py +0 -812
- pulumi_oci/fleetsoftwareupdate/get_fsu_collection.py +0 -225
- pulumi_oci/fleetsoftwareupdate/get_fsu_collections.py +0 -141
- pulumi_oci/fleetsoftwareupdate/get_fsu_cycle.py +0 -325
- pulumi_oci/fleetsoftwareupdate/get_fsu_cycles.py +0 -167
- pulumi_oci/fleetsoftwareupdate/outputs.py +0 -1481
- pulumi_oci/identity/domains_social_identity_provider.py +0 -4628
- pulumi_oci/identity/get_domains_social_identity_provider.py +0 -664
- pulumi_oci/identity/get_domains_social_identity_providers.py +0 -276
- pulumi_oci/networkfirewall/get_network_firewall_policy_tunnel_inspection_rule.py +0 -227
- pulumi_oci/networkfirewall/get_network_firewall_policy_tunnel_inspection_rules.py +0 -167
- pulumi_oci/networkfirewall/network_firewall_policy_tunnel_inspection_rule.py +0 -605
- {pulumi_oci-2.5.0.dist-info → pulumi_oci-2.5.0a1721976101.dist-info}/top_level.txt +0 -0
@@ -190,7 +190,6 @@ class _ReportDefinitionState:
|
|
190
190
|
display_order: Optional[pulumi.Input[int]] = None,
|
191
191
|
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
192
192
|
is_seeded: Optional[pulumi.Input[bool]] = None,
|
193
|
-
lifecycle_details: Optional[pulumi.Input[str]] = None,
|
194
193
|
parent_id: Optional[pulumi.Input[str]] = None,
|
195
194
|
record_time_span: Optional[pulumi.Input[str]] = None,
|
196
195
|
schedule: Optional[pulumi.Input[str]] = None,
|
@@ -219,7 +218,6 @@ class _ReportDefinitionState:
|
|
219
218
|
:param pulumi.Input[int] display_order: Specifies the order in which the summary must be displayed.
|
220
219
|
:param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Department": "Finance"}`
|
221
220
|
:param pulumi.Input[bool] is_seeded: Signifies whether the definition is seeded or user defined. Values can either be 'true' or 'false'.
|
222
|
-
:param pulumi.Input[str] lifecycle_details: Details about the current state of the report definition in Data Safe.
|
223
221
|
:param pulumi.Input[str] parent_id: The OCID of the parent report definition.
|
224
222
|
:param pulumi.Input[str] record_time_span: The time span for the records in the report to be scheduled. <period-value><period> Allowed period strings - "H","D","M","Y" Each of the above fields potentially introduce constraints. A workRequest is created only when period-value satisfies all the constraints. Constraints introduced: 1. period = H (The allowed range for period-value is [1, 23]) 2. period = D (The allowed range for period-value is [1, 30]) 3. period = M (The allowed range for period-value is [1, 11]) 4. period = Y (The minimum period-value is 1)
|
225
223
|
:param pulumi.Input[str] schedule: The schedule to generate the report periodically in the specified format: <version-string>;<version-specific-schedule>
|
@@ -260,8 +258,6 @@ class _ReportDefinitionState:
|
|
260
258
|
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
261
259
|
if is_seeded is not None:
|
262
260
|
pulumi.set(__self__, "is_seeded", is_seeded)
|
263
|
-
if lifecycle_details is not None:
|
264
|
-
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
265
261
|
if parent_id is not None:
|
266
262
|
pulumi.set(__self__, "parent_id", parent_id)
|
267
263
|
if record_time_span is not None:
|
@@ -445,18 +441,6 @@ class _ReportDefinitionState:
|
|
445
441
|
def is_seeded(self, value: Optional[pulumi.Input[bool]]):
|
446
442
|
pulumi.set(self, "is_seeded", value)
|
447
443
|
|
448
|
-
@property
|
449
|
-
@pulumi.getter(name="lifecycleDetails")
|
450
|
-
def lifecycle_details(self) -> Optional[pulumi.Input[str]]:
|
451
|
-
"""
|
452
|
-
Details about the current state of the report definition in Data Safe.
|
453
|
-
"""
|
454
|
-
return pulumi.get(self, "lifecycle_details")
|
455
|
-
|
456
|
-
@lifecycle_details.setter
|
457
|
-
def lifecycle_details(self, value: Optional[pulumi.Input[str]]):
|
458
|
-
pulumi.set(self, "lifecycle_details", value)
|
459
|
-
|
460
444
|
@property
|
461
445
|
@pulumi.getter(name="parentId")
|
462
446
|
def parent_id(self) -> Optional[pulumi.Input[str]]:
|
@@ -830,7 +814,6 @@ class ReportDefinition(pulumi.CustomResource):
|
|
830
814
|
__props__.__dict__["data_source"] = None
|
831
815
|
__props__.__dict__["display_order"] = None
|
832
816
|
__props__.__dict__["is_seeded"] = None
|
833
|
-
__props__.__dict__["lifecycle_details"] = None
|
834
817
|
__props__.__dict__["record_time_span"] = None
|
835
818
|
__props__.__dict__["schedule"] = None
|
836
819
|
__props__.__dict__["scheduled_report_compartment_id"] = None
|
@@ -865,7 +848,6 @@ class ReportDefinition(pulumi.CustomResource):
|
|
865
848
|
display_order: Optional[pulumi.Input[int]] = None,
|
866
849
|
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
867
850
|
is_seeded: Optional[pulumi.Input[bool]] = None,
|
868
|
-
lifecycle_details: Optional[pulumi.Input[str]] = None,
|
869
851
|
parent_id: Optional[pulumi.Input[str]] = None,
|
870
852
|
record_time_span: Optional[pulumi.Input[str]] = None,
|
871
853
|
schedule: Optional[pulumi.Input[str]] = None,
|
@@ -899,7 +881,6 @@ class ReportDefinition(pulumi.CustomResource):
|
|
899
881
|
:param pulumi.Input[int] display_order: Specifies the order in which the summary must be displayed.
|
900
882
|
:param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Department": "Finance"}`
|
901
883
|
:param pulumi.Input[bool] is_seeded: Signifies whether the definition is seeded or user defined. Values can either be 'true' or 'false'.
|
902
|
-
:param pulumi.Input[str] lifecycle_details: Details about the current state of the report definition in Data Safe.
|
903
884
|
:param pulumi.Input[str] parent_id: The OCID of the parent report definition.
|
904
885
|
:param pulumi.Input[str] record_time_span: The time span for the records in the report to be scheduled. <period-value><period> Allowed period strings - "H","D","M","Y" Each of the above fields potentially introduce constraints. A workRequest is created only when period-value satisfies all the constraints. Constraints introduced: 1. period = H (The allowed range for period-value is [1, 23]) 2. period = D (The allowed range for period-value is [1, 30]) 3. period = M (The allowed range for period-value is [1, 11]) 4. period = Y (The minimum period-value is 1)
|
905
886
|
:param pulumi.Input[str] schedule: The schedule to generate the report periodically in the specified format: <version-string>;<version-specific-schedule>
|
@@ -931,7 +912,6 @@ class ReportDefinition(pulumi.CustomResource):
|
|
931
912
|
__props__.__dict__["display_order"] = display_order
|
932
913
|
__props__.__dict__["freeform_tags"] = freeform_tags
|
933
914
|
__props__.__dict__["is_seeded"] = is_seeded
|
934
|
-
__props__.__dict__["lifecycle_details"] = lifecycle_details
|
935
915
|
__props__.__dict__["parent_id"] = parent_id
|
936
916
|
__props__.__dict__["record_time_span"] = record_time_span
|
937
917
|
__props__.__dict__["schedule"] = schedule
|
@@ -1051,14 +1031,6 @@ class ReportDefinition(pulumi.CustomResource):
|
|
1051
1031
|
"""
|
1052
1032
|
return pulumi.get(self, "is_seeded")
|
1053
1033
|
|
1054
|
-
@property
|
1055
|
-
@pulumi.getter(name="lifecycleDetails")
|
1056
|
-
def lifecycle_details(self) -> pulumi.Output[str]:
|
1057
|
-
"""
|
1058
|
-
Details about the current state of the report definition in Data Safe.
|
1059
|
-
"""
|
1060
|
-
return pulumi.get(self, "lifecycle_details")
|
1061
|
-
|
1062
1034
|
@property
|
1063
1035
|
@pulumi.getter(name="parentId")
|
1064
1036
|
def parent_id(self) -> pulumi.Output[str]:
|
@@ -0,0 +1,304 @@
|
|
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__ = ['SetSecurityAssessmentBaselineManagementArgs', 'SetSecurityAssessmentBaselineManagement']
|
13
|
+
|
14
|
+
@pulumi.input_type
|
15
|
+
class SetSecurityAssessmentBaselineManagementArgs:
|
16
|
+
def __init__(__self__, *,
|
17
|
+
compartment_id: pulumi.Input[str],
|
18
|
+
target_id: pulumi.Input[str]):
|
19
|
+
"""
|
20
|
+
The set of arguments for constructing a SetSecurityAssessmentBaselineManagement resource.
|
21
|
+
:param pulumi.Input[str] compartment_id: The compartment OCID of the target.
|
22
|
+
|
23
|
+
|
24
|
+
** IMPORTANT **
|
25
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
26
|
+
:param pulumi.Input[str] target_id: The target OCID for which SA needs to be set as baseline.
|
27
|
+
"""
|
28
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
29
|
+
pulumi.set(__self__, "target_id", target_id)
|
30
|
+
|
31
|
+
@property
|
32
|
+
@pulumi.getter(name="compartmentId")
|
33
|
+
def compartment_id(self) -> pulumi.Input[str]:
|
34
|
+
"""
|
35
|
+
The compartment OCID of the target.
|
36
|
+
|
37
|
+
|
38
|
+
** IMPORTANT **
|
39
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
40
|
+
"""
|
41
|
+
return pulumi.get(self, "compartment_id")
|
42
|
+
|
43
|
+
@compartment_id.setter
|
44
|
+
def compartment_id(self, value: pulumi.Input[str]):
|
45
|
+
pulumi.set(self, "compartment_id", value)
|
46
|
+
|
47
|
+
@property
|
48
|
+
@pulumi.getter(name="targetId")
|
49
|
+
def target_id(self) -> pulumi.Input[str]:
|
50
|
+
"""
|
51
|
+
The target OCID for which SA needs to be set as baseline.
|
52
|
+
"""
|
53
|
+
return pulumi.get(self, "target_id")
|
54
|
+
|
55
|
+
@target_id.setter
|
56
|
+
def target_id(self, value: pulumi.Input[str]):
|
57
|
+
pulumi.set(self, "target_id", value)
|
58
|
+
|
59
|
+
|
60
|
+
@pulumi.input_type
|
61
|
+
class _SetSecurityAssessmentBaselineManagementState:
|
62
|
+
def __init__(__self__, *,
|
63
|
+
assessment_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
64
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
65
|
+
security_assessment_id: Optional[pulumi.Input[str]] = None,
|
66
|
+
target_id: Optional[pulumi.Input[str]] = None):
|
67
|
+
"""
|
68
|
+
Input properties used for looking up and filtering SetSecurityAssessmentBaselineManagement resources.
|
69
|
+
:param pulumi.Input[str] compartment_id: The compartment OCID of the target.
|
70
|
+
|
71
|
+
|
72
|
+
** IMPORTANT **
|
73
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
74
|
+
:param pulumi.Input[str] target_id: The target OCID for which SA needs to be set as baseline.
|
75
|
+
"""
|
76
|
+
if assessment_ids is not None:
|
77
|
+
pulumi.set(__self__, "assessment_ids", assessment_ids)
|
78
|
+
if compartment_id is not None:
|
79
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
80
|
+
if security_assessment_id is not None:
|
81
|
+
pulumi.set(__self__, "security_assessment_id", security_assessment_id)
|
82
|
+
if target_id is not None:
|
83
|
+
pulumi.set(__self__, "target_id", target_id)
|
84
|
+
|
85
|
+
@property
|
86
|
+
@pulumi.getter(name="assessmentIds")
|
87
|
+
def assessment_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
88
|
+
return pulumi.get(self, "assessment_ids")
|
89
|
+
|
90
|
+
@assessment_ids.setter
|
91
|
+
def assessment_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
92
|
+
pulumi.set(self, "assessment_ids", value)
|
93
|
+
|
94
|
+
@property
|
95
|
+
@pulumi.getter(name="compartmentId")
|
96
|
+
def compartment_id(self) -> Optional[pulumi.Input[str]]:
|
97
|
+
"""
|
98
|
+
The compartment OCID of the target.
|
99
|
+
|
100
|
+
|
101
|
+
** IMPORTANT **
|
102
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
103
|
+
"""
|
104
|
+
return pulumi.get(self, "compartment_id")
|
105
|
+
|
106
|
+
@compartment_id.setter
|
107
|
+
def compartment_id(self, value: Optional[pulumi.Input[str]]):
|
108
|
+
pulumi.set(self, "compartment_id", value)
|
109
|
+
|
110
|
+
@property
|
111
|
+
@pulumi.getter(name="securityAssessmentId")
|
112
|
+
def security_assessment_id(self) -> Optional[pulumi.Input[str]]:
|
113
|
+
return pulumi.get(self, "security_assessment_id")
|
114
|
+
|
115
|
+
@security_assessment_id.setter
|
116
|
+
def security_assessment_id(self, value: Optional[pulumi.Input[str]]):
|
117
|
+
pulumi.set(self, "security_assessment_id", value)
|
118
|
+
|
119
|
+
@property
|
120
|
+
@pulumi.getter(name="targetId")
|
121
|
+
def target_id(self) -> Optional[pulumi.Input[str]]:
|
122
|
+
"""
|
123
|
+
The target OCID for which SA needs to be set as baseline.
|
124
|
+
"""
|
125
|
+
return pulumi.get(self, "target_id")
|
126
|
+
|
127
|
+
@target_id.setter
|
128
|
+
def target_id(self, value: Optional[pulumi.Input[str]]):
|
129
|
+
pulumi.set(self, "target_id", value)
|
130
|
+
|
131
|
+
|
132
|
+
class SetSecurityAssessmentBaselineManagement(pulumi.CustomResource):
|
133
|
+
@overload
|
134
|
+
def __init__(__self__,
|
135
|
+
resource_name: str,
|
136
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
137
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
138
|
+
target_id: Optional[pulumi.Input[str]] = None,
|
139
|
+
__props__=None):
|
140
|
+
"""
|
141
|
+
This resource provides the Set Security Assessment Baseline management resource in Oracle Cloud Infrastructure Data Safe service.
|
142
|
+
|
143
|
+
Sets the saved security assessment as the baseline in the compartment where the the specified assessment resides. The security assessment needs to be of type 'SAVED'.
|
144
|
+
|
145
|
+
## Example Usage
|
146
|
+
|
147
|
+
```python
|
148
|
+
import pulumi
|
149
|
+
import pulumi_oci as oci
|
150
|
+
|
151
|
+
test_set_security_assessment_baseline_management = oci.data_safe.SetSecurityAssessmentBaselineManagement("test_set_security_assessment_baseline_management",
|
152
|
+
target_id=test_target_database["id"],
|
153
|
+
compartment_id=comaprtment_id)
|
154
|
+
```
|
155
|
+
|
156
|
+
## Import
|
157
|
+
|
158
|
+
SetSecurityAssessmentBaselineManagement can be imported using the `id`, e.g.
|
159
|
+
|
160
|
+
```sh
|
161
|
+
$ pulumi import oci:DataSafe/setSecurityAssessmentBaselineManagement:SetSecurityAssessmentBaselineManagement test_set_security_assessment_baseline_management "id"
|
162
|
+
```
|
163
|
+
|
164
|
+
:param str resource_name: The name of the resource.
|
165
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
166
|
+
:param pulumi.Input[str] compartment_id: The compartment OCID of the target.
|
167
|
+
|
168
|
+
|
169
|
+
** IMPORTANT **
|
170
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
171
|
+
:param pulumi.Input[str] target_id: The target OCID for which SA needs to be set as baseline.
|
172
|
+
"""
|
173
|
+
...
|
174
|
+
@overload
|
175
|
+
def __init__(__self__,
|
176
|
+
resource_name: str,
|
177
|
+
args: SetSecurityAssessmentBaselineManagementArgs,
|
178
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
179
|
+
"""
|
180
|
+
This resource provides the Set Security Assessment Baseline management resource in Oracle Cloud Infrastructure Data Safe service.
|
181
|
+
|
182
|
+
Sets the saved security assessment as the baseline in the compartment where the the specified assessment resides. The security assessment needs to be of type 'SAVED'.
|
183
|
+
|
184
|
+
## Example Usage
|
185
|
+
|
186
|
+
```python
|
187
|
+
import pulumi
|
188
|
+
import pulumi_oci as oci
|
189
|
+
|
190
|
+
test_set_security_assessment_baseline_management = oci.data_safe.SetSecurityAssessmentBaselineManagement("test_set_security_assessment_baseline_management",
|
191
|
+
target_id=test_target_database["id"],
|
192
|
+
compartment_id=comaprtment_id)
|
193
|
+
```
|
194
|
+
|
195
|
+
## Import
|
196
|
+
|
197
|
+
SetSecurityAssessmentBaselineManagement can be imported using the `id`, e.g.
|
198
|
+
|
199
|
+
```sh
|
200
|
+
$ pulumi import oci:DataSafe/setSecurityAssessmentBaselineManagement:SetSecurityAssessmentBaselineManagement test_set_security_assessment_baseline_management "id"
|
201
|
+
```
|
202
|
+
|
203
|
+
:param str resource_name: The name of the resource.
|
204
|
+
:param SetSecurityAssessmentBaselineManagementArgs args: The arguments to use to populate this resource's properties.
|
205
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
206
|
+
"""
|
207
|
+
...
|
208
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
209
|
+
resource_args, opts = _utilities.get_resource_args_opts(SetSecurityAssessmentBaselineManagementArgs, pulumi.ResourceOptions, *args, **kwargs)
|
210
|
+
if resource_args is not None:
|
211
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
212
|
+
else:
|
213
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
214
|
+
|
215
|
+
def _internal_init(__self__,
|
216
|
+
resource_name: str,
|
217
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
218
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
219
|
+
target_id: Optional[pulumi.Input[str]] = None,
|
220
|
+
__props__=None):
|
221
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
222
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
223
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
224
|
+
if opts.id is None:
|
225
|
+
if __props__ is not None:
|
226
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
227
|
+
__props__ = SetSecurityAssessmentBaselineManagementArgs.__new__(SetSecurityAssessmentBaselineManagementArgs)
|
228
|
+
|
229
|
+
if compartment_id is None and not opts.urn:
|
230
|
+
raise TypeError("Missing required property 'compartment_id'")
|
231
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
232
|
+
if target_id is None and not opts.urn:
|
233
|
+
raise TypeError("Missing required property 'target_id'")
|
234
|
+
__props__.__dict__["target_id"] = target_id
|
235
|
+
__props__.__dict__["assessment_ids"] = None
|
236
|
+
__props__.__dict__["security_assessment_id"] = None
|
237
|
+
super(SetSecurityAssessmentBaselineManagement, __self__).__init__(
|
238
|
+
'oci:DataSafe/setSecurityAssessmentBaselineManagement:SetSecurityAssessmentBaselineManagement',
|
239
|
+
resource_name,
|
240
|
+
__props__,
|
241
|
+
opts)
|
242
|
+
|
243
|
+
@staticmethod
|
244
|
+
def get(resource_name: str,
|
245
|
+
id: pulumi.Input[str],
|
246
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
247
|
+
assessment_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
248
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
249
|
+
security_assessment_id: Optional[pulumi.Input[str]] = None,
|
250
|
+
target_id: Optional[pulumi.Input[str]] = None) -> 'SetSecurityAssessmentBaselineManagement':
|
251
|
+
"""
|
252
|
+
Get an existing SetSecurityAssessmentBaselineManagement resource's state with the given name, id, and optional extra
|
253
|
+
properties used to qualify the lookup.
|
254
|
+
|
255
|
+
:param str resource_name: The unique name of the resulting resource.
|
256
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
257
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
258
|
+
:param pulumi.Input[str] compartment_id: The compartment OCID of the target.
|
259
|
+
|
260
|
+
|
261
|
+
** IMPORTANT **
|
262
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
263
|
+
:param pulumi.Input[str] target_id: The target OCID for which SA needs to be set as baseline.
|
264
|
+
"""
|
265
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
266
|
+
|
267
|
+
__props__ = _SetSecurityAssessmentBaselineManagementState.__new__(_SetSecurityAssessmentBaselineManagementState)
|
268
|
+
|
269
|
+
__props__.__dict__["assessment_ids"] = assessment_ids
|
270
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
271
|
+
__props__.__dict__["security_assessment_id"] = security_assessment_id
|
272
|
+
__props__.__dict__["target_id"] = target_id
|
273
|
+
return SetSecurityAssessmentBaselineManagement(resource_name, opts=opts, __props__=__props__)
|
274
|
+
|
275
|
+
@property
|
276
|
+
@pulumi.getter(name="assessmentIds")
|
277
|
+
def assessment_ids(self) -> pulumi.Output[Sequence[str]]:
|
278
|
+
return pulumi.get(self, "assessment_ids")
|
279
|
+
|
280
|
+
@property
|
281
|
+
@pulumi.getter(name="compartmentId")
|
282
|
+
def compartment_id(self) -> pulumi.Output[str]:
|
283
|
+
"""
|
284
|
+
The compartment OCID of the target.
|
285
|
+
|
286
|
+
|
287
|
+
** IMPORTANT **
|
288
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
289
|
+
"""
|
290
|
+
return pulumi.get(self, "compartment_id")
|
291
|
+
|
292
|
+
@property
|
293
|
+
@pulumi.getter(name="securityAssessmentId")
|
294
|
+
def security_assessment_id(self) -> pulumi.Output[str]:
|
295
|
+
return pulumi.get(self, "security_assessment_id")
|
296
|
+
|
297
|
+
@property
|
298
|
+
@pulumi.getter(name="targetId")
|
299
|
+
def target_id(self) -> pulumi.Output[str]:
|
300
|
+
"""
|
301
|
+
The target OCID for which SA needs to be set as baseline.
|
302
|
+
"""
|
303
|
+
return pulumi.get(self, "target_id")
|
304
|
+
|