Data Source: oci_onesubscription_subscribed_services
This data source provides the list of Subscribed Services in Oracle Cloud Infrastructure Onesubscription service.
This list API returns all subscribed services for given Subscription ID
Example Usage
data "oci_onesubscription_subscribed_services" "test_subscribed_services" {
#Required
compartment_id = var.compartment_id
subscription_id = oci_onesubscription_subscription.test_subscription.id
#Optional
order_line_id = oci_onesubscription_order_line.test_order_line.id
status = var.subscribed_service_status
}
Argument Reference
The following arguments are supported:
compartment_id
- (Required) The OCID of the root compartment.order_line_id
- (Optional) Order Line identifier at subscribed service level . This identifier is originated in Order Management module. Default is null.status
- (Optional) This param is used to filter subscribed services based on its statussubscription_id
- (Required) Line level Subscription Id
Attributes Reference
The following attributes are exported:
subscribed_services
- The list of subscribed_services.
SubscribedService Reference
The following attributes are exported:
admin_email
- Subscribed service admin email idagreement_id
- Subscribed service agreement IDagreement_name
- Subscribed service agrrement nameagreement_type
- Subscribed service agrrement typeavailable_amount
- Subscribed sercice available or remaining amountbill_to_address
- Address.bill_site_use_id
- Bill to site use Id.is_bill_to
- Identify as the customer shipping address.is_ship_to
- Identify as the customer invoicing address.location
- Address location.address1
- Address first line.address2
- Address second line.city
- City.country
- Country.postal_code
- Postal code.region
- Region.tca_location_id
- Region.
name
- Address name identifier.phone
- Phone.service2site_use_id
- Service to site use Id.tca_cust_acct_site_id
- TCA customer account site Id.tca_party_site_number
- Party site number.
bill_to_contact
- User.email
- Email.first_name
- First name.last_name
- Last name.name
- Name.tca_contact_id
- TCA contact ID.tca_cust_accnt_site_id
- TCA customer account site ID.tca_party_id
- TCA party ID.username
- Username.
bill_to_customer
- Business partner.customer_chain_type
- Customer chain type.is_chain_customer
- The business partner is chain customer or not.is_public_sector
- The business partner is part of the public sector or not.name
- Commercial name also called customer name.name_phonetic
- Phonetic name.tca_cust_account_number
- TCA customer account number.tca_customer_account_id
- TCA customer account ID.tca_party_id
- TCA party ID.tca_party_number
- TCA party number.
billing_frequency
- Subscribed service invoice frequencybooking_opty_number
- Booking Opportunity Number of Subscribed Servicebuyer_email
- Subscribed service buyer email idcommitment_schedule_id
- Subscribed service commitment schedule Idcommitment_services
- List of Commitment services of a lineavailable_amount
- Commitment available amountfunded_allocation_value
- Funded Allocation line valueline_net_amount
- Commitment line net amountquantity
- Commitment quantitytime_end
- Commitment end datetime_start
- Commitment start date
created_by
- User that created the subscribed servicecredit_percentage
- Subscribed service credit percentagecsi
- Subscribed service CSI numbercustomer_transaction_reference
- Identifier for a customer’s transactions for purchase of ay oracle servicesdata_center
- Subscribed service data centerdata_center_region
- Subscribed service data center regioneligible_to_renew
- Subscribed service eligible to renew fieldend_user_address
- Address.bill_site_use_id
- Bill to site use Id.is_bill_to
- Identify as the customer shipping address.is_ship_to
- Identify as the customer invoicing address.location
- Address location.address1
- Address first line.address2
- Address second line.city
- City.country
- Country.postal_code
- Postal code.region
- Region.tca_location_id
- Region.
name
- Address name identifier.phone
- Phone.service2site_use_id
- Service to site use Id.tca_cust_acct_site_id
- TCA customer account site Id.tca_party_site_number
- Party site number.
end_user_contact
- User.email
- Email.first_name
- First name.last_name
- Last name.name
- Name.tca_contact_id
- TCA contact ID.tca_cust_accnt_site_id
- TCA customer account site ID.tca_party_id
- TCA party ID.username
- Username.
end_user_customer
- Business partner.customer_chain_type
- Customer chain type.is_chain_customer
- The business partner is chain customer or not.is_public_sector
- The business partner is part of the public sector or not.name
- Commercial name also called customer name.name_phonetic
- Phonetic name.tca_cust_account_number
- TCA customer account number.tca_customer_account_id
- TCA customer account ID.tca_party_id
- TCA party ID.tca_party_number
- TCA party number.
fulfillment_set
- Subscribed service fulfillment setfunded_allocation_value
- Funded Allocation line value example: 12000.00id
- SPM internal Subscribed Service IDis_allowance
- Indicates if a service can recieve usages and consequently have available amounts computedis_cap_to_price_list
- If true compares rate between ratecard and the active pricelist and minimum rate would be fetchedis_credit_enabled
- Used in context of service credit linesis_having_usage
- Indicator on whether or not there has been usage for the subscribed serviceis_intent_to_pay
- Subscribed service intent to pay flagis_payg
- Subscribed service payg flagis_single_rate_card
- Indicates if the Subscribed service has a single ratecardis_variable_commitment
- Indicates if the commitment lines can have different quantitiesline_net_amount
- Subscribed service line net amountmajor_set
- Subscribed service Major Setnet_unit_price
- Subscribed service net unit priceoperation_type
- Subscribed service operation typeorder_header_id
- Sales Order Header associated to the subscribed serviceorder_line_id
- Sales Order Line Id associated to the subscribed serviceorder_line_number
- Sales Order Line Number associated to the subscribed serviceorder_number
- Sales Order Number associated to the subscribed serviceorder_type
- Order Type of Subscribed Serviceoriginal_promo_amount
- Subscribed service Promotion Amountoverage_bill_to
- Overage Bill To of Subscribed Serviceoverage_discount_percentage
- Subscribed service Overage Discount Percentageoverage_policy
- Overage Policy of Subscribed Servicepartner_credit_amount
- Subscribed service partner credit amountpartner_transaction_type
- This field contains the name of the partner to which the subscription belongs - depending on which the invoicing may differpayg_policy
- Pay As You Go policy of Subscribed Service (Can be null - indicating no payg policy)payment_method
- Payment Method of Subscribed Servicepayment_number
- Payment Number of Subscribed Servicepayment_term
- Payment Term detailscreated_by
- User that created the Payment termdescription
- Payment term Descriptionis_active
- Payment term active flagname
- Payment Term nametime_created
- Payment term last update datetime_updated
- Payment term last update dateupdated_by
- User that updated the Payment termvalue
- Payment Term value
price_period
- Indicates the period for which the commitment amount can be utilised exceeding which the amount lapses. Also used in calculation of total contract line valuepricing_model
- Subscribed service pricing modelproduct
- Product descriptionbilling_category
- Metered service billing categoryname
- Product namepart_number
- Product part numnerproduct_category
- Product categoryucm_rate_card_part_type
- Rate card part type of Productunit_of_measure
- Unit of measure
program_type
- Subscribed service program typepromo_order_line_id
- Not null if this service has an associated promotion line in SPM. Contains the line identifier from Order Management of the associated promo line.promo_type
- Subscribed service promotion typepromotion_pricing_type
- Promotion Pricing Type of Subscribed Service (Can be null - indicating no promotion pricing)provisioning_source
- Subscribed service provisioning sourcequantity
- Subscribed service quantityrate_card_discount_percentage
- Subscribed service Rate Card Discount Percentagerate_cards
- List of Rate Cards of a Subscribed Servicecurrency
- Currency detailsiso_code
- Currency Codename
- Currency namestd_precision
- Standard Precision of the Currency
discretionary_discount_percentage
- Rate card discretionary discount percentageis_tier
- Rate card price tier flagnet_unit_price
- Rate card net unit priceoverage_price
- Rate card overage priceproduct
- Product descriptionbilling_category
- Metered service billing categoryname
- Product namepart_number
- Product part numnerproduct_category
- Product categoryucm_rate_card_part_type
- Rate card part type of Productunit_of_measure
- Unit of measure
rate_card_tiers
- List of tiered rate card pricesnet_unit_price
- Rate card tier net unit priceoverage_price
- Rate card tier overage priceup_to_quantity
- Rate card tier quantity range
subscribed_service_id
- SPM internal Subscribed Service IDtime_end
- Rate card end datetime_start
- Rate card start date
ratecard_type
- SPM Ratecard Typerenewal_opty_id
- Subscribed service Opportunity Idrenewal_opty_number
- Renewal Opportunity Number of Subscribed Servicerenewal_opty_type
- Renewal Opportunity Type of Subscribed Servicerenewed_subscribed_service_id
- SPM renewed Subscription IDreseller_address
- Address.bill_site_use_id
- Bill to site use Id.is_bill_to
- Identify as the customer shipping address.is_ship_to
- Identify as the customer invoicing address.location
- Address location.address1
- Address first line.address2
- Address second line.city
- City.country
- Country.postal_code
- Postal code.region
- Region.tca_location_id
- Region.
name
- Address name identifier.phone
- Phone.service2site_use_id
- Service to site use Id.tca_cust_acct_site_id
- TCA customer account site Id.tca_party_site_number
- Party site number.
reseller_contact
- User.email
- Email.first_name
- First name.last_name
- Last name.name
- Name.tca_contact_id
- TCA contact ID.tca_cust_accnt_site_id
- TCA customer account site ID.tca_party_id
- TCA party ID.username
- Username.
reseller_customer
- Business partner.customer_chain_type
- Customer chain type.is_chain_customer
- The business partner is chain customer or not.is_public_sector
- The business partner is part of the public sector or not.name
- Commercial name also called customer name.name_phonetic
- Phonetic name.tca_cust_account_number
- TCA customer account number.tca_customer_account_id
- TCA customer account ID.tca_party_id
- TCA party ID.tca_party_number
- TCA party number.
revenue_line_id
- Subscribed service Revenue Line Idrevenue_line_number
- Revenue Line NUmber of Subscribed Servicerevised_arr_in_lc
- Subscribed service Revised ARRrevised_arr_in_sc
- Subscribed service Revised ARR in Standard Currencysales_account_party_id
- Subscribed service sales account party idsales_channel
- Sales Channel of Subscribed Serviceserial_number
- Subscribed service line numberservice_to_address
- Address.bill_site_use_id
- Bill to site use Id.is_bill_to
- Identify as the customer shipping address.is_ship_to
- Identify as the customer invoicing address.location
- Address location.address1
- Address first line.address2
- Address second line.city
- City.country
- Country.postal_code
- Postal code.region
- Region.tca_location_id
- Region.
name
- Address name identifier.phone
- Phone.service2site_use_id
- Service to site use Id.tca_cust_acct_site_id
- TCA customer account site Id.tca_party_site_number
- Party site number.
service_to_contact
- User.email
- Email.first_name
- First name.last_name
- Last name.name
- Name.tca_contact_id
- TCA contact ID.tca_cust_accnt_site_id
- TCA customer account site ID.tca_party_id
- TCA party ID.username
- Username.
service_to_customer
- Business partner.customer_chain_type
- Customer chain type.is_chain_customer
- The business partner is chain customer or not.is_public_sector
- The business partner is part of the public sector or not.name
- Commercial name also called customer name.name_phonetic
- Phonetic name.tca_cust_account_number
- TCA customer account number.tca_customer_account_id
- TCA customer account ID.tca_party_id
- TCA party ID.tca_party_number
- TCA party number.
sold_to_contact
- User.email
- Email.first_name
- First name.last_name
- Last name.name
- Name.tca_contact_id
- TCA contact ID.tca_cust_accnt_site_id
- TCA customer account site ID.tca_party_id
- TCA party ID.username
- Username.
sold_to_customer
- Business partner.customer_chain_type
- Customer chain type.is_chain_customer
- The business partner is chain customer or not.is_public_sector
- The business partner is part of the public sector or not.name
- Commercial name also called customer name.name_phonetic
- Phonetic name.tca_cust_account_number
- TCA customer account number.tca_customer_account_id
- TCA customer account ID.tca_party_id
- TCA party ID.tca_party_number
- TCA party number.
start_date_type
- Subscribed service start date typestatus
- Subscribed service statussubscription_id
- Subscription ID associated to the subscribed servicesubscription_source
- Subscribed service sourcesystem_arr_in_lc
- Subscribed service System ARRsystem_arr_in_sc
- Subscribed service System ARR in Standard Currencysystem_atr_arr_in_lc
- Subscribed service System ATR-ARRsystem_atr_arr_in_sc
- Subscribed service System ATR-ARR in Standard Currencyterm_value
- Term value in Monthsterm_value_uom
- Term value UOMtime_agreement_end
- Subscribed service agrrement end datetime_created
- Subscribed service creation datetime_customer_config
- Subscribed service customer config datetime_end
- Subscribed service end datetime_majorset_end
- Subscribed service Major Set End datetime_majorset_start
- Subscribed service Major Set Start datetime_payment_expiry
- Subscribed service payment expiry datetime_provisioned
- Subscribed service provisioning datetime_service_configuration_email_sent
- Subscribed service service configuration email sent datetime_start
- Subscribed service start datetime_updated
- Subscribed service last update datetime_welcome_email_sent
- Subscribed service welcome email sent datetotal_value
- Subscribed service total valuetransaction_extension_id
- Subscribed service Transaction Extension Idtype
- Subscribed Service line typeupdated_by
- User that updated the subscribed serviceused_amount
- Subscribed service used amount