Class UsageSummary
The usage store result.
Inherited Members
Namespace: Oci.UsageapiService.Models
Assembly: OCI.DotNetSDK.Usageapi.dll
Syntax
public class UsageSummary
Properties
Ad
Declaration
[JsonProperty(PropertyName = "ad")]
public string Ad { get; set; }
Property Value
Type | Description |
---|---|
string | The availability domain of the usage. |
AttributedCost
Declaration
[JsonProperty(PropertyName = "attributedCost")]
public string AttributedCost { get; set; }
Property Value
Type | Description |
---|---|
string | The attributed cost with a max value of 9999999999.999999999999 and a minimum value of 0. |
AttributedUsage
Declaration
[JsonProperty(PropertyName = "attributedUsage")]
public string AttributedUsage { get; set; }
Property Value
Type | Description |
---|---|
string | The attributed usage with a max value of 9999999999.999999999999 and a minimum value of 0. |
CompartmentId
Declaration
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The compartment OCID. |
CompartmentName
Declaration
[JsonProperty(PropertyName = "compartmentName")]
public string CompartmentName { get; set; }
Property Value
Type | Description |
---|---|
string | The compartment name. |
CompartmentPath
Declaration
[JsonProperty(PropertyName = "compartmentPath")]
public string CompartmentPath { get; set; }
Property Value
Type | Description |
---|---|
string | The compartment path, starting from root. |
ComputedAmount
Declaration
[JsonProperty(PropertyName = "computedAmount")]
public decimal? ComputedAmount { get; set; }
Property Value
Type | Description |
---|---|
decimal? | The computed cost. |
ComputedQuantity
Declaration
[JsonProperty(PropertyName = "computedQuantity")]
public decimal? ComputedQuantity { get; set; }
Property Value
Type | Description |
---|---|
decimal? | The usage number. |
Currency
Declaration
[JsonProperty(PropertyName = "currency")]
public string Currency { get; set; }
Property Value
Type | Description |
---|---|
string | The price currency. |
Discount
Declaration
[JsonProperty(PropertyName = "discount")]
public decimal? Discount { get; set; }
Property Value
Type | Description |
---|---|
decimal? | The discretionary discount applied to the SKU. |
IsForecast
Declaration
[JsonProperty(PropertyName = "isForecast")]
public bool? IsForecast { get; set; }
Property Value
Type | Description |
---|---|
bool? | The forecasted data. |
ListRate
Declaration
[JsonProperty(PropertyName = "listRate")]
public decimal? ListRate { get; set; }
Property Value
Type | Description |
---|---|
decimal? | The SKU list rate (not discount). |
Overage
Declaration
[JsonProperty(PropertyName = "overage")]
public string Overage { get; set; }
Property Value
Type | Description |
---|---|
string | The overage usage. |
OveragesFlag
Declaration
[JsonProperty(PropertyName = "overagesFlag")]
public string OveragesFlag { get; set; }
Property Value
Type | Description |
---|---|
string | The SPM OverageFlag. |
Platform
Declaration
[JsonProperty(PropertyName = "platform")]
public string Platform { get; set; }
Property Value
Type | Description |
---|---|
string | Platform for the cost. |
Region
Declaration
[JsonProperty(PropertyName = "region")]
public string Region { get; set; }
Property Value
Type | Description |
---|---|
string | The region of the usage. |
ResourceId
Declaration
[JsonProperty(PropertyName = "resourceId")]
public string ResourceId { get; set; }
Property Value
Type | Description |
---|---|
string | The resource OCID that is incurring the cost. |
ResourceName
Declaration
[JsonProperty(PropertyName = "resourceName")]
public string ResourceName { get; set; }
Property Value
Type | Description |
---|---|
string | The resource name that is incurring the cost. |
Service
Declaration
[JsonProperty(PropertyName = "service")]
public string Service { get; set; }
Property Value
Type | Description |
---|---|
string | The service name that is incurring the cost. |
Shape
Declaration
[JsonProperty(PropertyName = "shape")]
public string Shape { get; set; }
Property Value
Type | Description |
---|---|
string | The resource shape. |
SkuName
Declaration
[JsonProperty(PropertyName = "skuName")]
public string SkuName { get; set; }
Property Value
Type | Description |
---|---|
string | The SKU friendly name. |
SkuPartNumber
Declaration
[JsonProperty(PropertyName = "skuPartNumber")]
public string SkuPartNumber { get; set; }
Property Value
Type | Description |
---|---|
string | The SKU part number. |
SubscriptionId
Declaration
[JsonProperty(PropertyName = "subscriptionId")]
public string SubscriptionId { get; set; }
Property Value
Type | Description |
---|---|
string | The subscription ID. |
Tags
Declaration
[JsonProperty(PropertyName = "tags")]
public List<Tag> Tags { get; set; }
Property Value
Type | Description |
---|---|
List<Tag> | For grouping, a tag definition. For filtering, a definition and key. |
TenantId
Declaration
[JsonProperty(PropertyName = "tenantId")]
public string TenantId { get; set; }
Property Value
Type | Description |
---|---|
string | The tenancy OCID. |
TenantName
Declaration
[JsonProperty(PropertyName = "tenantName")]
public string TenantName { get; set; }
Property Value
Type | Description |
---|---|
string | The tenancy name. |
TimeUsageEnded
Declaration
[Required(ErrorMessage = "TimeUsageEnded is required.")]
[JsonProperty(PropertyName = "timeUsageEnded")]
public DateTime? TimeUsageEnded { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The usage end time. |
Remarks
Required
TimeUsageStarted
Declaration
[Required(ErrorMessage = "TimeUsageStarted is required.")]
[JsonProperty(PropertyName = "timeUsageStarted")]
public DateTime? TimeUsageStarted { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The usage start time. |
Remarks
Required
Unit
Declaration
[JsonProperty(PropertyName = "unit")]
public string Unit { get; set; }
Property Value
Type | Description |
---|---|
string | The usage unit. |
UnitPrice
Declaration
[JsonProperty(PropertyName = "unitPrice")]
public decimal? UnitPrice { get; set; }
Property Value
Type | Description |
---|---|
decimal? | The price per unit. |
Weight
Declaration
[JsonProperty(PropertyName = "weight")]
public decimal? Weight { get; set; }
Property Value
Type | Description |
---|---|
decimal? | The resource size being metered. |