published on Thursday, Sep 17, 2026 by Pulumi
published on Thursday, Sep 17, 2026 by Pulumi
This resource provides the Hosted Application IAM resource in Oracle Cloud Infrastructure Generative AI service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/generative-ai/latest/HostedApplicationsIam
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 testHostedApplicationIam = new oci.generativeai.HostedApplicationIam("test_hosted_application_iam", {
compartmentId: compartmentId,
displayName: hostedApplicationIamDisplayName,
definedTags: {
"Operations.CostCenter": "42",
},
description: hostedApplicationIamDescription,
environmentVariables: [{
name: hostedApplicationIamEnvironmentVariablesName,
type: hostedApplicationIamEnvironmentVariablesType,
value: hostedApplicationIamEnvironmentVariablesValue,
}],
freeformTags: {
Department: "Finance",
},
networkingConfig: {
inboundNetworkingConfig: {
endpointMode: hostedApplicationIamNetworkingConfigInboundNetworkingConfigEndpointMode,
},
outboundNetworkingConfig: {
networkMode: hostedApplicationIamNetworkingConfigOutboundNetworkingConfigNetworkMode,
},
},
scalingConfig: {
scalingType: hostedApplicationIamScalingConfigScalingType,
maxReplica: Number(hostedApplicationIamScalingConfigMaxReplica),
minReplica: Number(hostedApplicationIamScalingConfigMinReplica),
targetConcurrencyThreshold: Number(hostedApplicationIamScalingConfigTargetConcurrencyThreshold),
targetCpuThreshold: Number(hostedApplicationIamScalingConfigTargetCpuThreshold),
targetMemoryThreshold: Number(hostedApplicationIamScalingConfigTargetMemoryThreshold),
targetRpsThreshold: Number(hostedApplicationIamScalingConfigTargetRpsThreshold),
},
});
import pulumi
import pulumi_oci as oci
test_hosted_application_iam = oci.generativeai.HostedApplicationIam("test_hosted_application_iam",
compartment_id=compartment_id,
display_name=hosted_application_iam_display_name,
defined_tags={
"Operations.CostCenter": "42",
},
description=hosted_application_iam_description,
environment_variables=[{
"name": hosted_application_iam_environment_variables_name,
"type": hosted_application_iam_environment_variables_type,
"value": hosted_application_iam_environment_variables_value,
}],
freeform_tags={
"Department": "Finance",
},
networking_config={
"inbound_networking_config": {
"endpoint_mode": hosted_application_iam_networking_config_inbound_networking_config_endpoint_mode,
},
"outbound_networking_config": {
"network_mode": hosted_application_iam_networking_config_outbound_networking_config_network_mode,
},
},
scaling_config={
"scaling_type": hosted_application_iam_scaling_config_scaling_type,
"max_replica": int(hosted_application_iam_scaling_config_max_replica),
"min_replica": int(hosted_application_iam_scaling_config_min_replica),
"target_concurrency_threshold": int(hosted_application_iam_scaling_config_target_concurrency_threshold),
"target_cpu_threshold": int(hosted_application_iam_scaling_config_target_cpu_threshold),
"target_memory_threshold": int(hosted_application_iam_scaling_config_target_memory_threshold),
"target_rps_threshold": int(hosted_application_iam_scaling_config_target_rps_threshold),
})
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.NewHostedApplicationIam(ctx, "test_hosted_application_iam", &generativeai.HostedApplicationIamArgs{
CompartmentId: pulumi.Any(compartmentId),
DisplayName: pulumi.Any(hostedApplicationIamDisplayName),
DefinedTags: pulumi.StringMap{
"Operations.CostCenter": pulumi.String("42"),
},
Description: pulumi.Any(hostedApplicationIamDescription),
EnvironmentVariables: generativeai.HostedApplicationIamEnvironmentVariableArray{
&generativeai.HostedApplicationIamEnvironmentVariableArgs{
Name: pulumi.Any(hostedApplicationIamEnvironmentVariablesName),
Type: pulumi.Any(hostedApplicationIamEnvironmentVariablesType),
Value: pulumi.Any(hostedApplicationIamEnvironmentVariablesValue),
},
},
FreeformTags: pulumi.StringMap{
"Department": pulumi.String("Finance"),
},
NetworkingConfig: &generativeai.HostedApplicationIamNetworkingConfigArgs{
InboundNetworkingConfig: &generativeai.HostedApplicationIamNetworkingConfigInboundNetworkingConfigArgs{
EndpointMode: pulumi.Any(hostedApplicationIamNetworkingConfigInboundNetworkingConfigEndpointMode),
},
OutboundNetworkingConfig: &generativeai.HostedApplicationIamNetworkingConfigOutboundNetworkingConfigArgs{
NetworkMode: pulumi.Any(hostedApplicationIamNetworkingConfigOutboundNetworkingConfigNetworkMode),
},
},
ScalingConfig: &generativeai.HostedApplicationIamScalingConfigArgs{
ScalingType: pulumi.Any(hostedApplicationIamScalingConfigScalingType),
MaxReplica: pulumi.Any(hostedApplicationIamScalingConfigMaxReplica),
MinReplica: pulumi.Any(hostedApplicationIamScalingConfigMinReplica),
TargetConcurrencyThreshold: pulumi.Any(hostedApplicationIamScalingConfigTargetConcurrencyThreshold),
TargetCpuThreshold: pulumi.Any(hostedApplicationIamScalingConfigTargetCpuThreshold),
TargetMemoryThreshold: pulumi.Any(hostedApplicationIamScalingConfigTargetMemoryThreshold),
TargetRpsThreshold: pulumi.Any(hostedApplicationIamScalingConfigTargetRpsThreshold),
},
})
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 testHostedApplicationIam = new Oci.GenerativeAi.HostedApplicationIam("test_hosted_application_iam", new()
{
CompartmentId = compartmentId,
DisplayName = hostedApplicationIamDisplayName,
DefinedTags =
{
{ "Operations.CostCenter", "42" },
},
Description = hostedApplicationIamDescription,
EnvironmentVariables = new[]
{
new Oci.GenerativeAi.Inputs.HostedApplicationIamEnvironmentVariableArgs
{
Name = hostedApplicationIamEnvironmentVariablesName,
Type = hostedApplicationIamEnvironmentVariablesType,
Value = hostedApplicationIamEnvironmentVariablesValue,
},
},
FreeformTags =
{
{ "Department", "Finance" },
},
NetworkingConfig = new Oci.GenerativeAi.Inputs.HostedApplicationIamNetworkingConfigArgs
{
InboundNetworkingConfig = new Oci.GenerativeAi.Inputs.HostedApplicationIamNetworkingConfigInboundNetworkingConfigArgs
{
EndpointMode = hostedApplicationIamNetworkingConfigInboundNetworkingConfigEndpointMode,
},
OutboundNetworkingConfig = new Oci.GenerativeAi.Inputs.HostedApplicationIamNetworkingConfigOutboundNetworkingConfigArgs
{
NetworkMode = hostedApplicationIamNetworkingConfigOutboundNetworkingConfigNetworkMode,
},
},
ScalingConfig = new Oci.GenerativeAi.Inputs.HostedApplicationIamScalingConfigArgs
{
ScalingType = hostedApplicationIamScalingConfigScalingType,
MaxReplica = hostedApplicationIamScalingConfigMaxReplica,
MinReplica = hostedApplicationIamScalingConfigMinReplica,
TargetConcurrencyThreshold = hostedApplicationIamScalingConfigTargetConcurrencyThreshold,
TargetCpuThreshold = hostedApplicationIamScalingConfigTargetCpuThreshold,
TargetMemoryThreshold = hostedApplicationIamScalingConfigTargetMemoryThreshold,
TargetRpsThreshold = hostedApplicationIamScalingConfigTargetRpsThreshold,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.GenerativeAi.HostedApplicationIam;
import com.pulumi.oci.GenerativeAi.HostedApplicationIamArgs;
import com.pulumi.oci.GenerativeAi.inputs.HostedApplicationIamEnvironmentVariableArgs;
import com.pulumi.oci.GenerativeAi.inputs.HostedApplicationIamNetworkingConfigArgs;
import com.pulumi.oci.GenerativeAi.inputs.HostedApplicationIamNetworkingConfigInboundNetworkingConfigArgs;
import com.pulumi.oci.GenerativeAi.inputs.HostedApplicationIamNetworkingConfigOutboundNetworkingConfigArgs;
import com.pulumi.oci.GenerativeAi.inputs.HostedApplicationIamScalingConfigArgs;
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 testHostedApplicationIam = new HostedApplicationIam("testHostedApplicationIam", HostedApplicationIamArgs.builder()
.compartmentId(compartmentId)
.displayName(hostedApplicationIamDisplayName)
.definedTags(Map.of("Operations.CostCenter", "42"))
.description(hostedApplicationIamDescription)
.environmentVariables(HostedApplicationIamEnvironmentVariableArgs.builder()
.name(hostedApplicationIamEnvironmentVariablesName)
.type(hostedApplicationIamEnvironmentVariablesType)
.value(hostedApplicationIamEnvironmentVariablesValue)
.build())
.freeformTags(Map.of("Department", "Finance"))
.networkingConfig(HostedApplicationIamNetworkingConfigArgs.builder()
.inboundNetworkingConfig(HostedApplicationIamNetworkingConfigInboundNetworkingConfigArgs.builder()
.endpointMode(hostedApplicationIamNetworkingConfigInboundNetworkingConfigEndpointMode)
.build())
.outboundNetworkingConfig(HostedApplicationIamNetworkingConfigOutboundNetworkingConfigArgs.builder()
.networkMode(hostedApplicationIamNetworkingConfigOutboundNetworkingConfigNetworkMode)
.build())
.build())
.scalingConfig(HostedApplicationIamScalingConfigArgs.builder()
.scalingType(hostedApplicationIamScalingConfigScalingType)
.maxReplica(hostedApplicationIamScalingConfigMaxReplica)
.minReplica(hostedApplicationIamScalingConfigMinReplica)
.targetConcurrencyThreshold(hostedApplicationIamScalingConfigTargetConcurrencyThreshold)
.targetCpuThreshold(hostedApplicationIamScalingConfigTargetCpuThreshold)
.targetMemoryThreshold(hostedApplicationIamScalingConfigTargetMemoryThreshold)
.targetRpsThreshold(hostedApplicationIamScalingConfigTargetRpsThreshold)
.build())
.build());
}
}
resources:
testHostedApplicationIam:
type: oci:GenerativeAi:HostedApplicationIam
name: test_hosted_application_iam
properties:
compartmentId: ${compartmentId}
displayName: ${hostedApplicationIamDisplayName}
definedTags:
Operations.CostCenter: '42'
description: ${hostedApplicationIamDescription}
environmentVariables:
- name: ${hostedApplicationIamEnvironmentVariablesName}
type: ${hostedApplicationIamEnvironmentVariablesType}
value: ${hostedApplicationIamEnvironmentVariablesValue}
freeformTags:
Department: Finance
networkingConfig:
inboundNetworkingConfig:
endpointMode: ${hostedApplicationIamNetworkingConfigInboundNetworkingConfigEndpointMode}
outboundNetworkingConfig:
networkMode: ${hostedApplicationIamNetworkingConfigOutboundNetworkingConfigNetworkMode}
scalingConfig:
scalingType: ${hostedApplicationIamScalingConfigScalingType}
maxReplica: ${hostedApplicationIamScalingConfigMaxReplica}
minReplica: ${hostedApplicationIamScalingConfigMinReplica}
targetConcurrencyThreshold: ${hostedApplicationIamScalingConfigTargetConcurrencyThreshold}
targetCpuThreshold: ${hostedApplicationIamScalingConfigTargetCpuThreshold}
targetMemoryThreshold: ${hostedApplicationIamScalingConfigTargetMemoryThreshold}
targetRpsThreshold: ${hostedApplicationIamScalingConfigTargetRpsThreshold}
pulumi {
required_providers {
oci = {
source = "pulumi/oci"
}
}
}
resource "oci_generativeai_hostedapplicationiam" "test_hosted_application_iam" {
compartment_id = compartmentId
display_name = hostedApplicationIamDisplayName
defined_tags = {
"Operations.CostCenter" = "42"
}
description = hostedApplicationIamDescription
environment_variables {
name = hostedApplicationIamEnvironmentVariablesName
type = hostedApplicationIamEnvironmentVariablesType
value = hostedApplicationIamEnvironmentVariablesValue
}
#Required
freeform_tags = {
"Department" = "Finance"
}
networking_config = {
inbound_networking_config = {
endpoint_mode = hostedApplicationIamNetworkingConfigInboundNetworkingConfigEndpointMode
}
outbound_networking_config = {
network_mode = hostedApplicationIamNetworkingConfigOutboundNetworkingConfigNetworkMode
}
}
#Required
#Required
scaling_config = {
scaling_type = hostedApplicationIamScalingConfigScalingType
max_replica = hostedApplicationIamScalingConfigMaxReplica
min_replica = hostedApplicationIamScalingConfigMinReplica
target_concurrency_threshold = hostedApplicationIamScalingConfigTargetConcurrencyThreshold
target_cpu_threshold = hostedApplicationIamScalingConfigTargetCpuThreshold
target_memory_threshold = hostedApplicationIamScalingConfigTargetMemoryThreshold
target_rps_threshold = hostedApplicationIamScalingConfigTargetRpsThreshold
}
}
Create HostedApplicationIam Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new HostedApplicationIam(name: string, args: HostedApplicationIamArgs, opts?: CustomResourceOptions);@overload
def HostedApplicationIam(resource_name: str,
args: HostedApplicationIamArgs,
opts: Optional[ResourceOptions] = None)
@overload
def HostedApplicationIam(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[HostedApplicationIamEnvironmentVariableArgs]] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
networking_config: Optional[HostedApplicationIamNetworkingConfigArgs] = None,
scaling_config: Optional[HostedApplicationIamScalingConfigArgs] = None,
storage_configs: Optional[Sequence[HostedApplicationIamStorageConfigArgs]] = None)func NewHostedApplicationIam(ctx *Context, name string, args HostedApplicationIamArgs, opts ...ResourceOption) (*HostedApplicationIam, error)public HostedApplicationIam(string name, HostedApplicationIamArgs args, CustomResourceOptions? opts = null)
public HostedApplicationIam(String name, HostedApplicationIamArgs args)
public HostedApplicationIam(String name, HostedApplicationIamArgs args, CustomResourceOptions options)
type: oci:GenerativeAi:HostedApplicationIam
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "oci_generative_ai_hosted_application_iam" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args HostedApplicationIamArgs
- 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 HostedApplicationIamArgs
- 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 HostedApplicationIamArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args HostedApplicationIamArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args HostedApplicationIamArgs
- 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 hostedApplicationIamResource = new Oci.GenerativeAi.HostedApplicationIam("hostedApplicationIamResource", new()
{
CompartmentId = "string",
DisplayName = "string",
DefinedTags =
{
{ "string", "string" },
},
Description = "string",
EnvironmentVariables = new[]
{
new Oci.GenerativeAi.Inputs.HostedApplicationIamEnvironmentVariableArgs
{
Name = "string",
Type = "string",
Value = "string",
},
},
FreeformTags =
{
{ "string", "string" },
},
NetworkingConfig = new Oci.GenerativeAi.Inputs.HostedApplicationIamNetworkingConfigArgs
{
InboundNetworkingConfig = new Oci.GenerativeAi.Inputs.HostedApplicationIamNetworkingConfigInboundNetworkingConfigArgs
{
EndpointMode = "string",
PrivateEndpointId = "string",
},
OutboundNetworkingConfig = new Oci.GenerativeAi.Inputs.HostedApplicationIamNetworkingConfigOutboundNetworkingConfigArgs
{
NetworkMode = "string",
CustomSubnetId = "string",
NsgIds = new[]
{
"string",
},
},
},
ScalingConfig = new Oci.GenerativeAi.Inputs.HostedApplicationIamScalingConfigArgs
{
ScalingType = "string",
MaxReplica = 0,
MinReplica = 0,
TargetConcurrencyThreshold = 0,
TargetCpuThreshold = 0,
TargetMemoryThreshold = 0,
TargetRpsThreshold = 0,
},
StorageConfigs = new[]
{
new Oci.GenerativeAi.Inputs.HostedApplicationIamStorageConfigArgs
{
EnvironmentVariableKey = "string",
StorageId = "string",
},
},
});
example, err := generativeai.NewHostedApplicationIam(ctx, "hostedApplicationIamResource", &generativeai.HostedApplicationIamArgs{
CompartmentId: pulumi.String("string"),
DisplayName: pulumi.String("string"),
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Description: pulumi.String("string"),
EnvironmentVariables: generativeai.HostedApplicationIamEnvironmentVariableArray{
&generativeai.HostedApplicationIamEnvironmentVariableArgs{
Name: pulumi.String("string"),
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
NetworkingConfig: &generativeai.HostedApplicationIamNetworkingConfigArgs{
InboundNetworkingConfig: &generativeai.HostedApplicationIamNetworkingConfigInboundNetworkingConfigArgs{
EndpointMode: pulumi.String("string"),
PrivateEndpointId: pulumi.String("string"),
},
OutboundNetworkingConfig: &generativeai.HostedApplicationIamNetworkingConfigOutboundNetworkingConfigArgs{
NetworkMode: pulumi.String("string"),
CustomSubnetId: pulumi.String("string"),
NsgIds: pulumi.StringArray{
pulumi.String("string"),
},
},
},
ScalingConfig: &generativeai.HostedApplicationIamScalingConfigArgs{
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.HostedApplicationIamStorageConfigArray{
&generativeai.HostedApplicationIamStorageConfigArgs{
EnvironmentVariableKey: pulumi.String("string"),
StorageId: pulumi.String("string"),
},
},
})
resource "oci_generative_ai_hosted_application_iam" "hostedApplicationIamResource" {
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"
}
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 hostedApplicationIamResource = new HostedApplicationIam("hostedApplicationIamResource", HostedApplicationIamArgs.builder()
.compartmentId("string")
.displayName("string")
.definedTags(Map.of("string", "string"))
.description("string")
.environmentVariables(HostedApplicationIamEnvironmentVariableArgs.builder()
.name("string")
.type("string")
.value("string")
.build())
.freeformTags(Map.of("string", "string"))
.networkingConfig(HostedApplicationIamNetworkingConfigArgs.builder()
.inboundNetworkingConfig(HostedApplicationIamNetworkingConfigInboundNetworkingConfigArgs.builder()
.endpointMode("string")
.privateEndpointId("string")
.build())
.outboundNetworkingConfig(HostedApplicationIamNetworkingConfigOutboundNetworkingConfigArgs.builder()
.networkMode("string")
.customSubnetId("string")
.nsgIds("string")
.build())
.build())
.scalingConfig(HostedApplicationIamScalingConfigArgs.builder()
.scalingType("string")
.maxReplica(0)
.minReplica(0)
.targetConcurrencyThreshold(0)
.targetCpuThreshold(0)
.targetMemoryThreshold(0)
.targetRpsThreshold(0)
.build())
.storageConfigs(HostedApplicationIamStorageConfigArgs.builder()
.environmentVariableKey("string")
.storageId("string")
.build())
.build());
hosted_application_iam_resource = oci.generativeai.HostedApplicationIam("hostedApplicationIamResource",
compartment_id="string",
display_name="string",
defined_tags={
"string": "string",
},
description="string",
environment_variables=[{
"name": "string",
"type": "string",
"value": "string",
}],
freeform_tags={
"string": "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 hostedApplicationIamResource = new oci.generativeai.HostedApplicationIam("hostedApplicationIamResource", {
compartmentId: "string",
displayName: "string",
definedTags: {
string: "string",
},
description: "string",
environmentVariables: [{
name: "string",
type: "string",
value: "string",
}],
freeformTags: {
string: "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:HostedApplicationIam
properties:
compartmentId: string
definedTags:
string: string
description: string
displayName: string
environmentVariables:
- name: string
type: string
value: string
freeformTags:
string: 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
HostedApplicationIam 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 HostedApplicationIam 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 Iam 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"} - Networking
Config HostedApplication Iam Networking Config - Networking configuration.
- Scaling
Config HostedApplication Iam 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 Iam 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 Iam 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"} - Networking
Config HostedApplication Iam Networking Config Args - Networking configuration.
- Scaling
Config HostedApplication Iam 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 Iam 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"} - 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 Iam 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"} - networking
Config HostedApplication Iam Networking Config - Networking configuration.
- scaling
Config HostedApplication Iam 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 Iam 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 Iam 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"} - networking
Config HostedApplication Iam Networking Config - Networking configuration.
- scaling
Config HostedApplication Iam 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 Iam 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 Iam 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"} - networking_
config HostedApplication Iam Networking Config Args - Networking configuration.
- scaling_
config HostedApplication Iam 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 Iam 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"} - 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 HostedApplicationIam 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 HostedApplicationIam Resource
Get an existing HostedApplicationIam 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?: HostedApplicationIamState, opts?: CustomResourceOptions): HostedApplicationIam@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[HostedApplicationIamEnvironmentVariableArgs]] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
lifecycle_details: Optional[str] = None,
networking_config: Optional[HostedApplicationIamNetworkingConfigArgs] = None,
scaling_config: Optional[HostedApplicationIamScalingConfigArgs] = None,
state: Optional[str] = None,
storage_configs: Optional[Sequence[HostedApplicationIamStorageConfigArgs]] = None,
system_tags: Optional[Mapping[str, str]] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None) -> HostedApplicationIamfunc GetHostedApplicationIam(ctx *Context, name string, id IDInput, state *HostedApplicationIamState, opts ...ResourceOption) (*HostedApplicationIam, error)public static HostedApplicationIam Get(string name, Input<string> id, HostedApplicationIamState? state, CustomResourceOptions? opts = null)public static HostedApplicationIam get(String name, Output<String> id, HostedApplicationIamState state, CustomResourceOptions options)resources: _: type: oci:GenerativeAi:HostedApplicationIam get: id: ${id}import {
to = oci_generative_ai_hosted_application_iam.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 Iam 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"} - Lifecycle
Details string - A message describing the current state of the endpoint in more detail that can provide actionable information.
- Networking
Config HostedApplication Iam Networking Config - Networking configuration.
- Scaling
Config HostedApplication Iam 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 Iam 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 Iam 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"} - Lifecycle
Details string - A message describing the current state of the endpoint in more detail that can provide actionable information.
- Networking
Config HostedApplication Iam Networking Config Args - Networking configuration.
- Scaling
Config HostedApplication Iam 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 Iam 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"} - 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 Iam 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"} - lifecycle
Details String - A message describing the current state of the endpoint in more detail that can provide actionable information.
- networking
Config HostedApplication Iam Networking Config - Networking configuration.
- scaling
Config HostedApplication Iam 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 Iam 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 Iam 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"} - lifecycle
Details string - A message describing the current state of the endpoint in more detail that can provide actionable information.
- networking
Config HostedApplication Iam Networking Config - Networking configuration.
- scaling
Config HostedApplication Iam 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 Iam 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 Iam 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"} - lifecycle_
details str - A message describing the current state of the endpoint in more detail that can provide actionable information.
- networking_
config HostedApplication Iam Networking Config Args - Networking configuration.
- scaling_
config HostedApplication Iam 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 Iam 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"} - 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
HostedApplicationIamEnvironmentVariable, HostedApplicationIamEnvironmentVariableArgs
HostedApplicationIamNetworkingConfig, HostedApplicationIamNetworkingConfigArgs
- Inbound
Networking HostedConfig Application Iam Networking Config Inbound Networking Config - Inbound Networking configuration.
- Outbound
Networking HostedConfig Application Iam Networking Config Outbound Networking Config - Outbound Networking configuration.
- Inbound
Networking HostedConfig Application Iam Networking Config Inbound Networking Config - Inbound Networking configuration.
- Outbound
Networking HostedConfig Application Iam Networking Config Outbound Networking Config - Outbound Networking configuration.
- inbound_
networking_ objectconfig - Inbound Networking configuration.
- outbound_
networking_ objectconfig - Outbound Networking configuration.
- inbound
Networking HostedConfig Application Iam Networking Config Inbound Networking Config - Inbound Networking configuration.
- outbound
Networking HostedConfig Application Iam Networking Config Outbound Networking Config - Outbound Networking configuration.
- inbound
Networking HostedConfig Application Iam Networking Config Inbound Networking Config - Inbound Networking configuration.
- outbound
Networking HostedConfig Application Iam Networking Config Outbound Networking Config - Outbound Networking configuration.
- inbound_
networking_ Hostedconfig Application Iam Networking Config Inbound Networking Config - Inbound Networking configuration.
- outbound_
networking_ Hostedconfig Application Iam Networking Config Outbound Networking Config - Outbound Networking configuration.
- inbound
Networking Property MapConfig - Inbound Networking configuration.
- outbound
Networking Property MapConfig - Outbound Networking configuration.
HostedApplicationIamNetworkingConfigInboundNetworkingConfig, HostedApplicationIamNetworkingConfigInboundNetworkingConfigArgs
- 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
HostedApplicationIamNetworkingConfigOutboundNetworkingConfig, HostedApplicationIamNetworkingConfigOutboundNetworkingConfigArgs
- 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.
HostedApplicationIamScalingConfig, HostedApplicationIamScalingConfigArgs
- 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.
HostedApplicationIamStorageConfig, HostedApplicationIamStorageConfigArgs
- 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
Hosted Application IAM resources can be imported using the id, e.g.
$ pulumi import oci:GenerativeAi/hostedApplicationIam:HostedApplicationIam test_hosted_application_iam "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