ibm 1.88.0 published on Friday, Feb 6, 2026 by ibm-cloud
ibm 1.88.0 published on Friday, Feb 6, 2026 by ibm-cloud
Provides a read-only data source to retrieve information about a code_engine_persistent_data_store. You can then reference the fields of the data source in other resources within the same configuration by using interpolation syntax.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const codeEnginePersistentDataStore = ibm.getCodeEnginePersistentDataStore({
name: codeEnginePersistentDataStoreInstance.name,
projectId: codeEnginePersistentDataStoreInstance.projectId,
});
import pulumi
import pulumi_ibm as ibm
code_engine_persistent_data_store = ibm.get_code_engine_persistent_data_store(name=code_engine_persistent_data_store_instance["name"],
project_id=code_engine_persistent_data_store_instance["projectId"])
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.LookupCodeEnginePersistentDataStore(ctx, &ibm.LookupCodeEnginePersistentDataStoreArgs{
Name: codeEnginePersistentDataStoreInstance.Name,
ProjectId: codeEnginePersistentDataStoreInstance.ProjectId,
}, nil)
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 codeEnginePersistentDataStore = Ibm.GetCodeEnginePersistentDataStore.Invoke(new()
{
Name = codeEnginePersistentDataStoreInstance.Name,
ProjectId = codeEnginePersistentDataStoreInstance.ProjectId,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IbmFunctions;
import com.pulumi.ibm.inputs.GetCodeEnginePersistentDataStoreArgs;
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) {
final var codeEnginePersistentDataStore = IbmFunctions.getCodeEnginePersistentDataStore(GetCodeEnginePersistentDataStoreArgs.builder()
.name(codeEnginePersistentDataStoreInstance.name())
.projectId(codeEnginePersistentDataStoreInstance.projectId())
.build());
}
}
variables:
codeEnginePersistentDataStore:
fn::invoke:
function: ibm:getCodeEnginePersistentDataStore
arguments:
name: ${codeEnginePersistentDataStoreInstance.name}
projectId: ${codeEnginePersistentDataStoreInstance.projectId}
Using getCodeEnginePersistentDataStore
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCodeEnginePersistentDataStore(args: GetCodeEnginePersistentDataStoreArgs, opts?: InvokeOptions): Promise<GetCodeEnginePersistentDataStoreResult>
function getCodeEnginePersistentDataStoreOutput(args: GetCodeEnginePersistentDataStoreOutputArgs, opts?: InvokeOptions): Output<GetCodeEnginePersistentDataStoreResult>def get_code_engine_persistent_data_store(id: Optional[str] = None,
name: Optional[str] = None,
project_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCodeEnginePersistentDataStoreResult
def get_code_engine_persistent_data_store_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCodeEnginePersistentDataStoreResult]func LookupCodeEnginePersistentDataStore(ctx *Context, args *LookupCodeEnginePersistentDataStoreArgs, opts ...InvokeOption) (*LookupCodeEnginePersistentDataStoreResult, error)
func LookupCodeEnginePersistentDataStoreOutput(ctx *Context, args *LookupCodeEnginePersistentDataStoreOutputArgs, opts ...InvokeOption) LookupCodeEnginePersistentDataStoreResultOutput> Note: This function is named LookupCodeEnginePersistentDataStore in the Go SDK.
public static class GetCodeEnginePersistentDataStore
{
public static Task<GetCodeEnginePersistentDataStoreResult> InvokeAsync(GetCodeEnginePersistentDataStoreArgs args, InvokeOptions? opts = null)
public static Output<GetCodeEnginePersistentDataStoreResult> Invoke(GetCodeEnginePersistentDataStoreInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCodeEnginePersistentDataStoreResult> getCodeEnginePersistentDataStore(GetCodeEnginePersistentDataStoreArgs args, InvokeOptions options)
public static Output<GetCodeEnginePersistentDataStoreResult> getCodeEnginePersistentDataStore(GetCodeEnginePersistentDataStoreArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getCodeEnginePersistentDataStore:getCodeEnginePersistentDataStore
arguments:
# arguments dictionaryThe following arguments are supported:
- Name string
- The name of your 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
- Id string
- The unique identifier of the code_engine_persistent_data_store.
- Name string
- The name of your 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
- Id string
- The unique identifier of the code_engine_persistent_data_store.
- name String
- The name of your 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
- id String
- The unique identifier of the code_engine_persistent_data_store.
- name string
- The name of your 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
- id string
- The unique identifier of the code_engine_persistent_data_store.
- name str
- The name of your 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
- id str
- The unique identifier of the code_engine_persistent_data_store.
- name String
- The name of your 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
- id String
- The unique identifier of the code_engine_persistent_data_store.
getCodeEnginePersistentDataStore Result
The following output properties are available:
- Created
At string - (String) The timestamp when the resource was created.
- Datas
List<Get
Code Engine Persistent Data Store Data> - (List) 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
- Id string
- The unique identifier of the code_engine_persistent_data_store.
- Name string
- Project
Id string - 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 - (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:
- Created
At string - (String) The timestamp when the resource was created.
- Datas
[]Get
Code Engine Persistent Data Store Data - (List) 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
- Id string
- The unique identifier of the code_engine_persistent_data_store.
- Name string
- Project
Id string - 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 - (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:
- created
At String - (String) The timestamp when the resource was created.
- datas
List<Get
Code Engine Persistent Data Store Data> - (List) 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
- id String
- The unique identifier of the code_engine_persistent_data_store.
- name String
- project
Id String - 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 - (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:
- created
At string - (String) The timestamp when the resource was created.
- datas
Get
Code Engine Persistent Data Store Data[] - (List) 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
- id string
- The unique identifier of the code_engine_persistent_data_store.
- name string
- project
Id string - 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 - (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:
- created_
at str - (String) The timestamp when the resource was created.
- datas
Sequence[Get
Code Engine Persistent Data Store Data] - (List) 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
- id str
- The unique identifier of the code_engine_persistent_data_store.
- name str
- project_
id str - 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 - (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:
- created
At String - (String) The timestamp when the resource was created.
- datas List<Property Map>
- (List) 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
- id String
- The unique identifier of the code_engine_persistent_data_store.
- name String
- project
Id String - 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 - (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
GetCodeEnginePersistentDataStoreData
- Bucket
Location string - (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 - (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 - (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 - (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 - (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 - (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 - (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 - (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 - (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 - (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 - (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 - (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 - (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 str - (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 str - (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 - (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 - (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 - (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
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibmTerraform Provider.
ibm 1.88.0 published on Friday, Feb 6, 2026 by ibm-cloud
