Show / Hide Table of Contents

Class UsageDimension

A metered usage dimension associated with a usage-based or hybrid pricing plan.

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

Properties

DimensionBillingFrequency

Declaration
[Required(ErrorMessage = "DimensionBillingFrequency is required.")]
[JsonProperty(PropertyName = "dimensionBillingFrequency")]
[JsonConverter(typeof(ResponseEnumConverter))]
public BillingFrequency? DimensionBillingFrequency { get; set; }
Property Value
Type Description
BillingFrequency?

Specifies the interval at which the usage dimension is billed.

Remarks

Required

DimensionDescription

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

A detailed explanation of the usage dimension.

Remarks

Required

DimensionKey

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

The stable key used internally to map this usage dimension to billing details.

Remarks

Required

DimensionName

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

The name of the usage dimension.

Remarks

Required

IncludedQuantity

Declaration
[JsonProperty(PropertyName = "includedQuantity")]
public float? IncludedQuantity { get; set; }
Property Value
Type Description
float?

Quantity included in the base fee for hybrid plans.

MetricType

Declaration
[Required(ErrorMessage = "MetricType is required.")]
[JsonProperty(PropertyName = "metricType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public MetricType? MetricType { get; set; }
Property Value
Type Description
MetricType?

The metric type in which usage is measured.

Remarks

Required

Rates

Declaration
[Required(ErrorMessage = "Rates is required.")]
[JsonProperty(PropertyName = "rates")]
public List<PricingRate> Rates { get; set; }
Property Value
Type Description
List<PricingRate>

Dimension-level rates in various supported currencies.

Remarks

Required

In this article
Back to top