Show / Hide Table of Contents

Class CcdCommitment

The created CCD commitment details.

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

Properties

ApprovedBy

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

Entity/User who approved the ccdCommitment.

CompartmentId

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

The root compartment ID. The CCD Commitment is associated with the tenancy root compartment ID.

Remarks

Required

CreatedBy

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

The entity that created the CCD commitment.

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 for a given subscription ID. Avoid entering confidential information.

Remarks

Required

FillerTenancyHomeRegion

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

The filler tenancy home region.

FillerTenancyId

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

The tenancy OCID that 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"}

Id

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

The CCD commitment resource OCID.

Remarks

Required

LastUpdatedBy

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

Entity/User who lastly updated the ccdCommitment.

LifecycleDetails

Declaration
[JsonProperty(PropertyName = "lifecycleDetails")]
[JsonConverter(typeof(ResponseEnumConverter))]
public CcdCommitment.LifecycleDetailsEnum? LifecycleDetails { get; set; }
Property Value
Type Description
CcdCommitment.LifecycleDetailsEnum?

The CCD commitment's current state. A commitment that's expected to get a dedicated capacity will be in the Awaiting Provisioning state unless the commitment is ended or canceled. Otherwise, the value is determined by timeCcdCommitmentStarts, timeCcdCommitmentEnds, and timeTerminated, with respect to the current time.

LifecycleState

Declaration
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public CcdCommitment.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type Description
CcdCommitment.LifecycleStateEnum?

This state always defaults to Active. For a detailed and exact state,
check the lifecycleDetails state.

OfferId

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

The CCD offer OCID.

Remarks

Required

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 example, if the quantity is 1000, then you are committing to a 1000 usage quantity value per hour.

Remarks

Required

ReclaimTerm

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

The reclaim term copied from the offer when the commitment is created. The value is measured in reclaimTermUnit.

ReclaimTermUnit

Declaration
[JsonProperty(PropertyName = "reclaimTermUnit")]
[JsonConverter(typeof(ResponseEnumConverter))]
public CcdOffer.ReclaimTermUnitEnum? ReclaimTermUnit { get; set; }
Property Value
Type Description
CcdOffer.ReclaimTermUnitEnum?

The unit used to measure reclaimTerm, copied from the offer when the commitment is created.

SecondarySkus

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

Secondary SKUs associated with the main SKU.

SkuQuantityPriceModel

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

The list of SKUs associated with the commitment and their prices in all currency codes.

SourceType

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

The commercial workflow of the associated CCD offer.

Remarks

Required

SubscriptionId

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

The subscription ID the CCD offer is applicable to.

Remarks

Required

SystemTags

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

System tags for this resource. Each key is predefined and scoped to a namespace.
Example: {"orcl-cloud": {"free-tier-retained": "true"}}

TimeCcdCommitmentEnds

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

The date and time the CCD commitment will be deactivated. The date and time is calculated based on timeCcdCommitmentStarts, the term, and units of the CCD offer. For Example: 2025-06-01T03:00:00. The format is defined by RFC 3339.

Remarks

Required

TimeCcdCommitmentStarts

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

The date and time the CCD commitment will be effective.The format is defined by RFC 3339.

Remarks

Required

TimeCreated

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

Date and time the CCD was created. The format is defined by RFC 3339. Example: 2022-01-25T21:10:29.600Z

TimeTerminated

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

Date and time the CCD was terminated. The format is defined by RFC 3339. Example: 2022-01-25T21:10:29.600Z

TimeUpdated

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

Date and time the CCD was updated lastly. The format is defined by RFC 3339. Example: 2025-01-25T21:10:29.600Z

UsageEligibility

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