pulumi-oci 2.12.0a1728593306__py3-none-any.whl → 2.12.0a1728642710__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 +145 -0
- pulumi_oci/analytics/analytics_instance.py +54 -5
- pulumi_oci/analytics/get_analytics_instance.py +18 -4
- pulumi_oci/analytics/outputs.py +12 -1
- pulumi_oci/core/_inputs.py +648 -159
- pulumi_oci/core/cluster_network.py +7 -7
- pulumi_oci/core/get_instance.py +29 -1
- pulumi_oci/core/get_vcn.py +15 -1
- pulumi_oci/core/get_vnic.py +15 -1
- pulumi_oci/core/instance.py +87 -0
- pulumi_oci/core/instance_configuration.py +12 -0
- pulumi_oci/core/ipsec.py +183 -23
- pulumi_oci/core/network_security_group_security_rule.py +2 -2
- pulumi_oci/core/outputs.py +709 -107
- pulumi_oci/core/service_gateway.py +13 -7
- pulumi_oci/core/vcn.py +65 -23
- pulumi_oci/core/virtual_network.py +35 -1
- pulumi_oci/core/vnic_attachment.py +2 -0
- pulumi_oci/database/_inputs.py +905 -27
- pulumi_oci/database/autonomous_database.py +48 -28
- pulumi_oci/database/autonomous_database_backup.py +12 -12
- pulumi_oci/database/autonomous_exadata_infrastructure.py +2 -0
- pulumi_oci/database/autonomous_vm_cluster.py +2 -0
- pulumi_oci/database/backup.py +12 -12
- pulumi_oci/database/cloud_autonomous_vm_cluster.py +2 -0
- pulumi_oci/database/cloud_exadata_infrastructure.py +2 -0
- pulumi_oci/database/cloud_vm_cluster.py +71 -0
- pulumi_oci/database/database.py +15 -15
- pulumi_oci/database/database_upgrade.py +12 -12
- pulumi_oci/database/db_system.py +9 -9
- pulumi_oci/database/exadata_infrastructure.py +2 -0
- pulumi_oci/database/get_autonomous_container_database.py +1 -1
- pulumi_oci/database/get_autonomous_database.py +18 -4
- pulumi_oci/database/get_autonomous_database_backup.py +3 -3
- pulumi_oci/database/get_autonomous_databases.py +88 -5
- pulumi_oci/database/get_cloud_vm_cluster.py +15 -1
- pulumi_oci/database/get_database.py +3 -3
- pulumi_oci/database/get_pluggable_database.py +12 -1
- pulumi_oci/database/get_vm_cluster.py +15 -1
- pulumi_oci/database/outputs.py +1431 -74
- pulumi_oci/database/pluggable_database.py +34 -0
- pulumi_oci/database/vm_cluster.py +71 -0
- pulumi_oci/database/vm_cluster_add_virtual_network.py +28 -0
- pulumi_oci/database/vm_cluster_remove_virtual_machine.py +28 -0
- pulumi_oci/datasafe/__init__.py +12 -0
- pulumi_oci/datasafe/_inputs.py +441 -0
- pulumi_oci/datasafe/get_reports.py +23 -1
- pulumi_oci/datasafe/get_sql_collection.py +392 -0
- pulumi_oci/datasafe/get_sql_collection_analytics.py +309 -0
- pulumi_oci/datasafe/get_sql_collection_log_insights.py +207 -0
- pulumi_oci/datasafe/get_sql_collections.py +364 -0
- pulumi_oci/datasafe/get_sql_firewall_allowed_sql.py +337 -0
- pulumi_oci/datasafe/get_sql_firewall_allowed_sql_analytics.py +250 -0
- pulumi_oci/datasafe/get_sql_firewall_allowed_sqls.py +234 -0
- pulumi_oci/datasafe/get_sql_firewall_policies.py +386 -0
- pulumi_oci/datasafe/get_sql_firewall_policy.py +393 -0
- pulumi_oci/datasafe/get_sql_firewall_policy_analytics.py +305 -0
- pulumi_oci/datasafe/get_sql_firewall_violation_analytics.py +306 -0
- pulumi_oci/datasafe/get_sql_firewall_violations.py +208 -0
- pulumi_oci/datasafe/outputs.py +1808 -2
- pulumi_oci/desktops/_inputs.py +223 -7
- pulumi_oci/desktops/desktop_pool.py +186 -21
- pulumi_oci/desktops/get_desktop_pool.py +47 -5
- pulumi_oci/desktops/outputs.py +480 -19
- pulumi_oci/fleetappsmanagement/__init__.py +43 -0
- pulumi_oci/fleetappsmanagement/_inputs.py +2057 -0
- pulumi_oci/fleetappsmanagement/fleet.py +955 -0
- pulumi_oci/fleetappsmanagement/fleet_credential.py +615 -0
- pulumi_oci/fleetappsmanagement/fleet_property.py +585 -0
- pulumi_oci/fleetappsmanagement/fleet_resource.py +851 -0
- pulumi_oci/fleetappsmanagement/get_announcements.py +166 -0
- pulumi_oci/fleetappsmanagement/get_fleet.py +394 -0
- pulumi_oci/fleetappsmanagement/get_fleet_compliance_report.py +164 -0
- pulumi_oci/fleetappsmanagement/get_fleet_credential.py +273 -0
- pulumi_oci/fleetappsmanagement/get_fleet_credentials.py +240 -0
- pulumi_oci/fleetappsmanagement/get_fleet_products.py +232 -0
- pulumi_oci/fleetappsmanagement/get_fleet_properties.py +218 -0
- pulumi_oci/fleetappsmanagement/get_fleet_property.py +286 -0
- pulumi_oci/fleetappsmanagement/get_fleet_resource.py +398 -0
- pulumi_oci/fleetappsmanagement/get_fleet_resources.py +237 -0
- pulumi_oci/fleetappsmanagement/get_fleet_targets.py +232 -0
- pulumi_oci/fleetappsmanagement/get_fleets.py +284 -0
- pulumi_oci/fleetappsmanagement/get_inventory_resources.py +311 -0
- pulumi_oci/fleetappsmanagement/get_maintenance_window.py +365 -0
- pulumi_oci/fleetappsmanagement/get_maintenance_windows.py +199 -0
- pulumi_oci/fleetappsmanagement/get_onboarding_policies.py +123 -0
- pulumi_oci/fleetappsmanagement/get_onboardings.py +177 -0
- pulumi_oci/fleetappsmanagement/get_properties.py +221 -0
- pulumi_oci/fleetappsmanagement/get_property.py +323 -0
- pulumi_oci/fleetappsmanagement/get_runbook.py +377 -0
- pulumi_oci/fleetappsmanagement/get_runbooks.py +284 -0
- pulumi_oci/fleetappsmanagement/get_scheduler_definition.py +436 -0
- pulumi_oci/fleetappsmanagement/get_scheduler_definition_scheduled_fleets.py +185 -0
- pulumi_oci/fleetappsmanagement/get_scheduler_definitions.py +262 -0
- pulumi_oci/fleetappsmanagement/get_task_record.py +307 -0
- pulumi_oci/fleetappsmanagement/get_task_records.py +240 -0
- pulumi_oci/fleetappsmanagement/maintenance_window.py +935 -0
- pulumi_oci/fleetappsmanagement/onboarding.py +477 -0
- pulumi_oci/fleetappsmanagement/outputs.py +8128 -0
- pulumi_oci/fleetappsmanagement/property.py +697 -0
- pulumi_oci/fleetappsmanagement/scheduler_definition.py +1035 -0
- pulumi_oci/functions/get_fusion_environment_refresh_activity.py +15 -1
- pulumi_oci/functions/outputs.py +11 -0
- pulumi_oci/fusionapps/_inputs.py +21 -20
- pulumi_oci/fusionapps/fusion_environment.py +2 -2
- pulumi_oci/fusionapps/fusion_environment_admin_user.py +21 -22
- pulumi_oci/fusionapps/fusion_environment_refresh_activity.py +48 -51
- pulumi_oci/fusionapps/outputs.py +11 -10
- pulumi_oci/integration/__init__.py +1 -0
- pulumi_oci/integration/_inputs.py +289 -2
- pulumi_oci/integration/get_integration_instance.py +65 -1
- pulumi_oci/integration/integration_instance.py +172 -0
- pulumi_oci/integration/oracle_managed_custom_endpoint.py +307 -0
- pulumi_oci/integration/outputs.py +587 -19
- pulumi_oci/loadbalancer/_inputs.py +20 -0
- pulumi_oci/loadbalancer/listener.py +4 -2
- pulumi_oci/loadbalancer/outputs.py +16 -2
- pulumi_oci/monitoring/_inputs.py +137 -16
- pulumi_oci/monitoring/alarm_suppression.py +164 -35
- pulumi_oci/monitoring/get_alarm_statuses.py +5 -3
- pulumi_oci/monitoring/get_alarm_suppression.py +33 -3
- pulumi_oci/monitoring/get_alarm_suppressions.py +137 -14
- pulumi_oci/monitoring/outputs.py +291 -18
- pulumi_oci/mysql/mysql_db_system.py +7 -7
- pulumi_oci/objectstorage/__init__.py +3 -0
- pulumi_oci/objectstorage/_inputs.py +97 -0
- pulumi_oci/objectstorage/get_object_versions.py +6 -6
- pulumi_oci/objectstorage/get_objects.py +6 -6
- pulumi_oci/objectstorage/get_private_endpoint.py +263 -0
- pulumi_oci/objectstorage/get_private_endpoint_summaries.py +128 -0
- pulumi_oci/objectstorage/outputs.py +258 -0
- pulumi_oci/objectstorage/private_endpoint.py +630 -0
- pulumi_oci/objectstorage/storage_object.py +7 -7
- pulumi_oci/opsi/_inputs.py +268 -114
- pulumi_oci/opsi/database_insight.py +162 -21
- pulumi_oci/opsi/exadata_insight.py +44 -0
- pulumi_oci/opsi/get_database_insight.py +40 -1
- pulumi_oci/opsi/get_host_insights.py +2 -2
- pulumi_oci/opsi/host_insight.py +0 -48
- pulumi_oci/opsi/outputs.py +405 -109
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/securityattribute/__init__.py +15 -0
- pulumi_oci/securityattribute/_inputs.py +209 -0
- pulumi_oci/securityattribute/get_security_attribute.py +262 -0
- pulumi_oci/securityattribute/get_security_attribute_namespace.py +253 -0
- pulumi_oci/securityattribute/get_security_attribute_namespaces.py +210 -0
- pulumi_oci/securityattribute/get_security_attributes.py +169 -0
- pulumi_oci/securityattribute/outputs.py +466 -0
- pulumi_oci/securityattribute/security_attribute.py +588 -0
- pulumi_oci/securityattribute/security_attribute_namespace.py +609 -0
- pulumi_oci/stackmonitoring/__init__.py +5 -0
- pulumi_oci/stackmonitoring/_inputs.py +330 -0
- pulumi_oci/stackmonitoring/get_maintenance_window.py +254 -0
- pulumi_oci/stackmonitoring/get_maintenance_windows.py +210 -0
- pulumi_oci/stackmonitoring/maintenance_window.py +551 -0
- pulumi_oci/stackmonitoring/maintenance_windows_retry_failed_operation.py +217 -0
- pulumi_oci/stackmonitoring/maintenance_windows_stop.py +217 -0
- pulumi_oci/stackmonitoring/outputs.py +603 -0
- pulumi_oci/zpr/__init__.py +14 -0
- pulumi_oci/zpr/_inputs.py +79 -0
- pulumi_oci/zpr/configuration.py +516 -0
- pulumi_oci/zpr/get_configuration.py +230 -0
- pulumi_oci/zpr/get_zpr_policies.py +191 -0
- pulumi_oci/zpr/get_zpr_policy.py +264 -0
- pulumi_oci/zpr/outputs.py +203 -0
- pulumi_oci/zpr/zpr_policy.py +614 -0
- {pulumi_oci-2.12.0a1728593306.dist-info → pulumi_oci-2.12.0a1728642710.dist-info}/METADATA +1 -1
- {pulumi_oci-2.12.0a1728593306.dist-info → pulumi_oci-2.12.0a1728642710.dist-info}/RECORD +170 -95
- {pulumi_oci-2.12.0a1728593306.dist-info → pulumi_oci-2.12.0a1728642710.dist-info}/WHEEL +0 -0
- {pulumi_oci-2.12.0a1728593306.dist-info → pulumi_oci-2.12.0a1728642710.dist-info}/top_level.txt +0 -0
pulumi_oci/pulumi-plugin.json
CHANGED
@@ -0,0 +1,15 @@
|
|
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
|
+
from .. import _utilities
|
6
|
+
import typing
|
7
|
+
# Export this package's modules as members:
|
8
|
+
from .get_security_attribute import *
|
9
|
+
from .get_security_attribute_namespace import *
|
10
|
+
from .get_security_attribute_namespaces import *
|
11
|
+
from .get_security_attributes import *
|
12
|
+
from .security_attribute import *
|
13
|
+
from .security_attribute_namespace import *
|
14
|
+
from ._inputs import *
|
15
|
+
from . import outputs
|
@@ -0,0 +1,209 @@
|
|
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 sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
|
17
|
+
__all__ = [
|
18
|
+
'SecurityAttributeValidatorArgs',
|
19
|
+
'SecurityAttributeValidatorArgsDict',
|
20
|
+
'GetSecurityAttributeNamespacesFilterArgs',
|
21
|
+
'GetSecurityAttributeNamespacesFilterArgsDict',
|
22
|
+
'GetSecurityAttributesFilterArgs',
|
23
|
+
'GetSecurityAttributesFilterArgsDict',
|
24
|
+
]
|
25
|
+
|
26
|
+
MYPY = False
|
27
|
+
|
28
|
+
if not MYPY:
|
29
|
+
class SecurityAttributeValidatorArgsDict(TypedDict):
|
30
|
+
validator_type: pulumi.Input[str]
|
31
|
+
"""
|
32
|
+
(Updatable) Specifies the type of validation: a static value (no validation) or a list.
|
33
|
+
"""
|
34
|
+
values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
35
|
+
"""
|
36
|
+
(Updatable) The list of allowed values for a security attribute value.
|
37
|
+
|
38
|
+
|
39
|
+
** IMPORTANT **
|
40
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
41
|
+
"""
|
42
|
+
elif False:
|
43
|
+
SecurityAttributeValidatorArgsDict: TypeAlias = Mapping[str, Any]
|
44
|
+
|
45
|
+
@pulumi.input_type
|
46
|
+
class SecurityAttributeValidatorArgs:
|
47
|
+
def __init__(__self__, *,
|
48
|
+
validator_type: pulumi.Input[str],
|
49
|
+
values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
50
|
+
"""
|
51
|
+
:param pulumi.Input[str] validator_type: (Updatable) Specifies the type of validation: a static value (no validation) or a list.
|
52
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] values: (Updatable) The list of allowed values for a security attribute value.
|
53
|
+
|
54
|
+
|
55
|
+
** IMPORTANT **
|
56
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
57
|
+
"""
|
58
|
+
pulumi.set(__self__, "validator_type", validator_type)
|
59
|
+
if values is not None:
|
60
|
+
pulumi.set(__self__, "values", values)
|
61
|
+
|
62
|
+
@property
|
63
|
+
@pulumi.getter(name="validatorType")
|
64
|
+
def validator_type(self) -> pulumi.Input[str]:
|
65
|
+
"""
|
66
|
+
(Updatable) Specifies the type of validation: a static value (no validation) or a list.
|
67
|
+
"""
|
68
|
+
return pulumi.get(self, "validator_type")
|
69
|
+
|
70
|
+
@validator_type.setter
|
71
|
+
def validator_type(self, value: pulumi.Input[str]):
|
72
|
+
pulumi.set(self, "validator_type", value)
|
73
|
+
|
74
|
+
@property
|
75
|
+
@pulumi.getter
|
76
|
+
def values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
77
|
+
"""
|
78
|
+
(Updatable) The list of allowed values for a security attribute value.
|
79
|
+
|
80
|
+
|
81
|
+
** IMPORTANT **
|
82
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
83
|
+
"""
|
84
|
+
return pulumi.get(self, "values")
|
85
|
+
|
86
|
+
@values.setter
|
87
|
+
def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
88
|
+
pulumi.set(self, "values", value)
|
89
|
+
|
90
|
+
|
91
|
+
if not MYPY:
|
92
|
+
class GetSecurityAttributeNamespacesFilterArgsDict(TypedDict):
|
93
|
+
name: str
|
94
|
+
"""
|
95
|
+
A filter to return only resources that match the entire display name given.
|
96
|
+
"""
|
97
|
+
values: Sequence[str]
|
98
|
+
regex: NotRequired[bool]
|
99
|
+
elif False:
|
100
|
+
GetSecurityAttributeNamespacesFilterArgsDict: TypeAlias = Mapping[str, Any]
|
101
|
+
|
102
|
+
@pulumi.input_type
|
103
|
+
class GetSecurityAttributeNamespacesFilterArgs:
|
104
|
+
def __init__(__self__, *,
|
105
|
+
name: str,
|
106
|
+
values: Sequence[str],
|
107
|
+
regex: Optional[bool] = None):
|
108
|
+
"""
|
109
|
+
:param str name: A filter to return only resources that match the entire display name given.
|
110
|
+
"""
|
111
|
+
pulumi.set(__self__, "name", name)
|
112
|
+
pulumi.set(__self__, "values", values)
|
113
|
+
if regex is not None:
|
114
|
+
pulumi.set(__self__, "regex", regex)
|
115
|
+
|
116
|
+
@property
|
117
|
+
@pulumi.getter
|
118
|
+
def name(self) -> str:
|
119
|
+
"""
|
120
|
+
A filter to return only resources that match the entire display name given.
|
121
|
+
"""
|
122
|
+
return pulumi.get(self, "name")
|
123
|
+
|
124
|
+
@name.setter
|
125
|
+
def name(self, value: str):
|
126
|
+
pulumi.set(self, "name", value)
|
127
|
+
|
128
|
+
@property
|
129
|
+
@pulumi.getter
|
130
|
+
def values(self) -> Sequence[str]:
|
131
|
+
return pulumi.get(self, "values")
|
132
|
+
|
133
|
+
@values.setter
|
134
|
+
def values(self, value: Sequence[str]):
|
135
|
+
pulumi.set(self, "values", value)
|
136
|
+
|
137
|
+
@property
|
138
|
+
@pulumi.getter
|
139
|
+
def regex(self) -> Optional[bool]:
|
140
|
+
return pulumi.get(self, "regex")
|
141
|
+
|
142
|
+
@regex.setter
|
143
|
+
def regex(self, value: Optional[bool]):
|
144
|
+
pulumi.set(self, "regex", value)
|
145
|
+
|
146
|
+
|
147
|
+
if not MYPY:
|
148
|
+
class GetSecurityAttributesFilterArgsDict(TypedDict):
|
149
|
+
name: str
|
150
|
+
"""
|
151
|
+
The name assigned to the security attribute during creation. This is the security attribute key. The name must be unique within the security attribute namespace and cannot be changed.
|
152
|
+
"""
|
153
|
+
values: Sequence[str]
|
154
|
+
"""
|
155
|
+
The list of allowed values for a security attribute value.
|
156
|
+
"""
|
157
|
+
regex: NotRequired[bool]
|
158
|
+
elif False:
|
159
|
+
GetSecurityAttributesFilterArgsDict: TypeAlias = Mapping[str, Any]
|
160
|
+
|
161
|
+
@pulumi.input_type
|
162
|
+
class GetSecurityAttributesFilterArgs:
|
163
|
+
def __init__(__self__, *,
|
164
|
+
name: str,
|
165
|
+
values: Sequence[str],
|
166
|
+
regex: Optional[bool] = None):
|
167
|
+
"""
|
168
|
+
:param str name: The name assigned to the security attribute during creation. This is the security attribute key. The name must be unique within the security attribute namespace and cannot be changed.
|
169
|
+
:param Sequence[str] values: The list of allowed values for a security attribute value.
|
170
|
+
"""
|
171
|
+
pulumi.set(__self__, "name", name)
|
172
|
+
pulumi.set(__self__, "values", values)
|
173
|
+
if regex is not None:
|
174
|
+
pulumi.set(__self__, "regex", regex)
|
175
|
+
|
176
|
+
@property
|
177
|
+
@pulumi.getter
|
178
|
+
def name(self) -> str:
|
179
|
+
"""
|
180
|
+
The name assigned to the security attribute during creation. This is the security attribute key. The name must be unique within the security attribute namespace and cannot be changed.
|
181
|
+
"""
|
182
|
+
return pulumi.get(self, "name")
|
183
|
+
|
184
|
+
@name.setter
|
185
|
+
def name(self, value: str):
|
186
|
+
pulumi.set(self, "name", value)
|
187
|
+
|
188
|
+
@property
|
189
|
+
@pulumi.getter
|
190
|
+
def values(self) -> Sequence[str]:
|
191
|
+
"""
|
192
|
+
The list of allowed values for a security attribute value.
|
193
|
+
"""
|
194
|
+
return pulumi.get(self, "values")
|
195
|
+
|
196
|
+
@values.setter
|
197
|
+
def values(self, value: Sequence[str]):
|
198
|
+
pulumi.set(self, "values", value)
|
199
|
+
|
200
|
+
@property
|
201
|
+
@pulumi.getter
|
202
|
+
def regex(self) -> Optional[bool]:
|
203
|
+
return pulumi.get(self, "regex")
|
204
|
+
|
205
|
+
@regex.setter
|
206
|
+
def regex(self, value: Optional[bool]):
|
207
|
+
pulumi.set(self, "regex", value)
|
208
|
+
|
209
|
+
|
@@ -0,0 +1,262 @@
|
|
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 sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
from . import outputs
|
17
|
+
|
18
|
+
__all__ = [
|
19
|
+
'GetSecurityAttributeResult',
|
20
|
+
'AwaitableGetSecurityAttributeResult',
|
21
|
+
'get_security_attribute',
|
22
|
+
'get_security_attribute_output',
|
23
|
+
]
|
24
|
+
|
25
|
+
@pulumi.output_type
|
26
|
+
class GetSecurityAttributeResult:
|
27
|
+
"""
|
28
|
+
A collection of values returned by getSecurityAttribute.
|
29
|
+
"""
|
30
|
+
def __init__(__self__, compartment_id=None, description=None, id=None, is_retired=None, name=None, security_attribute_name=None, security_attribute_namespace_id=None, security_attribute_namespace_name=None, state=None, time_created=None, type=None, validators=None):
|
31
|
+
if compartment_id and not isinstance(compartment_id, str):
|
32
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
33
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
34
|
+
if description and not isinstance(description, str):
|
35
|
+
raise TypeError("Expected argument 'description' to be a str")
|
36
|
+
pulumi.set(__self__, "description", description)
|
37
|
+
if id and not isinstance(id, str):
|
38
|
+
raise TypeError("Expected argument 'id' to be a str")
|
39
|
+
pulumi.set(__self__, "id", id)
|
40
|
+
if is_retired and not isinstance(is_retired, bool):
|
41
|
+
raise TypeError("Expected argument 'is_retired' to be a bool")
|
42
|
+
pulumi.set(__self__, "is_retired", is_retired)
|
43
|
+
if name and not isinstance(name, str):
|
44
|
+
raise TypeError("Expected argument 'name' to be a str")
|
45
|
+
pulumi.set(__self__, "name", name)
|
46
|
+
if security_attribute_name and not isinstance(security_attribute_name, str):
|
47
|
+
raise TypeError("Expected argument 'security_attribute_name' to be a str")
|
48
|
+
pulumi.set(__self__, "security_attribute_name", security_attribute_name)
|
49
|
+
if security_attribute_namespace_id and not isinstance(security_attribute_namespace_id, str):
|
50
|
+
raise TypeError("Expected argument 'security_attribute_namespace_id' to be a str")
|
51
|
+
pulumi.set(__self__, "security_attribute_namespace_id", security_attribute_namespace_id)
|
52
|
+
if security_attribute_namespace_name and not isinstance(security_attribute_namespace_name, str):
|
53
|
+
raise TypeError("Expected argument 'security_attribute_namespace_name' to be a str")
|
54
|
+
pulumi.set(__self__, "security_attribute_namespace_name", security_attribute_namespace_name)
|
55
|
+
if state and not isinstance(state, str):
|
56
|
+
raise TypeError("Expected argument 'state' to be a str")
|
57
|
+
pulumi.set(__self__, "state", state)
|
58
|
+
if time_created and not isinstance(time_created, str):
|
59
|
+
raise TypeError("Expected argument 'time_created' to be a str")
|
60
|
+
pulumi.set(__self__, "time_created", time_created)
|
61
|
+
if type and not isinstance(type, str):
|
62
|
+
raise TypeError("Expected argument 'type' to be a str")
|
63
|
+
pulumi.set(__self__, "type", type)
|
64
|
+
if validators and not isinstance(validators, list):
|
65
|
+
raise TypeError("Expected argument 'validators' to be a list")
|
66
|
+
pulumi.set(__self__, "validators", validators)
|
67
|
+
|
68
|
+
@property
|
69
|
+
@pulumi.getter(name="compartmentId")
|
70
|
+
def compartment_id(self) -> str:
|
71
|
+
"""
|
72
|
+
The OCID of the compartment that contains the security attribute definition.
|
73
|
+
"""
|
74
|
+
return pulumi.get(self, "compartment_id")
|
75
|
+
|
76
|
+
@property
|
77
|
+
@pulumi.getter
|
78
|
+
def description(self) -> str:
|
79
|
+
"""
|
80
|
+
The description you assign to the security attribute.
|
81
|
+
"""
|
82
|
+
return pulumi.get(self, "description")
|
83
|
+
|
84
|
+
@property
|
85
|
+
@pulumi.getter
|
86
|
+
def id(self) -> str:
|
87
|
+
"""
|
88
|
+
The OCID of the security attribute definition.
|
89
|
+
"""
|
90
|
+
return pulumi.get(self, "id")
|
91
|
+
|
92
|
+
@property
|
93
|
+
@pulumi.getter(name="isRetired")
|
94
|
+
def is_retired(self) -> bool:
|
95
|
+
"""
|
96
|
+
Indicates whether the security attribute is retired. See [Managing Security Attribute Namespaces](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/managing-security-attribute-namespaces.htm).
|
97
|
+
"""
|
98
|
+
return pulumi.get(self, "is_retired")
|
99
|
+
|
100
|
+
@property
|
101
|
+
@pulumi.getter
|
102
|
+
def name(self) -> str:
|
103
|
+
"""
|
104
|
+
The name assigned to the security attribute during creation. This is the security attribute key. The name must be unique within the security attribute namespace and cannot be changed.
|
105
|
+
"""
|
106
|
+
return pulumi.get(self, "name")
|
107
|
+
|
108
|
+
@property
|
109
|
+
@pulumi.getter(name="securityAttributeName")
|
110
|
+
def security_attribute_name(self) -> str:
|
111
|
+
return pulumi.get(self, "security_attribute_name")
|
112
|
+
|
113
|
+
@property
|
114
|
+
@pulumi.getter(name="securityAttributeNamespaceId")
|
115
|
+
def security_attribute_namespace_id(self) -> str:
|
116
|
+
"""
|
117
|
+
The OCID of the security attribute namespace that contains the security attribute definition.
|
118
|
+
"""
|
119
|
+
return pulumi.get(self, "security_attribute_namespace_id")
|
120
|
+
|
121
|
+
@property
|
122
|
+
@pulumi.getter(name="securityAttributeNamespaceName")
|
123
|
+
def security_attribute_namespace_name(self) -> str:
|
124
|
+
"""
|
125
|
+
The name of the security attribute namespace that contains the security attribute.
|
126
|
+
"""
|
127
|
+
return pulumi.get(self, "security_attribute_namespace_name")
|
128
|
+
|
129
|
+
@property
|
130
|
+
@pulumi.getter
|
131
|
+
def state(self) -> str:
|
132
|
+
"""
|
133
|
+
The security attribute's current state. After creating a security attribute, make sure its `lifecycleState` is ACTIVE before using it. After retiring a security attribute, make sure its `lifecycleState` is INACTIVE before using it. If you delete a security attribute, you cannot delete another security attribute until the deleted security attribute's `lifecycleState` changes from DELETING to DELETED.
|
134
|
+
"""
|
135
|
+
return pulumi.get(self, "state")
|
136
|
+
|
137
|
+
@property
|
138
|
+
@pulumi.getter(name="timeCreated")
|
139
|
+
def time_created(self) -> str:
|
140
|
+
"""
|
141
|
+
Date and time the security attribute was created, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z`
|
142
|
+
"""
|
143
|
+
return pulumi.get(self, "time_created")
|
144
|
+
|
145
|
+
@property
|
146
|
+
@pulumi.getter
|
147
|
+
def type(self) -> str:
|
148
|
+
"""
|
149
|
+
The data type of the security attribute.
|
150
|
+
"""
|
151
|
+
return pulumi.get(self, "type")
|
152
|
+
|
153
|
+
@property
|
154
|
+
@pulumi.getter
|
155
|
+
def validators(self) -> Sequence['outputs.GetSecurityAttributeValidatorResult']:
|
156
|
+
"""
|
157
|
+
Validates a security attribute value. Each validator performs validation steps in addition to the standard validation for security attribute values. For more information, see [Limits on Security Attributes](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm).
|
158
|
+
"""
|
159
|
+
return pulumi.get(self, "validators")
|
160
|
+
|
161
|
+
|
162
|
+
class AwaitableGetSecurityAttributeResult(GetSecurityAttributeResult):
|
163
|
+
# pylint: disable=using-constant-test
|
164
|
+
def __await__(self):
|
165
|
+
if False:
|
166
|
+
yield self
|
167
|
+
return GetSecurityAttributeResult(
|
168
|
+
compartment_id=self.compartment_id,
|
169
|
+
description=self.description,
|
170
|
+
id=self.id,
|
171
|
+
is_retired=self.is_retired,
|
172
|
+
name=self.name,
|
173
|
+
security_attribute_name=self.security_attribute_name,
|
174
|
+
security_attribute_namespace_id=self.security_attribute_namespace_id,
|
175
|
+
security_attribute_namespace_name=self.security_attribute_namespace_name,
|
176
|
+
state=self.state,
|
177
|
+
time_created=self.time_created,
|
178
|
+
type=self.type,
|
179
|
+
validators=self.validators)
|
180
|
+
|
181
|
+
|
182
|
+
def get_security_attribute(security_attribute_name: Optional[str] = None,
|
183
|
+
security_attribute_namespace_id: Optional[str] = None,
|
184
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSecurityAttributeResult:
|
185
|
+
"""
|
186
|
+
This data source provides details about a specific Security Attribute resource in Oracle Cloud Infrastructure Security Attribute service.
|
187
|
+
|
188
|
+
Gets the specified security attribute's information.
|
189
|
+
|
190
|
+
## Example Usage
|
191
|
+
|
192
|
+
```python
|
193
|
+
import pulumi
|
194
|
+
import pulumi_oci as oci
|
195
|
+
|
196
|
+
test_security_attribute = oci.SecurityAttribute.get_security_attribute(security_attribute_name=test_security_attribute_oci_security_attribute_security_attribute["name"],
|
197
|
+
security_attribute_namespace_id=test_security_attribute_namespace["id"])
|
198
|
+
```
|
199
|
+
|
200
|
+
|
201
|
+
:param str security_attribute_name: The name of the security attribute.
|
202
|
+
:param str security_attribute_namespace_id: The OCID of the security attribute namespace.
|
203
|
+
"""
|
204
|
+
__args__ = dict()
|
205
|
+
__args__['securityAttributeName'] = security_attribute_name
|
206
|
+
__args__['securityAttributeNamespaceId'] = security_attribute_namespace_id
|
207
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
208
|
+
__ret__ = pulumi.runtime.invoke('oci:SecurityAttribute/getSecurityAttribute:getSecurityAttribute', __args__, opts=opts, typ=GetSecurityAttributeResult).value
|
209
|
+
|
210
|
+
return AwaitableGetSecurityAttributeResult(
|
211
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
212
|
+
description=pulumi.get(__ret__, 'description'),
|
213
|
+
id=pulumi.get(__ret__, 'id'),
|
214
|
+
is_retired=pulumi.get(__ret__, 'is_retired'),
|
215
|
+
name=pulumi.get(__ret__, 'name'),
|
216
|
+
security_attribute_name=pulumi.get(__ret__, 'security_attribute_name'),
|
217
|
+
security_attribute_namespace_id=pulumi.get(__ret__, 'security_attribute_namespace_id'),
|
218
|
+
security_attribute_namespace_name=pulumi.get(__ret__, 'security_attribute_namespace_name'),
|
219
|
+
state=pulumi.get(__ret__, 'state'),
|
220
|
+
time_created=pulumi.get(__ret__, 'time_created'),
|
221
|
+
type=pulumi.get(__ret__, 'type'),
|
222
|
+
validators=pulumi.get(__ret__, 'validators'))
|
223
|
+
def get_security_attribute_output(security_attribute_name: Optional[pulumi.Input[str]] = None,
|
224
|
+
security_attribute_namespace_id: Optional[pulumi.Input[str]] = None,
|
225
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSecurityAttributeResult]:
|
226
|
+
"""
|
227
|
+
This data source provides details about a specific Security Attribute resource in Oracle Cloud Infrastructure Security Attribute service.
|
228
|
+
|
229
|
+
Gets the specified security attribute's information.
|
230
|
+
|
231
|
+
## Example Usage
|
232
|
+
|
233
|
+
```python
|
234
|
+
import pulumi
|
235
|
+
import pulumi_oci as oci
|
236
|
+
|
237
|
+
test_security_attribute = oci.SecurityAttribute.get_security_attribute(security_attribute_name=test_security_attribute_oci_security_attribute_security_attribute["name"],
|
238
|
+
security_attribute_namespace_id=test_security_attribute_namespace["id"])
|
239
|
+
```
|
240
|
+
|
241
|
+
|
242
|
+
:param str security_attribute_name: The name of the security attribute.
|
243
|
+
:param str security_attribute_namespace_id: The OCID of the security attribute namespace.
|
244
|
+
"""
|
245
|
+
__args__ = dict()
|
246
|
+
__args__['securityAttributeName'] = security_attribute_name
|
247
|
+
__args__['securityAttributeNamespaceId'] = security_attribute_namespace_id
|
248
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
249
|
+
__ret__ = pulumi.runtime.invoke_output('oci:SecurityAttribute/getSecurityAttribute:getSecurityAttribute', __args__, opts=opts, typ=GetSecurityAttributeResult)
|
250
|
+
return __ret__.apply(lambda __response__: GetSecurityAttributeResult(
|
251
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
252
|
+
description=pulumi.get(__response__, 'description'),
|
253
|
+
id=pulumi.get(__response__, 'id'),
|
254
|
+
is_retired=pulumi.get(__response__, 'is_retired'),
|
255
|
+
name=pulumi.get(__response__, 'name'),
|
256
|
+
security_attribute_name=pulumi.get(__response__, 'security_attribute_name'),
|
257
|
+
security_attribute_namespace_id=pulumi.get(__response__, 'security_attribute_namespace_id'),
|
258
|
+
security_attribute_namespace_name=pulumi.get(__response__, 'security_attribute_namespace_name'),
|
259
|
+
state=pulumi.get(__response__, 'state'),
|
260
|
+
time_created=pulumi.get(__response__, 'time_created'),
|
261
|
+
type=pulumi.get(__response__, 'type'),
|
262
|
+
validators=pulumi.get(__response__, 'validators')))
|