Oracle Cloud Infrastructure

Pulumi Official
Package maintained by Pulumi
v0.1.1 published on Tuesday, May 3, 2022 by Pulumi

getCommitmentAggregateds

This data source provides the list of Computed Usage Aggregateds in Oracle Cloud Infrastructure Osub Usage 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 getCommitmentAggregateds

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 getCommitmentAggregateds(args: GetCommitmentAggregatedsArgs, opts?: InvokeOptions): Promise<GetCommitmentAggregatedsResult>
function getCommitmentAggregatedsOutput(args: GetCommitmentAggregatedsOutputArgs, opts?: InvokeOptions): Output<GetCommitmentAggregatedsResult>
def get_commitment_aggregateds(compartment_id: Optional[str] = None,
                               filters: Optional[Sequence[_osubusage.GetCommitmentAggregatedsFilter]] = 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,
                               x_one_origin_region: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetCommitmentAggregatedsResult
def get_commitment_aggregateds_output(compartment_id: Optional[pulumi.Input[str]] = None,
                               filters: Optional[pulumi.Input[Sequence[pulumi.Input[_osubusage.GetCommitmentAggregatedsFilterArgs]]]] = 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,
                               x_one_origin_region: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetCommitmentAggregatedsResult]
func GetCommitmentAggregateds(ctx *Context, args *GetCommitmentAggregatedsArgs, opts ...InvokeOption) (*GetCommitmentAggregatedsResult, error)
func GetCommitmentAggregatedsOutput(ctx *Context, args *GetCommitmentAggregatedsOutputArgs, opts ...InvokeOption) GetCommitmentAggregatedsResultOutput

> Note: This function is named GetCommitmentAggregateds in the Go SDK.

public static class GetCommitmentAggregateds 
{
    public static Task<GetCommitmentAggregatedsResult> InvokeAsync(GetCommitmentAggregatedsArgs args, InvokeOptions? opts = null)
    public static Output<GetCommitmentAggregatedsResult> Invoke(GetCommitmentAggregatedsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCommitmentAggregatedsResult> getCommitmentAggregateds(GetCommitmentAggregatedsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: oci:OsubUsage/getCommitmentAggregateds:getCommitmentAggregateds
  Arguments:
    # Arguments dictionary

The 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<GetCommitmentAggregatedsFilter>
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.

XOneOriginRegion string

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.

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 []GetCommitmentAggregatedsFilter
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.

XOneOriginRegion string

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.

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<GetCommitmentAggregatedsFilter>
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.

xOneOriginRegion String

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.

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 GetCommitmentAggregatedsFilter[]
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.

xOneOriginRegion string

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.

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 GetCommitmentAggregatedsFilter]
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.

x_one_origin_region str

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.

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.

xOneOriginRegion String

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.

getCommitmentAggregateds Result

The following output properties are available:

CompartmentId string
ComputedUsageAggregateds List<GetCommitmentAggregatedsComputedUsageAggregated>

The list of computed_usage_aggregateds.

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<GetCommitmentAggregatedsFilter>
Grouping string
ParentProduct string

Product description

XOneOriginRegion string
CompartmentId string
ComputedUsageAggregateds []GetCommitmentAggregatedsComputedUsageAggregated

The list of computed_usage_aggregateds.

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 []GetCommitmentAggregatedsFilter
Grouping string
ParentProduct string

Product description

XOneOriginRegion string
compartmentId String
computedUsageAggregateds List<GetCommitmentAggregatedsComputedUsageAggregated>

The list of computed_usage_aggregateds.

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<GetCommitmentAggregatedsFilter>
grouping String
parentProduct String

Product description

xOneOriginRegion String
compartmentId string
computedUsageAggregateds GetCommitmentAggregatedsComputedUsageAggregated[]

The list of computed_usage_aggregateds.

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 GetCommitmentAggregatedsFilter[]
grouping string
parentProduct string

Product description

xOneOriginRegion string
compartment_id str
computed_usage_aggregateds GetCommitmentAggregatedsComputedUsageAggregated]

The list of computed_usage_aggregateds.

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 GetCommitmentAggregatedsFilter]
grouping str
parent_product str

Product description

x_one_origin_region str
compartmentId String
computedUsageAggregateds List<Property Map>

The list of computed_usage_aggregateds.

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

xOneOriginRegion String

Supporting Types

GetCommitmentAggregatedsComputedUsageAggregated

AggregatedComputedUsages List<GetCommitmentAggregatedsComputedUsageAggregatedAggregatedComputedUsage>

Aggregation of computed usages for the subscribed service.

CurrencyCode string

Currency code

ParentProducts List<GetCommitmentAggregatedsComputedUsageAggregatedParentProduct>

Product part number for subscribed service line, called parent product.

ParentSubscribedServiceId string

Subscribed service line parent id

PlanNumber string

Subscribed service asociated subscription plan number.

PricingModel string

Subscribed services pricing model

RateCardId string

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.

AggregatedComputedUsages []GetCommitmentAggregatedsComputedUsageAggregatedAggregatedComputedUsage

Aggregation of computed usages for the subscribed service.

CurrencyCode string

Currency code

ParentProducts []GetCommitmentAggregatedsComputedUsageAggregatedParentProduct

Product part number for subscribed service line, called parent product.

ParentSubscribedServiceId string

Subscribed service line parent id

PlanNumber string

Subscribed service asociated subscription plan number.

PricingModel string

Subscribed services pricing model

RateCardId string

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.

aggregatedComputedUsages List<GetCommitmentAggregatedsComputedUsageAggregatedAggregatedComputedUsage>

Aggregation of computed usages for the subscribed service.

currencyCode String

Currency code

parentProducts List<GetCommitmentAggregatedsComputedUsageAggregatedParentProduct>

Product part number for subscribed service line, called parent product.

parentSubscribedServiceId String

Subscribed service line parent id

planNumber String

Subscribed service asociated subscription plan number.

pricingModel String

Subscribed services pricing model

rateCardId String

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.

aggregatedComputedUsages GetCommitmentAggregatedsComputedUsageAggregatedAggregatedComputedUsage[]

Aggregation of computed usages for the subscribed service.

currencyCode string

Currency code

parentProducts GetCommitmentAggregatedsComputedUsageAggregatedParentProduct[]

Product part number for subscribed service line, called parent product.

parentSubscribedServiceId string

Subscribed service line parent id

planNumber string

Subscribed service asociated subscription plan number.

pricingModel string

Subscribed services pricing model

rateCardId string

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_usages GetCommitmentAggregatedsComputedUsageAggregatedAggregatedComputedUsage]

