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:
- Project
Id string - The ID of the project.
- Constraints: Length must be
36characters. 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}$/.
- Constraints: Length must be
- Storage
Type string - Specify the storage type of the persistent data store.
- Constraints: Allowable values are:
object_storage. The value must match regular expression/^(object_storage)$/.
- Constraints: Allowable values are:
- Code
Engine stringPersistent Data Store Id - (String) The identifier of the resource.
- Data
Code
Engine Persistent Data Store Data - 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
63characters. The minimum length is1character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)*$/.
- Constraints: The maximum length is
- Project
Id string - The ID of the project.
- Constraints: Length must be
36characters. 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}$/.
- Constraints: Length must be
- Storage
Type string - Specify the storage type of the persistent data store.
- Constraints: Allowable values are:
object_storage. The value must match regular expression/^(object_storage)$/.
- Constraints: Allowable values are:
- Code
Engine stringPersistent Data Store Id - (String) The identifier of the resource.
- Data
Code
Engine Persistent Data Store Data Args - 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
63characters. The minimum length is1character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)*$/.
- Constraints: The maximum length is
- project
Id String - The ID of the project.
- Constraints: Length must be
36characters. 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}$/.
- Constraints: Length must be
- storage
Type String - Specify the storage type of the persistent data store.
- Constraints: Allowable values are:
object_storage. The value must match regular expression/^(object_storage)$/.
- Constraints: Allowable values are:
- code
Engine StringPersistent Data Store Id - (String) The identifier of the resource.
- data
Code
Engine Persistent Data Store Data - 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
63characters. The minimum length is1character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)*$/.
- Constraints: The maximum length is
- project
Id string - The ID of the project.
- Constraints: Length must be
36characters. 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}$/.
- Constraints: Length must be
- storage
Type string - Specify the storage type of the persistent data store.
- Constraints: Allowable values are:
object_storage. The value must match regular expression/^(object_storage)$/.
- Constraints: Allowable values are:
- code
Engine stringPersistent Data Store Id - (String) The identifier of the resource.
- data
Code
Engine Persistent Data Store Data - 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
63characters. The minimum length is1character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)*$/.
- Constraints: The maximum length is
- project_
id str - The ID of the project.
- Constraints: Length must be
36characters. 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}$/.
- Constraints: Length must be
- 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)$/.
- Constraints: Allowable values are:
- code_
engine_ strpersistent_ data_ store_ id - (String) The identifier of the resource.
- data
Code
Engine Persistent Data Store Data Args - 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
63characters. The minimum length is1character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)*$/.
- Constraints: The maximum length is
- project
Id String - The ID of the project.
- Constraints: Length must be
36characters. 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}$/.
- Constraints: Length must be
- storage
Type String - Specify the storage type of the persistent data store.
- Constraints: Allowable values are:
object_storage. The value must match regular expression/^(object_storage)$/.
- Constraints: Allowable values are:
- code
Engine StringPersistent Data Store Id - (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
63characters. The minimum length is1character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)*$/.
- Constraints: The maximum length is
Outputs
All input properties are implicitly available as output properties. Additionally, the CodeEnginePersistentDataStore resource produces the following output properties:
- Created
At string - (String) The timestamp when the resource was created.
- Entity
Tag string - (String) The version of the persistent data store, which is used to achieve optimistic locking.
- Constraints: The maximum length is
63characters. The minimum length is1character. The value must match regular expression/^[\\*\\-a-z0-9]+$/.
- Constraints: The maximum length is
- Etag string
- ETag identifier for code_engine_persistent_data_store.
- Id string
- The provider-assigned unique ID for this managed resource.
- Persistent
Data stringStore Id - (String) The identifier of the resource.
- Constraints: The maximum length is
36characters. The minimum length is36characters. 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}$/.
- Constraints: The maximum length is
- 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 string - (String) The timestamp when the resource was created.
- Entity
Tag string - (String) The version of the persistent data store, which is used to achieve optimistic locking.
- Constraints: The maximum length is
63characters. The minimum length is1character. The value must match regular expression/^[\\*\\-a-z0-9]+$/.
- Constraints: The maximum length is
- Etag string
- ETag identifier for code_engine_persistent_data_store.
- Id string
- The provider-assigned unique ID for this managed resource.
- Persistent
Data stringStore Id - (String) The identifier of the resource.
- Constraints: The maximum length is
36characters. The minimum length is36characters. 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}$/.
- Constraints: The maximum length is
- 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 String - (String) The timestamp when the resource was created.
- entity
Tag String - (String) The version of the persistent data store, which is used to achieve optimistic locking.
- Constraints: The maximum length is
63characters. The minimum length is1character. The value must match regular expression/^[\\*\\-a-z0-9]+$/.
- Constraints: The maximum length is
- etag String
- ETag identifier for code_engine_persistent_data_store.
- id String
- The provider-assigned unique ID for this managed resource.
- persistent
Data StringStore Id - (String) The identifier of the resource.
- Constraints: The maximum length is
36characters. The minimum length is36characters. 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}$/.
- Constraints: The maximum length is
- 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 string - (String) The timestamp when the resource was created.
- entity
Tag string - (String) The version of the persistent data store, which is used to achieve optimistic locking.
- Constraints: The maximum length is
63characters. The minimum length is1character. The value must match regular expression/^[\\*\\-a-z0-9]+$/.
- Constraints: The maximum length is
- etag string
- ETag identifier for code_engine_persistent_data_store.
- id string
- The provider-assigned unique ID for this managed resource.
- persistent
Data stringStore Id - (String) The identifier of the resource.
- Constraints: The maximum length is
36characters. The minimum length is36characters. 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}$/.
- Constraints: The maximum length is
- 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
63characters. The minimum length is1character. The value must match regular expression/^[\\*\\-a-z0-9]+$/.
- Constraints: The maximum length is
- etag str
- ETag identifier for code_engine_persistent_data_store.
- id str
- The provider-assigned unique ID for this managed resource.
- persistent_
data_ strstore_ id - (String) The identifier of the resource.
- Constraints: The maximum length is
36characters. The minimum length is36characters. 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}$/.
- Constraints: The maximum length is
- 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'.
- created
At String - (String) The timestamp when the resource was created.
- entity
Tag String - (String) The version of the persistent data store, which is used to achieve optimistic locking.
- Constraints: The maximum length is
63characters. The minimum length is1character. The value must match regular expression/^[\\*\\-a-z0-9]+$/.
- Constraints: The maximum length is
- etag String
- ETag identifier for code_engine_persistent_data_store.
- id String
- The provider-assigned unique ID for this managed resource.
- persistent
Data StringStore Id - (String) The identifier of the resource.
- Constraints: The maximum length is
36characters. The minimum length is36characters. 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}$/.
- Constraints: The maximum length is
- 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) -> CodeEnginePersistentDataStorefunc 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.
- Code
Engine stringPersistent Data Store Id - (String) The identifier of the resource.
- Created
At string - (String) The timestamp when the resource was created.
- Data
Code
Engine Persistent Data Store Data - 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 string - (String) The version of the persistent data store, which is used to achieve optimistic locking.
- Constraints: The maximum length is
63characters. The minimum length is1character. The value must match regular expression/^[\\*\\-a-z0-9]+$/.
- Constraints: The maximum length is
- Etag string
- ETag identifier for code_engine_persistent_data_store.
- Name string
- The name of the persistent data store.
- Constraints: The maximum length is
63characters. The minimum length is1character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)*$/.
- Constraints: The maximum length is
- Persistent
Data stringStore Id - (String) The identifier of the resource.
- Constraints: The maximum length is
36characters. The minimum length is36characters. 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}$/.
- Constraints: The maximum length is
- Project
Id string - The ID of the project.
- Constraints: Length must be
36characters. 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}$/.
- Constraints: Length must be
- 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'.
- Storage
Type string - Specify the storage type of the persistent data store.
- Constraints: Allowable values are:
object_storage. The value must match regular expression/^(object_storage)$/.
- Constraints: Allowable values are:
- Code
Engine stringPersistent Data Store Id - (String) The identifier of the resource.
- Created
At string - (String) The timestamp when the resource was created.
- Data
Code
Engine Persistent Data Store Data Args - 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 string - (String) The version of the persistent data store, which is used to achieve optimistic locking.
- Constraints: The maximum length is
63characters. The minimum length is1character. The value must match regular expression/^[\\*\\-a-z0-9]+$/.
- Constraints: The maximum length is
- Etag string
- ETag identifier for code_engine_persistent_data_store.
- Name string
- The name of the persistent data store.
- Constraints: The maximum length is
63characters. The minimum length is1character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)*$/.
- Constraints: The maximum length is
- Persistent
Data stringStore Id - (String) The identifier of the resource.
- Constraints: The maximum length is
36characters. The minimum length is36characters. 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}$/.
- Constraints: The maximum length is
- Project
Id string - The ID of the project.
- Constraints: Length must be
36characters. 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}$/.
- Constraints: Length must be
- 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'.
- Storage
Type string - Specify the storage type of the persistent data store.
- Constraints: Allowable values are:
object_storage. The value must match regular expression/^(object_storage)$/.
- Constraints: Allowable values are:
- code
Engine StringPersistent Data Store Id - (String) The identifier of the resource.
- created
At String - (String) The timestamp when the resource was created.
- data
Code
Engine Persistent Data Store Data - 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 String - (String) The version of the persistent data store, which is used to achieve optimistic locking.
- Constraints: The maximum length is
63characters. The minimum length is1character. The value must match regular expression/^[\\*\\-a-z0-9]+$/.
- Constraints: The maximum length is
- etag String
- ETag identifier for code_engine_persistent_data_store.
- name String
- The name of the persistent data store.
- Constraints: The maximum length is
63characters. The minimum length is1character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)*$/.
- Constraints: The maximum length is
- persistent
Data StringStore Id - (String) The identifier of the resource.
- Constraints: The maximum length is
36characters. The minimum length is36characters. 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}$/.
- Constraints: The maximum length is
- project
Id String - The ID of the project.
- Constraints: Length must be
36characters. 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}$/.
- Constraints: Length must be
- 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'.
- storage
Type String - Specify the storage type of the persistent data store.
- Constraints: Allowable values are:
object_storage. The value must match regular expression/^(object_storage)$/.
- Constraints: Allowable values are:
- code
Engine stringPersistent Data Store Id - (String) The identifier of the resource.
- created
At string - (String) The timestamp when the resource was created.
- data
Code
Engine Persistent Data Store Data - 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 string - (String) The version of the persistent data store, which is used to achieve optimistic locking.
- Constraints: The maximum length is
63characters. The minimum length is1character. The value must match regular expression/^[\\*\\-a-z0-9]+$/.
- Constraints: The maximum length is
- etag string
- ETag identifier for code_engine_persistent_data_store.
- name string
- The name of the persistent data store.
- Constraints: The maximum length is
63characters. The minimum length is1character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)*$/.
- Constraints: The maximum length is
- persistent
Data stringStore Id - (String) The identifier of the resource.
- Constraints: The maximum length is
36characters. The minimum length is36characters. 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}$/.
- Constraints: The maximum length is
- project
Id string - The ID of the project.
- Constraints: Length must be
36characters. 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}$/.
- Constraints: Length must be
- 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'.
- storage
Type string - Specify the storage type of the persistent data store.
- Constraints: Allowable values are:
object_storage. The value must match regular expression/^(object_storage)$/.
- Constraints: Allowable values are:
- code_
engine_ strpersistent_ data_ store_ id - (String) The identifier of the resource.
- created_
at str - (String) The timestamp when the resource was created.
- data
Code
Engine Persistent Data Store Data Args - 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
63characters. The minimum length is1character. The value must match regular expression/^[\\*\\-a-z0-9]+$/.
- Constraints: The maximum length is
- etag str
- ETag identifier for code_engine_persistent_data_store.
- name str
- The name of the persistent data store.
- Constraints: The maximum length is
63characters. The minimum length is1character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)*$/.
- Constraints: The maximum length is
- persistent_
data_ strstore_ id - (String) The identifier of the resource.
- Constraints: The maximum length is
36characters. The minimum length is36characters. 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}$/.
- Constraints: The maximum length is
- project_
id str - The ID of the project.
- Constraints: Length must be
36characters. 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}$/.
- Constraints: Length must be
- 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)$/.
- Constraints: Allowable values are:
- code
Engine StringPersistent Data Store Id - (String) The identifier of the resource.
- created
At 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: - entity
Tag String - (String) The version of the persistent data store, which is used to achieve optimistic locking.
- Constraints: The maximum length is
63characters. The minimum length is1character. The value must match regular expression/^[\\*\\-a-z0-9]+$/.
- Constraints: The maximum length is
- etag String
- ETag identifier for code_engine_persistent_data_store.
- name String
- The name of the persistent data store.
- Constraints: The maximum length is
63characters. The minimum length is1character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)*$/.
- Constraints: The maximum length is
- persistent
Data StringStore Id - (String) The identifier of the resource.
- Constraints: The maximum length is
36characters. The minimum length is36characters. 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}$/.
- Constraints: The maximum length is
- project
Id String - The ID of the project.
- Constraints: Length must be
36characters. 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}$/.
- Constraints: Length must be
- 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'.
- storage
Type String - Specify the storage type of the persistent data store.
- Constraints: Allowable values are:
object_storage. The value must match regular expression/^(object_storage)$/.
- Constraints: Allowable values are:
Supporting Types
CodeEnginePersistentDataStoreData, CodeEnginePersistentDataStoreDataArgs
- Bucket
Location 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)$/.
- Constraints: Allowable values are:
- Bucket
Name string - Specify the name of the bucket.
- Constraints: The maximum length is
63characters. The minimum length is3characters. The value must match regular expression/^a-z0-9?$/.
- Constraints: The maximum length is
- Secret
Name string - Specify the name of the HMAC secret.
- Constraints: The maximum length is
253characters. The minimum length is1character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)*$/.
- Constraints: The maximum length is
- Bucket
Location 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)$/.
- Constraints: Allowable values are:
- Bucket
Name string - Specify the name of the bucket.
- Constraints: The maximum length is
63characters. The minimum length is3characters. The value must match regular expression/^a-z0-9?$/.
- Constraints: The maximum length is
- Secret
Name string - Specify the name of the HMAC secret.
- Constraints: The maximum length is
253characters. The minimum length is1character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)*$/.
- Constraints: The maximum length is
- bucket
Location 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)$/.
- Constraints: Allowable values are:
- bucket
Name String - Specify the name of the bucket.
- Constraints: The maximum length is
63characters. The minimum length is3characters. The value must match regular expression/^a-z0-9?$/.
- Constraints: The maximum length is
- secret
Name String - Specify the name of the HMAC secret.
- Constraints: The maximum length is
253characters. The minimum length is1character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)*$/.
- Constraints: The maximum length is
- bucket
Location 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)$/.
- Constraints: Allowable values are:
- bucket
Name string - Specify the name of the bucket.
- Constraints: The maximum length is
63characters. The minimum length is3characters. The value must match regular expression/^a-z0-9?$/.
- Constraints: The maximum length is
- secret
Name string - Specify the name of the HMAC secret.
- Constraints: The maximum length is
253characters. The minimum length is1character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)*$/.
- Constraints: The maximum length is
- 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)$/.
- Constraints: Allowable values are:
- bucket_
name str - Specify the name of the bucket.
- Constraints: The maximum length is
63characters. The minimum length is3characters. The value must match regular expression/^a-z0-9?$/.
- Constraints: The maximum length is
- secret_
name str - Specify the name of the HMAC secret.
- Constraints: The maximum length is
253characters. The minimum length is1character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)*$/.
- Constraints: The maximum length is
- bucket
Location 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)$/.
- Constraints: Allowable values are:
- bucket
Name String - Specify the name of the bucket.
- Constraints: The maximum length is
63characters. The minimum length is3characters. The value must match regular expression/^a-z0-9?$/.
- Constraints: The maximum length is
- secret
Name String - Specify the name of the HMAC secret.
- Constraints: The maximum length is
253characters. The minimum length is1character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)*$/.
- Constraints: The maximum length is
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 format15314cc3-85b4-4338-903f-c28cdee6d005. The ID of the project.name: A string in the formatmy-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
ibmTerraform Provider.
