1. Packages
  2. Ibm Provider
  3. API Docs
  4. CodeEnginePersistentDataStore
ibm 1.88.0 published on Friday, Feb 6, 2026 by ibm-cloud
ibm logo
ibm 1.88.0 published on Friday, Feb 6, 2026 by ibm-cloud

    Create, update, and delete code_engine_persistent_data_stores with this resource.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const codeEnginePersistentDataStoreInstance = new ibm.CodeEnginePersistentDataStore("code_engine_persistent_data_store_instance", {
        projectId: codeEngineProjectInstance.projectId,
        name: "my-persistent-data-store",
        data: {
            bucketLocation: "au-syd",
            bucketName: "bucket_name",
            secretName: "secret_name",
        },
        storageType: "object_storage",
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    code_engine_persistent_data_store_instance = ibm.CodeEnginePersistentDataStore("code_engine_persistent_data_store_instance",
        project_id=code_engine_project_instance["projectId"],
        name="my-persistent-data-store",
        data={
            "bucket_location": "au-syd",
            "bucket_name": "bucket_name",
            "secret_name": "secret_name",
        },
        storage_type="object_storage")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ibm.NewCodeEnginePersistentDataStore(ctx, "code_engine_persistent_data_store_instance", &ibm.CodeEnginePersistentDataStoreArgs{
    			ProjectId: pulumi.Any(codeEngineProjectInstance.ProjectId),
    			Name:      pulumi.String("my-persistent-data-store"),
    			Data: &ibm.CodeEnginePersistentDataStoreDataArgs{
    				BucketLocation: pulumi.String("au-syd"),
    				BucketName:     pulumi.String("bucket_name"),
    				SecretName:     pulumi.String("secret_name"),
    			},
    			StorageType: pulumi.String("object_storage"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ibm = Pulumi.Ibm;
    
    return await Deployment.RunAsync(() => 
    {
        var codeEnginePersistentDataStoreInstance = new Ibm.CodeEnginePersistentDataStore("code_engine_persistent_data_store_instance", new()
        {
            ProjectId = codeEngineProjectInstance.ProjectId,
            Name = "my-persistent-data-store",
            Data = new Ibm.Inputs.CodeEnginePersistentDataStoreDataArgs
            {
                BucketLocation = "au-syd",
                BucketName = "bucket_name",
                SecretName = "secret_name",
            },
            StorageType = "object_storage",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.CodeEnginePersistentDataStore;
    import com.pulumi.ibm.CodeEnginePersistentDataStoreArgs;
    import com.pulumi.ibm.inputs.CodeEnginePersistentDataStoreDataArgs;
    import java.util.List;
    import java.util.ArrayList;
    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 codeEnginePersistentDataStoreInstance = new CodeEnginePersistentDataStore("codeEnginePersistentDataStoreInstance", CodeEnginePersistentDataStoreArgs.builder()
                .projectId(codeEngineProjectInstance.projectId())
                .name("my-persistent-data-store")
                .data(CodeEnginePersistentDataStoreDataArgs.builder()
                    .bucketLocation("au-syd")
                    .bucketName("bucket_name")
                    .secretName("secret_name")
                    .build())
                .storageType("object_storage")
                .build());
    
        }
    }
    
    resources:
      codeEnginePersistentDataStoreInstance:
        type: ibm:CodeEnginePersistentDataStore
        name: code_engine_persistent_data_store_instance
        properties:
          projectId: ${codeEngineProjectInstance.projectId}
          name: my-persistent-data-store
          data:
            bucketLocation: au-syd
            bucketName: bucket_name
            secretName: secret_name
          storageType: object_storage
    

    Create CodeEnginePersistentDataStore Resource

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

    Constructor syntax

    new CodeEnginePersistentDataStore(name: string, args: CodeEnginePersistentDataStoreArgs, opts?: CustomResourceOptions);
    @overload
    def CodeEnginePersistentDataStore(resource_name: str,
                                      args: CodeEnginePersistentDataStoreArgs,
                                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def CodeEnginePersistentDataStore(resource_name: str,
                                      opts: Optional[ResourceOptions] = None,
                                      project_id: Optional[str] = None,
                                      storage_type: Optional[str] = None,
                                      code_engine_persistent_data_store_id: Optional[str] = None,
                                      data: Optional[CodeEnginePersistentDataStoreDataArgs] = None,
                                      name: Optional[str] = None)
    func NewCodeEnginePersistentDataStore(ctx *Context, name string, args CodeEnginePersistentDataStoreArgs, opts ...ResourceOption) (*CodeEnginePersistentDataStore, error)
    public CodeEnginePersistentDataStore(string name, CodeEnginePersistentDataStoreArgs args, CustomResourceOptions? opts = null)
    public CodeEnginePersistentDataStore(String name, CodeEnginePersistentDataStoreArgs args)
    public CodeEnginePersistentDataStore(String name, CodeEnginePersistentDataStoreArgs args, CustomResourceOptions options)
    
    type: ibm:CodeEnginePersistentDataStore
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args CodeEnginePersistentDataStoreArgs
    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 CodeEnginePersistentDataStoreArgs
    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 CodeEnginePersistentDataStoreArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CodeEnginePersistentDataStoreArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CodeEnginePersistentDataStoreArgs
    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 codeEnginePersistentDataStoreResource = new Ibm.CodeEnginePersistentDataStore("codeEnginePersistentDataStoreResource", new()
    {
        ProjectId = "string",
        StorageType = "string",
        CodeEnginePersistentDataStoreId = "string",
        Data = new Ibm.Inputs.CodeEnginePersistentDataStoreDataArgs
        {
            BucketLocation = "string",
            BucketName = "string",
            SecretName = "string",
        },
        Name = "string",
    });
    
    example, err := ibm.NewCodeEnginePersistentDataStore(ctx, "codeEnginePersistentDataStoreResource", &ibm.CodeEnginePersistentDataStoreArgs{
    	ProjectId:                       pulumi.String("string"),
    	StorageType:                     pulumi.String("string"),
    	CodeEnginePersistentDataStoreId: pulumi.String("string"),
    	Data: &ibm.CodeEnginePersistentDataStoreDataArgs{
    		BucketLocation: pulumi.String("string"),
    		BucketName:     pulumi.String("string"),
    		SecretName:     pulumi.String("string"),
    	},
    	Name: pulumi.String("string"),
    })
    
    var codeEnginePersistentDataStoreResource = new CodeEnginePersistentDataStore("codeEnginePersistentDataStoreResource", CodeEnginePersistentDataStoreArgs.builder()
        .projectId("string")
        .storageType("string")
        .codeEnginePersistentDataStoreId("string")
        .data(CodeEnginePersistentDataStoreDataArgs.builder()
            .bucketLocation("string")
            .bucketName("string")
            .secretName("string")
            .build())
        .name("string")
        .build());
    
    code_engine_persistent_data_store_resource = ibm.CodeEnginePersistentDataStore("codeEnginePersistentDataStoreResource",
        project_id="string",
        storage_type="string",
        code_engine_persistent_data_store_id="string",
        data={
            "bucket_location": "string",
            "bucket_name": "string",
            "secret_name": "string",
        },
        name="string")
    
    const codeEnginePersistentDataStoreResource = new ibm.CodeEnginePersistentDataStore("codeEnginePersistentDataStoreResource", {
        projectId: "string",
        storageType: "string",
        codeEnginePersistentDataStoreId: "string",
        data: {
            bucketLocation: "string",
            bucketName: "string",
            secretName: "string",
        },
        name: "string",
    });
    
    type: ibm:CodeEnginePersistentDataStore
    properties:
        codeEnginePersistentDataStoreId: string
        data:
            bucketLocation: string
            bucketName: string
            secretName: string
        name: string
        projectId: string
        storageType: string
    

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

    ProjectId string
    The ID of the project.

    • Constraints: Length must be 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    StorageType string
    Specify the storage type of the persistent data store.

    • Constraints: Allowable values are: object_storage. The value must match regular expression /^(object_storage)$/.
    CodeEnginePersistentDataStoreId string
    (String) The identifier of the resource.
    Data CodeEnginePersistentDataStoreData
    Data container that allows to specify config parameters and their values as a key-value map. Each key field must consist of alphanumeric characters, -, _ or . and must not exceed a max length of 253 characters. Each value field can consists of any character and must not exceed a max length of 1048576 characters. Nested schema for data:
    Name string
    The name of the persistent data store.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    ProjectId string
    The ID of the project.

    • Constraints: Length must be 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    StorageType string
    Specify the storage type of the persistent data store.

    • Constraints: Allowable values are: object_storage. The value must match regular expression /^(object_storage)$/.
    CodeEnginePersistentDataStoreId string
    (String) The identifier of the resource.
    Data CodeEnginePersistentDataStoreDataArgs
    Data container that allows to specify config parameters and their values as a key-value map. Each key field must consist of alphanumeric characters, -, _ or . and must not exceed a max length of 253 characters. Each value field can consists of any character and must not exceed a max length of 1048576 characters. Nested schema for data:
    Name string
    The name of the persistent data store.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    projectId String
    The ID of the project.

    • Constraints: Length must be 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    storageType String
    Specify the storage type of the persistent data store.

    • Constraints: Allowable values are: object_storage. The value must match regular expression /^(object_storage)$/.
    codeEnginePersistentDataStoreId String
    (String) The identifier of the resource.
    data CodeEnginePersistentDataStoreData
    Data container that allows to specify config parameters and their values as a key-value map. Each key field must consist of alphanumeric characters, -, _ or . and must not exceed a max length of 253 characters. Each value field can consists of any character and must not exceed a max length of 1048576 characters. Nested schema for data:
    name String
    The name of the persistent data store.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    projectId string
    The ID of the project.

    • Constraints: Length must be 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    storageType string
    Specify the storage type of the persistent data store.

    • Constraints: Allowable values are: object_storage. The value must match regular expression /^(object_storage)$/.
    codeEnginePersistentDataStoreId string
    (String) The identifier of the resource.
    data CodeEnginePersistentDataStoreData
    Data container that allows to specify config parameters and their values as a key-value map. Each key field must consist of alphanumeric characters, -, _ or . and must not exceed a max length of 253 characters. Each value field can consists of any character and must not exceed a max length of 1048576 characters. Nested schema for data:
    name string
    The name of the persistent data store.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    project_id str
    The ID of the project.

    • Constraints: Length must be 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    storage_type str
    Specify the storage type of the persistent data store.

    • Constraints: Allowable values are: object_storage. The value must match regular expression /^(object_storage)$/.
    code_engine_persistent_data_store_id str
    (String) The identifier of the resource.
    data CodeEnginePersistentDataStoreDataArgs
    Data container that allows to specify config parameters and their values as a key-value map. Each key field must consist of alphanumeric characters, -, _ or . and must not exceed a max length of 253 characters. Each value field can consists of any character and must not exceed a max length of 1048576 characters. Nested schema for data:
    name str
    The name of the persistent data store.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    projectId String
    The ID of the project.

    • Constraints: Length must be 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    storageType String
    Specify the storage type of the persistent data store.

    • Constraints: Allowable values are: object_storage. The value must match regular expression /^(object_storage)$/.
    codeEnginePersistentDataStoreId String
    (String) The identifier of the resource.
    data Property Map
    Data container that allows to specify config parameters and their values as a key-value map. Each key field must consist of alphanumeric characters, -, _ or . and must not exceed a max length of 253 characters. Each value field can consists of any character and must not exceed a max length of 1048576 characters. Nested schema for data:
    name String
    The name of the persistent data store.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.

    Outputs

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

    CreatedAt string
    (String) The timestamp when the resource was created.
    EntityTag string
    (String) The version of the persistent data store, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    Etag string
    ETag identifier for code_engine_persistent_data_store.
    Id string
    The provider-assigned unique ID for this managed resource.
    PersistentDataStoreId string
    (String) The identifier of the resource.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    Region string
    (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
    CreatedAt string
    (String) The timestamp when the resource was created.
    EntityTag string
    (String) The version of the persistent data store, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    Etag string
    ETag identifier for code_engine_persistent_data_store.
    Id string
    The provider-assigned unique ID for this managed resource.
    PersistentDataStoreId string
    (String) The identifier of the resource.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    Region string
    (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
    createdAt String
    (String) The timestamp when the resource was created.
    entityTag String
    (String) The version of the persistent data store, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    etag String
    ETag identifier for code_engine_persistent_data_store.
    id String
    The provider-assigned unique ID for this managed resource.
    persistentDataStoreId String
    (String) The identifier of the resource.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    region String
    (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
    createdAt string
    (String) The timestamp when the resource was created.
    entityTag string
    (String) The version of the persistent data store, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    etag string
    ETag identifier for code_engine_persistent_data_store.
    id string
    The provider-assigned unique ID for this managed resource.
    persistentDataStoreId string
    (String) The identifier of the resource.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    region string
    (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
    created_at str
    (String) The timestamp when the resource was created.
    entity_tag str
    (String) The version of the persistent data store, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    etag str
    ETag identifier for code_engine_persistent_data_store.
    id str
    The provider-assigned unique ID for this managed resource.
    persistent_data_store_id str
    (String) The identifier of the resource.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    region str
    (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
    createdAt String
    (String) The timestamp when the resource was created.
    entityTag String
    (String) The version of the persistent data store, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    etag String
    ETag identifier for code_engine_persistent_data_store.
    id String
    The provider-assigned unique ID for this managed resource.
    persistentDataStoreId String
    (String) The identifier of the resource.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    region String
    (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.

    Look up Existing CodeEnginePersistentDataStore Resource

    Get an existing CodeEnginePersistentDataStore 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?: CodeEnginePersistentDataStoreState, opts?: CustomResourceOptions): CodeEnginePersistentDataStore
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            code_engine_persistent_data_store_id: Optional[str] = None,
            created_at: Optional[str] = None,
            data: Optional[CodeEnginePersistentDataStoreDataArgs] = None,
            entity_tag: Optional[str] = None,
            etag: Optional[str] = None,
            name: Optional[str] = None,
            persistent_data_store_id: Optional[str] = None,
            project_id: Optional[str] = None,
            region: Optional[str] = None,
            storage_type: Optional[str] = None) -> CodeEnginePersistentDataStore
    func GetCodeEnginePersistentDataStore(ctx *Context, name string, id IDInput, state *CodeEnginePersistentDataStoreState, opts ...ResourceOption) (*CodeEnginePersistentDataStore, error)
    public static CodeEnginePersistentDataStore Get(string name, Input<string> id, CodeEnginePersistentDataStoreState? state, CustomResourceOptions? opts = null)
    public static CodeEnginePersistentDataStore get(String name, Output<String> id, CodeEnginePersistentDataStoreState state, CustomResourceOptions options)
    resources:  _:    type: ibm:CodeEnginePersistentDataStore    get:      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:
    CodeEnginePersistentDataStoreId string
    (String) The identifier of the resource.
    CreatedAt string
    (String) The timestamp when the resource was created.
    Data CodeEnginePersistentDataStoreData
    Data container that allows to specify config parameters and their values as a key-value map. Each key field must consist of alphanumeric characters, -, _ or . and must not exceed a max length of 253 characters. Each value field can consists of any character and must not exceed a max length of 1048576 characters. Nested schema for data:
    EntityTag string
    (String) The version of the persistent data store, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    Etag string
    ETag identifier for code_engine_persistent_data_store.
    Name string
    The name of the persistent data store.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    PersistentDataStoreId string
    (String) The identifier of the resource.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    ProjectId string
    The ID of the project.

    • Constraints: Length must be 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    Region string
    (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
    StorageType string
    Specify the storage type of the persistent data store.

    • Constraints: Allowable values are: object_storage. The value must match regular expression /^(object_storage)$/.
    CodeEnginePersistentDataStoreId string
    (String) The identifier of the resource.
    CreatedAt string
    (String) The timestamp when the resource was created.
    Data CodeEnginePersistentDataStoreDataArgs
    Data container that allows to specify config parameters and their values as a key-value map. Each key field must consist of alphanumeric characters, -, _ or . and must not exceed a max length of 253 characters. Each value field can consists of any character and must not exceed a max length of 1048576 characters. Nested schema for data:
    EntityTag string
    (String) The version of the persistent data store, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    Etag string
    ETag identifier for code_engine_persistent_data_store.
    Name string
    The name of the persistent data store.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    PersistentDataStoreId string
    (String) The identifier of the resource.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    ProjectId string
    The ID of the project.

    • Constraints: Length must be 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    Region string
    (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
    StorageType string
    Specify the storage type of the persistent data store.

    • Constraints: Allowable values are: object_storage. The value must match regular expression /^(object_storage)$/.
    codeEnginePersistentDataStoreId String
    (String) The identifier of the resource.
    createdAt String
    (String) The timestamp when the resource was created.
    data CodeEnginePersistentDataStoreData
    Data container that allows to specify config parameters and their values as a key-value map. Each key field must consist of alphanumeric characters, -, _ or . and must not exceed a max length of 253 characters. Each value field can consists of any character and must not exceed a max length of 1048576 characters. Nested schema for data:
    entityTag String
    (String) The version of the persistent data store, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    etag String
    ETag identifier for code_engine_persistent_data_store.
    name String
    The name of the persistent data store.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    persistentDataStoreId String
    (String) The identifier of the resource.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    projectId String
    The ID of the project.

    • Constraints: Length must be 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    region String
    (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
    storageType String
    Specify the storage type of the persistent data store.

    • Constraints: Allowable values are: object_storage. The value must match regular expression /^(object_storage)$/.
    codeEnginePersistentDataStoreId string
    (String) The identifier of the resource.
    createdAt string
    (String) The timestamp when the resource was created.
    data CodeEnginePersistentDataStoreData
    Data container that allows to specify config parameters and their values as a key-value map. Each key field must consist of alphanumeric characters, -, _ or . and must not exceed a max length of 253 characters. Each value field can consists of any character and must not exceed a max length of 1048576 characters. Nested schema for data:
    entityTag string
    (String) The version of the persistent data store, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    etag string
    ETag identifier for code_engine_persistent_data_store.
    name string
    The name of the persistent data store.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    persistentDataStoreId string
    (String) The identifier of the resource.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    projectId string
    The ID of the project.

    • Constraints: Length must be 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    region string
    (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
    storageType string
    Specify the storage type of the persistent data store.

    • Constraints: Allowable values are: object_storage. The value must match regular expression /^(object_storage)$/.
    code_engine_persistent_data_store_id str
    (String) The identifier of the resource.
    created_at str
    (String) The timestamp when the resource was created.
    data CodeEnginePersistentDataStoreDataArgs
    Data container that allows to specify config parameters and their values as a key-value map. Each key field must consist of alphanumeric characters, -, _ or . and must not exceed a max length of 253 characters. Each value field can consists of any character and must not exceed a max length of 1048576 characters. Nested schema for data:
    entity_tag str
    (String) The version of the persistent data store, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    etag str
    ETag identifier for code_engine_persistent_data_store.
    name str
    The name of the persistent data store.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    persistent_data_store_id str
    (String) The identifier of the resource.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    project_id str
    The ID of the project.

    • Constraints: Length must be 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    region str
    (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
    storage_type str
    Specify the storage type of the persistent data store.

    • Constraints: Allowable values are: object_storage. The value must match regular expression /^(object_storage)$/.
    codeEnginePersistentDataStoreId String
    (String) The identifier of the resource.
    createdAt String
    (String) The timestamp when the resource was created.
    data Property Map
    Data container that allows to specify config parameters and their values as a key-value map. Each key field must consist of alphanumeric characters, -, _ or . and must not exceed a max length of 253 characters. Each value field can consists of any character and must not exceed a max length of 1048576 characters. Nested schema for data:
    entityTag String
    (String) The version of the persistent data store, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    etag String
    ETag identifier for code_engine_persistent_data_store.
    name String
    The name of the persistent data store.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    persistentDataStoreId String
    (String) The identifier of the resource.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    projectId String
    The ID of the project.

    • Constraints: Length must be 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    region String
    (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
    storageType String
    Specify the storage type of the persistent data store.

    • Constraints: Allowable values are: object_storage. The value must match regular expression /^(object_storage)$/.

    Supporting Types

    CodeEnginePersistentDataStoreData, CodeEnginePersistentDataStoreDataArgs

    BucketLocation string
    Specify the location of the bucket.

    • Constraints: Allowable values are: au-syd, br-sao, ca-mon, ca-tor, eu-de, eu-es, eu-gb, jp-osa, jp-tok, us-east, us-south, ap, eu, us, ams03, che01, mil01, mon01, par01, sjc04, sng01. The value must match regular expression /^(au-syd|br-sao|ca-mon|ca-tor|eu-de|eu-es|eu-gb|jp-osa|jp-tok|us-east|us-south|ap|eu|us|ams03|che01|mil01|mon01|par01|sjc04|sng01)$/.
    BucketName string
    Specify the name of the bucket.

    • Constraints: The maximum length is 63 characters. The minimum length is 3 characters. The value must match regular expression /^a-z0-9?$/.
    SecretName string
    Specify the name of the HMAC secret.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    BucketLocation string
    Specify the location of the bucket.

    • Constraints: Allowable values are: au-syd, br-sao, ca-mon, ca-tor, eu-de, eu-es, eu-gb, jp-osa, jp-tok, us-east, us-south, ap, eu, us, ams03, che01, mil01, mon01, par01, sjc04, sng01. The value must match regular expression /^(au-syd|br-sao|ca-mon|ca-tor|eu-de|eu-es|eu-gb|jp-osa|jp-tok|us-east|us-south|ap|eu|us|ams03|che01|mil01|mon01|par01|sjc04|sng01)$/.
    BucketName string
    Specify the name of the bucket.

    • Constraints: The maximum length is 63 characters. The minimum length is 3 characters. The value must match regular expression /^a-z0-9?$/.
    SecretName string
    Specify the name of the HMAC secret.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    bucketLocation String
    Specify the location of the bucket.

    • Constraints: Allowable values are: au-syd, br-sao, ca-mon, ca-tor, eu-de, eu-es, eu-gb, jp-osa, jp-tok, us-east, us-south, ap, eu, us, ams03, che01, mil01, mon01, par01, sjc04, sng01. The value must match regular expression /^(au-syd|br-sao|ca-mon|ca-tor|eu-de|eu-es|eu-gb|jp-osa|jp-tok|us-east|us-south|ap|eu|us|ams03|che01|mil01|mon01|par01|sjc04|sng01)$/.
    bucketName String
    Specify the name of the bucket.

    • Constraints: The maximum length is 63 characters. The minimum length is 3 characters. The value must match regular expression /^a-z0-9?$/.
    secretName String
    Specify the name of the HMAC secret.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    bucketLocation string
    Specify the location of the bucket.

    • Constraints: Allowable values are: au-syd, br-sao, ca-mon, ca-tor, eu-de, eu-es, eu-gb, jp-osa, jp-tok, us-east, us-south, ap, eu, us, ams03, che01, mil01, mon01, par01, sjc04, sng01. The value must match regular expression /^(au-syd|br-sao|ca-mon|ca-tor|eu-de|eu-es|eu-gb|jp-osa|jp-tok|us-east|us-south|ap|eu|us|ams03|che01|mil01|mon01|par01|sjc04|sng01)$/.
    bucketName string
    Specify the name of the bucket.

    • Constraints: The maximum length is 63 characters. The minimum length is 3 characters. The value must match regular expression /^a-z0-9?$/.
    secretName string
    Specify the name of the HMAC secret.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    bucket_location str
    Specify the location of the bucket.

    • Constraints: Allowable values are: au-syd, br-sao, ca-mon, ca-tor, eu-de, eu-es, eu-gb, jp-osa, jp-tok, us-east, us-south, ap, eu, us, ams03, che01, mil01, mon01, par01, sjc04, sng01. The value must match regular expression /^(au-syd|br-sao|ca-mon|ca-tor|eu-de|eu-es|eu-gb|jp-osa|jp-tok|us-east|us-south|ap|eu|us|ams03|che01|mil01|mon01|par01|sjc04|sng01)$/.
    bucket_name str
    Specify the name of the bucket.

    • Constraints: The maximum length is 63 characters. The minimum length is 3 characters. The value must match regular expression /^a-z0-9?$/.
    secret_name str
    Specify the name of the HMAC secret.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    bucketLocation String
    Specify the location of the bucket.

    • Constraints: Allowable values are: au-syd, br-sao, ca-mon, ca-tor, eu-de, eu-es, eu-gb, jp-osa, jp-tok, us-east, us-south, ap, eu, us, ams03, che01, mil01, mon01, par01, sjc04, sng01. The value must match regular expression /^(au-syd|br-sao|ca-mon|ca-tor|eu-de|eu-es|eu-gb|jp-osa|jp-tok|us-east|us-south|ap|eu|us|ams03|che01|mil01|mon01|par01|sjc04|sng01)$/.
    bucketName String
    Specify the name of the bucket.

    • Constraints: The maximum length is 63 characters. The minimum length is 3 characters. The value must match regular expression /^a-z0-9?$/.
    secretName String
    Specify the name of the HMAC secret.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.

    Import

    You can import the ibm_code_engine_persistent_data_store resource by using name.

    The name property can be formed from project_id, and name in the following format:

    
    <project_id>/<name>
    
    
    • project_id: A string in the format 15314cc3-85b4-4338-903f-c28cdee6d005. The ID of the project.

    • name: A string in the format my-persistent-data-store. The name of the persistent data store.

    Syntax

    
    ```sh
    $ pulumi import ibm:index/codeEnginePersistentDataStore:CodeEnginePersistentDataStore code_engine_persistent_data_store <project_id>/<name>
    ```
    
    

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

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    ibm logo
    ibm 1.88.0 published on Friday, Feb 6, 2026 by ibm-cloud
      Meet Neo: Your AI Platform Teammate