oci.OneSubsription.getAggregatedComputedUsages
Explore with Pulumi AI
This data source provides the list of Aggregated Computed Usages in Oracle Cloud Infrastructure Onesubscription service.
This is a collection API which returns a list of aggregated computed usage details (there can be multiple Parent Products under a given SubID each of which is represented under Subscription Service Line # in SPM).
Using getAggregatedComputedUsages
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getAggregatedComputedUsages(args: GetAggregatedComputedUsagesArgs, opts?: InvokeOptions): Promise<GetAggregatedComputedUsagesResult>
function getAggregatedComputedUsagesOutput(args: GetAggregatedComputedUsagesOutputArgs, opts?: InvokeOptions): Output<GetAggregatedComputedUsagesResult>def get_aggregated_computed_usages(compartment_id: Optional[str] = None,
                                   filters: Optional[Sequence[_onesubsription.GetAggregatedComputedUsagesFilter]] = None,
                                   grouping: Optional[str] = None,
                                   parent_product: Optional[str] = None,
                                   subscription_id: Optional[str] = None,
                                   time_from: Optional[str] = None,
                                   time_to: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetAggregatedComputedUsagesResult
def get_aggregated_computed_usages_output(compartment_id: Optional[pulumi.Input[str]] = None,
                                   filters: Optional[pulumi.Input[Sequence[pulumi.Input[_onesubsription.GetAggregatedComputedUsagesFilterArgs]]]] = None,
                                   grouping: Optional[pulumi.Input[str]] = None,
                                   parent_product: Optional[pulumi.Input[str]] = None,
                                   subscription_id: Optional[pulumi.Input[str]] = None,
                                   time_from: Optional[pulumi.Input[str]] = None,
                                   time_to: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetAggregatedComputedUsagesResult]func GetAggregatedComputedUsages(ctx *Context, args *GetAggregatedComputedUsagesArgs, opts ...InvokeOption) (*GetAggregatedComputedUsagesResult, error)
func GetAggregatedComputedUsagesOutput(ctx *Context, args *GetAggregatedComputedUsagesOutputArgs, opts ...InvokeOption) GetAggregatedComputedUsagesResultOutput> Note: This function is named GetAggregatedComputedUsages in the Go SDK.
public static class GetAggregatedComputedUsages 
{
    public static Task<GetAggregatedComputedUsagesResult> InvokeAsync(GetAggregatedComputedUsagesArgs args, InvokeOptions? opts = null)
    public static Output<GetAggregatedComputedUsagesResult> Invoke(GetAggregatedComputedUsagesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAggregatedComputedUsagesResult> getAggregatedComputedUsages(GetAggregatedComputedUsagesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: oci:OneSubsription/getAggregatedComputedUsages:getAggregatedComputedUsages
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Compartment
Id string - The OCID of the root compartment.
 - Subscription
Id string - Subscription Id is an identifier associated to the service used for filter the Computed Usage in SPM.
 - Time
From string - Initial date to filter Computed Usage data in SPM. In the case of non aggregated data the time period between of fromDate and toDate , expressed in RFC 3339 timestamp format.
 - Time
To string - Final date to filter Computed Usage data in SPM, expressed in RFC 3339 timestamp format.
 - Filters
List<Get
Aggregated Computed Usages Filter>  - Grouping string
 - Grouping criteria to use for aggregate the computed Usage, either hourly (
HOURLY), daily (DAILY), monthly(MONTHLY) or none (NONE) to not follow a grouping criteria by date. - Parent
Product string - Product part number for subscribed service line, called parent product.
 
- Compartment
Id string - The OCID of the root compartment.
 - Subscription
Id string - Subscription Id is an identifier associated to the service used for filter the Computed Usage in SPM.
 - Time
From string - Initial date to filter Computed Usage data in SPM. In the case of non aggregated data the time period between of fromDate and toDate , expressed in RFC 3339 timestamp format.
 - Time
To string - Final date to filter Computed Usage data in SPM, expressed in RFC 3339 timestamp format.
 - Filters
[]Get
Aggregated Computed Usages Filter  - Grouping string
 - Grouping criteria to use for aggregate the computed Usage, either hourly (
HOURLY), daily (DAILY), monthly(MONTHLY) or none (NONE) to not follow a grouping criteria by date. - Parent
Product string - Product part number for subscribed service line, called parent product.
 
- compartment
Id String - The OCID of the root compartment.
 - subscription
Id String - Subscription Id is an identifier associated to the service used for filter the Computed Usage in SPM.
 - time
From String - Initial date to filter Computed Usage data in SPM. In the case of non aggregated data the time period between of fromDate and toDate , expressed in RFC 3339 timestamp format.
 - time
To String - Final date to filter Computed Usage data in SPM, expressed in RFC 3339 timestamp format.
 - filters
List<Get
Aggregated Computed Usages Filter>  - grouping String
 - Grouping criteria to use for aggregate the computed Usage, either hourly (
HOURLY), daily (DAILY), monthly(MONTHLY) or none (NONE) to not follow a grouping criteria by date. - parent
Product String - Product part number for subscribed service line, called parent product.
 
- compartment
Id string - The OCID of the root compartment.
 - subscription
Id string - Subscription Id is an identifier associated to the service used for filter the Computed Usage in SPM.
 - time
From string - Initial date to filter Computed Usage data in SPM. In the case of non aggregated data the time period between of fromDate and toDate , expressed in RFC 3339 timestamp format.
 - time
To string - Final date to filter Computed Usage data in SPM, expressed in RFC 3339 timestamp format.
 - filters
Get
Aggregated Computed Usages Filter[]  - grouping string
 - Grouping criteria to use for aggregate the computed Usage, either hourly (
HOURLY), daily (DAILY), monthly(MONTHLY) or none (NONE) to not follow a grouping criteria by date. - parent
Product string - Product part number for subscribed service line, called parent product.
 
- compartment_
id str - The OCID of the root compartment.
 - subscription_
id str - Subscription Id is an identifier associated to the service used for filter the Computed Usage in SPM.
 - time_
from str - Initial date to filter Computed Usage data in SPM. In the case of non aggregated data the time period between of fromDate and toDate , expressed in RFC 3339 timestamp format.
 - time_
to str - Final date to filter Computed Usage data in SPM, expressed in RFC 3339 timestamp format.
 - filters
Sequence[onesubsription.
Get Aggregated Computed Usages Filter]  - grouping str
 - Grouping criteria to use for aggregate the computed Usage, either hourly (
HOURLY), daily (DAILY), monthly(MONTHLY) or none (NONE) to not follow a grouping criteria by date. - parent_
product str - Product part number for subscribed service line, called parent product.
 
- compartment
Id String - The OCID of the root compartment.
 - subscription
Id String - Subscription Id is an identifier associated to the service used for filter the Computed Usage in SPM.
 - time
From String - Initial date to filter Computed Usage data in SPM. In the case of non aggregated data the time period between of fromDate and toDate , expressed in RFC 3339 timestamp format.
 - time
To String - Final date to filter Computed Usage data in SPM, expressed in RFC 3339 timestamp format.
 - filters List<Property Map>
 - grouping String
 - Grouping criteria to use for aggregate the computed Usage, either hourly (
HOURLY), daily (DAILY), monthly(MONTHLY) or none (NONE) to not follow a grouping criteria by date. - parent
Product String - Product part number for subscribed service line, called parent product.
 
getAggregatedComputedUsages Result
The following output properties are available:
- Aggregated
Computed List<GetUsages Aggregated Computed Usages Aggregated Computed Usage>  - Aggregation of computed usages for the subscribed service.
 - Compartment
Id string - Id string
 - The provider-assigned unique ID for this managed resource.
 - Subscription
Id string - Subscription Id is an identifier associated to the service used for filter the Computed Usage in SPM
 - Time
From string - Time
To string - Filters
List<Get
Aggregated Computed Usages Filter>  - Grouping string
 - Parent
Product string - Product description
 
- Aggregated
Computed []GetUsages Aggregated Computed Usages Aggregated Computed Usage  - Aggregation of computed usages for the subscribed service.
 - Compartment
Id string - Id string
 - The provider-assigned unique ID for this managed resource.
 - Subscription
Id string - Subscription Id is an identifier associated to the service used for filter the Computed Usage in SPM
 - Time
From string - Time
To string - Filters
[]Get
Aggregated Computed Usages Filter  - Grouping string
 - Parent
Product string - Product description
 
- aggregated
Computed List<GetUsages Aggregated Computed Usages Aggregated Computed Usage>  - Aggregation of computed usages for the subscribed service.
 - compartment
Id String - id String
 - The provider-assigned unique ID for this managed resource.
 - subscription
Id String - Subscription Id is an identifier associated to the service used for filter the Computed Usage in SPM
 - time
From String - time
To String - filters
List<Get
Aggregated Computed Usages Filter>  - grouping String
 - parent
Product String - Product description
 
- aggregated
Computed GetUsages Aggregated Computed Usages Aggregated Computed Usage[]  - Aggregation of computed usages for the subscribed service.
 - compartment
Id string - id string
 - The provider-assigned unique ID for this managed resource.
 - subscription
Id string - Subscription Id is an identifier associated to the service used for filter the Computed Usage in SPM
 - time
From string - time
To string - filters
Get
Aggregated Computed Usages Filter[]  - grouping string
 - parent
Product string - Product description
 
- aggregated_
computed_ Sequence[onesubsription.usages Get Aggregated Computed Usages Aggregated Computed Usage]  - Aggregation of computed usages for the subscribed service.
 - compartment_
id str - id str
 - The provider-assigned unique ID for this managed resource.
 - subscription_
id str - Subscription Id is an identifier associated to the service used for filter the Computed Usage in SPM
 - time_
from str - time_
to str - filters
Sequence[onesubsription.
Get Aggregated Computed Usages Filter]  - grouping str
 - parent_
product str - Product description
 
- aggregated
Computed List<Property Map>Usages  - Aggregation of computed usages for the subscribed service.
 - compartment
Id String - id String
 - The provider-assigned unique ID for this managed resource.
 - subscription
Id String - Subscription Id is an identifier associated to the service used for filter the Computed Usage in SPM
 - time
From String - time
To String - filters List<Property Map>
 - grouping String
 - parent
Product String - Product description
 
Supporting Types
GetAggregatedComputedUsagesAggregatedComputedUsage      
- Aggregated
Computed List<GetUsages Aggregated Computed Usages Aggregated Computed Usage Aggregated Computed Usage>  - Aggregation of computed usages for the subscribed service.
 - Currency
Code string - Currency code
 - Parent
Products List<GetAggregated Computed Usages Aggregated Computed Usage Parent Product>  - Product part number for subscribed service line, called parent product.
 - Parent
Subscribed stringService Id  - Subscribed service line parent id
 - Plan
Number string - Subscribed service asociated subscription plan number.
 - Pricing
Model string - Subscribed services pricing model
 - Rate
Card stringId  - Inernal SPM Ratecard Id at line level
 - Subscription
Id string - Subscription Id is an identifier associated to the service used for filter the Computed Usage in SPM.
 - Time
End string - Subscribed services contract line end date, expressed in RFC 3339 timestamp format.
 - Time
Start string - Subscribed services contract line start date, expressed in RFC 3339 timestamp format.
 
- Aggregated
Computed []GetUsages Aggregated Computed Usages Aggregated Computed Usage Aggregated Computed Usage  - Aggregation of computed usages for the subscribed service.
 - Currency
Code string - Currency code
 - Parent
Products []GetAggregated Computed Usages Aggregated Computed Usage Parent Product  - Product part number for subscribed service line, called parent product.
 - Parent
Subscribed stringService Id  - Subscribed service line parent id
 - Plan
Number string - Subscribed service asociated subscription plan number.
 - Pricing
Model string - Subscribed services pricing model
 - Rate
Card stringId  - Inernal SPM Ratecard Id at line level
 - Subscription
Id string - Subscription Id is an identifier associated to the service used for filter the Computed Usage in SPM.
 - Time
End string - Subscribed services contract line end date, expressed in RFC 3339 timestamp format.
 - Time
Start string - Subscribed services contract line start date, expressed in RFC 3339 timestamp format.
 
- aggregated
Computed List<GetUsages Aggregated Computed Usages Aggregated Computed Usage Aggregated Computed Usage>  - Aggregation of computed usages for the subscribed service.
 - currency
Code String - Currency code
 - parent
Products List<GetAggregated Computed Usages Aggregated Computed Usage Parent Product>  - Product part number for subscribed service line, called parent product.
 - parent
Subscribed StringService Id  - Subscribed service line parent id
 - plan
Number String - Subscribed service asociated subscription plan number.
 - pricing
Model String - Subscribed services pricing model
 - rate
Card StringId  - Inernal SPM Ratecard Id at line level
 - subscription
Id String - Subscription Id is an identifier associated to the service used for filter the Computed Usage in SPM.
 - time
End String - Subscribed services contract line end date, expressed in RFC 3339 timestamp format.
 - time
Start String - Subscribed services contract line start date, expressed in RFC 3339 timestamp format.
 
- aggregated
Computed GetUsages Aggregated Computed Usages Aggregated Computed Usage Aggregated Computed Usage[]  - Aggregation of computed usages for the subscribed service.
 - currency
Code string - Currency code
 - parent
Products GetAggregated Computed Usages Aggregated Computed Usage Parent Product[]  - Product part number for subscribed service line, called parent product.
 - parent
Subscribed stringService Id  - Subscribed service line parent id
 - plan
Number string - Subscribed service asociated subscription plan number.
 - pricing
Model string - Subscribed services pricing model
 - rate
Card stringId  - Inernal SPM Ratecard Id at line level
 - subscription
Id string - Subscription Id is an identifier associated to the service used for filter the Computed Usage in SPM.
 - time
End string - Subscribed services contract line end date, expressed in RFC 3339 timestamp format.
 - time
Start string - Subscribed services contract line start date, expressed in RFC 3339 timestamp format.
 
- aggregated_
computed_ Sequence[onesubsription.usages Get Aggregated Computed Usages Aggregated Computed Usage Aggregated Computed Usage]  - Aggregation of computed usages for the subscribed service.
 - currency_
code str - Currency code
 - parent_
products Sequence[onesubsription.Get Aggregated Computed Usages Aggregated Computed Usage Parent Product]  - Product part number for subscribed service line, called parent product.
 - parent_
subscribed_ strservice_ id  - Subscribed service line parent id
 - plan_
number str - Subscribed service asociated subscription plan number.
 - pricing_
model str - Subscribed services pricing model
 - rate_
card_ strid  - Inernal SPM Ratecard Id at line level
 - subscription_
id str - Subscription Id is an identifier associated to the service used for filter the Computed Usage in SPM.
 - time_
end str - Subscribed services contract line end date, expressed in RFC 3339 timestamp format.
 - time_
start str - Subscribed services contract line start date, expressed in RFC 3339 timestamp format.
 
- aggregated
Computed List<Property Map>Usages  - Aggregation of computed usages for the subscribed service.
 - currency
Code String - Currency code
 - parent
Products List<Property Map> - Product part number for subscribed service line, called parent product.
 - parent
Subscribed StringService Id  - Subscribed service line parent id
 - plan
Number String - Subscribed service asociated subscription plan number.
 - pricing
Model String - Subscribed services pricing model
 - rate
Card StringId  - Inernal SPM Ratecard Id at line level
 - subscription
Id String - Subscription Id is an identifier associated to the service used for filter the Computed Usage in SPM.
 - time
End String - Subscribed services contract line end date, expressed in RFC 3339 timestamp format.
 - time
Start String - Subscribed services contract line start date, expressed in RFC 3339 timestamp format.
 
GetAggregatedComputedUsagesAggregatedComputedUsageAggregatedComputedUsage         
- Cost string
 - Sum of Computed Line Amount rounded
 - Cost
Unrounded string - Sum of Computed Line Amount unrounded
 - Data
Center string - Data Center Attribute as sent by MQS to SPM.
 - Net
Unit stringPrice  - Net Unit Price for the product in consideration.
 - Products
List<Get
Aggregated Computed Usages Aggregated Computed Usage Aggregated Computed Usage Product>  - Product description
 - Quantity string
 - Total Quantity that was used for computation
 - Time
Metered stringOn  - Metered Service date , expressed in RFC 3339 timestamp format.
 - Type string
 - Usage compute type in SPM.
 
- Cost string
 - Sum of Computed Line Amount rounded
 - Cost
Unrounded string - Sum of Computed Line Amount unrounded
 - Data
Center string - Data Center Attribute as sent by MQS to SPM.
 - Net
Unit stringPrice  - Net Unit Price for the product in consideration.
 - Products
[]Get
Aggregated Computed Usages Aggregated Computed Usage Aggregated Computed Usage Product  - Product description
 - Quantity string
 - Total Quantity that was used for computation
 - Time
Metered stringOn  - Metered Service date , expressed in RFC 3339 timestamp format.
 - Type string
 - Usage compute type in SPM.
 
- cost String
 - Sum of Computed Line Amount rounded
 - cost
Unrounded String - Sum of Computed Line Amount unrounded
 - data
Center String - Data Center Attribute as sent by MQS to SPM.
 - net
Unit StringPrice  - Net Unit Price for the product in consideration.
 - products
List<Get
Aggregated Computed Usages Aggregated Computed Usage Aggregated Computed Usage Product>  - Product description
 - quantity String
 - Total Quantity that was used for computation
 - time
Metered StringOn  - Metered Service date , expressed in RFC 3339 timestamp format.
 - type String
 - Usage compute type in SPM.
 
- cost string
 - Sum of Computed Line Amount rounded
 - cost
Unrounded string - Sum of Computed Line Amount unrounded
 - data
Center string - Data Center Attribute as sent by MQS to SPM.
 - net
Unit stringPrice  - Net Unit Price for the product in consideration.
 - products
Get
Aggregated Computed Usages Aggregated Computed Usage Aggregated Computed Usage Product[]  - Product description
 - quantity string
 - Total Quantity that was used for computation
 - time
Metered stringOn  - Metered Service date , expressed in RFC 3339 timestamp format.
 - type string
 - Usage compute type in SPM.
 
- cost str
 - Sum of Computed Line Amount rounded
 - cost_
unrounded str - Sum of Computed Line Amount unrounded
 - data_
center str - Data Center Attribute as sent by MQS to SPM.
 - net_
unit_ strprice  - Net Unit Price for the product in consideration.
 - products
Sequence[onesubsription.
Get Aggregated Computed Usages Aggregated Computed Usage Aggregated Computed Usage Product]  - Product description
 - quantity str
 - Total Quantity that was used for computation
 - time_
metered_ stron  - Metered Service date , expressed in RFC 3339 timestamp format.
 - type str
 - Usage compute type in SPM.
 
- cost String
 - Sum of Computed Line Amount rounded
 - cost
Unrounded String - Sum of Computed Line Amount unrounded
 - data
Center String - Data Center Attribute as sent by MQS to SPM.
 - net
Unit StringPrice  - Net Unit Price for the product in consideration.
 - products List<Property Map>
 - Product description
 - quantity String
 - Total Quantity that was used for computation
 - time
Metered StringOn  - Metered Service date , expressed in RFC 3339 timestamp format.
 - type String
 - Usage compute type in SPM.
 
GetAggregatedComputedUsagesAggregatedComputedUsageAggregatedComputedUsageProduct          
- Billing
Category string - Metered service billing category
 - Name string
 - Product name
 - Part
Number string - Product part number
 - Product
Category string - Product category
 - Provisioning
Group string - Product provisioning group
 - Ucm
Rate stringCard Part Type  - Rate card part type of Product
 - Unit
Of stringMeasure  - Unit of Measure
 
- Billing
Category string - Metered service billing category
 - Name string
 - Product name
 - Part
Number string - Product part number
 - Product
Category string - Product category
 - Provisioning
Group string - Product provisioning group
 - Ucm
Rate stringCard Part Type  - Rate card part type of Product
 - Unit
Of stringMeasure  - Unit of Measure
 
- billing
Category String - Metered service billing category
 - name String
 - Product name
 - part
Number String - Product part number
 - product
Category String - Product category
 - provisioning
Group String - Product provisioning group
 - ucm
Rate StringCard Part Type  - Rate card part type of Product
 - unit
Of StringMeasure  - Unit of Measure
 
- billing
Category string - Metered service billing category
 - name string
 - Product name
 - part
Number string - Product part number
 - product
Category string - Product category
 - provisioning
Group string - Product provisioning group
 - ucm
Rate stringCard Part Type  - Rate card part type of Product
 - unit
Of stringMeasure  - Unit of Measure
 
- billing_
category str - Metered service billing category
 - name str
 - Product name
 - part_
number str - Product part number
 - product_
category str - Product category
 - provisioning_
group str - Product provisioning group
 - ucm_
rate_ strcard_ part_ type  - Rate card part type of Product
 - unit_
of_ strmeasure  - Unit of Measure
 
- billing
Category String - Metered service billing category
 - name String
 - Product name
 - part
Number String - Product part number
 - product
Category String - Product category
 - provisioning
Group String - Product provisioning group
 - ucm
Rate StringCard Part Type  - Rate card part type of Product
 - unit
Of StringMeasure  - Unit of Measure
 
GetAggregatedComputedUsagesAggregatedComputedUsageParentProduct        
- Billing
Category string - Metered service billing category
 - Name string
 - Product name
 - Part
Number string - Product part number
 - Product
Category string - Product category
 - Provisioning
Group string - Product provisioning group
 - Ucm
Rate stringCard Part Type  - Rate card part type of Product
 - Unit
Of stringMeasure  - Unit of Measure
 
- Billing
Category string - Metered service billing category
 - Name string
 - Product name
 - Part
Number string - Product part number
 - Product
Category string - Product category
 - Provisioning
Group string - Product provisioning group
 - Ucm
Rate stringCard Part Type  - Rate card part type of Product
 - Unit
Of stringMeasure  - Unit of Measure
 
- billing
Category String - Metered service billing category
 - name String
 - Product name
 - part
Number String - Product part number
 - product
Category String - Product category
 - provisioning
Group String - Product provisioning group
 - ucm
Rate StringCard Part Type  - Rate card part type of Product
 - unit
Of StringMeasure  - Unit of Measure
 
- billing
Category string - Metered service billing category
 - name string
 - Product name
 - part
Number string - Product part number
 - product
Category string - Product category
 - provisioning
Group string - Product provisioning group
 - ucm
Rate stringCard Part Type  - Rate card part type of Product
 - unit
Of stringMeasure  - Unit of Measure
 
- billing_
category str - Metered service billing category
 - name str
 - Product name
 - part_
number str - Product part number
 - product_
category str - Product category
 - provisioning_
group str - Product provisioning group
 - ucm_
rate_ strcard_ part_ type  - Rate card part type of Product
 - unit_
of_ strmeasure  - Unit of Measure
 
- billing
Category String - Metered service billing category
 - name String
 - Product name
 - part
Number String - Product part number
 - product
Category String - Product category
 - provisioning
Group String - Product provisioning group
 - ucm
Rate StringCard Part Type  - Rate card part type of Product
 - unit
Of StringMeasure  - Unit of Measure
 
GetAggregatedComputedUsagesFilter    
Package Details
- Repository
 - oci pulumi/pulumi-oci
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
ociTerraform Provider.