Show / Hide Table of Contents

Class SecondarySkus

A secondary SKU associated with a CCD commitment. Its quantity behavior is defined by the corresponding bundled SKU on the CCD offer.

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

Properties

Quantity

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

The resolved hourly commitment quantity for this secondary SKU. In create or update requests, this property is required when the corresponding offer component uses CUSTOMER_SELECTED, and the value must be within the offer component's minimum and maximum. For FLEX offers with CUSTOMER_SELECTED, this quantity must equal the offer component's minQuantity and, if defined, maxQuantity. For FIXED_RATIO, this property may be omitted because CCD derives it from the primary quantity and the offer-defined ratio. If an existing client supplies a quantity for FIXED_RATIO, the offer-defined ratio is authoritative.

Sku

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

The secondary SKU part number (prefaced with "B"). For example, the "E4 MEMORY" SKU will be the secondary SKU with the main "E4 OCPUs" SKU. Must also be the same as CcdOffers's bundleSkus sku value.

Remarks

Required

SkuDisplayName

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

The canonical SKU display name derived from the associated offer. This property remains accepted in create and update requests for compatibility, but CCD uses the offer-derived value. Avoid entering confidential information.

Remarks

Required

SkuMetric

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

The canonical billing metric derived from the associated offer. This property remains accepted in create and update requests for compatibility, but CCD uses the offer-derived value.

In this article
Back to top