1. Registry
  2. Packages
  3. Oracle Cloud Infrastructure
  4. API Docs
  5. GenerativeAi
  6. HostedDeployment
Viewing docs for Oracle Cloud Infrastructure v5.0.0
published on Thursday, Sep 17, 2026 by Pulumi
oci logo oci logo
Viewing docs for Oracle Cloud Infrastructure v5.0.0
published on Thursday, Sep 17, 2026 by Pulumi

    This resource provides the Hosted Deployment resource in Oracle Cloud Infrastructure Generative AI service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/generative-ai/latest/HostedDeployment

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

    Creates a hosted deployment.

    Create HostedDeployment Resource

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

    Constructor syntax

    new HostedDeployment(name: string, args: HostedDeploymentArgs, opts?: CustomResourceOptions);
    @overload
    def HostedDeployment(resource_name: str,
                         args: HostedDeploymentArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def HostedDeployment(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         active_artifact: Optional[HostedDeploymentActiveArtifactArgs] = None,
                         hosted_application_id: Optional[str] = None,
                         compartment_id: Optional[str] = None,
                         defined_tags: Optional[Mapping[str, str]] = None,
                         display_name: Optional[str] = None,
                         freeform_tags: Optional[Mapping[str, str]] = None)
    func NewHostedDeployment(ctx *Context, name string, args HostedDeploymentArgs, opts ...ResourceOption) (*HostedDeployment, error)
    public HostedDeployment(string name, HostedDeploymentArgs args, CustomResourceOptions? opts = null)
    public HostedDeployment(String name, HostedDeploymentArgs args)
    public HostedDeployment(String name, HostedDeploymentArgs args, CustomResourceOptions options)
    
    type: oci:GenerativeAi:HostedDeployment
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "oci_generative_ai_hosted_deployment" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args HostedDeploymentArgs
    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 HostedDeploymentArgs
    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 HostedDeploymentArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args HostedDeploymentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args HostedDeploymentArgs
    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 hostedDeploymentResource = new Oci.GenerativeAi.HostedDeployment("hostedDeploymentResource", new()
    {
        ActiveArtifact = new Oci.GenerativeAi.Inputs.HostedDeploymentActiveArtifactArgs
        {
            ArtifactType = "string",
            ContainerUri = "string",
            HostedDeploymentId = "string",
            Id = "string",
            IsVulnerabilityScanRequired = false,
            Status = "string",
            Tag = "string",
            TimeCreated = "string",
        },
        HostedApplicationId = "string",
        CompartmentId = "string",
        DefinedTags = 
        {
            { "string", "string" },
        },
        DisplayName = "string",
        FreeformTags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := generativeai.NewHostedDeployment(ctx, "hostedDeploymentResource", &generativeai.HostedDeploymentArgs{
    	ActiveArtifact: &generativeai.HostedDeploymentActiveArtifactArgs{
    		ArtifactType:                pulumi.String("string"),
    		ContainerUri:                pulumi.String("string"),
    		HostedDeploymentId:          pulumi.String("string"),
    		Id:                          pulumi.String("string"),
    		IsVulnerabilityScanRequired: pulumi.Bool(false),
    		Status:                      pulumi.String("string"),
    		Tag:                         pulumi.String("string"),
    		TimeCreated:                 pulumi.String("string"),
    	},
    	HostedApplicationId: pulumi.String("string"),
    	CompartmentId:       pulumi.String("string"),
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	DisplayName: pulumi.String("string"),
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    resource "oci_generative_ai_hosted_deployment" "hostedDeploymentResource" {
      lifecycle {
        create_before_destroy = true
      }
      active_artifact = {
        artifact_type                  = "string"
        container_uri                  = "string"
        hosted_deployment_id           = "string"
        id                             = "string"
        is_vulnerability_scan_required = false
        status                         = "string"
        tag                            = "string"
        time_created                   = "string"
      }
      hosted_application_id = "string"
      compartment_id        = "string"
      defined_tags = {
        "string" = "string"
      }
      display_name = "string"
      freeform_tags = {
        "string" = "string"
      }
    }
    
    var hostedDeploymentResource = new HostedDeployment("hostedDeploymentResource", HostedDeploymentArgs.builder()
        .activeArtifact(HostedDeploymentActiveArtifactArgs.builder()
            .artifactType("string")
            .containerUri("string")
            .hostedDeploymentId("string")
            .id("string")
            .isVulnerabilityScanRequired(false)
            .status("string")
            .tag("string")
            .timeCreated("string")
            .build())
        .hostedApplicationId("string")
        .compartmentId("string")
        .definedTags(Map.of("string", "string"))
        .displayName("string")
        .freeformTags(Map.of("string", "string"))
        .build());
    
    hosted_deployment_resource = oci.generativeai.HostedDeployment("hostedDeploymentResource",
        active_artifact={
            "artifact_type": "string",
            "container_uri": "string",
            "hosted_deployment_id": "string",
            "id": "string",
            "is_vulnerability_scan_required": False,
            "status": "string",
            "tag": "string",
            "time_created": "string",
        },
        hosted_application_id="string",
        compartment_id="string",
        defined_tags={
            "string": "string",
        },
        display_name="string",
        freeform_tags={
            "string": "string",
        })
    
    const hostedDeploymentResource = new oci.generativeai.HostedDeployment("hostedDeploymentResource", {
        activeArtifact: {
            artifactType: "string",
            containerUri: "string",
            hostedDeploymentId: "string",
            id: "string",
            isVulnerabilityScanRequired: false,
            status: "string",
            tag: "string",
            timeCreated: "string",
        },
        hostedApplicationId: "string",
        compartmentId: "string",
        definedTags: {
            string: "string",
        },
        displayName: "string",
        freeformTags: {
            string: "string",
        },
    });
    
    type: oci:GenerativeAi:HostedDeployment
    properties:
        activeArtifact:
            artifactType: string
            containerUri: string
            hostedDeploymentId: string
            id: string
            isVulnerabilityScanRequired: false
            status: string
            tag: string
            timeCreated: string
        compartmentId: string
        definedTags:
            string: string
        displayName: string
        freeformTags:
            string: string
        hostedApplicationId: string
    

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

    ActiveArtifact HostedDeploymentActiveArtifact
    (Updatable) Container/artifact configuration for the deployment.
    HostedApplicationId string

    The OCID of the parent Hosted Application. The ID may refer to either an IAM-authenticated or non-IAM Hosted Application.

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

    CompartmentId string
    The compartment OCID to create the hosted deployment 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"}
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable.
    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"}
    ActiveArtifact HostedDeploymentActiveArtifactArgs
    (Updatable) Container/artifact configuration for the deployment.
    HostedApplicationId string

    The OCID of the parent Hosted Application. The ID may refer to either an IAM-authenticated or non-IAM Hosted Application.

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

    CompartmentId string
    The compartment OCID to create the hosted deployment 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"}
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable.
    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"}
    active_artifact object
    (Updatable) Container/artifact configuration for the deployment.
    hosted_application_id string

    The OCID of the parent Hosted Application. The ID may refer to either an IAM-authenticated or non-IAM Hosted Application.

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

    compartment_id string
    The compartment OCID to create the hosted deployment in.
    defined_tags 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"}
    display_name string
    A user-friendly name. Does not have to be unique, and it's changeable.
    freeform_tags 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"}
    activeArtifact HostedDeploymentActiveArtifact
    (Updatable) Container/artifact configuration for the deployment.
    hostedApplicationId String

    The OCID of the parent Hosted Application. The ID may refer to either an IAM-authenticated or non-IAM Hosted Application.

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

    compartmentId String
    The compartment OCID to create the hosted deployment 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"}
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable.
    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"}
    activeArtifact HostedDeploymentActiveArtifact
    (Updatable) Container/artifact configuration for the deployment.
    hostedApplicationId string

    The OCID of the parent Hosted Application. The ID may refer to either an IAM-authenticated or non-IAM Hosted Application.

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

    compartmentId string
    The compartment OCID to create the hosted deployment 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"}
    displayName string
    A user-friendly name. Does not have to be unique, and it's changeable.
    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"}
    active_artifact HostedDeploymentActiveArtifactArgs
    (Updatable) Container/artifact configuration for the deployment.
    hosted_application_id str

    The OCID of the parent Hosted Application. The ID may refer to either an IAM-authenticated or non-IAM Hosted Application.

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

    compartment_id str
    The compartment OCID to create the hosted deployment 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"}
    display_name str
    A user-friendly name. Does not have to be unique, and it's changeable.
    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"}
    activeArtifact Property Map
    (Updatable) Container/artifact configuration for the deployment.
    hostedApplicationId String

    The OCID of the parent Hosted Application. The ID may refer to either an IAM-authenticated or non-IAM Hosted Application.

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

    compartmentId String
    The compartment OCID to create the hosted deployment 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"}
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable.
    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 HostedDeployment resource produces the following output properties:

    Artifacts List<HostedDeploymentArtifact>
    array of Artifacts.
    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    The current state of the hosted deployment.
    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 hosted deployment was created, in the format defined by RFC 3339
    TimeUpdated string
    The date and time the hosted deployment was updated, in the format defined by RFC 3339
    Artifacts []HostedDeploymentArtifact
    array of Artifacts.
    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    The current state of the hosted deployment.
    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 hosted deployment was created, in the format defined by RFC 3339
    TimeUpdated string
    The date and time the hosted deployment was updated, in the format defined by RFC 3339
    artifacts list(object)
    array of Artifacts.
    id string
    The provider-assigned unique ID for this managed resource.
    state string
    The current state of the hosted deployment.
    system_tags map(string)
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created string
    The date and time the hosted deployment was created, in the format defined by RFC 3339
    time_updated string
    The date and time the hosted deployment was updated, in the format defined by RFC 3339
    artifacts List<HostedDeploymentArtifact>
    array of Artifacts.
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    The current state of the hosted deployment.
    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 hosted deployment was created, in the format defined by RFC 3339
    timeUpdated String
    The date and time the hosted deployment was updated, in the format defined by RFC 3339
    artifacts HostedDeploymentArtifact[]
    array of Artifacts.
    id string
    The provider-assigned unique ID for this managed resource.
    state string
    The current state of the hosted deployment.
    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 hosted deployment was created, in the format defined by RFC 3339
    timeUpdated string
    The date and time the hosted deployment was updated, in the format defined by RFC 3339
    artifacts Sequence[HostedDeploymentArtifact]
    array of Artifacts.
    id str
    The provider-assigned unique ID for this managed resource.
    state str
    The current state of the hosted deployment.
    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 hosted deployment was created, in the format defined by RFC 3339
    time_updated str
    The date and time the hosted deployment was updated, in the format defined by RFC 3339
    artifacts List<Property Map>
    array of Artifacts.
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    The current state of the hosted deployment.
    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 hosted deployment was created, in the format defined by RFC 3339
    timeUpdated String
    The date and time the hosted deployment was updated, in the format defined by RFC 3339

    Look up Existing HostedDeployment Resource

    Get an existing HostedDeployment 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?: HostedDeploymentState, opts?: CustomResourceOptions): HostedDeployment
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            active_artifact: Optional[HostedDeploymentActiveArtifactArgs] = None,
            artifacts: Optional[Sequence[HostedDeploymentArtifactArgs]] = None,
            compartment_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, str]] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            hosted_application_id: Optional[str] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, str]] = None,
            time_created: Optional[str] = None,
            time_updated: Optional[str] = None) -> HostedDeployment
    func GetHostedDeployment(ctx *Context, name string, id IDInput, state *HostedDeploymentState, opts ...ResourceOption) (*HostedDeployment, error)
    public static HostedDeployment Get(string name, Input<string> id, HostedDeploymentState? state, CustomResourceOptions? opts = null)
    public static HostedDeployment get(String name, Output<String> id, HostedDeploymentState state, CustomResourceOptions options)
    resources:  _:    type: oci:GenerativeAi:HostedDeployment    get:      id: ${id}
    import {
      to = oci_generative_ai_hosted_deployment.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:
    ActiveArtifact HostedDeploymentActiveArtifact
    (Updatable) Container/artifact configuration for the deployment.
    Artifacts List<HostedDeploymentArtifact>
    array of Artifacts.
    CompartmentId string
    The compartment OCID to create the hosted deployment 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"}
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable.
    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"}
    HostedApplicationId string

    The OCID of the parent Hosted Application. The ID may refer to either an IAM-authenticated or non-IAM Hosted Application.

    ** 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 hosted deployment.
    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 hosted deployment was created, in the format defined by RFC 3339
    TimeUpdated string
    The date and time the hosted deployment was updated, in the format defined by RFC 3339
    ActiveArtifact HostedDeploymentActiveArtifactArgs
    (Updatable) Container/artifact configuration for the deployment.
    Artifacts []HostedDeploymentArtifactArgs
    array of Artifacts.
    CompartmentId string
    The compartment OCID to create the hosted deployment 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"}
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable.
    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"}
    HostedApplicationId string

    The OCID of the parent Hosted Application. The ID may refer to either an IAM-authenticated or non-IAM Hosted Application.

    ** 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 hosted deployment.
    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 hosted deployment was created, in the format defined by RFC 3339
    TimeUpdated string
    The date and time the hosted deployment was updated, in the format defined by RFC 3339
    active_artifact object
    (Updatable) Container/artifact configuration for the deployment.
    artifacts list(object)
    array of Artifacts.
    compartment_id string
    The compartment OCID to create the hosted deployment in.
    defined_tags 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"}
    display_name string
    A user-friendly name. Does not have to be unique, and it's changeable.
    freeform_tags 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"}
    hosted_application_id string

    The OCID of the parent Hosted Application. The ID may refer to either an IAM-authenticated or non-IAM Hosted Application.

    ** 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 hosted deployment.
    system_tags map(string)
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created string
    The date and time the hosted deployment was created, in the format defined by RFC 3339
    time_updated string
    The date and time the hosted deployment was updated, in the format defined by RFC 3339
    activeArtifact HostedDeploymentActiveArtifact
    (Updatable) Container/artifact configuration for the deployment.
    artifacts List<HostedDeploymentArtifact>
    array of Artifacts.
    compartmentId String
    The compartment OCID to create the hosted deployment 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"}
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable.
    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"}
    hostedApplicationId String

    The OCID of the parent Hosted Application. The ID may refer to either an IAM-authenticated or non-IAM Hosted Application.

    ** 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 hosted deployment.
    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 hosted deployment was created, in the format defined by RFC 3339
    timeUpdated String
    The date and time the hosted deployment was updated, in the format defined by RFC 3339
    activeArtifact HostedDeploymentActiveArtifact
    (Updatable) Container/artifact configuration for the deployment.
    artifacts HostedDeploymentArtifact[]
    array of Artifacts.
    compartmentId string
    The compartment OCID to create the hosted deployment 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"}
    displayName string
    A user-friendly name. Does not have to be unique, and it's changeable.
    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"}
    hostedApplicationId string

    The OCID of the parent Hosted Application. The ID may refer to either an IAM-authenticated or non-IAM Hosted Application.

    ** 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 hosted deployment.
    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 hosted deployment was created, in the format defined by RFC 3339
    timeUpdated string
    The date and time the hosted deployment was updated, in the format defined by RFC 3339
    active_artifact HostedDeploymentActiveArtifactArgs
    (Updatable) Container/artifact configuration for the deployment.
    artifacts Sequence[HostedDeploymentArtifactArgs]
    array of Artifacts.
    compartment_id str
    The compartment OCID to create the hosted deployment 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"}
    display_name str
    A user-friendly name. Does not have to be unique, and it's changeable.
    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"}
    hosted_application_id str

    The OCID of the parent Hosted Application. The ID may refer to either an IAM-authenticated or non-IAM Hosted Application.

    ** 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 hosted deployment.
    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 hosted deployment was created, in the format defined by RFC 3339
    time_updated str
    The date and time the hosted deployment was updated, in the format defined by RFC 3339
    activeArtifact Property Map
    (Updatable) Container/artifact configuration for the deployment.
    artifacts List<Property Map>
    array of Artifacts.
    compartmentId String
    The compartment OCID to create the hosted deployment 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"}
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable.
    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"}
    hostedApplicationId String

    The OCID of the parent Hosted Application. The ID may refer to either an IAM-authenticated or non-IAM Hosted Application.

    ** 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 hosted deployment.
    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 hosted deployment was created, in the format defined by RFC 3339
    timeUpdated String
    The date and time the hosted deployment was updated, in the format defined by RFC 3339

    Supporting Types

    HostedDeploymentActiveArtifact, HostedDeploymentActiveArtifactArgs

    ArtifactType string
    (Updatable) The type of the artifact.
    ContainerUri string
    (Updatable) image url.
    HostedDeploymentId string
    (Updatable) The OCID of the application.
    Id string
    (Updatable) if put artifact to a table, the id is needed
    IsVulnerabilityScanRequired bool
    (Updatable) Optional flag that requires an Oracle Cloud Infrastructure Vulnerability Scanning Service compliance report for this artifact before it can become active. When not provided, the value defaults to false and the artifact is not blocked on a scan result.
    Status string
    (Updatable) The current status of the artifact.
    Tag string
    (Updatable) image tag.
    TimeCreated string
    (Updatable) The date and time the artifact was created.
    ArtifactType string
    (Updatable) The type of the artifact.
    ContainerUri string
    (Updatable) image url.
    HostedDeploymentId string
    (Updatable) The OCID of the application.
    Id string
    (Updatable) if put artifact to a table, the id is needed
    IsVulnerabilityScanRequired bool
    (Updatable) Optional flag that requires an Oracle Cloud Infrastructure Vulnerability Scanning Service compliance report for this artifact before it can become active. When not provided, the value defaults to false and the artifact is not blocked on a scan result.
    Status string
    (Updatable) The current status of the artifact.
    Tag string
    (Updatable) image tag.
    TimeCreated string
    (Updatable) The date and time the artifact was created.
    artifact_type string
    (Updatable) The type of the artifact.
    container_uri string
    (Updatable) image url.
    hosted_deployment_id string
    (Updatable) The OCID of the application.
    id string
    (Updatable) if put artifact to a table, the id is needed
    is_vulnerability_scan_required bool
    (Updatable) Optional flag that requires an Oracle Cloud Infrastructure Vulnerability Scanning Service compliance report for this artifact before it can become active. When not provided, the value defaults to false and the artifact is not blocked on a scan result.
    status string
    (Updatable) The current status of the artifact.
    tag string
    (Updatable) image tag.
    time_created string
    (Updatable) The date and time the artifact was created.
    artifactType String
    (Updatable) The type of the artifact.
    containerUri String
    (Updatable) image url.
    hostedDeploymentId String
    (Updatable) The OCID of the application.
    id String
    (Updatable) if put artifact to a table, the id is needed
    isVulnerabilityScanRequired Boolean
    (Updatable) Optional flag that requires an Oracle Cloud Infrastructure Vulnerability Scanning Service compliance report for this artifact before it can become active. When not provided, the value defaults to false and the artifact is not blocked on a scan result.
    status String
    (Updatable) The current status of the artifact.
    tag String
    (Updatable) image tag.
    timeCreated String
    (Updatable) The date and time the artifact was created.
    artifactType string
    (Updatable) The type of the artifact.
    containerUri string
    (Updatable) image url.
    hostedDeploymentId string
    (Updatable) The OCID of the application.
    id string
    (Updatable) if put artifact to a table, the id is needed
    isVulnerabilityScanRequired boolean
    (Updatable) Optional flag that requires an Oracle Cloud Infrastructure Vulnerability Scanning Service compliance report for this artifact before it can become active. When not provided, the value defaults to false and the artifact is not blocked on a scan result.
    status string
    (Updatable) The current status of the artifact.
    tag string
    (Updatable) image tag.
    timeCreated string
    (Updatable) The date and time the artifact was created.
    artifact_type str
    (Updatable) The type of the artifact.
    container_uri str
    (Updatable) image url.
    hosted_deployment_id str
    (Updatable) The OCID of the application.
    id str
    (Updatable) if put artifact to a table, the id is needed
    is_vulnerability_scan_required bool
    (Updatable) Optional flag that requires an Oracle Cloud Infrastructure Vulnerability Scanning Service compliance report for this artifact before it can become active. When not provided, the value defaults to false and the artifact is not blocked on a scan result.
    status str
    (Updatable) The current status of the artifact.
    tag str
    (Updatable) image tag.
    time_created str
    (Updatable) The date and time the artifact was created.
    artifactType String
    (Updatable) The type of the artifact.
    containerUri String
    (Updatable) image url.
    hostedDeploymentId String
    (Updatable) The OCID of the application.
    id String
    (Updatable) if put artifact to a table, the id is needed
    isVulnerabilityScanRequired Boolean
    (Updatable) Optional flag that requires an Oracle Cloud Infrastructure Vulnerability Scanning Service compliance report for this artifact before it can become active. When not provided, the value defaults to false and the artifact is not blocked on a scan result.
    status String
    (Updatable) The current status of the artifact.
    tag String
    (Updatable) image tag.
    timeCreated String
    (Updatable) The date and time the artifact was created.

    HostedDeploymentArtifact, HostedDeploymentArtifactArgs

    ArtifactType string
    The type of the artifact.
    ContainerUri string
    image url.
    HostedDeploymentId string
    The OCID of the application.
    Id string
    The OCID of the hosted deployment.
    IsVulnerabilityScanRequired bool
    Optional flag that requires an Oracle Cloud Infrastructure Vulnerability Scanning Service compliance report for this artifact before it can become active. When not provided, the value defaults to false and the artifact is not blocked on a scan result.
    Status string
    The current status of the artifact.
    Tag string
    image tag.
    TimeCreated string
    The date and time the hosted deployment was created, in the format defined by RFC 3339
    ArtifactType string
    The type of the artifact.
    ContainerUri string
    image url.
    HostedDeploymentId string
    The OCID of the application.
    Id string
    The OCID of the hosted deployment.
    IsVulnerabilityScanRequired bool
    Optional flag that requires an Oracle Cloud Infrastructure Vulnerability Scanning Service compliance report for this artifact before it can become active. When not provided, the value defaults to false and the artifact is not blocked on a scan result.
    Status string
    The current status of the artifact.
    Tag string
    image tag.
    TimeCreated string
    The date and time the hosted deployment was created, in the format defined by RFC 3339
    artifact_type string
    The type of the artifact.
    container_uri string
    image url.
    hosted_deployment_id string
    The OCID of the application.
    id string
    The OCID of the hosted deployment.
    is_vulnerability_scan_required bool
    Optional flag that requires an Oracle Cloud Infrastructure Vulnerability Scanning Service compliance report for this artifact before it can become active. When not provided, the value defaults to false and the artifact is not blocked on a scan result.
    status string
    The current status of the artifact.
    tag string
    image tag.
    time_created string
    The date and time the hosted deployment was created, in the format defined by RFC 3339
    artifactType String
    The type of the artifact.
    containerUri String
    image url.
    hostedDeploymentId String
    The OCID of the application.
    id String
    The OCID of the hosted deployment.
    isVulnerabilityScanRequired Boolean
    Optional flag that requires an Oracle Cloud Infrastructure Vulnerability Scanning Service compliance report for this artifact before it can become active. When not provided, the value defaults to false and the artifact is not blocked on a scan result.
    status String
    The current status of the artifact.
    tag String
    image tag.
    timeCreated String
    The date and time the hosted deployment was created, in the format defined by RFC 3339
    artifactType string
    The type of the artifact.
    containerUri string
    image url.
    hostedDeploymentId string
    The OCID of the application.
    id string
    The OCID of the hosted deployment.
    isVulnerabilityScanRequired boolean
    Optional flag that requires an Oracle Cloud Infrastructure Vulnerability Scanning Service compliance report for this artifact before it can become active. When not provided, the value defaults to false and the artifact is not blocked on a scan result.
    status string
    The current status of the artifact.
    tag string
    image tag.
    timeCreated string
    The date and time the hosted deployment was created, in the format defined by RFC 3339
    artifact_type str
    The type of the artifact.
    container_uri str
    image url.
    hosted_deployment_id str
    The OCID of the application.
    id str
    The OCID of the hosted deployment.
    is_vulnerability_scan_required bool
    Optional flag that requires an Oracle Cloud Infrastructure Vulnerability Scanning Service compliance report for this artifact before it can become active. When not provided, the value defaults to false and the artifact is not blocked on a scan result.
    status str
    The current status of the artifact.
    tag str
    image tag.
    time_created str
    The date and time the hosted deployment was created, in the format defined by RFC 3339
    artifactType String
    The type of the artifact.
    containerUri String
    image url.
    hostedDeploymentId String
    The OCID of the application.
    id String
    The OCID of the hosted deployment.
    isVulnerabilityScanRequired Boolean
    Optional flag that requires an Oracle Cloud Infrastructure Vulnerability Scanning Service compliance report for this artifact before it can become active. When not provided, the value defaults to false and the artifact is not blocked on a scan result.
    status String
    The current status of the artifact.
    tag String
    image tag.
    timeCreated String
    The date and time the hosted deployment was created, in the format defined by RFC 3339

    Import

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

    $ pulumi import oci:GenerativeAi/hostedDeployment:HostedDeployment test_hosted_deployment "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 oci logo
    Viewing docs for Oracle Cloud Infrastructure v5.0.0
    published on Thursday, Sep 17, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial