Provides a Rds Ai Instance resource.
For information about Rds Ai Instance and how to use it, see What is Instance.
NOTE: Available since v1.268.0.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const config = new pulumi.Config();
const name = config.get("name") || "terraform-example";
const _default = alicloud.vpc.getSwitches({
zoneId: "cn-hangzhou-i",
});
const defaultInstance = new alicloud.rds.Instance("default", {
engine: "PostgreSQL",
engineVersion: "17.0",
dbInstanceStorageType: "general_essd",
instanceType: "pg.n2.1c.1m",
instanceStorage: 100,
vswitchId: _default.then(_default => _default.ids?.[0]),
instanceName: name,
});
const defaultAiInstance = new alicloud.rds.AiInstance("default", {
appName: name,
appType: "supabase",
dbInstanceName: defaultInstance.id,
});
import pulumi
import pulumi_alicloud as alicloud
config = pulumi.Config()
name = config.get("name")
if name is None:
name = "terraform-example"
default = alicloud.vpc.get_switches(zone_id="cn-hangzhou-i")
default_instance = alicloud.rds.Instance("default",
engine="PostgreSQL",
engine_version="17.0",
db_instance_storage_type="general_essd",
instance_type="pg.n2.1c.1m",
instance_storage=100,
vswitch_id=default.ids[0],
instance_name=name)
default_ai_instance = alicloud.rds.AiInstance("default",
app_name=name,
app_type="supabase",
db_instance_name=default_instance.id)
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/rds"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
name := "terraform-example"
if param := cfg.Get("name"); param != "" {
name = param
}
_default, err := vpc.GetSwitches(ctx, &vpc.GetSwitchesArgs{
ZoneId: pulumi.StringRef("cn-hangzhou-i"),
}, nil)
if err != nil {
return err
}
defaultInstance, err := rds.NewInstance(ctx, "default", &rds.InstanceArgs{
Engine: pulumi.String("PostgreSQL"),
EngineVersion: pulumi.String("17.0"),
DbInstanceStorageType: pulumi.String("general_essd"),
InstanceType: pulumi.String("pg.n2.1c.1m"),
InstanceStorage: pulumi.Int(100),
VswitchId: pulumi.String(_default.Ids[0]),
InstanceName: pulumi.String(name),
})
if err != nil {
return err
}
_, err = rds.NewAiInstance(ctx, "default", &rds.AiInstanceArgs{
AppName: pulumi.String(name),
AppType: pulumi.String("supabase"),
DbInstanceName: defaultInstance.ID(),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var name = config.Get("name") ?? "terraform-example";
var @default = AliCloud.Vpc.GetSwitches.Invoke(new()
{
ZoneId = "cn-hangzhou-i",
});
var defaultInstance = new AliCloud.Rds.Instance("default", new()
{
Engine = "PostgreSQL",
EngineVersion = "17.0",
DbInstanceStorageType = "general_essd",
InstanceType = "pg.n2.1c.1m",
InstanceStorage = 100,
VswitchId = @default.Apply(@default => @default.Apply(getSwitchesResult => getSwitchesResult.Ids[0])),
InstanceName = name,
});
var defaultAiInstance = new AliCloud.Rds.AiInstance("default", new()
{
AppName = name,
AppType = "supabase",
DbInstanceName = defaultInstance.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.vpc.VpcFunctions;
import com.pulumi.alicloud.vpc.inputs.GetSwitchesArgs;
import com.pulumi.alicloud.rds.Instance;
import com.pulumi.alicloud.rds.InstanceArgs;
import com.pulumi.alicloud.rds.AiInstance;
import com.pulumi.alicloud.rds.AiInstanceArgs;
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 config = ctx.config();
final var name = config.get("name").orElse("terraform-example");
final var default = VpcFunctions.getSwitches(GetSwitchesArgs.builder()
.zoneId("cn-hangzhou-i")
.build());
var defaultInstance = new Instance("defaultInstance", InstanceArgs.builder()
.engine("PostgreSQL")
.engineVersion("17.0")
.dbInstanceStorageType("general_essd")
.instanceType("pg.n2.1c.1m")
.instanceStorage(100)
.vswitchId(default_.ids()[0])
.instanceName(name)
.build());
var defaultAiInstance = new AiInstance("defaultAiInstance", AiInstanceArgs.builder()
.appName(name)
.appType("supabase")
.dbInstanceName(defaultInstance.id())
.build());
}
}
configuration:
name:
type: string
default: terraform-example
resources:
defaultInstance:
type: alicloud:rds:Instance
name: default
properties:
engine: PostgreSQL
engineVersion: '17.0'
dbInstanceStorageType: general_essd
instanceType: pg.n2.1c.1m
instanceStorage: 100
vswitchId: ${default.ids[0]}
instanceName: ${name}
defaultAiInstance:
type: alicloud:rds:AiInstance
name: default
properties:
appName: ${name}
appType: supabase
dbInstanceName: ${defaultInstance.id}
variables:
default:
fn::invoke:
function: alicloud:vpc:getSwitches
arguments:
zoneId: cn-hangzhou-i
📚 Need more examples? VIEW MORE EXAMPLES
Create AiInstance Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AiInstance(name: string, args: AiInstanceArgs, opts?: CustomResourceOptions);@overload
def AiInstance(resource_name: str,
args: AiInstanceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AiInstance(resource_name: str,
opts: Optional[ResourceOptions] = None,
app_name: Optional[str] = None,
app_type: Optional[str] = None,
auth_config_lists: Optional[Sequence[AiInstanceAuthConfigListArgs]] = None,
ca_type: Optional[str] = None,
dashboard_password: Optional[str] = None,
database_password: Optional[str] = None,
db_instance_name: Optional[str] = None,
initialize_with_existing_data: Optional[bool] = None,
public_endpoint_enabled: Optional[bool] = None,
public_network_access_enabled: Optional[bool] = None,
server_cert: Optional[str] = None,
server_key: Optional[str] = None,
ssl_enabled: Optional[int] = None,
status: Optional[str] = None,
storage_config_lists: Optional[Sequence[AiInstanceStorageConfigListArgs]] = None)func NewAiInstance(ctx *Context, name string, args AiInstanceArgs, opts ...ResourceOption) (*AiInstance, error)public AiInstance(string name, AiInstanceArgs args, CustomResourceOptions? opts = null)
public AiInstance(String name, AiInstanceArgs args)
public AiInstance(String name, AiInstanceArgs args, CustomResourceOptions options)
type: alicloud:rds:AiInstance
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 AiInstanceArgs
- 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 AiInstanceArgs
- 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 AiInstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AiInstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AiInstanceArgs
- 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 aiInstanceResource = new AliCloud.Rds.AiInstance("aiInstanceResource", new()
{
AppName = "string",
AppType = "string",
AuthConfigLists = new[]
{
new AliCloud.Rds.Inputs.AiInstanceAuthConfigListArgs
{
Name = "string",
Value = "string",
},
},
CaType = "string",
DashboardPassword = "string",
DatabasePassword = "string",
DbInstanceName = "string",
InitializeWithExistingData = false,
PublicEndpointEnabled = false,
PublicNetworkAccessEnabled = false,
ServerCert = "string",
ServerKey = "string",
SslEnabled = 0,
Status = "string",
StorageConfigLists = new[]
{
new AliCloud.Rds.Inputs.AiInstanceStorageConfigListArgs
{
Name = "string",
Value = "string",
},
},
});
example, err := rds.NewAiInstance(ctx, "aiInstanceResource", &rds.AiInstanceArgs{
AppName: pulumi.String("string"),
AppType: pulumi.String("string"),
AuthConfigLists: rds.AiInstanceAuthConfigListArray{
&rds.AiInstanceAuthConfigListArgs{
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
CaType: pulumi.String("string"),
DashboardPassword: pulumi.String("string"),
DatabasePassword: pulumi.String("string"),
DbInstanceName: pulumi.String("string"),
InitializeWithExistingData: pulumi.Bool(false),
PublicEndpointEnabled: pulumi.Bool(false),
PublicNetworkAccessEnabled: pulumi.Bool(false),
ServerCert: pulumi.String("string"),
ServerKey: pulumi.String("string"),
SslEnabled: pulumi.Int(0),
Status: pulumi.String("string"),
StorageConfigLists: rds.AiInstanceStorageConfigListArray{
&rds.AiInstanceStorageConfigListArgs{
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
})
var aiInstanceResource = new AiInstance("aiInstanceResource", AiInstanceArgs.builder()
.appName("string")
.appType("string")
.authConfigLists(AiInstanceAuthConfigListArgs.builder()
.name("string")
.value("string")
.build())
.caType("string")
.dashboardPassword("string")
.databasePassword("string")
.dbInstanceName("string")
.initializeWithExistingData(false)
.publicEndpointEnabled(false)
.publicNetworkAccessEnabled(false)
.serverCert("string")
.serverKey("string")
.sslEnabled(0)
.status("string")
.storageConfigLists(AiInstanceStorageConfigListArgs.builder()
.name("string")
.value("string")
.build())
.build());
ai_instance_resource = alicloud.rds.AiInstance("aiInstanceResource",
app_name="string",
app_type="string",
auth_config_lists=[{
"name": "string",
"value": "string",
}],
ca_type="string",
dashboard_password="string",
database_password="string",
db_instance_name="string",
initialize_with_existing_data=False,
public_endpoint_enabled=False,
public_network_access_enabled=False,
server_cert="string",
server_key="string",
ssl_enabled=0,
status="string",
storage_config_lists=[{
"name": "string",
"value": "string",
}])
const aiInstanceResource = new alicloud.rds.AiInstance("aiInstanceResource", {
appName: "string",
appType: "string",
authConfigLists: [{
name: "string",
value: "string",
}],
caType: "string",
dashboardPassword: "string",
databasePassword: "string",
dbInstanceName: "string",
initializeWithExistingData: false,
publicEndpointEnabled: false,
publicNetworkAccessEnabled: false,
serverCert: "string",
serverKey: "string",
sslEnabled: 0,
status: "string",
storageConfigLists: [{
name: "string",
value: "string",
}],
});
type: alicloud:rds:AiInstance
properties:
appName: string
appType: string
authConfigLists:
- name: string
value: string
caType: string
dashboardPassword: string
databasePassword: string
dbInstanceName: string
initializeWithExistingData: false
publicEndpointEnabled: false
publicNetworkAccessEnabled: false
serverCert: string
serverKey: string
sslEnabled: 0
status: string
storageConfigLists:
- name: string
value: string
AiInstance 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 AiInstance resource accepts the following input properties:
- App
Name string - The name of the new AI application.
- App
Type string - Application type. Currently, only
supabaseis supported. - Auth
Config List<Pulumi.Lists Ali Cloud. Rds. Inputs. Ai Instance Auth Config List> - Authentication information list. See
auth_config_listbelow. - Ca
Type string The type of the certificate. Currently, only
customis supported. A custom certificate is used.NOTE: When
ssl_enabledis set to1, this parameter must be configured.- Dashboard
Password string - Supabase Dashboard password. The password must be 8 to 32 characters in length and contain three or more characters: uppercase letters, lowercase letters, numbers, and underscores (_).
- Database
Password string - The RDS Database access password. The password must be 8 to 32 characters in length and contain three or more characters: uppercase letters, lowercase letters, numbers, and underscores (_).
- Db
Instance stringName - The ID of the RDS PostgreSQL database instance accessed by the AI application.
supports only newly purchased empty RDS PostgreSQL instances. The major version is
17, and the minor version is 20250630 or later.> - Initialize
With boolExisting Data - Whether to recover from existing PG data. Valid values:
- Public
Endpoint boolEnabled - Whether to enable the public network connection address. Valid values:
- Public
Network boolAccess Enabled - Whether to enable the public network NAT gateway. Valid values:
- Server
Cert string Customize the certificate content.
NOTE: When
ca_typeis set tocustom, this parameter must be configured.- Server
Key string The certificate private key.
NOTE: When
ca_typeis set tocustom, this parameter must be configured.- Ssl
Enabled int - Enable or disable SSL. Valid values:
- Status string
- The status of the instance. Valid values:
Running,Stopped. - Storage
Config List<Pulumi.Lists Ali Cloud. Rds. Inputs. Ai Instance Storage Config List> - A list of storage configurations. See
storage_config_listbelow.
- App
Name string - The name of the new AI application.
- App
Type string - Application type. Currently, only
supabaseis supported. - Auth
Config []AiLists Instance Auth Config List Args - Authentication information list. See
auth_config_listbelow. - Ca
Type string The type of the certificate. Currently, only
customis supported. A custom certificate is used.NOTE: When
ssl_enabledis set to1, this parameter must be configured.- Dashboard
Password string - Supabase Dashboard password. The password must be 8 to 32 characters in length and contain three or more characters: uppercase letters, lowercase letters, numbers, and underscores (_).
- Database
Password string - The RDS Database access password. The password must be 8 to 32 characters in length and contain three or more characters: uppercase letters, lowercase letters, numbers, and underscores (_).
- Db
Instance stringName - The ID of the RDS PostgreSQL database instance accessed by the AI application.
supports only newly purchased empty RDS PostgreSQL instances. The major version is
17, and the minor version is 20250630 or later.> - Initialize
With boolExisting Data - Whether to recover from existing PG data. Valid values:
- Public
Endpoint boolEnabled - Whether to enable the public network connection address. Valid values:
- Public
Network boolAccess Enabled - Whether to enable the public network NAT gateway. Valid values:
- Server
Cert string Customize the certificate content.
NOTE: When
ca_typeis set tocustom, this parameter must be configured.- Server
Key string The certificate private key.
NOTE: When
ca_typeis set tocustom, this parameter must be configured.- Ssl
Enabled int - Enable or disable SSL. Valid values:
- Status string
- The status of the instance. Valid values:
Running,Stopped. - Storage
Config []AiLists Instance Storage Config List Args - A list of storage configurations. See
storage_config_listbelow.
- app
Name String - The name of the new AI application.
- app
Type String - Application type. Currently, only
supabaseis supported. - auth
Config List<AiLists Instance Auth Config List> - Authentication information list. See
auth_config_listbelow. - ca
Type String The type of the certificate. Currently, only
customis supported. A custom certificate is used.NOTE: When
ssl_enabledis set to1, this parameter must be configured.- dashboard
Password String - Supabase Dashboard password. The password must be 8 to 32 characters in length and contain three or more characters: uppercase letters, lowercase letters, numbers, and underscores (_).
- database
Password String - The RDS Database access password. The password must be 8 to 32 characters in length and contain three or more characters: uppercase letters, lowercase letters, numbers, and underscores (_).
- db
Instance StringName - The ID of the RDS PostgreSQL database instance accessed by the AI application.
supports only newly purchased empty RDS PostgreSQL instances. The major version is
17, and the minor version is 20250630 or later.> - initialize
With BooleanExisting Data - Whether to recover from existing PG data. Valid values:
- public
Endpoint BooleanEnabled - Whether to enable the public network connection address. Valid values:
- public
Network BooleanAccess Enabled - Whether to enable the public network NAT gateway. Valid values:
- server
Cert String Customize the certificate content.
NOTE: When
ca_typeis set tocustom, this parameter must be configured.- server
Key String The certificate private key.
NOTE: When
ca_typeis set tocustom, this parameter must be configured.- ssl
Enabled Integer - Enable or disable SSL. Valid values:
- status String
- The status of the instance. Valid values:
Running,Stopped. - storage
Config List<AiLists Instance Storage Config List> - A list of storage configurations. See
storage_config_listbelow.
- app
Name string - The name of the new AI application.
- app
Type string - Application type. Currently, only
supabaseis supported. - auth
Config AiLists Instance Auth Config List[] - Authentication information list. See
auth_config_listbelow. - ca
Type string The type of the certificate. Currently, only
customis supported. A custom certificate is used.NOTE: When
ssl_enabledis set to1, this parameter must be configured.- dashboard
Password string - Supabase Dashboard password. The password must be 8 to 32 characters in length and contain three or more characters: uppercase letters, lowercase letters, numbers, and underscores (_).
- database
Password string - The RDS Database access password. The password must be 8 to 32 characters in length and contain three or more characters: uppercase letters, lowercase letters, numbers, and underscores (_).
- db
Instance stringName - The ID of the RDS PostgreSQL database instance accessed by the AI application.
supports only newly purchased empty RDS PostgreSQL instances. The major version is
17, and the minor version is 20250630 or later.> - initialize
With booleanExisting Data - Whether to recover from existing PG data. Valid values:
- public
Endpoint booleanEnabled - Whether to enable the public network connection address. Valid values:
- public
Network booleanAccess Enabled - Whether to enable the public network NAT gateway. Valid values:
- server
Cert string Customize the certificate content.
NOTE: When
ca_typeis set tocustom, this parameter must be configured.- server
Key string The certificate private key.
NOTE: When
ca_typeis set tocustom, this parameter must be configured.- ssl
Enabled number - Enable or disable SSL. Valid values:
- status string
- The status of the instance. Valid values:
Running,Stopped. - storage
Config AiLists Instance Storage Config List[] - A list of storage configurations. See
storage_config_listbelow.
- app_
name str - The name of the new AI application.
- app_
type str - Application type. Currently, only
supabaseis supported. - auth_
config_ Sequence[Ailists Instance Auth Config List Args] - Authentication information list. See
auth_config_listbelow. - ca_
type str The type of the certificate. Currently, only
customis supported. A custom certificate is used.NOTE: When
ssl_enabledis set to1, this parameter must be configured.- dashboard_
password str - Supabase Dashboard password. The password must be 8 to 32 characters in length and contain three or more characters: uppercase letters, lowercase letters, numbers, and underscores (_).
- database_
password str - The RDS Database access password. The password must be 8 to 32 characters in length and contain three or more characters: uppercase letters, lowercase letters, numbers, and underscores (_).
- db_
instance_ strname - The ID of the RDS PostgreSQL database instance accessed by the AI application.
supports only newly purchased empty RDS PostgreSQL instances. The major version is
17, and the minor version is 20250630 or later.> - initialize_
with_ boolexisting_ data - Whether to recover from existing PG data. Valid values:
- public_
endpoint_ boolenabled - Whether to enable the public network connection address. Valid values:
- public_
network_ boolaccess_ enabled - Whether to enable the public network NAT gateway. Valid values:
- server_
cert str Customize the certificate content.
NOTE: When
ca_typeis set tocustom, this parameter must be configured.- server_
key str The certificate private key.
NOTE: When
ca_typeis set tocustom, this parameter must be configured.- ssl_
enabled int - Enable or disable SSL. Valid values:
- status str
- The status of the instance. Valid values:
Running,Stopped. - storage_
config_ Sequence[Ailists Instance Storage Config List Args] - A list of storage configurations. See
storage_config_listbelow.
- app
Name String - The name of the new AI application.
- app
Type String - Application type. Currently, only
supabaseis supported. - auth
Config List<Property Map>Lists - Authentication information list. See
auth_config_listbelow. - ca
Type String The type of the certificate. Currently, only
customis supported. A custom certificate is used.NOTE: When
ssl_enabledis set to1, this parameter must be configured.- dashboard
Password String - Supabase Dashboard password. The password must be 8 to 32 characters in length and contain three or more characters: uppercase letters, lowercase letters, numbers, and underscores (_).
- database
Password String - The RDS Database access password. The password must be 8 to 32 characters in length and contain three or more characters: uppercase letters, lowercase letters, numbers, and underscores (_).
- db
Instance StringName - The ID of the RDS PostgreSQL database instance accessed by the AI application.
supports only newly purchased empty RDS PostgreSQL instances. The major version is
17, and the minor version is 20250630 or later.> - initialize
With BooleanExisting Data - Whether to recover from existing PG data. Valid values:
- public
Endpoint BooleanEnabled - Whether to enable the public network connection address. Valid values:
- public
Network BooleanAccess Enabled - Whether to enable the public network NAT gateway. Valid values:
- server
Cert String Customize the certificate content.
NOTE: When
ca_typeis set tocustom, this parameter must be configured.- server
Key String The certificate private key.
NOTE: When
ca_typeis set tocustom, this parameter must be configured.- ssl
Enabled Number - Enable or disable SSL. Valid values:
- status String
- The status of the instance. Valid values:
Running,Stopped. - storage
Config List<Property Map>Lists - A list of storage configurations. See
storage_config_listbelow.
Outputs
All input properties are implicitly available as output properties. Additionally, the AiInstance resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing AiInstance Resource
Get an existing AiInstance 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?: AiInstanceState, opts?: CustomResourceOptions): AiInstance@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
app_name: Optional[str] = None,
app_type: Optional[str] = None,
auth_config_lists: Optional[Sequence[AiInstanceAuthConfigListArgs]] = None,
ca_type: Optional[str] = None,
dashboard_password: Optional[str] = None,
database_password: Optional[str] = None,
db_instance_name: Optional[str] = None,
initialize_with_existing_data: Optional[bool] = None,
public_endpoint_enabled: Optional[bool] = None,
public_network_access_enabled: Optional[bool] = None,
server_cert: Optional[str] = None,
server_key: Optional[str] = None,
ssl_enabled: Optional[int] = None,
status: Optional[str] = None,
storage_config_lists: Optional[Sequence[AiInstanceStorageConfigListArgs]] = None) -> AiInstancefunc GetAiInstance(ctx *Context, name string, id IDInput, state *AiInstanceState, opts ...ResourceOption) (*AiInstance, error)public static AiInstance Get(string name, Input<string> id, AiInstanceState? state, CustomResourceOptions? opts = null)public static AiInstance get(String name, Output<String> id, AiInstanceState state, CustomResourceOptions options)resources: _: type: alicloud:rds:AiInstance 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.
- App
Name string - The name of the new AI application.
- App
Type string - Application type. Currently, only
supabaseis supported. - Auth
Config List<Pulumi.Lists Ali Cloud. Rds. Inputs. Ai Instance Auth Config List> - Authentication information list. See
auth_config_listbelow. - Ca
Type string The type of the certificate. Currently, only
customis supported. A custom certificate is used.NOTE: When
ssl_enabledis set to1, this parameter must be configured.- Dashboard
Password string - Supabase Dashboard password. The password must be 8 to 32 characters in length and contain three or more characters: uppercase letters, lowercase letters, numbers, and underscores (_).
- Database
Password string - The RDS Database access password. The password must be 8 to 32 characters in length and contain three or more characters: uppercase letters, lowercase letters, numbers, and underscores (_).
- Db
Instance stringName - The ID of the RDS PostgreSQL database instance accessed by the AI application.
supports only newly purchased empty RDS PostgreSQL instances. The major version is
17, and the minor version is 20250630 or later.> - Initialize
With boolExisting Data - Whether to recover from existing PG data. Valid values:
- Public
Endpoint boolEnabled - Whether to enable the public network connection address. Valid values:
- Public
Network boolAccess Enabled - Whether to enable the public network NAT gateway. Valid values:
- Server
Cert string Customize the certificate content.
NOTE: When
ca_typeis set tocustom, this parameter must be configured.- Server
Key string The certificate private key.
NOTE: When
ca_typeis set tocustom, this parameter must be configured.- Ssl
Enabled int - Enable or disable SSL. Valid values:
- Status string
- The status of the instance. Valid values:
Running,Stopped. - Storage
Config List<Pulumi.Lists Ali Cloud. Rds. Inputs. Ai Instance Storage Config List> - A list of storage configurations. See
storage_config_listbelow.
- App
Name string - The name of the new AI application.
- App
Type string - Application type. Currently, only
supabaseis supported. - Auth
Config []AiLists Instance Auth Config List Args - Authentication information list. See
auth_config_listbelow. - Ca
Type string The type of the certificate. Currently, only
customis supported. A custom certificate is used.NOTE: When
ssl_enabledis set to1, this parameter must be configured.- Dashboard
Password string - Supabase Dashboard password. The password must be 8 to 32 characters in length and contain three or more characters: uppercase letters, lowercase letters, numbers, and underscores (_).
- Database
Password string - The RDS Database access password. The password must be 8 to 32 characters in length and contain three or more characters: uppercase letters, lowercase letters, numbers, and underscores (_).
- Db
Instance stringName - The ID of the RDS PostgreSQL database instance accessed by the AI application.
supports only newly purchased empty RDS PostgreSQL instances. The major version is
17, and the minor version is 20250630 or later.> - Initialize
With boolExisting Data - Whether to recover from existing PG data. Valid values:
- Public
Endpoint boolEnabled - Whether to enable the public network connection address. Valid values:
- Public
Network boolAccess Enabled - Whether to enable the public network NAT gateway. Valid values:
- Server
Cert string Customize the certificate content.
NOTE: When
ca_typeis set tocustom, this parameter must be configured.- Server
Key string The certificate private key.
NOTE: When
ca_typeis set tocustom, this parameter must be configured.- Ssl
Enabled int - Enable or disable SSL. Valid values:
- Status string
- The status of the instance. Valid values:
Running,Stopped. - Storage
Config []AiLists Instance Storage Config List Args - A list of storage configurations. See
storage_config_listbelow.
- app
Name String - The name of the new AI application.
- app
Type String - Application type. Currently, only
supabaseis supported. - auth
Config List<AiLists Instance Auth Config List> - Authentication information list. See
auth_config_listbelow. - ca
Type String The type of the certificate. Currently, only
customis supported. A custom certificate is used.NOTE: When
ssl_enabledis set to1, this parameter must be configured.- dashboard
Password String - Supabase Dashboard password. The password must be 8 to 32 characters in length and contain three or more characters: uppercase letters, lowercase letters, numbers, and underscores (_).
- database
Password String - The RDS Database access password. The password must be 8 to 32 characters in length and contain three or more characters: uppercase letters, lowercase letters, numbers, and underscores (_).
- db
Instance StringName - The ID of the RDS PostgreSQL database instance accessed by the AI application.
supports only newly purchased empty RDS PostgreSQL instances. The major version is
17, and the minor version is 20250630 or later.> - initialize
With BooleanExisting Data - Whether to recover from existing PG data. Valid values:
- public
Endpoint BooleanEnabled - Whether to enable the public network connection address. Valid values:
- public
Network BooleanAccess Enabled - Whether to enable the public network NAT gateway. Valid values:
- server
Cert String Customize the certificate content.
NOTE: When
ca_typeis set tocustom, this parameter must be configured.- server
Key String The certificate private key.
NOTE: When
ca_typeis set tocustom, this parameter must be configured.- ssl
Enabled Integer - Enable or disable SSL. Valid values:
- status String
- The status of the instance. Valid values:
Running,Stopped. - storage
Config List<AiLists Instance Storage Config List> - A list of storage configurations. See
storage_config_listbelow.
- app
Name string - The name of the new AI application.
- app
Type string - Application type. Currently, only
supabaseis supported. - auth
Config AiLists Instance Auth Config List[] - Authentication information list. See
auth_config_listbelow. - ca
Type string The type of the certificate. Currently, only
customis supported. A custom certificate is used.NOTE: When
ssl_enabledis set to1, this parameter must be configured.- dashboard
Password string - Supabase Dashboard password. The password must be 8 to 32 characters in length and contain three or more characters: uppercase letters, lowercase letters, numbers, and underscores (_).
- database
Password string - The RDS Database access password. The password must be 8 to 32 characters in length and contain three or more characters: uppercase letters, lowercase letters, numbers, and underscores (_).
- db
Instance stringName - The ID of the RDS PostgreSQL database instance accessed by the AI application.
supports only newly purchased empty RDS PostgreSQL instances. The major version is
17, and the minor version is 20250630 or later.> - initialize
With booleanExisting Data - Whether to recover from existing PG data. Valid values:
- public
Endpoint booleanEnabled - Whether to enable the public network connection address. Valid values:
- public
Network booleanAccess Enabled - Whether to enable the public network NAT gateway. Valid values:
- server
Cert string Customize the certificate content.
NOTE: When
ca_typeis set tocustom, this parameter must be configured.- server
Key string The certificate private key.
NOTE: When
ca_typeis set tocustom, this parameter must be configured.- ssl
Enabled number - Enable or disable SSL. Valid values:
- status string
- The status of the instance. Valid values:
Running,Stopped. - storage
Config AiLists Instance Storage Config List[] - A list of storage configurations. See
storage_config_listbelow.
- app_
name str - The name of the new AI application.
- app_
type str - Application type. Currently, only
supabaseis supported. - auth_
config_ Sequence[Ailists Instance Auth Config List Args] - Authentication information list. See
auth_config_listbelow. - ca_
type str The type of the certificate. Currently, only
customis supported. A custom certificate is used.NOTE: When
ssl_enabledis set to1, this parameter must be configured.- dashboard_
password str - Supabase Dashboard password. The password must be 8 to 32 characters in length and contain three or more characters: uppercase letters, lowercase letters, numbers, and underscores (_).
- database_
password str - The RDS Database access password. The password must be 8 to 32 characters in length and contain three or more characters: uppercase letters, lowercase letters, numbers, and underscores (_).
- db_
instance_ strname - The ID of the RDS PostgreSQL database instance accessed by the AI application.
supports only newly purchased empty RDS PostgreSQL instances. The major version is
17, and the minor version is 20250630 or later.> - initialize_
with_ boolexisting_ data - Whether to recover from existing PG data. Valid values:
- public_
endpoint_ boolenabled - Whether to enable the public network connection address. Valid values:
- public_
network_ boolaccess_ enabled - Whether to enable the public network NAT gateway. Valid values:
- server_
cert str Customize the certificate content.
NOTE: When
ca_typeis set tocustom, this parameter must be configured.- server_
key str The certificate private key.
NOTE: When
ca_typeis set tocustom, this parameter must be configured.- ssl_
enabled int - Enable or disable SSL. Valid values:
- status str
- The status of the instance. Valid values:
Running,Stopped. - storage_
config_ Sequence[Ailists Instance Storage Config List Args] - A list of storage configurations. See
storage_config_listbelow.
- app
Name String - The name of the new AI application.
- app
Type String - Application type. Currently, only
supabaseis supported. - auth
Config List<Property Map>Lists - Authentication information list. See
auth_config_listbelow. - ca
Type String The type of the certificate. Currently, only
customis supported. A custom certificate is used.NOTE: When
ssl_enabledis set to1, this parameter must be configured.- dashboard
Password String - Supabase Dashboard password. The password must be 8 to 32 characters in length and contain three or more characters: uppercase letters, lowercase letters, numbers, and underscores (_).
- database
Password String - The RDS Database access password. The password must be 8 to 32 characters in length and contain three or more characters: uppercase letters, lowercase letters, numbers, and underscores (_).
- db
Instance StringName - The ID of the RDS PostgreSQL database instance accessed by the AI application.
supports only newly purchased empty RDS PostgreSQL instances. The major version is
17, and the minor version is 20250630 or later.> - initialize
With BooleanExisting Data - Whether to recover from existing PG data. Valid values:
- public
Endpoint BooleanEnabled - Whether to enable the public network connection address. Valid values:
- public
Network BooleanAccess Enabled - Whether to enable the public network NAT gateway. Valid values:
- server
Cert String Customize the certificate content.
NOTE: When
ca_typeis set tocustom, this parameter must be configured.- server
Key String The certificate private key.
NOTE: When
ca_typeis set tocustom, this parameter must be configured.- ssl
Enabled Number - Enable or disable SSL. Valid values:
- status String
- The status of the instance. Valid values:
Running,Stopped. - storage
Config List<Property Map>Lists - A list of storage configurations. See
storage_config_listbelow.
Supporting Types
AiInstanceAuthConfigList, AiInstanceAuthConfigListArgs
- Name string
- The configuration item name. For more information, see How to use it.
- Value string
- The value of the configuration item.
- Name string
- The configuration item name. For more information, see How to use it.
- Value string
- The value of the configuration item.
- name String
- The configuration item name. For more information, see How to use it.
- value String
- The value of the configuration item.
- name string
- The configuration item name. For more information, see How to use it.
- value string
- The value of the configuration item.
- name str
- The configuration item name. For more information, see How to use it.
- value str
- The value of the configuration item.
- name String
- The configuration item name. For more information, see How to use it.
- value String
- The value of the configuration item.
AiInstanceStorageConfigList, AiInstanceStorageConfigListArgs
- Name string
- The configuration item name. For more information, see How to use it.
- Value string
- The value of the configuration item.
- Name string
- The configuration item name. For more information, see How to use it.
- Value string
- The value of the configuration item.
- name String
- The configuration item name. For more information, see How to use it.
- value String
- The value of the configuration item.
- name string
- The configuration item name. For more information, see How to use it.
- value string
- The value of the configuration item.
- name str
- The configuration item name. For more information, see How to use it.
- value str
- The value of the configuration item.
- name String
- The configuration item name. For more information, see How to use it.
- value String
- The value of the configuration item.
Import
Rds Ai Instance can be imported using the id, e.g.
$ pulumi import alicloud:rds/aiInstance:AiInstance example <id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.
