Data Source: oci_onesubscription_organization_subscriptions
This data source provides the list of Organization Subscriptions in Oracle Cloud Infrastructure Onesubscription service.
API that returns data for the list of subscription ids returned from Organizations API
Example Usage
data "oci_onesubscription_organization_subscriptions" "test_organization_subscriptions" {
#Required
compartment_id = var.compartment_id
}
Argument Reference
The following arguments are supported:
compartment_id
- (Required) The OCID of the root compartment.
Attributes Reference
The following attributes are exported:
organization_subscriptions
- The list of organization_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