Viewing docs for ibm 2.4.0
published on Wednesday, Jul 1, 2026 by ibm-cloud
published on Wednesday, Jul 1, 2026 by ibm-cloud
Viewing docs for ibm 2.4.0
published on Wednesday, Jul 1, 2026 by ibm-cloud
published on Wednesday, Jul 1, 2026 by ibm-cloud
Example Usage
The following example retrieves information about the mydatabase instance in us-east.
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const database = ibm.getDatabase({
name: "mydatabase",
location: "us-east",
});
import pulumi
import pulumi_ibm as ibm
database = ibm.get_database(name="mydatabase",
location="us-east")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/v2/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ibm.LookupDatabase(ctx, &ibm.LookupDatabaseArgs{
Name: "mydatabase",
Location: pulumi.StringRef("us-east"),
}, 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 database = Ibm.GetDatabase.Invoke(new()
{
Name = "mydatabase",
Location = "us-east",
});
});
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.GetDatabaseArgs;
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 database = IbmFunctions.getDatabase(GetDatabaseArgs.builder()
.name("mydatabase")
.location("us-east")
.build());
}
}
variables:
database:
fn::invoke:
function: ibm:getDatabase
arguments:
name: mydatabase
location: us-east
Example coming soon!
Gen2 Support
This data source supports both Classic and Gen2 database instances. The backend is automatically selected based on the database plan.
Gen2 Limitations
The following attributes are not supported for Gen2 databases:
adminuser- Gen2 databases do not create a default admin user. Useibm.ResourceKeyto manage credentials.adminpassword- Not available for Gen2 databases. Useibm.ResourceKeyto manage credentials.users- User management is not supported. Useibm.ResourceKeyto manage credentials.allowlist- IP allowlisting is not supported for Gen2 databases. Use Context-Based Restrictions (ibm.CbrRule) for IP allowlisting in Gen2.auto_scaling- Auto-scaling configuration is not currently supported for Gen2 databases.configuration_schema- Configuration schema is not available for Gen2 databases.platform_options.backup_encryption_key_crn- Backup encryption key is not supported for Gen2 databases (onlydisk_encryption_key_crnis supported).
Gen2 Example
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const postgresGen2 = ibm.getDatabase({
name: "my-postgres-gen2",
location: "us-south",
service: "databases-for-postgresql",
});
// Use ibm_resource_key to manage credentials for Gen2 databases
const dbCredentials = new ibm.ResourceKey("db_credentials", {
name: "my-db-credentials",
resourceInstanceId: postgresGen2.then(postgresGen2 => postgresGen2.id),
role: "Administrator",
});
import pulumi
import pulumi_ibm as ibm
postgres_gen2 = ibm.get_database(name="my-postgres-gen2",
location="us-south",
service="databases-for-postgresql")
# Use ibm_resource_key to manage credentials for Gen2 databases
db_credentials = ibm.ResourceKey("db_credentials",
name="my-db-credentials",
resource_instance_id=postgres_gen2.id,
role="Administrator")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/v2/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
postgresGen2, err := ibm.LookupDatabase(ctx, &ibm.LookupDatabaseArgs{
Name: "my-postgres-gen2",
Location: pulumi.StringRef("us-south"),
Service: pulumi.StringRef("databases-for-postgresql"),
}, nil)
if err != nil {
return err
}
// Use ibm_resource_key to manage credentials for Gen2 databases
_, err = ibm.NewResourceKey(ctx, "db_credentials", &ibm.ResourceKeyArgs{
Name: pulumi.String("my-db-credentials"),
ResourceInstanceId: pulumi.String(postgresGen2.Id),
Role: pulumi.String("Administrator"),
})
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 postgresGen2 = Ibm.GetDatabase.Invoke(new()
{
Name = "my-postgres-gen2",
Location = "us-south",
Service = "databases-for-postgresql",
});
// Use ibm_resource_key to manage credentials for Gen2 databases
var dbCredentials = new Ibm.ResourceKey("db_credentials", new()
{
Name = "my-db-credentials",
ResourceInstanceId = postgresGen2.Apply(getDatabaseResult => getDatabaseResult.Id),
Role = "Administrator",
});
});
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.GetDatabaseArgs;
import com.pulumi.ibm.ResourceKey;
import com.pulumi.ibm.ResourceKeyArgs;
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 postgresGen2 = IbmFunctions.getDatabase(GetDatabaseArgs.builder()
.name("my-postgres-gen2")
.location("us-south")
.service("databases-for-postgresql")
.build());
// Use ibm_resource_key to manage credentials for Gen2 databases
var dbCredentials = new ResourceKey("dbCredentials", ResourceKeyArgs.builder()
.name("my-db-credentials")
.resourceInstanceId(postgresGen2.id())
.role("Administrator")
.build());
}
}
resources:
# Use ibm_resource_key to manage credentials for Gen2 databases
dbCredentials:
type: ibm:ResourceKey
name: db_credentials
properties:
name: my-db-credentials
resourceInstanceId: ${postgresGen2.id}
role: Administrator
variables:
postgresGen2:
fn::invoke:
function: ibm:getDatabase
arguments:
name: my-postgres-gen2
location: us-south
service: databases-for-postgresql
Example coming soon!
Using getDatabase
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 getDatabase(args: GetDatabaseArgs, opts?: InvokeOptions): Promise<GetDatabaseResult>
function getDatabaseOutput(args: GetDatabaseOutputArgs, opts?: InvokeOptions): Output<GetDatabaseResult>def get_database(id: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
resource_group_id: Optional[str] = None,
service: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
opts: Optional[InvokeOptions] = None) -> GetDatabaseResult
def get_database_output(id: pulumi.Input[Optional[str]] = None,
location: pulumi.Input[Optional[str]] = None,
name: pulumi.Input[Optional[str]] = None,
resource_group_id: pulumi.Input[Optional[str]] = None,
service: pulumi.Input[Optional[str]] = None,
tags: pulumi.Input[Optional[Sequence[pulumi.Input[str]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDatabaseResult]func LookupDatabase(ctx *Context, args *LookupDatabaseArgs, opts ...InvokeOption) (*LookupDatabaseResult, error)
func LookupDatabaseOutput(ctx *Context, args *LookupDatabaseOutputArgs, opts ...InvokeOption) LookupDatabaseResultOutput> Note: This function is named LookupDatabase in the Go SDK.
public static class GetDatabase
{
public static Task<GetDatabaseResult> InvokeAsync(GetDatabaseArgs args, InvokeOptions? opts = null)
public static Output<GetDatabaseResult> Invoke(GetDatabaseInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDatabaseResult> getDatabase(GetDatabaseArgs args, InvokeOptions options)
public static Output<GetDatabaseResult> getDatabase(GetDatabaseArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getDatabase:getDatabase
arguments:
# arguments dictionarydata "ibm_getdatabase" "name" {
# arguments
}The following arguments are supported:
- Name string
- Id string
- (String) The CRN of the IBM Cloud Databases instance.
- Location string
- The location where the IBM Cloud Databases instance is deployed into.
- Resource
Group stringId - The ID of the resource group where the IBM Cloud Databases instance is deployed into. The default is
default. - Service string
- The service type of the instance. To retrieve this value, run
ibmcloud catalog service-marketplaceoribmcloud catalog search. - List<string>
- Name string
- Id string
- (String) The CRN of the IBM Cloud Databases instance.
- Location string
- The location where the IBM Cloud Databases instance is deployed into.
- Resource
Group stringId - The ID of the resource group where the IBM Cloud Databases instance is deployed into. The default is
default. - Service string
- The service type of the instance. To retrieve this value, run
ibmcloud catalog service-marketplaceoribmcloud catalog search. - []string
- name string
- id string
- (String) The CRN of the IBM Cloud Databases instance.
- location string
- The location where the IBM Cloud Databases instance is deployed into.
- resource_
group_ stringid - The ID of the resource group where the IBM Cloud Databases instance is deployed into. The default is
default. - service string
- The service type of the instance. To retrieve this value, run
ibmcloud catalog service-marketplaceoribmcloud catalog search. - list(string)
- name String
- id String
- (String) The CRN of the IBM Cloud Databases instance.
- location String
- The location where the IBM Cloud Databases instance is deployed into.
- resource
Group StringId - The ID of the resource group where the IBM Cloud Databases instance is deployed into. The default is
default. - service String
- The service type of the instance. To retrieve this value, run
ibmcloud catalog service-marketplaceoribmcloud catalog search. - List<String>
- name string
- id string
- (String) The CRN of the IBM Cloud Databases instance.
- location string
- The location where the IBM Cloud Databases instance is deployed into.
- resource
Group stringId - The ID of the resource group where the IBM Cloud Databases instance is deployed into. The default is
default. - service string
- The service type of the instance. To retrieve this value, run
ibmcloud catalog service-marketplaceoribmcloud catalog search. - string[]
- name str
- id str
- (String) The CRN of the IBM Cloud Databases instance.
- location str
- The location where the IBM Cloud Databases instance is deployed into.
- resource_
group_ strid - The ID of the resource group where the IBM Cloud Databases instance is deployed into. The default is
default. - service str
- The service type of the instance. To retrieve this value, run
ibmcloud catalog service-marketplaceoribmcloud catalog search. - Sequence[str]
- name String
- id String
- (String) The CRN of the IBM Cloud Databases instance.
- location String
- The location where the IBM Cloud Databases instance is deployed into.
- resource
Group StringId - The ID of the resource group where the IBM Cloud Databases instance is deployed into. The default is
default. - service String
- The service type of the instance. To retrieve this value, run
ibmcloud catalog service-marketplaceoribmcloud catalog search. - List<String>
getDatabase Result
The following output properties are available:
- Adminpassword string
- Adminuser string
- (String) The user ID of the default administration user for the database, such as
adminorroot. - Allowlists
List<Get
Database Allowlist> - (List) A list of allowed IP addresses or ranges.
- Auto
Scalings List<GetDatabase Auto Scaling> - (List)Configure rules to allow your database to automatically increase its resources. Single block of autoscaling is allowed at once.
- Configuration
Schema string - (String) Database Configuration Schema in JSON format.
- Groups
List<Get
Database Group> - Guid string
- (String) The unique identifier of the IBM Cloud Databases instance.
- Id string
- (String) The CRN of the IBM Cloud Databases instance.
- Name string
- Plan string
- (String) The service plan of the IBM Cloud Databases instance.
- Platform
Options List<GetDatabase Platform Option> - (String) The CRN of key protect key.
- Resource
Controller stringUrl - Resource
Crn string - Resource
Group stringName - Resource
Name string - Resource
Status string - Status string
- (String) The status of the IBM Cloud Databases instance.
- Users
List<Get
Database User> - (List) A list of users configured for the database.
- Version string
- (String) The database version.
- Location string
- (String) The location where the IBM Cloud Databases instance is deployed into.
- Resource
Group stringId - Service string
- List<string>
- Adminpassword string
- Adminuser string
- (String) The user ID of the default administration user for the database, such as
adminorroot. - Allowlists
[]Get
Database Allowlist - (List) A list of allowed IP addresses or ranges.
- Auto
Scalings []GetDatabase Auto Scaling - (List)Configure rules to allow your database to automatically increase its resources. Single block of autoscaling is allowed at once.
- Configuration
Schema string - (String) Database Configuration Schema in JSON format.
- Groups
[]Get
Database Group - Guid string
- (String) The unique identifier of the IBM Cloud Databases instance.
- Id string
- (String) The CRN of the IBM Cloud Databases instance.
- Name string
- Plan string
- (String) The service plan of the IBM Cloud Databases instance.
- Platform
Options []GetDatabase Platform Option - (String) The CRN of key protect key.
- Resource
Controller stringUrl - Resource
Crn string - Resource
Group stringName - Resource
Name string - Resource
Status string - Status string
- (String) The status of the IBM Cloud Databases instance.
- Users
[]Get
Database User - (List) A list of users configured for the database.
- Version string
- (String) The database version.
- Location string
- (String) The location where the IBM Cloud Databases instance is deployed into.
- Resource
Group stringId - Service string
- []string
- adminpassword string
- adminuser string
- (String) The user ID of the default administration user for the database, such as
adminorroot. - allowlists list(object)
- (List) A list of allowed IP addresses or ranges.
- auto_
scalings list(object) - (List)Configure rules to allow your database to automatically increase its resources. Single block of autoscaling is allowed at once.
- configuration_
schema string - (String) Database Configuration Schema in JSON format.
- groups list(object)
- guid string
- (String) The unique identifier of the IBM Cloud Databases instance.
- id string
- (String) The CRN of the IBM Cloud Databases instance.
- name string
- plan string
- (String) The service plan of the IBM Cloud Databases instance.
- platform_
options list(object) - (String) The CRN of key protect key.
- resource_
controller_ stringurl - resource_
crn string - resource_
group_ stringname - resource_
name string - resource_
status string - status string
- (String) The status of the IBM Cloud Databases instance.
- users list(object)
- (List) A list of users configured for the database.
- version string
- (String) The database version.
- location string
- (String) The location where the IBM Cloud Databases instance is deployed into.
- resource_
group_ stringid - service string
- list(string)
- adminpassword String
- adminuser String
- (String) The user ID of the default administration user for the database, such as
adminorroot. - allowlists
List<Get
Database Allowlist> - (List) A list of allowed IP addresses or ranges.
- auto
Scalings List<GetDatabase Auto Scaling> - (List)Configure rules to allow your database to automatically increase its resources. Single block of autoscaling is allowed at once.
- configuration
Schema String - (String) Database Configuration Schema in JSON format.
- groups
List<Get
Database Group> - guid String
- (String) The unique identifier of the IBM Cloud Databases instance.
- id String
- (String) The CRN of the IBM Cloud Databases instance.
- name String
- plan String
- (String) The service plan of the IBM Cloud Databases instance.
- platform
Options List<GetDatabase Platform Option> - (String) The CRN of key protect key.
- resource
Controller StringUrl - resource
Crn String - resource
Group StringName - resource
Name String - resource
Status String - status String
- (String) The status of the IBM Cloud Databases instance.
- users
List<Get
Database User> - (List) A list of users configured for the database.
- version String
- (String) The database version.
- location String
- (String) The location where the IBM Cloud Databases instance is deployed into.
- resource
Group StringId - service String
- List<String>
- adminpassword string
- adminuser string
- (String) The user ID of the default administration user for the database, such as
adminorroot. - allowlists
Get
Database Allowlist[] - (List) A list of allowed IP addresses or ranges.
- auto
Scalings GetDatabase Auto Scaling[] - (List)Configure rules to allow your database to automatically increase its resources. Single block of autoscaling is allowed at once.
- configuration
Schema string - (String) Database Configuration Schema in JSON format.
- groups
Get
Database Group[] - guid string
- (String) The unique identifier of the IBM Cloud Databases instance.
- id string
- (String) The CRN of the IBM Cloud Databases instance.
- name string
- plan string
- (String) The service plan of the IBM Cloud Databases instance.
- platform
Options GetDatabase Platform Option[] - (String) The CRN of key protect key.
- resource
Controller stringUrl - resource
Crn string - resource
Group stringName - resource
Name string - resource
Status string - status string
- (String) The status of the IBM Cloud Databases instance.
- users
Get
Database User[] - (List) A list of users configured for the database.
- version string
- (String) The database version.
- location string
- (String) The location where the IBM Cloud Databases instance is deployed into.
- resource
Group stringId - service string
- string[]
- adminpassword str
- adminuser str
- (String) The user ID of the default administration user for the database, such as
adminorroot. - allowlists
Sequence[Get
Database Allowlist] - (List) A list of allowed IP addresses or ranges.
- auto_
scalings Sequence[GetDatabase Auto Scaling] - (List)Configure rules to allow your database to automatically increase its resources. Single block of autoscaling is allowed at once.
- configuration_
schema str - (String) Database Configuration Schema in JSON format.
- groups
Sequence[Get
Database Group] - guid str
- (String) The unique identifier of the IBM Cloud Databases instance.
- id str
- (String) The CRN of the IBM Cloud Databases instance.
- name str
- plan str
- (String) The service plan of the IBM Cloud Databases instance.
- platform_
options Sequence[GetDatabase Platform Option] - (String) The CRN of key protect key.
- resource_
controller_ strurl - resource_
crn str - resource_
group_ strname - resource_
name str - resource_
status str - status str
- (String) The status of the IBM Cloud Databases instance.
- users
Sequence[Get
Database User] - (List) A list of users configured for the database.
- version str
- (String) The database version.
- location str
- (String) The location where the IBM Cloud Databases instance is deployed into.
- resource_
group_ strid - service str
- Sequence[str]
- adminpassword String
- adminuser String
- (String) The user ID of the default administration user for the database, such as
adminorroot. - allowlists List<Property Map>
- (List) A list of allowed IP addresses or ranges.
- auto
Scalings List<Property Map> - (List)Configure rules to allow your database to automatically increase its resources. Single block of autoscaling is allowed at once.
- configuration
Schema String - (String) Database Configuration Schema in JSON format.
- groups List<Property Map>
- guid String
- (String) The unique identifier of the IBM Cloud Databases instance.
- id String
- (String) The CRN of the IBM Cloud Databases instance.
- name String
- plan String
- (String) The service plan of the IBM Cloud Databases instance.
- platform
Options List<Property Map> - (String) The CRN of key protect key.
- resource
Controller StringUrl - resource
Crn String - resource
Group StringName - resource
Name String - resource
Status String - status String
- (String) The status of the IBM Cloud Databases instance.
- users List<Property Map>
- (List) A list of users configured for the database.
- version String
- (String) The database version.
- location String
- (String) The location where the IBM Cloud Databases instance is deployed into.
- resource
Group StringId - service String
- List<String>
Supporting Types
GetDatabaseAllowlist
- Address string
- Description string
- Address string
- Description string
- address string
- description string
- address String
- description String
- address string
- description string
- address str
- description str
- address String
- description String
GetDatabaseAutoScaling
- Cpus
List<Get
Database Auto Scaling Cpus> - Disks
List<Get
Database Auto Scaling Disk> - (List) Disk auto scaling.
- Memories
List<Get
Database Auto Scaling Memory> - (List) Memory Auto Scaling.
- Cpus
[]Get
Database Auto Scaling Cpus - Disks
[]Get
Database Auto Scaling Disk - (List) Disk auto scaling.
- Memories
[]Get
Database Auto Scaling Memory - (List) Memory Auto Scaling.
- cpus list(object)
- disks list(object)
- (List) Disk auto scaling.
- memories list(object)
- (List) Memory Auto Scaling.
- cpus
List<Get
Database Auto Scaling Cpus> - disks
List<Get
Database Auto Scaling Disk> - (List) Disk auto scaling.
- memories
List<Get
Database Auto Scaling Memory> - (List) Memory Auto Scaling.
- cpus
Get
Database Auto Scaling Cpus[] - disks
Get
Database Auto Scaling Disk[] - (List) Disk auto scaling.
- memories
Get
Database Auto Scaling Memory[] - (List) Memory Auto Scaling.
- cpus
Sequence[Get
Database Auto Scaling Cpus] - disks
Sequence[Get
Database Auto Scaling Disk] - (List) Disk auto scaling.
- memories
Sequence[Get
Database Auto Scaling Memory] - (List) Memory Auto Scaling.
- cpus List<Property Map>
- disks List<Property Map>
- (List) Disk auto scaling.
- memories List<Property Map>
- (List) Memory Auto Scaling.
GetDatabaseAutoScalingCpus
- Rate
Increase doublePercent - (Integer) Auto scaling rate in increase percent.
- Rate
Limit doubleCount Per Member - Rate
Limit doubleMb Per Member - (Integer) Auto scaling rate limit in megabytes per member.
- Rate
Period doubleSeconds - (Integer) Auto scaling rate period in seconds.
- Rate
Units string - (String) Auto scaling rate in units.
- Rate
Increase float64Percent - (Integer) Auto scaling rate in increase percent.
- Rate
Limit float64Count Per Member - Rate
Limit float64Mb Per Member - (Integer) Auto scaling rate limit in megabytes per member.
- Rate
Period float64Seconds - (Integer) Auto scaling rate period in seconds.
- Rate
Units string - (String) Auto scaling rate in units.
- rate_
increase_ numberpercent - (Integer) Auto scaling rate in increase percent.
- rate_
limit_ numbercount_ per_ member - rate_
limit_ numbermb_ per_ member - (Integer) Auto scaling rate limit in megabytes per member.
- rate_
period_ numberseconds - (Integer) Auto scaling rate period in seconds.
- rate_
units string - (String) Auto scaling rate in units.
- rate
Increase DoublePercent - (Integer) Auto scaling rate in increase percent.
- rate
Limit DoubleCount Per Member - rate
Limit DoubleMb Per Member - (Integer) Auto scaling rate limit in megabytes per member.
- rate
Period DoubleSeconds - (Integer) Auto scaling rate period in seconds.
- rate
Units String - (String) Auto scaling rate in units.
- rate
Increase numberPercent - (Integer) Auto scaling rate in increase percent.
- rate
Limit numberCount Per Member - rate
Limit numberMb Per Member - (Integer) Auto scaling rate limit in megabytes per member.
- rate
Period numberSeconds - (Integer) Auto scaling rate period in seconds.
- rate
Units string - (String) Auto scaling rate in units.
- rate_
increase_ floatpercent - (Integer) Auto scaling rate in increase percent.
- rate_
limit_ floatcount_ per_ member - rate_
limit_ floatmb_ per_ member - (Integer) Auto scaling rate limit in megabytes per member.
- rate_
period_ floatseconds - (Integer) Auto scaling rate period in seconds.
- rate_
units str - (String) Auto scaling rate in units.
- rate
Increase NumberPercent - (Integer) Auto scaling rate in increase percent.
- rate
Limit NumberCount Per Member - rate
Limit NumberMb Per Member - (Integer) Auto scaling rate limit in megabytes per member.
- rate
Period NumberSeconds - (Integer) Auto scaling rate period in seconds.
- rate
Units String - (String) Auto scaling rate in units.
GetDatabaseAutoScalingDisk
- Capacity
Enabled bool - (Boolean) Auto scaling scalar enables or disables the scalar capacity.
- Free
Space doubleLess Than Percent - (Integer) Auto scaling scalar capacity free space less than percent.
- Free
Space doubleRemaining Percent - Io
Above doublePercent - (Integer) Auto scaling scalar I/O utilization above percent.
- Io
Enabled bool - (Boolean) Auto scaling scalar I/O utilization enabled.
- Io
Over stringPeriod - (String) Auto scaling scalar I/O utilization over period.
- Rate
Increase doublePercent - (Integer) Auto scaling rate in increase percent.
- Rate
Limit doubleCount Per Member - Rate
Limit doubleMb Per Member - (Integer) Auto scaling rate limit in megabytes per member.
- Rate
Period doubleSeconds - (Integer) Auto scaling rate period in seconds.
- Rate
Units string - (String) Auto scaling rate in units.
- Capacity
Enabled bool - (Boolean) Auto scaling scalar enables or disables the scalar capacity.
- Free
Space float64Less Than Percent - (Integer) Auto scaling scalar capacity free space less than percent.
- Free
Space float64Remaining Percent - Io
Above float64Percent - (Integer) Auto scaling scalar I/O utilization above percent.
- Io
Enabled bool - (Boolean) Auto scaling scalar I/O utilization enabled.
- Io
Over stringPeriod - (String) Auto scaling scalar I/O utilization over period.
- Rate
Increase float64Percent - (Integer) Auto scaling rate in increase percent.
- Rate
Limit float64Count Per Member - Rate
Limit float64Mb Per Member - (Integer) Auto scaling rate limit in megabytes per member.
- Rate
Period float64Seconds - (Integer) Auto scaling rate period in seconds.
- Rate
Units string - (String) Auto scaling rate in units.
- capacity_
enabled bool - (Boolean) Auto scaling scalar enables or disables the scalar capacity.
- free_
space_ numberless_ than_ percent - (Integer) Auto scaling scalar capacity free space less than percent.
- free_
space_ numberremaining_ percent - io_
above_ numberpercent - (Integer) Auto scaling scalar I/O utilization above percent.
- io_
enabled bool - (Boolean) Auto scaling scalar I/O utilization enabled.
- io_
over_ stringperiod - (String) Auto scaling scalar I/O utilization over period.
- rate_
increase_ numberpercent - (Integer) Auto scaling rate in increase percent.
- rate_
limit_ numbercount_ per_ member - rate_
limit_ numbermb_ per_ member - (Integer) Auto scaling rate limit in megabytes per member.
- rate_
period_ numberseconds - (Integer) Auto scaling rate period in seconds.
- rate_
units string - (String) Auto scaling rate in units.
- capacity
Enabled Boolean - (Boolean) Auto scaling scalar enables or disables the scalar capacity.
- free
Space DoubleLess Than Percent - (Integer) Auto scaling scalar capacity free space less than percent.
- free
Space DoubleRemaining Percent - io
Above DoublePercent - (Integer) Auto scaling scalar I/O utilization above percent.
- io
Enabled Boolean - (Boolean) Auto scaling scalar I/O utilization enabled.
- io
Over StringPeriod - (String) Auto scaling scalar I/O utilization over period.
- rate
Increase DoublePercent - (Integer) Auto scaling rate in increase percent.
- rate
Limit DoubleCount Per Member - rate
Limit DoubleMb Per Member - (Integer) Auto scaling rate limit in megabytes per member.
- rate
Period DoubleSeconds - (Integer) Auto scaling rate period in seconds.
- rate
Units String - (String) Auto scaling rate in units.
- capacity
Enabled boolean - (Boolean) Auto scaling scalar enables or disables the scalar capacity.
- free
Space numberLess Than Percent - (Integer) Auto scaling scalar capacity free space less than percent.
- free
Space numberRemaining Percent - io
Above numberPercent - (Integer) Auto scaling scalar I/O utilization above percent.
- io
Enabled boolean - (Boolean) Auto scaling scalar I/O utilization enabled.
- io
Over stringPeriod - (String) Auto scaling scalar I/O utilization over period.
- rate
Increase numberPercent - (Integer) Auto scaling rate in increase percent.
- rate
Limit numberCount Per Member - rate
Limit numberMb Per Member - (Integer) Auto scaling rate limit in megabytes per member.
- rate
Period numberSeconds - (Integer) Auto scaling rate period in seconds.
- rate
Units string - (String) Auto scaling rate in units.
- capacity_
enabled bool - (Boolean) Auto scaling scalar enables or disables the scalar capacity.
- free_
space_ floatless_ than_ percent - (Integer) Auto scaling scalar capacity free space less than percent.
- free_
space_ floatremaining_ percent - io_
above_ floatpercent - (Integer) Auto scaling scalar I/O utilization above percent.
- io_
enabled bool - (Boolean) Auto scaling scalar I/O utilization enabled.
- io_
over_ strperiod - (String) Auto scaling scalar I/O utilization over period.
- rate_
increase_ floatpercent - (Integer) Auto scaling rate in increase percent.
- rate_
limit_ floatcount_ per_ member - rate_
limit_ floatmb_ per_ member - (Integer) Auto scaling rate limit in megabytes per member.
- rate_
period_ floatseconds - (Integer) Auto scaling rate period in seconds.
- rate_
units str - (String) Auto scaling rate in units.
- capacity
Enabled Boolean - (Boolean) Auto scaling scalar enables or disables the scalar capacity.
- free
Space NumberLess Than Percent - (Integer) Auto scaling scalar capacity free space less than percent.
- free
Space NumberRemaining Percent - io
Above NumberPercent - (Integer) Auto scaling scalar I/O utilization above percent.
- io
Enabled Boolean - (Boolean) Auto scaling scalar I/O utilization enabled.
- io
Over StringPeriod - (String) Auto scaling scalar I/O utilization over period.
- rate
Increase NumberPercent - (Integer) Auto scaling rate in increase percent.
- rate
Limit NumberCount Per Member - rate
Limit NumberMb Per Member - (Integer) Auto scaling rate limit in megabytes per member.
- rate
Period NumberSeconds - (Integer) Auto scaling rate period in seconds.
- rate
Units String - (String) Auto scaling rate in units.
GetDatabaseAutoScalingMemory
- Io
Above doublePercent - (Integer) Auto scaling scalar I/O utilization above percent.
- Io
Enabled bool - (Boolean) Auto scaling scalar I/O utilization enabled.
- Io
Over stringPeriod - (String) Auto scaling scalar I/O utilization over period.
- Rate
Increase doublePercent - (Integer) Auto scaling rate in increase percent.
- Rate
Limit doubleCount Per Member - Rate
Limit doubleMb Per Member - (Integer) Auto scaling rate limit in megabytes per member.
- Rate
Period doubleSeconds - (Integer) Auto scaling rate period in seconds.
- Rate
Units string - (String) Auto scaling rate in units.
- Io
Above float64Percent - (Integer) Auto scaling scalar I/O utilization above percent.
- Io
Enabled bool - (Boolean) Auto scaling scalar I/O utilization enabled.
- Io
Over stringPeriod - (String) Auto scaling scalar I/O utilization over period.
- Rate
Increase float64Percent - (Integer) Auto scaling rate in increase percent.
- Rate
Limit float64Count Per Member - Rate
Limit float64Mb Per Member - (Integer) Auto scaling rate limit in megabytes per member.
- Rate
Period float64Seconds - (Integer) Auto scaling rate period in seconds.
- Rate
Units string - (String) Auto scaling rate in units.
- io_
above_ numberpercent - (Integer) Auto scaling scalar I/O utilization above percent.
- io_
enabled bool - (Boolean) Auto scaling scalar I/O utilization enabled.
- io_
over_ stringperiod - (String) Auto scaling scalar I/O utilization over period.
- rate_
increase_ numberpercent - (Integer) Auto scaling rate in increase percent.
- rate_
limit_ numbercount_ per_ member - rate_
limit_ numbermb_ per_ member - (Integer) Auto scaling rate limit in megabytes per member.
- rate_
period_ numberseconds - (Integer) Auto scaling rate period in seconds.
- rate_
units string - (String) Auto scaling rate in units.
- io
Above DoublePercent - (Integer) Auto scaling scalar I/O utilization above percent.
- io
Enabled Boolean - (Boolean) Auto scaling scalar I/O utilization enabled.
- io
Over StringPeriod - (String) Auto scaling scalar I/O utilization over period.
- rate
Increase DoublePercent - (Integer) Auto scaling rate in increase percent.
- rate
Limit DoubleCount Per Member - rate
Limit DoubleMb Per Member - (Integer) Auto scaling rate limit in megabytes per member.
- rate
Period DoubleSeconds - (Integer) Auto scaling rate period in seconds.
- rate
Units String - (String) Auto scaling rate in units.
- io
Above numberPercent - (Integer) Auto scaling scalar I/O utilization above percent.
- io
Enabled boolean - (Boolean) Auto scaling scalar I/O utilization enabled.
- io
Over stringPeriod - (String) Auto scaling scalar I/O utilization over period.
- rate
Increase numberPercent - (Integer) Auto scaling rate in increase percent.
- rate
Limit numberCount Per Member - rate
Limit numberMb Per Member - (Integer) Auto scaling rate limit in megabytes per member.
- rate
Period numberSeconds - (Integer) Auto scaling rate period in seconds.
- rate
Units string - (String) Auto scaling rate in units.
- io_
above_ floatpercent - (Integer) Auto scaling scalar I/O utilization above percent.
- io_
enabled bool - (Boolean) Auto scaling scalar I/O utilization enabled.
- io_
over_ strperiod - (String) Auto scaling scalar I/O utilization over period.
- rate_
increase_ floatpercent - (Integer) Auto scaling rate in increase percent.
- rate_
limit_ floatcount_ per_ member - rate_
limit_ floatmb_ per_ member - (Integer) Auto scaling rate limit in megabytes per member.
- rate_
period_ floatseconds - (Integer) Auto scaling rate period in seconds.
- rate_
units str - (String) Auto scaling rate in units.
- io
Above NumberPercent - (Integer) Auto scaling scalar I/O utilization above percent.
- io
Enabled Boolean - (Boolean) Auto scaling scalar I/O utilization enabled.
- io
Over StringPeriod - (String) Auto scaling scalar I/O utilization over period.
- rate
Increase NumberPercent - (Integer) Auto scaling rate in increase percent.
- rate
Limit NumberCount Per Member - rate
Limit NumberMb Per Member - (Integer) Auto scaling rate limit in megabytes per member.
- rate
Period NumberSeconds - (Integer) Auto scaling rate period in seconds.
- rate
Units String - (String) Auto scaling rate in units.
GetDatabaseGroup
- Count double
- Cpus
List<Get
Database Group Cpus> - Disks
List<Get
Database Group Disk> - (List) Disk auto scaling.
- Group
Id string - Host
Flavors List<GetDatabase Group Host Flavor> - Memories
List<Get
Database Group Memory> - (List) Memory Auto Scaling.
- Count float64
- Cpus
[]Get
Database Group Cpus - Disks
[]Get
Database Group Disk - (List) Disk auto scaling.
- Group
Id string - Host
Flavors []GetDatabase Group Host Flavor - Memories
[]Get
Database Group Memory - (List) Memory Auto Scaling.
- count number
- cpus list(object)
- disks list(object)
- (List) Disk auto scaling.
- group_
id string - host_
flavors list(object) - memories list(object)
- (List) Memory Auto Scaling.
- count Double
- cpus
List<Get
Database Group Cpus> - disks
List<Get
Database Group Disk> - (List) Disk auto scaling.
- group
Id String - host
Flavors List<GetDatabase Group Host Flavor> - memories
List<Get
Database Group Memory> - (List) Memory Auto Scaling.
- count number
- cpus
Get
Database Group Cpus[] - disks
Get
Database Group Disk[] - (List) Disk auto scaling.
- group
Id string - host
Flavors GetDatabase Group Host Flavor[] - memories
Get
Database Group Memory[] - (List) Memory Auto Scaling.
- count float
- cpus
Sequence[Get
Database Group Cpus] - disks
Sequence[Get
Database Group Disk] - (List) Disk auto scaling.
- group_
id str - host_
flavors Sequence[GetDatabase Group Host Flavor] - memories
Sequence[Get
Database Group Memory] - (List) Memory Auto Scaling.
- count Number
- cpus List<Property Map>
- disks List<Property Map>
- (List) Disk auto scaling.
- group
Id String - host
Flavors List<Property Map> - memories List<Property Map>
- (List) Memory Auto Scaling.
GetDatabaseGroupCpus
- Allocation
Count double - Can
Scale boolDown - Is
Adjustable bool - Minimum
Count double - Step
Size doubleCount - Units string
- Allocation
Count float64 - Can
Scale boolDown - Is
Adjustable bool - Minimum
Count float64 - Step
Size float64Count - Units string
- allocation_
count number - can_
scale_ booldown - is_
adjustable bool - minimum_
count number - step_
size_ numbercount - units string
- allocation
Count Double - can
Scale BooleanDown - is
Adjustable Boolean - minimum
Count Double - step
Size DoubleCount - units String
- allocation
Count number - can
Scale booleanDown - is
Adjustable boolean - minimum
Count number - step
Size numberCount - units string
- allocation_
count float - can_
scale_ booldown - is_
adjustable bool - minimum_
count float - step_
size_ floatcount - units str
- allocation
Count Number - can
Scale BooleanDown - is
Adjustable Boolean - minimum
Count Number - step
Size NumberCount - units String
GetDatabaseGroupDisk
- Allocation
Mb double - Can
Scale boolDown - Is
Adjustable bool - Minimum
Mb double - Step
Size doubleMb - Units string
- Allocation
Mb float64 - Can
Scale boolDown - Is
Adjustable bool - Minimum
Mb float64 - Step
Size float64Mb - Units string
- allocation_
mb number - can_
scale_ booldown - is_
adjustable bool - minimum_
mb number - step_
size_ numbermb - units string
- allocation
Mb Double - can
Scale BooleanDown - is
Adjustable Boolean - minimum
Mb Double - step
Size DoubleMb - units String
- allocation
Mb number - can
Scale booleanDown - is
Adjustable boolean - minimum
Mb number - step
Size numberMb - units string
- allocation_
mb float - can_
scale_ booldown - is_
adjustable bool - minimum_
mb float - step_
size_ floatmb - units str
- allocation
Mb Number - can
Scale BooleanDown - is
Adjustable Boolean - minimum
Mb Number - step
Size NumberMb - units String
GetDatabaseGroupHostFlavor
- Hosting
Size string - Id string
- (String) The CRN of the IBM Cloud Databases instance.
- Name string
- Hosting
Size string - Id string
- (String) The CRN of the IBM Cloud Databases instance.
- Name string
- hosting_
size string - id string
- (String) The CRN of the IBM Cloud Databases instance.
- name string
- hosting
Size String - id String
- (String) The CRN of the IBM Cloud Databases instance.
- name String
- hosting
Size string - id string
- (String) The CRN of the IBM Cloud Databases instance.
- name string
- hosting_
size str - id str
- (String) The CRN of the IBM Cloud Databases instance.
- name str
- hosting
Size String - id String
- (String) The CRN of the IBM Cloud Databases instance.
- name String
GetDatabaseGroupMemory
- Allocation
Mb double - Can
Scale boolDown - Is
Adjustable bool - Minimum
Mb double - Step
Size doubleMb - Units string
- Allocation
Mb float64 - Can
Scale boolDown - Is
Adjustable bool - Minimum
Mb float64 - Step
Size float64Mb - Units string
- allocation_
mb number - can_
scale_ booldown - is_
adjustable bool - minimum_
mb number - step_
size_ numbermb - units string
- allocation
Mb Double - can
Scale BooleanDown - is
Adjustable Boolean - minimum
Mb Double - step
Size DoubleMb - units String
- allocation
Mb number - can
Scale booleanDown - is
Adjustable boolean - minimum
Mb number - step
Size numberMb - units string
- allocation_
mb float - can_
scale_ booldown - is_
adjustable bool - minimum_
mb float - step_
size_ floatmb - units str
- allocation
Mb Number - can
Scale BooleanDown - is
Adjustable Boolean - minimum
Mb Number - step
Size NumberMb - units String
GetDatabasePlatformOption
- Backup
Encryption stringKey Crn - (String) The CRN of backup encryption key.
- Disk
Encryption stringKey Crn - (String) The CRN of disk encryption key.
- Backup
Encryption stringKey Crn - (String) The CRN of backup encryption key.
- Disk
Encryption stringKey Crn - (String) The CRN of disk encryption key.
- backup_
encryption_ stringkey_ crn - (String) The CRN of backup encryption key.
- disk_
encryption_ stringkey_ crn - (String) The CRN of disk encryption key.
- backup
Encryption StringKey Crn - (String) The CRN of backup encryption key.
- disk
Encryption StringKey Crn - (String) The CRN of disk encryption key.
- backup
Encryption stringKey Crn - (String) The CRN of backup encryption key.
- disk
Encryption stringKey Crn - (String) The CRN of disk encryption key.
- backup_
encryption_ strkey_ crn - (String) The CRN of backup encryption key.
- disk_
encryption_ strkey_ crn - (String) The CRN of disk encryption key.
- backup
Encryption StringKey Crn - (String) The CRN of backup encryption key.
- disk
Encryption StringKey Crn - (String) The CRN of disk encryption key.
GetDatabaseUser
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibmTerraform Provider.
Viewing docs for ibm 2.4.0
published on Wednesday, Jul 1, 2026 by ibm-cloud
published on Wednesday, Jul 1, 2026 by ibm-cloud