1. Registry
  2. Packages
  3. Oracle Cloud Infrastructure
  4. API Docs
  5. GenerativeAi
  6. HostedApplicationStorage
Viewing docs for Oracle Cloud Infrastructure v4.22.0
published on Wednesday, Aug 26, 2026 by Pulumi
oci logo oci logo
Viewing docs for Oracle Cloud Infrastructure v4.22.0
published on Wednesday, Aug 26, 2026 by Pulumi

    This resource provides the Hosted Application Storage resource in Oracle Cloud Infrastructure Generative AI service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/generative-ai/latest/HostedApplicationStorage

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

    Creates a hosted application storage.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testHostedApplicationStorage = new oci.generativeai.HostedApplicationStorage("test_hosted_application_storage", {
        compartmentId: compartmentId,
        displayName: hostedApplicationStorageDisplayName,
        storageType: hostedApplicationStorageStorageType,
        definedTags: {
            "Operations.CostCenter": "42",
        },
        description: hostedApplicationStorageDescription,
        freeformTags: {
            Department: "Finance",
        },
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_hosted_application_storage = oci.generativeai.HostedApplicationStorage("test_hosted_application_storage",
        compartment_id=compartment_id,
        display_name=hosted_application_storage_display_name,
        storage_type=hosted_application_storage_storage_type,
        defined_tags={
            "Operations.CostCenter": "42",
        },
        description=hosted_application_storage_description,
        freeform_tags={
            "Department": "Finance",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/generativeai"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := generativeai.NewHostedApplicationStorage(ctx, "test_hosted_application_storage", &generativeai.HostedApplicationStorageArgs{
    			CompartmentId: pulumi.Any(compartmentId),
    			DisplayName:   pulumi.Any(hostedApplicationStorageDisplayName),
    			StorageType:   pulumi.Any(hostedApplicationStorageStorageType),
    			DefinedTags: pulumi.StringMap{
    				"Operations.CostCenter": pulumi.String("42"),
    			},
    			Description: pulumi.Any(hostedApplicationStorageDescription),
    			FreeformTags: pulumi.StringMap{
    				"Department": pulumi.String("Finance"),
    			},
    		})
    		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 testHostedApplicationStorage = new Oci.GenerativeAi.HostedApplicationStorage("test_hosted_application_storage", new()
        {
            CompartmentId = compartmentId,
            DisplayName = hostedApplicationStorageDisplayName,
            StorageType = hostedApplicationStorageStorageType,
            DefinedTags = 
            {
                { "Operations.CostCenter", "42" },
            },
            Description = hostedApplicationStorageDescription,
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.GenerativeAi.HostedApplicationStorage;
    import com.pulumi.oci.GenerativeAi.HostedApplicationStorageArgs;
    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 testHostedApplicationStorage = new HostedApplicationStorage("testHostedApplicationStorage", HostedApplicationStorageArgs.builder()
                .compartmentId(compartmentId)
                .displayName(hostedApplicationStorageDisplayName)
                .storageType(hostedApplicationStorageStorageType)
                .definedTags(Map.of("Operations.CostCenter", "42"))
                .description(hostedApplicationStorageDescription)
                .freeformTags(Map.of("Department", "Finance"))
                .build());
    
        }
    }
    
    resources:
      testHostedApplicationStorage:
        type: oci:GenerativeAi:HostedApplicationStorage
        name: test_hosted_application_storage
        properties:
          compartmentId: ${compartmentId}
          displayName: ${hostedApplicationStorageDisplayName}
          storageType: ${hostedApplicationStorageStorageType}
          definedTags:
            Operations.CostCenter: '42'
          description: ${hostedApplicationStorageDescription}
          freeformTags:
            Department: Finance
    
    pulumi {
      required_providers {
        oci = {
          source = "pulumi/oci"
        }
      }
    }
    
    resource "oci_generativeai_hostedapplicationstorage" "test_hosted_application_storage" {
      compartment_id = compartmentId
      display_name   = hostedApplicationStorageDisplayName
      storage_type   = hostedApplicationStorageStorageType
      defined_tags = {
        "Operations.CostCenter" = "42"
      }
      description = hostedApplicationStorageDescription
      freeform_tags = {
        "Department" = "Finance"
      }
    }
    

    Create HostedApplicationStorage Resource

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

    Constructor syntax

    new HostedApplicationStorage(name: string, args: HostedApplicationStorageArgs, opts?: CustomResourceOptions);
    @overload
    def HostedApplicationStorage(resource_name: str,
                                 args: HostedApplicationStorageArgs,
                                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def HostedApplicationStorage(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 compartment_id: Optional[str] = None,
                                 display_name: Optional[str] = None,
                                 storage_type: Optional[str] = None,
                                 defined_tags: Optional[Mapping[str, str]] = None,
                                 description: Optional[str] = None,
                                 freeform_tags: Optional[Mapping[str, str]] = None)
    func NewHostedApplicationStorage(ctx *Context, name string, args HostedApplicationStorageArgs, opts ...ResourceOption) (*HostedApplicationStorage, error)
    public HostedApplicationStorage(string name, HostedApplicationStorageArgs args, CustomResourceOptions? opts = null)
    public HostedApplicationStorage(String name, HostedApplicationStorageArgs args)
    public HostedApplicationStorage(String name, HostedApplicationStorageArgs args, CustomResourceOptions options)
    
    type: oci:GenerativeAi:HostedApplicationStorage
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "oci_generative_ai_hosted_application_storage" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args HostedApplicationStorageArgs
    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 HostedApplicationStorageArgs
    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 HostedApplicationStorageArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args HostedApplicationStorageArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args HostedApplicationStorageArgs
    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 hostedApplicationStorageResource = new Oci.GenerativeAi.HostedApplicationStorage("hostedApplicationStorageResource", new()
    {
        CompartmentId = "string",
        DisplayName = "string",
        StorageType = "string",
        DefinedTags = 
        {
            { "string", "string" },
        },
        Description = "string",
        FreeformTags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := generativeai.NewHostedApplicationStorage(ctx, "hostedApplicationStorageResource", &generativeai.HostedApplicationStorageArgs{
    	CompartmentId: pulumi.String("string"),
    	DisplayName:   pulumi.String("string"),
    	StorageType:   pulumi.String("string"),
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Description: pulumi.String("string"),
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    resource "oci_generative_ai_hosted_application_storage" "hostedApplicationStorageResource" {
      lifecycle {
        create_before_destroy = true
      }
      compartment_id = "string"
      display_name   = "string"
      storage_type   = "string"
      defined_tags = {
        "string" = "string"
      }
      description = "string"
      freeform_tags = {
        "string" = "string"
      }
    }
    
    var hostedApplicationStorageResource = new HostedApplicationStorage("hostedApplicationStorageResource", HostedApplicationStorageArgs.builder()
        .compartmentId("string")
        .displayName("string")
        .storageType("string")
        .definedTags(Map.of("string", "string"))
        .description("string")
        .freeformTags(Map.of("string", "string"))
        .build());
    
    hosted_application_storage_resource = oci.generativeai.HostedApplicationStorage("hostedApplicationStorageResource",
        compartment_id="string",
        display_name="string",
        storage_type="string",
        defined_tags={
            "string": "string",
        },
        description="string",
        freeform_tags={
            "string": "string",
        })
    
    const hostedApplicationStorageResource = new oci.generativeai.HostedApplicationStorage("hostedApplicationStorageResource", {
        compartmentId: "string",
        displayName: "string",
        storageType: "string",
        definedTags: {
            string: "string",
        },
        description: "string",
        freeformTags: {
            string: "string",
        },
    });
    
    type: oci:GenerativeAi:HostedApplicationStorage
    properties:
        compartmentId: string
        definedTags:
            string: string
        description: string
        displayName: string
        freeformTags:
            string: string
        storageType: string
    

    HostedApplicationStorage 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 HostedApplicationStorage resource accepts the following input properties:

    CompartmentId string
    (Updatable) The compartment OCID to create the hosted application in.
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable.
    StorageType string

    type like Cache, Postgresql and ADB.

    ** 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

    DefinedTags Dictionary<string, string>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    An optional description of the hosted application.
    FreeformTags Dictionary<string, string>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    CompartmentId string
    (Updatable) The compartment OCID to create the hosted application in.
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable.
    StorageType string

    type like Cache, Postgresql and ADB.

    ** 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

    DefinedTags map[string]string
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    An optional description of the hosted application.
    FreeformTags map[string]string
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    compartment_id string
    (Updatable) The compartment OCID to create the hosted application in.
    display_name string
    A user-friendly name. Does not have to be unique, and it's changeable.
    storage_type string

    type like Cache, Postgresql and ADB.

    ** 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

    defined_tags map(string)
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description string
    An optional description of the hosted application.
    freeform_tags map(string)
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    compartmentId String
    (Updatable) The compartment OCID to create the hosted application in.
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable.
    storageType String

    type like Cache, Postgresql and ADB.

    ** 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

    definedTags Map<String,String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    An optional description of the hosted application.
    freeformTags Map<String,String>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    compartmentId string
    (Updatable) The compartment OCID to create the hosted application in.
    displayName string
    A user-friendly name. Does not have to be unique, and it's changeable.
    storageType string

    type like Cache, Postgresql and ADB.

    ** 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

    definedTags {[key: string]: string}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description string
    An optional description of the hosted application.
    freeformTags {[key: string]: string}
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    compartment_id str
    (Updatable) The compartment OCID to create the hosted application in.
    display_name str
    A user-friendly name. Does not have to be unique, and it's changeable.
    storage_type str

    type like Cache, Postgresql and ADB.

    ** 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

    defined_tags Mapping[str, str]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description str
    An optional description of the hosted application.
    freeform_tags Mapping[str, str]
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    compartmentId String
    (Updatable) The compartment OCID to create the hosted application in.
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable.
    storageType String

    type like Cache, Postgresql and ADB.

    ** 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

    definedTags Map<String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    An optional description of the hosted application.
    freeformTags Map<String>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

    Outputs

    All input properties are implicitly available as output properties. Additionally, the HostedApplicationStorage resource produces the following output properties:

    ApplicationIds List<string>
    A list of application OCID.
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleDetails string
    A message describing the current state of the hosted application storage in more detail that can provide actionable information.
    State string
    The current state of the hosted application storage.
    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
    ApplicationIds []string
    A list of application OCID.
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleDetails string
    A message describing the current state of the hosted application storage in more detail that can provide actionable information.
    State string
    The current state of the hosted application storage.
    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
    application_ids list(string)
    A list of application OCID.
    id string
    The provider-assigned unique ID for this managed resource.
    lifecycle_details string
    A message describing the current state of the hosted application storage in more detail that can provide actionable information.
    state string
    The current state of the hosted application storage.
    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
    applicationIds List<String>
    A list of application OCID.
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails String
    A message describing the current state of the hosted application storage in more detail that can provide actionable information.
    state String
    The current state of the hosted application storage.
    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
    applicationIds string[]
    A list of application OCID.
    id string
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails string
    A message describing the current state of the hosted application storage in more detail that can provide actionable information.
    state string
    The current state of the hosted application storage.
    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
    application_ids Sequence[str]
    A list of application OCID.
    id str
    The provider-assigned unique ID for this managed resource.
    lifecycle_details str
    A message describing the current state of the hosted application storage in more detail that can provide actionable information.
    state str
    The current state of the hosted application storage.
    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
    applicationIds List<String>
    A list of application OCID.
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails String
    A message describing the current state of the hosted application storage in more detail that can provide actionable information.
    state String
    The current state of the hosted application storage.
    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 HostedApplicationStorage Resource

    Get an existing HostedApplicationStorage 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?: HostedApplicationStorageState, opts?: CustomResourceOptions): HostedApplicationStorage
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            application_ids: Optional[Sequence[str]] = None,
            compartment_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, str]] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            lifecycle_details: Optional[str] = None,
            state: Optional[str] = None,
            storage_type: Optional[str] = None,
            system_tags: Optional[Mapping[str, str]] = None,
            time_created: Optional[str] = None,
            time_updated: Optional[str] = None) -> HostedApplicationStorage
    func GetHostedApplicationStorage(ctx *Context, name string, id IDInput, state *HostedApplicationStorageState, opts ...ResourceOption) (*HostedApplicationStorage, error)
    public static HostedApplicationStorage Get(string name, Input<string> id, HostedApplicationStorageState? state, CustomResourceOptions? opts = null)
    public static HostedApplicationStorage get(String name, Output<String> id, HostedApplicationStorageState state, CustomResourceOptions options)
    resources:  _:    type: oci:GenerativeAi:HostedApplicationStorage    get:      id: ${id}
    import {
      to = oci_generative_ai_hosted_application_storage.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:
    ApplicationIds List<string>
    A list of application OCID.
    CompartmentId string
    (Updatable) The compartment OCID to create the hosted application in.
    DefinedTags Dictionary<string, string>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    An optional description of the hosted application.
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable.
    FreeformTags Dictionary<string, string>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    LifecycleDetails string
    A message describing the current state of the hosted application storage in more detail that can provide actionable information.
    State string
    The current state of the hosted application storage.
    StorageType string

    type like Cache, Postgresql and ADB.

    ** 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

    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
    ApplicationIds []string
    A list of application OCID.
    CompartmentId string
    (Updatable) The compartment OCID to create the hosted application in.
    DefinedTags map[string]string
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    An optional description of the hosted application.
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable.
    FreeformTags map[string]string
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    LifecycleDetails string
    A message describing the current state of the hosted application storage in more detail that can provide actionable information.
    State string
    The current state of the hosted application storage.
    StorageType string

    type like Cache, Postgresql and ADB.

    ** 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

    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
    application_ids list(string)
    A list of application OCID.
    compartment_id string
    (Updatable) The compartment OCID to create the hosted application in.
    defined_tags map(string)
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description string
    An optional description of the hosted application.
    display_name string
    A user-friendly name. Does not have to be unique, and it's changeable.
    freeform_tags map(string)
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    lifecycle_details string
    A message describing the current state of the hosted application storage in more detail that can provide actionable information.
    state string
    The current state of the hosted application storage.
    storage_type string

    type like Cache, Postgresql and ADB.

    ** 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

    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
    applicationIds List<String>
    A list of application OCID.
    compartmentId String
    (Updatable) The compartment OCID to create the hosted application in.
    definedTags Map<String,String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    An optional description of the hosted application.
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable.
    freeformTags Map<String,String>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    lifecycleDetails String
    A message describing the current state of the hosted application storage in more detail that can provide actionable information.
    state String
    The current state of the hosted application storage.
    storageType String

    type like Cache, Postgresql and ADB.

    ** 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

    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
    applicationIds string[]
    A list of application OCID.
    compartmentId string
    (Updatable) The compartment OCID to create the hosted application in.
    definedTags {[key: string]: string}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description string
    An optional description of the hosted application.
    displayName string
    A user-friendly name. Does not have to be unique, and it's changeable.
    freeformTags {[key: string]: string}
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    lifecycleDetails string
    A message describing the current state of the hosted application storage in more detail that can provide actionable information.
    state string
    The current state of the hosted application storage.
    storageType string

    type like Cache, Postgresql and ADB.

    ** 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

    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
    application_ids Sequence[str]
    A list of application OCID.
    compartment_id str
    (Updatable) The compartment OCID to create the hosted application in.
    defined_tags Mapping[str, str]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description str
    An optional description of the hosted application.
    display_name str
    A user-friendly name. Does not have to be unique, and it's changeable.
    freeform_tags Mapping[str, str]
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    lifecycle_details str
    A message describing the current state of the hosted application storage in more detail that can provide actionable information.
    state str
    The current state of the hosted application storage.
    storage_type str

    type like Cache, Postgresql and ADB.

    ** 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

    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
    applicationIds List<String>
    A list of application OCID.
    compartmentId String
    (Updatable) The compartment OCID to create the hosted application in.
    definedTags Map<String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    An optional description of the hosted application.
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable.
    freeformTags Map<String>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    lifecycleDetails String
    A message describing the current state of the hosted application storage in more detail that can provide actionable information.
    state String
    The current state of the hosted application storage.
    storageType String

    type like Cache, Postgresql and ADB.

    ** 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

    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

    Import

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

    $ pulumi import oci:GenerativeAi/hostedApplicationStorage:HostedApplicationStorage test_hosted_application_storage "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 v4.22.0
    published on Wednesday, Aug 26, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial