pulumi-oci 2.12.0a1728593306__py3-none-any.whl → 2.13.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 +169 -19
- 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/containerengine/_inputs.py +341 -0
- pulumi_oci/containerengine/cluster.py +64 -0
- pulumi_oci/containerengine/get_cluster.py +12 -1
- pulumi_oci/containerengine/outputs.py +582 -0
- pulumi_oci/core/_inputs.py +947 -196
- pulumi_oci/core/boot_volume.py +90 -5
- pulumi_oci/core/cluster_network.py +7 -7
- pulumi_oci/core/get_block_volume_replica.py +15 -1
- pulumi_oci/core/get_boot_volume.py +15 -4
- pulumi_oci/core/get_boot_volume_replica.py +15 -1
- 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/get_volume.py +18 -4
- pulumi_oci/core/instance.py +87 -0
- pulumi_oci/core/instance_configuration.py +16 -0
- pulumi_oci/core/ipsec.py +183 -23
- pulumi_oci/core/network_security_group_security_rule.py +2 -2
- pulumi_oci/core/outputs.py +1282 -153
- 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/core/volume.py +110 -12
- pulumi_oci/core/volume_backup_policy_assignment.py +68 -19
- pulumi_oci/core/volume_group.py +56 -5
- 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 +13 -0
- pulumi_oci/datasafe/_inputs.py +441 -0
- pulumi_oci/datasafe/generate_on_prem_connector_configuration.py +271 -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 +395 -17
- pulumi_oci/desktops/desktop_pool.py +253 -21
- pulumi_oci/desktops/get_desktop_pool.py +62 -5
- pulumi_oci/desktops/outputs.py +807 -25
- pulumi_oci/dns/__init__.py +2 -0
- pulumi_oci/dns/_inputs.py +1157 -12
- pulumi_oci/dns/action_create_zone_from_zone_file.py +42 -2
- pulumi_oci/dns/get_records.py +45 -13
- pulumi_oci/dns/get_resolver.py +8 -6
- pulumi_oci/dns/get_resolver_endpoint.py +8 -6
- pulumi_oci/dns/get_resolver_endpoints.py +2 -2
- pulumi_oci/dns/get_resolvers.py +12 -12
- pulumi_oci/dns/get_rrset.py +16 -16
- pulumi_oci/dns/get_rrsets.py +12 -10
- pulumi_oci/dns/get_view.py +8 -4
- pulumi_oci/dns/get_views.py +12 -12
- pulumi_oci/dns/get_zones.py +33 -13
- pulumi_oci/dns/outputs.py +1388 -79
- pulumi_oci/dns/record.py +12 -12
- pulumi_oci/dns/resolver.py +7 -7
- pulumi_oci/dns/resolver_endpoint.py +2 -2
- pulumi_oci/dns/rrset.py +50 -41
- pulumi_oci/dns/zone.py +176 -17
- pulumi_oci/dns/zone_promote_dnssec_key_version.py +328 -0
- pulumi_oci/dns/zone_stage_dnssec_key_version.py +318 -0
- 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/goldengate/__init__.py +1 -0
- pulumi_oci/goldengate/_inputs.py +165 -0
- pulumi_oci/goldengate/connection.py +49 -35
- pulumi_oci/goldengate/database_registration.py +7 -7
- pulumi_oci/goldengate/deployment.py +79 -4
- pulumi_oci/goldengate/get_deployment.py +30 -2
- pulumi_oci/goldengate/get_deployment_environments.py +144 -0
- pulumi_oci/goldengate/outputs.py +409 -2
- 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/{globallydistributeddatabase → zpr}/__init__.py +5 -6
- 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.13.0.dist-info}/METADATA +1 -1
- {pulumi_oci-2.12.0a1728593306.dist-info → pulumi_oci-2.13.0.dist-info}/RECORD +212 -142
- {pulumi_oci-2.12.0a1728593306.dist-info → pulumi_oci-2.13.0.dist-info}/WHEEL +1 -1
- pulumi_oci/globallydistributeddatabase/_inputs.py +0 -1289
- pulumi_oci/globallydistributeddatabase/get_private_endpoint.py +0 -323
- pulumi_oci/globallydistributeddatabase/get_private_endpoints.py +0 -191
- pulumi_oci/globallydistributeddatabase/get_sharded_database.py +0 -660
- pulumi_oci/globallydistributeddatabase/get_sharded_databases.py +0 -191
- pulumi_oci/globallydistributeddatabase/outputs.py +0 -2063
- pulumi_oci/globallydistributeddatabase/private_endpoint.py +0 -747
- pulumi_oci/globallydistributeddatabase/sharded_database.py +0 -1821
- {pulumi_oci-2.12.0a1728593306.dist-info → pulumi_oci-2.13.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,253 @@
|
|
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
|
+
'GetSecurityAttributeNamespaceResult',
|
19
|
+
'AwaitableGetSecurityAttributeNamespaceResult',
|
20
|
+
'get_security_attribute_namespace',
|
21
|
+
'get_security_attribute_namespace_output',
|
22
|
+
]
|
23
|
+
|
24
|
+
@pulumi.output_type
|
25
|
+
class GetSecurityAttributeNamespaceResult:
|
26
|
+
"""
|
27
|
+
A collection of values returned by getSecurityAttributeNamespace.
|
28
|
+
"""
|
29
|
+
def __init__(__self__, compartment_id=None, defined_tags=None, description=None, freeform_tags=None, id=None, is_retired=None, modes=None, name=None, security_attribute_namespace_id=None, state=None, system_tags=None, time_created=None):
|
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 defined_tags and not isinstance(defined_tags, dict):
|
34
|
+
raise TypeError("Expected argument 'defined_tags' to be a dict")
|
35
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
36
|
+
if description and not isinstance(description, str):
|
37
|
+
raise TypeError("Expected argument 'description' to be a str")
|
38
|
+
pulumi.set(__self__, "description", description)
|
39
|
+
if freeform_tags and not isinstance(freeform_tags, dict):
|
40
|
+
raise TypeError("Expected argument 'freeform_tags' to be a dict")
|
41
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
42
|
+
if id and not isinstance(id, str):
|
43
|
+
raise TypeError("Expected argument 'id' to be a str")
|
44
|
+
pulumi.set(__self__, "id", id)
|
45
|
+
if is_retired and not isinstance(is_retired, bool):
|
46
|
+
raise TypeError("Expected argument 'is_retired' to be a bool")
|
47
|
+
pulumi.set(__self__, "is_retired", is_retired)
|
48
|
+
if modes and not isinstance(modes, list):
|
49
|
+
raise TypeError("Expected argument 'modes' to be a list")
|
50
|
+
pulumi.set(__self__, "modes", modes)
|
51
|
+
if name and not isinstance(name, str):
|
52
|
+
raise TypeError("Expected argument 'name' to be a str")
|
53
|
+
pulumi.set(__self__, "name", name)
|
54
|
+
if security_attribute_namespace_id and not isinstance(security_attribute_namespace_id, str):
|
55
|
+
raise TypeError("Expected argument 'security_attribute_namespace_id' to be a str")
|
56
|
+
pulumi.set(__self__, "security_attribute_namespace_id", security_attribute_namespace_id)
|
57
|
+
if state and not isinstance(state, str):
|
58
|
+
raise TypeError("Expected argument 'state' to be a str")
|
59
|
+
pulumi.set(__self__, "state", state)
|
60
|
+
if system_tags and not isinstance(system_tags, dict):
|
61
|
+
raise TypeError("Expected argument 'system_tags' to be a dict")
|
62
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
63
|
+
if time_created and not isinstance(time_created, str):
|
64
|
+
raise TypeError("Expected argument 'time_created' to be a str")
|
65
|
+
pulumi.set(__self__, "time_created", time_created)
|
66
|
+
|
67
|
+
@property
|
68
|
+
@pulumi.getter(name="compartmentId")
|
69
|
+
def compartment_id(self) -> str:
|
70
|
+
"""
|
71
|
+
The OCID of the compartment that contains the security attribute namespace.
|
72
|
+
"""
|
73
|
+
return pulumi.get(self, "compartment_id")
|
74
|
+
|
75
|
+
@property
|
76
|
+
@pulumi.getter(name="definedTags")
|
77
|
+
def defined_tags(self) -> Mapping[str, str]:
|
78
|
+
"""
|
79
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
80
|
+
"""
|
81
|
+
return pulumi.get(self, "defined_tags")
|
82
|
+
|
83
|
+
@property
|
84
|
+
@pulumi.getter
|
85
|
+
def description(self) -> str:
|
86
|
+
"""
|
87
|
+
Description of the Security Attribute Namespace.
|
88
|
+
"""
|
89
|
+
return pulumi.get(self, "description")
|
90
|
+
|
91
|
+
@property
|
92
|
+
@pulumi.getter(name="freeformTags")
|
93
|
+
def freeform_tags(self) -> Mapping[str, str]:
|
94
|
+
"""
|
95
|
+
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"}`
|
96
|
+
"""
|
97
|
+
return pulumi.get(self, "freeform_tags")
|
98
|
+
|
99
|
+
@property
|
100
|
+
@pulumi.getter
|
101
|
+
def id(self) -> str:
|
102
|
+
"""
|
103
|
+
The OCID of the security attribute namespace.
|
104
|
+
"""
|
105
|
+
return pulumi.get(self, "id")
|
106
|
+
|
107
|
+
@property
|
108
|
+
@pulumi.getter(name="isRetired")
|
109
|
+
def is_retired(self) -> bool:
|
110
|
+
"""
|
111
|
+
Indicates whether the security attribute namespace is retired. See [Managing Security Attribute Namespaces](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/managing-security-attribute-namespaces.htm).
|
112
|
+
"""
|
113
|
+
return pulumi.get(self, "is_retired")
|
114
|
+
|
115
|
+
@property
|
116
|
+
@pulumi.getter
|
117
|
+
def modes(self) -> Sequence[str]:
|
118
|
+
"""
|
119
|
+
Indicates possible modes the security attributes in this namespace is set to. Supported values are `enforce` and `audit`. Currently mode cannot be controlled by the user
|
120
|
+
"""
|
121
|
+
return pulumi.get(self, "modes")
|
122
|
+
|
123
|
+
@property
|
124
|
+
@pulumi.getter
|
125
|
+
def name(self) -> str:
|
126
|
+
"""
|
127
|
+
The name of the security attribute namespace. It must be unique across all security attribute namespaces in the tenancy and cannot be changed.
|
128
|
+
"""
|
129
|
+
return pulumi.get(self, "name")
|
130
|
+
|
131
|
+
@property
|
132
|
+
@pulumi.getter(name="securityAttributeNamespaceId")
|
133
|
+
def security_attribute_namespace_id(self) -> str:
|
134
|
+
return pulumi.get(self, "security_attribute_namespace_id")
|
135
|
+
|
136
|
+
@property
|
137
|
+
@pulumi.getter
|
138
|
+
def state(self) -> str:
|
139
|
+
"""
|
140
|
+
The security attribute namespace's current state. After creating a security attribute namespace, `lifecycleState` is in ACTIVE state. After retiring a security attribute namespace, its `lifecycleState` becomes INACTIVE. Security Attributes from a retired namespace cannot be attached to more resources.
|
141
|
+
"""
|
142
|
+
return pulumi.get(self, "state")
|
143
|
+
|
144
|
+
@property
|
145
|
+
@pulumi.getter(name="systemTags")
|
146
|
+
def system_tags(self) -> Mapping[str, str]:
|
147
|
+
"""
|
148
|
+
System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
149
|
+
"""
|
150
|
+
return pulumi.get(self, "system_tags")
|
151
|
+
|
152
|
+
@property
|
153
|
+
@pulumi.getter(name="timeCreated")
|
154
|
+
def time_created(self) -> str:
|
155
|
+
"""
|
156
|
+
Date and time the security attribute namespace was created, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z`
|
157
|
+
"""
|
158
|
+
return pulumi.get(self, "time_created")
|
159
|
+
|
160
|
+
|
161
|
+
class AwaitableGetSecurityAttributeNamespaceResult(GetSecurityAttributeNamespaceResult):
|
162
|
+
# pylint: disable=using-constant-test
|
163
|
+
def __await__(self):
|
164
|
+
if False:
|
165
|
+
yield self
|
166
|
+
return GetSecurityAttributeNamespaceResult(
|
167
|
+
compartment_id=self.compartment_id,
|
168
|
+
defined_tags=self.defined_tags,
|
169
|
+
description=self.description,
|
170
|
+
freeform_tags=self.freeform_tags,
|
171
|
+
id=self.id,
|
172
|
+
is_retired=self.is_retired,
|
173
|
+
modes=self.modes,
|
174
|
+
name=self.name,
|
175
|
+
security_attribute_namespace_id=self.security_attribute_namespace_id,
|
176
|
+
state=self.state,
|
177
|
+
system_tags=self.system_tags,
|
178
|
+
time_created=self.time_created)
|
179
|
+
|
180
|
+
|
181
|
+
def get_security_attribute_namespace(security_attribute_namespace_id: Optional[str] = None,
|
182
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSecurityAttributeNamespaceResult:
|
183
|
+
"""
|
184
|
+
This data source provides details about a specific Security Attribute Namespace resource in Oracle Cloud Infrastructure Security Attribute service.
|
185
|
+
|
186
|
+
Gets the specified security attribute namespace's information.
|
187
|
+
|
188
|
+
## Example Usage
|
189
|
+
|
190
|
+
```python
|
191
|
+
import pulumi
|
192
|
+
import pulumi_oci as oci
|
193
|
+
|
194
|
+
test_security_attribute_namespace = oci.SecurityAttribute.get_security_attribute_namespace(security_attribute_namespace_id=test_security_attribute_namespace_oci_security_attribute_security_attribute_namespace["id"])
|
195
|
+
```
|
196
|
+
|
197
|
+
|
198
|
+
:param str security_attribute_namespace_id: The OCID of the security attribute namespace.
|
199
|
+
"""
|
200
|
+
__args__ = dict()
|
201
|
+
__args__['securityAttributeNamespaceId'] = security_attribute_namespace_id
|
202
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
203
|
+
__ret__ = pulumi.runtime.invoke('oci:SecurityAttribute/getSecurityAttributeNamespace:getSecurityAttributeNamespace', __args__, opts=opts, typ=GetSecurityAttributeNamespaceResult).value
|
204
|
+
|
205
|
+
return AwaitableGetSecurityAttributeNamespaceResult(
|
206
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
207
|
+
defined_tags=pulumi.get(__ret__, 'defined_tags'),
|
208
|
+
description=pulumi.get(__ret__, 'description'),
|
209
|
+
freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
|
210
|
+
id=pulumi.get(__ret__, 'id'),
|
211
|
+
is_retired=pulumi.get(__ret__, 'is_retired'),
|
212
|
+
modes=pulumi.get(__ret__, 'modes'),
|
213
|
+
name=pulumi.get(__ret__, 'name'),
|
214
|
+
security_attribute_namespace_id=pulumi.get(__ret__, 'security_attribute_namespace_id'),
|
215
|
+
state=pulumi.get(__ret__, 'state'),
|
216
|
+
system_tags=pulumi.get(__ret__, 'system_tags'),
|
217
|
+
time_created=pulumi.get(__ret__, 'time_created'))
|
218
|
+
def get_security_attribute_namespace_output(security_attribute_namespace_id: Optional[pulumi.Input[str]] = None,
|
219
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSecurityAttributeNamespaceResult]:
|
220
|
+
"""
|
221
|
+
This data source provides details about a specific Security Attribute Namespace resource in Oracle Cloud Infrastructure Security Attribute service.
|
222
|
+
|
223
|
+
Gets the specified security attribute namespace's information.
|
224
|
+
|
225
|
+
## Example Usage
|
226
|
+
|
227
|
+
```python
|
228
|
+
import pulumi
|
229
|
+
import pulumi_oci as oci
|
230
|
+
|
231
|
+
test_security_attribute_namespace = oci.SecurityAttribute.get_security_attribute_namespace(security_attribute_namespace_id=test_security_attribute_namespace_oci_security_attribute_security_attribute_namespace["id"])
|
232
|
+
```
|
233
|
+
|
234
|
+
|
235
|
+
:param str security_attribute_namespace_id: The OCID of the security attribute namespace.
|
236
|
+
"""
|
237
|
+
__args__ = dict()
|
238
|
+
__args__['securityAttributeNamespaceId'] = security_attribute_namespace_id
|
239
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
240
|
+
__ret__ = pulumi.runtime.invoke_output('oci:SecurityAttribute/getSecurityAttributeNamespace:getSecurityAttributeNamespace', __args__, opts=opts, typ=GetSecurityAttributeNamespaceResult)
|
241
|
+
return __ret__.apply(lambda __response__: GetSecurityAttributeNamespaceResult(
|
242
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
243
|
+
defined_tags=pulumi.get(__response__, 'defined_tags'),
|
244
|
+
description=pulumi.get(__response__, 'description'),
|
245
|
+
freeform_tags=pulumi.get(__response__, 'freeform_tags'),
|
246
|
+
id=pulumi.get(__response__, 'id'),
|
247
|
+
is_retired=pulumi.get(__response__, 'is_retired'),
|
248
|
+
modes=pulumi.get(__response__, 'modes'),
|
249
|
+
name=pulumi.get(__response__, 'name'),
|
250
|
+
security_attribute_namespace_id=pulumi.get(__response__, 'security_attribute_namespace_id'),
|
251
|
+
state=pulumi.get(__response__, 'state'),
|
252
|
+
system_tags=pulumi.get(__response__, 'system_tags'),
|
253
|
+
time_created=pulumi.get(__response__, 'time_created')))
|
@@ -0,0 +1,210 @@
|
|
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
|
+
from ._inputs import *
|
18
|
+
|
19
|
+
__all__ = [
|
20
|
+
'GetSecurityAttributeNamespacesResult',
|
21
|
+
'AwaitableGetSecurityAttributeNamespacesResult',
|
22
|
+
'get_security_attribute_namespaces',
|
23
|
+
'get_security_attribute_namespaces_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetSecurityAttributeNamespacesResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getSecurityAttributeNamespaces.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, compartment_id=None, compartment_id_in_subtree=None, filters=None, id=None, name=None, security_attribute_namespaces=None, state=None):
|
32
|
+
if compartment_id and not isinstance(compartment_id, str):
|
33
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
34
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
35
|
+
if compartment_id_in_subtree and not isinstance(compartment_id_in_subtree, bool):
|
36
|
+
raise TypeError("Expected argument 'compartment_id_in_subtree' to be a bool")
|
37
|
+
pulumi.set(__self__, "compartment_id_in_subtree", compartment_id_in_subtree)
|
38
|
+
if filters and not isinstance(filters, list):
|
39
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
40
|
+
pulumi.set(__self__, "filters", filters)
|
41
|
+
if id and not isinstance(id, str):
|
42
|
+
raise TypeError("Expected argument 'id' to be a str")
|
43
|
+
pulumi.set(__self__, "id", id)
|
44
|
+
if name and not isinstance(name, str):
|
45
|
+
raise TypeError("Expected argument 'name' to be a str")
|
46
|
+
pulumi.set(__self__, "name", name)
|
47
|
+
if security_attribute_namespaces and not isinstance(security_attribute_namespaces, list):
|
48
|
+
raise TypeError("Expected argument 'security_attribute_namespaces' to be a list")
|
49
|
+
pulumi.set(__self__, "security_attribute_namespaces", security_attribute_namespaces)
|
50
|
+
if state and not isinstance(state, str):
|
51
|
+
raise TypeError("Expected argument 'state' to be a str")
|
52
|
+
pulumi.set(__self__, "state", state)
|
53
|
+
|
54
|
+
@property
|
55
|
+
@pulumi.getter(name="compartmentId")
|
56
|
+
def compartment_id(self) -> Optional[str]:
|
57
|
+
"""
|
58
|
+
The OCID of the compartment that contains the security attribute namespace.
|
59
|
+
"""
|
60
|
+
return pulumi.get(self, "compartment_id")
|
61
|
+
|
62
|
+
@property
|
63
|
+
@pulumi.getter(name="compartmentIdInSubtree")
|
64
|
+
def compartment_id_in_subtree(self) -> Optional[bool]:
|
65
|
+
return pulumi.get(self, "compartment_id_in_subtree")
|
66
|
+
|
67
|
+
@property
|
68
|
+
@pulumi.getter
|
69
|
+
def filters(self) -> Optional[Sequence['outputs.GetSecurityAttributeNamespacesFilterResult']]:
|
70
|
+
return pulumi.get(self, "filters")
|
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
|
82
|
+
def name(self) -> Optional[str]:
|
83
|
+
"""
|
84
|
+
The name of the security attribute namespace. It must be unique across all security attribute namespaces in the tenancy and cannot be changed.
|
85
|
+
"""
|
86
|
+
return pulumi.get(self, "name")
|
87
|
+
|
88
|
+
@property
|
89
|
+
@pulumi.getter(name="securityAttributeNamespaces")
|
90
|
+
def security_attribute_namespaces(self) -> Sequence['outputs.GetSecurityAttributeNamespacesSecurityAttributeNamespaceResult']:
|
91
|
+
"""
|
92
|
+
The list of security_attribute_namespaces.
|
93
|
+
"""
|
94
|
+
return pulumi.get(self, "security_attribute_namespaces")
|
95
|
+
|
96
|
+
@property
|
97
|
+
@pulumi.getter
|
98
|
+
def state(self) -> Optional[str]:
|
99
|
+
"""
|
100
|
+
The security attribute namespace's current state. After creating a security attribute namespace, make sure its `lifecycleState` is ACTIVE before using it. After retiring a security attribute namespace, make sure its `lifecycleState` is INACTIVE.
|
101
|
+
"""
|
102
|
+
return pulumi.get(self, "state")
|
103
|
+
|
104
|
+
|
105
|
+
class AwaitableGetSecurityAttributeNamespacesResult(GetSecurityAttributeNamespacesResult):
|
106
|
+
# pylint: disable=using-constant-test
|
107
|
+
def __await__(self):
|
108
|
+
if False:
|
109
|
+
yield self
|
110
|
+
return GetSecurityAttributeNamespacesResult(
|
111
|
+
compartment_id=self.compartment_id,
|
112
|
+
compartment_id_in_subtree=self.compartment_id_in_subtree,
|
113
|
+
filters=self.filters,
|
114
|
+
id=self.id,
|
115
|
+
name=self.name,
|
116
|
+
security_attribute_namespaces=self.security_attribute_namespaces,
|
117
|
+
state=self.state)
|
118
|
+
|
119
|
+
|
120
|
+
def get_security_attribute_namespaces(compartment_id: Optional[str] = None,
|
121
|
+
compartment_id_in_subtree: Optional[bool] = None,
|
122
|
+
filters: Optional[Sequence[Union['GetSecurityAttributeNamespacesFilterArgs', 'GetSecurityAttributeNamespacesFilterArgsDict']]] = None,
|
123
|
+
name: Optional[str] = None,
|
124
|
+
state: Optional[str] = None,
|
125
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSecurityAttributeNamespacesResult:
|
126
|
+
"""
|
127
|
+
This data source provides the list of Security Attribute Namespaces in Oracle Cloud Infrastructure Security Attribute service.
|
128
|
+
|
129
|
+
Lists the security attribute namespaces in the specified compartment.
|
130
|
+
|
131
|
+
## Example Usage
|
132
|
+
|
133
|
+
```python
|
134
|
+
import pulumi
|
135
|
+
import pulumi_oci as oci
|
136
|
+
|
137
|
+
test_security_attribute_namespaces = oci.SecurityAttribute.get_security_attribute_namespaces(compartment_id=compartment_id,
|
138
|
+
compartment_id_in_subtree=security_attribute_namespace_compartment_id_in_subtree,
|
139
|
+
name=security_attribute_namespace_name,
|
140
|
+
state=security_attribute_namespace_state)
|
141
|
+
```
|
142
|
+
|
143
|
+
|
144
|
+
: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.
|
145
|
+
:param bool compartment_id_in_subtree: An optional boolean parameter indicating whether to retrieve all security attribute namespaces in subcompartments. If this parameter is not specified, only the namespaces defined in the specified compartment are retrieved.
|
146
|
+
:param str name: A filter to return only resources that match the entire display name given.
|
147
|
+
:param str state: A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
|
148
|
+
"""
|
149
|
+
__args__ = dict()
|
150
|
+
__args__['compartmentId'] = compartment_id
|
151
|
+
__args__['compartmentIdInSubtree'] = compartment_id_in_subtree
|
152
|
+
__args__['filters'] = filters
|
153
|
+
__args__['name'] = name
|
154
|
+
__args__['state'] = state
|
155
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
156
|
+
__ret__ = pulumi.runtime.invoke('oci:SecurityAttribute/getSecurityAttributeNamespaces:getSecurityAttributeNamespaces', __args__, opts=opts, typ=GetSecurityAttributeNamespacesResult).value
|
157
|
+
|
158
|
+
return AwaitableGetSecurityAttributeNamespacesResult(
|
159
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
160
|
+
compartment_id_in_subtree=pulumi.get(__ret__, 'compartment_id_in_subtree'),
|
161
|
+
filters=pulumi.get(__ret__, 'filters'),
|
162
|
+
id=pulumi.get(__ret__, 'id'),
|
163
|
+
name=pulumi.get(__ret__, 'name'),
|
164
|
+
security_attribute_namespaces=pulumi.get(__ret__, 'security_attribute_namespaces'),
|
165
|
+
state=pulumi.get(__ret__, 'state'))
|
166
|
+
def get_security_attribute_namespaces_output(compartment_id: Optional[pulumi.Input[Optional[str]]] = None,
|
167
|
+
compartment_id_in_subtree: Optional[pulumi.Input[Optional[bool]]] = None,
|
168
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetSecurityAttributeNamespacesFilterArgs', 'GetSecurityAttributeNamespacesFilterArgsDict']]]]] = None,
|
169
|
+
name: Optional[pulumi.Input[Optional[str]]] = None,
|
170
|
+
state: Optional[pulumi.Input[Optional[str]]] = None,
|
171
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSecurityAttributeNamespacesResult]:
|
172
|
+
"""
|
173
|
+
This data source provides the list of Security Attribute Namespaces in Oracle Cloud Infrastructure Security Attribute service.
|
174
|
+
|
175
|
+
Lists the security attribute namespaces in the specified compartment.
|
176
|
+
|
177
|
+
## Example Usage
|
178
|
+
|
179
|
+
```python
|
180
|
+
import pulumi
|
181
|
+
import pulumi_oci as oci
|
182
|
+
|
183
|
+
test_security_attribute_namespaces = oci.SecurityAttribute.get_security_attribute_namespaces(compartment_id=compartment_id,
|
184
|
+
compartment_id_in_subtree=security_attribute_namespace_compartment_id_in_subtree,
|
185
|
+
name=security_attribute_namespace_name,
|
186
|
+
state=security_attribute_namespace_state)
|
187
|
+
```
|
188
|
+
|
189
|
+
|
190
|
+
: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.
|
191
|
+
:param bool compartment_id_in_subtree: An optional boolean parameter indicating whether to retrieve all security attribute namespaces in subcompartments. If this parameter is not specified, only the namespaces defined in the specified compartment are retrieved.
|
192
|
+
:param str name: A filter to return only resources that match the entire display name given.
|
193
|
+
:param str state: A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
|
194
|
+
"""
|
195
|
+
__args__ = dict()
|
196
|
+
__args__['compartmentId'] = compartment_id
|
197
|
+
__args__['compartmentIdInSubtree'] = compartment_id_in_subtree
|
198
|
+
__args__['filters'] = filters
|
199
|
+
__args__['name'] = name
|
200
|
+
__args__['state'] = state
|
201
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
202
|
+
__ret__ = pulumi.runtime.invoke_output('oci:SecurityAttribute/getSecurityAttributeNamespaces:getSecurityAttributeNamespaces', __args__, opts=opts, typ=GetSecurityAttributeNamespacesResult)
|
203
|
+
return __ret__.apply(lambda __response__: GetSecurityAttributeNamespacesResult(
|
204
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
205
|
+
compartment_id_in_subtree=pulumi.get(__response__, 'compartment_id_in_subtree'),
|
206
|
+
filters=pulumi.get(__response__, 'filters'),
|
207
|
+
id=pulumi.get(__response__, 'id'),
|
208
|
+
name=pulumi.get(__response__, 'name'),
|
209
|
+
security_attribute_namespaces=pulumi.get(__response__, 'security_attribute_namespaces'),
|
210
|
+
state=pulumi.get(__response__, 'state')))
|
@@ -0,0 +1,169 @@
|
|
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
|
+
from ._inputs import *
|
18
|
+
|
19
|
+
__all__ = [
|
20
|
+
'GetSecurityAttributesResult',
|
21
|
+
'AwaitableGetSecurityAttributesResult',
|
22
|
+
'get_security_attributes',
|
23
|
+
'get_security_attributes_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetSecurityAttributesResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getSecurityAttributes.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, filters=None, id=None, security_attribute_namespace_id=None, security_attributes=None, state=None):
|
32
|
+
if filters and not isinstance(filters, list):
|
33
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
34
|
+
pulumi.set(__self__, "filters", filters)
|
35
|
+
if id and not isinstance(id, str):
|
36
|
+
raise TypeError("Expected argument 'id' to be a str")
|
37
|
+
pulumi.set(__self__, "id", id)
|
38
|
+
if security_attribute_namespace_id and not isinstance(security_attribute_namespace_id, str):
|
39
|
+
raise TypeError("Expected argument 'security_attribute_namespace_id' to be a str")
|
40
|
+
pulumi.set(__self__, "security_attribute_namespace_id", security_attribute_namespace_id)
|
41
|
+
if security_attributes and not isinstance(security_attributes, list):
|
42
|
+
raise TypeError("Expected argument 'security_attributes' to be a list")
|
43
|
+
pulumi.set(__self__, "security_attributes", security_attributes)
|
44
|
+
if state and not isinstance(state, str):
|
45
|
+
raise TypeError("Expected argument 'state' to be a str")
|
46
|
+
pulumi.set(__self__, "state", state)
|
47
|
+
|
48
|
+
@property
|
49
|
+
@pulumi.getter
|
50
|
+
def filters(self) -> Optional[Sequence['outputs.GetSecurityAttributesFilterResult']]:
|
51
|
+
return pulumi.get(self, "filters")
|
52
|
+
|
53
|
+
@property
|
54
|
+
@pulumi.getter
|
55
|
+
def id(self) -> str:
|
56
|
+
"""
|
57
|
+
The provider-assigned unique ID for this managed resource.
|
58
|
+
"""
|
59
|
+
return pulumi.get(self, "id")
|
60
|
+
|
61
|
+
@property
|
62
|
+
@pulumi.getter(name="securityAttributeNamespaceId")
|
63
|
+
def security_attribute_namespace_id(self) -> str:
|
64
|
+
"""
|
65
|
+
The OCID of the security attribute namespace that contains the security attribute definition.
|
66
|
+
"""
|
67
|
+
return pulumi.get(self, "security_attribute_namespace_id")
|
68
|
+
|
69
|
+
@property
|
70
|
+
@pulumi.getter(name="securityAttributes")
|
71
|
+
def security_attributes(self) -> Sequence['outputs.GetSecurityAttributesSecurityAttributeResult']:
|
72
|
+
"""
|
73
|
+
The list of security_attributes.
|
74
|
+
"""
|
75
|
+
return pulumi.get(self, "security_attributes")
|
76
|
+
|
77
|
+
@property
|
78
|
+
@pulumi.getter
|
79
|
+
def state(self) -> Optional[str]:
|
80
|
+
"""
|
81
|
+
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.
|
82
|
+
"""
|
83
|
+
return pulumi.get(self, "state")
|
84
|
+
|
85
|
+
|
86
|
+
class AwaitableGetSecurityAttributesResult(GetSecurityAttributesResult):
|
87
|
+
# pylint: disable=using-constant-test
|
88
|
+
def __await__(self):
|
89
|
+
if False:
|
90
|
+
yield self
|
91
|
+
return GetSecurityAttributesResult(
|
92
|
+
filters=self.filters,
|
93
|
+
id=self.id,
|
94
|
+
security_attribute_namespace_id=self.security_attribute_namespace_id,
|
95
|
+
security_attributes=self.security_attributes,
|
96
|
+
state=self.state)
|
97
|
+
|
98
|
+
|
99
|
+
def get_security_attributes(filters: Optional[Sequence[Union['GetSecurityAttributesFilterArgs', 'GetSecurityAttributesFilterArgsDict']]] = None,
|
100
|
+
security_attribute_namespace_id: Optional[str] = None,
|
101
|
+
state: Optional[str] = None,
|
102
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSecurityAttributesResult:
|
103
|
+
"""
|
104
|
+
This data source provides the list of Security Attributes in Oracle Cloud Infrastructure Security Attribute service.
|
105
|
+
|
106
|
+
Lists the security attributes in the specified namespace.
|
107
|
+
|
108
|
+
## Example Usage
|
109
|
+
|
110
|
+
```python
|
111
|
+
import pulumi
|
112
|
+
import pulumi_oci as oci
|
113
|
+
|
114
|
+
test_security_attributes = oci.SecurityAttribute.get_security_attributes(security_attribute_namespace_id=test_security_attribute_namespace["id"],
|
115
|
+
state=security_attribute_state)
|
116
|
+
```
|
117
|
+
|
118
|
+
|
119
|
+
:param str security_attribute_namespace_id: The OCID of the security attribute namespace.
|
120
|
+
:param str state: A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
|
121
|
+
"""
|
122
|
+
__args__ = dict()
|
123
|
+
__args__['filters'] = filters
|
124
|
+
__args__['securityAttributeNamespaceId'] = security_attribute_namespace_id
|
125
|
+
__args__['state'] = state
|
126
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
127
|
+
__ret__ = pulumi.runtime.invoke('oci:SecurityAttribute/getSecurityAttributes:getSecurityAttributes', __args__, opts=opts, typ=GetSecurityAttributesResult).value
|
128
|
+
|
129
|
+
return AwaitableGetSecurityAttributesResult(
|
130
|
+
filters=pulumi.get(__ret__, 'filters'),
|
131
|
+
id=pulumi.get(__ret__, 'id'),
|
132
|
+
security_attribute_namespace_id=pulumi.get(__ret__, 'security_attribute_namespace_id'),
|
133
|
+
security_attributes=pulumi.get(__ret__, 'security_attributes'),
|
134
|
+
state=pulumi.get(__ret__, 'state'))
|
135
|
+
def get_security_attributes_output(filters: Optional[pulumi.Input[Optional[Sequence[Union['GetSecurityAttributesFilterArgs', 'GetSecurityAttributesFilterArgsDict']]]]] = None,
|
136
|
+
security_attribute_namespace_id: Optional[pulumi.Input[str]] = None,
|
137
|
+
state: Optional[pulumi.Input[Optional[str]]] = None,
|
138
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSecurityAttributesResult]:
|
139
|
+
"""
|
140
|
+
This data source provides the list of Security Attributes in Oracle Cloud Infrastructure Security Attribute service.
|
141
|
+
|
142
|
+
Lists the security attributes in the specified namespace.
|
143
|
+
|
144
|
+
## Example Usage
|
145
|
+
|
146
|
+
```python
|
147
|
+
import pulumi
|
148
|
+
import pulumi_oci as oci
|
149
|
+
|
150
|
+
test_security_attributes = oci.SecurityAttribute.get_security_attributes(security_attribute_namespace_id=test_security_attribute_namespace["id"],
|
151
|
+
state=security_attribute_state)
|
152
|
+
```
|
153
|
+
|
154
|
+
|
155
|
+
:param str security_attribute_namespace_id: The OCID of the security attribute namespace.
|
156
|
+
:param str state: A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
|
157
|
+
"""
|
158
|
+
__args__ = dict()
|
159
|
+
__args__['filters'] = filters
|
160
|
+
__args__['securityAttributeNamespaceId'] = security_attribute_namespace_id
|
161
|
+
__args__['state'] = state
|
162
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
163
|
+
__ret__ = pulumi.runtime.invoke_output('oci:SecurityAttribute/getSecurityAttributes:getSecurityAttributes', __args__, opts=opts, typ=GetSecurityAttributesResult)
|
164
|
+
return __ret__.apply(lambda __response__: GetSecurityAttributesResult(
|
165
|
+
filters=pulumi.get(__response__, 'filters'),
|
166
|
+
id=pulumi.get(__response__, 'id'),
|
167
|
+
security_attribute_namespace_id=pulumi.get(__response__, 'security_attribute_namespace_id'),
|
168
|
+
security_attributes=pulumi.get(__response__, 'security_attributes'),
|
169
|
+
state=pulumi.get(__response__, 'state')))
|