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,147 @@
|
|
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
|
+
'GetOrganizationsResult',
|
21
|
+
'AwaitableGetOrganizationsResult',
|
22
|
+
'get_organizations',
|
23
|
+
'get_organizations_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetOrganizationsResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getOrganizations.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, compartment_id=None, filters=None, id=None, organization_collections=None):
|
32
|
+
if compartment_id and not isinstance(compartment_id, str):
|
33
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
34
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
35
|
+
if filters and not isinstance(filters, list):
|
36
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
37
|
+
pulumi.set(__self__, "filters", filters)
|
38
|
+
if id and not isinstance(id, str):
|
39
|
+
raise TypeError("Expected argument 'id' to be a str")
|
40
|
+
pulumi.set(__self__, "id", id)
|
41
|
+
if organization_collections and not isinstance(organization_collections, list):
|
42
|
+
raise TypeError("Expected argument 'organization_collections' to be a list")
|
43
|
+
pulumi.set(__self__, "organization_collections", organization_collections)
|
44
|
+
|
45
|
+
@property
|
46
|
+
@pulumi.getter(name="compartmentId")
|
47
|
+
def compartment_id(self) -> str:
|
48
|
+
"""
|
49
|
+
OCID of the compartment containing the organization. Always a tenancy OCID.
|
50
|
+
"""
|
51
|
+
return pulumi.get(self, "compartment_id")
|
52
|
+
|
53
|
+
@property
|
54
|
+
@pulumi.getter
|
55
|
+
def filters(self) -> Optional[Sequence['outputs.GetOrganizationsFilterResult']]:
|
56
|
+
return pulumi.get(self, "filters")
|
57
|
+
|
58
|
+
@property
|
59
|
+
@pulumi.getter
|
60
|
+
def id(self) -> str:
|
61
|
+
"""
|
62
|
+
The provider-assigned unique ID for this managed resource.
|
63
|
+
"""
|
64
|
+
return pulumi.get(self, "id")
|
65
|
+
|
66
|
+
@property
|
67
|
+
@pulumi.getter(name="organizationCollections")
|
68
|
+
def organization_collections(self) -> Sequence['outputs.GetOrganizationsOrganizationCollectionResult']:
|
69
|
+
"""
|
70
|
+
The list of organization_collection.
|
71
|
+
"""
|
72
|
+
return pulumi.get(self, "organization_collections")
|
73
|
+
|
74
|
+
|
75
|
+
class AwaitableGetOrganizationsResult(GetOrganizationsResult):
|
76
|
+
# pylint: disable=using-constant-test
|
77
|
+
def __await__(self):
|
78
|
+
if False:
|
79
|
+
yield self
|
80
|
+
return GetOrganizationsResult(
|
81
|
+
compartment_id=self.compartment_id,
|
82
|
+
filters=self.filters,
|
83
|
+
id=self.id,
|
84
|
+
organization_collections=self.organization_collections)
|
85
|
+
|
86
|
+
|
87
|
+
def get_organizations(compartment_id: Optional[str] = None,
|
88
|
+
filters: Optional[Sequence[Union['GetOrganizationsFilterArgs', 'GetOrganizationsFilterArgsDict']]] = None,
|
89
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOrganizationsResult:
|
90
|
+
"""
|
91
|
+
This data source provides the list of Organizations in Oracle Cloud Infrastructure Tenantmanagercontrolplane service.
|
92
|
+
|
93
|
+
Lists organizations associated with the caller.
|
94
|
+
|
95
|
+
## Example Usage
|
96
|
+
|
97
|
+
```python
|
98
|
+
import pulumi
|
99
|
+
import pulumi_oci as oci
|
100
|
+
|
101
|
+
test_organizations = oci.Tenantmanagercontrolplane.get_organizations(compartment_id=compartment_id)
|
102
|
+
```
|
103
|
+
|
104
|
+
|
105
|
+
:param str compartment_id: The ID of the compartment in which to list resources.
|
106
|
+
"""
|
107
|
+
__args__ = dict()
|
108
|
+
__args__['compartmentId'] = compartment_id
|
109
|
+
__args__['filters'] = filters
|
110
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
111
|
+
__ret__ = pulumi.runtime.invoke('oci:Tenantmanagercontrolplane/getOrganizations:getOrganizations', __args__, opts=opts, typ=GetOrganizationsResult).value
|
112
|
+
|
113
|
+
return AwaitableGetOrganizationsResult(
|
114
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
115
|
+
filters=pulumi.get(__ret__, 'filters'),
|
116
|
+
id=pulumi.get(__ret__, 'id'),
|
117
|
+
organization_collections=pulumi.get(__ret__, 'organization_collections'))
|
118
|
+
def get_organizations_output(compartment_id: Optional[pulumi.Input[str]] = None,
|
119
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetOrganizationsFilterArgs', 'GetOrganizationsFilterArgsDict']]]]] = None,
|
120
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOrganizationsResult]:
|
121
|
+
"""
|
122
|
+
This data source provides the list of Organizations in Oracle Cloud Infrastructure Tenantmanagercontrolplane service.
|
123
|
+
|
124
|
+
Lists organizations associated with the caller.
|
125
|
+
|
126
|
+
## Example Usage
|
127
|
+
|
128
|
+
```python
|
129
|
+
import pulumi
|
130
|
+
import pulumi_oci as oci
|
131
|
+
|
132
|
+
test_organizations = oci.Tenantmanagercontrolplane.get_organizations(compartment_id=compartment_id)
|
133
|
+
```
|
134
|
+
|
135
|
+
|
136
|
+
:param str compartment_id: The ID of the compartment in which to list resources.
|
137
|
+
"""
|
138
|
+
__args__ = dict()
|
139
|
+
__args__['compartmentId'] = compartment_id
|
140
|
+
__args__['filters'] = filters
|
141
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
142
|
+
__ret__ = pulumi.runtime.invoke_output('oci:Tenantmanagercontrolplane/getOrganizations:getOrganizations', __args__, opts=opts, typ=GetOrganizationsResult)
|
143
|
+
return __ret__.apply(lambda __response__: GetOrganizationsResult(
|
144
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
145
|
+
filters=pulumi.get(__response__, 'filters'),
|
146
|
+
id=pulumi.get(__response__, 'id'),
|
147
|
+
organization_collections=pulumi.get(__response__, 'organization_collections')))
|
@@ -0,0 +1,295 @@
|
|
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
|
+
'GetRecipientInvitationResult',
|
19
|
+
'AwaitableGetRecipientInvitationResult',
|
20
|
+
'get_recipient_invitation',
|
21
|
+
'get_recipient_invitation_output',
|
22
|
+
]
|
23
|
+
|
24
|
+
@pulumi.output_type
|
25
|
+
class GetRecipientInvitationResult:
|
26
|
+
"""
|
27
|
+
A collection of values returned by getRecipientInvitation.
|
28
|
+
"""
|
29
|
+
def __init__(__self__, compartment_id=None, defined_tags=None, display_name=None, freeform_tags=None, id=None, recipient_email_address=None, recipient_invitation_id=None, sender_invitation_id=None, sender_tenancy_id=None, state=None, status=None, subjects=None, system_tags=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 defined_tags and not isinstance(defined_tags, dict):
|
34
|
+
raise TypeError("Expected argument 'defined_tags' to be a dict")
|
35
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
36
|
+
if 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 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 recipient_email_address and not isinstance(recipient_email_address, str):
|
46
|
+
raise TypeError("Expected argument 'recipient_email_address' to be a str")
|
47
|
+
pulumi.set(__self__, "recipient_email_address", recipient_email_address)
|
48
|
+
if recipient_invitation_id and not isinstance(recipient_invitation_id, str):
|
49
|
+
raise TypeError("Expected argument 'recipient_invitation_id' to be a str")
|
50
|
+
pulumi.set(__self__, "recipient_invitation_id", recipient_invitation_id)
|
51
|
+
if sender_invitation_id and not isinstance(sender_invitation_id, str):
|
52
|
+
raise TypeError("Expected argument 'sender_invitation_id' to be a str")
|
53
|
+
pulumi.set(__self__, "sender_invitation_id", sender_invitation_id)
|
54
|
+
if sender_tenancy_id and not isinstance(sender_tenancy_id, str):
|
55
|
+
raise TypeError("Expected argument 'sender_tenancy_id' to be a str")
|
56
|
+
pulumi.set(__self__, "sender_tenancy_id", sender_tenancy_id)
|
57
|
+
if state and not isinstance(state, str):
|
58
|
+
raise TypeError("Expected argument 'state' to be a str")
|
59
|
+
pulumi.set(__self__, "state", state)
|
60
|
+
if status and not isinstance(status, str):
|
61
|
+
raise TypeError("Expected argument 'status' to be a str")
|
62
|
+
pulumi.set(__self__, "status", status)
|
63
|
+
if subjects and not isinstance(subjects, list):
|
64
|
+
raise TypeError("Expected argument 'subjects' to be a list")
|
65
|
+
pulumi.set(__self__, "subjects", subjects)
|
66
|
+
if system_tags and not isinstance(system_tags, dict):
|
67
|
+
raise TypeError("Expected argument 'system_tags' to be a dict")
|
68
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
69
|
+
if time_created and not isinstance(time_created, str):
|
70
|
+
raise TypeError("Expected argument 'time_created' to be a str")
|
71
|
+
pulumi.set(__self__, "time_created", time_created)
|
72
|
+
if time_updated and not isinstance(time_updated, str):
|
73
|
+
raise TypeError("Expected argument 'time_updated' to be a str")
|
74
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
75
|
+
|
76
|
+
@property
|
77
|
+
@pulumi.getter(name="compartmentId")
|
78
|
+
def compartment_id(self) -> str:
|
79
|
+
"""
|
80
|
+
OCID of the recipient tenancy.
|
81
|
+
"""
|
82
|
+
return pulumi.get(self, "compartment_id")
|
83
|
+
|
84
|
+
@property
|
85
|
+
@pulumi.getter(name="definedTags")
|
86
|
+
def defined_tags(self) -> Mapping[str, str]:
|
87
|
+
"""
|
88
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
89
|
+
"""
|
90
|
+
return pulumi.get(self, "defined_tags")
|
91
|
+
|
92
|
+
@property
|
93
|
+
@pulumi.getter(name="displayName")
|
94
|
+
def display_name(self) -> str:
|
95
|
+
"""
|
96
|
+
A user-created name to describe the invitation. Avoid entering confidential information.
|
97
|
+
"""
|
98
|
+
return pulumi.get(self, "display_name")
|
99
|
+
|
100
|
+
@property
|
101
|
+
@pulumi.getter(name="freeformTags")
|
102
|
+
def freeform_tags(self) -> Mapping[str, str]:
|
103
|
+
"""
|
104
|
+
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
105
|
+
"""
|
106
|
+
return pulumi.get(self, "freeform_tags")
|
107
|
+
|
108
|
+
@property
|
109
|
+
@pulumi.getter
|
110
|
+
def id(self) -> str:
|
111
|
+
"""
|
112
|
+
The provider-assigned unique ID for this managed resource.
|
113
|
+
"""
|
114
|
+
return pulumi.get(self, "id")
|
115
|
+
|
116
|
+
@property
|
117
|
+
@pulumi.getter(name="recipientEmailAddress")
|
118
|
+
def recipient_email_address(self) -> str:
|
119
|
+
"""
|
120
|
+
Email address of the recipient.
|
121
|
+
"""
|
122
|
+
return pulumi.get(self, "recipient_email_address")
|
123
|
+
|
124
|
+
@property
|
125
|
+
@pulumi.getter(name="recipientInvitationId")
|
126
|
+
def recipient_invitation_id(self) -> str:
|
127
|
+
return pulumi.get(self, "recipient_invitation_id")
|
128
|
+
|
129
|
+
@property
|
130
|
+
@pulumi.getter(name="senderInvitationId")
|
131
|
+
def sender_invitation_id(self) -> str:
|
132
|
+
"""
|
133
|
+
OCID of the corresponding sender invitation.
|
134
|
+
"""
|
135
|
+
return pulumi.get(self, "sender_invitation_id")
|
136
|
+
|
137
|
+
@property
|
138
|
+
@pulumi.getter(name="senderTenancyId")
|
139
|
+
def sender_tenancy_id(self) -> str:
|
140
|
+
"""
|
141
|
+
OCID of the sender tenancy.
|
142
|
+
"""
|
143
|
+
return pulumi.get(self, "sender_tenancy_id")
|
144
|
+
|
145
|
+
@property
|
146
|
+
@pulumi.getter
|
147
|
+
def state(self) -> str:
|
148
|
+
"""
|
149
|
+
Lifecycle state of the recipient invitation.
|
150
|
+
"""
|
151
|
+
return pulumi.get(self, "state")
|
152
|
+
|
153
|
+
@property
|
154
|
+
@pulumi.getter
|
155
|
+
def status(self) -> str:
|
156
|
+
"""
|
157
|
+
Status of the recipient invitation.
|
158
|
+
"""
|
159
|
+
return pulumi.get(self, "status")
|
160
|
+
|
161
|
+
@property
|
162
|
+
@pulumi.getter
|
163
|
+
def subjects(self) -> Sequence[str]:
|
164
|
+
"""
|
165
|
+
The list of subjects the invitation contains.
|
166
|
+
"""
|
167
|
+
return pulumi.get(self, "subjects")
|
168
|
+
|
169
|
+
@property
|
170
|
+
@pulumi.getter(name="systemTags")
|
171
|
+
def system_tags(self) -> Mapping[str, str]:
|
172
|
+
"""
|
173
|
+
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
174
|
+
"""
|
175
|
+
return pulumi.get(self, "system_tags")
|
176
|
+
|
177
|
+
@property
|
178
|
+
@pulumi.getter(name="timeCreated")
|
179
|
+
def time_created(self) -> str:
|
180
|
+
"""
|
181
|
+
Date and time when the recipient invitation was created.
|
182
|
+
"""
|
183
|
+
return pulumi.get(self, "time_created")
|
184
|
+
|
185
|
+
@property
|
186
|
+
@pulumi.getter(name="timeUpdated")
|
187
|
+
def time_updated(self) -> str:
|
188
|
+
"""
|
189
|
+
Date and time when the recipient invitation was last updated.
|
190
|
+
"""
|
191
|
+
return pulumi.get(self, "time_updated")
|
192
|
+
|
193
|
+
|
194
|
+
class AwaitableGetRecipientInvitationResult(GetRecipientInvitationResult):
|
195
|
+
# pylint: disable=using-constant-test
|
196
|
+
def __await__(self):
|
197
|
+
if False:
|
198
|
+
yield self
|
199
|
+
return GetRecipientInvitationResult(
|
200
|
+
compartment_id=self.compartment_id,
|
201
|
+
defined_tags=self.defined_tags,
|
202
|
+
display_name=self.display_name,
|
203
|
+
freeform_tags=self.freeform_tags,
|
204
|
+
id=self.id,
|
205
|
+
recipient_email_address=self.recipient_email_address,
|
206
|
+
recipient_invitation_id=self.recipient_invitation_id,
|
207
|
+
sender_invitation_id=self.sender_invitation_id,
|
208
|
+
sender_tenancy_id=self.sender_tenancy_id,
|
209
|
+
state=self.state,
|
210
|
+
status=self.status,
|
211
|
+
subjects=self.subjects,
|
212
|
+
system_tags=self.system_tags,
|
213
|
+
time_created=self.time_created,
|
214
|
+
time_updated=self.time_updated)
|
215
|
+
|
216
|
+
|
217
|
+
def get_recipient_invitation(recipient_invitation_id: Optional[str] = None,
|
218
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRecipientInvitationResult:
|
219
|
+
"""
|
220
|
+
This data source provides details about a specific Recipient Invitation resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service.
|
221
|
+
|
222
|
+
Gets information about the recipient invitation.
|
223
|
+
|
224
|
+
## Example Usage
|
225
|
+
|
226
|
+
```python
|
227
|
+
import pulumi
|
228
|
+
import pulumi_oci as oci
|
229
|
+
|
230
|
+
test_recipient_invitation = oci.Tenantmanagercontrolplane.get_recipient_invitation(recipient_invitation_id=test_recipient_invitation_oci_tenantmanagercontrolplane_recipient_invitation["id"])
|
231
|
+
```
|
232
|
+
|
233
|
+
|
234
|
+
:param str recipient_invitation_id: OCID of the recipient invitation to retrieve.
|
235
|
+
"""
|
236
|
+
__args__ = dict()
|
237
|
+
__args__['recipientInvitationId'] = recipient_invitation_id
|
238
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
239
|
+
__ret__ = pulumi.runtime.invoke('oci:Tenantmanagercontrolplane/getRecipientInvitation:getRecipientInvitation', __args__, opts=opts, typ=GetRecipientInvitationResult).value
|
240
|
+
|
241
|
+
return AwaitableGetRecipientInvitationResult(
|
242
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
243
|
+
defined_tags=pulumi.get(__ret__, 'defined_tags'),
|
244
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
245
|
+
freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
|
246
|
+
id=pulumi.get(__ret__, 'id'),
|
247
|
+
recipient_email_address=pulumi.get(__ret__, 'recipient_email_address'),
|
248
|
+
recipient_invitation_id=pulumi.get(__ret__, 'recipient_invitation_id'),
|
249
|
+
sender_invitation_id=pulumi.get(__ret__, 'sender_invitation_id'),
|
250
|
+
sender_tenancy_id=pulumi.get(__ret__, 'sender_tenancy_id'),
|
251
|
+
state=pulumi.get(__ret__, 'state'),
|
252
|
+
status=pulumi.get(__ret__, 'status'),
|
253
|
+
subjects=pulumi.get(__ret__, 'subjects'),
|
254
|
+
system_tags=pulumi.get(__ret__, 'system_tags'),
|
255
|
+
time_created=pulumi.get(__ret__, 'time_created'),
|
256
|
+
time_updated=pulumi.get(__ret__, 'time_updated'))
|
257
|
+
def get_recipient_invitation_output(recipient_invitation_id: Optional[pulumi.Input[str]] = None,
|
258
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetRecipientInvitationResult]:
|
259
|
+
"""
|
260
|
+
This data source provides details about a specific Recipient Invitation resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service.
|
261
|
+
|
262
|
+
Gets information about the recipient invitation.
|
263
|
+
|
264
|
+
## Example Usage
|
265
|
+
|
266
|
+
```python
|
267
|
+
import pulumi
|
268
|
+
import pulumi_oci as oci
|
269
|
+
|
270
|
+
test_recipient_invitation = oci.Tenantmanagercontrolplane.get_recipient_invitation(recipient_invitation_id=test_recipient_invitation_oci_tenantmanagercontrolplane_recipient_invitation["id"])
|
271
|
+
```
|
272
|
+
|
273
|
+
|
274
|
+
:param str recipient_invitation_id: OCID of the recipient invitation to retrieve.
|
275
|
+
"""
|
276
|
+
__args__ = dict()
|
277
|
+
__args__['recipientInvitationId'] = recipient_invitation_id
|
278
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
279
|
+
__ret__ = pulumi.runtime.invoke_output('oci:Tenantmanagercontrolplane/getRecipientInvitation:getRecipientInvitation', __args__, opts=opts, typ=GetRecipientInvitationResult)
|
280
|
+
return __ret__.apply(lambda __response__: GetRecipientInvitationResult(
|
281
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
282
|
+
defined_tags=pulumi.get(__response__, 'defined_tags'),
|
283
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
284
|
+
freeform_tags=pulumi.get(__response__, 'freeform_tags'),
|
285
|
+
id=pulumi.get(__response__, 'id'),
|
286
|
+
recipient_email_address=pulumi.get(__response__, 'recipient_email_address'),
|
287
|
+
recipient_invitation_id=pulumi.get(__response__, 'recipient_invitation_id'),
|
288
|
+
sender_invitation_id=pulumi.get(__response__, 'sender_invitation_id'),
|
289
|
+
sender_tenancy_id=pulumi.get(__response__, 'sender_tenancy_id'),
|
290
|
+
state=pulumi.get(__response__, 'state'),
|
291
|
+
status=pulumi.get(__response__, 'status'),
|
292
|
+
subjects=pulumi.get(__response__, 'subjects'),
|
293
|
+
system_tags=pulumi.get(__response__, 'system_tags'),
|
294
|
+
time_created=pulumi.get(__response__, 'time_created'),
|
295
|
+
time_updated=pulumi.get(__response__, 'time_updated')))
|
@@ -0,0 +1,213 @@
|
|
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
|
+
'GetRecipientInvitationsResult',
|
21
|
+
'AwaitableGetRecipientInvitationsResult',
|
22
|
+
'get_recipient_invitations',
|
23
|
+
'get_recipient_invitations_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetRecipientInvitationsResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getRecipientInvitations.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, compartment_id=None, filters=None, id=None, recipient_invitation_collections=None, sender_tenancy_id=None, state=None, status=None):
|
32
|
+
if compartment_id and not isinstance(compartment_id, str):
|
33
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
34
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
35
|
+
if filters and not isinstance(filters, list):
|
36
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
37
|
+
pulumi.set(__self__, "filters", filters)
|
38
|
+
if id and not isinstance(id, str):
|
39
|
+
raise TypeError("Expected argument 'id' to be a str")
|
40
|
+
pulumi.set(__self__, "id", id)
|
41
|
+
if recipient_invitation_collections and not isinstance(recipient_invitation_collections, list):
|
42
|
+
raise TypeError("Expected argument 'recipient_invitation_collections' to be a list")
|
43
|
+
pulumi.set(__self__, "recipient_invitation_collections", recipient_invitation_collections)
|
44
|
+
if sender_tenancy_id and not isinstance(sender_tenancy_id, str):
|
45
|
+
raise TypeError("Expected argument 'sender_tenancy_id' to be a str")
|
46
|
+
pulumi.set(__self__, "sender_tenancy_id", sender_tenancy_id)
|
47
|
+
if state and not isinstance(state, str):
|
48
|
+
raise TypeError("Expected argument 'state' to be a str")
|
49
|
+
pulumi.set(__self__, "state", state)
|
50
|
+
if status and not isinstance(status, str):
|
51
|
+
raise TypeError("Expected argument 'status' to be a str")
|
52
|
+
pulumi.set(__self__, "status", status)
|
53
|
+
|
54
|
+
@property
|
55
|
+
@pulumi.getter(name="compartmentId")
|
56
|
+
def compartment_id(self) -> str:
|
57
|
+
"""
|
58
|
+
OCID of the recipient tenancy.
|
59
|
+
"""
|
60
|
+
return pulumi.get(self, "compartment_id")
|
61
|
+
|
62
|
+
@property
|
63
|
+
@pulumi.getter
|
64
|
+
def filters(self) -> Optional[Sequence['outputs.GetRecipientInvitationsFilterResult']]:
|
65
|
+
return pulumi.get(self, "filters")
|
66
|
+
|
67
|
+
@property
|
68
|
+
@pulumi.getter
|
69
|
+
def id(self) -> str:
|
70
|
+
"""
|
71
|
+
The provider-assigned unique ID for this managed resource.
|
72
|
+
"""
|
73
|
+
return pulumi.get(self, "id")
|
74
|
+
|
75
|
+
@property
|
76
|
+
@pulumi.getter(name="recipientInvitationCollections")
|
77
|
+
def recipient_invitation_collections(self) -> Sequence['outputs.GetRecipientInvitationsRecipientInvitationCollectionResult']:
|
78
|
+
"""
|
79
|
+
The list of recipient_invitation_collection.
|
80
|
+
"""
|
81
|
+
return pulumi.get(self, "recipient_invitation_collections")
|
82
|
+
|
83
|
+
@property
|
84
|
+
@pulumi.getter(name="senderTenancyId")
|
85
|
+
def sender_tenancy_id(self) -> Optional[str]:
|
86
|
+
"""
|
87
|
+
OCID of the sender tenancy.
|
88
|
+
"""
|
89
|
+
return pulumi.get(self, "sender_tenancy_id")
|
90
|
+
|
91
|
+
@property
|
92
|
+
@pulumi.getter
|
93
|
+
def state(self) -> Optional[str]:
|
94
|
+
"""
|
95
|
+
Lifecycle state of the recipient invitation.
|
96
|
+
"""
|
97
|
+
return pulumi.get(self, "state")
|
98
|
+
|
99
|
+
@property
|
100
|
+
@pulumi.getter
|
101
|
+
def status(self) -> Optional[str]:
|
102
|
+
"""
|
103
|
+
Status of the recipient invitation.
|
104
|
+
"""
|
105
|
+
return pulumi.get(self, "status")
|
106
|
+
|
107
|
+
|
108
|
+
class AwaitableGetRecipientInvitationsResult(GetRecipientInvitationsResult):
|
109
|
+
# pylint: disable=using-constant-test
|
110
|
+
def __await__(self):
|
111
|
+
if False:
|
112
|
+
yield self
|
113
|
+
return GetRecipientInvitationsResult(
|
114
|
+
compartment_id=self.compartment_id,
|
115
|
+
filters=self.filters,
|
116
|
+
id=self.id,
|
117
|
+
recipient_invitation_collections=self.recipient_invitation_collections,
|
118
|
+
sender_tenancy_id=self.sender_tenancy_id,
|
119
|
+
state=self.state,
|
120
|
+
status=self.status)
|
121
|
+
|
122
|
+
|
123
|
+
def get_recipient_invitations(compartment_id: Optional[str] = None,
|
124
|
+
filters: Optional[Sequence[Union['GetRecipientInvitationsFilterArgs', 'GetRecipientInvitationsFilterArgsDict']]] = None,
|
125
|
+
sender_tenancy_id: Optional[str] = None,
|
126
|
+
state: Optional[str] = None,
|
127
|
+
status: Optional[str] = None,
|
128
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRecipientInvitationsResult:
|
129
|
+
"""
|
130
|
+
This data source provides the list of Recipient Invitations in Oracle Cloud Infrastructure Tenantmanagercontrolplane service.
|
131
|
+
|
132
|
+
Return a (paginated) list of recipient invitations.
|
133
|
+
|
134
|
+
## Example Usage
|
135
|
+
|
136
|
+
```python
|
137
|
+
import pulumi
|
138
|
+
import pulumi_oci as oci
|
139
|
+
|
140
|
+
test_recipient_invitations = oci.Tenantmanagercontrolplane.get_recipient_invitations(compartment_id=compartment_id,
|
141
|
+
sender_tenancy_id=test_tenancy["id"],
|
142
|
+
state=recipient_invitation_state,
|
143
|
+
status=recipient_invitation_status)
|
144
|
+
```
|
145
|
+
|
146
|
+
|
147
|
+
:param str compartment_id: The ID of the compartment in which to list resources.
|
148
|
+
:param str sender_tenancy_id: The tenancy that sent the invitation.
|
149
|
+
:param str state: The lifecycle state of the resource.
|
150
|
+
:param str status: The status of the recipient invitation.
|
151
|
+
"""
|
152
|
+
__args__ = dict()
|
153
|
+
__args__['compartmentId'] = compartment_id
|
154
|
+
__args__['filters'] = filters
|
155
|
+
__args__['senderTenancyId'] = sender_tenancy_id
|
156
|
+
__args__['state'] = state
|
157
|
+
__args__['status'] = status
|
158
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
159
|
+
__ret__ = pulumi.runtime.invoke('oci:Tenantmanagercontrolplane/getRecipientInvitations:getRecipientInvitations', __args__, opts=opts, typ=GetRecipientInvitationsResult).value
|
160
|
+
|
161
|
+
return AwaitableGetRecipientInvitationsResult(
|
162
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
163
|
+
filters=pulumi.get(__ret__, 'filters'),
|
164
|
+
id=pulumi.get(__ret__, 'id'),
|
165
|
+
recipient_invitation_collections=pulumi.get(__ret__, 'recipient_invitation_collections'),
|
166
|
+
sender_tenancy_id=pulumi.get(__ret__, 'sender_tenancy_id'),
|
167
|
+
state=pulumi.get(__ret__, 'state'),
|
168
|
+
status=pulumi.get(__ret__, 'status'))
|
169
|
+
def get_recipient_invitations_output(compartment_id: Optional[pulumi.Input[str]] = None,
|
170
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetRecipientInvitationsFilterArgs', 'GetRecipientInvitationsFilterArgsDict']]]]] = None,
|
171
|
+
sender_tenancy_id: Optional[pulumi.Input[Optional[str]]] = None,
|
172
|
+
state: Optional[pulumi.Input[Optional[str]]] = None,
|
173
|
+
status: Optional[pulumi.Input[Optional[str]]] = None,
|
174
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetRecipientInvitationsResult]:
|
175
|
+
"""
|
176
|
+
This data source provides the list of Recipient Invitations in Oracle Cloud Infrastructure Tenantmanagercontrolplane service.
|
177
|
+
|
178
|
+
Return a (paginated) list of recipient invitations.
|
179
|
+
|
180
|
+
## Example Usage
|
181
|
+
|
182
|
+
```python
|
183
|
+
import pulumi
|
184
|
+
import pulumi_oci as oci
|
185
|
+
|
186
|
+
test_recipient_invitations = oci.Tenantmanagercontrolplane.get_recipient_invitations(compartment_id=compartment_id,
|
187
|
+
sender_tenancy_id=test_tenancy["id"],
|
188
|
+
state=recipient_invitation_state,
|
189
|
+
status=recipient_invitation_status)
|
190
|
+
```
|
191
|
+
|
192
|
+
|
193
|
+
:param str compartment_id: The ID of the compartment in which to list resources.
|
194
|
+
:param str sender_tenancy_id: The tenancy that sent the invitation.
|
195
|
+
:param str state: The lifecycle state of the resource.
|
196
|
+
:param str status: The status of the recipient invitation.
|
197
|
+
"""
|
198
|
+
__args__ = dict()
|
199
|
+
__args__['compartmentId'] = compartment_id
|
200
|
+
__args__['filters'] = filters
|
201
|
+
__args__['senderTenancyId'] = sender_tenancy_id
|
202
|
+
__args__['state'] = state
|
203
|
+
__args__['status'] = status
|
204
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
205
|
+
__ret__ = pulumi.runtime.invoke_output('oci:Tenantmanagercontrolplane/getRecipientInvitations:getRecipientInvitations', __args__, opts=opts, typ=GetRecipientInvitationsResult)
|
206
|
+
return __ret__.apply(lambda __response__: GetRecipientInvitationsResult(
|
207
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
208
|
+
filters=pulumi.get(__response__, 'filters'),
|
209
|
+
id=pulumi.get(__response__, 'id'),
|
210
|
+
recipient_invitation_collections=pulumi.get(__response__, 'recipient_invitation_collections'),
|
211
|
+
sender_tenancy_id=pulumi.get(__response__, 'sender_tenancy_id'),
|
212
|
+
state=pulumi.get(__response__, 'state'),
|
213
|
+
status=pulumi.get(__response__, 'status')))
|