Show / Hide Table of Contents

Class CreateCcdCommitmentDetails

CCD commitment creation details.

Inheritance
object
CreateCcdCommitmentDetails
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 CreateCcdCommitmentDetails

Properties

CompartmentId

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

The compartment OCID where you want to create the CCD commitment. Must be the root compartment OCID of a parent tenancy (if part of an organization), or a standalone tenancy to which the subscription is associated.

Remarks

Required

DefinedTags

Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}

DisplayName

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

The CCD commitment name. Ensure the name is unique across subscription IDs. Avoid entering confidential information.

Remarks

Required

FillerTenancyId

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

The tenancy OCID you want to apply filler usage to.

FreeformTags

Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type Description
Dictionary<string, string>

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}

Quantity

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

The hourly quantity that the customer is committing to a CCD offer's main SKU. For FLEX offers, this quantity must equal the CCD offer's minQuantity and maxQuantity when both are provided. For example, if the quantity is 1000, then you are committing to a 1000 usage quantity value per hour.

Remarks

Required

SecondarySkus

Declaration
[JsonProperty(PropertyName = "secondarySkus")]
public List<SecondarySkus> SecondarySkus { get; set; }
Property Value
Type Description
List<SecondarySkus>

The bundled SKUs selected for this commitment. Supply quantity only for components whose offer quantity rule is CUSTOMER_SELECTED.

SubscriptionId

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

The subscription OCID value the CCD offer is applicable to.

Remarks

Required

TimeCcdCommitmentEnds

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

The exclusive time the CCD commitment ends. The time gets computed using timeCcdCommitmentStarts from the ccdCommitment, and the minimum commitment term associated with CcdOffer. The default value is set as null at the time of CCD commitment creation.

TimeCcdCommitmentStarts

Declaration
[Required(ErrorMessage = "TimeCcdCommitmentStarts is required.")]
[JsonProperty(PropertyName = "timeCcdCommitmentStarts")]
public DateTime? TimeCcdCommitmentStarts { get; set; }
Property Value
Type Description
DateTime?

The inclusive date and time when the CCD commitment will be effective. The date and time must be rounded up to the exact hour, and must be in the future. The format is defined by RFC 3339. For example, if you want to commit to a CCD on 2025-06-01 12:00:00, you should create a request any time before 2025-06-01 12:00:00. You can only create CCD for a Scheduled or Current CCD offer.

Remarks

Required

UsageEligibility

Declaration
[JsonProperty(PropertyName = "usageEligibility")]
public UsageEligibility UsageEligibility { get; set; }
Property Value
Type Description
UsageEligibility
In this article
Back to top