1. Registry
  2. Packages
  3. Konnect Provider
  4. API Docs
  5. AiCostBudget
Viewing docs for konnect 3.28.0
published on Friday, Nov 6, 2026 by kong
konnect
Viewing docs for konnect 3.28.0
published on Friday, Nov 6, 2026 by kong

    AICostBudget Resource

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as konnect from "@pulumi/konnect";
    
    const myAicostbudget = new konnect.AiCostBudget("my_aicostbudget", {exempt: {
        labels: {
            key: "value",
        },
        name: "...my_name...",
        priority: 100,
        scope: {
            each: "...my_each...",
            filters: "{ \"see\": \"documentation\" }",
        },
        validity: {
            endsAt: "...my_ends_at...",
            startsAt: "...my_starts_at...",
        },
    }});
    
    import pulumi
    import pulumi_konnect as konnect
    
    my_aicostbudget = konnect.AiCostBudget("my_aicostbudget", exempt={
        "labels": {
            "key": "value",
        },
        "name": "...my_name...",
        "priority": 100,
        "scope": {
            "each": "...my_each...",
            "filters": "{ \"see\": \"documentation\" }",
        },
        "validity": {
            "ends_at": "...my_ends_at...",
            "starts_at": "...my_starts_at...",
        },
    })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/konnect/v3/konnect"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := konnect.NewAiCostBudget(ctx, "my_aicostbudget", &konnect.AiCostBudgetArgs{
    			Exempt: &konnect.AiCostBudgetExemptArgs{
    				Labels: pulumi.StringMap{
    					"key": pulumi.String("value"),
    				},
    				Name:     pulumi.String("...my_name..."),
    				Priority: pulumi.Float64(100),
    				Scope: &konnect.AiCostBudgetExemptScopeArgs{
    					Each:    pulumi.String("...my_each..."),
    					Filters: pulumi.String("{ \"see\": \"documentation\" }"),
    				},
    				Validity: &konnect.AiCostBudgetExemptValidityArgs{
    					EndsAt:   pulumi.String("...my_ends_at..."),
    					StartsAt: pulumi.String("...my_starts_at..."),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Konnect = Pulumi.Konnect;
    
    return await Deployment.RunAsync(() => 
    {
        var myAicostbudget = new Konnect.AiCostBudget("my_aicostbudget", new()
        {
            Exempt = new Konnect.Inputs.AiCostBudgetExemptArgs
            {
                Labels = 
                {
                    { "key", "value" },
                },
                Name = "...my_name...",
                Priority = 100,
                Scope = new Konnect.Inputs.AiCostBudgetExemptScopeArgs
                {
                    Each = "...my_each...",
                    Filters = "{ \"see\": \"documentation\" }",
                },
                Validity = new Konnect.Inputs.AiCostBudgetExemptValidityArgs
                {
                    EndsAt = "...my_ends_at...",
                    StartsAt = "...my_starts_at...",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.konnect.AiCostBudget;
    import com.pulumi.konnect.AiCostBudgetArgs;
    import com.pulumi.konnect.inputs.AiCostBudgetExemptArgs;
    import com.pulumi.konnect.inputs.AiCostBudgetExemptScopeArgs;
    import com.pulumi.konnect.inputs.AiCostBudgetExemptValidityArgs;
    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 myAicostbudget = new AiCostBudget("myAicostbudget", AiCostBudgetArgs.builder()
                .exempt(AiCostBudgetExemptArgs.builder()
                    .labels(Map.of("key", "value"))
                    .name("...my_name...")
                    .priority(100.0)
                    .scope(AiCostBudgetExemptScopeArgs.builder()
                        .each("...my_each...")
                        .filters("{ \"see\": \"documentation\" }")
                        .build())
                    .validity(AiCostBudgetExemptValidityArgs.builder()
                        .endsAt("...my_ends_at...")
                        .startsAt("...my_starts_at...")
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      myAicostbudget:
        type: konnect:AiCostBudget
        name: my_aicostbudget
        properties:
          exempt:
            labels:
              key: value
            name: '...my_name...'
            priority: 100
            scope:
              each: '...my_each...'
              filters: '{ "see": "documentation" }'
            validity:
              endsAt: '...my_ends_at...'
              startsAt: '...my_starts_at...'
    
    Example coming soon!
    

    Create AiCostBudget Resource

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

    Constructor syntax

    new AiCostBudget(name: string, args?: AiCostBudgetArgs, opts?: CustomResourceOptions);
    @overload
    def AiCostBudget(resource_name: str,
                     args: Optional[AiCostBudgetArgs] = None,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def AiCostBudget(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     exempt: Optional[AiCostBudgetExemptArgs] = None,
                     limit: Optional[AiCostBudgetLimitArgs] = None)
    func NewAiCostBudget(ctx *Context, name string, args *AiCostBudgetArgs, opts ...ResourceOption) (*AiCostBudget, error)
    public AiCostBudget(string name, AiCostBudgetArgs? args = null, CustomResourceOptions? opts = null)
    public AiCostBudget(String name, AiCostBudgetArgs args)
    public AiCostBudget(String name, AiCostBudgetArgs args, CustomResourceOptions options)
    
    type: konnect:AiCostBudget
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "konnect_ai_cost_budget" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args AiCostBudgetArgs
    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 AiCostBudgetArgs
    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 AiCostBudgetArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AiCostBudgetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AiCostBudgetArgs
    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 aiCostBudgetResource = new Konnect.AiCostBudget("aiCostBudgetResource", new()
    {
        Exempt = new Konnect.Inputs.AiCostBudgetExemptArgs
        {
            CreatedAt = "string",
            CreatedBy = "string",
            Id = "string",
            Labels = 
            {
                { "string", "string" },
            },
            Name = "string",
            Posture = "string",
            Priority = 0.0,
            Scope = new Konnect.Inputs.AiCostBudgetExemptScopeArgs
            {
                Each = "string",
                Filters = "string",
            },
            UpdatedAt = "string",
            Validity = new Konnect.Inputs.AiCostBudgetExemptValidityArgs
            {
                EndsAt = "string",
                StartsAt = "string",
            },
        },
        Limit = new Konnect.Inputs.AiCostBudgetLimitArgs
        {
            CreatedAt = "string",
            CreatedBy = "string",
            Currency = "string",
            Id = "string",
            Labels = 
            {
                { "string", "string" },
            },
            Name = "string",
            Posture = "string",
            Priority = 0.0,
            Scope = new Konnect.Inputs.AiCostBudgetLimitScopeArgs
            {
                Each = "string",
                Filters = "string",
            },
            UpdatedAt = "string",
            Value = "string",
            Window = new Konnect.Inputs.AiCostBudgetLimitWindowArgs
            {
                AnchoredAt = "string",
                Interval = "string",
            },
        },
    });
    
    example, err := konnect.NewAiCostBudget(ctx, "aiCostBudgetResource", &konnect.AiCostBudgetArgs{
    	Exempt: &konnect.AiCostBudgetExemptArgs{
    		CreatedAt: pulumi.String("string"),
    		CreatedBy: pulumi.String("string"),
    		Id:        pulumi.String("string"),
    		Labels: pulumi.StringMap{
    			"string": pulumi.String("string"),
    		},
    		Name:     pulumi.String("string"),
    		Posture:  pulumi.String("string"),
    		Priority: pulumi.Float64(0),
    		Scope: &konnect.AiCostBudgetExemptScopeArgs{
    			Each:    pulumi.String("string"),
    			Filters: pulumi.String("string"),
    		},
    		UpdatedAt: pulumi.String("string"),
    		Validity: &konnect.AiCostBudgetExemptValidityArgs{
    			EndsAt:   pulumi.String("string"),
    			StartsAt: pulumi.String("string"),
    		},
    	},
    	Limit: &konnect.AiCostBudgetLimitArgs{
    		CreatedAt: pulumi.String("string"),
    		CreatedBy: pulumi.String("string"),
    		Currency:  pulumi.String("string"),
    		Id:        pulumi.String("string"),
    		Labels: pulumi.StringMap{
    			"string": pulumi.String("string"),
    		},
    		Name:     pulumi.String("string"),
    		Posture:  pulumi.String("string"),
    		Priority: pulumi.Float64(0),
    		Scope: &konnect.AiCostBudgetLimitScopeArgs{
    			Each:    pulumi.String("string"),
    			Filters: pulumi.String("string"),
    		},
    		UpdatedAt: pulumi.String("string"),
    		Value:     pulumi.String("string"),
    		Window: &konnect.AiCostBudgetLimitWindowArgs{
    			AnchoredAt: pulumi.String("string"),
    			Interval:   pulumi.String("string"),
    		},
    	},
    })
    
    resource "konnect_ai_cost_budget" "aiCostBudgetResource" {
      lifecycle {
        create_before_destroy = true
      }
      exempt = {
        created_at = "string"
        created_by = "string"
        id         = "string"
        labels = {
          "string" = "string"
        }
        name     = "string"
        posture  = "string"
        priority = 0
        scope = {
          each    = "string"
          filters = "string"
        }
        updated_at = "string"
        validity = {
          ends_at   = "string"
          starts_at = "string"
        }
      }
      limit = {
        created_at = "string"
        created_by = "string"
        currency   = "string"
        id         = "string"
        labels = {
          "string" = "string"
        }
        name     = "string"
        posture  = "string"
        priority = 0
        scope = {
          each    = "string"
          filters = "string"
        }
        updated_at = "string"
        value      = "string"
        window = {
          anchored_at = "string"
          interval    = "string"
        }
      }
    }
    
    var aiCostBudgetResource = new AiCostBudget("aiCostBudgetResource", AiCostBudgetArgs.builder()
        .exempt(AiCostBudgetExemptArgs.builder()
            .createdAt("string")
            .createdBy("string")
            .id("string")
            .labels(Map.of("string", "string"))
            .name("string")
            .posture("string")
            .priority(0.0)
            .scope(AiCostBudgetExemptScopeArgs.builder()
                .each("string")
                .filters("string")
                .build())
            .updatedAt("string")
            .validity(AiCostBudgetExemptValidityArgs.builder()
                .endsAt("string")
                .startsAt("string")
                .build())
            .build())
        .limit(AiCostBudgetLimitArgs.builder()
            .createdAt("string")
            .createdBy("string")
            .currency("string")
            .id("string")
            .labels(Map.of("string", "string"))
            .name("string")
            .posture("string")
            .priority(0.0)
            .scope(AiCostBudgetLimitScopeArgs.builder()
                .each("string")
                .filters("string")
                .build())
            .updatedAt("string")
            .value("string")
            .window(AiCostBudgetLimitWindowArgs.builder()
                .anchoredAt("string")
                .interval("string")
                .build())
            .build())
        .build());
    
    ai_cost_budget_resource = konnect.AiCostBudget("aiCostBudgetResource",
        exempt={
            "created_at": "string",
            "created_by": "string",
            "id": "string",
            "labels": {
                "string": "string",
            },
            "name": "string",
            "posture": "string",
            "priority": float(0),
            "scope": {
                "each": "string",
                "filters": "string",
            },
            "updated_at": "string",
            "validity": {
                "ends_at": "string",
                "starts_at": "string",
            },
        },
        limit={
            "created_at": "string",
            "created_by": "string",
            "currency": "string",
            "id": "string",
            "labels": {
                "string": "string",
            },
            "name": "string",
            "posture": "string",
            "priority": float(0),
            "scope": {
                "each": "string",
                "filters": "string",
            },
            "updated_at": "string",
            "value": "string",
            "window": {
                "anchored_at": "string",
                "interval": "string",
            },
        })
    
    const aiCostBudgetResource = new konnect.AiCostBudget("aiCostBudgetResource", {
        exempt: {
            createdAt: "string",
            createdBy: "string",
            id: "string",
            labels: {
                string: "string",
            },
            name: "string",
            posture: "string",
            priority: 0,
            scope: {
                each: "string",
                filters: "string",
            },
            updatedAt: "string",
            validity: {
                endsAt: "string",
                startsAt: "string",
            },
        },
        limit: {
            createdAt: "string",
            createdBy: "string",
            currency: "string",
            id: "string",
            labels: {
                string: "string",
            },
            name: "string",
            posture: "string",
            priority: 0,
            scope: {
                each: "string",
                filters: "string",
            },
            updatedAt: "string",
            value: "string",
            window: {
                anchoredAt: "string",
                interval: "string",
            },
        },
    });
    
    type: konnect:AiCostBudget
    properties:
        exempt:
            createdAt: string
            createdBy: string
            id: string
            labels:
                string: string
            name: string
            posture: string
            priority: 0
            scope:
                each: string
                filters: string
            updatedAt: string
            validity:
                endsAt: string
                startsAt: string
        limit:
            createdAt: string
            createdBy: string
            currency: string
            id: string
            labels:
                string: string
            name: string
            posture: string
            priority: 0
            scope:
                each: string
                filters: string
            updatedAt: string
            value: string
            window:
                anchoredAt: string
                interval: string
    

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

    Exempt AiCostBudgetExempt
    The body of a request that creates or replaces an exemption.
    Limit AiCostBudgetLimit
    The body of a request that creates or replaces a limit budget.
    Exempt AiCostBudgetExemptArgs
    The body of a request that creates or replaces an exemption.
    Limit AiCostBudgetLimitArgs
    The body of a request that creates or replaces a limit budget.
    exempt object
    The body of a request that creates or replaces an exemption.
    limit object
    The body of a request that creates or replaces a limit budget.
    exempt AiCostBudgetExempt
    The body of a request that creates or replaces an exemption.
    limit AiCostBudgetLimit
    The body of a request that creates or replaces a limit budget.
    exempt AiCostBudgetExempt
    The body of a request that creates or replaces an exemption.
    limit AiCostBudgetLimit
    The body of a request that creates or replaces a limit budget.
    exempt AiCostBudgetExemptArgs
    The body of a request that creates or replaces an exemption.
    limit AiCostBudgetLimitArgs
    The body of a request that creates or replaces a limit budget.
    exempt Property Map
    The body of a request that creates or replaces an exemption.
    limit Property Map
    The body of a request that creates or replaces a limit budget.

    Outputs

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

    CreatedAt string
    An ISO-8601 timestamp representation of entity creation date.
    CreatedBy string
    The id of the user or system account that created the budget, which the server records. A person with a budget of their own can replace and delete only the budgets they created.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    A human-readable name for the budget.
    Posture string
    What the budget declares should happen when spend reaches the limit. Nothing enforces it.
    Priority double
    The budget's priority, from 1, the highest, to 100, the lowest. The budget list can filter and sort by it, but balances and notification rules don't use it.
    UpdatedAt string
    An ISO-8601 timestamp representation of entity update date.
    CreatedAt string
    An ISO-8601 timestamp representation of entity creation date.
    CreatedBy string
    The id of the user or system account that created the budget, which the server records. A person with a budget of their own can replace and delete only the budgets they created.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    A human-readable name for the budget.
    Posture string
    What the budget declares should happen when spend reaches the limit. Nothing enforces it.
    Priority float64
    The budget's priority, from 1, the highest, to 100, the lowest. The budget list can filter and sort by it, but balances and notification rules don't use it.
    UpdatedAt string
    An ISO-8601 timestamp representation of entity update date.
    created_at string
    An ISO-8601 timestamp representation of entity creation date.
    created_by string
    The id of the user or system account that created the budget, which the server records. A person with a budget of their own can replace and delete only the budgets they created.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    A human-readable name for the budget.
    posture string
    What the budget declares should happen when spend reaches the limit. Nothing enforces it.
    priority number
    The budget's priority, from 1, the highest, to 100, the lowest. The budget list can filter and sort by it, but balances and notification rules don't use it.
    updated_at string
    An ISO-8601 timestamp representation of entity update date.
    createdAt String
    An ISO-8601 timestamp representation of entity creation date.
    createdBy String
    The id of the user or system account that created the budget, which the server records. A person with a budget of their own can replace and delete only the budgets they created.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    A human-readable name for the budget.
    posture String
    What the budget declares should happen when spend reaches the limit. Nothing enforces it.
    priority Double
    The budget's priority, from 1, the highest, to 100, the lowest. The budget list can filter and sort by it, but balances and notification rules don't use it.
    updatedAt String
    An ISO-8601 timestamp representation of entity update date.
    createdAt string
    An ISO-8601 timestamp representation of entity creation date.
    createdBy string
    The id of the user or system account that created the budget, which the server records. A person with a budget of their own can replace and delete only the budgets they created.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    A human-readable name for the budget.
    posture string
    What the budget declares should happen when spend reaches the limit. Nothing enforces it.
    priority number
    The budget's priority, from 1, the highest, to 100, the lowest. The budget list can filter and sort by it, but balances and notification rules don't use it.
    updatedAt string
    An ISO-8601 timestamp representation of entity update date.
    created_at str
    An ISO-8601 timestamp representation of entity creation date.
    created_by str
    The id of the user or system account that created the budget, which the server records. A person with a budget of their own can replace and delete only the budgets they created.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    A human-readable name for the budget.
    posture str
    What the budget declares should happen when spend reaches the limit. Nothing enforces it.
    priority float
    The budget's priority, from 1, the highest, to 100, the lowest. The budget list can filter and sort by it, but balances and notification rules don't use it.
    updated_at str
    An ISO-8601 timestamp representation of entity update date.
    createdAt String
    An ISO-8601 timestamp representation of entity creation date.
    createdBy String
    The id of the user or system account that created the budget, which the server records. A person with a budget of their own can replace and delete only the budgets they created.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    A human-readable name for the budget.
    posture String
    What the budget declares should happen when spend reaches the limit. Nothing enforces it.
    priority Number
    The budget's priority, from 1, the highest, to 100, the lowest. The budget list can filter and sort by it, but balances and notification rules don't use it.
    updatedAt String
    An ISO-8601 timestamp representation of entity update date.

    Look up Existing AiCostBudget Resource

    Get an existing AiCostBudget 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?: AiCostBudgetState, opts?: CustomResourceOptions): AiCostBudget
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            created_at: Optional[str] = None,
            created_by: Optional[str] = None,
            exempt: Optional[AiCostBudgetExemptArgs] = None,
            limit: Optional[AiCostBudgetLimitArgs] = None,
            name: Optional[str] = None,
            posture: Optional[str] = None,
            priority: Optional[float] = None,
            updated_at: Optional[str] = None) -> AiCostBudget
    func GetAiCostBudget(ctx *Context, name string, id IDInput, state *AiCostBudgetState, opts ...ResourceOption) (*AiCostBudget, error)
    public static AiCostBudget Get(string name, Input<string> id, AiCostBudgetState? state, CustomResourceOptions? opts = null)
    public static AiCostBudget get(String name, Output<String> id, AiCostBudgetState state, CustomResourceOptions options)
    resources:  _:    type: konnect:AiCostBudget    get:      id: ${id}
    import {
      to = konnect_ai_cost_budget.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.
    The following state arguments are supported:
    CreatedAt string
    An ISO-8601 timestamp representation of entity creation date.
    CreatedBy string
    The id of the user or system account that created the budget, which the server records. A person with a budget of their own can replace and delete only the budgets they created.
    Exempt AiCostBudgetExempt
    The body of a request that creates or replaces an exemption.
    Limit AiCostBudgetLimit
    The body of a request that creates or replaces a limit budget.
    Name string
    A human-readable name for the budget.
    Posture string
    What the budget declares should happen when spend reaches the limit. Nothing enforces it.
    Priority double
    The budget's priority, from 1, the highest, to 100, the lowest. The budget list can filter and sort by it, but balances and notification rules don't use it.
    UpdatedAt string
    An ISO-8601 timestamp representation of entity update date.
    CreatedAt string
    An ISO-8601 timestamp representation of entity creation date.
    CreatedBy string
    The id of the user or system account that created the budget, which the server records. A person with a budget of their own can replace and delete only the budgets they created.
    Exempt AiCostBudgetExemptArgs
    The body of a request that creates or replaces an exemption.
    Limit AiCostBudgetLimitArgs
    The body of a request that creates or replaces a limit budget.
    Name string
    A human-readable name for the budget.
    Posture string
    What the budget declares should happen when spend reaches the limit. Nothing enforces it.
    Priority float64
    The budget's priority, from 1, the highest, to 100, the lowest. The budget list can filter and sort by it, but balances and notification rules don't use it.
    UpdatedAt string
    An ISO-8601 timestamp representation of entity update date.
    created_at string
    An ISO-8601 timestamp representation of entity creation date.
    created_by string
    The id of the user or system account that created the budget, which the server records. A person with a budget of their own can replace and delete only the budgets they created.
    exempt object
    The body of a request that creates or replaces an exemption.
    limit object
    The body of a request that creates or replaces a limit budget.
    name string
    A human-readable name for the budget.
    posture string
    What the budget declares should happen when spend reaches the limit. Nothing enforces it.
    priority number
    The budget's priority, from 1, the highest, to 100, the lowest. The budget list can filter and sort by it, but balances and notification rules don't use it.
    updated_at string
    An ISO-8601 timestamp representation of entity update date.
    createdAt String
    An ISO-8601 timestamp representation of entity creation date.
    createdBy String
    The id of the user or system account that created the budget, which the server records. A person with a budget of their own can replace and delete only the budgets they created.
    exempt AiCostBudgetExempt
    The body of a request that creates or replaces an exemption.
    limit AiCostBudgetLimit
    The body of a request that creates or replaces a limit budget.
    name String
    A human-readable name for the budget.
    posture String
    What the budget declares should happen when spend reaches the limit. Nothing enforces it.
    priority Double
    The budget's priority, from 1, the highest, to 100, the lowest. The budget list can filter and sort by it, but balances and notification rules don't use it.
    updatedAt String
    An ISO-8601 timestamp representation of entity update date.
    createdAt string
    An ISO-8601 timestamp representation of entity creation date.
    createdBy string
    The id of the user or system account that created the budget, which the server records. A person with a budget of their own can replace and delete only the budgets they created.
    exempt AiCostBudgetExempt
    The body of a request that creates or replaces an exemption.
    limit AiCostBudgetLimit
    The body of a request that creates or replaces a limit budget.
    name string
    A human-readable name for the budget.
    posture string
    What the budget declares should happen when spend reaches the limit. Nothing enforces it.
    priority number
    The budget's priority, from 1, the highest, to 100, the lowest. The budget list can filter and sort by it, but balances and notification rules don't use it.
    updatedAt string
    An ISO-8601 timestamp representation of entity update date.
    created_at str
    An ISO-8601 timestamp representation of entity creation date.
    created_by str
    The id of the user or system account that created the budget, which the server records. A person with a budget of their own can replace and delete only the budgets they created.
    exempt AiCostBudgetExemptArgs
    The body of a request that creates or replaces an exemption.
    limit AiCostBudgetLimitArgs
    The body of a request that creates or replaces a limit budget.
    name str
    A human-readable name for the budget.
    posture str
    What the budget declares should happen when spend reaches the limit. Nothing enforces it.
    priority float
    The budget's priority, from 1, the highest, to 100, the lowest. The budget list can filter and sort by it, but balances and notification rules don't use it.
    updated_at str
    An ISO-8601 timestamp representation of entity update date.
    createdAt String
    An ISO-8601 timestamp representation of entity creation date.
    createdBy String
    The id of the user or system account that created the budget, which the server records. A person with a budget of their own can replace and delete only the budgets they created.
    exempt Property Map
    The body of a request that creates or replaces an exemption.
    limit Property Map
    The body of a request that creates or replaces a limit budget.
    name String
    A human-readable name for the budget.
    posture String
    What the budget declares should happen when spend reaches the limit. Nothing enforces it.
    priority Number
    The budget's priority, from 1, the highest, to 100, the lowest. The budget list can filter and sort by it, but balances and notification rules don't use it.
    updatedAt String
    An ISO-8601 timestamp representation of entity update date.

    Supporting Types

    AiCostBudgetExempt, AiCostBudgetExemptArgs

    CreatedAt string
    An ISO-8601 timestamp representation of entity creation date.
    CreatedBy string
    The id of the user or system account that created the budget, which the server records. A person with a budget of their own can replace and delete only the budgets they created.
    Id string
    Contains a unique identifier used for this resource.
    Labels Dictionary<string, string>
    Key-value metadata on the budget. The budget list can filter by label. Balances and notification rules ignore labels.
    Name string
    A human-readable name for the budget.
    Posture string
    Always null, because an exemption has no posture.
    Priority double

    The budget's priority, from 1, the highest, to 100, the lowest. The budget list can filter and sort by it, but balances and notification rules don't use it.

    Defaults to 100. Default: 100

    Scope AiCostBudgetExemptScope

    The usage the exemption covers.

    A replacement can change it. Not Null

    UpdatedAt string
    An ISO-8601 timestamp representation of entity update date.
    Validity AiCostBudgetExemptValidity
    The period the exemption covers, from starts_at until ends_at. Not Null
    CreatedAt string
    An ISO-8601 timestamp representation of entity creation date.
    CreatedBy string
    The id of the user or system account that created the budget, which the server records. A person with a budget of their own can replace and delete only the budgets they created.
    Id string
    Contains a unique identifier used for this resource.
    Labels map[string]string
    Key-value metadata on the budget. The budget list can filter by label. Balances and notification rules ignore labels.
    Name string
    A human-readable name for the budget.
    Posture string
    Always null, because an exemption has no posture.
    Priority float64

    The budget's priority, from 1, the highest, to 100, the lowest. The budget list can filter and sort by it, but balances and notification rules don't use it.

    Defaults to 100. Default: 100

    Scope AiCostBudgetExemptScope

    The usage the exemption covers.

    A replacement can change it. Not Null

    UpdatedAt string
    An ISO-8601 timestamp representation of entity update date.
    Validity AiCostBudgetExemptValidity
    The period the exemption covers, from starts_at until ends_at. Not Null
    created_at string
    An ISO-8601 timestamp representation of entity creation date.
    created_by string
    The id of the user or system account that created the budget, which the server records. A person with a budget of their own can replace and delete only the budgets they created.
    id string
    Contains a unique identifier used for this resource.
    labels map(string)
    Key-value metadata on the budget. The budget list can filter by label. Balances and notification rules ignore labels.
    name string
    A human-readable name for the budget.
    posture string
    Always null, because an exemption has no posture.
    priority number

    The budget's priority, from 1, the highest, to 100, the lowest. The budget list can filter and sort by it, but balances and notification rules don't use it.

    Defaults to 100. Default: 100

    scope object

    The usage the exemption covers.

    A replacement can change it. Not Null

    updated_at string
    An ISO-8601 timestamp representation of entity update date.
    validity object
    The period the exemption covers, from starts_at until ends_at. Not Null
    createdAt String
    An ISO-8601 timestamp representation of entity creation date.
    createdBy String
    The id of the user or system account that created the budget, which the server records. A person with a budget of their own can replace and delete only the budgets they created.
    id String
    Contains a unique identifier used for this resource.
    labels Map<String,String>
    Key-value metadata on the budget. The budget list can filter by label. Balances and notification rules ignore labels.
    name String
    A human-readable name for the budget.
    posture String
    Always null, because an exemption has no posture.
    priority Double

    The budget's priority, from 1, the highest, to 100, the lowest. The budget list can filter and sort by it, but balances and notification rules don't use it.

    Defaults to 100. Default: 100

    scope AiCostBudgetExemptScope

    The usage the exemption covers.

    A replacement can change it. Not Null

    updatedAt String
    An ISO-8601 timestamp representation of entity update date.
    validity AiCostBudgetExemptValidity
    The period the exemption covers, from starts_at until ends_at. Not Null
    createdAt string
    An ISO-8601 timestamp representation of entity creation date.
    createdBy string
    The id of the user or system account that created the budget, which the server records. A person with a budget of their own can replace and delete only the budgets they created.
    id string
    Contains a unique identifier used for this resource.
    labels {[key: string]: string}
    Key-value metadata on the budget. The budget list can filter by label. Balances and notification rules ignore labels.
    name string
    A human-readable name for the budget.
    posture string
    Always null, because an exemption has no posture.
    priority number

    The budget's priority, from 1, the highest, to 100, the lowest. The budget list can filter and sort by it, but balances and notification rules don't use it.

    Defaults to 100. Default: 100

    scope AiCostBudgetExemptScope

    The usage the exemption covers.

    A replacement can change it. Not Null

    updatedAt string
    An ISO-8601 timestamp representation of entity update date.
    validity AiCostBudgetExemptValidity
    The period the exemption covers, from starts_at until ends_at. Not Null
    created_at str
    An ISO-8601 timestamp representation of entity creation date.
    created_by str
    The id of the user or system account that created the budget, which the server records. A person with a budget of their own can replace and delete only the budgets they created.
    id str
    Contains a unique identifier used for this resource.
    labels Mapping[str, str]
    Key-value metadata on the budget. The budget list can filter by label. Balances and notification rules ignore labels.
    name str
    A human-readable name for the budget.
    posture str
    Always null, because an exemption has no posture.
    priority float

    The budget's priority, from 1, the highest, to 100, the lowest. The budget list can filter and sort by it, but balances and notification rules don't use it.

    Defaults to 100. Default: 100

    scope AiCostBudgetExemptScope

    The usage the exemption covers.

    A replacement can change it. Not Null

    updated_at str
    An ISO-8601 timestamp representation of entity update date.
    validity AiCostBudgetExemptValidity
    The period the exemption covers, from starts_at until ends_at. Not Null
    createdAt String
    An ISO-8601 timestamp representation of entity creation date.
    createdBy String
    The id of the user or system account that created the budget, which the server records. A person with a budget of their own can replace and delete only the budgets they created.
    id String
    Contains a unique identifier used for this resource.
    labels Map<String>
    Key-value metadata on the budget. The budget list can filter by label. Balances and notification rules ignore labels.
    name String
    A human-readable name for the budget.
    posture String
    Always null, because an exemption has no posture.
    priority Number

    The budget's priority, from 1, the highest, to 100, the lowest. The budget list can filter and sort by it, but balances and notification rules don't use it.

    Defaults to 100. Default: 100

    scope Property Map

    The usage the exemption covers.

    A replacement can change it. Not Null

    updatedAt String
    An ISO-8601 timestamp representation of entity update date.
    validity Property Map
    The period the exemption covers, from starts_at until ends_at. Not Null

    AiCostBudgetExemptScope, AiCostBudgetExemptScopeArgs

    Each string
    The field that splits the budget. With each, the limit applies separately to every value of that field, such as each subject. Each value gets its own derived budget, and usage without a value for the field belongs to none of them.
    Filters string

    The filters that select the usage the budget counts. Usage must match every filter. An empty list covers all of the organization's usage.

    At most 15 predicates in total across all groups, each inside at most 4 nested groups. Not Null; Parsed as JSON.

    Each string
    The field that splits the budget. With each, the limit applies separately to every value of that field, such as each subject. Each value gets its own derived budget, and usage without a value for the field belongs to none of them.
    Filters string

    The filters that select the usage the budget counts. Usage must match every filter. An empty list covers all of the organization's usage.

    At most 15 predicates in total across all groups, each inside at most 4 nested groups. Not Null; Parsed as JSON.

    each string
    The field that splits the budget. With each, the limit applies separately to every value of that field, such as each subject. Each value gets its own derived budget, and usage without a value for the field belongs to none of them.
    filters string

    The filters that select the usage the budget counts. Usage must match every filter. An empty list covers all of the organization's usage.

    At most 15 predicates in total across all groups, each inside at most 4 nested groups. Not Null; Parsed as JSON.

    each String
    The field that splits the budget. With each, the limit applies separately to every value of that field, such as each subject. Each value gets its own derived budget, and usage without a value for the field belongs to none of them.
    filters String

    The filters that select the usage the budget counts. Usage must match every filter. An empty list covers all of the organization's usage.

    At most 15 predicates in total across all groups, each inside at most 4 nested groups. Not Null; Parsed as JSON.

    each string
    The field that splits the budget. With each, the limit applies separately to every value of that field, such as each subject. Each value gets its own derived budget, and usage without a value for the field belongs to none of them.
    filters string

    The filters that select the usage the budget counts. Usage must match every filter. An empty list covers all of the organization's usage.

    At most 15 predicates in total across all groups, each inside at most 4 nested groups. Not Null; Parsed as JSON.

    each str
    The field that splits the budget. With each, the limit applies separately to every value of that field, such as each subject. Each value gets its own derived budget, and usage without a value for the field belongs to none of them.
    filters str

    The filters that select the usage the budget counts. Usage must match every filter. An empty list covers all of the organization's usage.

    At most 15 predicates in total across all groups, each inside at most 4 nested groups. Not Null; Parsed as JSON.

    each String
    The field that splits the budget. With each, the limit applies separately to every value of that field, such as each subject. Each value gets its own derived budget, and usage without a value for the field belongs to none of them.
    filters String

    The filters that select the usage the budget counts. Usage must match every filter. An empty list covers all of the organization's usage.

    At most 15 predicates in total across all groups, each inside at most 4 nested groups. Not Null; Parsed as JSON.

    AiCostBudgetExemptValidity, AiCostBudgetExemptValidityArgs

    EndsAt string
    When the exemption ends, in the same formats as starts_at, which the service normalizes the same way.
    StartsAt string

    When the exemption starts, as an RFC 3339 timestamp or as a date-time with a UTC offset and an IANA time zone in brackets, such as 2026-08-16T00:00:00+02:00[Europe/Budapest].

    The service converts an RFC 3339 timestamp to UTC and keeps a date-time's IANA time zone. Defaults to the budget's created_at, also when a replacement omits it.

    EndsAt string
    When the exemption ends, in the same formats as starts_at, which the service normalizes the same way.
    StartsAt string

    When the exemption starts, as an RFC 3339 timestamp or as a date-time with a UTC offset and an IANA time zone in brackets, such as 2026-08-16T00:00:00+02:00[Europe/Budapest].

    The service converts an RFC 3339 timestamp to UTC and keeps a date-time's IANA time zone. Defaults to the budget's created_at, also when a replacement omits it.

    ends_at string
    When the exemption ends, in the same formats as starts_at, which the service normalizes the same way.
    starts_at string

    When the exemption starts, as an RFC 3339 timestamp or as a date-time with a UTC offset and an IANA time zone in brackets, such as 2026-08-16T00:00:00+02:00[Europe/Budapest].

    The service converts an RFC 3339 timestamp to UTC and keeps a date-time's IANA time zone. Defaults to the budget's created_at, also when a replacement omits it.

    endsAt String
    When the exemption ends, in the same formats as starts_at, which the service normalizes the same way.
    startsAt String

    When the exemption starts, as an RFC 3339 timestamp or as a date-time with a UTC offset and an IANA time zone in brackets, such as 2026-08-16T00:00:00+02:00[Europe/Budapest].

    The service converts an RFC 3339 timestamp to UTC and keeps a date-time's IANA time zone. Defaults to the budget's created_at, also when a replacement omits it.

    endsAt string
    When the exemption ends, in the same formats as starts_at, which the service normalizes the same way.
    startsAt string

    When the exemption starts, as an RFC 3339 timestamp or as a date-time with a UTC offset and an IANA time zone in brackets, such as 2026-08-16T00:00:00+02:00[Europe/Budapest].

    The service converts an RFC 3339 timestamp to UTC and keeps a date-time's IANA time zone. Defaults to the budget's created_at, also when a replacement omits it.

    ends_at str
    When the exemption ends, in the same formats as starts_at, which the service normalizes the same way.
    starts_at str

    When the exemption starts, as an RFC 3339 timestamp or as a date-time with a UTC offset and an IANA time zone in brackets, such as 2026-08-16T00:00:00+02:00[Europe/Budapest].

    The service converts an RFC 3339 timestamp to UTC and keeps a date-time's IANA time zone. Defaults to the budget's created_at, also when a replacement omits it.

    endsAt String
    When the exemption ends, in the same formats as starts_at, which the service normalizes the same way.
    startsAt String

    When the exemption starts, as an RFC 3339 timestamp or as a date-time with a UTC offset and an IANA time zone in brackets, such as 2026-08-16T00:00:00+02:00[Europe/Budapest].

    The service converts an RFC 3339 timestamp to UTC and keeps a date-time's IANA time zone. Defaults to the budget's created_at, also when a replacement omits it.

    AiCostBudgetLimit, AiCostBudgetLimitArgs

    CreatedAt string
    An ISO-8601 timestamp representation of entity creation date.
    CreatedBy string
    The id of the user or system account that created the budget, which the server records. A person with a budget of their own can replace and delete only the budgets they created.
    Currency string
    The currency of value. Not Null; must be "USD"
    Id string
    Contains a unique identifier used for this resource.
    Labels Dictionary<string, string>
    Key-value metadata on the budget. The budget list can filter by label. Balances and notification rules ignore labels.
    Name string
    A human-readable name for the budget.
    Posture string

    What the budget declares should happen when spend reaches the limit. Nothing enforces it.

    Defaults to advisory. possible known values include one of ["advisory", "enforce"]; Default: "advisory"

    Priority double

    The budget's priority, from 1, the highest, to 100, the lowest. The budget list can filter and sort by it, but balances and notification rules don't use it.

    Defaults to 100. Default: 100

    Scope AiCostBudgetLimitScope

    The usage the budget covers.

    A replacement can change it, and the change applies to the whole current budget window. Not Null

    UpdatedAt string
    An ISO-8601 timestamp representation of entity update date.
    Value string

    The amount of the limit in major units of currency, as a decimal string such as 5000 or 0.2.

    At most 9 fractional digits, with no sign, exponent, or leading zeros. The service removes trailing fractional zeros, so 12.50 is stored and returned as 12.5. Not Null

    Window AiCostBudgetLimitWindow

    The budget window: the period the limit applies to, such as a calendar month. When one window ends, the next starts.

    A replacement can change it, which can move the current window's start and end. Not Null

    CreatedAt string
    An ISO-8601 timestamp representation of entity creation date.
    CreatedBy string
    The id of the user or system account that created the budget, which the server records. A person with a budget of their own can replace and delete only the budgets they created.
    Currency string
    The currency of value. Not Null; must be "USD"
    Id string
    Contains a unique identifier used for this resource.
    Labels map[string]string
    Key-value metadata on the budget. The budget list can filter by label. Balances and notification rules ignore labels.
    Name string
    A human-readable name for the budget.
    Posture string

    What the budget declares should happen when spend reaches the limit. Nothing enforces it.

    Defaults to advisory. possible known values include one of ["advisory", "enforce"]; Default: "advisory"

    Priority float64

    The budget's priority, from 1, the highest, to 100, the lowest. The budget list can filter and sort by it, but balances and notification rules don't use it.

    Defaults to 100. Default: 100

    Scope AiCostBudgetLimitScope

    The usage the budget covers.

    A replacement can change it, and the change applies to the whole current budget window. Not Null

    UpdatedAt string
    An ISO-8601 timestamp representation of entity update date.
    Value string

    The amount of the limit in major units of currency, as a decimal string such as 5000 or 0.2.

    At most 9 fractional digits, with no sign, exponent, or leading zeros. The service removes trailing fractional zeros, so 12.50 is stored and returned as 12.5. Not Null

    Window AiCostBudgetLimitWindow

    The budget window: the period the limit applies to, such as a calendar month. When one window ends, the next starts.

    A replacement can change it, which can move the current window's start and end. Not Null

    created_at string
    An ISO-8601 timestamp representation of entity creation date.
    created_by string
    The id of the user or system account that created the budget, which the server records. A person with a budget of their own can replace and delete only the budgets they created.
    currency string
    The currency of value. Not Null; must be "USD"
    id string
    Contains a unique identifier used for this resource.
    labels map(string)
    Key-value metadata on the budget. The budget list can filter by label. Balances and notification rules ignore labels.
    name string
    A human-readable name for the budget.
    posture string

    What the budget declares should happen when spend reaches the limit. Nothing enforces it.

    Defaults to advisory. possible known values include one of ["advisory", "enforce"]; Default: "advisory"

    priority number

    The budget's priority, from 1, the highest, to 100, the lowest. The budget list can filter and sort by it, but balances and notification rules don't use it.

    Defaults to 100. Default: 100

    scope object

    The usage the budget covers.

    A replacement can change it, and the change applies to the whole current budget window. Not Null

    updated_at string
    An ISO-8601 timestamp representation of entity update date.
    value string

    The amount of the limit in major units of currency, as a decimal string such as 5000 or 0.2.

    At most 9 fractional digits, with no sign, exponent, or leading zeros. The service removes trailing fractional zeros, so 12.50 is stored and returned as 12.5. Not Null

    window object

    The budget window: the period the limit applies to, such as a calendar month. When one window ends, the next starts.

    A replacement can change it, which can move the current window's start and end. Not Null

    createdAt String
    An ISO-8601 timestamp representation of entity creation date.
    createdBy String
    The id of the user or system account that created the budget, which the server records. A person with a budget of their own can replace and delete only the budgets they created.
    currency String
    The currency of value. Not Null; must be "USD"
    id String
    Contains a unique identifier used for this resource.
    labels Map<String,String>
    Key-value metadata on the budget. The budget list can filter by label. Balances and notification rules ignore labels.
    name String
    A human-readable name for the budget.
    posture String

    What the budget declares should happen when spend reaches the limit. Nothing enforces it.

    Defaults to advisory. possible known values include one of ["advisory", "enforce"]; Default: "advisory"

    priority Double

    The budget's priority, from 1, the highest, to 100, the lowest. The budget list can filter and sort by it, but balances and notification rules don't use it.

    Defaults to 100. Default: 100

    scope AiCostBudgetLimitScope

    The usage the budget covers.

    A replacement can change it, and the change applies to the whole current budget window. Not Null

    updatedAt String
    An ISO-8601 timestamp representation of entity update date.
    value String

    The amount of the limit in major units of currency, as a decimal string such as 5000 or 0.2.

    At most 9 fractional digits, with no sign, exponent, or leading zeros. The service removes trailing fractional zeros, so 12.50 is stored and returned as 12.5. Not Null

    window AiCostBudgetLimitWindow

    The budget window: the period the limit applies to, such as a calendar month. When one window ends, the next starts.

    A replacement can change it, which can move the current window's start and end. Not Null

    createdAt string
    An ISO-8601 timestamp representation of entity creation date.
    createdBy string
    The id of the user or system account that created the budget, which the server records. A person with a budget of their own can replace and delete only the budgets they created.
    currency string
    The currency of value. Not Null; must be "USD"
    id string
    Contains a unique identifier used for this resource.
    labels {[key: string]: string}
    Key-value metadata on the budget. The budget list can filter by label. Balances and notification rules ignore labels.
    name string
    A human-readable name for the budget.
    posture string

    What the budget declares should happen when spend reaches the limit. Nothing enforces it.

    Defaults to advisory. possible known values include one of ["advisory", "enforce"]; Default: "advisory"

    priority number

    The budget's priority, from 1, the highest, to 100, the lowest. The budget list can filter and sort by it, but balances and notification rules don't use it.

    Defaults to 100. Default: 100

    scope AiCostBudgetLimitScope

    The usage the budget covers.

    A replacement can change it, and the change applies to the whole current budget window. Not Null

    updatedAt string
    An ISO-8601 timestamp representation of entity update date.
    value string

    The amount of the limit in major units of currency, as a decimal string such as 5000 or 0.2.

    At most 9 fractional digits, with no sign, exponent, or leading zeros. The service removes trailing fractional zeros, so 12.50 is stored and returned as 12.5. Not Null

    window AiCostBudgetLimitWindow

    The budget window: the period the limit applies to, such as a calendar month. When one window ends, the next starts.

    A replacement can change it, which can move the current window's start and end. Not Null

    created_at str
    An ISO-8601 timestamp representation of entity creation date.
    created_by str
    The id of the user or system account that created the budget, which the server records. A person with a budget of their own can replace and delete only the budgets they created.
    currency str
    The currency of value. Not Null; must be "USD"
    id str
    Contains a unique identifier used for this resource.
    labels Mapping[str, str]
    Key-value metadata on the budget. The budget list can filter by label. Balances and notification rules ignore labels.
    name str
    A human-readable name for the budget.
    posture str

    What the budget declares should happen when spend reaches the limit. Nothing enforces it.

    Defaults to advisory. possible known values include one of ["advisory", "enforce"]; Default: "advisory"

    priority float

    The budget's priority, from 1, the highest, to 100, the lowest. The budget list can filter and sort by it, but balances and notification rules don't use it.

    Defaults to 100. Default: 100

    scope AiCostBudgetLimitScope

    The usage the budget covers.

    A replacement can change it, and the change applies to the whole current budget window. Not Null

    updated_at str
    An ISO-8601 timestamp representation of entity update date.
    value str

    The amount of the limit in major units of currency, as a decimal string such as 5000 or 0.2.

    At most 9 fractional digits, with no sign, exponent, or leading zeros. The service removes trailing fractional zeros, so 12.50 is stored and returned as 12.5. Not Null

    window AiCostBudgetLimitWindow

    The budget window: the period the limit applies to, such as a calendar month. When one window ends, the next starts.

    A replacement can change it, which can move the current window's start and end. Not Null

    createdAt String
    An ISO-8601 timestamp representation of entity creation date.
    createdBy String
    The id of the user or system account that created the budget, which the server records. A person with a budget of their own can replace and delete only the budgets they created.
    currency String
    The currency of value. Not Null; must be "USD"
    id String
    Contains a unique identifier used for this resource.
    labels Map<String>
    Key-value metadata on the budget. The budget list can filter by label. Balances and notification rules ignore labels.
    name String
    A human-readable name for the budget.
    posture String

    What the budget declares should happen when spend reaches the limit. Nothing enforces it.

    Defaults to advisory. possible known values include one of ["advisory", "enforce"]; Default: "advisory"

    priority Number

    The budget's priority, from 1, the highest, to 100, the lowest. The budget list can filter and sort by it, but balances and notification rules don't use it.

    Defaults to 100. Default: 100

    scope Property Map

    The usage the budget covers.

    A replacement can change it, and the change applies to the whole current budget window. Not Null

    updatedAt String
    An ISO-8601 timestamp representation of entity update date.
    value String

    The amount of the limit in major units of currency, as a decimal string such as 5000 or 0.2.

    At most 9 fractional digits, with no sign, exponent, or leading zeros. The service removes trailing fractional zeros, so 12.50 is stored and returned as 12.5. Not Null

    window Property Map

    The budget window: the period the limit applies to, such as a calendar month. When one window ends, the next starts.

    A replacement can change it, which can move the current window's start and end. Not Null

    AiCostBudgetLimitScope, AiCostBudgetLimitScopeArgs

    Each string
    The field that splits the budget. With each, the limit applies separately to every value of that field, such as each subject. Each value gets its own derived budget, and usage without a value for the field belongs to none of them.
    Filters string

    The filters that select the usage the budget counts. Usage must match every filter. An empty list covers all of the organization's usage.

    At most 15 predicates in total across all groups, each inside at most 4 nested groups. Not Null; Parsed as JSON.

    Each string
    The field that splits the budget. With each, the limit applies separately to every value of that field, such as each subject. Each value gets its own derived budget, and usage without a value for the field belongs to none of them.
    Filters string

    The filters that select the usage the budget counts. Usage must match every filter. An empty list covers all of the organization's usage.

    At most 15 predicates in total across all groups, each inside at most 4 nested groups. Not Null; Parsed as JSON.

    each string
    The field that splits the budget. With each, the limit applies separately to every value of that field, such as each subject. Each value gets its own derived budget, and usage without a value for the field belongs to none of them.
    filters string

    The filters that select the usage the budget counts. Usage must match every filter. An empty list covers all of the organization's usage.

    At most 15 predicates in total across all groups, each inside at most 4 nested groups. Not Null; Parsed as JSON.

    each String
    The field that splits the budget. With each, the limit applies separately to every value of that field, such as each subject. Each value gets its own derived budget, and usage without a value for the field belongs to none of them.
    filters String

    The filters that select the usage the budget counts. Usage must match every filter. An empty list covers all of the organization's usage.

    At most 15 predicates in total across all groups, each inside at most 4 nested groups. Not Null; Parsed as JSON.

    each string
    The field that splits the budget. With each, the limit applies separately to every value of that field, such as each subject. Each value gets its own derived budget, and usage without a value for the field belongs to none of them.
    filters string

    The filters that select the usage the budget counts. Usage must match every filter. An empty list covers all of the organization's usage.

    At most 15 predicates in total across all groups, each inside at most 4 nested groups. Not Null; Parsed as JSON.

    each str
    The field that splits the budget. With each, the limit applies separately to every value of that field, such as each subject. Each value gets its own derived budget, and usage without a value for the field belongs to none of them.
    filters str

    The filters that select the usage the budget counts. Usage must match every filter. An empty list covers all of the organization's usage.

    At most 15 predicates in total across all groups, each inside at most 4 nested groups. Not Null; Parsed as JSON.

    each String
    The field that splits the budget. With each, the limit applies separately to every value of that field, such as each subject. Each value gets its own derived budget, and usage without a value for the field belongs to none of them.
    filters String

    The filters that select the usage the budget counts. Usage must match every filter. An empty list covers all of the organization's usage.

    At most 15 predicates in total across all groups, each inside at most 4 nested groups. Not Null; Parsed as JSON.

    AiCostBudgetLimitWindow, AiCostBudgetLimitWindowArgs

    AnchoredAt string
    A time when a budget window starts. Windows start a whole number of intervals before or after it. The intervals count in the local time of its time zone, so calendar units such as months stay aligned to the calendar. A window that would start on a day its month doesn't have, such as the 31st, starts on the month's last day.
    Interval string

    The length of each budget window, as an ISO 8601 duration such as P1M for a month or P1D for a day.

    From 1 second to 100 years, in whole milliseconds. Not Null

    AnchoredAt string
    A time when a budget window starts. Windows start a whole number of intervals before or after it. The intervals count in the local time of its time zone, so calendar units such as months stay aligned to the calendar. A window that would start on a day its month doesn't have, such as the 31st, starts on the month's last day.
    Interval string

    The length of each budget window, as an ISO 8601 duration such as P1M for a month or P1D for a day.

    From 1 second to 100 years, in whole milliseconds. Not Null

    anchored_at string
    A time when a budget window starts. Windows start a whole number of intervals before or after it. The intervals count in the local time of its time zone, so calendar units such as months stay aligned to the calendar. A window that would start on a day its month doesn't have, such as the 31st, starts on the month's last day.
    interval string

    The length of each budget window, as an ISO 8601 duration such as P1M for a month or P1D for a day.

    From 1 second to 100 years, in whole milliseconds. Not Null

    anchoredAt String
    A time when a budget window starts. Windows start a whole number of intervals before or after it. The intervals count in the local time of its time zone, so calendar units such as months stay aligned to the calendar. A window that would start on a day its month doesn't have, such as the 31st, starts on the month's last day.
    interval String

    The length of each budget window, as an ISO 8601 duration such as P1M for a month or P1D for a day.

    From 1 second to 100 years, in whole milliseconds. Not Null

    anchoredAt string
    A time when a budget window starts. Windows start a whole number of intervals before or after it. The intervals count in the local time of its time zone, so calendar units such as months stay aligned to the calendar. A window that would start on a day its month doesn't have, such as the 31st, starts on the month's last day.
    interval string

    The length of each budget window, as an ISO 8601 duration such as P1M for a month or P1D for a day.

    From 1 second to 100 years, in whole milliseconds. Not Null

    anchored_at str
    A time when a budget window starts. Windows start a whole number of intervals before or after it. The intervals count in the local time of its time zone, so calendar units such as months stay aligned to the calendar. A window that would start on a day its month doesn't have, such as the 31st, starts on the month's last day.
    interval str

    The length of each budget window, as an ISO 8601 duration such as P1M for a month or P1D for a day.

    From 1 second to 100 years, in whole milliseconds. Not Null

    anchoredAt String
    A time when a budget window starts. Windows start a whole number of intervals before or after it. The intervals count in the local time of its time zone, so calendar units such as months stay aligned to the calendar. A window that would start on a day its month doesn't have, such as the 31st, starts on the month's last day.
    interval String

    The length of each budget window, as an ISO 8601 duration such as P1M for a month or P1D for a day.

    From 1 second to 100 years, in whole milliseconds. Not Null

    Import

    In Terraform v1.5.0 and later, the import block can be used with the id attribute, for example:

    terraform

    import {

    to = konnect_ai_cost_budget.my_konnect_ai_cost_budget

    id = “5f9fd312-a987-4628-b4c5-bb4f4fddd5f7”

    }

    The pulumi import command can be used, for example:

    $ pulumi import konnect:index/aiCostBudget:AiCostBudget my_konnect_ai_cost_budget "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    konnect kong/terraform-provider-konnect
    License
    Notes
    This Pulumi package is based on the konnect Terraform Provider.
    konnect
    Viewing docs for konnect 3.28.0
    published on Friday, Nov 6, 2026 by kong

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial