Data Source: oci_osub_organization_subscription_organization_subscriptions
This data source provides the list of Organization Subscriptions in Oracle Cloud Infrastructure Osub Organization Subscription service.
API that returns data for the list of subscription ids returned from Organizations API
Example Usage
data "oci_osub_organization_subscription_organization_subscriptions" "test_organization_subscriptions" {
#Required
compartment_id = var.compartment_id
subscription_ids = var.organization_subscription_subscription_ids
#Optional
x_one_origin_region = var.organization_subscription_x_one_origin_region
}
Argument Reference
The following arguments are supported:
compartment_id
- (Required) The OCID of the compartment.subscription_ids
- (Required) Comma separated list of subscription ids, pass “DUMMY” as valuex_one_origin_region
- (Optional) The Oracle Cloud Infrastructure home region name in case home region is not us-ashburn-1 (IAD), e.g. ap-mumbai-1, us-phoenix-1 etc.
Attributes Reference
The following attributes are exported:
subscriptions
- The list of subscriptions.
OrganizationSubscription Reference
The following attributes are exported:
currency
- Currency detailsiso_code
- Currency Codename
- Currency namestd_precision
- Standard Precision of the Currency
id
- SPM internal Subscription IDservice_name
- Customer friendly service name provided by PRGstatus
- Status of the plantime_end
- Represents the date when the last service of the subscription endstime_start
- Represents the date when the first service of the subscription was activatedtotal_value
- Total aggregate TCLV of all lines for the subscription including expired, active, and signedtype
- Subscription Type i.e. IAAS,SAAS,PAAS