published on Friday, Mar 6, 2026 by Pulumi
published on Friday, Mar 6, 2026 by Pulumi
This resource provides the Chargeback Plan resource in Oracle Cloud Infrastructure Opsi service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/operations-insights/latest/ChargebackPlan
Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/osi
Create a chargeback plan resource for the resource in Ops Insights.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testChargebackPlan = new oci.opsi.ChargebackPlan("test_chargeback_plan", {
compartmentId: compartmentId,
entitySource: chargebackPlanEntitySource,
planName: chargebackPlanPlanName,
planType: chargebackPlanPlanType,
planDescription: chargebackPlanPlanDescription,
planCustomItems: [{
name: chargebackPlanPlanCustomItemsName,
value: chargebackPlanPlanCustomItemsValue,
isCustomizable: chargebackPlanPlanCustomItemsIsCustomizable,
}],
definedTags: {
"foo-namespace.bar-key": "value",
},
freeformTags: {
"bar-key": "value",
},
});
import pulumi
import pulumi_oci as oci
test_chargeback_plan = oci.opsi.ChargebackPlan("test_chargeback_plan",
compartment_id=compartment_id,
entity_source=chargeback_plan_entity_source,
plan_name=chargeback_plan_plan_name,
plan_type=chargeback_plan_plan_type,
plan_description=chargeback_plan_plan_description,
plan_custom_items=[{
"name": chargeback_plan_plan_custom_items_name,
"value": chargeback_plan_plan_custom_items_value,
"is_customizable": chargeback_plan_plan_custom_items_is_customizable,
}],
defined_tags={
"foo-namespace.bar-key": "value",
},
freeform_tags={
"bar-key": "value",
})
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/opsi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := opsi.NewChargebackPlan(ctx, "test_chargeback_plan", &opsi.ChargebackPlanArgs{
CompartmentId: pulumi.Any(compartmentId),
EntitySource: pulumi.Any(chargebackPlanEntitySource),
PlanName: pulumi.Any(chargebackPlanPlanName),
PlanType: pulumi.Any(chargebackPlanPlanType),
PlanDescription: pulumi.Any(chargebackPlanPlanDescription),
PlanCustomItems: opsi.ChargebackPlanPlanCustomItemArray{
&opsi.ChargebackPlanPlanCustomItemArgs{
Name: pulumi.Any(chargebackPlanPlanCustomItemsName),
Value: pulumi.Any(chargebackPlanPlanCustomItemsValue),
IsCustomizable: pulumi.Any(chargebackPlanPlanCustomItemsIsCustomizable),
},
},
DefinedTags: pulumi.StringMap{
"foo-namespace.bar-key": pulumi.String("value"),
},
FreeformTags: pulumi.StringMap{
"bar-key": pulumi.String("value"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testChargebackPlan = new Oci.Opsi.ChargebackPlan("test_chargeback_plan", new()
{
CompartmentId = compartmentId,
EntitySource = chargebackPlanEntitySource,
PlanName = chargebackPlanPlanName,
PlanType = chargebackPlanPlanType,
PlanDescription = chargebackPlanPlanDescription,
PlanCustomItems = new[]
{
new Oci.Opsi.Inputs.ChargebackPlanPlanCustomItemArgs
{
Name = chargebackPlanPlanCustomItemsName,
Value = chargebackPlanPlanCustomItemsValue,
IsCustomizable = chargebackPlanPlanCustomItemsIsCustomizable,
},
},
DefinedTags =
{
{ "foo-namespace.bar-key", "value" },
},
FreeformTags =
{
{ "bar-key", "value" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Opsi.ChargebackPlan;
import com.pulumi.oci.Opsi.ChargebackPlanArgs;
import com.pulumi.oci.Opsi.inputs.ChargebackPlanPlanCustomItemArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var testChargebackPlan = new ChargebackPlan("testChargebackPlan", ChargebackPlanArgs.builder()
.compartmentId(compartmentId)
.entitySource(chargebackPlanEntitySource)
.planName(chargebackPlanPlanName)
.planType(chargebackPlanPlanType)
.planDescription(chargebackPlanPlanDescription)
.planCustomItems(ChargebackPlanPlanCustomItemArgs.builder()
.name(chargebackPlanPlanCustomItemsName)
.value(chargebackPlanPlanCustomItemsValue)
.isCustomizable(chargebackPlanPlanCustomItemsIsCustomizable)
.build())
.definedTags(Map.of("foo-namespace.bar-key", "value"))
.freeformTags(Map.of("bar-key", "value"))
.build());
}
}
resources:
testChargebackPlan:
type: oci:Opsi:ChargebackPlan
name: test_chargeback_plan
properties:
compartmentId: ${compartmentId}
entitySource: ${chargebackPlanEntitySource}
planName: ${chargebackPlanPlanName}
planType: ${chargebackPlanPlanType}
planDescription: ${chargebackPlanPlanDescription}
planCustomItems:
- name: ${chargebackPlanPlanCustomItemsName}
value: ${chargebackPlanPlanCustomItemsValue}
isCustomizable: ${chargebackPlanPlanCustomItemsIsCustomizable}
definedTags:
foo-namespace.bar-key: value
freeformTags:
bar-key: value
Create ChargebackPlan Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ChargebackPlan(name: string, args: ChargebackPlanArgs, opts?: CustomResourceOptions);@overload
def ChargebackPlan(resource_name: str,
args: ChargebackPlanArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ChargebackPlan(resource_name: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
entity_source: Optional[str] = None,
plan_custom_items: Optional[Sequence[ChargebackPlanPlanCustomItemArgs]] = None,
plan_description: Optional[str] = None,
plan_name: Optional[str] = None,
plan_type: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
freeform_tags: Optional[Mapping[str, str]] = None)func NewChargebackPlan(ctx *Context, name string, args ChargebackPlanArgs, opts ...ResourceOption) (*ChargebackPlan, error)public ChargebackPlan(string name, ChargebackPlanArgs args, CustomResourceOptions? opts = null)
public ChargebackPlan(String name, ChargebackPlanArgs args)
public ChargebackPlan(String name, ChargebackPlanArgs args, CustomResourceOptions options)
type: oci:Opsi:ChargebackPlan
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ChargebackPlanArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ChargebackPlanArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ChargebackPlanArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ChargebackPlanArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ChargebackPlanArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var chargebackPlanResource = new Oci.Opsi.ChargebackPlan("chargebackPlanResource", new()
{
CompartmentId = "string",
EntitySource = "string",
PlanCustomItems = new[]
{
new Oci.Opsi.Inputs.ChargebackPlanPlanCustomItemArgs
{
Name = "string",
Value = "string",
IsCustomizable = false,
},
},
PlanDescription = "string",
PlanName = "string",
PlanType = "string",
DefinedTags =
{
{ "string", "string" },
},
FreeformTags =
{
{ "string", "string" },
},
});
example, err := opsi.NewChargebackPlan(ctx, "chargebackPlanResource", &opsi.ChargebackPlanArgs{
CompartmentId: pulumi.String("string"),
EntitySource: pulumi.String("string"),
PlanCustomItems: opsi.ChargebackPlanPlanCustomItemArray{
&opsi.ChargebackPlanPlanCustomItemArgs{
Name: pulumi.String("string"),
Value: pulumi.String("string"),
IsCustomizable: pulumi.Bool(false),
},
},
PlanDescription: pulumi.String("string"),
PlanName: pulumi.String("string"),
PlanType: pulumi.String("string"),
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var chargebackPlanResource = new ChargebackPlan("chargebackPlanResource", ChargebackPlanArgs.builder()
.compartmentId("string")
.entitySource("string")
.planCustomItems(ChargebackPlanPlanCustomItemArgs.builder()
.name("string")
.value("string")
.isCustomizable(false)
.build())
.planDescription("string")
.planName("string")
.planType("string")
.definedTags(Map.of("string", "string"))
.freeformTags(Map.of("string", "string"))
.build());
chargeback_plan_resource = oci.opsi.ChargebackPlan("chargebackPlanResource",
compartment_id="string",
entity_source="string",
plan_custom_items=[{
"name": "string",
"value": "string",
"is_customizable": False,
}],
plan_description="string",
plan_name="string",
plan_type="string",
defined_tags={
"string": "string",
},
freeform_tags={
"string": "string",
})
const chargebackPlanResource = new oci.opsi.ChargebackPlan("chargebackPlanResource", {
compartmentId: "string",
entitySource: "string",
planCustomItems: [{
name: "string",
value: "string",
isCustomizable: false,
}],
planDescription: "string",
planName: "string",
planType: "string",
definedTags: {
string: "string",
},
freeformTags: {
string: "string",
},
});
type: oci:Opsi:ChargebackPlan
properties:
compartmentId: string
definedTags:
string: string
entitySource: string
freeformTags:
string: string
planCustomItems:
- isCustomizable: false
name: string
value: string
planDescription: string
planName: string
planType: string
ChargebackPlan Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ChargebackPlan resource accepts the following input properties:
- Compartment
Id string - (Updatable) The OCID of the compartment.
- Entity
Source string - Source of the chargeback plan.
- Plan
Custom List<ChargebackItems Plan Plan Custom Item> - (Updatable) List of chargeback plan customizations. At least one item is required.
- Plan
Description string - (Updatable) Description of OPSI Chargeback Plan.
- Plan
Name string - (Updatable) Name for the OPSI Chargeback plan.
- Plan
Type string Chargeback Plan type of the chargeback entity. For an Exadata it can be WEIGHTED_ALLOCATION, EQUAL_ALLOCATION, UNUSED_ALLOCATION.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - Dictionary<string, string>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Compartment
Id string - (Updatable) The OCID of the compartment.
- Entity
Source string - Source of the chargeback plan.
- Plan
Custom []ChargebackItems Plan Plan Custom Item Args - (Updatable) List of chargeback plan customizations. At least one item is required.
- Plan
Description string - (Updatable) Description of OPSI Chargeback Plan.
- Plan
Name string - (Updatable) Name for the OPSI Chargeback plan.
- Plan
Type string Chargeback Plan type of the chargeback entity. For an Exadata it can be WEIGHTED_ALLOCATION, EQUAL_ALLOCATION, UNUSED_ALLOCATION.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - map[string]string
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- compartment
Id String - (Updatable) The OCID of the compartment.
- entity
Source String - Source of the chargeback plan.
- plan
Custom List<ChargebackItems Plan Plan Custom Item> - (Updatable) List of chargeback plan customizations. At least one item is required.
- plan
Description String - (Updatable) Description of OPSI Chargeback Plan.
- plan
Name String - (Updatable) Name for the OPSI Chargeback plan.
- plan
Type String Chargeback Plan type of the chargeback entity. For an Exadata it can be WEIGHTED_ALLOCATION, EQUAL_ALLOCATION, UNUSED_ALLOCATION.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - Map<String,String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- compartment
Id string - (Updatable) The OCID of the compartment.
- entity
Source string - Source of the chargeback plan.
- plan
Custom ChargebackItems Plan Plan Custom Item[] - (Updatable) List of chargeback plan customizations. At least one item is required.
- plan
Description string - (Updatable) Description of OPSI Chargeback Plan.
- plan
Name string - (Updatable) Name for the OPSI Chargeback plan.
- plan
Type string Chargeback Plan type of the chargeback entity. For an Exadata it can be WEIGHTED_ALLOCATION, EQUAL_ALLOCATION, UNUSED_ALLOCATION.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - {[key: string]: string}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- compartment_
id str - (Updatable) The OCID of the compartment.
- entity_
source str - Source of the chargeback plan.
- plan_
custom_ Sequence[Chargebackitems Plan Plan Custom Item Args] - (Updatable) List of chargeback plan customizations. At least one item is required.
- plan_
description str - (Updatable) Description of OPSI Chargeback Plan.
- plan_
name str - (Updatable) Name for the OPSI Chargeback plan.
- plan_
type str Chargeback Plan type of the chargeback entity. For an Exadata it can be WEIGHTED_ALLOCATION, EQUAL_ALLOCATION, UNUSED_ALLOCATION.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - Mapping[str, str]
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- compartment
Id String - (Updatable) The OCID of the compartment.
- entity
Source String - Source of the chargeback plan.
- plan
Custom List<Property Map>Items - (Updatable) List of chargeback plan customizations. At least one item is required.
- plan
Description String - (Updatable) Description of OPSI Chargeback Plan.
- plan
Name String - (Updatable) Name for the OPSI Chargeback plan.
- plan
Type String Chargeback Plan type of the chargeback entity. For an Exadata it can be WEIGHTED_ALLOCATION, EQUAL_ALLOCATION, UNUSED_ALLOCATION.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - Map<String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
Outputs
All input properties are implicitly available as output properties. Additionally, the ChargebackPlan resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Customizable bool - Indicates whether the chargeback plan customization item can be customized.
- Lifecycle
Details 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.
- Plan
Category string - Chargeback Plan category of the chargeback entity. It can be OOB, or CUSTOM.
- State string
- Chargeback Plan lifecycle states
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The date and time the chargeback plan was created, in the format defined by RFC3339.
- Time
Updated string - The time chargeback plan was updated. An RFC3339 formatted datetime string
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Customizable bool - Indicates whether the chargeback plan customization item can be customized.
- Lifecycle
Details 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.
- Plan
Category string - Chargeback Plan category of the chargeback entity. It can be OOB, or CUSTOM.
- State string
- Chargeback Plan lifecycle states
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The date and time the chargeback plan was created, in the format defined by RFC3339.
- Time
Updated string - The time chargeback plan was updated. An RFC3339 formatted datetime string
- id String
- The provider-assigned unique ID for this managed resource.
- is
Customizable Boolean - Indicates whether the chargeback plan customization item can be customized.
- lifecycle
Details 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.
- plan
Category String - Chargeback Plan category of the chargeback entity. It can be OOB, or CUSTOM.
- state String
- Chargeback Plan lifecycle states
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The date and time the chargeback plan was created, in the format defined by RFC3339.
- time
Updated String - The time chargeback plan was updated. An RFC3339 formatted datetime string
- id string
- The provider-assigned unique ID for this managed resource.
- is
Customizable boolean - Indicates whether the chargeback plan customization item can be customized.
- lifecycle
Details 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.
- plan
Category string - Chargeback Plan category of the chargeback entity. It can be OOB, or CUSTOM.
- state string
- Chargeback Plan lifecycle states
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created string - The date and time the chargeback plan was created, in the format defined by RFC3339.
- time
Updated string - The time chargeback plan was updated. An RFC3339 formatted datetime string
- id str
- The provider-assigned unique ID for this managed resource.
- is_
customizable bool - Indicates whether the chargeback plan customization item can be customized.
- lifecycle_
details str - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- plan_
category str - Chargeback Plan category of the chargeback entity. It can be OOB, or CUSTOM.
- state str
- Chargeback Plan lifecycle states
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time_
created str - The date and time the chargeback plan was created, in the format defined by RFC3339.
- time_
updated str - The time chargeback plan was updated. An RFC3339 formatted datetime string
- id String
- The provider-assigned unique ID for this managed resource.
- is
Customizable Boolean - Indicates whether the chargeback plan customization item can be customized.
- lifecycle
Details 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.
- plan
Category String - Chargeback Plan category of the chargeback entity. It can be OOB, or CUSTOM.
- state String
- Chargeback Plan lifecycle states
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The date and time the chargeback plan was created, in the format defined by RFC3339.
- time
Updated String - The time chargeback plan was updated. An RFC3339 formatted datetime string
Look up Existing ChargebackPlan Resource
Get an existing ChargebackPlan resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ChargebackPlanState, opts?: CustomResourceOptions): ChargebackPlan@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
entity_source: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
is_customizable: Optional[bool] = None,
lifecycle_details: Optional[str] = None,
plan_category: Optional[str] = None,
plan_custom_items: Optional[Sequence[ChargebackPlanPlanCustomItemArgs]] = None,
plan_description: Optional[str] = None,
plan_name: Optional[str] = None,
plan_type: Optional[str] = None,
state: Optional[str] = None,
system_tags: Optional[Mapping[str, str]] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None) -> ChargebackPlanfunc GetChargebackPlan(ctx *Context, name string, id IDInput, state *ChargebackPlanState, opts ...ResourceOption) (*ChargebackPlan, error)public static ChargebackPlan Get(string name, Input<string> id, ChargebackPlanState? state, CustomResourceOptions? opts = null)public static ChargebackPlan get(String name, Output<String> id, ChargebackPlanState state, CustomResourceOptions options)resources: _: type: oci:Opsi:ChargebackPlan get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Compartment
Id string - (Updatable) The OCID of the compartment.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - Entity
Source string - Source of the chargeback plan.
- Dictionary<string, string>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - Is
Customizable bool - Indicates whether the chargeback plan customization item can be customized.
- Lifecycle
Details 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.
- Plan
Category string - Chargeback Plan category of the chargeback entity. It can be OOB, or CUSTOM.
- Plan
Custom List<ChargebackItems Plan Plan Custom Item> - (Updatable) List of chargeback plan customizations. At least one item is required.
- Plan
Description string - (Updatable) Description of OPSI Chargeback Plan.
- Plan
Name string - (Updatable) Name for the OPSI Chargeback plan.
- Plan
Type string Chargeback Plan type of the chargeback entity. For an Exadata it can be WEIGHTED_ALLOCATION, EQUAL_ALLOCATION, UNUSED_ALLOCATION.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- State string
- Chargeback Plan lifecycle states
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The date and time the chargeback plan was created, in the format defined by RFC3339.
- Time
Updated string - The time chargeback plan was updated. An RFC3339 formatted datetime string
- Compartment
Id string - (Updatable) The OCID of the compartment.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - Entity
Source string - Source of the chargeback plan.
- map[string]string
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - Is
Customizable bool - Indicates whether the chargeback plan customization item can be customized.
- Lifecycle
Details 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.
- Plan
Category string - Chargeback Plan category of the chargeback entity. It can be OOB, or CUSTOM.
- Plan
Custom []ChargebackItems Plan Plan Custom Item Args - (Updatable) List of chargeback plan customizations. At least one item is required.
- Plan
Description string - (Updatable) Description of OPSI Chargeback Plan.
- Plan
Name string - (Updatable) Name for the OPSI Chargeback plan.
- Plan
Type string Chargeback Plan type of the chargeback entity. For an Exadata it can be WEIGHTED_ALLOCATION, EQUAL_ALLOCATION, UNUSED_ALLOCATION.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- State string
- Chargeback Plan lifecycle states
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The date and time the chargeback plan was created, in the format defined by RFC3339.
- Time
Updated string - The time chargeback plan was updated. An RFC3339 formatted datetime string
- compartment
Id String - (Updatable) The OCID of the compartment.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - entity
Source String - Source of the chargeback plan.
- Map<String,String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - is
Customizable Boolean - Indicates whether the chargeback plan customization item can be customized.
- lifecycle
Details 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.
- plan
Category String - Chargeback Plan category of the chargeback entity. It can be OOB, or CUSTOM.
- plan
Custom List<ChargebackItems Plan Plan Custom Item> - (Updatable) List of chargeback plan customizations. At least one item is required.
- plan
Description String - (Updatable) Description of OPSI Chargeback Plan.
- plan
Name String - (Updatable) Name for the OPSI Chargeback plan.
- plan
Type String Chargeback Plan type of the chargeback entity. For an Exadata it can be WEIGHTED_ALLOCATION, EQUAL_ALLOCATION, UNUSED_ALLOCATION.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- state String
- Chargeback Plan lifecycle states
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The date and time the chargeback plan was created, in the format defined by RFC3339.
- time
Updated String - The time chargeback plan was updated. An RFC3339 formatted datetime string
- compartment
Id string - (Updatable) The OCID of the compartment.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - entity
Source string - Source of the chargeback plan.
- {[key: string]: string}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - is
Customizable boolean - Indicates whether the chargeback plan customization item can be customized.
- lifecycle
Details 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.
- plan
Category string - Chargeback Plan category of the chargeback entity. It can be OOB, or CUSTOM.
- plan
Custom ChargebackItems Plan Plan Custom Item[] - (Updatable) List of chargeback plan customizations. At least one item is required.
- plan
Description string - (Updatable) Description of OPSI Chargeback Plan.
- plan
Name string - (Updatable) Name for the OPSI Chargeback plan.
- plan
Type string Chargeback Plan type of the chargeback entity. For an Exadata it can be WEIGHTED_ALLOCATION, EQUAL_ALLOCATION, UNUSED_ALLOCATION.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- state string
- Chargeback Plan lifecycle states
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created string - The date and time the chargeback plan was created, in the format defined by RFC3339.
- time
Updated string - The time chargeback plan was updated. An RFC3339 formatted datetime string
- compartment_
id str - (Updatable) The OCID of the compartment.
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - entity_
source str - Source of the chargeback plan.
- Mapping[str, str]
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - is_
customizable bool - Indicates whether the chargeback plan customization item can be customized.
- lifecycle_
details str - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- plan_
category str - Chargeback Plan category of the chargeback entity. It can be OOB, or CUSTOM.
- plan_
custom_ Sequence[Chargebackitems Plan Plan Custom Item Args] - (Updatable) List of chargeback plan customizations. At least one item is required.
- plan_
description str - (Updatable) Description of OPSI Chargeback Plan.
- plan_
name str - (Updatable) Name for the OPSI Chargeback plan.
- plan_
type str Chargeback Plan type of the chargeback entity. For an Exadata it can be WEIGHTED_ALLOCATION, EQUAL_ALLOCATION, UNUSED_ALLOCATION.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- state str
- Chargeback Plan lifecycle states
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time_
created str - The date and time the chargeback plan was created, in the format defined by RFC3339.
- time_
updated str - The time chargeback plan was updated. An RFC3339 formatted datetime string
- compartment
Id String - (Updatable) The OCID of the compartment.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - entity
Source String - Source of the chargeback plan.
- Map<String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - is
Customizable Boolean - Indicates whether the chargeback plan customization item can be customized.
- lifecycle
Details 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.
- plan
Category String - Chargeback Plan category of the chargeback entity. It can be OOB, or CUSTOM.
- plan
Custom List<Property Map>Items - (Updatable) List of chargeback plan customizations. At least one item is required.
- plan
Description String - (Updatable) Description of OPSI Chargeback Plan.
- plan
Name String - (Updatable) Name for the OPSI Chargeback plan.
- plan
Type String Chargeback Plan type of the chargeback entity. For an Exadata it can be WEIGHTED_ALLOCATION, EQUAL_ALLOCATION, UNUSED_ALLOCATION.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- state String
- Chargeback Plan lifecycle states
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The date and time the chargeback plan was created, in the format defined by RFC3339.
- time
Updated String - The time chargeback plan was updated. An RFC3339 formatted datetime string
Supporting Types
ChargebackPlanPlanCustomItem, ChargebackPlanPlanCustomItemArgs
- Name string
- (Updatable) Name of chargeback plan customization item. Example items for Exadata Insights Chargeback are statistic, percentile, infrastructureCost, additionalServerCost etc.
- Value string
- (Updatable) Value of chargeback plan customization item.
- Is
Customizable bool - (Updatable) Indicates whether the chargeback plan customization item can be customized.
- Name string
- (Updatable) Name of chargeback plan customization item. Example items for Exadata Insights Chargeback are statistic, percentile, infrastructureCost, additionalServerCost etc.
- Value string
- (Updatable) Value of chargeback plan customization item.
- Is
Customizable bool - (Updatable) Indicates whether the chargeback plan customization item can be customized.
- name String
- (Updatable) Name of chargeback plan customization item. Example items for Exadata Insights Chargeback are statistic, percentile, infrastructureCost, additionalServerCost etc.
- value String
- (Updatable) Value of chargeback plan customization item.
- is
Customizable Boolean - (Updatable) Indicates whether the chargeback plan customization item can be customized.
- name string
- (Updatable) Name of chargeback plan customization item. Example items for Exadata Insights Chargeback are statistic, percentile, infrastructureCost, additionalServerCost etc.
- value string
- (Updatable) Value of chargeback plan customization item.
- is
Customizable boolean - (Updatable) Indicates whether the chargeback plan customization item can be customized.
- name str
- (Updatable) Name of chargeback plan customization item. Example items for Exadata Insights Chargeback are statistic, percentile, infrastructureCost, additionalServerCost etc.
- value str
- (Updatable) Value of chargeback plan customization item.
- is_
customizable bool - (Updatable) Indicates whether the chargeback plan customization item can be customized.
- name String
- (Updatable) Name of chargeback plan customization item. Example items for Exadata Insights Chargeback are statistic, percentile, infrastructureCost, additionalServerCost etc.
- value String
- (Updatable) Value of chargeback plan customization item.
- is
Customizable Boolean - (Updatable) Indicates whether the chargeback plan customization item can be customized.
Import
ChargebackPlans can be imported using the id, e.g.
$ pulumi import oci:Opsi/chargebackPlan:ChargebackPlan test_chargeback_plan "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
published on Friday, Mar 6, 2026 by Pulumi
