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,188 @@
|
|
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
|
+
'GetAssignedSubscriptionsResult',
|
21
|
+
'AwaitableGetAssignedSubscriptionsResult',
|
22
|
+
'get_assigned_subscriptions',
|
23
|
+
'get_assigned_subscriptions_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetAssignedSubscriptionsResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getAssignedSubscriptions.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, assigned_subscription_collections=None, compartment_id=None, entity_version=None, filters=None, id=None, subscription_id=None):
|
32
|
+
if assigned_subscription_collections and not isinstance(assigned_subscription_collections, list):
|
33
|
+
raise TypeError("Expected argument 'assigned_subscription_collections' to be a list")
|
34
|
+
pulumi.set(__self__, "assigned_subscription_collections", assigned_subscription_collections)
|
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 entity_version and not isinstance(entity_version, str):
|
39
|
+
raise TypeError("Expected argument 'entity_version' to be a str")
|
40
|
+
pulumi.set(__self__, "entity_version", entity_version)
|
41
|
+
if filters and not isinstance(filters, list):
|
42
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
43
|
+
pulumi.set(__self__, "filters", filters)
|
44
|
+
if id and not isinstance(id, str):
|
45
|
+
raise TypeError("Expected argument 'id' to be a str")
|
46
|
+
pulumi.set(__self__, "id", id)
|
47
|
+
if subscription_id and not isinstance(subscription_id, str):
|
48
|
+
raise TypeError("Expected argument 'subscription_id' to be a str")
|
49
|
+
pulumi.set(__self__, "subscription_id", subscription_id)
|
50
|
+
|
51
|
+
@property
|
52
|
+
@pulumi.getter(name="assignedSubscriptionCollections")
|
53
|
+
def assigned_subscription_collections(self) -> Sequence['outputs.GetAssignedSubscriptionsAssignedSubscriptionCollectionResult']:
|
54
|
+
"""
|
55
|
+
The list of assigned_subscription_collection.
|
56
|
+
"""
|
57
|
+
return pulumi.get(self, "assigned_subscription_collections")
|
58
|
+
|
59
|
+
@property
|
60
|
+
@pulumi.getter(name="compartmentId")
|
61
|
+
def compartment_id(self) -> str:
|
62
|
+
"""
|
63
|
+
The Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the owning compartment. Always a tenancy OCID.
|
64
|
+
"""
|
65
|
+
return pulumi.get(self, "compartment_id")
|
66
|
+
|
67
|
+
@property
|
68
|
+
@pulumi.getter(name="entityVersion")
|
69
|
+
def entity_version(self) -> Optional[str]:
|
70
|
+
"""
|
71
|
+
The entity version of the subscription, whether V1 (the legacy schema version), or V2 (the latest 20230401 API version).
|
72
|
+
"""
|
73
|
+
return pulumi.get(self, "entity_version")
|
74
|
+
|
75
|
+
@property
|
76
|
+
@pulumi.getter
|
77
|
+
def filters(self) -> Optional[Sequence['outputs.GetAssignedSubscriptionsFilterResult']]:
|
78
|
+
return pulumi.get(self, "filters")
|
79
|
+
|
80
|
+
@property
|
81
|
+
@pulumi.getter
|
82
|
+
def id(self) -> str:
|
83
|
+
"""
|
84
|
+
The provider-assigned unique ID for this managed resource.
|
85
|
+
"""
|
86
|
+
return pulumi.get(self, "id")
|
87
|
+
|
88
|
+
@property
|
89
|
+
@pulumi.getter(name="subscriptionId")
|
90
|
+
def subscription_id(self) -> Optional[str]:
|
91
|
+
return pulumi.get(self, "subscription_id")
|
92
|
+
|
93
|
+
|
94
|
+
class AwaitableGetAssignedSubscriptionsResult(GetAssignedSubscriptionsResult):
|
95
|
+
# pylint: disable=using-constant-test
|
96
|
+
def __await__(self):
|
97
|
+
if False:
|
98
|
+
yield self
|
99
|
+
return GetAssignedSubscriptionsResult(
|
100
|
+
assigned_subscription_collections=self.assigned_subscription_collections,
|
101
|
+
compartment_id=self.compartment_id,
|
102
|
+
entity_version=self.entity_version,
|
103
|
+
filters=self.filters,
|
104
|
+
id=self.id,
|
105
|
+
subscription_id=self.subscription_id)
|
106
|
+
|
107
|
+
|
108
|
+
def get_assigned_subscriptions(compartment_id: Optional[str] = None,
|
109
|
+
entity_version: Optional[str] = None,
|
110
|
+
filters: Optional[Sequence[Union['GetAssignedSubscriptionsFilterArgs', 'GetAssignedSubscriptionsFilterArgsDict']]] = None,
|
111
|
+
subscription_id: Optional[str] = None,
|
112
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAssignedSubscriptionsResult:
|
113
|
+
"""
|
114
|
+
This data source provides the list of Assigned Subscriptions in Oracle Cloud Infrastructure Tenantmanagercontrolplane service.
|
115
|
+
|
116
|
+
Lists subscriptions that are consumed by the compartment. Only the root compartment is allowed.
|
117
|
+
|
118
|
+
## Example Usage
|
119
|
+
|
120
|
+
```python
|
121
|
+
import pulumi
|
122
|
+
import pulumi_oci as oci
|
123
|
+
|
124
|
+
test_assigned_subscriptions = oci.Tenantmanagercontrolplane.get_assigned_subscriptions(compartment_id=compartment_id,
|
125
|
+
entity_version=assigned_subscription_entity_version,
|
126
|
+
subscription_id=test_subscription["id"])
|
127
|
+
```
|
128
|
+
|
129
|
+
|
130
|
+
:param str compartment_id: The ID of the compartment in which to list resources.
|
131
|
+
:param str entity_version: The version of the subscription entity.
|
132
|
+
:param str subscription_id: The ID of the subscription to which the tenancy is associated.
|
133
|
+
"""
|
134
|
+
__args__ = dict()
|
135
|
+
__args__['compartmentId'] = compartment_id
|
136
|
+
__args__['entityVersion'] = entity_version
|
137
|
+
__args__['filters'] = filters
|
138
|
+
__args__['subscriptionId'] = subscription_id
|
139
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
140
|
+
__ret__ = pulumi.runtime.invoke('oci:Tenantmanagercontrolplane/getAssignedSubscriptions:getAssignedSubscriptions', __args__, opts=opts, typ=GetAssignedSubscriptionsResult).value
|
141
|
+
|
142
|
+
return AwaitableGetAssignedSubscriptionsResult(
|
143
|
+
assigned_subscription_collections=pulumi.get(__ret__, 'assigned_subscription_collections'),
|
144
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
145
|
+
entity_version=pulumi.get(__ret__, 'entity_version'),
|
146
|
+
filters=pulumi.get(__ret__, 'filters'),
|
147
|
+
id=pulumi.get(__ret__, 'id'),
|
148
|
+
subscription_id=pulumi.get(__ret__, 'subscription_id'))
|
149
|
+
def get_assigned_subscriptions_output(compartment_id: Optional[pulumi.Input[str]] = None,
|
150
|
+
entity_version: Optional[pulumi.Input[Optional[str]]] = None,
|
151
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetAssignedSubscriptionsFilterArgs', 'GetAssignedSubscriptionsFilterArgsDict']]]]] = None,
|
152
|
+
subscription_id: Optional[pulumi.Input[Optional[str]]] = None,
|
153
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAssignedSubscriptionsResult]:
|
154
|
+
"""
|
155
|
+
This data source provides the list of Assigned Subscriptions in Oracle Cloud Infrastructure Tenantmanagercontrolplane service.
|
156
|
+
|
157
|
+
Lists subscriptions that are consumed by the compartment. Only the root compartment is allowed.
|
158
|
+
|
159
|
+
## Example Usage
|
160
|
+
|
161
|
+
```python
|
162
|
+
import pulumi
|
163
|
+
import pulumi_oci as oci
|
164
|
+
|
165
|
+
test_assigned_subscriptions = oci.Tenantmanagercontrolplane.get_assigned_subscriptions(compartment_id=compartment_id,
|
166
|
+
entity_version=assigned_subscription_entity_version,
|
167
|
+
subscription_id=test_subscription["id"])
|
168
|
+
```
|
169
|
+
|
170
|
+
|
171
|
+
:param str compartment_id: The ID of the compartment in which to list resources.
|
172
|
+
:param str entity_version: The version of the subscription entity.
|
173
|
+
:param str subscription_id: The ID of the subscription to which the tenancy is associated.
|
174
|
+
"""
|
175
|
+
__args__ = dict()
|
176
|
+
__args__['compartmentId'] = compartment_id
|
177
|
+
__args__['entityVersion'] = entity_version
|
178
|
+
__args__['filters'] = filters
|
179
|
+
__args__['subscriptionId'] = subscription_id
|
180
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
181
|
+
__ret__ = pulumi.runtime.invoke_output('oci:Tenantmanagercontrolplane/getAssignedSubscriptions:getAssignedSubscriptions', __args__, opts=opts, typ=GetAssignedSubscriptionsResult)
|
182
|
+
return __ret__.apply(lambda __response__: GetAssignedSubscriptionsResult(
|
183
|
+
assigned_subscription_collections=pulumi.get(__response__, 'assigned_subscription_collections'),
|
184
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
185
|
+
entity_version=pulumi.get(__response__, 'entity_version'),
|
186
|
+
filters=pulumi.get(__response__, 'filters'),
|
187
|
+
id=pulumi.get(__response__, 'id'),
|
188
|
+
subscription_id=pulumi.get(__response__, 'subscription_id')))
|
@@ -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
|
+
'GetDomainResult',
|
19
|
+
'AwaitableGetDomainResult',
|
20
|
+
'get_domain',
|
21
|
+
'get_domain_output',
|
22
|
+
]
|
23
|
+
|
24
|
+
@pulumi.output_type
|
25
|
+
class GetDomainResult:
|
26
|
+
"""
|
27
|
+
A collection of values returned by getDomain.
|
28
|
+
"""
|
29
|
+
def __init__(__self__, defined_tags=None, domain_id=None, domain_name=None, freeform_tags=None, id=None, owner_id=None, state=None, status=None, system_tags=None, time_created=None, time_updated=None, txt_record=None):
|
30
|
+
if defined_tags and not isinstance(defined_tags, dict):
|
31
|
+
raise TypeError("Expected argument 'defined_tags' to be a dict")
|
32
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
33
|
+
if domain_id and not isinstance(domain_id, str):
|
34
|
+
raise TypeError("Expected argument 'domain_id' to be a str")
|
35
|
+
pulumi.set(__self__, "domain_id", domain_id)
|
36
|
+
if domain_name and not isinstance(domain_name, str):
|
37
|
+
raise TypeError("Expected argument 'domain_name' to be a str")
|
38
|
+
pulumi.set(__self__, "domain_name", domain_name)
|
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 owner_id and not isinstance(owner_id, str):
|
46
|
+
raise TypeError("Expected argument 'owner_id' to be a str")
|
47
|
+
pulumi.set(__self__, "owner_id", owner_id)
|
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 status and not isinstance(status, str):
|
52
|
+
raise TypeError("Expected argument 'status' to be a str")
|
53
|
+
pulumi.set(__self__, "status", status)
|
54
|
+
if system_tags and not isinstance(system_tags, dict):
|
55
|
+
raise TypeError("Expected argument 'system_tags' to be a dict")
|
56
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
57
|
+
if time_created and not isinstance(time_created, str):
|
58
|
+
raise TypeError("Expected argument 'time_created' to be a str")
|
59
|
+
pulumi.set(__self__, "time_created", time_created)
|
60
|
+
if time_updated and not isinstance(time_updated, str):
|
61
|
+
raise TypeError("Expected argument 'time_updated' to be a str")
|
62
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
63
|
+
if txt_record and not isinstance(txt_record, str):
|
64
|
+
raise TypeError("Expected argument 'txt_record' to be a str")
|
65
|
+
pulumi.set(__self__, "txt_record", txt_record)
|
66
|
+
|
67
|
+
@property
|
68
|
+
@pulumi.getter(name="definedTags")
|
69
|
+
def defined_tags(self) -> Mapping[str, str]:
|
70
|
+
"""
|
71
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
72
|
+
"""
|
73
|
+
return pulumi.get(self, "defined_tags")
|
74
|
+
|
75
|
+
@property
|
76
|
+
@pulumi.getter(name="domainId")
|
77
|
+
def domain_id(self) -> str:
|
78
|
+
return pulumi.get(self, "domain_id")
|
79
|
+
|
80
|
+
@property
|
81
|
+
@pulumi.getter(name="domainName")
|
82
|
+
def domain_name(self) -> str:
|
83
|
+
"""
|
84
|
+
The domain name.
|
85
|
+
"""
|
86
|
+
return pulumi.get(self, "domain_name")
|
87
|
+
|
88
|
+
@property
|
89
|
+
@pulumi.getter(name="freeformTags")
|
90
|
+
def freeform_tags(self) -> Mapping[str, str]:
|
91
|
+
"""
|
92
|
+
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
93
|
+
"""
|
94
|
+
return pulumi.get(self, "freeform_tags")
|
95
|
+
|
96
|
+
@property
|
97
|
+
@pulumi.getter
|
98
|
+
def id(self) -> str:
|
99
|
+
"""
|
100
|
+
The provider-assigned unique ID for this managed resource.
|
101
|
+
"""
|
102
|
+
return pulumi.get(self, "id")
|
103
|
+
|
104
|
+
@property
|
105
|
+
@pulumi.getter(name="ownerId")
|
106
|
+
def owner_id(self) -> str:
|
107
|
+
"""
|
108
|
+
The OCID of the tenancy that has started the registration process for this domain.
|
109
|
+
"""
|
110
|
+
return pulumi.get(self, "owner_id")
|
111
|
+
|
112
|
+
@property
|
113
|
+
@pulumi.getter
|
114
|
+
def state(self) -> str:
|
115
|
+
"""
|
116
|
+
Lifecycle state of the domain.
|
117
|
+
"""
|
118
|
+
return pulumi.get(self, "state")
|
119
|
+
|
120
|
+
@property
|
121
|
+
@pulumi.getter
|
122
|
+
def status(self) -> str:
|
123
|
+
"""
|
124
|
+
Status of the domain.
|
125
|
+
"""
|
126
|
+
return pulumi.get(self, "status")
|
127
|
+
|
128
|
+
@property
|
129
|
+
@pulumi.getter(name="systemTags")
|
130
|
+
def system_tags(self) -> Mapping[str, str]:
|
131
|
+
"""
|
132
|
+
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
133
|
+
"""
|
134
|
+
return pulumi.get(self, "system_tags")
|
135
|
+
|
136
|
+
@property
|
137
|
+
@pulumi.getter(name="timeCreated")
|
138
|
+
def time_created(self) -> str:
|
139
|
+
"""
|
140
|
+
Date-time when this domain was created. An RFC 3339-formatted date and time string.
|
141
|
+
"""
|
142
|
+
return pulumi.get(self, "time_created")
|
143
|
+
|
144
|
+
@property
|
145
|
+
@pulumi.getter(name="timeUpdated")
|
146
|
+
def time_updated(self) -> str:
|
147
|
+
"""
|
148
|
+
Date-time when this domain was last updated. An RFC 3339-formatted date and time string.
|
149
|
+
"""
|
150
|
+
return pulumi.get(self, "time_updated")
|
151
|
+
|
152
|
+
@property
|
153
|
+
@pulumi.getter(name="txtRecord")
|
154
|
+
def txt_record(self) -> str:
|
155
|
+
"""
|
156
|
+
The code that the owner of the domain will need to add as a TXT record to their domain.
|
157
|
+
"""
|
158
|
+
return pulumi.get(self, "txt_record")
|
159
|
+
|
160
|
+
|
161
|
+
class AwaitableGetDomainResult(GetDomainResult):
|
162
|
+
# pylint: disable=using-constant-test
|
163
|
+
def __await__(self):
|
164
|
+
if False:
|
165
|
+
yield self
|
166
|
+
return GetDomainResult(
|
167
|
+
defined_tags=self.defined_tags,
|
168
|
+
domain_id=self.domain_id,
|
169
|
+
domain_name=self.domain_name,
|
170
|
+
freeform_tags=self.freeform_tags,
|
171
|
+
id=self.id,
|
172
|
+
owner_id=self.owner_id,
|
173
|
+
state=self.state,
|
174
|
+
status=self.status,
|
175
|
+
system_tags=self.system_tags,
|
176
|
+
time_created=self.time_created,
|
177
|
+
time_updated=self.time_updated,
|
178
|
+
txt_record=self.txt_record)
|
179
|
+
|
180
|
+
|
181
|
+
def get_domain(domain_id: Optional[str] = None,
|
182
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDomainResult:
|
183
|
+
"""
|
184
|
+
This data source provides details about a specific Domain resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service.
|
185
|
+
|
186
|
+
Gets information about the domain.
|
187
|
+
|
188
|
+
## Example Usage
|
189
|
+
|
190
|
+
```python
|
191
|
+
import pulumi
|
192
|
+
import pulumi_oci as oci
|
193
|
+
|
194
|
+
test_domain = oci.Tenantmanagercontrolplane.get_domain(domain_id=test_domain_oci_tenantmanagercontrolplane_domain["id"])
|
195
|
+
```
|
196
|
+
|
197
|
+
|
198
|
+
:param str domain_id: The domain OCID.
|
199
|
+
"""
|
200
|
+
__args__ = dict()
|
201
|
+
__args__['domainId'] = domain_id
|
202
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
203
|
+
__ret__ = pulumi.runtime.invoke('oci:Tenantmanagercontrolplane/getDomain:getDomain', __args__, opts=opts, typ=GetDomainResult).value
|
204
|
+
|
205
|
+
return AwaitableGetDomainResult(
|
206
|
+
defined_tags=pulumi.get(__ret__, 'defined_tags'),
|
207
|
+
domain_id=pulumi.get(__ret__, 'domain_id'),
|
208
|
+
domain_name=pulumi.get(__ret__, 'domain_name'),
|
209
|
+
freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
|
210
|
+
id=pulumi.get(__ret__, 'id'),
|
211
|
+
owner_id=pulumi.get(__ret__, 'owner_id'),
|
212
|
+
state=pulumi.get(__ret__, 'state'),
|
213
|
+
status=pulumi.get(__ret__, 'status'),
|
214
|
+
system_tags=pulumi.get(__ret__, 'system_tags'),
|
215
|
+
time_created=pulumi.get(__ret__, 'time_created'),
|
216
|
+
time_updated=pulumi.get(__ret__, 'time_updated'),
|
217
|
+
txt_record=pulumi.get(__ret__, 'txt_record'))
|
218
|
+
def get_domain_output(domain_id: Optional[pulumi.Input[str]] = None,
|
219
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDomainResult]:
|
220
|
+
"""
|
221
|
+
This data source provides details about a specific Domain resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service.
|
222
|
+
|
223
|
+
Gets information about the domain.
|
224
|
+
|
225
|
+
## Example Usage
|
226
|
+
|
227
|
+
```python
|
228
|
+
import pulumi
|
229
|
+
import pulumi_oci as oci
|
230
|
+
|
231
|
+
test_domain = oci.Tenantmanagercontrolplane.get_domain(domain_id=test_domain_oci_tenantmanagercontrolplane_domain["id"])
|
232
|
+
```
|
233
|
+
|
234
|
+
|
235
|
+
:param str domain_id: The domain OCID.
|
236
|
+
"""
|
237
|
+
__args__ = dict()
|
238
|
+
__args__['domainId'] = domain_id
|
239
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
240
|
+
__ret__ = pulumi.runtime.invoke_output('oci:Tenantmanagercontrolplane/getDomain:getDomain', __args__, opts=opts, typ=GetDomainResult)
|
241
|
+
return __ret__.apply(lambda __response__: GetDomainResult(
|
242
|
+
defined_tags=pulumi.get(__response__, 'defined_tags'),
|
243
|
+
domain_id=pulumi.get(__response__, 'domain_id'),
|
244
|
+
domain_name=pulumi.get(__response__, 'domain_name'),
|
245
|
+
freeform_tags=pulumi.get(__response__, 'freeform_tags'),
|
246
|
+
id=pulumi.get(__response__, 'id'),
|
247
|
+
owner_id=pulumi.get(__response__, 'owner_id'),
|
248
|
+
state=pulumi.get(__response__, 'state'),
|
249
|
+
status=pulumi.get(__response__, 'status'),
|
250
|
+
system_tags=pulumi.get(__response__, 'system_tags'),
|
251
|
+
time_created=pulumi.get(__response__, 'time_created'),
|
252
|
+
time_updated=pulumi.get(__response__, 'time_updated'),
|
253
|
+
txt_record=pulumi.get(__response__, 'txt_record')))
|