Class ChargebackPlan
A chargeback plan that allows Ops Insights services to compute chargeback costs.
Inherited Members
Namespace: Oci.OpsiService.Models
Assembly: OCI.DotNetSDK.Opsi.dll
Syntax
public class ChargebackPlan
Properties
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The OCID of the compartment. |
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. Example: {"foo-namespace": {"bar-key": "value"}} |
EntitySource
Declaration
[JsonProperty(PropertyName = "entitySource")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ChargebackPlanEntitySource? EntitySource { get; set; }
Property Value
| Type | Description |
|---|---|
| ChargebackPlanEntitySource? | Source of the chargeback plan. |
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, string> | Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"} |
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
| Type | Description |
|---|---|
| string | OCID of OPSI Chargeback plan resource. |
Remarks
Required
IsCustomizable
Declaration
[JsonProperty(PropertyName = "isCustomizable")]
public bool? IsCustomizable { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? | Indicates whether the chargeback plan can be customized. |
LifecycleDetails
Declaration
[JsonProperty(PropertyName = "lifecycleDetails")]
public string LifecycleDetails { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. |
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public LifecycleState? LifecycleState { get; set; }
Property Value
| Type | Description |
|---|---|
| LifecycleState? | Chargeback Plan lifecycle states |
Remarks
Required
PlanCategory
Declaration
[JsonProperty(PropertyName = "planCategory")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ChargebackPlanCategory? PlanCategory { get; set; }
Property Value
| Type | Description |
|---|---|
| ChargebackPlanCategory? | Chargeback Plan category of the chargeback entity. It can be OOB, or CUSTOM. |
PlanCustomItems
Declaration
[JsonProperty(PropertyName = "planCustomItems")]
public List<CreatePlanCustomItemDetails> PlanCustomItems { get; set; }
Property Value
| Type | Description |
|---|---|
| List<CreatePlanCustomItemDetails> | List of chargeback plan customizations. |
PlanDescription
Declaration
[JsonProperty(PropertyName = "planDescription")]
public string PlanDescription { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Description of OPSI Chargeback Plan. |
PlanName
Declaration
[Required(ErrorMessage = "PlanName is required.")]
[JsonProperty(PropertyName = "planName")]
public string PlanName { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Name for the OPSI Chargeback plan. |
Remarks
Required
PlanType
Declaration
[Required(ErrorMessage = "PlanType is required.")]
[JsonProperty(PropertyName = "planType")]
public string PlanType { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Chargeback Plan type of the chargeback entity. For an Exadata it can be WEIGHTED_ALLOCATION, EQUAL_ALLOCATION, UNUSED_ALLOCATION. |
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"}} |
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? | The date and time the chargeback plan was created, in the format defined by RFC3339. |
Remarks
Required
TimeUpdated
Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? | The time chargeback plan was updated. An RFC3339 formatted datetime string |