Class CreateChargebackPlanDetails
The details used to create a new Ops Insights chargeback plan.
Inherited Members
Namespace: Oci.OpsiService.Models
Assembly: OCI.DotNetSDK.Opsi.dll
Syntax
[JsonConverter(typeof(CreateChargebackPlanDetailsModelConverter))]
public class CreateChargebackPlanDetails
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"}} |
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"} |
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