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)
public static Output<GetAggregatedComputedUsagesResult> getAggregatedComputedUsages(GetAggregatedComputedUsagesArgs args, InvokeOptions options)
fn::invoke:
  function: oci:OneSubsription/getAggregatedComputedUsages:getAggregatedComputedUsages
  arguments:
    # arguments dictionaryThe following arguments are supported:
- CompartmentId string
- The OCID of the root compartment.
- SubscriptionId string
- Subscription Id is an identifier associated to the service used for filter the Computed Usage in SPM.
- TimeFrom 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.
- TimeTo string
- Final date to filter Computed Usage data in SPM, expressed in RFC 3339 timestamp format.
- Filters
List<GetAggregated 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.
- ParentProduct string
- Product part number for subscribed service line, called parent product.
- CompartmentId string
- The OCID of the root compartment.
- SubscriptionId string
- Subscription Id is an identifier associated to the service used for filter the Computed Usage in SPM.
- TimeFrom 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.
- TimeTo string
- Final date to filter Computed Usage data in SPM, expressed in RFC 3339 timestamp format.
- Filters
[]GetAggregated 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.
- ParentProduct string
- Product part number for subscribed service line, called parent product.
- compartmentId String
- The OCID of the root compartment.
- subscriptionId String
- Subscription Id is an identifier associated to the service used for filter the Computed Usage in SPM.
- timeFrom 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.
- timeTo String
- Final date to filter Computed Usage data in SPM, expressed in RFC 3339 timestamp format.
- filters
List<GetAggregated 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.
- parentProduct String
- Product part number for subscribed service line, called parent product.
- compartmentId string
- The OCID of the root compartment.
- subscriptionId string
- Subscription Id is an identifier associated to the service used for filter the Computed Usage in SPM.
- timeFrom 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.
- timeTo string
- Final date to filter Computed Usage data in SPM, expressed in RFC 3339 timestamp format.
- filters
GetAggregated 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.
- parentProduct 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.
- compartmentId String
- The OCID of the root compartment.
- subscriptionId String
- Subscription Id is an identifier associated to the service used for filter the Computed Usage in SPM.
- timeFrom 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.
- timeTo 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.
- parentProduct String
- Product part number for subscribed service line, called parent product.
getAggregatedComputedUsages Result
The following output properties are available:
- AggregatedComputed List<GetUsages Aggregated Computed Usages Aggregated Computed Usage> 
- Aggregation of computed usages for the subscribed service.
- CompartmentId string
- Id string
- The provider-assigned unique ID for this managed resource.
- SubscriptionId string
- Subscription Id is an identifier associated to the service used for filter the Computed Usage in SPM
- TimeFrom string
- TimeTo string
- Filters
List<GetAggregated Computed Usages Filter> 
- Grouping string
- ParentProduct string
- Product description
- AggregatedComputed []GetUsages Aggregated Computed Usages Aggregated Computed Usage 
- Aggregation of computed usages for the subscribed service.
- CompartmentId string
- Id string
- The provider-assigned unique ID for this managed resource.
- SubscriptionId string
- Subscription Id is an identifier associated to the service used for filter the Computed Usage in SPM
- TimeFrom string
- TimeTo string
- Filters
[]GetAggregated Computed Usages Filter 
- Grouping string
- ParentProduct string
- Product description
- aggregatedComputed List<GetUsages Aggregated Computed Usages Aggregated Computed Usage> 
- Aggregation of computed usages for the subscribed service.
- compartmentId String
- id String
- The provider-assigned unique ID for this managed resource.
- subscriptionId String
- Subscription Id is an identifier associated to the service used for filter the Computed Usage in SPM
- timeFrom String
- timeTo String
- filters
List<GetAggregated Computed Usages Filter> 
- grouping String
- parentProduct String
- Product description
- aggregatedComputed GetUsages Aggregated Computed Usages Aggregated Computed Usage[] 
- Aggregation of computed usages for the subscribed service.
- compartmentId string
- id string
- The provider-assigned unique ID for this managed resource.
- subscriptionId string
- Subscription Id is an identifier associated to the service used for filter the Computed Usage in SPM
- timeFrom string
- timeTo string
- filters
GetAggregated Computed Usages Filter[] 
- grouping string
- parentProduct 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
- aggregatedComputed List<Property Map>Usages 
- Aggregation of computed usages for the subscribed service.
- compartmentId String
- id String
- The provider-assigned unique ID for this managed resource.
- subscriptionId String
- Subscription Id is an identifier associated to the service used for filter the Computed Usage in SPM
- timeFrom String
- timeTo String
- filters List<Property Map>
- grouping String
- parentProduct String
- Product description
Supporting Types
GetAggregatedComputedUsagesAggregatedComputedUsage      
- AggregatedComputed List<GetUsages Aggregated Computed Usages Aggregated Computed Usage Aggregated Computed Usage> 
- Aggregation of computed usages for the subscribed service.
- CurrencyCode string
- Currency code
- ParentProducts List<GetAggregated Computed Usages Aggregated Computed Usage Parent Product> 
- Product part number for subscribed service line, called parent product.
- ParentSubscribed stringService Id 
- Subscribed service line parent id
- PlanNumber string
- Subscribed service asociated subscription plan number.
- PricingModel string
- Subscribed services pricing model
- RateCard stringId 
- Inernal SPM Ratecard Id at line level
- SubscriptionId string
- Subscription Id is an identifier associated to the service used for filter the Computed Usage in SPM.
- TimeEnd string
- Subscribed services contract line end date, expressed in RFC 3339 timestamp format.
- TimeStart string
- Subscribed services contract line start date, expressed in RFC 3339 timestamp format.
- AggregatedComputed []GetUsages Aggregated Computed Usages Aggregated Computed Usage Aggregated Computed Usage 
- Aggregation of computed usages for the subscribed service.
- CurrencyCode string
- Currency code
- ParentProducts []GetAggregated Computed Usages Aggregated Computed Usage Parent Product 
- Product part number for subscribed service line, called parent product.
- ParentSubscribed stringService Id 
- Subscribed service line parent id
- PlanNumber string
- Subscribed service asociated subscription plan number.
- PricingModel string
- Subscribed services pricing model
- RateCard stringId 
- Inernal SPM Ratecard Id at line level
- SubscriptionId string
- Subscription Id is an identifier associated to the service used for filter the Computed Usage in SPM.
- TimeEnd string
- Subscribed services contract line end date, expressed in RFC 3339 timestamp format.
- TimeStart string
- Subscribed services contract line start date, expressed in RFC 3339 timestamp format.
- aggregatedComputed List<GetUsages Aggregated Computed Usages Aggregated Computed Usage Aggregated Computed Usage> 
- Aggregation of computed usages for the subscribed service.
- currencyCode String
- Currency code
- parentProducts List<GetAggregated Computed Usages Aggregated Computed Usage Parent Product> 
- Product part number for subscribed service line, called parent product.
- parentSubscribed StringService Id 
- Subscribed service line parent id
- planNumber String
- Subscribed service asociated subscription plan number.
- pricingModel String
- Subscribed services pricing model
- rateCard StringId 
- Inernal SPM Ratecard Id at line level
- subscriptionId String
- Subscription Id is an identifier associated to the service used for filter the Computed Usage in SPM.
- timeEnd String
- Subscribed services contract line end date, expressed in RFC 3339 timestamp format.
- timeStart String
- Subscribed services contract line start date, expressed in RFC 3339 timestamp format.
- aggregatedComputed GetUsages Aggregated Computed Usages Aggregated Computed Usage Aggregated Computed Usage[] 
- Aggregation of computed usages for the subscribed service.
- currencyCode string
- Currency code
- parentProducts GetAggregated Computed Usages Aggregated Computed Usage Parent Product[] 
- Product part number for subscribed service line, called parent product.
- parentSubscribed stringService Id 
- Subscribed service line parent id
- planNumber string
- Subscribed service asociated subscription plan number.
- pricingModel string
- Subscribed services pricing model
- rateCard stringId 
- Inernal SPM Ratecard Id at line level
- subscriptionId string
- Subscription Id is an identifier associated to the service used for filter the Computed Usage in SPM.
- timeEnd string
- Subscribed services contract line end date, expressed in RFC 3339 timestamp format.
- timeStart 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.
- aggregatedComputed List<Property Map>Usages 
- Aggregation of computed usages for the subscribed service.
- currencyCode String
- Currency code
- parentProducts List<Property Map>
- Product part number for subscribed service line, called parent product.
- parentSubscribed StringService Id 
- Subscribed service line parent id
- planNumber String
- Subscribed service asociated subscription plan number.
- pricingModel String
- Subscribed services pricing model
- rateCard StringId 
- Inernal SPM Ratecard Id at line level
- subscriptionId String
- Subscription Id is an identifier associated to the service used for filter the Computed Usage in SPM.
- timeEnd String
- Subscribed services contract line end date, expressed in RFC 3339 timestamp format.
- timeStart String
- Subscribed services contract line start date, expressed in RFC 3339 timestamp format.
GetAggregatedComputedUsagesAggregatedComputedUsageAggregatedComputedUsage         
- Cost string
- Sum of Computed Line Amount rounded
- CostUnrounded string
- Sum of Computed Line Amount unrounded
- DataCenter string
- Data Center Attribute as sent by MQS to SPM.
- NetUnit stringPrice 
- Net Unit Price for the product in consideration.
- Products
List<GetAggregated Computed Usages Aggregated Computed Usage Aggregated Computed Usage Product> 
- Product description
- Quantity string
- Total Quantity that was used for computation
- TimeMetered 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
- CostUnrounded string
- Sum of Computed Line Amount unrounded
- DataCenter string
- Data Center Attribute as sent by MQS to SPM.
- NetUnit stringPrice 
- Net Unit Price for the product in consideration.
- Products
[]GetAggregated Computed Usages Aggregated Computed Usage Aggregated Computed Usage Product 
- Product description
- Quantity string
- Total Quantity that was used for computation
- TimeMetered 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
- costUnrounded String
- Sum of Computed Line Amount unrounded
- dataCenter String
- Data Center Attribute as sent by MQS to SPM.
- netUnit StringPrice 
- Net Unit Price for the product in consideration.
- products
List<GetAggregated Computed Usages Aggregated Computed Usage Aggregated Computed Usage Product> 
- Product description
- quantity String
- Total Quantity that was used for computation
- timeMetered 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
- costUnrounded string
- Sum of Computed Line Amount unrounded
- dataCenter string
- Data Center Attribute as sent by MQS to SPM.
- netUnit stringPrice 
- Net Unit Price for the product in consideration.
- products
GetAggregated Computed Usages Aggregated Computed Usage Aggregated Computed Usage Product[] 
- Product description
- quantity string
- Total Quantity that was used for computation
- timeMetered 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
- costUnrounded String
- Sum of Computed Line Amount unrounded
- dataCenter String
- Data Center Attribute as sent by MQS to SPM.
- netUnit StringPrice 
- Net Unit Price for the product in consideration.
- products List<Property Map>
- Product description
- quantity String
- Total Quantity that was used for computation
- timeMetered StringOn 
- Metered Service date , expressed in RFC 3339 timestamp format.
- type String
- Usage compute type in SPM.
GetAggregatedComputedUsagesAggregatedComputedUsageAggregatedComputedUsageProduct          
- BillingCategory string
- Metered service billing category
- Name string
- Product name
- PartNumber string
- Product part number
- ProductCategory string
- Product category
- ProvisioningGroup string
- Product provisioning group
- UcmRate stringCard Part Type 
- Rate card part type of Product
- UnitOf stringMeasure 
- Unit of Measure
- BillingCategory string
- Metered service billing category
- Name string
- Product name
- PartNumber string
- Product part number
- ProductCategory string
- Product category
- ProvisioningGroup string
- Product provisioning group
- UcmRate stringCard Part Type 
- Rate card part type of Product
- UnitOf stringMeasure 
- Unit of Measure
- billingCategory String
- Metered service billing category
- name String
- Product name
- partNumber String
- Product part number
- productCategory String
- Product category
- provisioningGroup String
- Product provisioning group
- ucmRate StringCard Part Type 
- Rate card part type of Product
- unitOf StringMeasure 
- Unit of Measure
- billingCategory string
- Metered service billing category
- name string
- Product name
- partNumber string
- Product part number
- productCategory string
- Product category
- provisioningGroup string
- Product provisioning group
- ucmRate stringCard Part Type 
- Rate card part type of Product
- unitOf 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
- billingCategory String
- Metered service billing category
- name String
- Product name
- partNumber String
- Product part number
- productCategory String
- Product category
- provisioningGroup String
- Product provisioning group
- ucmRate StringCard Part Type 
- Rate card part type of Product
- unitOf StringMeasure 
- Unit of Measure
GetAggregatedComputedUsagesAggregatedComputedUsageParentProduct        
- BillingCategory string
- Metered service billing category
- Name string
- Product name
- PartNumber string
- Product part number
- ProductCategory string
- Product category
- ProvisioningGroup string
- Product provisioning group
- UcmRate stringCard Part Type 
- Rate card part type of Product
- UnitOf stringMeasure 
- Unit of Measure
- BillingCategory string
- Metered service billing category
- Name string
- Product name
- PartNumber string
- Product part number
- ProductCategory string
- Product category
- ProvisioningGroup string
- Product provisioning group
- UcmRate stringCard Part Type 
- Rate card part type of Product
- UnitOf stringMeasure 
- Unit of Measure
- billingCategory String
- Metered service billing category
- name String
- Product name
- partNumber String
- Product part number
- productCategory String
- Product category
- provisioningGroup String
- Product provisioning group
- ucmRate StringCard Part Type 
- Rate card part type of Product
- unitOf StringMeasure 
- Unit of Measure
- billingCategory string
- Metered service billing category
- name string
- Product name
- partNumber string
- Product part number
- productCategory string
- Product category
- provisioningGroup string
- Product provisioning group
- ucmRate stringCard Part Type 
- Rate card part type of Product
- unitOf 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
- billingCategory String
- Metered service billing category
- name String
- Product name
- partNumber String
- Product part number
- productCategory String
- Product category
- provisioningGroup String
- Product provisioning group
- ucmRate StringCard Part Type 
- Rate card part type of Product
- unitOf 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.