Show / Hide Table of Contents

Class ComputedUsage

Computed usage summary object.

Inheritance
object
ComputedUsage
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.OnesubscriptionService.Models
Assembly: OCI.DotNetSDK.Onesubscription.dll
Syntax
public class ComputedUsage

Properties

CommitmentServiceId

Declaration
[JsonProperty(PropertyName = "commitmentServiceId")]
public string CommitmentServiceId { get; set; }
Property Value
Type Description
string

Subscribed service commitment ID.

ComputeSource

Declaration
[JsonProperty(PropertyName = "computeSource")]
public string ComputeSource { get; set; }
Property Value
Type Description
string

SPM (Subscription Plan Management) internal compute records source.

Cost

Declaration
[JsonProperty(PropertyName = "cost")]
public string Cost { get; set; }
Property Value
Type Description
string

Computed unrounded line Amount.

CostRounded

Declaration
[JsonProperty(PropertyName = "costRounded")]
public string CostRounded { get; set; }
Property Value
Type Description
string

Computed rounded line amount.

CurrencyCode

Declaration
[JsonProperty(PropertyName = "currencyCode")]
public string CurrencyCode { get; set; }
Property Value
Type Description
string

Currency code.

DataCenter

Declaration
[JsonProperty(PropertyName = "dataCenter")]
public string DataCenter { get; set; }
Property Value
Type Description
string

Data center attribute as sent by the meterering system to SPM.

Id

Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type Description
string

SPM internal computed usage ID, which is a 32-character string.

Remarks

Required

IsInvoiced

Declaration
[JsonProperty(PropertyName = "isInvoiced")]
public bool? IsInvoiced { get; set; }
Property Value
Type Description
bool?

Invoicing status for the aggregated compute usage.

MqsMessageId

Declaration
[JsonProperty(PropertyName = "mqsMessageId")]
public string MqsMessageId { get; set; }
Property Value
Type Description
string

The meterering system identfier sent to SPM. SPM does not transform this attribute and is received as-is.

NetUnitPrice

Declaration
[JsonProperty(PropertyName = "netUnitPrice")]
public string NetUnitPrice { get; set; }
Property Value
Type Description
string

Net unit price for the product in consideration, price actual.

OriginalUsageNumber

Declaration
[JsonProperty(PropertyName = "originalUsageNumber")]
public string OriginalUsageNumber { get; set; }
Property Value
Type Description
string

SPM internal original usage line number identifier in SPM, originating from the metered services entity.

ParentProduct

Declaration
[JsonProperty(PropertyName = "parentProduct")]
public ComputedUsageProduct ParentProduct { get; set; }
Property Value
Type Description
ComputedUsageProduct

ParentSubscribedServiceId

Declaration
[JsonProperty(PropertyName = "parentSubscribedServiceId")]
public string ParentSubscribedServiceId { get; set; }
Property Value
Type Description
string

Subscribed service line parent ID.

PlanNumber

Declaration
[JsonProperty(PropertyName = "planNumber")]
public string PlanNumber { get; set; }
Property Value
Type Description
string

Subscription plan number.

Product

Declaration
[JsonProperty(PropertyName = "product")]
public ComputedUsageProduct Product { get; set; }
Property Value
Type Description
ComputedUsageProduct

Quantity

Declaration
[JsonProperty(PropertyName = "quantity")]
public string Quantity { get; set; }
Property Value
Type Description
string

Total quantity that was used for computation.

RateCardId

Declaration
[JsonProperty(PropertyName = "rateCardId")]
public string RateCardId { get; set; }
Property Value
Type Description
string

Ratecard ID at subscribed service level.

RateCardTierdId

Declaration
[JsonProperty(PropertyName = "rateCardTierdId")]
public string RateCardTierdId { get; set; }
Property Value
Type Description
string

References the tier in the rate card for the associated usage (OCI uses the same reference to cross-reference for correctness in CSV Usage Reports), obtained from the OBSCNTR_IPT_PRODUCTTIER entity.

TimeCreated

Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type Description
DateTime?

Computed usage created time, expressed in RFC 3339 timestamp format.

TimeMeteredOn

Declaration
[JsonProperty(PropertyName = "timeMeteredOn")]
public DateTime? TimeMeteredOn { get; set; }
Property Value
Type Description
DateTime?

Metered service date, expressed in RFC 3339 timestamp format.

TimeOfArrival

Declaration
[JsonProperty(PropertyName = "timeOfArrival")]
public DateTime? TimeOfArrival { get; set; }
Property Value
Type Description
DateTime?

Usage computation date, expressed in RFC 3339 timestamp format.

TimeUpdated

Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type Description
DateTime?

Computed usage updated time, expressed in RFC 3339 timestamp format.

Type

Declaration
[JsonProperty(PropertyName = "type")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ComputedUsage.TypeEnum? Type { get; set; }
Property Value
Type Description
ComputedUsage.TypeEnum?

Usage compute type in SPM.

UnitOfMeasure

Declaration
[JsonProperty(PropertyName = "unitOfMeasure")]
public string UnitOfMeasure { get; set; }
Property Value
Type Description
string

Unit of measure.

UsageNumber

Declaration
[JsonProperty(PropertyName = "usageNumber")]
public string UsageNumber { get; set; }
Property Value
Type Description
string

SPM internal usage line number identifier in SPM, originating from the metered services entity.

In this article
Back to top