Class ComputedUsage
Computed Usage Summary object
Inherited Members
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 commitmentId. |
ComputeSource
Declaration
[JsonProperty(PropertyName = "computeSource")]
public string ComputeSource { get; set; }
Property Value
Type | Description |
---|---|
string | SPM Internal compute records source . |
Cost
Declaration
[JsonProperty(PropertyName = "cost")]
public string Cost { get; set; }
Property Value
Type | Description |
---|---|
string | Computed Line Amount not rounded |
CostRounded
Declaration
[JsonProperty(PropertyName = "costRounded")]
public string CostRounded { get; set; }
Property Value
Type | Description |
---|---|
string | Computed Line Amount rounded. |
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 MQS 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 , 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 | MQS Identfier send 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 coming from 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 ratecard for that usage (OCI will be using the same reference to cross-reference for correctness on the usage csv report), comes from Entity OBSCNTR_IPT_PRODUCTTIER. |
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? | Usae 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 Messure |
UsageNumber
Declaration
[JsonProperty(PropertyName = "usageNumber")]
public string UsageNumber { get; set; }
Property Value
Type | Description |
---|---|
string | SPM Internal usage Line number identifier in SPM coming from Metered Services entity. |