1. Registry
  2. Packages
  3. Oracle Cloud Infrastructure
  4. API Docs
  5. GenerativeAi
  6. HostedApplication
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 resource in Oracle Cloud Infrastructure Generative AI service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/generative-ai/latest/HostedApplication

    Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/generative_ai

    Creates a hosted application.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testHostedApplication = new oci.generativeai.HostedApplication("test_hosted_application", {
        compartmentId: compartmentId,
        displayName: hostedApplicationDisplayName,
        inboundAuthConfig: {
            inboundAuthConfigType: hostedApplicationInboundAuthConfigInboundAuthConfigType,
            idcsConfig: {
                domainUrl: hostedApplicationInboundAuthConfigIdcsConfigDomainUrl,
                scope: hostedApplicationInboundAuthConfigIdcsConfigScope,
                audience: hostedApplicationInboundAuthConfigIdcsConfigAudience,
            },
        },
        definedTags: {
            "Operations.CostCenter": "42",
        },
        description: hostedApplicationDescription,
        environmentVariables: [{
            name: hostedApplicationEnvironmentVariablesName,
            type: hostedApplicationEnvironmentVariablesType,
            value: hostedApplicationEnvironmentVariablesValue,
        }],
        freeformTags: {
            Department: "Finance",
        },
        networkingConfig: {
            inboundNetworkingConfig: {
                endpointMode: hostedApplicationNetworkingConfigInboundNetworkingConfigEndpointMode,
                privateEndpointId: testGenerativeAiPrivateEndpoint.id,
            },
            outboundNetworkingConfig: {
                networkMode: hostedApplicationNetworkingConfigOutboundNetworkingConfigNetworkMode,
                customSubnetId: testSubnet.id,
                nsgIds: hostedApplicationNetworkingConfigOutboundNetworkingConfigNsgIds,
            },
        },
        scalingConfig: {
            scalingType: hostedApplicationScalingConfigScalingType,
            maxReplica: Number(hostedApplicationScalingConfigMaxReplica),
            minReplica: Number(hostedApplicationScalingConfigMinReplica),
            targetConcurrencyThreshold: Number(hostedApplicationScalingConfigTargetConcurrencyThreshold),
            targetCpuThreshold: Number(hostedApplicationScalingConfigTargetCpuThreshold),
            targetMemoryThreshold: Number(hostedApplicationScalingConfigTargetMemoryThreshold),
            targetRpsThreshold: Number(hostedApplicationScalingConfigTargetRpsThreshold),
        },
        storageConfigs: [{
            environmentVariableKey: hostedApplicationStorageConfigsEnvironmentVariableKey,
            storageId: testStorage.id,
        }],
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_hosted_application = oci.generativeai.HostedApplication("test_hosted_application",
        compartment_id=compartment_id,
        display_name=hosted_application_display_name,
        inbound_auth_config={
            "inbound_auth_config_type": hosted_application_inbound_auth_config_inbound_auth_config_type,
            "idcs_config": {
                "domain_url": hosted_application_inbound_auth_config_idcs_config_domain_url,
                "scope": hosted_application_inbound_auth_config_idcs_config_scope,
                "audience": hosted_application_inbound_auth_config_idcs_config_audience,
            },
        },
        defined_tags={
            "Operations.CostCenter": "42",
        },
        description=hosted_application_description,
        environment_variables=[{
            "name": hosted_application_environment_variables_name,
            "type": hosted_application_environment_variables_type,
            "value": hosted_application_environment_variables_value,
        }],
        freeform_tags={
            "Department": "Finance",
        },
        networking_config={
            "inbound_networking_config": {
                "endpoint_mode": hosted_application_networking_config_inbound_networking_config_endpoint_mode,
                "private_endpoint_id": test_generative_ai_private_endpoint["id"],
            },
            "outbound_networking_config": {
                "network_mode": hosted_application_networking_config_outbound_networking_config_network_mode,
                "custom_subnet_id": test_subnet["id"],
                "nsg_ids": hosted_application_networking_config_outbound_networking_config_nsg_ids,
            },
        },
        scaling_config={
            "scaling_type": hosted_application_scaling_config_scaling_type,
            "max_replica": int(hosted_application_scaling_config_max_replica),
            "min_replica": int(hosted_application_scaling_config_min_replica),
            "target_concurrency_threshold": int(hosted_application_scaling_config_target_concurrency_threshold),
            "target_cpu_threshold": int(hosted_application_scaling_config_target_cpu_threshold),
            "target_memory_threshold": int(hosted_application_scaling_config_target_memory_threshold),
            "target_rps_threshold": int(hosted_application_scaling_config_target_rps_threshold),
        },
        storage_configs=[{
            "environment_variable_key": hosted_application_storage_configs_environment_variable_key,
            "storage_id": test_storage["id"],
        }])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v5/go/oci/generativeai"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := generativeai.NewHostedApplication(ctx, "test_hosted_application", &generativeai.HostedApplicationArgs{
    			CompartmentId: pulumi.Any(compartmentId),
    			DisplayName:   pulumi.Any(hostedApplicationDisplayName),
    			InboundAuthConfig: &generativeai.HostedApplicationInboundAuthConfigArgs{
    				InboundAuthConfigType: pulumi.Any(hostedApplicationInboundAuthConfigInboundAuthConfigType),
    				IdcsConfig: &generativeai.HostedApplicationInboundAuthConfigIdcsConfigArgs{
    					DomainUrl: pulumi.Any(hostedApplicationInboundAuthConfigIdcsConfigDomainUrl),
    					Scope:     pulumi.Any(hostedApplicationInboundAuthConfigIdcsConfigScope),
    					Audience:  pulumi.Any(hostedApplicationInboundAuthConfigIdcsConfigAudience),
    				},
    			},
    			DefinedTags: pulumi.StringMap{
    				"Operations.CostCenter": pulumi.String("42"),
    			},
    			Description: pulumi.Any(hostedApplicationDescription),
    			EnvironmentVariables: generativeai.HostedApplicationEnvironmentVariableArray{
    				&generativeai.HostedApplicationEnvironmentVariableArgs{
    					Name:  pulumi.Any(hostedApplicationEnvironmentVariablesName),
    					Type:  pulumi.Any(hostedApplicationEnvironmentVariablesType),
    					Value: pulumi.Any(hostedApplicationEnvironmentVariablesValue),
    				},
    			},
    			FreeformTags: pulumi.StringMap{
    				"Department": pulumi.String("Finance"),
    			},
    			NetworkingConfig: &generativeai.HostedApplicationNetworkingConfigArgs{
    				InboundNetworkingConfig: &generativeai.HostedApplicationNetworkingConfigInboundNetworkingConfigArgs{
    					EndpointMode:      pulumi.Any(hostedApplicationNetworkingConfigInboundNetworkingConfigEndpointMode),
    					PrivateEndpointId: pulumi.Any(testGenerativeAiPrivateEndpoint.Id),
    				},
    				OutboundNetworkingConfig: &generativeai.HostedApplicationNetworkingConfigOutboundNetworkingConfigArgs{
    					NetworkMode:    pulumi.Any(hostedApplicationNetworkingConfigOutboundNetworkingConfigNetworkMode),
    					CustomSubnetId: pulumi.Any(testSubnet.Id),
    					NsgIds:         pulumi.Any(hostedApplicationNetworkingConfigOutboundNetworkingConfigNsgIds),
    				},
    			},
    			ScalingConfig: &generativeai.HostedApplicationScalingConfigArgs{
    				ScalingType:                pulumi.Any(hostedApplicationScalingConfigScalingType),
    				MaxReplica:                 pulumi.Any(hostedApplicationScalingConfigMaxReplica),
    				MinReplica:                 pulumi.Any(hostedApplicationScalingConfigMinReplica),
    				TargetConcurrencyThreshold: pulumi.Any(hostedApplicationScalingConfigTargetConcurrencyThreshold),
    				TargetCpuThreshold:         pulumi.Any(hostedApplicationScalingConfigTargetCpuThreshold),
    				TargetMemoryThreshold:      pulumi.Any(hostedApplicationScalingConfigTargetMemoryThreshold),
    				TargetRpsThreshold:         pulumi.Any(hostedApplicationScalingConfigTargetRpsThreshold),
    			},
    			StorageConfigs: generativeai.HostedApplicationStorageConfigArray{
    				&generativeai.HostedApplicationStorageConfigArgs{
    					EnvironmentVariableKey: pulumi.Any(hostedApplicationStorageConfigsEnvironmentVariableKey),
    					StorageId:              pulumi.Any(testStorage.Id),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testHostedApplication = new Oci.GenerativeAi.HostedApplication("test_hosted_application", new()
        {
            CompartmentId = compartmentId,
            DisplayName = hostedApplicationDisplayName,
            InboundAuthConfig = new Oci.GenerativeAi.Inputs.HostedApplicationInboundAuthConfigArgs
            {
                InboundAuthConfigType = hostedApplicationInboundAuthConfigInboundAuthConfigType,
                IdcsConfig = new Oci.GenerativeAi.Inputs.HostedApplicationInboundAuthConfigIdcsConfigArgs
                {
                    DomainUrl = hostedApplicationInboundAuthConfigIdcsConfigDomainUrl,
                    Scope = hostedApplicationInboundAuthConfigIdcsConfigScope,
                    Audience = hostedApplicationInboundAuthConfigIdcsConfigAudience,
                },
            },
            DefinedTags = 
            {
                { "Operations.CostCenter", "42" },
            },
            Description = hostedApplicationDescription,
            EnvironmentVariables = new[]
            {
                new Oci.GenerativeAi.Inputs.HostedApplicationEnvironmentVariableArgs
                {
                    Name = hostedApplicationEnvironmentVariablesName,
                    Type = hostedApplicationEnvironmentVariablesType,
                    Value = hostedApplicationEnvironmentVariablesValue,
                },
            },
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
            NetworkingConfig = new Oci.GenerativeAi.Inputs.HostedApplicationNetworkingConfigArgs
            {
                InboundNetworkingConfig = new Oci.GenerativeAi.Inputs.HostedApplicationNetworkingConfigInboundNetworkingConfigArgs
                {
                    EndpointMode = hostedApplicationNetworkingConfigInboundNetworkingConfigEndpointMode,
                    PrivateEndpointId = testGenerativeAiPrivateEndpoint.Id,
                },
                OutboundNetworkingConfig = new Oci.GenerativeAi.Inputs.HostedApplicationNetworkingConfigOutboundNetworkingConfigArgs
                {
                    NetworkMode = hostedApplicationNetworkingConfigOutboundNetworkingConfigNetworkMode,
                    CustomSubnetId = testSubnet.Id,
                    NsgIds = hostedApplicationNetworkingConfigOutboundNetworkingConfigNsgIds,
                },
            },
            ScalingConfig = new Oci.GenerativeAi.Inputs.HostedApplicationScalingConfigArgs
            {
                ScalingType = hostedApplicationScalingConfigScalingType,
                MaxReplica = hostedApplicationScalingConfigMaxReplica,
                MinReplica = hostedApplicationScalingConfigMinReplica,
                TargetConcurrencyThreshold = hostedApplicationScalingConfigTargetConcurrencyThreshold,
                TargetCpuThreshold = hostedApplicationScalingConfigTargetCpuThreshold,
                TargetMemoryThreshold = hostedApplicationScalingConfigTargetMemoryThreshold,
                TargetRpsThreshold = hostedApplicationScalingConfigTargetRpsThreshold,
            },
            StorageConfigs = new[]
            {
                new Oci.GenerativeAi.Inputs.HostedApplicationStorageConfigArgs
                {
                    EnvironmentVariableKey = hostedApplicationStorageConfigsEnvironmentVariableKey,
                    StorageId = testStorage.Id,
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.GenerativeAi.HostedApplication;
    import com.pulumi.oci.GenerativeAi.HostedApplicationArgs;
    import com.pulumi.oci.GenerativeAi.inputs.HostedApplicationInboundAuthConfigArgs;
    import com.pulumi.oci.GenerativeAi.inputs.HostedApplicationInboundAuthConfigIdcsConfigArgs;
    import com.pulumi.oci.GenerativeAi.inputs.HostedApplicationEnvironmentVariableArgs;
    import com.pulumi.oci.GenerativeAi.inputs.HostedApplicationNetworkingConfigArgs;
    import com.pulumi.oci.GenerativeAi.inputs.HostedApplicationNetworkingConfigInboundNetworkingConfigArgs;
    import com.pulumi.oci.GenerativeAi.inputs.HostedApplicationNetworkingConfigOutboundNetworkingConfigArgs;
    import com.pulumi.oci.GenerativeAi.inputs.HostedApplicationScalingConfigArgs;
    import com.pulumi.oci.GenerativeAi.inputs.HostedApplicationStorageConfigArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var testHostedApplication = new HostedApplication("testHostedApplication", HostedApplicationArgs.builder()
                .compartmentId(compartmentId)
                .displayName(hostedApplicationDisplayName)
                .inboundAuthConfig(HostedApplicationInboundAuthConfigArgs.builder()
                    .inboundAuthConfigType(hostedApplicationInboundAuthConfigInboundAuthConfigType)
                    .idcsConfig(HostedApplicationInboundAuthConfigIdcsConfigArgs.builder()
                        .domainUrl(hostedApplicationInboundAuthConfigIdcsConfigDomainUrl)
                        .scope(hostedApplicationInboundAuthConfigIdcsConfigScope)
                        .audience(hostedApplicationInboundAuthConfigIdcsConfigAudience)
                        .build())
                    .build())
                .definedTags(Map.of("Operations.CostCenter", "42"))
                .description(hostedApplicationDescription)
                .environmentVariables(HostedApplicationEnvironmentVariableArgs.builder()
                    .name(hostedApplicationEnvironmentVariablesName)
                    .type(hostedApplicationEnvironmentVariablesType)
                    .value(hostedApplicationEnvironmentVariablesValue)
                    .build())
                .freeformTags(Map.of("Department", "Finance"))
                .networkingConfig(HostedApplicationNetworkingConfigArgs.builder()
                    .inboundNetworkingConfig(HostedApplicationNetworkingConfigInboundNetworkingConfigArgs.builder()
                        .endpointMode(hostedApplicationNetworkingConfigInboundNetworkingConfigEndpointMode)
                        .privateEndpointId(testGenerativeAiPrivateEndpoint.id())
                        .build())
                    .outboundNetworkingConfig(HostedApplicationNetworkingConfigOutboundNetworkingConfigArgs.builder()
                        .networkMode(hostedApplicationNetworkingConfigOutboundNetworkingConfigNetworkMode)
                        .customSubnetId(testSubnet.id())
                        .nsgIds(hostedApplicationNetworkingConfigOutboundNetworkingConfigNsgIds)
                        .build())
                    .build())
                .scalingConfig(HostedApplicationScalingConfigArgs.builder()
                    .scalingType(hostedApplicationScalingConfigScalingType)
                    .maxReplica(hostedApplicationScalingConfigMaxReplica)
                    .minReplica(hostedApplicationScalingConfigMinReplica)
                    .targetConcurrencyThreshold(hostedApplicationScalingConfigTargetConcurrencyThreshold)
                    .targetCpuThreshold(hostedApplicationScalingConfigTargetCpuThreshold)
                    .targetMemoryThreshold(hostedApplicationScalingConfigTargetMemoryThreshold)
                    .targetRpsThreshold(hostedApplicationScalingConfigTargetRpsThreshold)
                    .build())
                .storageConfigs(HostedApplicationStorageConfigArgs.builder()
                    .environmentVariableKey(hostedApplicationStorageConfigsEnvironmentVariableKey)
                    .storageId(testStorage.id())
                    .build())
                .build());
    
        }
    }
    
    resources:
      testHostedApplication:
        type: oci:GenerativeAi:HostedApplication
        name: test_hosted_application
        properties:
          compartmentId: ${compartmentId}
          displayName: ${hostedApplicationDisplayName}
          inboundAuthConfig:
            inboundAuthConfigType: ${hostedApplicationInboundAuthConfigInboundAuthConfigType}
            idcsConfig:
              domainUrl: ${hostedApplicationInboundAuthConfigIdcsConfigDomainUrl}
              scope: ${hostedApplicationInboundAuthConfigIdcsConfigScope}
              audience: ${hostedApplicationInboundAuthConfigIdcsConfigAudience}
          definedTags:
            Operations.CostCenter: '42'
          description: ${hostedApplicationDescription}
          environmentVariables:
            - name: ${hostedApplicationEnvironmentVariablesName}
              type: ${hostedApplicationEnvironmentVariablesType}
              value: ${hostedApplicationEnvironmentVariablesValue}
          freeformTags:
            Department: Finance
          networkingConfig:
            inboundNetworkingConfig:
              endpointMode: ${hostedApplicationNetworkingConfigInboundNetworkingConfigEndpointMode}
              privateEndpointId: ${testGenerativeAiPrivateEndpoint.id}
            outboundNetworkingConfig:
              networkMode: ${hostedApplicationNetworkingConfigOutboundNetworkingConfigNetworkMode}
              customSubnetId: ${testSubnet.id}
              nsgIds: ${hostedApplicationNetworkingConfigOutboundNetworkingConfigNsgIds}
          scalingConfig:
            scalingType: ${hostedApplicationScalingConfigScalingType}
            maxReplica: ${hostedApplicationScalingConfigMaxReplica}
            minReplica: ${hostedApplicationScalingConfigMinReplica}
            targetConcurrencyThreshold: ${hostedApplicationScalingConfigTargetConcurrencyThreshold}
            targetCpuThreshold: ${hostedApplicationScalingConfigTargetCpuThreshold}
            targetMemoryThreshold: ${hostedApplicationScalingConfigTargetMemoryThreshold}
            targetRpsThreshold: ${hostedApplicationScalingConfigTargetRpsThreshold}
          storageConfigs:
            - environmentVariableKey: ${hostedApplicationStorageConfigsEnvironmentVariableKey}
              storageId: ${testStorage.id}
    
    pulumi {
      required_providers {
        oci = {
          source = "pulumi/oci"
        }
      }
    }
    
    resource "oci_generativeai_hostedapplication" "test_hosted_application" {
      compartment_id = compartmentId
      display_name   = hostedApplicationDisplayName
      inbound_auth_config = {
        inbound_auth_config_type = hostedApplicationInboundAuthConfigInboundAuthConfigType
        idcs_config = {
          domain_url = hostedApplicationInboundAuthConfigIdcsConfigDomainUrl
          scope      = hostedApplicationInboundAuthConfigIdcsConfigScope
          audience   = hostedApplicationInboundAuthConfigIdcsConfigAudience
        }
      }
      #Required
      #Required
      #Optional
      defined_tags = {
        "Operations.CostCenter" = "42"
      }
      description = hostedApplicationDescription
      environment_variables {
        name  = hostedApplicationEnvironmentVariablesName
        type  = hostedApplicationEnvironmentVariablesType
        value = hostedApplicationEnvironmentVariablesValue
      }
      #Required
      freeform_tags = {
        "Department" = "Finance"
      }
      networking_config = {
        inbound_networking_config = {
          endpoint_mode       = hostedApplicationNetworkingConfigInboundNetworkingConfigEndpointMode
          private_endpoint_id = testGenerativeAiPrivateEndpoint.id
        }
        outbound_networking_config = {
          network_mode     = hostedApplicationNetworkingConfigOutboundNetworkingConfigNetworkMode
          custom_subnet_id = testSubnet.id
          nsg_ids          = hostedApplicationNetworkingConfigOutboundNetworkingConfigNsgIds
        }
      }
      #Required
      #Optional
      #Required
      #Optional
      scaling_config = {
        scaling_type                 = hostedApplicationScalingConfigScalingType
        max_replica                  = hostedApplicationScalingConfigMaxReplica
        min_replica                  = hostedApplicationScalingConfigMinReplica
        target_concurrency_threshold = hostedApplicationScalingConfigTargetConcurrencyThreshold
        target_cpu_threshold         = hostedApplicationScalingConfigTargetCpuThreshold
        target_memory_threshold      = hostedApplicationScalingConfigTargetMemoryThreshold
        target_rps_threshold         = hostedApplicationScalingConfigTargetRpsThreshold
      }
      #Required
      #Optional
      storage_configs {
        environment_variable_key = hostedApplicationStorageConfigsEnvironmentVariableKey
        storage_id               = testStorage.id
      }
    }
    

    Create HostedApplication Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new HostedApplication(name: string, args: HostedApplicationArgs, opts?: CustomResourceOptions);
    @overload
    def HostedApplication(resource_name: str,
                          args: HostedApplicationArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def HostedApplication(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          compartment_id: Optional[str] = None,
                          display_name: Optional[str] = None,
                          defined_tags: Optional[Mapping[str, str]] = None,
                          description: Optional[str] = None,
                          environment_variables: Optional[Sequence[HostedApplicationEnvironmentVariableArgs]] = None,
                          freeform_tags: Optional[Mapping[str, str]] = None,
                          inbound_auth_config: Optional[HostedApplicationInboundAuthConfigArgs] = None,
                          networking_config: Optional[HostedApplicationNetworkingConfigArgs] = None,
                          scaling_config: Optional[HostedApplicationScalingConfigArgs] = None,
                          storage_configs: Optional[Sequence[HostedApplicationStorageConfigArgs]] = None)
    func NewHostedApplication(ctx *Context, name string, args HostedApplicationArgs, opts ...ResourceOption) (*HostedApplication, error)
    public HostedApplication(string name, HostedApplicationArgs args, CustomResourceOptions? opts = null)
    public HostedApplication(String name, HostedApplicationArgs args)
    public HostedApplication(String name, HostedApplicationArgs args, CustomResourceOptions options)
    
    type: oci:GenerativeAi:HostedApplication
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "oci_generative_ai_hosted_application" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args HostedApplicationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args HostedApplicationArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args HostedApplicationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args HostedApplicationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args HostedApplicationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var hostedApplicationResource = new Oci.GenerativeAi.HostedApplication("hostedApplicationResource", new()
    {
        CompartmentId = "string",
        DisplayName = "string",
        DefinedTags = 
        {
            { "string", "string" },
        },
        Description = "string",
        EnvironmentVariables = new[]
        {
            new Oci.GenerativeAi.Inputs.HostedApplicationEnvironmentVariableArgs
            {
                Name = "string",
                Type = "string",
                Value = "string",
            },
        },
        FreeformTags = 
        {
            { "string", "string" },
        },
        InboundAuthConfig = new Oci.GenerativeAi.Inputs.HostedApplicationInboundAuthConfigArgs
        {
            InboundAuthConfigType = "string",
            IdcsConfig = new Oci.GenerativeAi.Inputs.HostedApplicationInboundAuthConfigIdcsConfigArgs
            {
                DomainUrl = "string",
                Scope = "string",
                Audience = "string",
            },
        },
        NetworkingConfig = new Oci.GenerativeAi.Inputs.HostedApplicationNetworkingConfigArgs
        {
            InboundNetworkingConfig = new Oci.GenerativeAi.Inputs.HostedApplicationNetworkingConfigInboundNetworkingConfigArgs
            {
                EndpointMode = "string",
                PrivateEndpointId = "string",
            },
            OutboundNetworkingConfig = new Oci.GenerativeAi.Inputs.HostedApplicationNetworkingConfigOutboundNetworkingConfigArgs
            {
                NetworkMode = "string",
                CustomSubnetId = "string",
                NsgIds = new[]
                {
                    "string",
                },
            },
        },
        ScalingConfig = new Oci.GenerativeAi.Inputs.HostedApplicationScalingConfigArgs
        {
            ScalingType = "string",
            MaxReplica = 0,
            MinReplica = 0,
            TargetConcurrencyThreshold = 0,
            TargetCpuThreshold = 0,
            TargetMemoryThreshold = 0,
            TargetRpsThreshold = 0,
        },
        StorageConfigs = new[]
        {
            new Oci.GenerativeAi.Inputs.HostedApplicationStorageConfigArgs
            {
                EnvironmentVariableKey = "string",
                StorageId = "string",
            },
        },
    });
    
    example, err := generativeai.NewHostedApplication(ctx, "hostedApplicationResource", &generativeai.HostedApplicationArgs{
    	CompartmentId: pulumi.String("string"),
    	DisplayName:   pulumi.String("string"),
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Description: pulumi.String("string"),
    	EnvironmentVariables: generativeai.HostedApplicationEnvironmentVariableArray{
    		&generativeai.HostedApplicationEnvironmentVariableArgs{
    			Name:  pulumi.String("string"),
    			Type:  pulumi.String("string"),
    			Value: pulumi.String("string"),
    		},
    	},
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	InboundAuthConfig: &generativeai.HostedApplicationInboundAuthConfigArgs{
    		InboundAuthConfigType: pulumi.String("string"),
    		IdcsConfig: &generativeai.HostedApplicationInboundAuthConfigIdcsConfigArgs{
    			DomainUrl: pulumi.String("string"),
    			Scope:     pulumi.String("string"),
    			Audience:  pulumi.String("string"),
    		},
    	},
    	NetworkingConfig: &generativeai.HostedApplicationNetworkingConfigArgs{
    		InboundNetworkingConfig: &generativeai.HostedApplicationNetworkingConfigInboundNetworkingConfigArgs{
    			EndpointMode:      pulumi.String("string"),
    			PrivateEndpointId: pulumi.String("string"),
    		},
    		OutboundNetworkingConfig: &generativeai.HostedApplicationNetworkingConfigOutboundNetworkingConfigArgs{
    			NetworkMode:    pulumi.String("string"),
    			CustomSubnetId: pulumi.String("string"),
    			NsgIds: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    	},
    	ScalingConfig: &generativeai.HostedApplicationScalingConfigArgs{
    		ScalingType:                pulumi.String("string"),
    		MaxReplica:                 pulumi.Int(0),
    		MinReplica:                 pulumi.Int(0),
    		TargetConcurrencyThreshold: pulumi.Int(0),
    		TargetCpuThreshold:         pulumi.Int(0),
    		TargetMemoryThreshold:      pulumi.Int(0),
    		TargetRpsThreshold:         pulumi.Int(0),
    	},
    	StorageConfigs: generativeai.HostedApplicationStorageConfigArray{
    		&generativeai.HostedApplicationStorageConfigArgs{
    			EnvironmentVariableKey: pulumi.String("string"),
    			StorageId:              pulumi.String("string"),
    		},
    	},
    })
    
    resource "oci_generative_ai_hosted_application" "hostedApplicationResource" {
      lifecycle {
        create_before_destroy = true
      }
      compartment_id = "string"
      display_name   = "string"
      defined_tags = {
        "string" = "string"
      }
      description = "string"
      environment_variables {
        name  = "string"
        type  = "string"
        value = "string"
      }
      freeform_tags = {
        "string" = "string"
      }
      inbound_auth_config = {
        inbound_auth_config_type = "string"
        idcs_config = {
          domain_url = "string"
          scope      = "string"
          audience   = "string"
        }
      }
      networking_config = {
        inbound_networking_config = {
          endpoint_mode       = "string"
          private_endpoint_id = "string"
        }
        outbound_networking_config = {
          network_mode     = "string"
          custom_subnet_id = "string"
          nsg_ids          = ["string"]
        }
      }
      scaling_config = {
        scaling_type                 = "string"
        max_replica                  = 0
        min_replica                  = 0
        target_concurrency_threshold = 0
        target_cpu_threshold         = 0
        target_memory_threshold      = 0
        target_rps_threshold         = 0
      }
      storage_configs {
        environment_variable_key = "string"
        storage_id               = "string"
      }
    }
    
    var hostedApplicationResource = new HostedApplication("hostedApplicationResource", HostedApplicationArgs.builder()
        .compartmentId("string")
        .displayName("string")
        .definedTags(Map.of("string", "string"))
        .description("string")
        .environmentVariables(HostedApplicationEnvironmentVariableArgs.builder()
            .name("string")
            .type("string")
            .value("string")
            .build())
        .freeformTags(Map.of("string", "string"))
        .inboundAuthConfig(HostedApplicationInboundAuthConfigArgs.builder()
            .inboundAuthConfigType("string")
            .idcsConfig(HostedApplicationInboundAuthConfigIdcsConfigArgs.builder()
                .domainUrl("string")
                .scope("string")
                .audience("string")
                .build())
            .build())
        .networkingConfig(HostedApplicationNetworkingConfigArgs.builder()
            .inboundNetworkingConfig(HostedApplicationNetworkingConfigInboundNetworkingConfigArgs.builder()
                .endpointMode("string")
                .privateEndpointId("string")
                .build())
            .outboundNetworkingConfig(HostedApplicationNetworkingConfigOutboundNetworkingConfigArgs.builder()
                .networkMode("string")
                .customSubnetId("string")
                .nsgIds("string")
                .build())
            .build())
        .scalingConfig(HostedApplicationScalingConfigArgs.builder()
            .scalingType("string")
            .maxReplica(0)
            .minReplica(0)
            .targetConcurrencyThreshold(0)
            .targetCpuThreshold(0)
            .targetMemoryThreshold(0)
            .targetRpsThreshold(0)
            .build())
        .storageConfigs(HostedApplicationStorageConfigArgs.builder()
            .environmentVariableKey("string")
            .storageId("string")
            .build())
        .build());
    
    hosted_application_resource = oci.generativeai.HostedApplication("hostedApplicationResource",
        compartment_id="string",
        display_name="string",
        defined_tags={
            "string": "string",
        },
        description="string",
        environment_variables=[{
            "name": "string",
            "type": "string",
            "value": "string",
        }],
        freeform_tags={
            "string": "string",
        },
        inbound_auth_config={
            "inbound_auth_config_type": "string",
            "idcs_config": {
                "domain_url": "string",
                "scope": "string",
                "audience": "string",
            },
        },
        networking_config={
            "inbound_networking_config": {
                "endpoint_mode": "string",
                "private_endpoint_id": "string",
            },
            "outbound_networking_config": {
                "network_mode": "string",
                "custom_subnet_id": "string",
                "nsg_ids": ["string"],
            },
        },
        scaling_config={
            "scaling_type": "string",
            "max_replica": 0,
            "min_replica": 0,
            "target_concurrency_threshold": 0,
            "target_cpu_threshold": 0,
            "target_memory_threshold": 0,
            "target_rps_threshold": 0,
        },
        storage_configs=[{
            "environment_variable_key": "string",
            "storage_id": "string",
        }])
    
    const hostedApplicationResource = new oci.generativeai.HostedApplication("hostedApplicationResource", {
        compartmentId: "string",
        displayName: "string",
        definedTags: {
            string: "string",
        },
        description: "string",
        environmentVariables: [{
            name: "string",
            type: "string",
            value: "string",
        }],
        freeformTags: {
            string: "string",
        },
        inboundAuthConfig: {
            inboundAuthConfigType: "string",
            idcsConfig: {
                domainUrl: "string",
                scope: "string",
                audience: "string",
            },
        },
        networkingConfig: {
            inboundNetworkingConfig: {
                endpointMode: "string",
                privateEndpointId: "string",
            },
            outboundNetworkingConfig: {
                networkMode: "string",
                customSubnetId: "string",
                nsgIds: ["string"],
            },
        },
        scalingConfig: {
            scalingType: "string",
            maxReplica: 0,
            minReplica: 0,
            targetConcurrencyThreshold: 0,
            targetCpuThreshold: 0,
            targetMemoryThreshold: 0,
            targetRpsThreshold: 0,
        },
        storageConfigs: [{
            environmentVariableKey: "string",
            storageId: "string",
        }],
    });
    
    type: oci:GenerativeAi:HostedApplication
    properties:
        compartmentId: string
        definedTags:
            string: string
        description: string
        displayName: string
        environmentVariables:
            - name: string
              type: string
              value: string
        freeformTags:
            string: string
        inboundAuthConfig:
            idcsConfig:
                audience: string
                domainUrl: string
                scope: string
            inboundAuthConfigType: string
        networkingConfig:
            inboundNetworkingConfig:
                endpointMode: string
                privateEndpointId: string
            outboundNetworkingConfig:
                customSubnetId: string
                networkMode: string
                nsgIds:
                    - string
        scalingConfig:
            maxReplica: 0
            minReplica: 0
            scalingType: string
            targetConcurrencyThreshold: 0
            targetCpuThreshold: 0
            targetMemoryThreshold: 0
            targetRpsThreshold: 0
        storageConfigs:
            - environmentVariableKey: string
              storageId: string
    

    HostedApplication Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The HostedApplication resource accepts the following input properties:

    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<HostedApplicationEnvironmentVariable>
    (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"}
    InboundAuthConfig HostedApplicationInboundAuthConfig
    (Updatable) The client-side inbound authentication configuration for the Hosted Application. Defines the network access rules. When unspecified, the service applies the default inbound authentication configuration type.
    NetworkingConfig HostedApplicationNetworkingConfig
    Networking configuration.
    ScalingConfig HostedApplicationScalingConfig
    (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<HostedApplicationStorageConfig>
    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 []HostedApplicationEnvironmentVariableArgs
    (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"}
    InboundAuthConfig HostedApplicationInboundAuthConfigArgs
    (Updatable) The client-side inbound authentication configuration for the Hosted Application. Defines the network access rules. When unspecified, the service applies the default inbound authentication configuration type.
    NetworkingConfig HostedApplicationNetworkingConfigArgs
    Networking configuration.
    ScalingConfig HostedApplicationScalingConfigArgs
    (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 []HostedApplicationStorageConfigArgs
    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"}
    inbound_auth_config object
    (Updatable) The client-side inbound authentication configuration for the Hosted Application. Defines the network access rules. When unspecified, the service applies the default inbound authentication configuration type.
    networking_config object
    Networking configuration.
    scaling_config object
    (Updatable) The auto scaling configuration for the Hosted Application. Defines the minimum and maximum number of replicas. When unspecified, the service applies service-defined default scaling values.
    storage_configs list(object)
    The list of storage configuration for the Hosted Application. Defines a list of service-managed storage back-ends.
    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<HostedApplicationEnvironmentVariable>
    (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"}
    inboundAuthConfig HostedApplicationInboundAuthConfig
    (Updatable) The client-side inbound authentication configuration for the Hosted Application. Defines the network access rules. When unspecified, the service applies the default inbound authentication configuration type.
    networkingConfig HostedApplicationNetworkingConfig
    Networking configuration.
    scalingConfig HostedApplicationScalingConfig
    (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<HostedApplicationStorageConfig>
    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 HostedApplicationEnvironmentVariable[]
    (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"}
    inboundAuthConfig HostedApplicationInboundAuthConfig
    (Updatable) The client-side inbound authentication configuration for the Hosted Application. Defines the network access rules. When unspecified, the service applies the default inbound authentication configuration type.
    networkingConfig HostedApplicationNetworkingConfig
    Networking configuration.
    scalingConfig HostedApplicationScalingConfig
    (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 HostedApplicationStorageConfig[]
    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[HostedApplicationEnvironmentVariableArgs]
    (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"}
    inbound_auth_config HostedApplicationInboundAuthConfigArgs
    (Updatable) The client-side inbound authentication configuration for the Hosted Application. Defines the network access rules. When unspecified, the service applies the default inbound authentication configuration type.
    networking_config HostedApplicationNetworkingConfigArgs
    Networking configuration.
    scaling_config HostedApplicationScalingConfigArgs
    (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[HostedApplicationStorageConfigArgs]
    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"}
    inboundAuthConfig Property Map
    (Updatable) The client-side inbound authentication configuration for the Hosted Application. Defines the network access rules. When unspecified, the service applies the default inbound authentication configuration type.
    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 HostedApplication 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 HostedApplication Resource

    Get an existing HostedApplication resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: HostedApplicationState, opts?: CustomResourceOptions): HostedApplication
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            compartment_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, str]] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            environment_variables: Optional[Sequence[HostedApplicationEnvironmentVariableArgs]] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            inbound_auth_config: Optional[HostedApplicationInboundAuthConfigArgs] = None,
            lifecycle_details: Optional[str] = None,
            networking_config: Optional[HostedApplicationNetworkingConfigArgs] = None,
            scaling_config: Optional[HostedApplicationScalingConfigArgs] = None,
            state: Optional[str] = None,
            storage_configs: Optional[Sequence[HostedApplicationStorageConfigArgs]] = None,
            system_tags: Optional[Mapping[str, str]] = None,
            time_created: Optional[str] = None,
            time_updated: Optional[str] = None) -> HostedApplication
    func GetHostedApplication(ctx *Context, name string, id IDInput, state *HostedApplicationState, opts ...ResourceOption) (*HostedApplication, error)
    public static HostedApplication Get(string name, Input<string> id, HostedApplicationState? state, CustomResourceOptions? opts = null)
    public static HostedApplication get(String name, Output<String> id, HostedApplicationState state, CustomResourceOptions options)
    resources:  _:    type: oci:GenerativeAi:HostedApplication    get:      id: ${id}
    import {
      to = oci_generative_ai_hosted_application.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    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<HostedApplicationEnvironmentVariable>
    (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"}
    InboundAuthConfig HostedApplicationInboundAuthConfig
    (Updatable) The client-side inbound authentication configuration for the Hosted Application. Defines the network access rules. When unspecified, the service applies the default inbound authentication configuration type.
    LifecycleDetails string
    A message describing the current state of the endpoint in more detail that can provide actionable information.
    NetworkingConfig HostedApplicationNetworkingConfig
    Networking configuration.
    ScalingConfig HostedApplicationScalingConfig
    (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<HostedApplicationStorageConfig>
    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 []HostedApplicationEnvironmentVariableArgs
    (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"}
    InboundAuthConfig HostedApplicationInboundAuthConfigArgs
    (Updatable) The client-side inbound authentication configuration for the Hosted Application. Defines the network access rules. When unspecified, the service applies the default inbound authentication configuration type.
    LifecycleDetails string
    A message describing the current state of the endpoint in more detail that can provide actionable information.
    NetworkingConfig HostedApplicationNetworkingConfigArgs
    Networking configuration.
    ScalingConfig HostedApplicationScalingConfigArgs
    (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 []HostedApplicationStorageConfigArgs
    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"}
    inbound_auth_config object
    (Updatable) The client-side inbound authentication configuration for the Hosted Application. Defines the network access rules. When unspecified, the service applies the default inbound authentication configuration type.
    lifecycle_details string
    A message describing the current state of the endpoint in more detail that can provide actionable information.
    networking_config object
    Networking configuration.
    scaling_config object
    (Updatable) The auto scaling configuration for the Hosted Application. Defines the minimum and maximum number of replicas. When unspecified, the service applies service-defined default scaling values.
    state string
    The current state of the hosted application.
    storage_configs list(object)
    The list of storage configuration for the Hosted Application. Defines a list of service-managed storage back-ends.
    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<HostedApplicationEnvironmentVariable>
    (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"}
    inboundAuthConfig HostedApplicationInboundAuthConfig
    (Updatable) The client-side inbound authentication configuration for the Hosted Application. Defines the network access rules. When unspecified, the service applies the default inbound authentication configuration type.
    lifecycleDetails String
    A message describing the current state of the endpoint in more detail that can provide actionable information.
    networkingConfig HostedApplicationNetworkingConfig
    Networking configuration.
    scalingConfig HostedApplicationScalingConfig
    (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<HostedApplicationStorageConfig>
    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 HostedApplicationEnvironmentVariable[]
    (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"}
    inboundAuthConfig HostedApplicationInboundAuthConfig
    (Updatable) The client-side inbound authentication configuration for the Hosted Application. Defines the network access rules. When unspecified, the service applies the default inbound authentication configuration type.
    lifecycleDetails string
    A message describing the current state of the endpoint in more detail that can provide actionable information.
    networkingConfig HostedApplicationNetworkingConfig
    Networking configuration.
    scalingConfig HostedApplicationScalingConfig
    (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 HostedApplicationStorageConfig[]
    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[HostedApplicationEnvironmentVariableArgs]
    (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"}
    inbound_auth_config HostedApplicationInboundAuthConfigArgs
    (Updatable) The client-side inbound authentication configuration for the Hosted Application. Defines the network access rules. When unspecified, the service applies the default inbound authentication configuration type.
    lifecycle_details str
    A message describing the current state of the endpoint in more detail that can provide actionable information.
    networking_config HostedApplicationNetworkingConfigArgs
    Networking configuration.
    scaling_config HostedApplicationScalingConfigArgs
    (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[HostedApplicationStorageConfigArgs]
    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"}
    inboundAuthConfig Property Map
    (Updatable) The client-side inbound authentication configuration for the Hosted Application. Defines the network access rules. When unspecified, the service applies the default inbound authentication configuration type.
    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

    HostedApplicationEnvironmentVariable, HostedApplicationEnvironmentVariableArgs

    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.

    HostedApplicationInboundAuthConfig, HostedApplicationInboundAuthConfigArgs

    InboundAuthConfigType string
    (Updatable) Inbound authentication configuration type of network access (IDCS_AUTH_CONFIG).
    IdcsConfig HostedApplicationInboundAuthConfigIdcsConfig
    (Updatable) Oracle Identity Cloud Service (IDCS) configuration used when inboundAuthConfigType is set to IDCS_AUTH_CONFIG. This object must be specified when inboundAuthConfigType is IDCS_AUTH_CONFIG.
    InboundAuthConfigType string
    (Updatable) Inbound authentication configuration type of network access (IDCS_AUTH_CONFIG).
    IdcsConfig HostedApplicationInboundAuthConfigIdcsConfig
    (Updatable) Oracle Identity Cloud Service (IDCS) configuration used when inboundAuthConfigType is set to IDCS_AUTH_CONFIG. This object must be specified when inboundAuthConfigType is IDCS_AUTH_CONFIG.
    inbound_auth_config_type string
    (Updatable) Inbound authentication configuration type of network access (IDCS_AUTH_CONFIG).
    idcs_config object
    (Updatable) Oracle Identity Cloud Service (IDCS) configuration used when inboundAuthConfigType is set to IDCS_AUTH_CONFIG. This object must be specified when inboundAuthConfigType is IDCS_AUTH_CONFIG.
    inboundAuthConfigType String
    (Updatable) Inbound authentication configuration type of network access (IDCS_AUTH_CONFIG).
    idcsConfig HostedApplicationInboundAuthConfigIdcsConfig
    (Updatable) Oracle Identity Cloud Service (IDCS) configuration used when inboundAuthConfigType is set to IDCS_AUTH_CONFIG. This object must be specified when inboundAuthConfigType is IDCS_AUTH_CONFIG.
    inboundAuthConfigType string
    (Updatable) Inbound authentication configuration type of network access (IDCS_AUTH_CONFIG).
    idcsConfig HostedApplicationInboundAuthConfigIdcsConfig
    (Updatable) Oracle Identity Cloud Service (IDCS) configuration used when inboundAuthConfigType is set to IDCS_AUTH_CONFIG. This object must be specified when inboundAuthConfigType is IDCS_AUTH_CONFIG.
    inbound_auth_config_type str
    (Updatable) Inbound authentication configuration type of network access (IDCS_AUTH_CONFIG).
    idcs_config HostedApplicationInboundAuthConfigIdcsConfig
    (Updatable) Oracle Identity Cloud Service (IDCS) configuration used when inboundAuthConfigType is set to IDCS_AUTH_CONFIG. This object must be specified when inboundAuthConfigType is IDCS_AUTH_CONFIG.
    inboundAuthConfigType String
    (Updatable) Inbound authentication configuration type of network access (IDCS_AUTH_CONFIG).
    idcsConfig Property Map
    (Updatable) Oracle Identity Cloud Service (IDCS) configuration used when inboundAuthConfigType is set to IDCS_AUTH_CONFIG. This object must be specified when inboundAuthConfigType is IDCS_AUTH_CONFIG.

    HostedApplicationInboundAuthConfigIdcsConfig, HostedApplicationInboundAuthConfigIdcsConfigArgs

    DomainUrl string
    (Updatable) Domain URL for IDCS.
    Scope string
    (Updatable) Scope for IDCS.
    Audience string
    (Updatable) Audience for IDCS.
    DomainUrl string
    (Updatable) Domain URL for IDCS.
    Scope string
    (Updatable) Scope for IDCS.
    Audience string
    (Updatable) Audience for IDCS.
    domain_url string
    (Updatable) Domain URL for IDCS.
    scope string
    (Updatable) Scope for IDCS.
    audience string
    (Updatable) Audience for IDCS.
    domainUrl String
    (Updatable) Domain URL for IDCS.
    scope String
    (Updatable) Scope for IDCS.
    audience String
    (Updatable) Audience for IDCS.
    domainUrl string
    (Updatable) Domain URL for IDCS.
    scope string
    (Updatable) Scope for IDCS.
    audience string
    (Updatable) Audience for IDCS.
    domain_url str
    (Updatable) Domain URL for IDCS.
    scope str
    (Updatable) Scope for IDCS.
    audience str
    (Updatable) Audience for IDCS.
    domainUrl String
    (Updatable) Domain URL for IDCS.
    scope String
    (Updatable) Scope for IDCS.
    audience String
    (Updatable) Audience for IDCS.

    HostedApplicationNetworkingConfig, HostedApplicationNetworkingConfigArgs

    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.

    HostedApplicationNetworkingConfigInboundNetworkingConfig, HostedApplicationNetworkingConfigInboundNetworkingConfigArgs

    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

    HostedApplicationNetworkingConfigOutboundNetworkingConfig, HostedApplicationNetworkingConfigOutboundNetworkingConfigArgs

    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.

    HostedApplicationScalingConfig, HostedApplicationScalingConfigArgs

    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.

    HostedApplicationStorageConfig, HostedApplicationStorageConfigArgs

    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

    HostedApplications can be imported using the id, e.g.

    $ pulumi import oci:GenerativeAi/hostedApplication:HostedApplication test_hosted_application "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the 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