published on Friday, Jun 5, 2026 by Chronosphere
published on Friday, Jun 5, 2026 by Chronosphere
A per-partition quota on a consumption_config partition with thresholds that trigger drop, alert, or pause actions when metric or log usage breaches them.
Create ConsumptionBudget Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ConsumptionBudget(name: string, args: ConsumptionBudgetArgs, opts?: CustomResourceOptions);@overload
def ConsumptionBudget(resource_name: str,
args: ConsumptionBudgetArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ConsumptionBudget(resource_name: str,
opts: Optional[ResourceOptions] = None,
consumption_config_id: Optional[str] = None,
name: Optional[str] = None,
alert_action_config: Optional[ConsumptionBudgetAlertActionConfigArgs] = None,
default_priority: Optional[int] = None,
notification_policy_id: Optional[str] = None,
partition_slug_path: Optional[str] = None,
priorities: Optional[Sequence[ConsumptionBudgetPriorityArgs]] = None,
resource: Optional[str] = None,
slug: Optional[str] = None,
thresholds: Optional[Sequence[ConsumptionBudgetThresholdArgs]] = None)func NewConsumptionBudget(ctx *Context, name string, args ConsumptionBudgetArgs, opts ...ResourceOption) (*ConsumptionBudget, error)public ConsumptionBudget(string name, ConsumptionBudgetArgs args, CustomResourceOptions? opts = null)
public ConsumptionBudget(String name, ConsumptionBudgetArgs args)
public ConsumptionBudget(String name, ConsumptionBudgetArgs args, CustomResourceOptions options)
type: chronosphere:ConsumptionBudget
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "chronosphere_consumptionbudget" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ConsumptionBudgetArgs
- 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 ConsumptionBudgetArgs
- 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 ConsumptionBudgetArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ConsumptionBudgetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ConsumptionBudgetArgs
- 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 consumptionBudgetResource = new Pulumi.ConsumptionBudget("consumptionBudgetResource", new()
{
ConsumptionConfigId = "string",
Name = "string",
AlertActionConfig = new Pulumi.Inputs.ConsumptionBudgetAlertActionConfigArgs
{
Annotations =
{
{ "string", "string" },
},
InstantRateSustainSecs = 0,
Labels =
{
{ "string", "string" },
},
},
DefaultPriority = 0,
NotificationPolicyId = "string",
PartitionSlugPath = "string",
Priorities = new[]
{
new Pulumi.Inputs.ConsumptionBudgetPriorityArgs
{
Filters = new[]
{
new Pulumi.Inputs.ConsumptionBudgetPriorityFilterArgs
{
DatasetId = "string",
LogFilter = new Pulumi.Inputs.ConsumptionBudgetPriorityFilterLogFilterArgs
{
Query = "string",
},
},
},
Priority = 0,
},
},
Slug = "string",
Thresholds = new[]
{
new Pulumi.Inputs.ConsumptionBudgetThresholdArgs
{
Action = "string",
InstantRate = new Pulumi.Inputs.ConsumptionBudgetThresholdInstantRateArgs
{
FixedValuePerSec = 0,
},
ResourceGroup = "string",
Type = "string",
Unit = "string",
Volume = new Pulumi.Inputs.ConsumptionBudgetThresholdVolumeArgs
{
FixedValue = 0,
},
},
},
});
example, err := chronosphere.NewConsumptionBudget(ctx, "consumptionBudgetResource", &chronosphere.ConsumptionBudgetArgs{
ConsumptionConfigId: pulumi.String("string"),
Name: pulumi.String("string"),
AlertActionConfig: &chronosphere.ConsumptionBudgetAlertActionConfigArgs{
Annotations: pulumi.StringMap{
"string": pulumi.String("string"),
},
InstantRateSustainSecs: pulumi.Int(0),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
DefaultPriority: pulumi.Int(0),
NotificationPolicyId: pulumi.String("string"),
PartitionSlugPath: pulumi.String("string"),
Priorities: chronosphere.ConsumptionBudgetPriorityArray{
&chronosphere.ConsumptionBudgetPriorityArgs{
Filters: chronosphere.ConsumptionBudgetPriorityFilterArray{
&chronosphere.ConsumptionBudgetPriorityFilterArgs{
DatasetId: pulumi.String("string"),
LogFilter: &chronosphere.ConsumptionBudgetPriorityFilterLogFilterArgs{
Query: pulumi.String("string"),
},
},
},
Priority: pulumi.Int(0),
},
},
Slug: pulumi.String("string"),
Thresholds: chronosphere.ConsumptionBudgetThresholdArray{
&chronosphere.ConsumptionBudgetThresholdArgs{
Action: pulumi.String("string"),
InstantRate: &chronosphere.ConsumptionBudgetThresholdInstantRateArgs{
FixedValuePerSec: pulumi.Int(0),
},
ResourceGroup: pulumi.String("string"),
Type: pulumi.String("string"),
Unit: pulumi.String("string"),
Volume: &chronosphere.ConsumptionBudgetThresholdVolumeArgs{
FixedValue: pulumi.Int(0),
},
},
},
})
resource "chronosphere_consumptionbudget" "consumptionBudgetResource" {
consumption_config_id = "string"
name = "string"
alert_action_config = {
annotations = {
"string" = "string"
}
instant_rate_sustain_secs = 0
labels = {
"string" = "string"
}
}
default_priority = 0
notification_policy_id = "string"
partition_slug_path = "string"
priorities {
filters {
dataset_id = "string"
log_filter = {
query = "string"
}
}
priority = 0
}
slug = "string"
thresholds {
action = "string"
instant_rate = {
fixed_value_per_sec = 0
}
resource_group = "string"
type = "string"
unit = "string"
volume = {
fixed_value = 0
}
}
}
var consumptionBudgetResource = new ConsumptionBudget("consumptionBudgetResource", ConsumptionBudgetArgs.builder()
.consumptionConfigId("string")
.name("string")
.alertActionConfig(ConsumptionBudgetAlertActionConfigArgs.builder()
.annotations(Map.of("string", "string"))
.instantRateSustainSecs(0)
.labels(Map.of("string", "string"))
.build())
.defaultPriority(0)
.notificationPolicyId("string")
.partitionSlugPath("string")
.priorities(ConsumptionBudgetPriorityArgs.builder()
.filters(ConsumptionBudgetPriorityFilterArgs.builder()
.datasetId("string")
.logFilter(ConsumptionBudgetPriorityFilterLogFilterArgs.builder()
.query("string")
.build())
.build())
.priority(0)
.build())
.slug("string")
.thresholds(ConsumptionBudgetThresholdArgs.builder()
.action("string")
.instantRate(ConsumptionBudgetThresholdInstantRateArgs.builder()
.fixedValuePerSec(0)
.build())
.resourceGroup("string")
.type("string")
.unit("string")
.volume(ConsumptionBudgetThresholdVolumeArgs.builder()
.fixedValue(0)
.build())
.build())
.build());
consumption_budget_resource = chronosphere.ConsumptionBudget("consumptionBudgetResource",
consumption_config_id="string",
name="string",
alert_action_config={
"annotations": {
"string": "string",
},
"instant_rate_sustain_secs": 0,
"labels": {
"string": "string",
},
},
default_priority=0,
notification_policy_id="string",
partition_slug_path="string",
priorities=[{
"filters": [{
"dataset_id": "string",
"log_filter": {
"query": "string",
},
}],
"priority": 0,
}],
slug="string",
thresholds=[{
"action": "string",
"instant_rate": {
"fixed_value_per_sec": 0,
},
"resource_group": "string",
"type": "string",
"unit": "string",
"volume": {
"fixed_value": 0,
},
}])
const consumptionBudgetResource = new chronosphere.ConsumptionBudget("consumptionBudgetResource", {
consumptionConfigId: "string",
name: "string",
alertActionConfig: {
annotations: {
string: "string",
},
instantRateSustainSecs: 0,
labels: {
string: "string",
},
},
defaultPriority: 0,
notificationPolicyId: "string",
partitionSlugPath: "string",
priorities: [{
filters: [{
datasetId: "string",
logFilter: {
query: "string",
},
}],
priority: 0,
}],
slug: "string",
thresholds: [{
action: "string",
instantRate: {
fixedValuePerSec: 0,
},
resourceGroup: "string",
type: "string",
unit: "string",
volume: {
fixedValue: 0,
},
}],
});
type: chronosphere:ConsumptionBudget
properties:
alertActionConfig:
annotations:
string: string
instantRateSustainSecs: 0
labels:
string: string
consumptionConfigId: string
defaultPriority: 0
name: string
notificationPolicyId: string
partitionSlugPath: string
priorities:
- filters:
- datasetId: string
logFilter:
query: string
priority: 0
slug: string
thresholds:
- action: string
instantRate:
fixedValuePerSec: 0
resourceGroup: string
type: string
unit: string
volume:
fixedValue: 0
ConsumptionBudget 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 ConsumptionBudget resource accepts the following input properties:
- Consumption
Config stringId - ID of the singleton
chronosphere.ConsumptionConfigresource this budget depends on. Acts as an explicit dependency pointer; the actual partition is selected viapartition_slug_path. - Name string
- Display name of the consumption budget. Can be changed after creation.
- Alert
Action Chronosphere.Config Pulumi. Inputs. Consumption Budget Alert Action Config - Optional configuration applied to monitors generated by alerting thresholds.
- Default
Priority int - Priority assigned to requests that do not match any entry in
priority. Defaults to 10 (dropped first) if unset. - Notification
Policy stringId - ID of the notification policy used to route alerts generated by
ALERT_WARN/ALERT_CRITICALthresholds. Required only if such thresholds are configured. - Partition
Slug stringPath - Forward-slash-delimited path identifying the partition the budget applies to (e.g.
global/gateway/dev). Must start with theglobalpartition slug. - Priorities
List<Chronosphere.
Pulumi. Inputs. Consumption Budget Priority> - Priority order used when dropping data. Priority
10is dropped first; priority1is dropped last. - Resource string
- Deprecated: use
threshold.sku_groupandthreshold.unitinstead. Identifies the resource type the budget governs. - Slug string
- Stable identifier for the consumption budget. Generated from
nameif omitted. Immutable after creation. - Thresholds
List<Chronosphere.
Pulumi. Inputs. Consumption Budget Threshold> - Threshold actions to take when budget consumption crosses configured levels.
- Consumption
Config stringId - ID of the singleton
chronosphere.ConsumptionConfigresource this budget depends on. Acts as an explicit dependency pointer; the actual partition is selected viapartition_slug_path. - Name string
- Display name of the consumption budget. Can be changed after creation.
- Alert
Action ConsumptionConfig Budget Alert Action Config Args - Optional configuration applied to monitors generated by alerting thresholds.
- Default
Priority int - Priority assigned to requests that do not match any entry in
priority. Defaults to 10 (dropped first) if unset. - Notification
Policy stringId - ID of the notification policy used to route alerts generated by
ALERT_WARN/ALERT_CRITICALthresholds. Required only if such thresholds are configured. - Partition
Slug stringPath - Forward-slash-delimited path identifying the partition the budget applies to (e.g.
global/gateway/dev). Must start with theglobalpartition slug. - Priorities
[]Consumption
Budget Priority Args - Priority order used when dropping data. Priority
10is dropped first; priority1is dropped last. - Resource string
- Deprecated: use
threshold.sku_groupandthreshold.unitinstead. Identifies the resource type the budget governs. - Slug string
- Stable identifier for the consumption budget. Generated from
nameif omitted. Immutable after creation. - Thresholds
[]Consumption
Budget Threshold Args - Threshold actions to take when budget consumption crosses configured levels.
- consumption_
config_ stringid - ID of the singleton
chronosphere.ConsumptionConfigresource this budget depends on. Acts as an explicit dependency pointer; the actual partition is selected viapartition_slug_path. - name string
- Display name of the consumption budget. Can be changed after creation.
- alert_
action_ objectconfig - Optional configuration applied to monitors generated by alerting thresholds.
- default_
priority number - Priority assigned to requests that do not match any entry in
priority. Defaults to 10 (dropped first) if unset. - notification_
policy_ stringid - ID of the notification policy used to route alerts generated by
ALERT_WARN/ALERT_CRITICALthresholds. Required only if such thresholds are configured. - partition_
slug_ stringpath - Forward-slash-delimited path identifying the partition the budget applies to (e.g.
global/gateway/dev). Must start with theglobalpartition slug. - priorities list(object)
- Priority order used when dropping data. Priority
10is dropped first; priority1is dropped last. - resource string
- Deprecated: use
threshold.sku_groupandthreshold.unitinstead. Identifies the resource type the budget governs. - slug string
- Stable identifier for the consumption budget. Generated from
nameif omitted. Immutable after creation. - thresholds list(object)
- Threshold actions to take when budget consumption crosses configured levels.
- consumption
Config StringId - ID of the singleton
chronosphere.ConsumptionConfigresource this budget depends on. Acts as an explicit dependency pointer; the actual partition is selected viapartition_slug_path. - name String
- Display name of the consumption budget. Can be changed after creation.
- alert
Action ConsumptionConfig Budget Alert Action Config - Optional configuration applied to monitors generated by alerting thresholds.
- default
Priority Integer - Priority assigned to requests that do not match any entry in
priority. Defaults to 10 (dropped first) if unset. - notification
Policy StringId - ID of the notification policy used to route alerts generated by
ALERT_WARN/ALERT_CRITICALthresholds. Required only if such thresholds are configured. - partition
Slug StringPath - Forward-slash-delimited path identifying the partition the budget applies to (e.g.
global/gateway/dev). Must start with theglobalpartition slug. - priorities
List<Consumption
Budget Priority> - Priority order used when dropping data. Priority
10is dropped first; priority1is dropped last. - resource String
- Deprecated: use
threshold.sku_groupandthreshold.unitinstead. Identifies the resource type the budget governs. - slug String
- Stable identifier for the consumption budget. Generated from
nameif omitted. Immutable after creation. - thresholds
List<Consumption
Budget Threshold> - Threshold actions to take when budget consumption crosses configured levels.
- consumption
Config stringId - ID of the singleton
chronosphere.ConsumptionConfigresource this budget depends on. Acts as an explicit dependency pointer; the actual partition is selected viapartition_slug_path. - name string
- Display name of the consumption budget. Can be changed after creation.
- alert
Action ConsumptionConfig Budget Alert Action Config - Optional configuration applied to monitors generated by alerting thresholds.
- default
Priority number - Priority assigned to requests that do not match any entry in
priority. Defaults to 10 (dropped first) if unset. - notification
Policy stringId - ID of the notification policy used to route alerts generated by
ALERT_WARN/ALERT_CRITICALthresholds. Required only if such thresholds are configured. - partition
Slug stringPath - Forward-slash-delimited path identifying the partition the budget applies to (e.g.
global/gateway/dev). Must start with theglobalpartition slug. - priorities
Consumption
Budget Priority[] - Priority order used when dropping data. Priority
10is dropped first; priority1is dropped last. - resource string
- Deprecated: use
threshold.sku_groupandthreshold.unitinstead. Identifies the resource type the budget governs. - slug string
- Stable identifier for the consumption budget. Generated from
nameif omitted. Immutable after creation. - thresholds
Consumption
Budget Threshold[] - Threshold actions to take when budget consumption crosses configured levels.
- consumption_
config_ strid - ID of the singleton
chronosphere.ConsumptionConfigresource this budget depends on. Acts as an explicit dependency pointer; the actual partition is selected viapartition_slug_path. - name str
- Display name of the consumption budget. Can be changed after creation.
- alert_
action_ Consumptionconfig Budget Alert Action Config Args - Optional configuration applied to monitors generated by alerting thresholds.
- default_
priority int - Priority assigned to requests that do not match any entry in
priority. Defaults to 10 (dropped first) if unset. - notification_
policy_ strid - ID of the notification policy used to route alerts generated by
ALERT_WARN/ALERT_CRITICALthresholds. Required only if such thresholds are configured. - partition_
slug_ strpath - Forward-slash-delimited path identifying the partition the budget applies to (e.g.
global/gateway/dev). Must start with theglobalpartition slug. - priorities
Sequence[Consumption
Budget Priority Args] - Priority order used when dropping data. Priority
10is dropped first; priority1is dropped last. - resource str
- Deprecated: use
threshold.sku_groupandthreshold.unitinstead. Identifies the resource type the budget governs. - slug str
- Stable identifier for the consumption budget. Generated from
nameif omitted. Immutable after creation. - thresholds
Sequence[Consumption
Budget Threshold Args] - Threshold actions to take when budget consumption crosses configured levels.
- consumption
Config StringId - ID of the singleton
chronosphere.ConsumptionConfigresource this budget depends on. Acts as an explicit dependency pointer; the actual partition is selected viapartition_slug_path. - name String
- Display name of the consumption budget. Can be changed after creation.
- alert
Action Property MapConfig - Optional configuration applied to monitors generated by alerting thresholds.
- default
Priority Number - Priority assigned to requests that do not match any entry in
priority. Defaults to 10 (dropped first) if unset. - notification
Policy StringId - ID of the notification policy used to route alerts generated by
ALERT_WARN/ALERT_CRITICALthresholds. Required only if such thresholds are configured. - partition
Slug StringPath - Forward-slash-delimited path identifying the partition the budget applies to (e.g.
global/gateway/dev). Must start with theglobalpartition slug. - priorities List<Property Map>
- Priority order used when dropping data. Priority
10is dropped first; priority1is dropped last. - resource String
- Deprecated: use
threshold.sku_groupandthreshold.unitinstead. Identifies the resource type the budget governs. - slug String
- Stable identifier for the consumption budget. Generated from
nameif omitted. Immutable after creation. - thresholds List<Property Map>
- Threshold actions to take when budget consumption crosses configured levels.
Outputs
All input properties are implicitly available as output properties. Additionally, the ConsumptionBudget resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ConsumptionBudget Resource
Get an existing ConsumptionBudget 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?: ConsumptionBudgetState, opts?: CustomResourceOptions): ConsumptionBudget@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
alert_action_config: Optional[ConsumptionBudgetAlertActionConfigArgs] = None,
consumption_config_id: Optional[str] = None,
default_priority: Optional[int] = None,
name: Optional[str] = None,
notification_policy_id: Optional[str] = None,
partition_slug_path: Optional[str] = None,
priorities: Optional[Sequence[ConsumptionBudgetPriorityArgs]] = None,
resource: Optional[str] = None,
slug: Optional[str] = None,
thresholds: Optional[Sequence[ConsumptionBudgetThresholdArgs]] = None) -> ConsumptionBudgetfunc GetConsumptionBudget(ctx *Context, name string, id IDInput, state *ConsumptionBudgetState, opts ...ResourceOption) (*ConsumptionBudget, error)public static ConsumptionBudget Get(string name, Input<string> id, ConsumptionBudgetState? state, CustomResourceOptions? opts = null)public static ConsumptionBudget get(String name, Output<String> id, ConsumptionBudgetState state, CustomResourceOptions options)resources: _: type: chronosphere:ConsumptionBudget get: id: ${id}import {
to = chronosphere_consumptionbudget.example
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.
- Alert
Action Chronosphere.Config Pulumi. Inputs. Consumption Budget Alert Action Config - Optional configuration applied to monitors generated by alerting thresholds.
- Consumption
Config stringId - ID of the singleton
chronosphere.ConsumptionConfigresource this budget depends on. Acts as an explicit dependency pointer; the actual partition is selected viapartition_slug_path. - Default
Priority int - Priority assigned to requests that do not match any entry in
priority. Defaults to 10 (dropped first) if unset. - Name string
- Display name of the consumption budget. Can be changed after creation.
- Notification
Policy stringId - ID of the notification policy used to route alerts generated by
ALERT_WARN/ALERT_CRITICALthresholds. Required only if such thresholds are configured. - Partition
Slug stringPath - Forward-slash-delimited path identifying the partition the budget applies to (e.g.
global/gateway/dev). Must start with theglobalpartition slug. - Priorities
List<Chronosphere.
Pulumi. Inputs. Consumption Budget Priority> - Priority order used when dropping data. Priority
10is dropped first; priority1is dropped last. - Resource string
- Deprecated: use
threshold.sku_groupandthreshold.unitinstead. Identifies the resource type the budget governs. - Slug string
- Stable identifier for the consumption budget. Generated from
nameif omitted. Immutable after creation. - Thresholds
List<Chronosphere.
Pulumi. Inputs. Consumption Budget Threshold> - Threshold actions to take when budget consumption crosses configured levels.
- Alert
Action ConsumptionConfig Budget Alert Action Config Args - Optional configuration applied to monitors generated by alerting thresholds.
- Consumption
Config stringId - ID of the singleton
chronosphere.ConsumptionConfigresource this budget depends on. Acts as an explicit dependency pointer; the actual partition is selected viapartition_slug_path. - Default
Priority int - Priority assigned to requests that do not match any entry in
priority. Defaults to 10 (dropped first) if unset. - Name string
- Display name of the consumption budget. Can be changed after creation.
- Notification
Policy stringId - ID of the notification policy used to route alerts generated by
ALERT_WARN/ALERT_CRITICALthresholds. Required only if such thresholds are configured. - Partition
Slug stringPath - Forward-slash-delimited path identifying the partition the budget applies to (e.g.
global/gateway/dev). Must start with theglobalpartition slug. - Priorities
[]Consumption
Budget Priority Args - Priority order used when dropping data. Priority
10is dropped first; priority1is dropped last. - Resource string
- Deprecated: use
threshold.sku_groupandthreshold.unitinstead. Identifies the resource type the budget governs. - Slug string
- Stable identifier for the consumption budget. Generated from
nameif omitted. Immutable after creation. - Thresholds
[]Consumption
Budget Threshold Args - Threshold actions to take when budget consumption crosses configured levels.
- alert_
action_ objectconfig - Optional configuration applied to monitors generated by alerting thresholds.
- consumption_
config_ stringid - ID of the singleton
chronosphere.ConsumptionConfigresource this budget depends on. Acts as an explicit dependency pointer; the actual partition is selected viapartition_slug_path. - default_
priority number - Priority assigned to requests that do not match any entry in
priority. Defaults to 10 (dropped first) if unset. - name string
- Display name of the consumption budget. Can be changed after creation.
- notification_
policy_ stringid - ID of the notification policy used to route alerts generated by
ALERT_WARN/ALERT_CRITICALthresholds. Required only if such thresholds are configured. - partition_
slug_ stringpath - Forward-slash-delimited path identifying the partition the budget applies to (e.g.
global/gateway/dev). Must start with theglobalpartition slug. - priorities list(object)
- Priority order used when dropping data. Priority
10is dropped first; priority1is dropped last. - resource string
- Deprecated: use
threshold.sku_groupandthreshold.unitinstead. Identifies the resource type the budget governs. - slug string
- Stable identifier for the consumption budget. Generated from
nameif omitted. Immutable after creation. - thresholds list(object)
- Threshold actions to take when budget consumption crosses configured levels.
- alert
Action ConsumptionConfig Budget Alert Action Config - Optional configuration applied to monitors generated by alerting thresholds.
- consumption
Config StringId - ID of the singleton
chronosphere.ConsumptionConfigresource this budget depends on. Acts as an explicit dependency pointer; the actual partition is selected viapartition_slug_path. - default
Priority Integer - Priority assigned to requests that do not match any entry in
priority. Defaults to 10 (dropped first) if unset. - name String
- Display name of the consumption budget. Can be changed after creation.
- notification
Policy StringId - ID of the notification policy used to route alerts generated by
ALERT_WARN/ALERT_CRITICALthresholds. Required only if such thresholds are configured. - partition
Slug StringPath - Forward-slash-delimited path identifying the partition the budget applies to (e.g.
global/gateway/dev). Must start with theglobalpartition slug. - priorities
List<Consumption
Budget Priority> - Priority order used when dropping data. Priority
10is dropped first; priority1is dropped last. - resource String
- Deprecated: use
threshold.sku_groupandthreshold.unitinstead. Identifies the resource type the budget governs. - slug String
- Stable identifier for the consumption budget. Generated from
nameif omitted. Immutable after creation. - thresholds
List<Consumption
Budget Threshold> - Threshold actions to take when budget consumption crosses configured levels.
- alert
Action ConsumptionConfig Budget Alert Action Config - Optional configuration applied to monitors generated by alerting thresholds.
- consumption
Config stringId - ID of the singleton
chronosphere.ConsumptionConfigresource this budget depends on. Acts as an explicit dependency pointer; the actual partition is selected viapartition_slug_path. - default
Priority number - Priority assigned to requests that do not match any entry in
priority. Defaults to 10 (dropped first) if unset. - name string
- Display name of the consumption budget. Can be changed after creation.
- notification
Policy stringId - ID of the notification policy used to route alerts generated by
ALERT_WARN/ALERT_CRITICALthresholds. Required only if such thresholds are configured. - partition
Slug stringPath - Forward-slash-delimited path identifying the partition the budget applies to (e.g.
global/gateway/dev). Must start with theglobalpartition slug. - priorities
Consumption
Budget Priority[] - Priority order used when dropping data. Priority
10is dropped first; priority1is dropped last. - resource string
- Deprecated: use
threshold.sku_groupandthreshold.unitinstead. Identifies the resource type the budget governs. - slug string
- Stable identifier for the consumption budget. Generated from
nameif omitted. Immutable after creation. - thresholds
Consumption
Budget Threshold[] - Threshold actions to take when budget consumption crosses configured levels.
- alert_
action_ Consumptionconfig Budget Alert Action Config Args - Optional configuration applied to monitors generated by alerting thresholds.
- consumption_
config_ strid - ID of the singleton
chronosphere.ConsumptionConfigresource this budget depends on. Acts as an explicit dependency pointer; the actual partition is selected viapartition_slug_path. - default_
priority int - Priority assigned to requests that do not match any entry in
priority. Defaults to 10 (dropped first) if unset. - name str
- Display name of the consumption budget. Can be changed after creation.
- notification_
policy_ strid - ID of the notification policy used to route alerts generated by
ALERT_WARN/ALERT_CRITICALthresholds. Required only if such thresholds are configured. - partition_
slug_ strpath - Forward-slash-delimited path identifying the partition the budget applies to (e.g.
global/gateway/dev). Must start with theglobalpartition slug. - priorities
Sequence[Consumption
Budget Priority Args] - Priority order used when dropping data. Priority
10is dropped first; priority1is dropped last. - resource str
- Deprecated: use
threshold.sku_groupandthreshold.unitinstead. Identifies the resource type the budget governs. - slug str
- Stable identifier for the consumption budget. Generated from
nameif omitted. Immutable after creation. - thresholds
Sequence[Consumption
Budget Threshold Args] - Threshold actions to take when budget consumption crosses configured levels.
- alert
Action Property MapConfig - Optional configuration applied to monitors generated by alerting thresholds.
- consumption
Config StringId - ID of the singleton
chronosphere.ConsumptionConfigresource this budget depends on. Acts as an explicit dependency pointer; the actual partition is selected viapartition_slug_path. - default
Priority Number - Priority assigned to requests that do not match any entry in
priority. Defaults to 10 (dropped first) if unset. - name String
- Display name of the consumption budget. Can be changed after creation.
- notification
Policy StringId - ID of the notification policy used to route alerts generated by
ALERT_WARN/ALERT_CRITICALthresholds. Required only if such thresholds are configured. - partition
Slug StringPath - Forward-slash-delimited path identifying the partition the budget applies to (e.g.
global/gateway/dev). Must start with theglobalpartition slug. - priorities List<Property Map>
- Priority order used when dropping data. Priority
10is dropped first; priority1is dropped last. - resource String
- Deprecated: use
threshold.sku_groupandthreshold.unitinstead. Identifies the resource type the budget governs. - slug String
- Stable identifier for the consumption budget. Generated from
nameif omitted. Immutable after creation. - thresholds List<Property Map>
- Threshold actions to take when budget consumption crosses configured levels.
Supporting Types
ConsumptionBudgetAlertActionConfig, ConsumptionBudgetAlertActionConfigArgs
- Annotations Dictionary<string, string>
- Additional annotations to set on the generated monitor. Overrides the default
description,dashboard,resource,consumption_budget_slug,threshold_type, andpartitionannotations when keys collide. - Instant
Rate intSustain Secs - How long instant-rate consumption must remain above the threshold before an alert fires, in seconds. Defaults to 0 (alert immediately on any breach).
- Labels Dictionary<string, string>
- Additional labels to set on the generated monitor, usable for notification routing. The
resource,partition, andthreshold_typelabels are reserved and cannot be overridden.
- Annotations map[string]string
- Additional annotations to set on the generated monitor. Overrides the default
description,dashboard,resource,consumption_budget_slug,threshold_type, andpartitionannotations when keys collide. - Instant
Rate intSustain Secs - How long instant-rate consumption must remain above the threshold before an alert fires, in seconds. Defaults to 0 (alert immediately on any breach).
- Labels map[string]string
- Additional labels to set on the generated monitor, usable for notification routing. The
resource,partition, andthreshold_typelabels are reserved and cannot be overridden.
- annotations map(string)
- Additional annotations to set on the generated monitor. Overrides the default
description,dashboard,resource,consumption_budget_slug,threshold_type, andpartitionannotations when keys collide. - instant_
rate_ numbersustain_ secs - How long instant-rate consumption must remain above the threshold before an alert fires, in seconds. Defaults to 0 (alert immediately on any breach).
- labels map(string)
- Additional labels to set on the generated monitor, usable for notification routing. The
resource,partition, andthreshold_typelabels are reserved and cannot be overridden.
- annotations Map<String,String>
- Additional annotations to set on the generated monitor. Overrides the default
description,dashboard,resource,consumption_budget_slug,threshold_type, andpartitionannotations when keys collide. - instant
Rate IntegerSustain Secs - How long instant-rate consumption must remain above the threshold before an alert fires, in seconds. Defaults to 0 (alert immediately on any breach).
- labels Map<String,String>
- Additional labels to set on the generated monitor, usable for notification routing. The
resource,partition, andthreshold_typelabels are reserved and cannot be overridden.
- annotations {[key: string]: string}
- Additional annotations to set on the generated monitor. Overrides the default
description,dashboard,resource,consumption_budget_slug,threshold_type, andpartitionannotations when keys collide. - instant
Rate numberSustain Secs - How long instant-rate consumption must remain above the threshold before an alert fires, in seconds. Defaults to 0 (alert immediately on any breach).
- labels {[key: string]: string}
- Additional labels to set on the generated monitor, usable for notification routing. The
resource,partition, andthreshold_typelabels are reserved and cannot be overridden.
- annotations Mapping[str, str]
- Additional annotations to set on the generated monitor. Overrides the default
description,dashboard,resource,consumption_budget_slug,threshold_type, andpartitionannotations when keys collide. - instant_
rate_ intsustain_ secs - How long instant-rate consumption must remain above the threshold before an alert fires, in seconds. Defaults to 0 (alert immediately on any breach).
- labels Mapping[str, str]
- Additional labels to set on the generated monitor, usable for notification routing. The
resource,partition, andthreshold_typelabels are reserved and cannot be overridden.
- annotations Map<String>
- Additional annotations to set on the generated monitor. Overrides the default
description,dashboard,resource,consumption_budget_slug,threshold_type, andpartitionannotations when keys collide. - instant
Rate NumberSustain Secs - How long instant-rate consumption must remain above the threshold before an alert fires, in seconds. Defaults to 0 (alert immediately on any breach).
- labels Map<String>
- Additional labels to set on the generated monitor, usable for notification routing. The
resource,partition, andthreshold_typelabels are reserved and cannot be overridden.
ConsumptionBudgetPriority, ConsumptionBudgetPriorityArgs
- Filters
List<Chronosphere.
Pulumi. Inputs. Consumption Budget Priority Filter> - Filters identifying which data matches this priority. Filters are AND-ed together: a request must match every filter to be assigned this priority.
- Priority int
- Priority order used when dropping data. Priority
10is dropped first; priority1is dropped last.
- Filters
[]Consumption
Budget Priority Filter - Filters identifying which data matches this priority. Filters are AND-ed together: a request must match every filter to be assigned this priority.
- Priority int
- Priority order used when dropping data. Priority
10is dropped first; priority1is dropped last.
- filters list(object)
- Filters identifying which data matches this priority. Filters are AND-ed together: a request must match every filter to be assigned this priority.
- priority number
- Priority order used when dropping data. Priority
10is dropped first; priority1is dropped last.
- filters
List<Consumption
Budget Priority Filter> - Filters identifying which data matches this priority. Filters are AND-ed together: a request must match every filter to be assigned this priority.
- priority Integer
- Priority order used when dropping data. Priority
10is dropped first; priority1is dropped last.
- filters
Consumption
Budget Priority Filter[] - Filters identifying which data matches this priority. Filters are AND-ed together: a request must match every filter to be assigned this priority.
- priority number
- Priority order used when dropping data. Priority
10is dropped first; priority1is dropped last.
- filters
Sequence[Consumption
Budget Priority Filter] - Filters identifying which data matches this priority. Filters are AND-ed together: a request must match every filter to be assigned this priority.
- priority int
- Priority order used when dropping data. Priority
10is dropped first; priority1is dropped last.
- filters List<Property Map>
- Filters identifying which data matches this priority. Filters are AND-ed together: a request must match every filter to be assigned this priority.
- priority Number
- Priority order used when dropping data. Priority
10is dropped first; priority1is dropped last.
ConsumptionBudgetPriorityFilter, ConsumptionBudgetPriorityFilterArgs
- Dataset
Id string - Deprecated: use
log_filterinstead. Slug of the dataset to match against. - Log
Filter Chronosphere.Pulumi. Inputs. Consumption Budget Priority Filter Log Filter - Log search filter that matches log data for this priority.
- Dataset
Id string - Deprecated: use
log_filterinstead. Slug of the dataset to match against. - Log
Filter ConsumptionBudget Priority Filter Log Filter - Log search filter that matches log data for this priority.
- dataset_
id string - Deprecated: use
log_filterinstead. Slug of the dataset to match against. - log_
filter object - Log search filter that matches log data for this priority.
- dataset
Id String - Deprecated: use
log_filterinstead. Slug of the dataset to match against. - log
Filter ConsumptionBudget Priority Filter Log Filter - Log search filter that matches log data for this priority.
- dataset
Id string - Deprecated: use
log_filterinstead. Slug of the dataset to match against. - log
Filter ConsumptionBudget Priority Filter Log Filter - Log search filter that matches log data for this priority.
- dataset_
id str - Deprecated: use
log_filterinstead. Slug of the dataset to match against. - log_
filter ConsumptionBudget Priority Filter Log Filter - Log search filter that matches log data for this priority.
- dataset
Id String - Deprecated: use
log_filterinstead. Slug of the dataset to match against. - log
Filter Property Map - Log search filter that matches log data for this priority.
ConsumptionBudgetPriorityFilterLogFilter, ConsumptionBudgetPriorityFilterLogFilterArgs
- Query string
- Log search query that selects matching logs. Supports only top-level operations; nested clauses are not allowed and only one type of
ANDorORoperator can be used.
- Query string
- Log search query that selects matching logs. Supports only top-level operations; nested clauses are not allowed and only one type of
ANDorORoperator can be used.
- query string
- Log search query that selects matching logs. Supports only top-level operations; nested clauses are not allowed and only one type of
ANDorORoperator can be used.
- query String
- Log search query that selects matching logs. Supports only top-level operations; nested clauses are not allowed and only one type of
ANDorORoperator can be used.
- query string
- Log search query that selects matching logs. Supports only top-level operations; nested clauses are not allowed and only one type of
ANDorORoperator can be used.
- query str
- Log search query that selects matching logs. Supports only top-level operations; nested clauses are not allowed and only one type of
ANDorORoperator can be used.
- query String
- Log search query that selects matching logs. Supports only top-level operations; nested clauses are not allowed and only one type of
ANDorORoperator can be used.
ConsumptionBudgetThreshold, ConsumptionBudgetThresholdArgs
- Action string
- Action to take when this threshold is exceeded (e.g. drop traffic, fire warning/critical alert).
- Instant
Rate Chronosphere.Pulumi. Inputs. Consumption Budget Threshold Instant Rate - Configures an instant-rate threshold value. Set when
typeis an instant-rate type. - Resource
Group string - Resource group the threshold applies to (e.g. metrics, logs, traces). Replaces the deprecated top-level
resourcefield. - Sku
Group string - SKU group the threshold applies to (e.g. metrics, logs, traces). Replaces the deprecated top-level
resourcefield. - Type string
- Measurement window over which the threshold is evaluated (e.g. instant rate vs. rolling volume).
- Unit string
- Unit in which the threshold value is denominated (e.g. bytes, datapoints).
- Volume
Chronosphere.
Pulumi. Inputs. Consumption Budget Threshold Volume - Configures a volume threshold value. Set when
typeis a volume type.
- Action string
- Action to take when this threshold is exceeded (e.g. drop traffic, fire warning/critical alert).
- Instant
Rate ConsumptionBudget Threshold Instant Rate - Configures an instant-rate threshold value. Set when
typeis an instant-rate type. - Resource
Group string - Resource group the threshold applies to (e.g. metrics, logs, traces). Replaces the deprecated top-level
resourcefield. - Sku
Group string - SKU group the threshold applies to (e.g. metrics, logs, traces). Replaces the deprecated top-level
resourcefield. - Type string
- Measurement window over which the threshold is evaluated (e.g. instant rate vs. rolling volume).
- Unit string
- Unit in which the threshold value is denominated (e.g. bytes, datapoints).
- Volume
Consumption
Budget Threshold Volume - Configures a volume threshold value. Set when
typeis a volume type.
- action string
- Action to take when this threshold is exceeded (e.g. drop traffic, fire warning/critical alert).
- instant_
rate object - Configures an instant-rate threshold value. Set when
typeis an instant-rate type. - resource_
group string - Resource group the threshold applies to (e.g. metrics, logs, traces). Replaces the deprecated top-level
resourcefield. - sku_
group string - SKU group the threshold applies to (e.g. metrics, logs, traces). Replaces the deprecated top-level
resourcefield. - type string
- Measurement window over which the threshold is evaluated (e.g. instant rate vs. rolling volume).
- unit string
- Unit in which the threshold value is denominated (e.g. bytes, datapoints).
- volume object
- Configures a volume threshold value. Set when
typeis a volume type.
- action String
- Action to take when this threshold is exceeded (e.g. drop traffic, fire warning/critical alert).
- instant
Rate ConsumptionBudget Threshold Instant Rate - Configures an instant-rate threshold value. Set when
typeis an instant-rate type. - resource
Group String - Resource group the threshold applies to (e.g. metrics, logs, traces). Replaces the deprecated top-level
resourcefield. - sku
Group String - SKU group the threshold applies to (e.g. metrics, logs, traces). Replaces the deprecated top-level
resourcefield. - type String
- Measurement window over which the threshold is evaluated (e.g. instant rate vs. rolling volume).
- unit String
- Unit in which the threshold value is denominated (e.g. bytes, datapoints).
- volume
Consumption
Budget Threshold Volume - Configures a volume threshold value. Set when
typeis a volume type.
- action string
- Action to take when this threshold is exceeded (e.g. drop traffic, fire warning/critical alert).
- instant
Rate ConsumptionBudget Threshold Instant Rate - Configures an instant-rate threshold value. Set when
typeis an instant-rate type. - resource
Group string - Resource group the threshold applies to (e.g. metrics, logs, traces). Replaces the deprecated top-level
resourcefield. - sku
Group string - SKU group the threshold applies to (e.g. metrics, logs, traces). Replaces the deprecated top-level
resourcefield. - type string
- Measurement window over which the threshold is evaluated (e.g. instant rate vs. rolling volume).
- unit string
- Unit in which the threshold value is denominated (e.g. bytes, datapoints).
- volume
Consumption
Budget Threshold Volume - Configures a volume threshold value. Set when
typeis a volume type.
- action str
- Action to take when this threshold is exceeded (e.g. drop traffic, fire warning/critical alert).
- instant_
rate ConsumptionBudget Threshold Instant Rate - Configures an instant-rate threshold value. Set when
typeis an instant-rate type. - resource_
group str - Resource group the threshold applies to (e.g. metrics, logs, traces). Replaces the deprecated top-level
resourcefield. - sku_
group str - SKU group the threshold applies to (e.g. metrics, logs, traces). Replaces the deprecated top-level
resourcefield. - type str
- Measurement window over which the threshold is evaluated (e.g. instant rate vs. rolling volume).
- unit str
- Unit in which the threshold value is denominated (e.g. bytes, datapoints).
- volume
Consumption
Budget Threshold Volume - Configures a volume threshold value. Set when
typeis a volume type.
- action String
- Action to take when this threshold is exceeded (e.g. drop traffic, fire warning/critical alert).
- instant
Rate Property Map - Configures an instant-rate threshold value. Set when
typeis an instant-rate type. - resource
Group String - Resource group the threshold applies to (e.g. metrics, logs, traces). Replaces the deprecated top-level
resourcefield. - sku
Group String - SKU group the threshold applies to (e.g. metrics, logs, traces). Replaces the deprecated top-level
resourcefield. - type String
- Measurement window over which the threshold is evaluated (e.g. instant rate vs. rolling volume).
- unit String
- Unit in which the threshold value is denominated (e.g. bytes, datapoints).
- volume Property Map
- Configures a volume threshold value. Set when
typeis a volume type.
ConsumptionBudgetThresholdInstantRate, ConsumptionBudgetThresholdInstantRateArgs
- Fixed
Value intPer Sec - Fixed per-second rate threshold value, expressed in the threshold's
unit.
- Fixed
Value intPer Sec - Fixed per-second rate threshold value, expressed in the threshold's
unit.
- fixed_
value_ numberper_ sec - Fixed per-second rate threshold value, expressed in the threshold's
unit.
- fixed
Value IntegerPer Sec - Fixed per-second rate threshold value, expressed in the threshold's
unit.
- fixed
Value numberPer Sec - Fixed per-second rate threshold value, expressed in the threshold's
unit.
- fixed_
value_ intper_ sec - Fixed per-second rate threshold value, expressed in the threshold's
unit.
- fixed
Value NumberPer Sec - Fixed per-second rate threshold value, expressed in the threshold's
unit.
ConsumptionBudgetThresholdVolume, ConsumptionBudgetThresholdVolumeArgs
- Fixed
Value int - Fixed volume threshold value, expressed in the threshold's
unit.
- Fixed
Value int - Fixed volume threshold value, expressed in the threshold's
unit.
- fixed_
value number - Fixed volume threshold value, expressed in the threshold's
unit.
- fixed
Value Integer - Fixed volume threshold value, expressed in the threshold's
unit.
- fixed
Value number - Fixed volume threshold value, expressed in the threshold's
unit.
- fixed_
value int - Fixed volume threshold value, expressed in the threshold's
unit.
- fixed
Value Number - Fixed volume threshold value, expressed in the threshold's
unit.
Package Details
- Repository
- chronosphere chronosphereio/pulumi-chronosphere
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
chronosphereTerraform Provider.
published on Friday, Jun 5, 2026 by Chronosphere