Aggregation of computed usages for the subscribed service.

currency_code str

Currency code

parent_products GetCommitmentAggregatedsComputedUsageAggregatedParentProduct]

Product part number for subscribed service line, called parent product.

parent_subscribed_service_id str

Subscribed service line parent id

plan_number str

Subscribed service asociated subscription plan number.

pricing_model str

Subscribed services pricing model

rate_card_id str

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.

aggregatedComputedUsages List<Property Map>

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.

parentSubscribedServiceId String

Subscribed service line parent id

planNumber String

Subscribed service asociated subscription plan number.

pricingModel String

Subscribed services pricing model

rateCardId String

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.

GetCommitmentAggregatedsComputedUsageAggregatedAggregatedComputedUsage

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.

NetUnitPrice string

Net Unit Price for the product in consideration.

Products List<GetCommitmentAggregatedsComputedUsageAggregatedAggregatedComputedUsageProduct>

Product description

Quantity string

Total Quantity that was used for computation

TimeMeteredOn string

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.

NetUnitPrice string

Net Unit Price for the product in consideration.

Products []GetCommitmentAggregatedsComputedUsageAggregatedAggregatedComputedUsageProduct

Product description

Quantity string

Total Quantity that was used for computation

TimeMeteredOn string

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.

netUnitPrice String

Net Unit Price for the product in consideration.

products List<GetCommitmentAggregatedsComputedUsageAggregatedAggregatedComputedUsageProduct>

Product description

quantity String

Total Quantity that was used for computation

timeMeteredOn String

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.

netUnitPrice string

Net Unit Price for the product in consideration.

products GetCommitmentAggregatedsComputedUsageAggregatedAggregatedComputedUsageProduct[]

Product description

quantity string

Total Quantity that was used for computation

timeMeteredOn string

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_price str

Net Unit Price for the product in consideration.

products GetCommitmentAggregatedsComputedUsageAggregatedAggregatedComputedUsageProduct]

Product description

quantity str

Total Quantity that was used for computation

time_metered_on str

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.

netUnitPrice String

Net Unit Price for the product in consideration.

products List<Property Map>

Product description

quantity String

Total Quantity that was used for computation

timeMeteredOn String

Metered Service date , expressed in RFC 3339 timestamp format.

type String

Usage compute type in SPM.

GetCommitmentAggregatedsComputedUsageAggregatedAggregatedComputedUsageProduct

BillingCategory string

Metered service billing category

Name string

Product name

PartNumber string

Product part number

ProductCategory string

Product category

ProvisioningGroup string

Product provisioning group

UcmRateCardPartType string

Rate card part type of Product

UnitOfMeasure string

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

UcmRateCardPartType string

Rate card part type of Product

UnitOfMeasure string

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

ucmRateCardPartType String

Rate card part type of Product

unitOfMeasure String

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

ucmRateCardPartType string

Rate card part type of Product

unitOfMeasure string

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_card_part_type str

Rate card part type of Product

unit_of_measure str

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

ucmRateCardPartType String

Rate card part type of Product

unitOfMeasure String

Unit of Measure

GetCommitmentAggregatedsComputedUsageAggregatedParentProduct

BillingCategory string

Metered service billing category

Name string

Product name

PartNumber string

Product part number

ProductCategory string

Product category

ProvisioningGroup string

Product provisioning group

UcmRateCardPartType string

Rate card part type of Product

UnitOfMeasure string

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

UcmRateCardPartType string

Rate card part type of Product

UnitOfMeasure string

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

ucmRateCardPartType String

Rate card part type of Product

unitOfMeasure String

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

ucmRateCardPartType string

Rate card part type of Product

unitOfMeasure string

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_card_part_type str

Rate card part type of Product

unit_of_measure str

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

ucmRateCardPartType String

Rate card part type of Product

unitOfMeasure String

Unit of Measure

GetCommitmentAggregatedsFilter

Name string

Product name

Values List<string>
Regex bool
Name string

Product name

Values []string
Regex bool
name String

Product name

values List<String>
regex Boolean
name string

Product name

values string[]
regex boolean
name str

Product name

values Sequence[str]
regex bool
name String

Product name

values List<String>
regex Boolean

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.