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,364 @@
|
|
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
|
+
'GetSqlCollectionsResult',
|
21
|
+
'AwaitableGetSqlCollectionsResult',
|
22
|
+
'get_sql_collections',
|
23
|
+
'get_sql_collections_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetSqlCollectionsResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getSqlCollections.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, access_level=None, compartment_id=None, compartment_id_in_subtree=None, db_user_name=None, display_name=None, filters=None, id=None, sql_collection_collections=None, sql_collection_id=None, state=None, target_id=None, time_created_greater_than_or_equal_to=None, time_created_less_than=None):
|
32
|
+
if access_level and not isinstance(access_level, str):
|
33
|
+
raise TypeError("Expected argument 'access_level' to be a str")
|
34
|
+
pulumi.set(__self__, "access_level", access_level)
|
35
|
+
if compartment_id and not isinstance(compartment_id, str):
|
36
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
37
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
38
|
+
if compartment_id_in_subtree and not isinstance(compartment_id_in_subtree, bool):
|
39
|
+
raise TypeError("Expected argument 'compartment_id_in_subtree' to be a bool")
|
40
|
+
pulumi.set(__self__, "compartment_id_in_subtree", compartment_id_in_subtree)
|
41
|
+
if db_user_name and not isinstance(db_user_name, str):
|
42
|
+
raise TypeError("Expected argument 'db_user_name' to be a str")
|
43
|
+
pulumi.set(__self__, "db_user_name", db_user_name)
|
44
|
+
if display_name and not isinstance(display_name, str):
|
45
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
46
|
+
pulumi.set(__self__, "display_name", display_name)
|
47
|
+
if filters and not isinstance(filters, list):
|
48
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
49
|
+
pulumi.set(__self__, "filters", filters)
|
50
|
+
if id and not isinstance(id, str):
|
51
|
+
raise TypeError("Expected argument 'id' to be a str")
|
52
|
+
pulumi.set(__self__, "id", id)
|
53
|
+
if sql_collection_collections and not isinstance(sql_collection_collections, list):
|
54
|
+
raise TypeError("Expected argument 'sql_collection_collections' to be a list")
|
55
|
+
pulumi.set(__self__, "sql_collection_collections", sql_collection_collections)
|
56
|
+
if sql_collection_id and not isinstance(sql_collection_id, str):
|
57
|
+
raise TypeError("Expected argument 'sql_collection_id' to be a str")
|
58
|
+
pulumi.set(__self__, "sql_collection_id", sql_collection_id)
|
59
|
+
if state and not isinstance(state, str):
|
60
|
+
raise TypeError("Expected argument 'state' to be a str")
|
61
|
+
pulumi.set(__self__, "state", state)
|
62
|
+
if target_id and not isinstance(target_id, str):
|
63
|
+
raise TypeError("Expected argument 'target_id' to be a str")
|
64
|
+
pulumi.set(__self__, "target_id", target_id)
|
65
|
+
if time_created_greater_than_or_equal_to and not isinstance(time_created_greater_than_or_equal_to, str):
|
66
|
+
raise TypeError("Expected argument 'time_created_greater_than_or_equal_to' to be a str")
|
67
|
+
pulumi.set(__self__, "time_created_greater_than_or_equal_to", time_created_greater_than_or_equal_to)
|
68
|
+
if time_created_less_than and not isinstance(time_created_less_than, str):
|
69
|
+
raise TypeError("Expected argument 'time_created_less_than' to be a str")
|
70
|
+
pulumi.set(__self__, "time_created_less_than", time_created_less_than)
|
71
|
+
|
72
|
+
@property
|
73
|
+
@pulumi.getter(name="accessLevel")
|
74
|
+
def access_level(self) -> Optional[str]:
|
75
|
+
return pulumi.get(self, "access_level")
|
76
|
+
|
77
|
+
@property
|
78
|
+
@pulumi.getter(name="compartmentId")
|
79
|
+
def compartment_id(self) -> str:
|
80
|
+
"""
|
81
|
+
The OCID of the compartment containing the SQL collection.
|
82
|
+
"""
|
83
|
+
return pulumi.get(self, "compartment_id")
|
84
|
+
|
85
|
+
@property
|
86
|
+
@pulumi.getter(name="compartmentIdInSubtree")
|
87
|
+
def compartment_id_in_subtree(self) -> Optional[bool]:
|
88
|
+
return pulumi.get(self, "compartment_id_in_subtree")
|
89
|
+
|
90
|
+
@property
|
91
|
+
@pulumi.getter(name="dbUserName")
|
92
|
+
def db_user_name(self) -> Optional[str]:
|
93
|
+
"""
|
94
|
+
The database user name.
|
95
|
+
"""
|
96
|
+
return pulumi.get(self, "db_user_name")
|
97
|
+
|
98
|
+
@property
|
99
|
+
@pulumi.getter(name="displayName")
|
100
|
+
def display_name(self) -> Optional[str]:
|
101
|
+
"""
|
102
|
+
The display name of the SQL collection.
|
103
|
+
"""
|
104
|
+
return pulumi.get(self, "display_name")
|
105
|
+
|
106
|
+
@property
|
107
|
+
@pulumi.getter
|
108
|
+
def filters(self) -> Optional[Sequence['outputs.GetSqlCollectionsFilterResult']]:
|
109
|
+
return pulumi.get(self, "filters")
|
110
|
+
|
111
|
+
@property
|
112
|
+
@pulumi.getter
|
113
|
+
def id(self) -> str:
|
114
|
+
"""
|
115
|
+
The provider-assigned unique ID for this managed resource.
|
116
|
+
"""
|
117
|
+
return pulumi.get(self, "id")
|
118
|
+
|
119
|
+
@property
|
120
|
+
@pulumi.getter(name="sqlCollectionCollections")
|
121
|
+
def sql_collection_collections(self) -> Sequence['outputs.GetSqlCollectionsSqlCollectionCollectionResult']:
|
122
|
+
"""
|
123
|
+
The list of sql_collection_collection.
|
124
|
+
"""
|
125
|
+
return pulumi.get(self, "sql_collection_collections")
|
126
|
+
|
127
|
+
@property
|
128
|
+
@pulumi.getter(name="sqlCollectionId")
|
129
|
+
def sql_collection_id(self) -> Optional[str]:
|
130
|
+
return pulumi.get(self, "sql_collection_id")
|
131
|
+
|
132
|
+
@property
|
133
|
+
@pulumi.getter
|
134
|
+
def state(self) -> Optional[str]:
|
135
|
+
"""
|
136
|
+
The current state of the SQL collection.
|
137
|
+
"""
|
138
|
+
return pulumi.get(self, "state")
|
139
|
+
|
140
|
+
@property
|
141
|
+
@pulumi.getter(name="targetId")
|
142
|
+
def target_id(self) -> Optional[str]:
|
143
|
+
"""
|
144
|
+
The OCID of the target corresponding to the security policy deployment.
|
145
|
+
"""
|
146
|
+
return pulumi.get(self, "target_id")
|
147
|
+
|
148
|
+
@property
|
149
|
+
@pulumi.getter(name="timeCreatedGreaterThanOrEqualTo")
|
150
|
+
def time_created_greater_than_or_equal_to(self) -> Optional[str]:
|
151
|
+
return pulumi.get(self, "time_created_greater_than_or_equal_to")
|
152
|
+
|
153
|
+
@property
|
154
|
+
@pulumi.getter(name="timeCreatedLessThan")
|
155
|
+
def time_created_less_than(self) -> Optional[str]:
|
156
|
+
return pulumi.get(self, "time_created_less_than")
|
157
|
+
|
158
|
+
|
159
|
+
class AwaitableGetSqlCollectionsResult(GetSqlCollectionsResult):
|
160
|
+
# pylint: disable=using-constant-test
|
161
|
+
def __await__(self):
|
162
|
+
if False:
|
163
|
+
yield self
|
164
|
+
return GetSqlCollectionsResult(
|
165
|
+
access_level=self.access_level,
|
166
|
+
compartment_id=self.compartment_id,
|
167
|
+
compartment_id_in_subtree=self.compartment_id_in_subtree,
|
168
|
+
db_user_name=self.db_user_name,
|
169
|
+
display_name=self.display_name,
|
170
|
+
filters=self.filters,
|
171
|
+
id=self.id,
|
172
|
+
sql_collection_collections=self.sql_collection_collections,
|
173
|
+
sql_collection_id=self.sql_collection_id,
|
174
|
+
state=self.state,
|
175
|
+
target_id=self.target_id,
|
176
|
+
time_created_greater_than_or_equal_to=self.time_created_greater_than_or_equal_to,
|
177
|
+
time_created_less_than=self.time_created_less_than)
|
178
|
+
|
179
|
+
|
180
|
+
def get_sql_collections(access_level: Optional[str] = None,
|
181
|
+
compartment_id: Optional[str] = None,
|
182
|
+
compartment_id_in_subtree: Optional[bool] = None,
|
183
|
+
db_user_name: Optional[str] = None,
|
184
|
+
display_name: Optional[str] = None,
|
185
|
+
filters: Optional[Sequence[Union['GetSqlCollectionsFilterArgs', 'GetSqlCollectionsFilterArgsDict']]] = None,
|
186
|
+
sql_collection_id: Optional[str] = None,
|
187
|
+
state: Optional[str] = None,
|
188
|
+
target_id: Optional[str] = None,
|
189
|
+
time_created_greater_than_or_equal_to: Optional[str] = None,
|
190
|
+
time_created_less_than: Optional[str] = None,
|
191
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSqlCollectionsResult:
|
192
|
+
"""
|
193
|
+
This data source provides the list of Sql Collections in Oracle Cloud Infrastructure Data Safe service.
|
194
|
+
|
195
|
+
Retrieves a list of all SQL collections in Data Safe.
|
196
|
+
|
197
|
+
The ListSqlCollections operation returns only the SQL collections in the specified `compartmentId`.
|
198
|
+
|
199
|
+
The parameter `accessLevel` specifies whether to return only those compartments for which the
|
200
|
+
requestor has INSPECT permissions on at least one resource directly
|
201
|
+
or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if
|
202
|
+
Principal doesn't have access to even one of the child compartments. This is valid only when
|
203
|
+
`compartmentIdInSubtree` is set to `true`.
|
204
|
+
|
205
|
+
The parameter `compartmentIdInSubtree` applies when you perform ListSqlCollections on the
|
206
|
+
`compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned.
|
207
|
+
To get a full list of all compartments and subcompartments in the tenancy (root compartment),
|
208
|
+
set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
|
209
|
+
|
210
|
+
## Example Usage
|
211
|
+
|
212
|
+
```python
|
213
|
+
import pulumi
|
214
|
+
import pulumi_oci as oci
|
215
|
+
|
216
|
+
test_sql_collections = oci.DataSafe.get_sql_collections(compartment_id=compartment_id,
|
217
|
+
access_level=sql_collection_access_level,
|
218
|
+
compartment_id_in_subtree=sql_collection_compartment_id_in_subtree,
|
219
|
+
db_user_name=test_user["name"],
|
220
|
+
display_name=sql_collection_display_name,
|
221
|
+
sql_collection_id=test_sql_collection["id"],
|
222
|
+
state=sql_collection_state,
|
223
|
+
target_id=test_target["id"],
|
224
|
+
time_created_greater_than_or_equal_to=sql_collection_time_created_greater_than_or_equal_to,
|
225
|
+
time_created_less_than=sql_collection_time_created_less_than)
|
226
|
+
```
|
227
|
+
|
228
|
+
|
229
|
+
:param str access_level: Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
|
230
|
+
:param str compartment_id: A filter to return only resources that match the specified compartment OCID.
|
231
|
+
:param bool compartment_id_in_subtree: Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
|
232
|
+
:param str db_user_name: A filter to return only items that match the specified user name.
|
233
|
+
:param str display_name: A filter to return only resources that match the specified display name.
|
234
|
+
:param str sql_collection_id: An optional filter to return only resources that match the specified OCID of the SQL collection resource.
|
235
|
+
:param str state: The current state of the SQL collection.
|
236
|
+
:param str target_id: A filter to return only items related to a specific target OCID.
|
237
|
+
:param str time_created_greater_than_or_equal_to: A filter to return only the resources that were created after the specified date and time, as defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.
|
238
|
+
|
239
|
+
**Example:** 2016-12-19T16:39:57.600Z
|
240
|
+
:param str time_created_less_than: Search for resources that were created before a specific date. Specifying this parameter corresponding `timeCreatedLessThan` parameter will retrieve all resources created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.
|
241
|
+
|
242
|
+
**Example:** 2016-12-19T16:39:57.600Z
|
243
|
+
"""
|
244
|
+
__args__ = dict()
|
245
|
+
__args__['accessLevel'] = access_level
|
246
|
+
__args__['compartmentId'] = compartment_id
|
247
|
+
__args__['compartmentIdInSubtree'] = compartment_id_in_subtree
|
248
|
+
__args__['dbUserName'] = db_user_name
|
249
|
+
__args__['displayName'] = display_name
|
250
|
+
__args__['filters'] = filters
|
251
|
+
__args__['sqlCollectionId'] = sql_collection_id
|
252
|
+
__args__['state'] = state
|
253
|
+
__args__['targetId'] = target_id
|
254
|
+
__args__['timeCreatedGreaterThanOrEqualTo'] = time_created_greater_than_or_equal_to
|
255
|
+
__args__['timeCreatedLessThan'] = time_created_less_than
|
256
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
257
|
+
__ret__ = pulumi.runtime.invoke('oci:DataSafe/getSqlCollections:getSqlCollections', __args__, opts=opts, typ=GetSqlCollectionsResult).value
|
258
|
+
|
259
|
+
return AwaitableGetSqlCollectionsResult(
|
260
|
+
access_level=pulumi.get(__ret__, 'access_level'),
|
261
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
262
|
+
compartment_id_in_subtree=pulumi.get(__ret__, 'compartment_id_in_subtree'),
|
263
|
+
db_user_name=pulumi.get(__ret__, 'db_user_name'),
|
264
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
265
|
+
filters=pulumi.get(__ret__, 'filters'),
|
266
|
+
id=pulumi.get(__ret__, 'id'),
|
267
|
+
sql_collection_collections=pulumi.get(__ret__, 'sql_collection_collections'),
|
268
|
+
sql_collection_id=pulumi.get(__ret__, 'sql_collection_id'),
|
269
|
+
state=pulumi.get(__ret__, 'state'),
|
270
|
+
target_id=pulumi.get(__ret__, 'target_id'),
|
271
|
+
time_created_greater_than_or_equal_to=pulumi.get(__ret__, 'time_created_greater_than_or_equal_to'),
|
272
|
+
time_created_less_than=pulumi.get(__ret__, 'time_created_less_than'))
|
273
|
+
def get_sql_collections_output(access_level: Optional[pulumi.Input[Optional[str]]] = None,
|
274
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
275
|
+
compartment_id_in_subtree: Optional[pulumi.Input[Optional[bool]]] = None,
|
276
|
+
db_user_name: Optional[pulumi.Input[Optional[str]]] = None,
|
277
|
+
display_name: Optional[pulumi.Input[Optional[str]]] = None,
|
278
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetSqlCollectionsFilterArgs', 'GetSqlCollectionsFilterArgsDict']]]]] = None,
|
279
|
+
sql_collection_id: Optional[pulumi.Input[Optional[str]]] = None,
|
280
|
+
state: Optional[pulumi.Input[Optional[str]]] = None,
|
281
|
+
target_id: Optional[pulumi.Input[Optional[str]]] = None,
|
282
|
+
time_created_greater_than_or_equal_to: Optional[pulumi.Input[Optional[str]]] = None,
|
283
|
+
time_created_less_than: Optional[pulumi.Input[Optional[str]]] = None,
|
284
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSqlCollectionsResult]:
|
285
|
+
"""
|
286
|
+
This data source provides the list of Sql Collections in Oracle Cloud Infrastructure Data Safe service.
|
287
|
+
|
288
|
+
Retrieves a list of all SQL collections in Data Safe.
|
289
|
+
|
290
|
+
The ListSqlCollections operation returns only the SQL collections in the specified `compartmentId`.
|
291
|
+
|
292
|
+
The parameter `accessLevel` specifies whether to return only those compartments for which the
|
293
|
+
requestor has INSPECT permissions on at least one resource directly
|
294
|
+
or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if
|
295
|
+
Principal doesn't have access to even one of the child compartments. This is valid only when
|
296
|
+
`compartmentIdInSubtree` is set to `true`.
|
297
|
+
|
298
|
+
The parameter `compartmentIdInSubtree` applies when you perform ListSqlCollections on the
|
299
|
+
`compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned.
|
300
|
+
To get a full list of all compartments and subcompartments in the tenancy (root compartment),
|
301
|
+
set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
|
302
|
+
|
303
|
+
## Example Usage
|
304
|
+
|
305
|
+
```python
|
306
|
+
import pulumi
|
307
|
+
import pulumi_oci as oci
|
308
|
+
|
309
|
+
test_sql_collections = oci.DataSafe.get_sql_collections(compartment_id=compartment_id,
|
310
|
+
access_level=sql_collection_access_level,
|
311
|
+
compartment_id_in_subtree=sql_collection_compartment_id_in_subtree,
|
312
|
+
db_user_name=test_user["name"],
|
313
|
+
display_name=sql_collection_display_name,
|
314
|
+
sql_collection_id=test_sql_collection["id"],
|
315
|
+
state=sql_collection_state,
|
316
|
+
target_id=test_target["id"],
|
317
|
+
time_created_greater_than_or_equal_to=sql_collection_time_created_greater_than_or_equal_to,
|
318
|
+
time_created_less_than=sql_collection_time_created_less_than)
|
319
|
+
```
|
320
|
+
|
321
|
+
|
322
|
+
:param str access_level: Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
|
323
|
+
:param str compartment_id: A filter to return only resources that match the specified compartment OCID.
|
324
|
+
:param bool compartment_id_in_subtree: Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
|
325
|
+
:param str db_user_name: A filter to return only items that match the specified user name.
|
326
|
+
:param str display_name: A filter to return only resources that match the specified display name.
|
327
|
+
:param str sql_collection_id: An optional filter to return only resources that match the specified OCID of the SQL collection resource.
|
328
|
+
:param str state: The current state of the SQL collection.
|
329
|
+
:param str target_id: A filter to return only items related to a specific target OCID.
|
330
|
+
:param str time_created_greater_than_or_equal_to: A filter to return only the resources that were created after the specified date and time, as defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.
|
331
|
+
|
332
|
+
**Example:** 2016-12-19T16:39:57.600Z
|
333
|
+
:param str time_created_less_than: Search for resources that were created before a specific date. Specifying this parameter corresponding `timeCreatedLessThan` parameter will retrieve all resources created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.
|
334
|
+
|
335
|
+
**Example:** 2016-12-19T16:39:57.600Z
|
336
|
+
"""
|
337
|
+
__args__ = dict()
|
338
|
+
__args__['accessLevel'] = access_level
|
339
|
+
__args__['compartmentId'] = compartment_id
|
340
|
+
__args__['compartmentIdInSubtree'] = compartment_id_in_subtree
|
341
|
+
__args__['dbUserName'] = db_user_name
|
342
|
+
__args__['displayName'] = display_name
|
343
|
+
__args__['filters'] = filters
|
344
|
+
__args__['sqlCollectionId'] = sql_collection_id
|
345
|
+
__args__['state'] = state
|
346
|
+
__args__['targetId'] = target_id
|
347
|
+
__args__['timeCreatedGreaterThanOrEqualTo'] = time_created_greater_than_or_equal_to
|
348
|
+
__args__['timeCreatedLessThan'] = time_created_less_than
|
349
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
350
|
+
__ret__ = pulumi.runtime.invoke_output('oci:DataSafe/getSqlCollections:getSqlCollections', __args__, opts=opts, typ=GetSqlCollectionsResult)
|
351
|
+
return __ret__.apply(lambda __response__: GetSqlCollectionsResult(
|
352
|
+
access_level=pulumi.get(__response__, 'access_level'),
|
353
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
354
|
+
compartment_id_in_subtree=pulumi.get(__response__, 'compartment_id_in_subtree'),
|
355
|
+
db_user_name=pulumi.get(__response__, 'db_user_name'),
|
356
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
357
|
+
filters=pulumi.get(__response__, 'filters'),
|
358
|
+
id=pulumi.get(__response__, 'id'),
|
359
|
+
sql_collection_collections=pulumi.get(__response__, 'sql_collection_collections'),
|
360
|
+
sql_collection_id=pulumi.get(__response__, 'sql_collection_id'),
|
361
|
+
state=pulumi.get(__response__, 'state'),
|
362
|
+
target_id=pulumi.get(__response__, 'target_id'),
|
363
|
+
time_created_greater_than_or_equal_to=pulumi.get(__response__, 'time_created_greater_than_or_equal_to'),
|
364
|
+
time_created_less_than=pulumi.get(__response__, 'time_created_less_than')))
|