1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Budget
  5. CostAlertSubscription
Oracle Cloud Infrastructure v3.16.0 published on Wednesday, Jan 28, 2026 by Pulumi
oci logo
Oracle Cloud Infrastructure v3.16.0 published on Wednesday, Jan 28, 2026 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testCostAlertSubscription = new oci.budget.CostAlertSubscription("test_cost_alert_subscription", {
        channels: costAlertSubscriptionChannels,
        compartmentId: compartmentId,
        name: costAlertSubscriptionName,
        definedTags: {
            "Operations.CostCenter": "42",
        },
        description: costAlertSubscriptionDescription,
        freeformTags: {
            Department: "Finance",
        },
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_cost_alert_subscription = oci.budget.CostAlertSubscription("test_cost_alert_subscription",
        channels=cost_alert_subscription_channels,
        compartment_id=compartment_id,
        name=cost_alert_subscription_name,
        defined_tags={
            "Operations.CostCenter": "42",
        },
        description=cost_alert_subscription_description,
        freeform_tags={
            "Department": "Finance",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/budget"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := budget.NewCostAlertSubscription(ctx, "test_cost_alert_subscription", &budget.CostAlertSubscriptionArgs{
    			Channels:      pulumi.Any(costAlertSubscriptionChannels),
    			CompartmentId: pulumi.Any(compartmentId),
    			Name:          pulumi.Any(costAlertSubscriptionName),
    			DefinedTags: pulumi.StringMap{
    				"Operations.CostCenter": pulumi.String("42"),
    			},
    			Description: pulumi.Any(costAlertSubscriptionDescription),
    			FreeformTags: pulumi.StringMap{
    				"Department": pulumi.String("Finance"),
    			},
    		})
    		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 testCostAlertSubscription = new Oci.Budget.CostAlertSubscription("test_cost_alert_subscription", new()
        {
            Channels = costAlertSubscriptionChannels,
            CompartmentId = compartmentId,
            Name = costAlertSubscriptionName,
            DefinedTags = 
            {
                { "Operations.CostCenter", "42" },
            },
            Description = costAlertSubscriptionDescription,
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Budget.CostAlertSubscription;
    import com.pulumi.oci.Budget.CostAlertSubscriptionArgs;
    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 testCostAlertSubscription = new CostAlertSubscription("testCostAlertSubscription", CostAlertSubscriptionArgs.builder()
                .channels(costAlertSubscriptionChannels)
                .compartmentId(compartmentId)
                .name(costAlertSubscriptionName)
                .definedTags(Map.of("Operations.CostCenter", "42"))
                .description(costAlertSubscriptionDescription)
                .freeformTags(Map.of("Department", "Finance"))
                .build());
    
        }
    }
    
    resources:
      testCostAlertSubscription:
        type: oci:Budget:CostAlertSubscription
        name: test_cost_alert_subscription
        properties:
          channels: ${costAlertSubscriptionChannels}
          compartmentId: ${compartmentId}
          name: ${costAlertSubscriptionName}
          definedTags:
            Operations.CostCenter: '42'
          description: ${costAlertSubscriptionDescription}
          freeformTags:
            Department: Finance
    

    Create CostAlertSubscription Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new CostAlertSubscription(name: string, args: CostAlertSubscriptionArgs, opts?: CustomResourceOptions);
    @overload
    def CostAlertSubscription(resource_name: str,
                              args: CostAlertSubscriptionArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def CostAlertSubscription(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              channels: Optional[str] = None,
                              compartment_id: Optional[str] = None,
                              defined_tags: Optional[Mapping[str, str]] = None,
                              description: Optional[str] = None,
                              freeform_tags: Optional[Mapping[str, str]] = None,
                              name: Optional[str] = None)
    func NewCostAlertSubscription(ctx *Context, name string, args CostAlertSubscriptionArgs, opts ...ResourceOption) (*CostAlertSubscription, error)
    public CostAlertSubscription(string name, CostAlertSubscriptionArgs args, CustomResourceOptions? opts = null)
    public CostAlertSubscription(String name, CostAlertSubscriptionArgs args)
    public CostAlertSubscription(String name, CostAlertSubscriptionArgs args, CustomResourceOptions options)
    
    type: oci:Budget:CostAlertSubscription
    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 CostAlertSubscriptionArgs
    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 CostAlertSubscriptionArgs
    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 CostAlertSubscriptionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CostAlertSubscriptionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CostAlertSubscriptionArgs
    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 costAlertSubscriptionResource = new Oci.Budget.CostAlertSubscription("costAlertSubscriptionResource", new()
    {
        Channels = "string",
        CompartmentId = "string",
        DefinedTags = 
        {
            { "string", "string" },
        },
        Description = "string",
        FreeformTags = 
        {
            { "string", "string" },
        },
        Name = "string",
    });
    
    example, err := budget.NewCostAlertSubscription(ctx, "costAlertSubscriptionResource", &budget.CostAlertSubscriptionArgs{
    	Channels:      pulumi.String("string"),
    	CompartmentId: pulumi.String("string"),
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Description: pulumi.String("string"),
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Name: pulumi.String("string"),
    })
    
    var costAlertSubscriptionResource = new CostAlertSubscription("costAlertSubscriptionResource", CostAlertSubscriptionArgs.builder()
        .channels("string")
        .compartmentId("string")
        .definedTags(Map.of("string", "string"))
        .description("string")
        .freeformTags(Map.of("string", "string"))
        .name("string")
        .build());
    
    cost_alert_subscription_resource = oci.budget.CostAlertSubscription("costAlertSubscriptionResource",
        channels="string",
        compartment_id="string",
        defined_tags={
            "string": "string",
        },
        description="string",
        freeform_tags={
            "string": "string",
        },
        name="string")
    
    const costAlertSubscriptionResource = new oci.budget.CostAlertSubscription("costAlertSubscriptionResource", {
        channels: "string",
        compartmentId: "string",
        definedTags: {
            string: "string",
        },
        description: "string",
        freeformTags: {
            string: "string",
        },
        name: "string",
    });
    
    type: oci:Budget:CostAlertSubscription
    properties:
        channels: string
        compartmentId: string
        definedTags:
            string: string
        description: string
        freeformTags:
            string: string
        name: string
    

    CostAlertSubscription 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 CostAlertSubscription resource accepts the following input properties:

    Channels string
    (Updatable) The notification channels string.
    CompartmentId string
    The OCID of the compartment.
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    (Updatable) The description of the cost alert subscription.
    FreeformTags Dictionary<string, string>
    (Updatable) 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"}
    Name string

    The name of the cost alert subscription. Avoid entering confidential information.

    ** 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

    Channels string
    (Updatable) The notification channels string.
    CompartmentId string
    The OCID of the compartment.
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    (Updatable) The description of the cost alert subscription.
    FreeformTags map[string]string
    (Updatable) 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"}
    Name string

    The name of the cost alert subscription. Avoid entering confidential information.

    ** 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

    channels String
    (Updatable) The notification channels string.
    compartmentId String
    The OCID of the compartment.
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    (Updatable) The description of the cost alert subscription.
    freeformTags Map<String,String>
    (Updatable) 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"}
    name String

    The name of the cost alert subscription. Avoid entering confidential information.

    ** 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

    channels string
    (Updatable) The notification channels string.
    compartmentId string
    The OCID of the compartment.
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description string
    (Updatable) The description of the cost alert subscription.
    freeformTags {[key: string]: string}
    (Updatable) 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"}
    name string

    The name of the cost alert subscription. Avoid entering confidential information.

    ** 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

    channels str
    (Updatable) The notification channels string.
    compartment_id str
    The OCID of the compartment.
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description str
    (Updatable) The description of the cost alert subscription.
    freeform_tags Mapping[str, str]
    (Updatable) 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"}
    name str

    The name of the cost alert subscription. Avoid entering confidential information.

    ** 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

    channels String
    (Updatable) The notification channels string.
    compartmentId String
    The OCID of the compartment.
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    (Updatable) The description of the cost alert subscription.
    freeformTags Map<String>
    (Updatable) 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"}
    name String

    The name of the cost alert subscription. Avoid entering confidential information.

    ** 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

    Outputs

    All input properties are implicitly available as output properties. Additionally, the CostAlertSubscription resource produces the following output properties:

    CostAnomalyMonitors string
    List of monitor identifiers
    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    The current state of the cost alert subscription.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time that the cost alert subscription was created.
    TimeUpdated string
    The time that the cost alert subscription was updated.
    CostAnomalyMonitors string
    List of monitor identifiers
    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    The current state of the cost alert subscription.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time that the cost alert subscription was created.
    TimeUpdated string
    The time that the cost alert subscription was updated.
    costAnomalyMonitors String
    List of monitor identifiers
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    The current state of the cost alert subscription.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time that the cost alert subscription was created.
    timeUpdated String
    The time that the cost alert subscription was updated.
    costAnomalyMonitors string
    List of monitor identifiers
    id string
    The provider-assigned unique ID for this managed resource.
    state string
    The current state of the cost alert subscription.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The time that the cost alert subscription was created.
    timeUpdated string
    The time that the cost alert subscription was updated.
    cost_anomaly_monitors str
    List of monitor identifiers
    id str
    The provider-assigned unique ID for this managed resource.
    state str
    The current state of the cost alert subscription.
    system_tags Mapping[str, str]
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The time that the cost alert subscription was created.
    time_updated str
    The time that the cost alert subscription was updated.
    costAnomalyMonitors String
    List of monitor identifiers
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    The current state of the cost alert subscription.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time that the cost alert subscription was created.
    timeUpdated String
    The time that the cost alert subscription was updated.

    Look up Existing CostAlertSubscription Resource

    Get an existing CostAlertSubscription 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?: CostAlertSubscriptionState, opts?: CustomResourceOptions): CostAlertSubscription
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            channels: Optional[str] = None,
            compartment_id: Optional[str] = None,
            cost_anomaly_monitors: Optional[str] = None,
            defined_tags: Optional[Mapping[str, str]] = None,
            description: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            name: Optional[str] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, str]] = None,
            time_created: Optional[str] = None,
            time_updated: Optional[str] = None) -> CostAlertSubscription
    func GetCostAlertSubscription(ctx *Context, name string, id IDInput, state *CostAlertSubscriptionState, opts ...ResourceOption) (*CostAlertSubscription, error)
    public static CostAlertSubscription Get(string name, Input<string> id, CostAlertSubscriptionState? state, CustomResourceOptions? opts = null)
    public static CostAlertSubscription get(String name, Output<String> id, CostAlertSubscriptionState state, CustomResourceOptions options)
    resources:  _:    type: oci:Budget:CostAlertSubscription    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.
    The following state arguments are supported:
    Channels string
    (Updatable) The notification channels string.
    CompartmentId string
    The OCID of the compartment.
    CostAnomalyMonitors string
    List of monitor identifiers
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    (Updatable) The description of the cost alert subscription.
    FreeformTags Dictionary<string, string>
    (Updatable) 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"}
    Name string

    The name of the cost alert subscription. Avoid entering confidential information.

    ** 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
    The current state of the cost alert subscription.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time that the cost alert subscription was created.
    TimeUpdated string
    The time that the cost alert subscription was updated.
    Channels string
    (Updatable) The notification channels string.
    CompartmentId string
    The OCID of the compartment.
    CostAnomalyMonitors string
    List of monitor identifiers
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    (Updatable) The description of the cost alert subscription.
    FreeformTags map[string]string
    (Updatable) 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"}
    Name string

    The name of the cost alert subscription. Avoid entering confidential information.

    ** 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
    The current state of the cost alert subscription.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time that the cost alert subscription was created.
    TimeUpdated string
    The time that the cost alert subscription was updated.
    channels String
    (Updatable) The notification channels string.
    compartmentId String
    The OCID of the compartment.
    costAnomalyMonitors String
    List of monitor identifiers
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    (Updatable) The description of the cost alert subscription.
    freeformTags Map<String,String>
    (Updatable) 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"}
    name String

    The name of the cost alert subscription. Avoid entering confidential information.

    ** 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
    The current state of the cost alert subscription.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time that the cost alert subscription was created.
    timeUpdated String
    The time that the cost alert subscription was updated.
    channels string
    (Updatable) The notification channels string.
    compartmentId string
    The OCID of the compartment.
    costAnomalyMonitors string
    List of monitor identifiers
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description string
    (Updatable) The description of the cost alert subscription.
    freeformTags {[key: string]: string}
    (Updatable) 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"}
    name string

    The name of the cost alert subscription. Avoid entering confidential information.

    ** 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
    The current state of the cost alert subscription.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The time that the cost alert subscription was created.
    timeUpdated string
    The time that the cost alert subscription was updated.
    channels str
    (Updatable) The notification channels string.
    compartment_id str
    The OCID of the compartment.
    cost_anomaly_monitors str
    List of monitor identifiers
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description str
    (Updatable) The description of the cost alert subscription.
    freeform_tags Mapping[str, str]
    (Updatable) 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"}
    name str

    The name of the cost alert subscription. Avoid entering confidential information.

    ** 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
    The current state of the cost alert subscription.
    system_tags Mapping[str, str]
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The time that the cost alert subscription was created.
    time_updated str
    The time that the cost alert subscription was updated.
    channels String
    (Updatable) The notification channels string.
    compartmentId String
    The OCID of the compartment.
    costAnomalyMonitors String
    List of monitor identifiers
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    (Updatable) The description of the cost alert subscription.
    freeformTags Map<String>
    (Updatable) 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"}
    name String

    The name of the cost alert subscription. Avoid entering confidential information.

    ** 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
    The current state of the cost alert subscription.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time that the cost alert subscription was created.
    timeUpdated String
    The time that the cost alert subscription was updated.

    Import

    CostAlertSubscriptions can be imported using the id, e.g.

    $ pulumi import oci:Budget/costAlertSubscription:CostAlertSubscription test_cost_alert_subscription "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 oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v3.16.0 published on Wednesday, Jan 28, 2026 by Pulumi
      Meet Neo: Your AI Platform Teammate