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

    This resource provides the Hosted 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:

    CompartmentId string
    (Updatable) The compartment OCID for the Hosted Application.
    DisplayName string
    (Updatable) The user-friendly display name for the Hosted Application. Does not need to be unique and can be updated after creation.
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    (Updatable) The description for the Hosted Application.
    EnvironmentVariables List<HostedApplicationIamEnvironmentVariable>
    (Updatable) The list of environment variables for the Hosted Application. Defines a list of environment variables injected at runtime.
    FreeformTags Dictionary<string, string>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    NetworkingConfig HostedApplicationIamNetworkingConfig
    Networking configuration.
    ScalingConfig HostedApplicationIamScalingConfig
    (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.
    StorageConfigs List<HostedApplicationIamStorageConfig>
    The list of storage configuration for the Hosted Application. Defines a list of service-managed storage back-ends.
    CompartmentId string
    (Updatable) The compartment OCID for the Hosted Application.
    DisplayName string
    (Updatable) The user-friendly display name for the Hosted Application. Does not need to be unique and can be updated after creation.
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    (Updatable) The description for the Hosted Application.
    EnvironmentVariables []HostedApplicationIamEnvironmentVariableArgs
    (Updatable) The list of environment variables for the Hosted Application. Defines a list of environment variables injected at runtime.
    FreeformTags map[string]string
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    NetworkingConfig HostedApplicationIamNetworkingConfigArgs
    Networking configuration.
    ScalingConfig HostedApplicationIamScalingConfigArgs
    (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.
    StorageConfigs []HostedApplicationIamStorageConfigArgs
    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.
    defined_tags map(string)
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    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.
    freeform_tags map(string)
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    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.
    compartmentId String
    (Updatable) The compartment OCID for the Hosted Application.
    displayName String
    (Updatable) The user-friendly display name for the Hosted Application. Does not need to be unique and can be updated after creation.
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    (Updatable) The description for the Hosted Application.
    environmentVariables List<HostedApplicationIamEnvironmentVariable>
    (Updatable) The list of environment variables for the Hosted Application. Defines a list of environment variables injected at runtime.
    freeformTags Map<String,String>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    networkingConfig HostedApplicationIamNetworkingConfig
    Networking configuration.
    scalingConfig HostedApplicationIamScalingConfig
    (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.
    storageConfigs List<HostedApplicationIamStorageConfig>
    The list of storage configuration for the Hosted Application. Defines a list of service-managed storage back-ends.
    compartmentId string
    (Updatable) The compartment OCID for the Hosted Application.
    displayName string
    (Updatable) The user-friendly display name for the Hosted Application. Does not need to be unique and can be updated after creation.
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description string
    (Updatable) The description for the Hosted Application.
    environmentVariables HostedApplicationIamEnvironmentVariable[]
    (Updatable) The list of environment variables for the Hosted Application. Defines a list of environment variables injected at runtime.
    freeformTags {[key: string]: string}
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    networkingConfig HostedApplicationIamNetworkingConfig
    Networking configuration.
    scalingConfig HostedApplicationIamScalingConfig
    (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.
    storageConfigs HostedApplicationIamStorageConfig[]
    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.
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description str
    (Updatable) The description for the Hosted Application.
    environment_variables Sequence[HostedApplicationIamEnvironmentVariableArgs]
    (Updatable) The list of environment variables for the Hosted Application. Defines a list of environment variables injected at runtime.
    freeform_tags Mapping[str, str]
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    networking_config HostedApplicationIamNetworkingConfigArgs
    Networking configuration.
    scaling_config HostedApplicationIamScalingConfigArgs
    (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[HostedApplicationIamStorageConfigArgs]
    The list of storage configuration for the Hosted Application. Defines a list of service-managed storage back-ends.
    compartmentId String
    (Updatable) The compartment OCID for the Hosted Application.
    displayName String
    (Updatable) The user-friendly display name for the Hosted Application. Does not need to be unique and can be updated after creation.
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    (Updatable) The description for the Hosted Application.
    environmentVariables List<Property Map>
    (Updatable) The list of environment variables for the Hosted Application. Defines a list of environment variables injected at runtime.
    freeformTags Map<String>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    networkingConfig Property Map
    Networking configuration.
    scalingConfig 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.
    storageConfigs 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.
    LifecycleDetails 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.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the hosted application was created, in the format defined by RFC 3339
    TimeUpdated 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.
    LifecycleDetails 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.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the hosted application was created, in the format defined by RFC 3339
    TimeUpdated 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.
    system_tags map(string)
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created string
    The date and time the hosted 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.
    lifecycleDetails 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.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the hosted application was created, in the format defined by RFC 3339
    timeUpdated 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.
    lifecycleDetails 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.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The date and time the hosted application was created, in the format defined by RFC 3339
    timeUpdated 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.
    system_tags Mapping[str, str]
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The date and time the hosted 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.
    lifecycleDetails 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.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the hosted application was created, in the format defined by RFC 3339
    timeUpdated 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) -> HostedApplicationIam
    func 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.
    The following state arguments are supported:
    CompartmentId string
    (Updatable) The compartment OCID for the Hosted Application.
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    (Updatable) The description for the Hosted Application.
    DisplayName string
    (Updatable) The user-friendly display name for the Hosted Application. Does not need to be unique and can be updated after creation.
    EnvironmentVariables List<HostedApplicationIamEnvironmentVariable>
    (Updatable) The list of environment variables for the Hosted Application. Defines a list of environment variables injected at runtime.
    FreeformTags Dictionary<string, string>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    LifecycleDetails string
    A message describing the current state of the endpoint in more detail that can provide actionable information.
    NetworkingConfig HostedApplicationIamNetworkingConfig
    Networking configuration.
    ScalingConfig HostedApplicationIamScalingConfig
    (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.
    StorageConfigs List<HostedApplicationIamStorageConfig>
    The list of storage configuration for the Hosted Application. Defines a list of service-managed storage back-ends.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the hosted application was created, in the format defined by RFC 3339
    TimeUpdated string
    The date and time the hosted application was updated, in the format defined by RFC 3339
    CompartmentId string
    (Updatable) The compartment OCID for the Hosted Application.
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    (Updatable) The description for the Hosted Application.
    DisplayName string
    (Updatable) The user-friendly display name for the Hosted Application. Does not need to be unique and can be updated after creation.
    EnvironmentVariables []HostedApplicationIamEnvironmentVariableArgs
    (Updatable) The list of environment variables for the Hosted Application. Defines a list of environment variables injected at runtime.
    FreeformTags map[string]string
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    LifecycleDetails string
    A message describing the current state of the endpoint in more detail that can provide actionable information.
    NetworkingConfig HostedApplicationIamNetworkingConfigArgs
    Networking configuration.
    ScalingConfig HostedApplicationIamScalingConfigArgs
    (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.
    StorageConfigs []HostedApplicationIamStorageConfigArgs
    The list of storage configuration for the Hosted Application. Defines a list of service-managed storage back-ends.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the hosted application was created, in the format defined by RFC 3339
    TimeUpdated 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.
    defined_tags map(string)
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    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.
    freeform_tags map(string)
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    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.
    system_tags map(string)
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created string
    The date and time the hosted 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
    compartmentId String
    (Updatable) The compartment OCID for the Hosted Application.
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    (Updatable) The description for the Hosted Application.
    displayName String
    (Updatable) The user-friendly display name for the Hosted Application. Does not need to be unique and can be updated after creation.
    environmentVariables List<HostedApplicationIamEnvironmentVariable>
    (Updatable) The list of environment variables for the Hosted Application. Defines a list of environment variables injected at runtime.
    freeformTags Map<String,String>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    lifecycleDetails String
    A message describing the current state of the endpoint in more detail that can provide actionable information.
    networkingConfig HostedApplicationIamNetworkingConfig
    Networking configuration.
    scalingConfig HostedApplicationIamScalingConfig
    (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.
    storageConfigs List<HostedApplicationIamStorageConfig>
    The list of storage configuration for the Hosted Application. Defines a list of service-managed storage back-ends.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the hosted application was created, in the format defined by RFC 3339
    timeUpdated String
    The date and time the hosted application was updated, in the format defined by RFC 3339
    compartmentId string
    (Updatable) The compartment OCID for the Hosted Application.
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description string
    (Updatable) The description for the Hosted Application.
    displayName string
    (Updatable) The user-friendly display name for the Hosted Application. Does not need to be unique and can be updated after creation.
    environmentVariables HostedApplicationIamEnvironmentVariable[]
    (Updatable) The list of environment variables for the Hosted Application. Defines a list of environment variables injected at runtime.
    freeformTags {[key: string]: string}
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    lifecycleDetails string
    A message describing the current state of the endpoint in more detail that can provide actionable information.
    networkingConfig HostedApplicationIamNetworkingConfig
    Networking configuration.
    scalingConfig HostedApplicationIamScalingConfig
    (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.
    storageConfigs HostedApplicationIamStorageConfig[]
    The list of storage configuration for the Hosted Application. Defines a list of service-managed storage back-ends.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The date and time the hosted application was created, in the format defined by RFC 3339
    timeUpdated 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.
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    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[HostedApplicationIamEnvironmentVariableArgs]
    (Updatable) The list of environment variables for the Hosted Application. Defines a list of environment variables injected at runtime.
    freeform_tags Mapping[str, str]
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    lifecycle_details str
    A message describing the current state of the endpoint in more detail that can provide actionable information.
    networking_config HostedApplicationIamNetworkingConfigArgs
    Networking configuration.
    scaling_config HostedApplicationIamScalingConfigArgs
    (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[HostedApplicationIamStorageConfigArgs]
    The list of storage configuration for the Hosted Application. Defines a list of service-managed storage back-ends.
    system_tags Mapping[str, str]
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The date and time the hosted 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
    compartmentId String
    (Updatable) The compartment OCID for the Hosted Application.
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    (Updatable) The description for the Hosted Application.
    displayName String
    (Updatable) The user-friendly display name for the Hosted Application. Does not need to be unique and can be updated after creation.
    environmentVariables List<Property Map>
    (Updatable) The list of environment variables for the Hosted Application. Defines a list of environment variables injected at runtime.
    freeformTags Map<String>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    lifecycleDetails String
    A message describing the current state of the endpoint in more detail that can provide actionable information.
    networkingConfig Property Map
    Networking configuration.
    scalingConfig 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.
    storageConfigs List<Property Map>
    The list of storage configuration for the Hosted Application. Defines a list of service-managed storage back-ends.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the hosted application was created, in the format defined by RFC 3339
    timeUpdated String
    The date and time the hosted application was updated, in the format defined by RFC 3339

    Supporting Types

    HostedApplicationIamEnvironmentVariable, HostedApplicationIamEnvironmentVariableArgs

    Name string
    (Updatable) Name of the environment variable.
    Type string
    (Updatable) Type of the environment variable (PLAINTEXT or VAULT, no default value).
    Value string
    (Updatable) Value of the environment variable.
    Name string
    (Updatable) Name of the environment variable.
    Type string
    (Updatable) Type of the environment variable (PLAINTEXT or VAULT, no default value).
    Value string
    (Updatable) Value of the environment variable.
    name string
    (Updatable) Name of the environment variable.
    type string
    (Updatable) Type of the environment variable (PLAINTEXT or VAULT, no default value).
    value string
    (Updatable) Value of the environment variable.
    name String
    (Updatable) Name of the environment variable.
    type String
    (Updatable) Type of the environment variable (PLAINTEXT or VAULT, no default value).
    value String
    (Updatable) Value of the environment variable.
    name string
    (Updatable) Name of the environment variable.
    type string
    (Updatable) Type of the environment variable (PLAINTEXT or VAULT, no default value).
    value string
    (Updatable) Value of the environment variable.
    name str
    (Updatable) Name of the environment variable.
    type str
    (Updatable) Type of the environment variable (PLAINTEXT or VAULT, no default value).
    value str
    (Updatable) Value of the environment variable.
    name String
    (Updatable) Name of the environment variable.
    type String
    (Updatable) Type of the environment variable (PLAINTEXT or VAULT, no default value).
    value String
    (Updatable) Value of the environment variable.

    HostedApplicationIamNetworkingConfig, HostedApplicationIamNetworkingConfigArgs

    inbound_networking_config object
    Inbound Networking configuration.
    outbound_networking_config object
    Outbound Networking configuration.
    inboundNetworkingConfig Property Map
    Inbound Networking configuration.
    outboundNetworkingConfig Property Map
    Outbound Networking configuration.

    HostedApplicationIamNetworkingConfigInboundNetworkingConfig, HostedApplicationIamNetworkingConfigInboundNetworkingConfigArgs

    EndpointMode string
    inbounding from public or private endpoint.
    PrivateEndpointId string
    The [OCID] of Private Endpoint when endpointMode=Private
    EndpointMode string
    inbounding from public or private endpoint.
    PrivateEndpointId string
    The [OCID] of Private Endpoint when endpointMode=Private
    endpoint_mode string
    inbounding from public or private endpoint.
    private_endpoint_id string
    The [OCID] of Private Endpoint when endpointMode=Private
    endpointMode String
    inbounding from public or private endpoint.
    privateEndpointId String
    The [OCID] of Private Endpoint when endpointMode=Private
    endpointMode string
    inbounding from public or private endpoint.
    privateEndpointId string
    The [OCID] of Private Endpoint when endpointMode=Private
    endpoint_mode str
    inbounding from public or private endpoint.
    private_endpoint_id str
    The [OCID] of Private Endpoint when endpointMode=Private
    endpointMode String
    inbounding from public or private endpoint.
    privateEndpointId String
    The [OCID] of Private Endpoint when endpointMode=Private

    HostedApplicationIamNetworkingConfigOutboundNetworkingConfig, HostedApplicationIamNetworkingConfigOutboundNetworkingConfigArgs

    NetworkMode string
    outbounding to managed internet or customer network.
    CustomSubnetId string
    ocid of customer subnet when networkMode=Custom
    NsgIds List<string>
    A list of the OCIDs of the network security groups that the private endpoint's VNIC belongs to.
    NetworkMode string
    outbounding to managed internet or customer network.
    CustomSubnetId string
    ocid of customer subnet when networkMode=Custom
    NsgIds []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_id string
    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.
    networkMode String
    outbounding to managed internet or customer network.
    customSubnetId String
    ocid of customer subnet when networkMode=Custom
    nsgIds List<String>
    A list of the OCIDs of the network security groups that the private endpoint's VNIC belongs to.
    networkMode string
    outbounding to managed internet or customer network.
    customSubnetId string
    ocid of customer subnet when networkMode=Custom
    nsgIds 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_id str
    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.
    networkMode String
    outbounding to managed internet or customer network.
    customSubnetId String
    ocid of customer subnet when networkMode=Custom
    nsgIds List<String>
    A list of the OCIDs of the network security groups that the private endpoint's VNIC belongs to.

    HostedApplicationIamScalingConfig, HostedApplicationIamScalingConfigArgs

    ScalingType string
    (Updatable) scaling type for application.
    MaxReplica int
    (Updatable) Maximum number of replicas allowed.
    MinReplica int
    (Updatable) Minimum number of replicas to keep running.
    TargetConcurrencyThreshold int
    (Updatable) number of simultaneous requests that can be processed by each replica.
    TargetCpuThreshold int
    (Updatable) Scale up if average CPU utilization exceeds this threshold.
    TargetMemoryThreshold int
    (Updatable) Scale up if average memory utilization exceeds this threshold.
    TargetRpsThreshold int
    (Updatable) requests-per-second per replica of an application.
    ScalingType string
    (Updatable) scaling type for application.
    MaxReplica int
    (Updatable) Maximum number of replicas allowed.
    MinReplica int
    (Updatable) Minimum number of replicas to keep running.
    TargetConcurrencyThreshold int
    (Updatable) number of simultaneous requests that can be processed by each replica.
    TargetCpuThreshold int
    (Updatable) Scale up if average CPU utilization exceeds this threshold.
    TargetMemoryThreshold int
    (Updatable) Scale up if average memory utilization exceeds this threshold.
    TargetRpsThreshold int
    (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_threshold number
    (Updatable) number of simultaneous requests that can be processed by each replica.
    target_cpu_threshold number
    (Updatable) Scale up if average CPU utilization exceeds this threshold.
    target_memory_threshold number
    (Updatable) Scale up if average memory utilization exceeds this threshold.
    target_rps_threshold number
    (Updatable) requests-per-second per replica of an application.
    scalingType String
    (Updatable) scaling type for application.
    maxReplica Integer
    (Updatable) Maximum number of replicas allowed.
    minReplica Integer
    (Updatable) Minimum number of replicas to keep running.
    targetConcurrencyThreshold Integer
    (Updatable) number of simultaneous requests that can be processed by each replica.
    targetCpuThreshold Integer
    (Updatable) Scale up if average CPU utilization exceeds this threshold.
    targetMemoryThreshold Integer
    (Updatable) Scale up if average memory utilization exceeds this threshold.
    targetRpsThreshold Integer
    (Updatable) requests-per-second per replica of an application.
    scalingType string
    (Updatable) scaling type for application.
    maxReplica number
    (Updatable) Maximum number of replicas allowed.
    minReplica number
    (Updatable) Minimum number of replicas to keep running.
    targetConcurrencyThreshold number
    (Updatable) number of simultaneous requests that can be processed by each replica.
    targetCpuThreshold number
    (Updatable) Scale up if average CPU utilization exceeds this threshold.
    targetMemoryThreshold number
    (Updatable) Scale up if average memory utilization exceeds this threshold.
    targetRpsThreshold number
    (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_threshold int
    (Updatable) number of simultaneous requests that can be processed by each replica.
    target_cpu_threshold int
    (Updatable) Scale up if average CPU utilization exceeds this threshold.
    target_memory_threshold int
    (Updatable) Scale up if average memory utilization exceeds this threshold.
    target_rps_threshold int
    (Updatable) requests-per-second per replica of an application.
    scalingType String
    (Updatable) scaling type for application.
    maxReplica Number
    (Updatable) Maximum number of replicas allowed.
    minReplica Number
    (Updatable) Minimum number of replicas to keep running.
    targetConcurrencyThreshold Number
    (Updatable) number of simultaneous requests that can be processed by each replica.
    targetCpuThreshold Number
    (Updatable) Scale up if average CPU utilization exceeds this threshold.
    targetMemoryThreshold Number
    (Updatable) Scale up if average memory utilization exceeds this threshold.
    targetRpsThreshold Number
    (Updatable) requests-per-second per replica of an application.

    HostedApplicationIamStorageConfig, HostedApplicationIamStorageConfigArgs

    EnvironmentVariableKey string
    The key of environment variable to store the database connection.
    StorageId 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

    EnvironmentVariableKey string
    The key of environment variable to store the database connection.
    StorageId 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_key string
    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

    environmentVariableKey String
    The key of environment variable to store the database connection.
    storageId 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

    environmentVariableKey string
    The key of environment variable to store the database connection.
    storageId 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_key str
    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

    environmentVariableKey String
    The key of environment variable to store the database connection.
    storageId 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 oci Terraform Provider.
    oci logo oci logo
    Viewing docs for Oracle Cloud Infrastructure v5.0.0
    published on Thursday, Sep 17, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial