published on Thursday, Sep 17, 2026 by Pulumi
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:
- Active
Artifact HostedDeployment Active Artifact - (Updatable) Container/artifact configuration for the deployment.
- Hosted
Application stringId 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.
- 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"} - Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable.
- 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"}
- Active
Artifact HostedDeployment Active Artifact Args - (Updatable) Container/artifact configuration for the deployment.
- Hosted
Application stringId 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.
- 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"} - Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable.
- 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_ stringid 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.
- 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.
- 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"}
- active
Artifact HostedDeployment Active Artifact - (Updatable) Container/artifact configuration for the deployment.
- hosted
Application StringId 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.
- 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"} - display
Name String - A user-friendly name. Does not have to be unique, and it's changeable.
- 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 HostedDeployment Active Artifact - (Updatable) Container/artifact configuration for the deployment.
- hosted
Application stringId 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.
- {[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"} - display
Name string - A user-friendly name. Does not have to be unique, and it's changeable.
- {[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 HostedDeployment Active Artifact Args - (Updatable) Container/artifact configuration for the deployment.
- hosted_
application_ strid 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.
- 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.
- 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"}
- active
Artifact Property Map - (Updatable) Container/artifact configuration for the deployment.
- hosted
Application StringId 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.
- 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.
- 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<Hosted
Deployment Artifact> - array of Artifacts.
- Id string
- The provider-assigned unique ID for this managed resource.
- State string
- The current state of the hosted deployment.
- Dictionary<string, 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
[]Hosted
Deployment Artifact - array of Artifacts.
- Id string
- The provider-assigned unique ID for this managed resource.
- State string
- The current state of the hosted deployment.
- map[string]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(object)
- array of Artifacts.
- id string
- The provider-assigned unique ID for this managed resource.
- state string
- The current state of the hosted deployment.
- 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<Hosted
Deployment Artifact> - array of Artifacts.
- id String
- The provider-assigned unique ID for this managed resource.
- state String
- The current state of the hosted deployment.
- Map<String,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
Hosted
Deployment Artifact[] - array of Artifacts.
- id string
- The provider-assigned unique ID for this managed resource.
- state string
- The current state of the hosted deployment.
- {[key: string]: 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
Sequence[Hosted
Deployment Artifact] - array of Artifacts.
- id str
- The provider-assigned unique ID for this managed resource.
- state str
- The current state of the hosted deployment.
- 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.
- 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
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) -> HostedDeploymentfunc 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.
- Active
Artifact HostedDeployment Active Artifact - (Updatable) Container/artifact configuration for the deployment.
- Artifacts
List<Hosted
Deployment Artifact> - array of Artifacts.
- Compartment
Id string - The compartment OCID to create the hosted deployment in.
- 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"} - Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable.
- 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"} - Hosted
Application stringId 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.
- Dictionary<string, 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
- Active
Artifact HostedDeployment Active Artifact Args - (Updatable) Container/artifact configuration for the deployment.
- Artifacts
[]Hosted
Deployment Artifact Args - array of Artifacts.
- Compartment
Id string - The compartment OCID to create the hosted deployment in.
- 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"} - Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable.
- 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"} - Hosted
Application stringId 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.
- map[string]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
- 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.
- 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.
- 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_ stringid 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.
- 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
- active
Artifact HostedDeployment Active Artifact - (Updatable) Container/artifact configuration for the deployment.
- artifacts
List<Hosted
Deployment Artifact> - array of Artifacts.
- compartment
Id String - The compartment OCID to create the hosted deployment in.
- 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"} - display
Name String - A user-friendly name. Does not have to be unique, and it's changeable.
- 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"} - hosted
Application StringId 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.
- Map<String,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
- active
Artifact HostedDeployment Active Artifact - (Updatable) Container/artifact configuration for the deployment.
- artifacts
Hosted
Deployment Artifact[] - array of Artifacts.
- compartment
Id string - The compartment OCID to create the hosted deployment in.
- {[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"} - display
Name string - A user-friendly name. Does not have to be unique, and it's changeable.
- {[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"} - hosted
Application stringId 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.
- {[key: string]: 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
- active_
artifact HostedDeployment Active Artifact Args - (Updatable) Container/artifact configuration for the deployment.
- artifacts
Sequence[Hosted
Deployment Artifact Args] - array of Artifacts.
- compartment_
id str - The compartment OCID to create the hosted deployment in.
- 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.
- 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_ strid 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.
- 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
- active
Artifact Property Map - (Updatable) Container/artifact configuration for the deployment.
- artifacts List<Property Map>
- array of Artifacts.
- compartment
Id String - The compartment OCID to create the hosted deployment in.
- 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.
- 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 StringId 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.
- 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
Supporting Types
HostedDeploymentActiveArtifact, HostedDeploymentActiveArtifactArgs
- Artifact
Type string - (Updatable) The type of the artifact.
- Container
Uri string - (Updatable) image url.
- Hosted
Deployment stringId - (Updatable) The OCID of the application.
- Id string
- (Updatable) if put artifact to a table, the id is needed
- Is
Vulnerability boolScan Required - (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.
- Artifact
Type string - (Updatable) The type of the artifact.
- Container
Uri string - (Updatable) image url.
- Hosted
Deployment stringId - (Updatable) The OCID of the application.
- Id string
- (Updatable) if put artifact to a table, the id is needed
- Is
Vulnerability boolScan Required - (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.
- artifact_
type string - (Updatable) The type of the artifact.
- container_
uri string - (Updatable) image url.
- hosted_
deployment_ stringid - (Updatable) The OCID of the application.
- id string
- (Updatable) if put artifact to a table, the id is needed
- is_
vulnerability_ boolscan_ required - (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.
- artifact
Type String - (Updatable) The type of the artifact.
- container
Uri String - (Updatable) image url.
- hosted
Deployment StringId - (Updatable) The OCID of the application.
- id String
- (Updatable) if put artifact to a table, the id is needed
- is
Vulnerability BooleanScan Required - (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.
- artifact
Type string - (Updatable) The type of the artifact.
- container
Uri string - (Updatable) image url.
- hosted
Deployment stringId - (Updatable) The OCID of the application.
- id string
- (Updatable) if put artifact to a table, the id is needed
- is
Vulnerability booleanScan Required - (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.
- artifact_
type str - (Updatable) The type of the artifact.
- container_
uri str - (Updatable) image url.
- hosted_
deployment_ strid - (Updatable) The OCID of the application.
- id str
- (Updatable) if put artifact to a table, the id is needed
- is_
vulnerability_ boolscan_ required - (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.
- artifact
Type String - (Updatable) The type of the artifact.
- container
Uri String - (Updatable) image url.
- hosted
Deployment StringId - (Updatable) The OCID of the application.
- id String
- (Updatable) if put artifact to a table, the id is needed
- is
Vulnerability BooleanScan Required - (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.
HostedDeploymentArtifact, HostedDeploymentArtifactArgs
- Artifact
Type string - The type of the artifact.
- Container
Uri string - image url.
- Hosted
Deployment stringId - The OCID of the application.
- Id string
- The OCID of the hosted deployment.
- Is
Vulnerability boolScan Required - 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
- Artifact
Type string - The type of the artifact.
- Container
Uri string - image url.
- Hosted
Deployment stringId - The OCID of the application.
- Id string
- The OCID of the hosted deployment.
- Is
Vulnerability boolScan Required - 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
- artifact_
type string - The type of the artifact.
- container_
uri string - image url.
- hosted_
deployment_ stringid - The OCID of the application.
- id string
- The OCID of the hosted deployment.
- is_
vulnerability_ boolscan_ required - 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
- artifact
Type String - The type of the artifact.
- container
Uri String - image url.
- hosted
Deployment StringId - The OCID of the application.
- id String
- The OCID of the hosted deployment.
- is
Vulnerability BooleanScan Required - 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
- artifact
Type string - The type of the artifact.
- container
Uri string - image url.
- hosted
Deployment stringId - The OCID of the application.
- id string
- The OCID of the hosted deployment.
- is
Vulnerability booleanScan Required - 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
- artifact_
type str - The type of the artifact.
- container_
uri str - image url.
- hosted_
deployment_ strid - The OCID of the application.
- id str
- The OCID of the hosted deployment.
- is_
vulnerability_ boolscan_ required - 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
- artifact
Type String - The type of the artifact.
- container
Uri String - image url.
- hosted
Deployment StringId - The OCID of the application.
- id String
- The OCID of the hosted deployment.
- is
Vulnerability BooleanScan Required - 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
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
ociTerraform Provider.
published on Thursday, Sep 17, 2026 by Pulumi