1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. GenerativeAi
  5. AgentProvisionedCapacity
Viewing docs for Oracle Cloud Infrastructure v4.2.0
published on Friday, Mar 6, 2026 by Pulumi
oci logo
Viewing docs for Oracle Cloud Infrastructure v4.2.0
published on Friday, Mar 6, 2026 by Pulumi

    This resource provides the Provisioned Capacity resource in Oracle Cloud Infrastructure Generative Ai Agent service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/generative-ai-agents/latest/ProvisionedCapacity

    Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/generative_ai_agent

    Creates a provisioned capacity.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testProvisionedCapacity = new oci.generativeai.AgentProvisionedCapacity("test_provisioned_capacity", {
        compartmentId: compartmentId,
        displayName: provisionedCapacityDisplayName,
        numberOfUnits: provisionedCapacityNumberOfUnits,
        definedTags: {
            "Operations.CostCenter": "42",
        },
        description: provisionedCapacityDescription,
        freeformTags: {
            Department: "Finance",
        },
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_provisioned_capacity = oci.generativeai.AgentProvisionedCapacity("test_provisioned_capacity",
        compartment_id=compartment_id,
        display_name=provisioned_capacity_display_name,
        number_of_units=provisioned_capacity_number_of_units,
        defined_tags={
            "Operations.CostCenter": "42",
        },
        description=provisioned_capacity_description,
        freeform_tags={
            "Department": "Finance",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/generativeai"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := generativeai.NewAgentProvisionedCapacity(ctx, "test_provisioned_capacity", &generativeai.AgentProvisionedCapacityArgs{
    			CompartmentId: pulumi.Any(compartmentId),
    			DisplayName:   pulumi.Any(provisionedCapacityDisplayName),
    			NumberOfUnits: pulumi.Any(provisionedCapacityNumberOfUnits),
    			DefinedTags: pulumi.StringMap{
    				"Operations.CostCenter": pulumi.String("42"),
    			},
    			Description: pulumi.Any(provisionedCapacityDescription),
    			FreeformTags: pulumi.StringMap{
    				"Department": pulumi.String("Finance"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testProvisionedCapacity = new Oci.GenerativeAi.AgentProvisionedCapacity("test_provisioned_capacity", new()
        {
            CompartmentId = compartmentId,
            DisplayName = provisionedCapacityDisplayName,
            NumberOfUnits = provisionedCapacityNumberOfUnits,
            DefinedTags = 
            {
                { "Operations.CostCenter", "42" },
            },
            Description = provisionedCapacityDescription,
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.GenerativeAi.AgentProvisionedCapacity;
    import com.pulumi.oci.GenerativeAi.AgentProvisionedCapacityArgs;
    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 testProvisionedCapacity = new AgentProvisionedCapacity("testProvisionedCapacity", AgentProvisionedCapacityArgs.builder()
                .compartmentId(compartmentId)
                .displayName(provisionedCapacityDisplayName)
                .numberOfUnits(provisionedCapacityNumberOfUnits)
                .definedTags(Map.of("Operations.CostCenter", "42"))
                .description(provisionedCapacityDescription)
                .freeformTags(Map.of("Department", "Finance"))
                .build());
    
        }
    }
    
    resources:
      testProvisionedCapacity:
        type: oci:GenerativeAi:AgentProvisionedCapacity
        name: test_provisioned_capacity
        properties:
          compartmentId: ${compartmentId}
          displayName: ${provisionedCapacityDisplayName}
          numberOfUnits: ${provisionedCapacityNumberOfUnits}
          definedTags:
            Operations.CostCenter: '42'
          description: ${provisionedCapacityDescription}
          freeformTags:
            Department: Finance
    

    Create AgentProvisionedCapacity Resource

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

    Constructor syntax

    new AgentProvisionedCapacity(name: string, args: AgentProvisionedCapacityArgs, opts?: CustomResourceOptions);
    @overload
    def AgentProvisionedCapacity(resource_name: str,
                                 args: AgentProvisionedCapacityArgs,
                                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def AgentProvisionedCapacity(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 compartment_id: Optional[str] = None,
                                 display_name: Optional[str] = None,
                                 number_of_units: Optional[int] = None,
                                 defined_tags: Optional[Mapping[str, str]] = None,
                                 description: Optional[str] = None,
                                 freeform_tags: Optional[Mapping[str, str]] = None)
    func NewAgentProvisionedCapacity(ctx *Context, name string, args AgentProvisionedCapacityArgs, opts ...ResourceOption) (*AgentProvisionedCapacity, error)
    public AgentProvisionedCapacity(string name, AgentProvisionedCapacityArgs args, CustomResourceOptions? opts = null)
    public AgentProvisionedCapacity(String name, AgentProvisionedCapacityArgs args)
    public AgentProvisionedCapacity(String name, AgentProvisionedCapacityArgs args, CustomResourceOptions options)
    
    type: oci:GenerativeAi:AgentProvisionedCapacity
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args AgentProvisionedCapacityArgs
    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 AgentProvisionedCapacityArgs
    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 AgentProvisionedCapacityArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AgentProvisionedCapacityArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AgentProvisionedCapacityArgs
    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 agentProvisionedCapacityResource = new Oci.GenerativeAi.AgentProvisionedCapacity("agentProvisionedCapacityResource", new()
    {
        CompartmentId = "string",
        DisplayName = "string",
        NumberOfUnits = 0,
        DefinedTags = 
        {
            { "string", "string" },
        },
        Description = "string",
        FreeformTags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := generativeai.NewAgentProvisionedCapacity(ctx, "agentProvisionedCapacityResource", &generativeai.AgentProvisionedCapacityArgs{
    	CompartmentId: pulumi.String("string"),
    	DisplayName:   pulumi.String("string"),
    	NumberOfUnits: pulumi.Int(0),
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Description: pulumi.String("string"),
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var agentProvisionedCapacityResource = new AgentProvisionedCapacity("agentProvisionedCapacityResource", AgentProvisionedCapacityArgs.builder()
        .compartmentId("string")
        .displayName("string")
        .numberOfUnits(0)
        .definedTags(Map.of("string", "string"))
        .description("string")
        .freeformTags(Map.of("string", "string"))
        .build());
    
    agent_provisioned_capacity_resource = oci.generativeai.AgentProvisionedCapacity("agentProvisionedCapacityResource",
        compartment_id="string",
        display_name="string",
        number_of_units=0,
        defined_tags={
            "string": "string",
        },
        description="string",
        freeform_tags={
            "string": "string",
        })
    
    const agentProvisionedCapacityResource = new oci.generativeai.AgentProvisionedCapacity("agentProvisionedCapacityResource", {
        compartmentId: "string",
        displayName: "string",
        numberOfUnits: 0,
        definedTags: {
            string: "string",
        },
        description: "string",
        freeformTags: {
            string: "string",
        },
    });
    
    type: oci:GenerativeAi:AgentProvisionedCapacity
    properties:
        compartmentId: string
        definedTags:
            string: string
        description: string
        displayName: string
        freeformTags:
            string: string
        numberOfUnits: 0
    

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

    CompartmentId string
    (Updatable) The OCID of the compartment to create the endpoint in.
    DisplayName string
    (Updatable) The name of the provisioned capacity.
    NumberOfUnits int

    (Updatable) Provisioned Capacity Unit corresponds to the amount of characters processed per minute.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    (Updatable) An optional description of the provisioned capacity.
    FreeformTags Dictionary<string, string>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    CompartmentId string
    (Updatable) The OCID of the compartment to create the endpoint in.
    DisplayName string
    (Updatable) The name of the provisioned capacity.
    NumberOfUnits int

    (Updatable) Provisioned Capacity Unit corresponds to the amount of characters processed per minute.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    (Updatable) An optional description of the provisioned capacity.
    FreeformTags map[string]string
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    compartmentId String
    (Updatable) The OCID of the compartment to create the endpoint in.
    displayName String
    (Updatable) The name of the provisioned capacity.
    numberOfUnits Integer

    (Updatable) Provisioned Capacity Unit corresponds to the amount of characters processed per minute.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    (Updatable) An optional description of the provisioned capacity.
    freeformTags Map<String,String>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    compartmentId string
    (Updatable) The OCID of the compartment to create the endpoint in.
    displayName string
    (Updatable) The name of the provisioned capacity.
    numberOfUnits number

    (Updatable) Provisioned Capacity Unit corresponds to the amount of characters processed per minute.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description string
    (Updatable) An optional description of the provisioned capacity.
    freeformTags {[key: string]: string}
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    compartment_id str
    (Updatable) The OCID of the compartment to create the endpoint in.
    display_name str
    (Updatable) The name of the provisioned capacity.
    number_of_units int

    (Updatable) Provisioned Capacity Unit corresponds to the amount of characters processed per minute.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description str
    (Updatable) An optional description of the provisioned capacity.
    freeform_tags Mapping[str, str]
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    compartmentId String
    (Updatable) The OCID of the compartment to create the endpoint in.
    displayName String
    (Updatable) The name of the provisioned capacity.
    numberOfUnits Number

    (Updatable) Provisioned Capacity Unit corresponds to the amount of characters processed per minute.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    (Updatable) An optional description of the provisioned capacity.
    freeformTags Map<String>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    The current state of the provisioned capacity.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the provisioned capacity was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time the provisioned capacity was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    The current state of the provisioned capacity.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the provisioned capacity was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time the provisioned capacity was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    The current state of the provisioned capacity.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the provisioned capacity was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time the provisioned capacity was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    id string
    The provider-assigned unique ID for this managed resource.
    state string
    The current state of the provisioned capacity.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The date and time the provisioned capacity was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated string
    The date and time the provisioned capacity was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    id str
    The provider-assigned unique ID for this managed resource.
    state str
    The current state of the provisioned capacity.
    system_tags Mapping[str, str]
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The date and time the provisioned capacity was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    time_updated str
    The date and time the provisioned capacity was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    The current state of the provisioned capacity.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the provisioned capacity was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time the provisioned capacity was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z

    Look up Existing AgentProvisionedCapacity Resource

    Get an existing AgentProvisionedCapacity 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?: AgentProvisionedCapacityState, opts?: CustomResourceOptions): AgentProvisionedCapacity
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            compartment_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, str]] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            number_of_units: Optional[int] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, str]] = None,
            time_created: Optional[str] = None,
            time_updated: Optional[str] = None) -> AgentProvisionedCapacity
    func GetAgentProvisionedCapacity(ctx *Context, name string, id IDInput, state *AgentProvisionedCapacityState, opts ...ResourceOption) (*AgentProvisionedCapacity, error)
    public static AgentProvisionedCapacity Get(string name, Input<string> id, AgentProvisionedCapacityState? state, CustomResourceOptions? opts = null)
    public static AgentProvisionedCapacity get(String name, Output<String> id, AgentProvisionedCapacityState state, CustomResourceOptions options)
    resources:  _:    type: oci:GenerativeAi:AgentProvisionedCapacity    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CompartmentId string
    (Updatable) The OCID of the compartment to create the endpoint in.
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    (Updatable) An optional description of the provisioned capacity.
    DisplayName string
    (Updatable) The name of the provisioned capacity.
    FreeformTags Dictionary<string, string>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    NumberOfUnits int

    (Updatable) Provisioned Capacity Unit corresponds to the amount of characters processed per minute.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    State string
    The current state of the provisioned capacity.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the provisioned capacity was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time the provisioned capacity was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    CompartmentId string
    (Updatable) The OCID of the compartment to create the endpoint in.
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    (Updatable) An optional description of the provisioned capacity.
    DisplayName string
    (Updatable) The name of the provisioned capacity.
    FreeformTags map[string]string
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    NumberOfUnits int

    (Updatable) Provisioned Capacity Unit corresponds to the amount of characters processed per minute.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    State string
    The current state of the provisioned capacity.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the provisioned capacity was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time the provisioned capacity was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    compartmentId String
    (Updatable) The OCID of the compartment to create the endpoint in.
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    (Updatable) An optional description of the provisioned capacity.
    displayName String
    (Updatable) The name of the provisioned capacity.
    freeformTags Map<String,String>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    numberOfUnits Integer

    (Updatable) Provisioned Capacity Unit corresponds to the amount of characters processed per minute.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    state String
    The current state of the provisioned capacity.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the provisioned capacity was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time the provisioned capacity was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    compartmentId string
    (Updatable) The OCID of the compartment to create the endpoint in.
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description string
    (Updatable) An optional description of the provisioned capacity.
    displayName string
    (Updatable) The name of the provisioned capacity.
    freeformTags {[key: string]: string}
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    numberOfUnits number

    (Updatable) Provisioned Capacity Unit corresponds to the amount of characters processed per minute.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    state string
    The current state of the provisioned capacity.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The date and time the provisioned capacity was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated string
    The date and time the provisioned capacity was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    compartment_id str
    (Updatable) The OCID of the compartment to create the endpoint in.
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description str
    (Updatable) An optional description of the provisioned capacity.
    display_name str
    (Updatable) The name of the provisioned capacity.
    freeform_tags Mapping[str, str]
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    number_of_units int

    (Updatable) Provisioned Capacity Unit corresponds to the amount of characters processed per minute.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    state str
    The current state of the provisioned capacity.
    system_tags Mapping[str, str]
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The date and time the provisioned capacity was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    time_updated str
    The date and time the provisioned capacity was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    compartmentId String
    (Updatable) The OCID of the compartment to create the endpoint in.
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    (Updatable) An optional description of the provisioned capacity.
    displayName String
    (Updatable) The name of the provisioned capacity.
    freeformTags Map<String>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    numberOfUnits Number

    (Updatable) Provisioned Capacity Unit corresponds to the amount of characters processed per minute.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    state String
    The current state of the provisioned capacity.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the provisioned capacity was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time the provisioned capacity was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z

    Import

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

    $ pulumi import oci:GenerativeAi/agentProvisionedCapacity:AgentProvisionedCapacity test_provisioned_capacity "id"
    

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

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Viewing docs for Oracle Cloud Infrastructure v4.2.0
    published on Friday, Mar 6, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.