published on Thursday, Sep 17, 2026 by Pulumi
published on Thursday, Sep 17, 2026 by Pulumi
This resource provides the Hosted Application resource in Oracle Cloud Infrastructure Generative AI service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/generative-ai/latest/HostedApplication
Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/generative_ai
Creates a hosted application.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testHostedApplication = new oci.generativeai.HostedApplication("test_hosted_application", {
compartmentId: compartmentId,
displayName: hostedApplicationDisplayName,
inboundAuthConfig: {
inboundAuthConfigType: hostedApplicationInboundAuthConfigInboundAuthConfigType,
idcsConfig: {
domainUrl: hostedApplicationInboundAuthConfigIdcsConfigDomainUrl,
scope: hostedApplicationInboundAuthConfigIdcsConfigScope,
audience: hostedApplicationInboundAuthConfigIdcsConfigAudience,
},
},
definedTags: {
"Operations.CostCenter": "42",
},
description: hostedApplicationDescription,
environmentVariables: [{
name: hostedApplicationEnvironmentVariablesName,
type: hostedApplicationEnvironmentVariablesType,
value: hostedApplicationEnvironmentVariablesValue,
}],
freeformTags: {
Department: "Finance",
},
networkingConfig: {
inboundNetworkingConfig: {
endpointMode: hostedApplicationNetworkingConfigInboundNetworkingConfigEndpointMode,
privateEndpointId: testGenerativeAiPrivateEndpoint.id,
},
outboundNetworkingConfig: {
networkMode: hostedApplicationNetworkingConfigOutboundNetworkingConfigNetworkMode,
customSubnetId: testSubnet.id,
nsgIds: hostedApplicationNetworkingConfigOutboundNetworkingConfigNsgIds,
},
},
scalingConfig: {
scalingType: hostedApplicationScalingConfigScalingType,
maxReplica: Number(hostedApplicationScalingConfigMaxReplica),
minReplica: Number(hostedApplicationScalingConfigMinReplica),
targetConcurrencyThreshold: Number(hostedApplicationScalingConfigTargetConcurrencyThreshold),
targetCpuThreshold: Number(hostedApplicationScalingConfigTargetCpuThreshold),
targetMemoryThreshold: Number(hostedApplicationScalingConfigTargetMemoryThreshold),
targetRpsThreshold: Number(hostedApplicationScalingConfigTargetRpsThreshold),
},
storageConfigs: [{
environmentVariableKey: hostedApplicationStorageConfigsEnvironmentVariableKey,
storageId: testStorage.id,
}],
});
import pulumi
import pulumi_oci as oci
test_hosted_application = oci.generativeai.HostedApplication("test_hosted_application",
compartment_id=compartment_id,
display_name=hosted_application_display_name,
inbound_auth_config={
"inbound_auth_config_type": hosted_application_inbound_auth_config_inbound_auth_config_type,
"idcs_config": {
"domain_url": hosted_application_inbound_auth_config_idcs_config_domain_url,
"scope": hosted_application_inbound_auth_config_idcs_config_scope,
"audience": hosted_application_inbound_auth_config_idcs_config_audience,
},
},
defined_tags={
"Operations.CostCenter": "42",
},
description=hosted_application_description,
environment_variables=[{
"name": hosted_application_environment_variables_name,
"type": hosted_application_environment_variables_type,
"value": hosted_application_environment_variables_value,
}],
freeform_tags={
"Department": "Finance",
},
networking_config={
"inbound_networking_config": {
"endpoint_mode": hosted_application_networking_config_inbound_networking_config_endpoint_mode,
"private_endpoint_id": test_generative_ai_private_endpoint["id"],
},
"outbound_networking_config": {
"network_mode": hosted_application_networking_config_outbound_networking_config_network_mode,
"custom_subnet_id": test_subnet["id"],
"nsg_ids": hosted_application_networking_config_outbound_networking_config_nsg_ids,
},
},
scaling_config={
"scaling_type": hosted_application_scaling_config_scaling_type,
"max_replica": int(hosted_application_scaling_config_max_replica),
"min_replica": int(hosted_application_scaling_config_min_replica),
"target_concurrency_threshold": int(hosted_application_scaling_config_target_concurrency_threshold),
"target_cpu_threshold": int(hosted_application_scaling_config_target_cpu_threshold),
"target_memory_threshold": int(hosted_application_scaling_config_target_memory_threshold),
"target_rps_threshold": int(hosted_application_scaling_config_target_rps_threshold),
},
storage_configs=[{
"environment_variable_key": hosted_application_storage_configs_environment_variable_key,
"storage_id": test_storage["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.NewHostedApplication(ctx, "test_hosted_application", &generativeai.HostedApplicationArgs{
CompartmentId: pulumi.Any(compartmentId),
DisplayName: pulumi.Any(hostedApplicationDisplayName),
InboundAuthConfig: &generativeai.HostedApplicationInboundAuthConfigArgs{
InboundAuthConfigType: pulumi.Any(hostedApplicationInboundAuthConfigInboundAuthConfigType),
IdcsConfig: &generativeai.HostedApplicationInboundAuthConfigIdcsConfigArgs{
DomainUrl: pulumi.Any(hostedApplicationInboundAuthConfigIdcsConfigDomainUrl),
Scope: pulumi.Any(hostedApplicationInboundAuthConfigIdcsConfigScope),
Audience: pulumi.Any(hostedApplicationInboundAuthConfigIdcsConfigAudience),
},
},
DefinedTags: pulumi.StringMap{
"Operations.CostCenter": pulumi.String("42"),
},
Description: pulumi.Any(hostedApplicationDescription),
EnvironmentVariables: generativeai.HostedApplicationEnvironmentVariableArray{
&generativeai.HostedApplicationEnvironmentVariableArgs{
Name: pulumi.Any(hostedApplicationEnvironmentVariablesName),
Type: pulumi.Any(hostedApplicationEnvironmentVariablesType),
Value: pulumi.Any(hostedApplicationEnvironmentVariablesValue),
},
},
FreeformTags: pulumi.StringMap{
"Department": pulumi.String("Finance"),
},
NetworkingConfig: &generativeai.HostedApplicationNetworkingConfigArgs{
InboundNetworkingConfig: &generativeai.HostedApplicationNetworkingConfigInboundNetworkingConfigArgs{
EndpointMode: pulumi.Any(hostedApplicationNetworkingConfigInboundNetworkingConfigEndpointMode),
PrivateEndpointId: pulumi.Any(testGenerativeAiPrivateEndpoint.Id),
},
OutboundNetworkingConfig: &generativeai.HostedApplicationNetworkingConfigOutboundNetworkingConfigArgs{
NetworkMode: pulumi.Any(hostedApplicationNetworkingConfigOutboundNetworkingConfigNetworkMode),
CustomSubnetId: pulumi.Any(testSubnet.Id),
NsgIds: pulumi.Any(hostedApplicationNetworkingConfigOutboundNetworkingConfigNsgIds),
},
},
ScalingConfig: &generativeai.HostedApplicationScalingConfigArgs{
ScalingType: pulumi.Any(hostedApplicationScalingConfigScalingType),
MaxReplica: pulumi.Any(hostedApplicationScalingConfigMaxReplica),
MinReplica: pulumi.Any(hostedApplicationScalingConfigMinReplica),
TargetConcurrencyThreshold: pulumi.Any(hostedApplicationScalingConfigTargetConcurrencyThreshold),
TargetCpuThreshold: pulumi.Any(hostedApplicationScalingConfigTargetCpuThreshold),
TargetMemoryThreshold: pulumi.Any(hostedApplicationScalingConfigTargetMemoryThreshold),
TargetRpsThreshold: pulumi.Any(hostedApplicationScalingConfigTargetRpsThreshold),
},
StorageConfigs: generativeai.HostedApplicationStorageConfigArray{
&generativeai.HostedApplicationStorageConfigArgs{
EnvironmentVariableKey: pulumi.Any(hostedApplicationStorageConfigsEnvironmentVariableKey),
StorageId: pulumi.Any(testStorage.Id),
},
},
})
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 testHostedApplication = new Oci.GenerativeAi.HostedApplication("test_hosted_application", new()
{
CompartmentId = compartmentId,
DisplayName = hostedApplicationDisplayName,
InboundAuthConfig = new Oci.GenerativeAi.Inputs.HostedApplicationInboundAuthConfigArgs
{
InboundAuthConfigType = hostedApplicationInboundAuthConfigInboundAuthConfigType,
IdcsConfig = new Oci.GenerativeAi.Inputs.HostedApplicationInboundAuthConfigIdcsConfigArgs
{
DomainUrl = hostedApplicationInboundAuthConfigIdcsConfigDomainUrl,
Scope = hostedApplicationInboundAuthConfigIdcsConfigScope,
Audience = hostedApplicationInboundAuthConfigIdcsConfigAudience,
},
},
DefinedTags =
{
{ "Operations.CostCenter", "42" },
},
Description = hostedApplicationDescription,
EnvironmentVariables = new[]
{
new Oci.GenerativeAi.Inputs.HostedApplicationEnvironmentVariableArgs
{
Name = hostedApplicationEnvironmentVariablesName,
Type = hostedApplicationEnvironmentVariablesType,
Value = hostedApplicationEnvironmentVariablesValue,
},
},
FreeformTags =
{
{ "Department", "Finance" },
},
NetworkingConfig = new Oci.GenerativeAi.Inputs.HostedApplicationNetworkingConfigArgs
{
InboundNetworkingConfig = new Oci.GenerativeAi.Inputs.HostedApplicationNetworkingConfigInboundNetworkingConfigArgs
{
EndpointMode = hostedApplicationNetworkingConfigInboundNetworkingConfigEndpointMode,
PrivateEndpointId = testGenerativeAiPrivateEndpoint.Id,
},
OutboundNetworkingConfig = new Oci.GenerativeAi.Inputs.HostedApplicationNetworkingConfigOutboundNetworkingConfigArgs
{
NetworkMode = hostedApplicationNetworkingConfigOutboundNetworkingConfigNetworkMode,
CustomSubnetId = testSubnet.Id,
NsgIds = hostedApplicationNetworkingConfigOutboundNetworkingConfigNsgIds,
},
},
ScalingConfig = new Oci.GenerativeAi.Inputs.HostedApplicationScalingConfigArgs
{
ScalingType = hostedApplicationScalingConfigScalingType,
MaxReplica = hostedApplicationScalingConfigMaxReplica,
MinReplica = hostedApplicationScalingConfigMinReplica,
TargetConcurrencyThreshold = hostedApplicationScalingConfigTargetConcurrencyThreshold,
TargetCpuThreshold = hostedApplicationScalingConfigTargetCpuThreshold,
TargetMemoryThreshold = hostedApplicationScalingConfigTargetMemoryThreshold,
TargetRpsThreshold = hostedApplicationScalingConfigTargetRpsThreshold,
},
StorageConfigs = new[]
{
new Oci.GenerativeAi.Inputs.HostedApplicationStorageConfigArgs
{
EnvironmentVariableKey = hostedApplicationStorageConfigsEnvironmentVariableKey,
StorageId = testStorage.Id,
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.GenerativeAi.HostedApplication;
import com.pulumi.oci.GenerativeAi.HostedApplicationArgs;
import com.pulumi.oci.GenerativeAi.inputs.HostedApplicationInboundAuthConfigArgs;
import com.pulumi.oci.GenerativeAi.inputs.HostedApplicationInboundAuthConfigIdcsConfigArgs;
import com.pulumi.oci.GenerativeAi.inputs.HostedApplicationEnvironmentVariableArgs;
import com.pulumi.oci.GenerativeAi.inputs.HostedApplicationNetworkingConfigArgs;
import com.pulumi.oci.GenerativeAi.inputs.HostedApplicationNetworkingConfigInboundNetworkingConfigArgs;
import com.pulumi.oci.GenerativeAi.inputs.HostedApplicationNetworkingConfigOutboundNetworkingConfigArgs;
import com.pulumi.oci.GenerativeAi.inputs.HostedApplicationScalingConfigArgs;
import com.pulumi.oci.GenerativeAi.inputs.HostedApplicationStorageConfigArgs;
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) {
var testHostedApplication = new HostedApplication("testHostedApplication", HostedApplicationArgs.builder()
.compartmentId(compartmentId)
.displayName(hostedApplicationDisplayName)
.inboundAuthConfig(HostedApplicationInboundAuthConfigArgs.builder()
.inboundAuthConfigType(hostedApplicationInboundAuthConfigInboundAuthConfigType)
.idcsConfig(HostedApplicationInboundAuthConfigIdcsConfigArgs.builder()
.domainUrl(hostedApplicationInboundAuthConfigIdcsConfigDomainUrl)
.scope(hostedApplicationInboundAuthConfigIdcsConfigScope)
.audience(hostedApplicationInboundAuthConfigIdcsConfigAudience)
.build())
.build())
.definedTags(Map.of("Operations.CostCenter", "42"))
.description(hostedApplicationDescription)
.environmentVariables(HostedApplicationEnvironmentVariableArgs.builder()
.name(hostedApplicationEnvironmentVariablesName)
.type(hostedApplicationEnvironmentVariablesType)
.value(hostedApplicationEnvironmentVariablesValue)
.build())
.freeformTags(Map.of("Department", "Finance"))
.networkingConfig(HostedApplicationNetworkingConfigArgs.builder()
.inboundNetworkingConfig(HostedApplicationNetworkingConfigInboundNetworkingConfigArgs.builder()
.endpointMode(hostedApplicationNetworkingConfigInboundNetworkingConfigEndpointMode)
.privateEndpointId(testGenerativeAiPrivateEndpoint.id())
.build())
.outboundNetworkingConfig(HostedApplicationNetworkingConfigOutboundNetworkingConfigArgs.builder()
.networkMode(hostedApplicationNetworkingConfigOutboundNetworkingConfigNetworkMode)
.customSubnetId(testSubnet.id())
.nsgIds(hostedApplicationNetworkingConfigOutboundNetworkingConfigNsgIds)
.build())
.build())
.scalingConfig(HostedApplicationScalingConfigArgs.builder()
.scalingType(hostedApplicationScalingConfigScalingType)
.maxReplica(hostedApplicationScalingConfigMaxReplica)
.minReplica(hostedApplicationScalingConfigMinReplica)
.targetConcurrencyThreshold(hostedApplicationScalingConfigTargetConcurrencyThreshold)
.targetCpuThreshold(hostedApplicationScalingConfigTargetCpuThreshold)
.targetMemoryThreshold(hostedApplicationScalingConfigTargetMemoryThreshold)
.targetRpsThreshold(hostedApplicationScalingConfigTargetRpsThreshold)
.build())
.storageConfigs(HostedApplicationStorageConfigArgs.builder()
.environmentVariableKey(hostedApplicationStorageConfigsEnvironmentVariableKey)
.storageId(testStorage.id())
.build())
.build());
}
}
resources:
testHostedApplication:
type: oci:GenerativeAi:HostedApplication
name: test_hosted_application
properties:
compartmentId: ${compartmentId}
displayName: ${hostedApplicationDisplayName}
inboundAuthConfig:
inboundAuthConfigType: ${hostedApplicationInboundAuthConfigInboundAuthConfigType}
idcsConfig:
domainUrl: ${hostedApplicationInboundAuthConfigIdcsConfigDomainUrl}
scope: ${hostedApplicationInboundAuthConfigIdcsConfigScope}
audience: ${hostedApplicationInboundAuthConfigIdcsConfigAudience}
definedTags:
Operations.CostCenter: '42'
description: ${hostedApplicationDescription}
environmentVariables:
- name: ${hostedApplicationEnvironmentVariablesName}
type: ${hostedApplicationEnvironmentVariablesType}
value: ${hostedApplicationEnvironmentVariablesValue}
freeformTags:
Department: Finance
networkingConfig:
inboundNetworkingConfig:
endpointMode: ${hostedApplicationNetworkingConfigInboundNetworkingConfigEndpointMode}
privateEndpointId: ${testGenerativeAiPrivateEndpoint.id}
outboundNetworkingConfig:
networkMode: ${hostedApplicationNetworkingConfigOutboundNetworkingConfigNetworkMode}
customSubnetId: ${testSubnet.id}
nsgIds: ${hostedApplicationNetworkingConfigOutboundNetworkingConfigNsgIds}
scalingConfig:
scalingType: ${hostedApplicationScalingConfigScalingType}
maxReplica: ${hostedApplicationScalingConfigMaxReplica}
minReplica: ${hostedApplicationScalingConfigMinReplica}
targetConcurrencyThreshold: ${hostedApplicationScalingConfigTargetConcurrencyThreshold}
targetCpuThreshold: ${hostedApplicationScalingConfigTargetCpuThreshold}
targetMemoryThreshold: ${hostedApplicationScalingConfigTargetMemoryThreshold}
targetRpsThreshold: ${hostedApplicationScalingConfigTargetRpsThreshold}
storageConfigs:
- environmentVariableKey: ${hostedApplicationStorageConfigsEnvironmentVariableKey}
storageId: ${testStorage.id}
pulumi {
required_providers {
oci = {
source = "pulumi/oci"
}
}
}
resource "oci_generativeai_hostedapplication" "test_hosted_application" {
compartment_id = compartmentId
display_name = hostedApplicationDisplayName
inbound_auth_config = {
inbound_auth_config_type = hostedApplicationInboundAuthConfigInboundAuthConfigType
idcs_config = {
domain_url = hostedApplicationInboundAuthConfigIdcsConfigDomainUrl
scope = hostedApplicationInboundAuthConfigIdcsConfigScope
audience = hostedApplicationInboundAuthConfigIdcsConfigAudience
}
}
#Required
#Required
#Optional
defined_tags = {
"Operations.CostCenter" = "42"
}
description = hostedApplicationDescription
environment_variables {
name = hostedApplicationEnvironmentVariablesName
type = hostedApplicationEnvironmentVariablesType
value = hostedApplicationEnvironmentVariablesValue
}
#Required
freeform_tags = {
"Department" = "Finance"
}
networking_config = {
inbound_networking_config = {
endpoint_mode = hostedApplicationNetworkingConfigInboundNetworkingConfigEndpointMode
private_endpoint_id = testGenerativeAiPrivateEndpoint.id
}
outbound_networking_config = {
network_mode = hostedApplicationNetworkingConfigOutboundNetworkingConfigNetworkMode
custom_subnet_id = testSubnet.id
nsg_ids = hostedApplicationNetworkingConfigOutboundNetworkingConfigNsgIds
}
}
#Required
#Optional
#Required
#Optional
scaling_config = {
scaling_type = hostedApplicationScalingConfigScalingType
max_replica = hostedApplicationScalingConfigMaxReplica
min_replica = hostedApplicationScalingConfigMinReplica
target_concurrency_threshold = hostedApplicationScalingConfigTargetConcurrencyThreshold
target_cpu_threshold = hostedApplicationScalingConfigTargetCpuThreshold
target_memory_threshold = hostedApplicationScalingConfigTargetMemoryThreshold
target_rps_threshold = hostedApplicationScalingConfigTargetRpsThreshold
}
#Required
#Optional
storage_configs {
environment_variable_key = hostedApplicationStorageConfigsEnvironmentVariableKey
storage_id = testStorage.id
}
}
Create HostedApplication Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new HostedApplication(name: string, args: HostedApplicationArgs, opts?: CustomResourceOptions);@overload
def HostedApplication(resource_name: str,
args: HostedApplicationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def HostedApplication(resource_name: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
environment_variables: Optional[Sequence[HostedApplicationEnvironmentVariableArgs]] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
inbound_auth_config: Optional[HostedApplicationInboundAuthConfigArgs] = None,
networking_config: Optional[HostedApplicationNetworkingConfigArgs] = None,
scaling_config: Optional[HostedApplicationScalingConfigArgs] = None,
storage_configs: Optional[Sequence[HostedApplicationStorageConfigArgs]] = None)func NewHostedApplication(ctx *Context, name string, args HostedApplicationArgs, opts ...ResourceOption) (*HostedApplication, error)public HostedApplication(string name, HostedApplicationArgs args, CustomResourceOptions? opts = null)
public HostedApplication(String name, HostedApplicationArgs args)
public HostedApplication(String name, HostedApplicationArgs args, CustomResourceOptions options)
type: oci:GenerativeAi:HostedApplication
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "oci_generative_ai_hosted_application" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args HostedApplicationArgs
- 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 HostedApplicationArgs
- 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 HostedApplicationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args HostedApplicationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args HostedApplicationArgs
- 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 hostedApplicationResource = new Oci.GenerativeAi.HostedApplication("hostedApplicationResource", new()
{
CompartmentId = "string",
DisplayName = "string",
DefinedTags =
{
{ "string", "string" },
},
Description = "string",
EnvironmentVariables = new[]
{
new Oci.GenerativeAi.Inputs.HostedApplicationEnvironmentVariableArgs
{
Name = "string",
Type = "string",
Value = "string",
},
},
FreeformTags =
{
{ "string", "string" },
},
InboundAuthConfig = new Oci.GenerativeAi.Inputs.HostedApplicationInboundAuthConfigArgs
{
InboundAuthConfigType = "string",
IdcsConfig = new Oci.GenerativeAi.Inputs.HostedApplicationInboundAuthConfigIdcsConfigArgs
{
DomainUrl = "string",
Scope = "string",
Audience = "string",
},
},
NetworkingConfig = new Oci.GenerativeAi.Inputs.HostedApplicationNetworkingConfigArgs
{
InboundNetworkingConfig = new Oci.GenerativeAi.Inputs.HostedApplicationNetworkingConfigInboundNetworkingConfigArgs
{
EndpointMode = "string",
PrivateEndpointId = "string",
},
OutboundNetworkingConfig = new Oci.GenerativeAi.Inputs.HostedApplicationNetworkingConfigOutboundNetworkingConfigArgs
{
NetworkMode = "string",
CustomSubnetId = "string",
NsgIds = new[]
{
"string",
},
},
},
ScalingConfig = new Oci.GenerativeAi.Inputs.HostedApplicationScalingConfigArgs
{
ScalingType = "string",
MaxReplica = 0,
MinReplica = 0,
TargetConcurrencyThreshold = 0,
TargetCpuThreshold = 0,
TargetMemoryThreshold = 0,
TargetRpsThreshold = 0,
},
StorageConfigs = new[]
{
new Oci.GenerativeAi.Inputs.HostedApplicationStorageConfigArgs
{
EnvironmentVariableKey = "string",
StorageId = "string",
},
},
});
example, err := generativeai.NewHostedApplication(ctx, "hostedApplicationResource", &generativeai.HostedApplicationArgs{
CompartmentId: pulumi.String("string"),
DisplayName: pulumi.String("string"),
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Description: pulumi.String("string"),
EnvironmentVariables: generativeai.HostedApplicationEnvironmentVariableArray{
&generativeai.HostedApplicationEnvironmentVariableArgs{
Name: pulumi.String("string"),
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
InboundAuthConfig: &generativeai.HostedApplicationInboundAuthConfigArgs{
InboundAuthConfigType: pulumi.String("string"),
IdcsConfig: &generativeai.HostedApplicationInboundAuthConfigIdcsConfigArgs{
DomainUrl: pulumi.String("string"),
Scope: pulumi.String("string"),
Audience: pulumi.String("string"),
},
},
NetworkingConfig: &generativeai.HostedApplicationNetworkingConfigArgs{
InboundNetworkingConfig: &generativeai.HostedApplicationNetworkingConfigInboundNetworkingConfigArgs{
EndpointMode: pulumi.String("string"),
PrivateEndpointId: pulumi.String("string"),
},
OutboundNetworkingConfig: &generativeai.HostedApplicationNetworkingConfigOutboundNetworkingConfigArgs{
NetworkMode: pulumi.String("string"),
CustomSubnetId: pulumi.String("string"),
NsgIds: pulumi.StringArray{
pulumi.String("string"),
},
},
},
ScalingConfig: &generativeai.HostedApplicationScalingConfigArgs{
ScalingType: pulumi.String("string"),
MaxReplica: pulumi.Int(0),
MinReplica: pulumi.Int(0),
TargetConcurrencyThreshold: pulumi.Int(0),
TargetCpuThreshold: pulumi.Int(0),
TargetMemoryThreshold: pulumi.Int(0),
TargetRpsThreshold: pulumi.Int(0),
},
StorageConfigs: generativeai.HostedApplicationStorageConfigArray{
&generativeai.HostedApplicationStorageConfigArgs{
EnvironmentVariableKey: pulumi.String("string"),
StorageId: pulumi.String("string"),
},
},
})
resource "oci_generative_ai_hosted_application" "hostedApplicationResource" {
lifecycle {
create_before_destroy = true
}
compartment_id = "string"
display_name = "string"
defined_tags = {
"string" = "string"
}
description = "string"
environment_variables {
name = "string"
type = "string"
value = "string"
}
freeform_tags = {
"string" = "string"
}
inbound_auth_config = {
inbound_auth_config_type = "string"
idcs_config = {
domain_url = "string"
scope = "string"
audience = "string"
}
}
networking_config = {
inbound_networking_config = {
endpoint_mode = "string"
private_endpoint_id = "string"
}
outbound_networking_config = {
network_mode = "string"
custom_subnet_id = "string"
nsg_ids = ["string"]
}
}
scaling_config = {
scaling_type = "string"
max_replica = 0
min_replica = 0
target_concurrency_threshold = 0
target_cpu_threshold = 0
target_memory_threshold = 0
target_rps_threshold = 0
}
storage_configs {
environment_variable_key = "string"
storage_id = "string"
}
}
var hostedApplicationResource = new HostedApplication("hostedApplicationResource", HostedApplicationArgs.builder()
.compartmentId("string")
.displayName("string")
.definedTags(Map.of("string", "string"))
.description("string")
.environmentVariables(HostedApplicationEnvironmentVariableArgs.builder()
.name("string")
.type("string")
.value("string")
.build())
.freeformTags(Map.of("string", "string"))
.inboundAuthConfig(HostedApplicationInboundAuthConfigArgs.builder()
.inboundAuthConfigType("string")
.idcsConfig(HostedApplicationInboundAuthConfigIdcsConfigArgs.builder()
.domainUrl("string")
.scope("string")
.audience("string")
.build())
.build())
.networkingConfig(HostedApplicationNetworkingConfigArgs.builder()
.inboundNetworkingConfig(HostedApplicationNetworkingConfigInboundNetworkingConfigArgs.builder()
.endpointMode("string")
.privateEndpointId("string")
.build())
.outboundNetworkingConfig(HostedApplicationNetworkingConfigOutboundNetworkingConfigArgs.builder()
.networkMode("string")
.customSubnetId("string")
.nsgIds("string")
.build())
.build())
.scalingConfig(HostedApplicationScalingConfigArgs.builder()
.scalingType("string")
.maxReplica(0)
.minReplica(0)
.targetConcurrencyThreshold(0)
.targetCpuThreshold(0)
.targetMemoryThreshold(0)
.targetRpsThreshold(0)
.build())
.storageConfigs(HostedApplicationStorageConfigArgs.builder()
.environmentVariableKey("string")
.storageId("string")
.build())
.build());
hosted_application_resource = oci.generativeai.HostedApplication("hostedApplicationResource",
compartment_id="string",
display_name="string",
defined_tags={
"string": "string",
},
description="string",
environment_variables=[{
"name": "string",
"type": "string",
"value": "string",
}],
freeform_tags={
"string": "string",
},
inbound_auth_config={
"inbound_auth_config_type": "string",
"idcs_config": {
"domain_url": "string",
"scope": "string",
"audience": "string",
},
},
networking_config={
"inbound_networking_config": {
"endpoint_mode": "string",
"private_endpoint_id": "string",
},
"outbound_networking_config": {
"network_mode": "string",
"custom_subnet_id": "string",
"nsg_ids": ["string"],
},
},
scaling_config={
"scaling_type": "string",
"max_replica": 0,
"min_replica": 0,
"target_concurrency_threshold": 0,
"target_cpu_threshold": 0,
"target_memory_threshold": 0,
"target_rps_threshold": 0,
},
storage_configs=[{
"environment_variable_key": "string",
"storage_id": "string",
}])
const hostedApplicationResource = new oci.generativeai.HostedApplication("hostedApplicationResource", {
compartmentId: "string",
displayName: "string",
definedTags: {
string: "string",
},
description: "string",
environmentVariables: [{
name: "string",
type: "string",
value: "string",
}],
freeformTags: {
string: "string",
},
inboundAuthConfig: {
inboundAuthConfigType: "string",
idcsConfig: {
domainUrl: "string",
scope: "string",
audience: "string",
},
},
networkingConfig: {
inboundNetworkingConfig: {
endpointMode: "string",
privateEndpointId: "string",
},
outboundNetworkingConfig: {
networkMode: "string",
customSubnetId: "string",
nsgIds: ["string"],
},
},
scalingConfig: {
scalingType: "string",
maxReplica: 0,
minReplica: 0,
targetConcurrencyThreshold: 0,
targetCpuThreshold: 0,
targetMemoryThreshold: 0,
targetRpsThreshold: 0,
},
storageConfigs: [{
environmentVariableKey: "string",
storageId: "string",
}],
});
type: oci:GenerativeAi:HostedApplication
properties:
compartmentId: string
definedTags:
string: string
description: string
displayName: string
environmentVariables:
- name: string
type: string
value: string
freeformTags:
string: string
inboundAuthConfig:
idcsConfig:
audience: string
domainUrl: string
scope: string
inboundAuthConfigType: string
networkingConfig:
inboundNetworkingConfig:
endpointMode: string
privateEndpointId: string
outboundNetworkingConfig:
customSubnetId: string
networkMode: string
nsgIds:
- string
scalingConfig:
maxReplica: 0
minReplica: 0
scalingType: string
targetConcurrencyThreshold: 0
targetCpuThreshold: 0
targetMemoryThreshold: 0
targetRpsThreshold: 0
storageConfigs:
- environmentVariableKey: string
storageId: string
HostedApplication 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 HostedApplication resource accepts the following input properties:
- Compartment
Id string - (Updatable) The compartment OCID for the Hosted Application.
- Display
Name string - (Updatable) The user-friendly display name for the Hosted Application. Does not need to be unique and can be updated after creation.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - Description string
- (Updatable) The description for the Hosted Application.
- Environment
Variables List<HostedApplication Environment Variable> - (Updatable) The list of environment variables for the Hosted Application. Defines a list of environment variables injected at runtime.
- 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"} - Inbound
Auth HostedConfig Application Inbound Auth Config - (Updatable) The client-side inbound authentication configuration for the Hosted Application. Defines the network access rules. When unspecified, the service applies the default inbound authentication configuration type.
- Networking
Config HostedApplication Networking Config - Networking configuration.
- Scaling
Config HostedApplication Scaling Config - (Updatable) The auto scaling configuration for the Hosted Application. Defines the minimum and maximum number of replicas. When unspecified, the service applies service-defined default scaling values.
- Storage
Configs List<HostedApplication Storage Config> - The list of storage configuration for the Hosted Application. Defines a list of service-managed storage back-ends.
- Compartment
Id string - (Updatable) The compartment OCID for the Hosted Application.
- Display
Name string - (Updatable) The user-friendly display name for the Hosted Application. Does not need to be unique and can be updated after creation.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - Description string
- (Updatable) The description for the Hosted Application.
- Environment
Variables []HostedApplication Environment Variable Args - (Updatable) The list of environment variables for the Hosted Application. Defines a list of environment variables injected at runtime.
- 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"} - Inbound
Auth HostedConfig Application Inbound Auth Config Args - (Updatable) The client-side inbound authentication configuration for the Hosted Application. Defines the network access rules. When unspecified, the service applies the default inbound authentication configuration type.
- Networking
Config HostedApplication Networking Config Args - Networking configuration.
- Scaling
Config HostedApplication Scaling Config Args - (Updatable) The auto scaling configuration for the Hosted Application. Defines the minimum and maximum number of replicas. When unspecified, the service applies service-defined default scaling values.
- Storage
Configs []HostedApplication Storage Config Args - The list of storage configuration for the Hosted Application. Defines a list of service-managed storage back-ends.
- compartment_
id string - (Updatable) The compartment OCID for the Hosted Application.
- display_
name string - (Updatable) The user-friendly display name for the Hosted Application. Does not need to be unique and can be updated after creation.
- map(string)
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - description string
- (Updatable) The description for the Hosted Application.
- environment_
variables list(object) - (Updatable) The list of environment variables for the Hosted Application. Defines a list of environment variables injected at runtime.
- 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"} - inbound_
auth_ objectconfig - (Updatable) The client-side inbound authentication configuration for the Hosted Application. Defines the network access rules. When unspecified, the service applies the default inbound authentication configuration type.
- networking_
config object - Networking configuration.
- scaling_
config object - (Updatable) The auto scaling configuration for the Hosted Application. Defines the minimum and maximum number of replicas. When unspecified, the service applies service-defined default scaling values.
- storage_
configs list(object) - The list of storage configuration for the Hosted Application. Defines a list of service-managed storage back-ends.
- compartment
Id String - (Updatable) The compartment OCID for the Hosted Application.
- display
Name String - (Updatable) The user-friendly display name for the Hosted Application. Does not need to be unique and can be updated after creation.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - description String
- (Updatable) The description for the Hosted Application.
- environment
Variables List<HostedApplication Environment Variable> - (Updatable) The list of environment variables for the Hosted Application. Defines a list of environment variables injected at runtime.
- 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"} - inbound
Auth HostedConfig Application Inbound Auth Config - (Updatable) The client-side inbound authentication configuration for the Hosted Application. Defines the network access rules. When unspecified, the service applies the default inbound authentication configuration type.
- networking
Config HostedApplication Networking Config - Networking configuration.
- scaling
Config HostedApplication Scaling Config - (Updatable) The auto scaling configuration for the Hosted Application. Defines the minimum and maximum number of replicas. When unspecified, the service applies service-defined default scaling values.
- storage
Configs List<HostedApplication Storage Config> - The list of storage configuration for the Hosted Application. Defines a list of service-managed storage back-ends.
- compartment
Id string - (Updatable) The compartment OCID for the Hosted Application.
- display
Name string - (Updatable) The user-friendly display name for the Hosted Application. Does not need to be unique and can be updated after creation.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - description string
- (Updatable) The description for the Hosted Application.
- environment
Variables HostedApplication Environment Variable[] - (Updatable) The list of environment variables for the Hosted Application. Defines a list of environment variables injected at runtime.
- {[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"} - inbound
Auth HostedConfig Application Inbound Auth Config - (Updatable) The client-side inbound authentication configuration for the Hosted Application. Defines the network access rules. When unspecified, the service applies the default inbound authentication configuration type.
- networking
Config HostedApplication Networking Config - Networking configuration.
- scaling
Config HostedApplication Scaling Config - (Updatable) The auto scaling configuration for the Hosted Application. Defines the minimum and maximum number of replicas. When unspecified, the service applies service-defined default scaling values.
- storage
Configs HostedApplication Storage Config[] - The list of storage configuration for the Hosted Application. Defines a list of service-managed storage back-ends.
- compartment_
id str - (Updatable) The compartment OCID for the Hosted Application.
- display_
name str - (Updatable) The user-friendly display name for the Hosted Application. Does not need to be unique and can be updated after creation.
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - description str
- (Updatable) The description for the Hosted Application.
- environment_
variables Sequence[HostedApplication Environment Variable Args] - (Updatable) The list of environment variables for the Hosted Application. Defines a list of environment variables injected at runtime.
- 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"} - inbound_
auth_ Hostedconfig Application Inbound Auth Config Args - (Updatable) The client-side inbound authentication configuration for the Hosted Application. Defines the network access rules. When unspecified, the service applies the default inbound authentication configuration type.
- networking_
config HostedApplication Networking Config Args - Networking configuration.
- scaling_
config HostedApplication Scaling Config Args - (Updatable) The auto scaling configuration for the Hosted Application. Defines the minimum and maximum number of replicas. When unspecified, the service applies service-defined default scaling values.
- storage_
configs Sequence[HostedApplication Storage Config Args] - The list of storage configuration for the Hosted Application. Defines a list of service-managed storage back-ends.
- compartment
Id String - (Updatable) The compartment OCID for the Hosted Application.
- display
Name String - (Updatable) The user-friendly display name for the Hosted Application. Does not need to be unique and can be updated after creation.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - description String
- (Updatable) The description for the Hosted Application.
- environment
Variables List<Property Map> - (Updatable) The list of environment variables for the Hosted Application. Defines a list of environment variables injected at runtime.
- 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"} - inbound
Auth Property MapConfig - (Updatable) The client-side inbound authentication configuration for the Hosted Application. Defines the network access rules. When unspecified, the service applies the default inbound authentication configuration type.
- networking
Config Property Map - Networking configuration.
- scaling
Config Property Map - (Updatable) The auto scaling configuration for the Hosted Application. Defines the minimum and maximum number of replicas. When unspecified, the service applies service-defined default scaling values.
- storage
Configs List<Property Map> - The list of storage configuration for the Hosted Application. Defines a list of service-managed storage back-ends.
Outputs
All input properties are implicitly available as output properties. Additionally, the HostedApplication resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - A message describing the current state of the endpoint in more detail that can provide actionable information.
- State string
- The current state of the hosted application.
- 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 application was created, in the format defined by RFC 3339
- Time
Updated string - The date and time the hosted application was updated, in the format defined by RFC 3339
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - A message describing the current state of the endpoint in more detail that can provide actionable information.
- State string
- The current state of the hosted application.
- 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 application was created, in the format defined by RFC 3339
- Time
Updated string - The date and time the hosted application was updated, in the format defined by RFC 3339
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle_
details string - A message describing the current state of the endpoint in more detail that can provide actionable information.
- state string
- The current state of the hosted application.
- 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 application was created, in the format defined by RFC 3339
- time_
updated string - The date and time the hosted application was updated, in the format defined by RFC 3339
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - A message describing the current state of the endpoint in more detail that can provide actionable information.
- state String
- The current state of the hosted application.
- 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 application was created, in the format defined by RFC 3339
- time
Updated String - The date and time the hosted application was updated, in the format defined by RFC 3339
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details string - A message describing the current state of the endpoint in more detail that can provide actionable information.
- state string
- The current state of the hosted application.
- {[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 application was created, in the format defined by RFC 3339
- time
Updated string - The date and time the hosted application was updated, in the format defined by RFC 3339
- id str
- The provider-assigned unique ID for this managed resource.
- lifecycle_
details str - A message describing the current state of the endpoint in more detail that can provide actionable information.
- state str
- The current state of the hosted application.
- 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 application was created, in the format defined by RFC 3339
- time_
updated str - The date and time the hosted application was updated, in the format defined by RFC 3339
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - A message describing the current state of the endpoint in more detail that can provide actionable information.
- state String
- The current state of the hosted application.
- 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 application was created, in the format defined by RFC 3339
- time
Updated String - The date and time the hosted application was updated, in the format defined by RFC 3339
Look up Existing HostedApplication Resource
Get an existing HostedApplication 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?: HostedApplicationState, opts?: CustomResourceOptions): HostedApplication@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
environment_variables: Optional[Sequence[HostedApplicationEnvironmentVariableArgs]] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
inbound_auth_config: Optional[HostedApplicationInboundAuthConfigArgs] = None,
lifecycle_details: Optional[str] = None,
networking_config: Optional[HostedApplicationNetworkingConfigArgs] = None,
scaling_config: Optional[HostedApplicationScalingConfigArgs] = None,
state: Optional[str] = None,
storage_configs: Optional[Sequence[HostedApplicationStorageConfigArgs]] = None,
system_tags: Optional[Mapping[str, str]] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None) -> HostedApplicationfunc GetHostedApplication(ctx *Context, name string, id IDInput, state *HostedApplicationState, opts ...ResourceOption) (*HostedApplication, error)public static HostedApplication Get(string name, Input<string> id, HostedApplicationState? state, CustomResourceOptions? opts = null)public static HostedApplication get(String name, Output<String> id, HostedApplicationState state, CustomResourceOptions options)resources: _: type: oci:GenerativeAi:HostedApplication get: id: ${id}import {
to = oci_generative_ai_hosted_application.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.
- Compartment
Id string - (Updatable) The compartment OCID for the Hosted Application.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - Description string
- (Updatable) The description for the Hosted Application.
- Display
Name string - (Updatable) The user-friendly display name for the Hosted Application. Does not need to be unique and can be updated after creation.
- Environment
Variables List<HostedApplication Environment Variable> - (Updatable) The list of environment variables for the Hosted Application. Defines a list of environment variables injected at runtime.
- 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"} - Inbound
Auth HostedConfig Application Inbound Auth Config - (Updatable) The client-side inbound authentication configuration for the Hosted Application. Defines the network access rules. When unspecified, the service applies the default inbound authentication configuration type.
- Lifecycle
Details string - A message describing the current state of the endpoint in more detail that can provide actionable information.
- Networking
Config HostedApplication Networking Config - Networking configuration.
- Scaling
Config HostedApplication Scaling Config - (Updatable) The auto scaling configuration for the Hosted Application. Defines the minimum and maximum number of replicas. When unspecified, the service applies service-defined default scaling values.
- State string
- The current state of the hosted application.
- Storage
Configs List<HostedApplication Storage Config> - The list of storage configuration for the Hosted Application. Defines a list of service-managed storage back-ends.
- 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 application was created, in the format defined by RFC 3339
- Time
Updated string - The date and time the hosted application was updated, in the format defined by RFC 3339
- Compartment
Id string - (Updatable) The compartment OCID for the Hosted Application.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - Description string
- (Updatable) The description for the Hosted Application.
- Display
Name string - (Updatable) The user-friendly display name for the Hosted Application. Does not need to be unique and can be updated after creation.
- Environment
Variables []HostedApplication Environment Variable Args - (Updatable) The list of environment variables for the Hosted Application. Defines a list of environment variables injected at runtime.
- 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"} - Inbound
Auth HostedConfig Application Inbound Auth Config Args - (Updatable) The client-side inbound authentication configuration for the Hosted Application. Defines the network access rules. When unspecified, the service applies the default inbound authentication configuration type.
- Lifecycle
Details string - A message describing the current state of the endpoint in more detail that can provide actionable information.
- Networking
Config HostedApplication Networking Config Args - Networking configuration.
- Scaling
Config HostedApplication Scaling Config Args - (Updatable) The auto scaling configuration for the Hosted Application. Defines the minimum and maximum number of replicas. When unspecified, the service applies service-defined default scaling values.
- State string
- The current state of the hosted application.
- Storage
Configs []HostedApplication Storage Config Args - The list of storage configuration for the Hosted Application. Defines a list of service-managed storage back-ends.
- 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 application was created, in the format defined by RFC 3339
- Time
Updated string - The date and time the hosted application was updated, in the format defined by RFC 3339
- compartment_
id string - (Updatable) The compartment OCID for the Hosted Application.
- map(string)
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - description string
- (Updatable) The description for the Hosted Application.
- display_
name string - (Updatable) The user-friendly display name for the Hosted Application. Does not need to be unique and can be updated after creation.
- environment_
variables list(object) - (Updatable) The list of environment variables for the Hosted Application. Defines a list of environment variables injected at runtime.
- 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"} - inbound_
auth_ objectconfig - (Updatable) The client-side inbound authentication configuration for the Hosted Application. Defines the network access rules. When unspecified, the service applies the default inbound authentication configuration type.
- lifecycle_
details string - A message describing the current state of the endpoint in more detail that can provide actionable information.
- networking_
config object - Networking configuration.
- scaling_
config object - (Updatable) The auto scaling configuration for the Hosted Application. Defines the minimum and maximum number of replicas. When unspecified, the service applies service-defined default scaling values.
- state string
- The current state of the hosted application.
- storage_
configs list(object) - The list of storage configuration for the Hosted Application. Defines a list of service-managed storage back-ends.
- 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 application was created, in the format defined by RFC 3339
- time_
updated string - The date and time the hosted application was updated, in the format defined by RFC 3339
- compartment
Id String - (Updatable) The compartment OCID for the Hosted Application.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - description String
- (Updatable) The description for the Hosted Application.
- display
Name String - (Updatable) The user-friendly display name for the Hosted Application. Does not need to be unique and can be updated after creation.
- environment
Variables List<HostedApplication Environment Variable> - (Updatable) The list of environment variables for the Hosted Application. Defines a list of environment variables injected at runtime.
- 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"} - inbound
Auth HostedConfig Application Inbound Auth Config - (Updatable) The client-side inbound authentication configuration for the Hosted Application. Defines the network access rules. When unspecified, the service applies the default inbound authentication configuration type.
- lifecycle
Details String - A message describing the current state of the endpoint in more detail that can provide actionable information.
- networking
Config HostedApplication Networking Config - Networking configuration.
- scaling
Config HostedApplication Scaling Config - (Updatable) The auto scaling configuration for the Hosted Application. Defines the minimum and maximum number of replicas. When unspecified, the service applies service-defined default scaling values.
- state String
- The current state of the hosted application.
- storage
Configs List<HostedApplication Storage Config> - The list of storage configuration for the Hosted Application. Defines a list of service-managed storage back-ends.
- 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 application was created, in the format defined by RFC 3339
- time
Updated String - The date and time the hosted application was updated, in the format defined by RFC 3339
- compartment
Id string - (Updatable) The compartment OCID for the Hosted Application.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - description string
- (Updatable) The description for the Hosted Application.
- display
Name string - (Updatable) The user-friendly display name for the Hosted Application. Does not need to be unique and can be updated after creation.
- environment
Variables HostedApplication Environment Variable[] - (Updatable) The list of environment variables for the Hosted Application. Defines a list of environment variables injected at runtime.
- {[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"} - inbound
Auth HostedConfig Application Inbound Auth Config - (Updatable) The client-side inbound authentication configuration for the Hosted Application. Defines the network access rules. When unspecified, the service applies the default inbound authentication configuration type.
- lifecycle
Details string - A message describing the current state of the endpoint in more detail that can provide actionable information.
- networking
Config HostedApplication Networking Config - Networking configuration.
- scaling
Config HostedApplication Scaling Config - (Updatable) The auto scaling configuration for the Hosted Application. Defines the minimum and maximum number of replicas. When unspecified, the service applies service-defined default scaling values.
- state string
- The current state of the hosted application.
- storage
Configs HostedApplication Storage Config[] - The list of storage configuration for the Hosted Application. Defines a list of service-managed storage back-ends.
- {[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 application was created, in the format defined by RFC 3339
- time
Updated string - The date and time the hosted application was updated, in the format defined by RFC 3339
- compartment_
id str - (Updatable) The compartment OCID for the Hosted Application.
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - description str
- (Updatable) The description for the Hosted Application.
- display_
name str - (Updatable) The user-friendly display name for the Hosted Application. Does not need to be unique and can be updated after creation.
- environment_
variables Sequence[HostedApplication Environment Variable Args] - (Updatable) The list of environment variables for the Hosted Application. Defines a list of environment variables injected at runtime.
- 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"} - inbound_
auth_ Hostedconfig Application Inbound Auth Config Args - (Updatable) The client-side inbound authentication configuration for the Hosted Application. Defines the network access rules. When unspecified, the service applies the default inbound authentication configuration type.
- lifecycle_
details str - A message describing the current state of the endpoint in more detail that can provide actionable information.
- networking_
config HostedApplication Networking Config Args - Networking configuration.
- scaling_
config HostedApplication Scaling Config Args - (Updatable) The auto scaling configuration for the Hosted Application. Defines the minimum and maximum number of replicas. When unspecified, the service applies service-defined default scaling values.
- state str
- The current state of the hosted application.
- storage_
configs Sequence[HostedApplication Storage Config Args] - The list of storage configuration for the Hosted Application. Defines a list of service-managed storage back-ends.
- 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 application was created, in the format defined by RFC 3339
- time_
updated str - The date and time the hosted application was updated, in the format defined by RFC 3339
- compartment
Id String - (Updatable) The compartment OCID for the Hosted Application.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - description String
- (Updatable) The description for the Hosted Application.
- display
Name String - (Updatable) The user-friendly display name for the Hosted Application. Does not need to be unique and can be updated after creation.
- environment
Variables List<Property Map> - (Updatable) The list of environment variables for the Hosted Application. Defines a list of environment variables injected at runtime.
- 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"} - inbound
Auth Property MapConfig - (Updatable) The client-side inbound authentication configuration for the Hosted Application. Defines the network access rules. When unspecified, the service applies the default inbound authentication configuration type.
- lifecycle
Details String - A message describing the current state of the endpoint in more detail that can provide actionable information.
- networking
Config Property Map - Networking configuration.
- scaling
Config Property Map - (Updatable) The auto scaling configuration for the Hosted Application. Defines the minimum and maximum number of replicas. When unspecified, the service applies service-defined default scaling values.
- state String
- The current state of the hosted application.
- storage
Configs List<Property Map> - The list of storage configuration for the Hosted Application. Defines a list of service-managed storage back-ends.
- 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 application was created, in the format defined by RFC 3339
- time
Updated String - The date and time the hosted application was updated, in the format defined by RFC 3339
Supporting Types
HostedApplicationEnvironmentVariable, HostedApplicationEnvironmentVariableArgs
HostedApplicationInboundAuthConfig, HostedApplicationInboundAuthConfigArgs
- Inbound
Auth stringConfig Type - (Updatable) Inbound authentication configuration type of network access (IDCS_AUTH_CONFIG).
- Idcs
Config HostedApplication Inbound Auth Config Idcs Config - (Updatable) Oracle Identity Cloud Service (IDCS) configuration used when inboundAuthConfigType is set to IDCS_AUTH_CONFIG. This object must be specified when inboundAuthConfigType is IDCS_AUTH_CONFIG.
- Inbound
Auth stringConfig Type - (Updatable) Inbound authentication configuration type of network access (IDCS_AUTH_CONFIG).
- Idcs
Config HostedApplication Inbound Auth Config Idcs Config - (Updatable) Oracle Identity Cloud Service (IDCS) configuration used when inboundAuthConfigType is set to IDCS_AUTH_CONFIG. This object must be specified when inboundAuthConfigType is IDCS_AUTH_CONFIG.
- inbound_
auth_ stringconfig_ type - (Updatable) Inbound authentication configuration type of network access (IDCS_AUTH_CONFIG).
- idcs_
config object - (Updatable) Oracle Identity Cloud Service (IDCS) configuration used when inboundAuthConfigType is set to IDCS_AUTH_CONFIG. This object must be specified when inboundAuthConfigType is IDCS_AUTH_CONFIG.
- inbound
Auth StringConfig Type - (Updatable) Inbound authentication configuration type of network access (IDCS_AUTH_CONFIG).
- idcs
Config HostedApplication Inbound Auth Config Idcs Config - (Updatable) Oracle Identity Cloud Service (IDCS) configuration used when inboundAuthConfigType is set to IDCS_AUTH_CONFIG. This object must be specified when inboundAuthConfigType is IDCS_AUTH_CONFIG.
- inbound
Auth stringConfig Type - (Updatable) Inbound authentication configuration type of network access (IDCS_AUTH_CONFIG).
- idcs
Config HostedApplication Inbound Auth Config Idcs Config - (Updatable) Oracle Identity Cloud Service (IDCS) configuration used when inboundAuthConfigType is set to IDCS_AUTH_CONFIG. This object must be specified when inboundAuthConfigType is IDCS_AUTH_CONFIG.
- inbound_
auth_ strconfig_ type - (Updatable) Inbound authentication configuration type of network access (IDCS_AUTH_CONFIG).
- idcs_
config HostedApplication Inbound Auth Config Idcs Config - (Updatable) Oracle Identity Cloud Service (IDCS) configuration used when inboundAuthConfigType is set to IDCS_AUTH_CONFIG. This object must be specified when inboundAuthConfigType is IDCS_AUTH_CONFIG.
- inbound
Auth StringConfig Type - (Updatable) Inbound authentication configuration type of network access (IDCS_AUTH_CONFIG).
- idcs
Config Property Map - (Updatable) Oracle Identity Cloud Service (IDCS) configuration used when inboundAuthConfigType is set to IDCS_AUTH_CONFIG. This object must be specified when inboundAuthConfigType is IDCS_AUTH_CONFIG.
HostedApplicationInboundAuthConfigIdcsConfig, HostedApplicationInboundAuthConfigIdcsConfigArgs
- domain_
url string - (Updatable) Domain URL for IDCS.
- scope string
- (Updatable) Scope for IDCS.
- audience string
- (Updatable) Audience for IDCS.
- domain_
url str - (Updatable) Domain URL for IDCS.
- scope str
- (Updatable) Scope for IDCS.
- audience str
- (Updatable) Audience for IDCS.
HostedApplicationNetworkingConfig, HostedApplicationNetworkingConfigArgs
- Inbound
Networking HostedConfig Application Networking Config Inbound Networking Config - Inbound Networking configuration.
- Outbound
Networking HostedConfig Application Networking Config Outbound Networking Config - Outbound Networking configuration.
- Inbound
Networking HostedConfig Application Networking Config Inbound Networking Config - Inbound Networking configuration.
- Outbound
Networking HostedConfig Application Networking Config Outbound Networking Config - Outbound Networking configuration.
- inbound_
networking_ objectconfig - Inbound Networking configuration.
- outbound_
networking_ objectconfig - Outbound Networking configuration.
- inbound
Networking HostedConfig Application Networking Config Inbound Networking Config - Inbound Networking configuration.
- outbound
Networking HostedConfig Application Networking Config Outbound Networking Config - Outbound Networking configuration.
- inbound
Networking HostedConfig Application Networking Config Inbound Networking Config - Inbound Networking configuration.
- outbound
Networking HostedConfig Application Networking Config Outbound Networking Config - Outbound Networking configuration.
- inbound_
networking_ Hostedconfig Application Networking Config Inbound Networking Config - Inbound Networking configuration.
- outbound_
networking_ Hostedconfig Application Networking Config Outbound Networking Config - Outbound Networking configuration.
- inbound
Networking Property MapConfig - Inbound Networking configuration.
- outbound
Networking Property MapConfig - Outbound Networking configuration.
HostedApplicationNetworkingConfigInboundNetworkingConfig, HostedApplicationNetworkingConfigInboundNetworkingConfigArgs
- Endpoint
Mode string - inbounding from public or private endpoint.
- Private
Endpoint stringId - The [OCID] of Private Endpoint when endpointMode=Private
- Endpoint
Mode string - inbounding from public or private endpoint.
- Private
Endpoint stringId - The [OCID] of Private Endpoint when endpointMode=Private
- endpoint_
mode string - inbounding from public or private endpoint.
- private_
endpoint_ stringid - The [OCID] of Private Endpoint when endpointMode=Private
- endpoint
Mode String - inbounding from public or private endpoint.
- private
Endpoint StringId - The [OCID] of Private Endpoint when endpointMode=Private
- endpoint
Mode string - inbounding from public or private endpoint.
- private
Endpoint stringId - The [OCID] of Private Endpoint when endpointMode=Private
- endpoint_
mode str - inbounding from public or private endpoint.
- private_
endpoint_ strid - The [OCID] of Private Endpoint when endpointMode=Private
- endpoint
Mode String - inbounding from public or private endpoint.
- private
Endpoint StringId - The [OCID] of Private Endpoint when endpointMode=Private
HostedApplicationNetworkingConfigOutboundNetworkingConfig, HostedApplicationNetworkingConfigOutboundNetworkingConfigArgs
- Network
Mode string - outbounding to managed internet or customer network.
- Custom
Subnet stringId - ocid of customer subnet when networkMode=Custom
- Nsg
Ids List<string> - A list of the OCIDs of the network security groups that the private endpoint's VNIC belongs to.
- Network
Mode string - outbounding to managed internet or customer network.
- Custom
Subnet stringId - ocid of customer subnet when networkMode=Custom
- Nsg
Ids []string - A list of the OCIDs of the network security groups that the private endpoint's VNIC belongs to.
- network_
mode string - outbounding to managed internet or customer network.
- custom_
subnet_ stringid - ocid of customer subnet when networkMode=Custom
- nsg_
ids list(string) - A list of the OCIDs of the network security groups that the private endpoint's VNIC belongs to.
- network
Mode String - outbounding to managed internet or customer network.
- custom
Subnet StringId - ocid of customer subnet when networkMode=Custom
- nsg
Ids List<String> - A list of the OCIDs of the network security groups that the private endpoint's VNIC belongs to.
- network
Mode string - outbounding to managed internet or customer network.
- custom
Subnet stringId - ocid of customer subnet when networkMode=Custom
- nsg
Ids string[] - A list of the OCIDs of the network security groups that the private endpoint's VNIC belongs to.
- network_
mode str - outbounding to managed internet or customer network.
- custom_
subnet_ strid - ocid of customer subnet when networkMode=Custom
- nsg_
ids Sequence[str] - A list of the OCIDs of the network security groups that the private endpoint's VNIC belongs to.
- network
Mode String - outbounding to managed internet or customer network.
- custom
Subnet StringId - ocid of customer subnet when networkMode=Custom
- nsg
Ids List<String> - A list of the OCIDs of the network security groups that the private endpoint's VNIC belongs to.
HostedApplicationScalingConfig, HostedApplicationScalingConfigArgs
- Scaling
Type string - (Updatable) scaling type for application.
- Max
Replica int - (Updatable) Maximum number of replicas allowed.
- Min
Replica int - (Updatable) Minimum number of replicas to keep running.
- Target
Concurrency intThreshold - (Updatable) number of simultaneous requests that can be processed by each replica.
- Target
Cpu intThreshold - (Updatable) Scale up if average CPU utilization exceeds this threshold.
- Target
Memory intThreshold - (Updatable) Scale up if average memory utilization exceeds this threshold.
- Target
Rps intThreshold - (Updatable) requests-per-second per replica of an application.
- Scaling
Type string - (Updatable) scaling type for application.
- Max
Replica int - (Updatable) Maximum number of replicas allowed.
- Min
Replica int - (Updatable) Minimum number of replicas to keep running.
- Target
Concurrency intThreshold - (Updatable) number of simultaneous requests that can be processed by each replica.
- Target
Cpu intThreshold - (Updatable) Scale up if average CPU utilization exceeds this threshold.
- Target
Memory intThreshold - (Updatable) Scale up if average memory utilization exceeds this threshold.
- Target
Rps intThreshold - (Updatable) requests-per-second per replica of an application.
- scaling_
type string - (Updatable) scaling type for application.
- max_
replica number - (Updatable) Maximum number of replicas allowed.
- min_
replica number - (Updatable) Minimum number of replicas to keep running.
- target_
concurrency_ numberthreshold - (Updatable) number of simultaneous requests that can be processed by each replica.
- target_
cpu_ numberthreshold - (Updatable) Scale up if average CPU utilization exceeds this threshold.
- target_
memory_ numberthreshold - (Updatable) Scale up if average memory utilization exceeds this threshold.
- target_
rps_ numberthreshold - (Updatable) requests-per-second per replica of an application.
- scaling
Type String - (Updatable) scaling type for application.
- max
Replica Integer - (Updatable) Maximum number of replicas allowed.
- min
Replica Integer - (Updatable) Minimum number of replicas to keep running.
- target
Concurrency IntegerThreshold - (Updatable) number of simultaneous requests that can be processed by each replica.
- target
Cpu IntegerThreshold - (Updatable) Scale up if average CPU utilization exceeds this threshold.
- target
Memory IntegerThreshold - (Updatable) Scale up if average memory utilization exceeds this threshold.
- target
Rps IntegerThreshold - (Updatable) requests-per-second per replica of an application.
- scaling
Type string - (Updatable) scaling type for application.
- max
Replica number - (Updatable) Maximum number of replicas allowed.
- min
Replica number - (Updatable) Minimum number of replicas to keep running.
- target
Concurrency numberThreshold - (Updatable) number of simultaneous requests that can be processed by each replica.
- target
Cpu numberThreshold - (Updatable) Scale up if average CPU utilization exceeds this threshold.
- target
Memory numberThreshold - (Updatable) Scale up if average memory utilization exceeds this threshold.
- target
Rps numberThreshold - (Updatable) requests-per-second per replica of an application.
- scaling_
type str - (Updatable) scaling type for application.
- max_
replica int - (Updatable) Maximum number of replicas allowed.
- min_
replica int - (Updatable) Minimum number of replicas to keep running.
- target_
concurrency_ intthreshold - (Updatable) number of simultaneous requests that can be processed by each replica.
- target_
cpu_ intthreshold - (Updatable) Scale up if average CPU utilization exceeds this threshold.
- target_
memory_ intthreshold - (Updatable) Scale up if average memory utilization exceeds this threshold.
- target_
rps_ intthreshold - (Updatable) requests-per-second per replica of an application.
- scaling
Type String - (Updatable) scaling type for application.
- max
Replica Number - (Updatable) Maximum number of replicas allowed.
- min
Replica Number - (Updatable) Minimum number of replicas to keep running.
- target
Concurrency NumberThreshold - (Updatable) number of simultaneous requests that can be processed by each replica.
- target
Cpu NumberThreshold - (Updatable) Scale up if average CPU utilization exceeds this threshold.
- target
Memory NumberThreshold - (Updatable) Scale up if average memory utilization exceeds this threshold.
- target
Rps NumberThreshold - (Updatable) requests-per-second per replica of an application.
HostedApplicationStorageConfig, HostedApplicationStorageConfigArgs
- Environment
Variable stringKey - The key of environment variable to store the database connection.
- Storage
Id string The [OCID] of ApplicationStorage.
** 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
- Environment
Variable stringKey - The key of environment variable to store the database connection.
- Storage
Id string The [OCID] of ApplicationStorage.
** 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
- environment_
variable_ stringkey - The key of environment variable to store the database connection.
- storage_
id string The [OCID] of ApplicationStorage.
** 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
- environment
Variable StringKey - The key of environment variable to store the database connection.
- storage
Id String The [OCID] of ApplicationStorage.
** 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
- environment
Variable stringKey - The key of environment variable to store the database connection.
- storage
Id string The [OCID] of ApplicationStorage.
** 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
- environment_
variable_ strkey - The key of environment variable to store the database connection.
- storage_
id str The [OCID] of ApplicationStorage.
** 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
- environment
Variable StringKey - The key of environment variable to store the database connection.
- storage
Id String The [OCID] of ApplicationStorage.
** 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
Import
HostedApplications can be imported using the id, e.g.
$ pulumi import oci:GenerativeAi/hostedApplication:HostedApplication test_hosted_application "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