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,478 @@
|
|
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
|
+
|
18
|
+
__all__ = [
|
19
|
+
'GetAssignedSubscriptionResult',
|
20
|
+
'AwaitableGetAssignedSubscriptionResult',
|
21
|
+
'get_assigned_subscription',
|
22
|
+
'get_assigned_subscription_output',
|
23
|
+
]
|
24
|
+
|
25
|
+
@pulumi.output_type
|
26
|
+
class GetAssignedSubscriptionResult:
|
27
|
+
"""
|
28
|
+
A collection of values returned by getAssignedSubscription.
|
29
|
+
"""
|
30
|
+
def __init__(__self__, assigned_subscription_id=None, classic_subscription_id=None, cloud_amount_currency=None, compartment_id=None, csi_number=None, currency_code=None, customer_country_code=None, defined_tags=None, end_date=None, entity_version=None, freeform_tags=None, id=None, is_classic_subscription=None, is_government_subscription=None, managed_by=None, order_ids=None, program_type=None, promotions=None, purchase_entitlement_id=None, region_assignment=None, service_name=None, skuses=None, start_date=None, state=None, subscription_number=None, subscription_tier=None, time_created=None, time_updated=None):
|
31
|
+
if assigned_subscription_id and not isinstance(assigned_subscription_id, str):
|
32
|
+
raise TypeError("Expected argument 'assigned_subscription_id' to be a str")
|
33
|
+
pulumi.set(__self__, "assigned_subscription_id", assigned_subscription_id)
|
34
|
+
if classic_subscription_id and not isinstance(classic_subscription_id, str):
|
35
|
+
raise TypeError("Expected argument 'classic_subscription_id' to be a str")
|
36
|
+
pulumi.set(__self__, "classic_subscription_id", classic_subscription_id)
|
37
|
+
if cloud_amount_currency and not isinstance(cloud_amount_currency, str):
|
38
|
+
raise TypeError("Expected argument 'cloud_amount_currency' to be a str")
|
39
|
+
pulumi.set(__self__, "cloud_amount_currency", cloud_amount_currency)
|
40
|
+
if compartment_id and not isinstance(compartment_id, str):
|
41
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
42
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
43
|
+
if csi_number and not isinstance(csi_number, str):
|
44
|
+
raise TypeError("Expected argument 'csi_number' to be a str")
|
45
|
+
pulumi.set(__self__, "csi_number", csi_number)
|
46
|
+
if currency_code and not isinstance(currency_code, str):
|
47
|
+
raise TypeError("Expected argument 'currency_code' to be a str")
|
48
|
+
pulumi.set(__self__, "currency_code", currency_code)
|
49
|
+
if customer_country_code and not isinstance(customer_country_code, str):
|
50
|
+
raise TypeError("Expected argument 'customer_country_code' to be a str")
|
51
|
+
pulumi.set(__self__, "customer_country_code", customer_country_code)
|
52
|
+
if defined_tags and not isinstance(defined_tags, dict):
|
53
|
+
raise TypeError("Expected argument 'defined_tags' to be a dict")
|
54
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
55
|
+
if end_date and not isinstance(end_date, str):
|
56
|
+
raise TypeError("Expected argument 'end_date' to be a str")
|
57
|
+
pulumi.set(__self__, "end_date", end_date)
|
58
|
+
if entity_version and not isinstance(entity_version, str):
|
59
|
+
raise TypeError("Expected argument 'entity_version' to be a str")
|
60
|
+
pulumi.set(__self__, "entity_version", entity_version)
|
61
|
+
if freeform_tags and not isinstance(freeform_tags, dict):
|
62
|
+
raise TypeError("Expected argument 'freeform_tags' to be a dict")
|
63
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
64
|
+
if id and not isinstance(id, str):
|
65
|
+
raise TypeError("Expected argument 'id' to be a str")
|
66
|
+
pulumi.set(__self__, "id", id)
|
67
|
+
if is_classic_subscription and not isinstance(is_classic_subscription, bool):
|
68
|
+
raise TypeError("Expected argument 'is_classic_subscription' to be a bool")
|
69
|
+
pulumi.set(__self__, "is_classic_subscription", is_classic_subscription)
|
70
|
+
if is_government_subscription and not isinstance(is_government_subscription, bool):
|
71
|
+
raise TypeError("Expected argument 'is_government_subscription' to be a bool")
|
72
|
+
pulumi.set(__self__, "is_government_subscription", is_government_subscription)
|
73
|
+
if managed_by and not isinstance(managed_by, str):
|
74
|
+
raise TypeError("Expected argument 'managed_by' to be a str")
|
75
|
+
pulumi.set(__self__, "managed_by", managed_by)
|
76
|
+
if order_ids and not isinstance(order_ids, list):
|
77
|
+
raise TypeError("Expected argument 'order_ids' to be a list")
|
78
|
+
pulumi.set(__self__, "order_ids", order_ids)
|
79
|
+
if program_type and not isinstance(program_type, str):
|
80
|
+
raise TypeError("Expected argument 'program_type' to be a str")
|
81
|
+
pulumi.set(__self__, "program_type", program_type)
|
82
|
+
if promotions and not isinstance(promotions, list):
|
83
|
+
raise TypeError("Expected argument 'promotions' to be a list")
|
84
|
+
pulumi.set(__self__, "promotions", promotions)
|
85
|
+
if purchase_entitlement_id and not isinstance(purchase_entitlement_id, str):
|
86
|
+
raise TypeError("Expected argument 'purchase_entitlement_id' to be a str")
|
87
|
+
pulumi.set(__self__, "purchase_entitlement_id", purchase_entitlement_id)
|
88
|
+
if region_assignment and not isinstance(region_assignment, str):
|
89
|
+
raise TypeError("Expected argument 'region_assignment' to be a str")
|
90
|
+
pulumi.set(__self__, "region_assignment", region_assignment)
|
91
|
+
if service_name and not isinstance(service_name, str):
|
92
|
+
raise TypeError("Expected argument 'service_name' to be a str")
|
93
|
+
pulumi.set(__self__, "service_name", service_name)
|
94
|
+
if skuses and not isinstance(skuses, list):
|
95
|
+
raise TypeError("Expected argument 'skuses' to be a list")
|
96
|
+
pulumi.set(__self__, "skuses", skuses)
|
97
|
+
if start_date and not isinstance(start_date, str):
|
98
|
+
raise TypeError("Expected argument 'start_date' to be a str")
|
99
|
+
pulumi.set(__self__, "start_date", start_date)
|
100
|
+
if state and not isinstance(state, str):
|
101
|
+
raise TypeError("Expected argument 'state' to be a str")
|
102
|
+
pulumi.set(__self__, "state", state)
|
103
|
+
if subscription_number and not isinstance(subscription_number, str):
|
104
|
+
raise TypeError("Expected argument 'subscription_number' to be a str")
|
105
|
+
pulumi.set(__self__, "subscription_number", subscription_number)
|
106
|
+
if subscription_tier and not isinstance(subscription_tier, str):
|
107
|
+
raise TypeError("Expected argument 'subscription_tier' to be a str")
|
108
|
+
pulumi.set(__self__, "subscription_tier", subscription_tier)
|
109
|
+
if time_created and not isinstance(time_created, str):
|
110
|
+
raise TypeError("Expected argument 'time_created' to be a str")
|
111
|
+
pulumi.set(__self__, "time_created", time_created)
|
112
|
+
if time_updated and not isinstance(time_updated, str):
|
113
|
+
raise TypeError("Expected argument 'time_updated' to be a str")
|
114
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
115
|
+
|
116
|
+
@property
|
117
|
+
@pulumi.getter(name="assignedSubscriptionId")
|
118
|
+
def assigned_subscription_id(self) -> str:
|
119
|
+
return pulumi.get(self, "assigned_subscription_id")
|
120
|
+
|
121
|
+
@property
|
122
|
+
@pulumi.getter(name="classicSubscriptionId")
|
123
|
+
def classic_subscription_id(self) -> str:
|
124
|
+
"""
|
125
|
+
Subscription ID.
|
126
|
+
"""
|
127
|
+
return pulumi.get(self, "classic_subscription_id")
|
128
|
+
|
129
|
+
@property
|
130
|
+
@pulumi.getter(name="cloudAmountCurrency")
|
131
|
+
def cloud_amount_currency(self) -> str:
|
132
|
+
"""
|
133
|
+
The currency code for the customer associated with the subscription.
|
134
|
+
"""
|
135
|
+
return pulumi.get(self, "cloud_amount_currency")
|
136
|
+
|
137
|
+
@property
|
138
|
+
@pulumi.getter(name="compartmentId")
|
139
|
+
def compartment_id(self) -> str:
|
140
|
+
"""
|
141
|
+
The Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the owning compartment. Always a tenancy OCID.
|
142
|
+
"""
|
143
|
+
return pulumi.get(self, "compartment_id")
|
144
|
+
|
145
|
+
@property
|
146
|
+
@pulumi.getter(name="csiNumber")
|
147
|
+
def csi_number(self) -> str:
|
148
|
+
"""
|
149
|
+
Customer service identifier for the customer associated with the subscription.
|
150
|
+
"""
|
151
|
+
return pulumi.get(self, "csi_number")
|
152
|
+
|
153
|
+
@property
|
154
|
+
@pulumi.getter(name="currencyCode")
|
155
|
+
def currency_code(self) -> str:
|
156
|
+
"""
|
157
|
+
Currency code. For example USD, MXN.
|
158
|
+
"""
|
159
|
+
return pulumi.get(self, "currency_code")
|
160
|
+
|
161
|
+
@property
|
162
|
+
@pulumi.getter(name="customerCountryCode")
|
163
|
+
def customer_country_code(self) -> str:
|
164
|
+
"""
|
165
|
+
The country code for the customer associated with the subscription.
|
166
|
+
"""
|
167
|
+
return pulumi.get(self, "customer_country_code")
|
168
|
+
|
169
|
+
@property
|
170
|
+
@pulumi.getter(name="definedTags")
|
171
|
+
def defined_tags(self) -> Mapping[str, str]:
|
172
|
+
"""
|
173
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
174
|
+
"""
|
175
|
+
return pulumi.get(self, "defined_tags")
|
176
|
+
|
177
|
+
@property
|
178
|
+
@pulumi.getter(name="endDate")
|
179
|
+
def end_date(self) -> str:
|
180
|
+
"""
|
181
|
+
Date and time when the SKU ended.
|
182
|
+
"""
|
183
|
+
return pulumi.get(self, "end_date")
|
184
|
+
|
185
|
+
@property
|
186
|
+
@pulumi.getter(name="entityVersion")
|
187
|
+
def entity_version(self) -> str:
|
188
|
+
"""
|
189
|
+
The entity version of the subscription, whether V1 (the legacy schema version), or V2 (the latest 20230401 API version).
|
190
|
+
"""
|
191
|
+
return pulumi.get(self, "entity_version")
|
192
|
+
|
193
|
+
@property
|
194
|
+
@pulumi.getter(name="freeformTags")
|
195
|
+
def freeform_tags(self) -> Mapping[str, str]:
|
196
|
+
"""
|
197
|
+
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
198
|
+
"""
|
199
|
+
return pulumi.get(self, "freeform_tags")
|
200
|
+
|
201
|
+
@property
|
202
|
+
@pulumi.getter
|
203
|
+
def id(self) -> str:
|
204
|
+
"""
|
205
|
+
The provider-assigned unique ID for this managed resource.
|
206
|
+
"""
|
207
|
+
return pulumi.get(self, "id")
|
208
|
+
|
209
|
+
@property
|
210
|
+
@pulumi.getter(name="isClassicSubscription")
|
211
|
+
def is_classic_subscription(self) -> bool:
|
212
|
+
"""
|
213
|
+
Specifies whether or not the subscription is legacy.
|
214
|
+
"""
|
215
|
+
return pulumi.get(self, "is_classic_subscription")
|
216
|
+
|
217
|
+
@property
|
218
|
+
@pulumi.getter(name="isGovernmentSubscription")
|
219
|
+
def is_government_subscription(self) -> bool:
|
220
|
+
"""
|
221
|
+
Specifies whether or not the subscription is a government subscription.
|
222
|
+
"""
|
223
|
+
return pulumi.get(self, "is_government_subscription")
|
224
|
+
|
225
|
+
@property
|
226
|
+
@pulumi.getter(name="managedBy")
|
227
|
+
def managed_by(self) -> str:
|
228
|
+
"""
|
229
|
+
Service or component which is used to provision and manage the subscription.
|
230
|
+
"""
|
231
|
+
return pulumi.get(self, "managed_by")
|
232
|
+
|
233
|
+
@property
|
234
|
+
@pulumi.getter(name="orderIds")
|
235
|
+
def order_ids(self) -> Sequence[str]:
|
236
|
+
"""
|
237
|
+
List of subscription order OCIDs that contributed to this subscription.
|
238
|
+
"""
|
239
|
+
return pulumi.get(self, "order_ids")
|
240
|
+
|
241
|
+
@property
|
242
|
+
@pulumi.getter(name="programType")
|
243
|
+
def program_type(self) -> str:
|
244
|
+
"""
|
245
|
+
Specifies any program that is associated with the subscription.
|
246
|
+
"""
|
247
|
+
return pulumi.get(self, "program_type")
|
248
|
+
|
249
|
+
@property
|
250
|
+
@pulumi.getter
|
251
|
+
def promotions(self) -> Sequence['outputs.GetAssignedSubscriptionPromotionResult']:
|
252
|
+
"""
|
253
|
+
List of promotions related to the subscription.
|
254
|
+
"""
|
255
|
+
return pulumi.get(self, "promotions")
|
256
|
+
|
257
|
+
@property
|
258
|
+
@pulumi.getter(name="purchaseEntitlementId")
|
259
|
+
def purchase_entitlement_id(self) -> str:
|
260
|
+
"""
|
261
|
+
Purchase entitlement ID associated with the subscription.
|
262
|
+
"""
|
263
|
+
return pulumi.get(self, "purchase_entitlement_id")
|
264
|
+
|
265
|
+
@property
|
266
|
+
@pulumi.getter(name="regionAssignment")
|
267
|
+
def region_assignment(self) -> str:
|
268
|
+
"""
|
269
|
+
Region for the subscription.
|
270
|
+
"""
|
271
|
+
return pulumi.get(self, "region_assignment")
|
272
|
+
|
273
|
+
@property
|
274
|
+
@pulumi.getter(name="serviceName")
|
275
|
+
def service_name(self) -> str:
|
276
|
+
"""
|
277
|
+
The type of subscription, such as 'UCM', 'SAAS', 'ERP', 'CRM'.
|
278
|
+
"""
|
279
|
+
return pulumi.get(self, "service_name")
|
280
|
+
|
281
|
+
@property
|
282
|
+
@pulumi.getter
|
283
|
+
def skuses(self) -> Sequence['outputs.GetAssignedSubscriptionSkusResult']:
|
284
|
+
"""
|
285
|
+
List of SKUs linked to the subscription.
|
286
|
+
"""
|
287
|
+
return pulumi.get(self, "skuses")
|
288
|
+
|
289
|
+
@property
|
290
|
+
@pulumi.getter(name="startDate")
|
291
|
+
def start_date(self) -> str:
|
292
|
+
"""
|
293
|
+
Subscription start time.
|
294
|
+
"""
|
295
|
+
return pulumi.get(self, "start_date")
|
296
|
+
|
297
|
+
@property
|
298
|
+
@pulumi.getter
|
299
|
+
def state(self) -> str:
|
300
|
+
"""
|
301
|
+
Lifecycle state of the subscription.
|
302
|
+
"""
|
303
|
+
return pulumi.get(self, "state")
|
304
|
+
|
305
|
+
@property
|
306
|
+
@pulumi.getter(name="subscriptionNumber")
|
307
|
+
def subscription_number(self) -> str:
|
308
|
+
"""
|
309
|
+
Unique Oracle Cloud Subscriptions identifier that is immutable on creation.
|
310
|
+
"""
|
311
|
+
return pulumi.get(self, "subscription_number")
|
312
|
+
|
313
|
+
@property
|
314
|
+
@pulumi.getter(name="subscriptionTier")
|
315
|
+
def subscription_tier(self) -> str:
|
316
|
+
"""
|
317
|
+
Tier for the subscription, whether a free promotion subscription or a paid subscription.
|
318
|
+
"""
|
319
|
+
return pulumi.get(self, "subscription_tier")
|
320
|
+
|
321
|
+
@property
|
322
|
+
@pulumi.getter(name="timeCreated")
|
323
|
+
def time_created(self) -> str:
|
324
|
+
"""
|
325
|
+
The date and time of creation, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29.
|
326
|
+
"""
|
327
|
+
return pulumi.get(self, "time_created")
|
328
|
+
|
329
|
+
@property
|
330
|
+
@pulumi.getter(name="timeUpdated")
|
331
|
+
def time_updated(self) -> str:
|
332
|
+
"""
|
333
|
+
The date and time of update, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29.
|
334
|
+
"""
|
335
|
+
return pulumi.get(self, "time_updated")
|
336
|
+
|
337
|
+
|
338
|
+
class AwaitableGetAssignedSubscriptionResult(GetAssignedSubscriptionResult):
|
339
|
+
# pylint: disable=using-constant-test
|
340
|
+
def __await__(self):
|
341
|
+
if False:
|
342
|
+
yield self
|
343
|
+
return GetAssignedSubscriptionResult(
|
344
|
+
assigned_subscription_id=self.assigned_subscription_id,
|
345
|
+
classic_subscription_id=self.classic_subscription_id,
|
346
|
+
cloud_amount_currency=self.cloud_amount_currency,
|
347
|
+
compartment_id=self.compartment_id,
|
348
|
+
csi_number=self.csi_number,
|
349
|
+
currency_code=self.currency_code,
|
350
|
+
customer_country_code=self.customer_country_code,
|
351
|
+
defined_tags=self.defined_tags,
|
352
|
+
end_date=self.end_date,
|
353
|
+
entity_version=self.entity_version,
|
354
|
+
freeform_tags=self.freeform_tags,
|
355
|
+
id=self.id,
|
356
|
+
is_classic_subscription=self.is_classic_subscription,
|
357
|
+
is_government_subscription=self.is_government_subscription,
|
358
|
+
managed_by=self.managed_by,
|
359
|
+
order_ids=self.order_ids,
|
360
|
+
program_type=self.program_type,
|
361
|
+
promotions=self.promotions,
|
362
|
+
purchase_entitlement_id=self.purchase_entitlement_id,
|
363
|
+
region_assignment=self.region_assignment,
|
364
|
+
service_name=self.service_name,
|
365
|
+
skuses=self.skuses,
|
366
|
+
start_date=self.start_date,
|
367
|
+
state=self.state,
|
368
|
+
subscription_number=self.subscription_number,
|
369
|
+
subscription_tier=self.subscription_tier,
|
370
|
+
time_created=self.time_created,
|
371
|
+
time_updated=self.time_updated)
|
372
|
+
|
373
|
+
|
374
|
+
def get_assigned_subscription(assigned_subscription_id: Optional[str] = None,
|
375
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAssignedSubscriptionResult:
|
376
|
+
"""
|
377
|
+
This data source provides details about a specific Assigned Subscription resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service.
|
378
|
+
|
379
|
+
Get the assigned subscription details by assigned subscription ID.
|
380
|
+
|
381
|
+
## Example Usage
|
382
|
+
|
383
|
+
```python
|
384
|
+
import pulumi
|
385
|
+
import pulumi_oci as oci
|
386
|
+
|
387
|
+
test_assigned_subscription = oci.Tenantmanagercontrolplane.get_assigned_subscription(assigned_subscription_id=test_assigned_subscription_oci_tenantmanagercontrolplane_assigned_subscription["id"])
|
388
|
+
```
|
389
|
+
|
390
|
+
|
391
|
+
:param str assigned_subscription_id: OCID of the assigned Oracle Cloud Subscription.
|
392
|
+
"""
|
393
|
+
__args__ = dict()
|
394
|
+
__args__['assignedSubscriptionId'] = assigned_subscription_id
|
395
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
396
|
+
__ret__ = pulumi.runtime.invoke('oci:Tenantmanagercontrolplane/getAssignedSubscription:getAssignedSubscription', __args__, opts=opts, typ=GetAssignedSubscriptionResult).value
|
397
|
+
|
398
|
+
return AwaitableGetAssignedSubscriptionResult(
|
399
|
+
assigned_subscription_id=pulumi.get(__ret__, 'assigned_subscription_id'),
|
400
|
+
classic_subscription_id=pulumi.get(__ret__, 'classic_subscription_id'),
|
401
|
+
cloud_amount_currency=pulumi.get(__ret__, 'cloud_amount_currency'),
|
402
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
403
|
+
csi_number=pulumi.get(__ret__, 'csi_number'),
|
404
|
+
currency_code=pulumi.get(__ret__, 'currency_code'),
|
405
|
+
customer_country_code=pulumi.get(__ret__, 'customer_country_code'),
|
406
|
+
defined_tags=pulumi.get(__ret__, 'defined_tags'),
|
407
|
+
end_date=pulumi.get(__ret__, 'end_date'),
|
408
|
+
entity_version=pulumi.get(__ret__, 'entity_version'),
|
409
|
+
freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
|
410
|
+
id=pulumi.get(__ret__, 'id'),
|
411
|
+
is_classic_subscription=pulumi.get(__ret__, 'is_classic_subscription'),
|
412
|
+
is_government_subscription=pulumi.get(__ret__, 'is_government_subscription'),
|
413
|
+
managed_by=pulumi.get(__ret__, 'managed_by'),
|
414
|
+
order_ids=pulumi.get(__ret__, 'order_ids'),
|
415
|
+
program_type=pulumi.get(__ret__, 'program_type'),
|
416
|
+
promotions=pulumi.get(__ret__, 'promotions'),
|
417
|
+
purchase_entitlement_id=pulumi.get(__ret__, 'purchase_entitlement_id'),
|
418
|
+
region_assignment=pulumi.get(__ret__, 'region_assignment'),
|
419
|
+
service_name=pulumi.get(__ret__, 'service_name'),
|
420
|
+
skuses=pulumi.get(__ret__, 'skuses'),
|
421
|
+
start_date=pulumi.get(__ret__, 'start_date'),
|
422
|
+
state=pulumi.get(__ret__, 'state'),
|
423
|
+
subscription_number=pulumi.get(__ret__, 'subscription_number'),
|
424
|
+
subscription_tier=pulumi.get(__ret__, 'subscription_tier'),
|
425
|
+
time_created=pulumi.get(__ret__, 'time_created'),
|
426
|
+
time_updated=pulumi.get(__ret__, 'time_updated'))
|
427
|
+
def get_assigned_subscription_output(assigned_subscription_id: Optional[pulumi.Input[str]] = None,
|
428
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAssignedSubscriptionResult]:
|
429
|
+
"""
|
430
|
+
This data source provides details about a specific Assigned Subscription resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service.
|
431
|
+
|
432
|
+
Get the assigned subscription details by assigned subscription ID.
|
433
|
+
|
434
|
+
## Example Usage
|
435
|
+
|
436
|
+
```python
|
437
|
+
import pulumi
|
438
|
+
import pulumi_oci as oci
|
439
|
+
|
440
|
+
test_assigned_subscription = oci.Tenantmanagercontrolplane.get_assigned_subscription(assigned_subscription_id=test_assigned_subscription_oci_tenantmanagercontrolplane_assigned_subscription["id"])
|
441
|
+
```
|
442
|
+
|
443
|
+
|
444
|
+
:param str assigned_subscription_id: OCID of the assigned Oracle Cloud Subscription.
|
445
|
+
"""
|
446
|
+
__args__ = dict()
|
447
|
+
__args__['assignedSubscriptionId'] = assigned_subscription_id
|
448
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
449
|
+
__ret__ = pulumi.runtime.invoke_output('oci:Tenantmanagercontrolplane/getAssignedSubscription:getAssignedSubscription', __args__, opts=opts, typ=GetAssignedSubscriptionResult)
|
450
|
+
return __ret__.apply(lambda __response__: GetAssignedSubscriptionResult(
|
451
|
+
assigned_subscription_id=pulumi.get(__response__, 'assigned_subscription_id'),
|
452
|
+
classic_subscription_id=pulumi.get(__response__, 'classic_subscription_id'),
|
453
|
+
cloud_amount_currency=pulumi.get(__response__, 'cloud_amount_currency'),
|
454
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
455
|
+
csi_number=pulumi.get(__response__, 'csi_number'),
|
456
|
+
currency_code=pulumi.get(__response__, 'currency_code'),
|
457
|
+
customer_country_code=pulumi.get(__response__, 'customer_country_code'),
|
458
|
+
defined_tags=pulumi.get(__response__, 'defined_tags'),
|
459
|
+
end_date=pulumi.get(__response__, 'end_date'),
|
460
|
+
entity_version=pulumi.get(__response__, 'entity_version'),
|
461
|
+
freeform_tags=pulumi.get(__response__, 'freeform_tags'),
|
462
|
+
id=pulumi.get(__response__, 'id'),
|
463
|
+
is_classic_subscription=pulumi.get(__response__, 'is_classic_subscription'),
|
464
|
+
is_government_subscription=pulumi.get(__response__, 'is_government_subscription'),
|
465
|
+
managed_by=pulumi.get(__response__, 'managed_by'),
|
466
|
+
order_ids=pulumi.get(__response__, 'order_ids'),
|
467
|
+
program_type=pulumi.get(__response__, 'program_type'),
|
468
|
+
promotions=pulumi.get(__response__, 'promotions'),
|
469
|
+
purchase_entitlement_id=pulumi.get(__response__, 'purchase_entitlement_id'),
|
470
|
+
region_assignment=pulumi.get(__response__, 'region_assignment'),
|
471
|
+
service_name=pulumi.get(__response__, 'service_name'),
|
472
|
+
skuses=pulumi.get(__response__, 'skuses'),
|
473
|
+
start_date=pulumi.get(__response__, 'start_date'),
|
474
|
+
state=pulumi.get(__response__, 'state'),
|
475
|
+
subscription_number=pulumi.get(__response__, 'subscription_number'),
|
476
|
+
subscription_tier=pulumi.get(__response__, 'subscription_tier'),
|
477
|
+
time_created=pulumi.get(__response__, 'time_created'),
|
478
|
+
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
|
+
'GetAssignedSubscriptionLineItemsResult',
|
21
|
+
'AwaitableGetAssignedSubscriptionLineItemsResult',
|
22
|
+
'get_assigned_subscription_line_items',
|
23
|
+
'get_assigned_subscription_line_items_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetAssignedSubscriptionLineItemsResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getAssignedSubscriptionLineItems.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, assigned_subscription_id=None, assigned_subscription_line_item_collections=None, filters=None, id=None):
|
32
|
+
if assigned_subscription_id and not isinstance(assigned_subscription_id, str):
|
33
|
+
raise TypeError("Expected argument 'assigned_subscription_id' to be a str")
|
34
|
+
pulumi.set(__self__, "assigned_subscription_id", assigned_subscription_id)
|
35
|
+
if assigned_subscription_line_item_collections and not isinstance(assigned_subscription_line_item_collections, list):
|
36
|
+
raise TypeError("Expected argument 'assigned_subscription_line_item_collections' to be a list")
|
37
|
+
pulumi.set(__self__, "assigned_subscription_line_item_collections", assigned_subscription_line_item_collections)
|
38
|
+
if filters and not isinstance(filters, list):
|
39
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
40
|
+
pulumi.set(__self__, "filters", filters)
|
41
|
+
if id and not isinstance(id, str):
|
42
|
+
raise TypeError("Expected argument 'id' to be a str")
|
43
|
+
pulumi.set(__self__, "id", id)
|
44
|
+
|
45
|
+
@property
|
46
|
+
@pulumi.getter(name="assignedSubscriptionId")
|
47
|
+
def assigned_subscription_id(self) -> str:
|
48
|
+
return pulumi.get(self, "assigned_subscription_id")
|
49
|
+
|
50
|
+
@property
|
51
|
+
@pulumi.getter(name="assignedSubscriptionLineItemCollections")
|
52
|
+
def assigned_subscription_line_item_collections(self) -> Sequence['outputs.GetAssignedSubscriptionLineItemsAssignedSubscriptionLineItemCollectionResult']:
|
53
|
+
"""
|
54
|
+
The list of assigned_subscription_line_item_collection.
|
55
|
+
"""
|
56
|
+
return pulumi.get(self, "assigned_subscription_line_item_collections")
|
57
|
+
|
58
|
+
@property
|
59
|
+
@pulumi.getter
|
60
|
+
def filters(self) -> Optional[Sequence['outputs.GetAssignedSubscriptionLineItemsFilterResult']]:
|
61
|
+
return pulumi.get(self, "filters")
|
62
|
+
|
63
|
+
@property
|
64
|
+
@pulumi.getter
|
65
|
+
def id(self) -> str:
|
66
|
+
"""
|
67
|
+
The provider-assigned unique ID for this managed resource.
|
68
|
+
"""
|
69
|
+
return pulumi.get(self, "id")
|
70
|
+
|
71
|
+
|
72
|
+
class AwaitableGetAssignedSubscriptionLineItemsResult(GetAssignedSubscriptionLineItemsResult):
|
73
|
+
# pylint: disable=using-constant-test
|
74
|
+
def __await__(self):
|
75
|
+
if False:
|
76
|
+
yield self
|
77
|
+
return GetAssignedSubscriptionLineItemsResult(
|
78
|
+
assigned_subscription_id=self.assigned_subscription_id,
|
79
|
+
assigned_subscription_line_item_collections=self.assigned_subscription_line_item_collections,
|
80
|
+
filters=self.filters,
|
81
|
+
id=self.id)
|
82
|
+
|
83
|
+
|
84
|
+
def get_assigned_subscription_line_items(assigned_subscription_id: Optional[str] = None,
|
85
|
+
filters: Optional[Sequence[Union['GetAssignedSubscriptionLineItemsFilterArgs', 'GetAssignedSubscriptionLineItemsFilterArgsDict']]] = None,
|
86
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAssignedSubscriptionLineItemsResult:
|
87
|
+
"""
|
88
|
+
This data source provides the list of Assigned Subscription Line Items in Oracle Cloud Infrastructure Tenantmanagercontrolplane service.
|
89
|
+
|
90
|
+
List line item summaries that a assigned subscription owns.
|
91
|
+
|
92
|
+
## Example Usage
|
93
|
+
|
94
|
+
```python
|
95
|
+
import pulumi
|
96
|
+
import pulumi_oci as oci
|
97
|
+
|
98
|
+
test_assigned_subscription_line_items = oci.Tenantmanagercontrolplane.get_assigned_subscription_line_items(assigned_subscription_id=test_assigned_subscription["id"])
|
99
|
+
```
|
100
|
+
|
101
|
+
|
102
|
+
:param str assigned_subscription_id: OCID of the assigned Oracle Cloud Subscription.
|
103
|
+
"""
|
104
|
+
__args__ = dict()
|
105
|
+
__args__['assignedSubscriptionId'] = assigned_subscription_id
|
106
|
+
__args__['filters'] = filters
|
107
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
108
|
+
__ret__ = pulumi.runtime.invoke('oci:Tenantmanagercontrolplane/getAssignedSubscriptionLineItems:getAssignedSubscriptionLineItems', __args__, opts=opts, typ=GetAssignedSubscriptionLineItemsResult).value
|
109
|
+
|
110
|
+
return AwaitableGetAssignedSubscriptionLineItemsResult(
|
111
|
+
assigned_subscription_id=pulumi.get(__ret__, 'assigned_subscription_id'),
|
112
|
+
assigned_subscription_line_item_collections=pulumi.get(__ret__, 'assigned_subscription_line_item_collections'),
|
113
|
+
filters=pulumi.get(__ret__, 'filters'),
|
114
|
+
id=pulumi.get(__ret__, 'id'))
|
115
|
+
def get_assigned_subscription_line_items_output(assigned_subscription_id: Optional[pulumi.Input[str]] = None,
|
116
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetAssignedSubscriptionLineItemsFilterArgs', 'GetAssignedSubscriptionLineItemsFilterArgsDict']]]]] = None,
|
117
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAssignedSubscriptionLineItemsResult]:
|
118
|
+
"""
|
119
|
+
This data source provides the list of Assigned Subscription Line Items in Oracle Cloud Infrastructure Tenantmanagercontrolplane service.
|
120
|
+
|
121
|
+
List line item summaries that a assigned subscription owns.
|
122
|
+
|
123
|
+
## Example Usage
|
124
|
+
|
125
|
+
```python
|
126
|
+
import pulumi
|
127
|
+
import pulumi_oci as oci
|
128
|
+
|
129
|
+
test_assigned_subscription_line_items = oci.Tenantmanagercontrolplane.get_assigned_subscription_line_items(assigned_subscription_id=test_assigned_subscription["id"])
|
130
|
+
```
|
131
|
+
|
132
|
+
|
133
|
+
:param str assigned_subscription_id: OCID of the assigned Oracle Cloud Subscription.
|
134
|
+
"""
|
135
|
+
__args__ = dict()
|
136
|
+
__args__['assignedSubscriptionId'] = assigned_subscription_id
|
137
|
+
__args__['filters'] = filters
|
138
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
139
|
+
__ret__ = pulumi.runtime.invoke_output('oci:Tenantmanagercontrolplane/getAssignedSubscriptionLineItems:getAssignedSubscriptionLineItems', __args__, opts=opts, typ=GetAssignedSubscriptionLineItemsResult)
|
140
|
+
return __ret__.apply(lambda __response__: GetAssignedSubscriptionLineItemsResult(
|
141
|
+
assigned_subscription_id=pulumi.get(__response__, 'assigned_subscription_id'),
|
142
|
+
assigned_subscription_line_item_collections=pulumi.get(__response__, 'assigned_subscription_line_item_collections'),
|
143
|
+
filters=pulumi.get(__response__, 'filters'),
|
144
|
+
id=pulumi.get(__response__, 'id')))
|