pulumi-oci 2.25.0a1740032973__py3-none-any.whl → 2.26.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 +102 -0
- pulumi_oci/config/__init__.pyi +2 -0
- pulumi_oci/config/vars.py +4 -0
- pulumi_oci/containerengine/_inputs.py +74 -35
- pulumi_oci/containerengine/cluster.py +4 -0
- pulumi_oci/containerengine/container_instance.py +2 -4
- pulumi_oci/containerengine/outputs.py +180 -21
- pulumi_oci/containerinstances/outputs.py +0 -14
- pulumi_oci/core/_inputs.py +21 -33
- pulumi_oci/core/outputs.py +13 -21
- pulumi_oci/database/__init__.py +1 -0
- pulumi_oci/database/_inputs.py +1246 -57
- pulumi_oci/database/application_vip.py +59 -10
- pulumi_oci/database/autonomous_container_database.py +92 -0
- pulumi_oci/database/autonomous_database.py +90 -22
- pulumi_oci/database/backup.py +153 -5
- pulumi_oci/database/backup_destination.py +84 -0
- pulumi_oci/database/cloud_exadata_infrastructure.py +126 -0
- pulumi_oci/database/cloud_vm_cluster.py +163 -30
- pulumi_oci/database/data_guard_association.py +49 -0
- pulumi_oci/database/db_node.py +64 -8
- pulumi_oci/database/db_system.py +111 -8
- pulumi_oci/database/exadata_infrastructure.py +157 -3
- pulumi_oci/database/exadata_infrastructure_configure_exascale_management.py +1615 -0
- pulumi_oci/database/exadb_vm_cluster.py +84 -7
- pulumi_oci/database/exascale_db_storage_vault.py +147 -0
- pulumi_oci/database/external_container_database.py +4 -4
- pulumi_oci/database/external_non_container_database.py +4 -4
- pulumi_oci/database/external_pluggable_database.py +4 -4
- pulumi_oci/database/get_application_vip.py +16 -2
- pulumi_oci/database/get_autonomous_container_database.py +43 -1
- pulumi_oci/database/get_autonomous_database.py +29 -1
- pulumi_oci/database/get_autonomous_databases.py +0 -26
- pulumi_oci/database/get_backup_destination.py +43 -1
- pulumi_oci/database/get_backups.py +136 -10
- pulumi_oci/database/get_cloud_exadata_infrastructure.py +43 -1
- pulumi_oci/database/get_cloud_vm_cluster.py +59 -3
- pulumi_oci/database/get_cloud_vm_clusters.py +28 -6
- pulumi_oci/database/get_data_guard_association.py +12 -1
- pulumi_oci/database/get_database_software_images.py +20 -1
- pulumi_oci/database/get_db_node.py +31 -4
- pulumi_oci/database/get_db_server.py +15 -1
- pulumi_oci/database/get_exadata_infrastructure.py +57 -1
- pulumi_oci/database/get_exadb_vm_cluster.py +29 -1
- pulumi_oci/database/get_exadb_vm_clusters.py +25 -3
- pulumi_oci/database/get_exascale_db_storage_vault.py +43 -1
- pulumi_oci/database/get_exascale_db_storage_vaults.py +47 -3
- pulumi_oci/database/get_external_container_database.py +1 -1
- pulumi_oci/database/get_external_non_container_database.py +1 -1
- pulumi_oci/database/get_external_pluggable_database.py +1 -1
- pulumi_oci/database/get_flex_components.py +28 -6
- pulumi_oci/database/get_maintenance_runs.py +20 -1
- pulumi_oci/database/get_vm_cluster.py +60 -4
- pulumi_oci/database/get_vm_clusters.py +25 -3
- pulumi_oci/database/outputs.py +2260 -87
- pulumi_oci/database/pluggable_database.py +13 -13
- pulumi_oci/database/vm_cluster.py +172 -18
- pulumi_oci/database/vm_cluster_add_virtual_network.py +114 -2
- pulumi_oci/database/vm_cluster_remove_virtual_machine.py +114 -2
- pulumi_oci/datasafe/__init__.py +7 -0
- pulumi_oci/datasafe/_inputs.py +301 -0
- pulumi_oci/datasafe/discovery_mod.py +49 -0
- pulumi_oci/datasafe/get_discovery_job.py +15 -1
- pulumi_oci/datasafe/get_masking_report.py +46 -4
- pulumi_oci/datasafe/get_masking_report_masking_errors.py +166 -0
- pulumi_oci/datasafe/get_security_assessment_finding.py +31 -1
- pulumi_oci/datasafe/get_security_assessment_findings.py +43 -3
- pulumi_oci/datasafe/get_sensitive_column_analytics.py +370 -0
- pulumi_oci/datasafe/get_sensitive_data_model.py +15 -1
- pulumi_oci/datasafe/get_sensitive_type_group.py +253 -0
- pulumi_oci/datasafe/get_sensitive_type_group_grouped_sensitive_types.py +166 -0
- pulumi_oci/datasafe/get_sensitive_type_groups.py +294 -0
- pulumi_oci/datasafe/outputs.py +676 -3
- pulumi_oci/datasafe/sensitive_data_model.py +49 -0
- pulumi_oci/datasafe/sensitive_type_group.py +563 -0
- pulumi_oci/datasafe/sensitive_type_group_grouped_sensitive_type.py +287 -0
- pulumi_oci/datascience/__init__.py +4 -0
- pulumi_oci/datascience/_inputs.py +1160 -41
- pulumi_oci/datascience/get_model.py +29 -1
- pulumi_oci/datascience/get_model_custom_metadata_artifact_content.py +151 -0
- pulumi_oci/datascience/get_model_defined_metadata_artifact_content.py +151 -0
- pulumi_oci/datascience/get_model_version_set.py +15 -1
- pulumi_oci/datascience/get_model_version_sets.py +25 -3
- pulumi_oci/datascience/get_models.py +25 -3
- pulumi_oci/datascience/get_pipeline.py +15 -1
- pulumi_oci/datascience/model.py +64 -0
- pulumi_oci/datascience/model_custom_metadata_artifact.py +418 -0
- pulumi_oci/datascience/model_defined_metadata_artifact.py +418 -0
- pulumi_oci/datascience/model_version_set.py +28 -0
- pulumi_oci/datascience/outputs.py +4343 -2164
- pulumi_oci/datascience/pipeline.py +48 -141
- pulumi_oci/datascience/pipeline_run.py +32 -0
- pulumi_oci/dblm/__init__.py +17 -0
- pulumi_oci/dblm/_inputs.py +275 -0
- pulumi_oci/dblm/get_vulnerability.py +242 -0
- pulumi_oci/dblm/get_vulnerability_aggregated_vulnerability_data.py +220 -0
- pulumi_oci/dblm/get_vulnerability_notifications.py +144 -0
- pulumi_oci/dblm/get_vulnerability_resources.py +258 -0
- pulumi_oci/dblm/get_vulnerability_scan.py +267 -0
- pulumi_oci/dblm/get_vulnerability_scans.py +270 -0
- pulumi_oci/dblm/get_vulnerability_vulnerabilities.py +258 -0
- pulumi_oci/dblm/outputs.py +1294 -0
- pulumi_oci/dblm/vulnerability_scan.py +521 -0
- pulumi_oci/email/dkim.py +120 -20
- pulumi_oci/email/get_dkim.py +40 -1
- pulumi_oci/email/outputs.py +29 -0
- pulumi_oci/filestorage/__init__.py +3 -0
- pulumi_oci/filestorage/_inputs.py +49 -0
- pulumi_oci/filestorage/file_system.py +133 -0
- pulumi_oci/filestorage/file_system_quota_rule.py +593 -0
- pulumi_oci/filestorage/filesystem_snapshot_policy.py +28 -0
- pulumi_oci/filestorage/get_file_system_quota_rule.py +248 -0
- pulumi_oci/filestorage/get_file_system_quota_rules.py +210 -0
- pulumi_oci/filestorage/get_filesystem_snapshot_policy.py +15 -1
- pulumi_oci/filestorage/get_outbound_connector.py +15 -1
- pulumi_oci/filestorage/get_replication.py +15 -1
- pulumi_oci/filestorage/get_replication_target.py +15 -1
- pulumi_oci/filestorage/get_snapshot.py +15 -1
- pulumi_oci/filestorage/mount_target.py +28 -0
- pulumi_oci/filestorage/outbound_connector.py +28 -0
- pulumi_oci/filestorage/outputs.py +263 -0
- pulumi_oci/filestorage/replication.py +28 -0
- pulumi_oci/filestorage/snapshot.py +28 -0
- pulumi_oci/goldengate/connection.py +561 -162
- pulumi_oci/goldengate/database_registration.py +14 -14
- pulumi_oci/goldengate/get_connection.py +117 -6
- pulumi_oci/goldengate/outputs.py +96 -10
- pulumi_oci/jms/__init__.py +4 -0
- pulumi_oci/jms/_inputs.py +196 -0
- pulumi_oci/jms/get_fleet_error_analytics.py +163 -0
- pulumi_oci/jms/get_fleet_errors.py +264 -0
- pulumi_oci/jms/get_fleet_performance_tuning_analysis_results.py +23 -1
- pulumi_oci/jms/get_jms_plugins.py +23 -1
- pulumi_oci/jms/get_plugin_error_analytics.py +163 -0
- pulumi_oci/jms/get_plugin_errors.py +264 -0
- pulumi_oci/jms/outputs.py +566 -6
- pulumi_oci/mysql/_inputs.py +1239 -10
- pulumi_oci/mysql/channel.py +28 -0
- pulumi_oci/mysql/get_channel.py +15 -1
- pulumi_oci/mysql/get_mysql_backup.py +15 -1
- pulumi_oci/mysql/get_mysql_configuration.py +15 -1
- pulumi_oci/mysql/get_mysql_db_system.py +15 -1
- pulumi_oci/mysql/mysql_backup.py +28 -0
- pulumi_oci/mysql/mysql_configuration.py +106 -0
- pulumi_oci/mysql/mysql_db_system.py +36 -0
- pulumi_oci/mysql/outputs.py +2008 -35
- pulumi_oci/opensearch/__init__.py +3 -0
- pulumi_oci/opensearch/_inputs.py +101 -0
- pulumi_oci/opensearch/cluster.py +76 -29
- pulumi_oci/opensearch/get_opensearch_cluster.py +12 -1
- pulumi_oci/opensearch/get_opensearch_cluster_pipeline.py +433 -0
- pulumi_oci/opensearch/get_opensearch_cluster_pipelines.py +218 -0
- pulumi_oci/opensearch/opensearch_cluster_pipeline.py +1172 -0
- pulumi_oci/opensearch/outputs.py +425 -0
- pulumi_oci/provider.py +20 -0
- pulumi_oci/psql/_inputs.py +258 -0
- pulumi_oci/psql/backup.py +129 -28
- pulumi_oci/psql/db_system.py +10 -0
- pulumi_oci/psql/get_backup.py +47 -2
- pulumi_oci/psql/get_backups.py +3 -0
- pulumi_oci/psql/get_configurations.py +23 -1
- pulumi_oci/psql/get_db_system.py +1 -1
- pulumi_oci/psql/get_db_systems.py +1 -1
- pulumi_oci/psql/outputs.py +541 -5
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/redis/redis_cluster.py +7 -7
- pulumi_oci/stackmonitoring/__init__.py +8 -0
- pulumi_oci/stackmonitoring/_inputs.py +372 -1
- pulumi_oci/stackmonitoring/get_defined_monitoring_templates.py +185 -0
- pulumi_oci/stackmonitoring/get_metric_extension.py +1 -1
- pulumi_oci/stackmonitoring/get_monitored_resource_type.py +15 -1
- pulumi_oci/stackmonitoring/get_monitoring_template.py +380 -0
- pulumi_oci/stackmonitoring/get_monitoring_template_alarm_condition.py +318 -0
- pulumi_oci/stackmonitoring/get_monitoring_template_alarm_conditions.py +262 -0
- pulumi_oci/stackmonitoring/get_monitoring_templates.py +289 -0
- pulumi_oci/stackmonitoring/metric_extension.py +4 -4
- pulumi_oci/stackmonitoring/monitored_resource_type.py +30 -0
- pulumi_oci/stackmonitoring/monitoring_template.py +954 -0
- pulumi_oci/stackmonitoring/monitoring_template_alarm_condition.py +780 -0
- pulumi_oci/stackmonitoring/monitoring_template_monitoring_template_on_given_resources_management.py +253 -0
- pulumi_oci/stackmonitoring/outputs.py +1305 -118
- pulumi_oci/tenantmanagercontrolplane/__init__.py +33 -0
- pulumi_oci/tenantmanagercontrolplane/_inputs.py +685 -0
- pulumi_oci/tenantmanagercontrolplane/get_assigned_subscription.py +478 -0
- pulumi_oci/tenantmanagercontrolplane/get_assigned_subscription_line_items.py +144 -0
- pulumi_oci/tenantmanagercontrolplane/get_assigned_subscriptions.py +188 -0
- pulumi_oci/tenantmanagercontrolplane/get_domain.py +253 -0
- pulumi_oci/tenantmanagercontrolplane/get_domain_governance.py +281 -0
- pulumi_oci/tenantmanagercontrolplane/get_domain_governances.py +226 -0
- pulumi_oci/tenantmanagercontrolplane/get_domains.py +226 -0
- pulumi_oci/tenantmanagercontrolplane/get_link.py +197 -0
- pulumi_oci/tenantmanagercontrolplane/get_links.py +191 -0
- pulumi_oci/tenantmanagercontrolplane/get_organization.py +211 -0
- pulumi_oci/tenantmanagercontrolplane/get_organization_tenancies.py +144 -0
- pulumi_oci/tenantmanagercontrolplane/get_organization_tenancy.py +233 -0
- pulumi_oci/tenantmanagercontrolplane/get_organizations.py +147 -0
- pulumi_oci/tenantmanagercontrolplane/get_recipient_invitation.py +295 -0
- pulumi_oci/tenantmanagercontrolplane/get_recipient_invitations.py +213 -0
- pulumi_oci/tenantmanagercontrolplane/get_sender_invitation.py +295 -0
- pulumi_oci/tenantmanagercontrolplane/get_sender_invitations.py +235 -0
- pulumi_oci/tenantmanagercontrolplane/get_subscription.py +464 -0
- pulumi_oci/tenantmanagercontrolplane/get_subscription_available_regions.py +144 -0
- pulumi_oci/tenantmanagercontrolplane/get_subscription_line_items.py +144 -0
- pulumi_oci/tenantmanagercontrolplane/get_subscription_mapping.py +211 -0
- pulumi_oci/tenantmanagercontrolplane/get_subscription_mappings.py +210 -0
- pulumi_oci/tenantmanagercontrolplane/get_subscriptions.py +188 -0
- pulumi_oci/tenantmanagercontrolplane/outputs.py +3257 -0
- pulumi_oci/tenantmanagercontrolplane/subscription_mapping.py +409 -0
- pulumi_oci/vault/__init__.py +1 -1
- pulumi_oci/vault/_inputs.py +92 -0
- pulumi_oci/vault/get_secret.py +40 -1
- pulumi_oci/vault/{get_secret_version.py → get_secret_version_sdk_v2.py} +32 -77
- pulumi_oci/vault/outputs.py +210 -0
- pulumi_oci/vault/secret.py +122 -0
- {pulumi_oci-2.25.0a1740032973.dist-info → pulumi_oci-2.26.0.dist-info}/METADATA +1 -1
- {pulumi_oci-2.25.0a1740032973.dist-info → pulumi_oci-2.26.0.dist-info}/RECORD +218 -150
- {pulumi_oci-2.25.0a1740032973.dist-info → pulumi_oci-2.26.0.dist-info}/WHEEL +1 -1
- {pulumi_oci-2.25.0a1740032973.dist-info → pulumi_oci-2.26.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,211 @@
|
|
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
|
+
'GetOrganizationResult',
|
19
|
+
'AwaitableGetOrganizationResult',
|
20
|
+
'get_organization',
|
21
|
+
'get_organization_output',
|
22
|
+
]
|
23
|
+
|
24
|
+
@pulumi.output_type
|
25
|
+
class GetOrganizationResult:
|
26
|
+
"""
|
27
|
+
A collection of values returned by getOrganization.
|
28
|
+
"""
|
29
|
+
def __init__(__self__, compartment_id=None, default_ucm_subscription_id=None, display_name=None, id=None, organization_id=None, parent_name=None, state=None, time_created=None, time_updated=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 default_ucm_subscription_id and not isinstance(default_ucm_subscription_id, str):
|
34
|
+
raise TypeError("Expected argument 'default_ucm_subscription_id' to be a str")
|
35
|
+
pulumi.set(__self__, "default_ucm_subscription_id", default_ucm_subscription_id)
|
36
|
+
if display_name and not isinstance(display_name, str):
|
37
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
38
|
+
pulumi.set(__self__, "display_name", display_name)
|
39
|
+
if id and not isinstance(id, str):
|
40
|
+
raise TypeError("Expected argument 'id' to be a str")
|
41
|
+
pulumi.set(__self__, "id", id)
|
42
|
+
if organization_id and not isinstance(organization_id, str):
|
43
|
+
raise TypeError("Expected argument 'organization_id' to be a str")
|
44
|
+
pulumi.set(__self__, "organization_id", organization_id)
|
45
|
+
if parent_name and not isinstance(parent_name, str):
|
46
|
+
raise TypeError("Expected argument 'parent_name' to be a str")
|
47
|
+
pulumi.set(__self__, "parent_name", parent_name)
|
48
|
+
if state and not isinstance(state, str):
|
49
|
+
raise TypeError("Expected argument 'state' to be a str")
|
50
|
+
pulumi.set(__self__, "state", state)
|
51
|
+
if time_created and not isinstance(time_created, str):
|
52
|
+
raise TypeError("Expected argument 'time_created' to be a str")
|
53
|
+
pulumi.set(__self__, "time_created", time_created)
|
54
|
+
if time_updated and not isinstance(time_updated, str):
|
55
|
+
raise TypeError("Expected argument 'time_updated' to be a str")
|
56
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
57
|
+
|
58
|
+
@property
|
59
|
+
@pulumi.getter(name="compartmentId")
|
60
|
+
def compartment_id(self) -> str:
|
61
|
+
"""
|
62
|
+
OCID of the compartment containing the organization. Always a tenancy OCID.
|
63
|
+
"""
|
64
|
+
return pulumi.get(self, "compartment_id")
|
65
|
+
|
66
|
+
@property
|
67
|
+
@pulumi.getter(name="defaultUcmSubscriptionId")
|
68
|
+
def default_ucm_subscription_id(self) -> str:
|
69
|
+
"""
|
70
|
+
OCID of the default Universal Credits Model subscription. Any tenancy joining the organization will automatically get assigned this subscription, if a subscription is not explictly assigned.
|
71
|
+
"""
|
72
|
+
return pulumi.get(self, "default_ucm_subscription_id")
|
73
|
+
|
74
|
+
@property
|
75
|
+
@pulumi.getter(name="displayName")
|
76
|
+
def display_name(self) -> str:
|
77
|
+
"""
|
78
|
+
A display name for the organization. Avoid entering confidential information.
|
79
|
+
"""
|
80
|
+
return pulumi.get(self, "display_name")
|
81
|
+
|
82
|
+
@property
|
83
|
+
@pulumi.getter
|
84
|
+
def id(self) -> str:
|
85
|
+
"""
|
86
|
+
The provider-assigned unique ID for this managed resource.
|
87
|
+
"""
|
88
|
+
return pulumi.get(self, "id")
|
89
|
+
|
90
|
+
@property
|
91
|
+
@pulumi.getter(name="organizationId")
|
92
|
+
def organization_id(self) -> str:
|
93
|
+
return pulumi.get(self, "organization_id")
|
94
|
+
|
95
|
+
@property
|
96
|
+
@pulumi.getter(name="parentName")
|
97
|
+
def parent_name(self) -> str:
|
98
|
+
"""
|
99
|
+
The name of the tenancy that is the organization parent.
|
100
|
+
"""
|
101
|
+
return pulumi.get(self, "parent_name")
|
102
|
+
|
103
|
+
@property
|
104
|
+
@pulumi.getter
|
105
|
+
def state(self) -> str:
|
106
|
+
"""
|
107
|
+
Lifecycle state of the organization.
|
108
|
+
"""
|
109
|
+
return pulumi.get(self, "state")
|
110
|
+
|
111
|
+
@property
|
112
|
+
@pulumi.getter(name="timeCreated")
|
113
|
+
def time_created(self) -> str:
|
114
|
+
"""
|
115
|
+
Date and time when the organization was created.
|
116
|
+
"""
|
117
|
+
return pulumi.get(self, "time_created")
|
118
|
+
|
119
|
+
@property
|
120
|
+
@pulumi.getter(name="timeUpdated")
|
121
|
+
def time_updated(self) -> str:
|
122
|
+
"""
|
123
|
+
Date and time when the organization was last updated.
|
124
|
+
"""
|
125
|
+
return pulumi.get(self, "time_updated")
|
126
|
+
|
127
|
+
|
128
|
+
class AwaitableGetOrganizationResult(GetOrganizationResult):
|
129
|
+
# pylint: disable=using-constant-test
|
130
|
+
def __await__(self):
|
131
|
+
if False:
|
132
|
+
yield self
|
133
|
+
return GetOrganizationResult(
|
134
|
+
compartment_id=self.compartment_id,
|
135
|
+
default_ucm_subscription_id=self.default_ucm_subscription_id,
|
136
|
+
display_name=self.display_name,
|
137
|
+
id=self.id,
|
138
|
+
organization_id=self.organization_id,
|
139
|
+
parent_name=self.parent_name,
|
140
|
+
state=self.state,
|
141
|
+
time_created=self.time_created,
|
142
|
+
time_updated=self.time_updated)
|
143
|
+
|
144
|
+
|
145
|
+
def get_organization(organization_id: Optional[str] = None,
|
146
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOrganizationResult:
|
147
|
+
"""
|
148
|
+
This data source provides details about a specific Organization resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service.
|
149
|
+
|
150
|
+
Gets information about the organization.
|
151
|
+
|
152
|
+
## Example Usage
|
153
|
+
|
154
|
+
```python
|
155
|
+
import pulumi
|
156
|
+
import pulumi_oci as oci
|
157
|
+
|
158
|
+
test_organization = oci.Tenantmanagercontrolplane.get_organization(organization_id=test_organization_oci_tenantmanagercontrolplane_organization["id"])
|
159
|
+
```
|
160
|
+
|
161
|
+
|
162
|
+
:param str organization_id: OCID of the organization to retrieve.
|
163
|
+
"""
|
164
|
+
__args__ = dict()
|
165
|
+
__args__['organizationId'] = organization_id
|
166
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
167
|
+
__ret__ = pulumi.runtime.invoke('oci:Tenantmanagercontrolplane/getOrganization:getOrganization', __args__, opts=opts, typ=GetOrganizationResult).value
|
168
|
+
|
169
|
+
return AwaitableGetOrganizationResult(
|
170
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
171
|
+
default_ucm_subscription_id=pulumi.get(__ret__, 'default_ucm_subscription_id'),
|
172
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
173
|
+
id=pulumi.get(__ret__, 'id'),
|
174
|
+
organization_id=pulumi.get(__ret__, 'organization_id'),
|
175
|
+
parent_name=pulumi.get(__ret__, 'parent_name'),
|
176
|
+
state=pulumi.get(__ret__, 'state'),
|
177
|
+
time_created=pulumi.get(__ret__, 'time_created'),
|
178
|
+
time_updated=pulumi.get(__ret__, 'time_updated'))
|
179
|
+
def get_organization_output(organization_id: Optional[pulumi.Input[str]] = None,
|
180
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOrganizationResult]:
|
181
|
+
"""
|
182
|
+
This data source provides details about a specific Organization resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service.
|
183
|
+
|
184
|
+
Gets information about the organization.
|
185
|
+
|
186
|
+
## Example Usage
|
187
|
+
|
188
|
+
```python
|
189
|
+
import pulumi
|
190
|
+
import pulumi_oci as oci
|
191
|
+
|
192
|
+
test_organization = oci.Tenantmanagercontrolplane.get_organization(organization_id=test_organization_oci_tenantmanagercontrolplane_organization["id"])
|
193
|
+
```
|
194
|
+
|
195
|
+
|
196
|
+
:param str organization_id: OCID of the organization to retrieve.
|
197
|
+
"""
|
198
|
+
__args__ = dict()
|
199
|
+
__args__['organizationId'] = organization_id
|
200
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
201
|
+
__ret__ = pulumi.runtime.invoke_output('oci:Tenantmanagercontrolplane/getOrganization:getOrganization', __args__, opts=opts, typ=GetOrganizationResult)
|
202
|
+
return __ret__.apply(lambda __response__: GetOrganizationResult(
|
203
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
204
|
+
default_ucm_subscription_id=pulumi.get(__response__, 'default_ucm_subscription_id'),
|
205
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
206
|
+
id=pulumi.get(__response__, 'id'),
|
207
|
+
organization_id=pulumi.get(__response__, 'organization_id'),
|
208
|
+
parent_name=pulumi.get(__response__, 'parent_name'),
|
209
|
+
state=pulumi.get(__response__, 'state'),
|
210
|
+
time_created=pulumi.get(__response__, 'time_created'),
|
211
|
+
time_updated=pulumi.get(__response__, 'time_updated')))
|
@@ -0,0 +1,144 @@
|
|
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
|
+
'GetOrganizationTenanciesResult',
|
21
|
+
'AwaitableGetOrganizationTenanciesResult',
|
22
|
+
'get_organization_tenancies',
|
23
|
+
'get_organization_tenancies_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetOrganizationTenanciesResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getOrganizationTenancies.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, filters=None, id=None, organization_id=None, organization_tenancy_collections=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 organization_id and not isinstance(organization_id, str):
|
39
|
+
raise TypeError("Expected argument 'organization_id' to be a str")
|
40
|
+
pulumi.set(__self__, "organization_id", organization_id)
|
41
|
+
if organization_tenancy_collections and not isinstance(organization_tenancy_collections, list):
|
42
|
+
raise TypeError("Expected argument 'organization_tenancy_collections' to be a list")
|
43
|
+
pulumi.set(__self__, "organization_tenancy_collections", organization_tenancy_collections)
|
44
|
+
|
45
|
+
@property
|
46
|
+
@pulumi.getter
|
47
|
+
def filters(self) -> Optional[Sequence['outputs.GetOrganizationTenanciesFilterResult']]:
|
48
|
+
return pulumi.get(self, "filters")
|
49
|
+
|
50
|
+
@property
|
51
|
+
@pulumi.getter
|
52
|
+
def id(self) -> str:
|
53
|
+
"""
|
54
|
+
The provider-assigned unique ID for this managed resource.
|
55
|
+
"""
|
56
|
+
return pulumi.get(self, "id")
|
57
|
+
|
58
|
+
@property
|
59
|
+
@pulumi.getter(name="organizationId")
|
60
|
+
def organization_id(self) -> str:
|
61
|
+
return pulumi.get(self, "organization_id")
|
62
|
+
|
63
|
+
@property
|
64
|
+
@pulumi.getter(name="organizationTenancyCollections")
|
65
|
+
def organization_tenancy_collections(self) -> Sequence['outputs.GetOrganizationTenanciesOrganizationTenancyCollectionResult']:
|
66
|
+
"""
|
67
|
+
The list of organization_tenancy_collection.
|
68
|
+
"""
|
69
|
+
return pulumi.get(self, "organization_tenancy_collections")
|
70
|
+
|
71
|
+
|
72
|
+
class AwaitableGetOrganizationTenanciesResult(GetOrganizationTenanciesResult):
|
73
|
+
# pylint: disable=using-constant-test
|
74
|
+
def __await__(self):
|
75
|
+
if False:
|
76
|
+
yield self
|
77
|
+
return GetOrganizationTenanciesResult(
|
78
|
+
filters=self.filters,
|
79
|
+
id=self.id,
|
80
|
+
organization_id=self.organization_id,
|
81
|
+
organization_tenancy_collections=self.organization_tenancy_collections)
|
82
|
+
|
83
|
+
|
84
|
+
def get_organization_tenancies(filters: Optional[Sequence[Union['GetOrganizationTenanciesFilterArgs', 'GetOrganizationTenanciesFilterArgsDict']]] = None,
|
85
|
+
organization_id: Optional[str] = None,
|
86
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOrganizationTenanciesResult:
|
87
|
+
"""
|
88
|
+
This data source provides the list of Organization Tenancies in Oracle Cloud Infrastructure Tenantmanagercontrolplane service.
|
89
|
+
|
90
|
+
Gets a list of tenancies in the organization.
|
91
|
+
|
92
|
+
## Example Usage
|
93
|
+
|
94
|
+
```python
|
95
|
+
import pulumi
|
96
|
+
import pulumi_oci as oci
|
97
|
+
|
98
|
+
test_organization_tenancies = oci.Tenantmanagercontrolplane.get_organization_tenancies(organization_id=test_organization["id"])
|
99
|
+
```
|
100
|
+
|
101
|
+
|
102
|
+
:param str organization_id: OCID of the organization.
|
103
|
+
"""
|
104
|
+
__args__ = dict()
|
105
|
+
__args__['filters'] = filters
|
106
|
+
__args__['organizationId'] = organization_id
|
107
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
108
|
+
__ret__ = pulumi.runtime.invoke('oci:Tenantmanagercontrolplane/getOrganizationTenancies:getOrganizationTenancies', __args__, opts=opts, typ=GetOrganizationTenanciesResult).value
|
109
|
+
|
110
|
+
return AwaitableGetOrganizationTenanciesResult(
|
111
|
+
filters=pulumi.get(__ret__, 'filters'),
|
112
|
+
id=pulumi.get(__ret__, 'id'),
|
113
|
+
organization_id=pulumi.get(__ret__, 'organization_id'),
|
114
|
+
organization_tenancy_collections=pulumi.get(__ret__, 'organization_tenancy_collections'))
|
115
|
+
def get_organization_tenancies_output(filters: Optional[pulumi.Input[Optional[Sequence[Union['GetOrganizationTenanciesFilterArgs', 'GetOrganizationTenanciesFilterArgsDict']]]]] = None,
|
116
|
+
organization_id: Optional[pulumi.Input[str]] = None,
|
117
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOrganizationTenanciesResult]:
|
118
|
+
"""
|
119
|
+
This data source provides the list of Organization Tenancies in Oracle Cloud Infrastructure Tenantmanagercontrolplane service.
|
120
|
+
|
121
|
+
Gets a list of tenancies in the organization.
|
122
|
+
|
123
|
+
## Example Usage
|
124
|
+
|
125
|
+
```python
|
126
|
+
import pulumi
|
127
|
+
import pulumi_oci as oci
|
128
|
+
|
129
|
+
test_organization_tenancies = oci.Tenantmanagercontrolplane.get_organization_tenancies(organization_id=test_organization["id"])
|
130
|
+
```
|
131
|
+
|
132
|
+
|
133
|
+
:param str organization_id: OCID of the organization.
|
134
|
+
"""
|
135
|
+
__args__ = dict()
|
136
|
+
__args__['filters'] = filters
|
137
|
+
__args__['organizationId'] = organization_id
|
138
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
139
|
+
__ret__ = pulumi.runtime.invoke_output('oci:Tenantmanagercontrolplane/getOrganizationTenancies:getOrganizationTenancies', __args__, opts=opts, typ=GetOrganizationTenanciesResult)
|
140
|
+
return __ret__.apply(lambda __response__: GetOrganizationTenanciesResult(
|
141
|
+
filters=pulumi.get(__response__, 'filters'),
|
142
|
+
id=pulumi.get(__response__, 'id'),
|
143
|
+
organization_id=pulumi.get(__response__, 'organization_id'),
|
144
|
+
organization_tenancy_collections=pulumi.get(__response__, 'organization_tenancy_collections')))
|
@@ -0,0 +1,233 @@
|
|
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
|
+
'GetOrganizationTenancyResult',
|
19
|
+
'AwaitableGetOrganizationTenancyResult',
|
20
|
+
'get_organization_tenancy',
|
21
|
+
'get_organization_tenancy_output',
|
22
|
+
]
|
23
|
+
|
24
|
+
@pulumi.output_type
|
25
|
+
class GetOrganizationTenancyResult:
|
26
|
+
"""
|
27
|
+
A collection of values returned by getOrganizationTenancy.
|
28
|
+
"""
|
29
|
+
def __init__(__self__, governance_status=None, id=None, is_approved_for_transfer=None, name=None, organization_id=None, role=None, state=None, tenancy_id=None, time_joined=None, time_left=None):
|
30
|
+
if governance_status and not isinstance(governance_status, str):
|
31
|
+
raise TypeError("Expected argument 'governance_status' to be a str")
|
32
|
+
pulumi.set(__self__, "governance_status", governance_status)
|
33
|
+
if id and not isinstance(id, str):
|
34
|
+
raise TypeError("Expected argument 'id' to be a str")
|
35
|
+
pulumi.set(__self__, "id", id)
|
36
|
+
if is_approved_for_transfer and not isinstance(is_approved_for_transfer, bool):
|
37
|
+
raise TypeError("Expected argument 'is_approved_for_transfer' to be a bool")
|
38
|
+
pulumi.set(__self__, "is_approved_for_transfer", is_approved_for_transfer)
|
39
|
+
if name and not isinstance(name, str):
|
40
|
+
raise TypeError("Expected argument 'name' to be a str")
|
41
|
+
pulumi.set(__self__, "name", name)
|
42
|
+
if organization_id and not isinstance(organization_id, str):
|
43
|
+
raise TypeError("Expected argument 'organization_id' to be a str")
|
44
|
+
pulumi.set(__self__, "organization_id", organization_id)
|
45
|
+
if role and not isinstance(role, str):
|
46
|
+
raise TypeError("Expected argument 'role' to be a str")
|
47
|
+
pulumi.set(__self__, "role", role)
|
48
|
+
if state and not isinstance(state, str):
|
49
|
+
raise TypeError("Expected argument 'state' to be a str")
|
50
|
+
pulumi.set(__self__, "state", state)
|
51
|
+
if tenancy_id and not isinstance(tenancy_id, str):
|
52
|
+
raise TypeError("Expected argument 'tenancy_id' to be a str")
|
53
|
+
pulumi.set(__self__, "tenancy_id", tenancy_id)
|
54
|
+
if time_joined and not isinstance(time_joined, str):
|
55
|
+
raise TypeError("Expected argument 'time_joined' to be a str")
|
56
|
+
pulumi.set(__self__, "time_joined", time_joined)
|
57
|
+
if time_left and not isinstance(time_left, str):
|
58
|
+
raise TypeError("Expected argument 'time_left' to be a str")
|
59
|
+
pulumi.set(__self__, "time_left", time_left)
|
60
|
+
|
61
|
+
@property
|
62
|
+
@pulumi.getter(name="governanceStatus")
|
63
|
+
def governance_status(self) -> str:
|
64
|
+
"""
|
65
|
+
The governance status of the tenancy.
|
66
|
+
"""
|
67
|
+
return pulumi.get(self, "governance_status")
|
68
|
+
|
69
|
+
@property
|
70
|
+
@pulumi.getter
|
71
|
+
def id(self) -> str:
|
72
|
+
"""
|
73
|
+
The provider-assigned unique ID for this managed resource.
|
74
|
+
"""
|
75
|
+
return pulumi.get(self, "id")
|
76
|
+
|
77
|
+
@property
|
78
|
+
@pulumi.getter(name="isApprovedForTransfer")
|
79
|
+
def is_approved_for_transfer(self) -> bool:
|
80
|
+
"""
|
81
|
+
Parameter to indicate the tenancy is approved for transfer to another organization.
|
82
|
+
"""
|
83
|
+
return pulumi.get(self, "is_approved_for_transfer")
|
84
|
+
|
85
|
+
@property
|
86
|
+
@pulumi.getter
|
87
|
+
def name(self) -> str:
|
88
|
+
"""
|
89
|
+
Name of the tenancy.
|
90
|
+
"""
|
91
|
+
return pulumi.get(self, "name")
|
92
|
+
|
93
|
+
@property
|
94
|
+
@pulumi.getter(name="organizationId")
|
95
|
+
def organization_id(self) -> str:
|
96
|
+
return pulumi.get(self, "organization_id")
|
97
|
+
|
98
|
+
@property
|
99
|
+
@pulumi.getter
|
100
|
+
def role(self) -> str:
|
101
|
+
"""
|
102
|
+
Role of the organization tenancy.
|
103
|
+
"""
|
104
|
+
return pulumi.get(self, "role")
|
105
|
+
|
106
|
+
@property
|
107
|
+
@pulumi.getter
|
108
|
+
def state(self) -> str:
|
109
|
+
"""
|
110
|
+
Lifecycle state of the organization tenancy.
|
111
|
+
"""
|
112
|
+
return pulumi.get(self, "state")
|
113
|
+
|
114
|
+
@property
|
115
|
+
@pulumi.getter(name="tenancyId")
|
116
|
+
def tenancy_id(self) -> str:
|
117
|
+
"""
|
118
|
+
OCID of the tenancy.
|
119
|
+
"""
|
120
|
+
return pulumi.get(self, "tenancy_id")
|
121
|
+
|
122
|
+
@property
|
123
|
+
@pulumi.getter(name="timeJoined")
|
124
|
+
def time_joined(self) -> str:
|
125
|
+
"""
|
126
|
+
Date and time when the tenancy joined the organization.
|
127
|
+
"""
|
128
|
+
return pulumi.get(self, "time_joined")
|
129
|
+
|
130
|
+
@property
|
131
|
+
@pulumi.getter(name="timeLeft")
|
132
|
+
def time_left(self) -> str:
|
133
|
+
"""
|
134
|
+
Date and time when the tenancy left the organization.
|
135
|
+
"""
|
136
|
+
return pulumi.get(self, "time_left")
|
137
|
+
|
138
|
+
|
139
|
+
class AwaitableGetOrganizationTenancyResult(GetOrganizationTenancyResult):
|
140
|
+
# pylint: disable=using-constant-test
|
141
|
+
def __await__(self):
|
142
|
+
if False:
|
143
|
+
yield self
|
144
|
+
return GetOrganizationTenancyResult(
|
145
|
+
governance_status=self.governance_status,
|
146
|
+
id=self.id,
|
147
|
+
is_approved_for_transfer=self.is_approved_for_transfer,
|
148
|
+
name=self.name,
|
149
|
+
organization_id=self.organization_id,
|
150
|
+
role=self.role,
|
151
|
+
state=self.state,
|
152
|
+
tenancy_id=self.tenancy_id,
|
153
|
+
time_joined=self.time_joined,
|
154
|
+
time_left=self.time_left)
|
155
|
+
|
156
|
+
|
157
|
+
def get_organization_tenancy(organization_id: Optional[str] = None,
|
158
|
+
tenancy_id: Optional[str] = None,
|
159
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOrganizationTenancyResult:
|
160
|
+
"""
|
161
|
+
This data source provides details about a specific Organization Tenancy resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service.
|
162
|
+
|
163
|
+
Gets information about the organization's tenancy.
|
164
|
+
|
165
|
+
## Example Usage
|
166
|
+
|
167
|
+
```python
|
168
|
+
import pulumi
|
169
|
+
import pulumi_oci as oci
|
170
|
+
|
171
|
+
test_organization_tenancy = oci.Tenantmanagercontrolplane.get_organization_tenancy(organization_id=test_organization["id"],
|
172
|
+
tenancy_id=test_tenancy["id"])
|
173
|
+
```
|
174
|
+
|
175
|
+
|
176
|
+
:param str organization_id: OCID of the organization.
|
177
|
+
:param str tenancy_id: OCID of the tenancy to retrieve.
|
178
|
+
"""
|
179
|
+
__args__ = dict()
|
180
|
+
__args__['organizationId'] = organization_id
|
181
|
+
__args__['tenancyId'] = tenancy_id
|
182
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
183
|
+
__ret__ = pulumi.runtime.invoke('oci:Tenantmanagercontrolplane/getOrganizationTenancy:getOrganizationTenancy', __args__, opts=opts, typ=GetOrganizationTenancyResult).value
|
184
|
+
|
185
|
+
return AwaitableGetOrganizationTenancyResult(
|
186
|
+
governance_status=pulumi.get(__ret__, 'governance_status'),
|
187
|
+
id=pulumi.get(__ret__, 'id'),
|
188
|
+
is_approved_for_transfer=pulumi.get(__ret__, 'is_approved_for_transfer'),
|
189
|
+
name=pulumi.get(__ret__, 'name'),
|
190
|
+
organization_id=pulumi.get(__ret__, 'organization_id'),
|
191
|
+
role=pulumi.get(__ret__, 'role'),
|
192
|
+
state=pulumi.get(__ret__, 'state'),
|
193
|
+
tenancy_id=pulumi.get(__ret__, 'tenancy_id'),
|
194
|
+
time_joined=pulumi.get(__ret__, 'time_joined'),
|
195
|
+
time_left=pulumi.get(__ret__, 'time_left'))
|
196
|
+
def get_organization_tenancy_output(organization_id: Optional[pulumi.Input[str]] = None,
|
197
|
+
tenancy_id: Optional[pulumi.Input[str]] = None,
|
198
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOrganizationTenancyResult]:
|
199
|
+
"""
|
200
|
+
This data source provides details about a specific Organization Tenancy resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service.
|
201
|
+
|
202
|
+
Gets information about the organization's tenancy.
|
203
|
+
|
204
|
+
## Example Usage
|
205
|
+
|
206
|
+
```python
|
207
|
+
import pulumi
|
208
|
+
import pulumi_oci as oci
|
209
|
+
|
210
|
+
test_organization_tenancy = oci.Tenantmanagercontrolplane.get_organization_tenancy(organization_id=test_organization["id"],
|
211
|
+
tenancy_id=test_tenancy["id"])
|
212
|
+
```
|
213
|
+
|
214
|
+
|
215
|
+
:param str organization_id: OCID of the organization.
|
216
|
+
:param str tenancy_id: OCID of the tenancy to retrieve.
|
217
|
+
"""
|
218
|
+
__args__ = dict()
|
219
|
+
__args__['organizationId'] = organization_id
|
220
|
+
__args__['tenancyId'] = tenancy_id
|
221
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
222
|
+
__ret__ = pulumi.runtime.invoke_output('oci:Tenantmanagercontrolplane/getOrganizationTenancy:getOrganizationTenancy', __args__, opts=opts, typ=GetOrganizationTenancyResult)
|
223
|
+
return __ret__.apply(lambda __response__: GetOrganizationTenancyResult(
|
224
|
+
governance_status=pulumi.get(__response__, 'governance_status'),
|
225
|
+
id=pulumi.get(__response__, 'id'),
|
226
|
+
is_approved_for_transfer=pulumi.get(__response__, 'is_approved_for_transfer'),
|
227
|
+
name=pulumi.get(__response__, 'name'),
|
228
|
+
organization_id=pulumi.get(__response__, 'organization_id'),
|
229
|
+
role=pulumi.get(__response__, 'role'),
|
230
|
+
state=pulumi.get(__response__, 'state'),
|
231
|
+
tenancy_id=pulumi.get(__response__, 'tenancy_id'),
|
232
|
+
time_joined=pulumi.get(__response__, 'time_joined'),
|
233
|
+
time_left=pulumi.get(__response__, 'time_left')))
|