Viewing docs for Oracle Cloud Infrastructure v5.0.0
published on Thursday, Sep 17, 2026 by Pulumi
published on Thursday, Sep 17, 2026 by Pulumi
Viewing docs for Oracle Cloud Infrastructure v5.0.0
published on Thursday, Sep 17, 2026 by Pulumi
published on Thursday, Sep 17, 2026 by Pulumi
This data source provides details about a specific Hosted Deployment resource in Oracle Cloud Infrastructure Generative AI service.
Gets information about a hosted deployment.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testHostedDeployment = oci.generativeai.getHostedDeployment({
hostedDeploymentId: testHostedDeploymentOciGenerativeAiHostedDeployment.id,
});
import pulumi
import pulumi_oci as oci
test_hosted_deployment = oci.generativeai.get_hosted_deployment(hosted_deployment_id=test_hosted_deployment_oci_generative_ai_hosted_deployment["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v5/go/oci/generativeai"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := generativeai.GetHostedDeployment(ctx, &generativeai.GetHostedDeploymentArgs{
HostedDeploymentId: testHostedDeploymentOciGenerativeAiHostedDeployment.Id,
}, nil)
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 testHostedDeployment = Oci.GenerativeAi.GetHostedDeployment.Invoke(new()
{
HostedDeploymentId = testHostedDeploymentOciGenerativeAiHostedDeployment.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.GenerativeAi.GenerativeAiFunctions;
import com.pulumi.oci.GenerativeAi.inputs.GetHostedDeploymentArgs;
import java.util.ArrayList;
import java.util.Arrays;
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) {
final var testHostedDeployment = GenerativeAiFunctions.getHostedDeployment(GetHostedDeploymentArgs.builder()
.hostedDeploymentId(testHostedDeploymentOciGenerativeAiHostedDeployment.id())
.build());
}
}
variables:
testHostedDeployment:
fn::invoke:
function: oci:GenerativeAi:getHostedDeployment
arguments:
hostedDeploymentId: ${testHostedDeploymentOciGenerativeAiHostedDeployment.id}
pulumi {
required_providers {
oci = {
source = "pulumi/oci"
}
}
}
data "oci_generativeai_gethosteddeployment" "testHostedDeployment" {
hosted_deployment_id = testHostedDeploymentOciGenerativeAiHostedDeployment.id
}
Using getHostedDeployment
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getHostedDeployment(args: GetHostedDeploymentArgs, opts?: InvokeOptions): Promise<GetHostedDeploymentResult>
function getHostedDeploymentOutput(args: GetHostedDeploymentOutputArgs, opts?: InvokeOutputOptions): Output<GetHostedDeploymentResult>def get_hosted_deployment(hosted_deployment_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetHostedDeploymentResult
def get_hosted_deployment_output(hosted_deployment_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetHostedDeploymentResult]func LookupHostedDeployment(ctx *Context, args *LookupHostedDeploymentArgs, opts ...InvokeOption) (*LookupHostedDeploymentResult, error)
func LookupHostedDeploymentOutput(ctx *Context, args *LookupHostedDeploymentOutputArgs, opts ...InvokeOption) LookupHostedDeploymentResultOutput> Note: This function is named LookupHostedDeployment in the Go SDK.
public static class GetHostedDeployment
{
public static Task<GetHostedDeploymentResult> InvokeAsync(GetHostedDeploymentArgs args, InvokeOptions? opts = null)
public static Output<GetHostedDeploymentResult> Invoke(GetHostedDeploymentInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetHostedDeploymentResult> Invoke(GetHostedDeploymentInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetHostedDeploymentResult> getHostedDeployment(GetHostedDeploymentArgs args, InvokeOptions options)
public static Output<GetHostedDeploymentResult> getHostedDeployment(GetHostedDeploymentArgs args, InvokeOptions options)
public static Output<GetHostedDeploymentResult> getHostedDeployment(GetHostedDeploymentArgs args, InvokeOutputOptions options)
fn::invoke:
function: oci:GenerativeAi/getHostedDeployment:getHostedDeployment
arguments:
# arguments dictionarydata "oci_generative_ai_get_hosted_deployment" "name" {
# arguments
}The following arguments are supported:
- Hosted
Deployment stringId - The OCID of the hosted deployment.
- Hosted
Deployment stringId - The OCID of the hosted deployment.
- hosted_
deployment_ stringid - The OCID of the hosted deployment.
- hosted
Deployment StringId - The OCID of the hosted deployment.
- hosted
Deployment stringId - The OCID of the hosted deployment.
- hosted_
deployment_ strid - The OCID of the hosted deployment.
- hosted
Deployment StringId - The OCID of the hosted deployment.
getHostedDeployment Result
The following output properties are available:
- Active
Artifacts List<GetHosted Deployment Active Artifact> - Container/artifact configuration for the deployment.
- Artifacts
List<Get
Hosted Deployment Artifact> - array of Artifacts.
- Compartment
Id string - The compartment OCID to create the hosted application in.
- Dictionary<string, string>
- 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>
- 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.
- Hosted
Deployment stringId - The OCID of the application.
- Id string
- The OCID of the hosted deployment.
- 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
Artifacts []GetHosted Deployment Active Artifact - Container/artifact configuration for the deployment.
- Artifacts
[]Get
Hosted Deployment Artifact - array of Artifacts.
- Compartment
Id string - The compartment OCID to create the hosted application in.
- map[string]string
- 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
- 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.
- Hosted
Deployment stringId - The OCID of the application.
- Id string
- The OCID of the hosted deployment.
- 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_
artifacts list(object) - Container/artifact configuration for the deployment.
- artifacts list(object)
- array of Artifacts.
- compartment_
id string - The compartment OCID to create the hosted application in.
- map(string)
- 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)
- 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.
- hosted_
deployment_ stringid - The OCID of the application.
- id string
- The OCID of the hosted deployment.
- 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
Artifacts List<GetHosted Deployment Active Artifact> - Container/artifact configuration for the deployment.
- artifacts
List<Get
Hosted Deployment Artifact> - array of Artifacts.
- compartment
Id String - The compartment OCID to create the hosted application in.
- Map<String,String>
- 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>
- 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.
- hosted
Deployment StringId - The OCID of the application.
- id String
- The OCID of the hosted deployment.
- 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
Artifacts GetHosted Deployment Active Artifact[] - Container/artifact configuration for the deployment.
- artifacts
Get
Hosted Deployment Artifact[] - array of Artifacts.
- compartment
Id string - The compartment OCID to create the hosted application in.
- {[key: string]: string}
- 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}
- 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.
- hosted
Deployment stringId - The OCID of the application.
- id string
- The OCID of the hosted deployment.
- 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_
artifacts Sequence[GetHosted Deployment Active Artifact] - Container/artifact configuration for the deployment.
- artifacts
Sequence[Get
Hosted Deployment Artifact] - array of Artifacts.
- compartment_
id str - The compartment OCID to create the hosted application in.
- Mapping[str, str]
- 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]
- 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.
- hosted_
deployment_ strid - The OCID of the application.
- id str
- The OCID of the hosted deployment.
- 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
Artifacts List<Property Map> - Container/artifact configuration for the deployment.
- artifacts List<Property Map>
- array of Artifacts.
- compartment
Id String - The compartment OCID to create the hosted application in.
- Map<String>
- 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>
- 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.
- hosted
Deployment StringId - The OCID of the application.
- id String
- The OCID of the hosted deployment.
- 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
GetHostedDeploymentActiveArtifact
- Artifact
Type string - The type of the artifact.
- Container
Uri string - image url.
- Hosted
Deployment stringId - The OCID of the hosted deployment.
- 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 hosted deployment.
- 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 hosted deployment.
- 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 hosted deployment.
- 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 hosted deployment.
- 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 hosted deployment.
- 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 hosted deployment.
- 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
GetHostedDeploymentArtifact
- Artifact
Type string - The type of the artifact.
- Container
Uri string - image url.
- Hosted
Deployment stringId - The OCID of the hosted deployment.
- 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 hosted deployment.
- 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 hosted deployment.
- 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 hosted deployment.
- 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 hosted deployment.
- 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 hosted deployment.
- 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 hosted deployment.
- 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
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
Viewing docs for Oracle Cloud Infrastructure v5.0.0
published on Thursday, Sep 17, 2026 by Pulumi
published on Thursday, Sep 17, 2026 by Pulumi