Alibaba Cloud

v3.10.0 published on Wednesday, Nov 24, 2021 by Pulumi

ElasticInstance

Provides a AnalyticDB for PostgreSQL instance resource which storage type is flexible. Compared to the reserved storage ADB PG instance, you can scale up each disk and smoothly scale out nodes online.
For more detail product introduction, see here.

NOTE: Available in 1.127.0+

Example Usage

Create a AnalyticDB for PostgreSQL instance

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
    public MyStack()
    {
        var defaultZones = Output.Create(AliCloud.GetZones.InvokeAsync(new AliCloud.GetZonesArgs
        {
            AvailableResourceCreation = "Gpdb",
        }));
        var defaultNetwork = new AliCloud.Vpc.Network("defaultNetwork", new AliCloud.Vpc.NetworkArgs
        {
            CidrBlock = "172.16.0.0/16",
        });
        var defaultSwitch = new AliCloud.Vpc.Switch("defaultSwitch", new AliCloud.Vpc.SwitchArgs
        {
            ZoneId = defaultZones.Apply(defaultZones => defaultZones.Zones?[0]?.Id),
            VpcId = defaultNetwork.Id,
            CidrBlock = "172.16.0.0/24",
            VswitchName = "vpc-123456",
        });
        var adbPgInstance = new AliCloud.Gpdb.ElasticInstance("adbPgInstance", new AliCloud.Gpdb.ElasticInstanceArgs
        {
            Engine = "gpdb",
            EngineVersion = "6.0",
            SegStorageType = "cloud_essd",
            SegNodeNum = 4,
            StorageSize = 50,
            InstanceSpec = "2C16G",
            DbInstanceDescription = "Created by terraform",
            InstanceNetworkType = "VPC",
            PaymentType = "PayAsYouGo",
            VswitchId = defaultSwitch.Id,
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud"
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/gpdb"
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "Gpdb"
		defaultZones, err := alicloud.GetZones(ctx, &GetZonesArgs{
			AvailableResourceCreation: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		defaultNetwork, err := vpc.NewNetwork(ctx, "defaultNetwork", &vpc.NetworkArgs{
			CidrBlock: pulumi.String("172.16.0.0/16"),
		})
		if err != nil {
			return err
		}
		defaultSwitch, err := vpc.NewSwitch(ctx, "defaultSwitch", &vpc.SwitchArgs{
			ZoneId:      pulumi.String(defaultZones.Zones[0].Id),
			VpcId:       defaultNetwork.ID(),
			CidrBlock:   pulumi.String("172.16.0.0/24"),
			VswitchName: pulumi.String("vpc-123456"),
		})
		if err != nil {
			return err
		}
		_, err = gpdb.NewElasticInstance(ctx, "adbPgInstance", &gpdb.ElasticInstanceArgs{
			Engine:                pulumi.String("gpdb"),
			EngineVersion:         pulumi.String("6.0"),
			SegStorageType:        pulumi.String("cloud_essd"),
			SegNodeNum:            pulumi.Int(4),
			StorageSize:           pulumi.Int(50),
			InstanceSpec:          pulumi.String("2C16G"),
			DbInstanceDescription: pulumi.String("Created by terraform"),
			InstanceNetworkType:   pulumi.String("VPC"),
			PaymentType:           pulumi.String("PayAsYouGo"),
			VswitchId:             defaultSwitch.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
import pulumi
import pulumi_alicloud as alicloud

default_zones = alicloud.get_zones(available_resource_creation="Gpdb")
default_network = alicloud.vpc.Network("defaultNetwork", cidr_block="172.16.0.0/16")
default_switch = alicloud.vpc.Switch("defaultSwitch",
    zone_id=default_zones.zones[0].id,
    vpc_id=default_network.id,
    cidr_block="172.16.0.0/24",
    vswitch_name="vpc-123456")
adb_pg_instance = alicloud.gpdb.ElasticInstance("adbPgInstance",
    engine="gpdb",
    engine_version="6.0",
    seg_storage_type="cloud_essd",
    seg_node_num=4,
    storage_size=50,
    instance_spec="2C16G",
    db_instance_description="Created by terraform",
    instance_network_type="VPC",
    payment_type="PayAsYouGo",
    vswitch_id=default_switch.id)
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const defaultZones = alicloud.getZones({
    availableResourceCreation: "Gpdb",
});
const defaultNetwork = new alicloud.vpc.Network("defaultNetwork", {cidrBlock: "172.16.0.0/16"});
const defaultSwitch = new alicloud.vpc.Switch("defaultSwitch", {
    zoneId: defaultZones.then(defaultZones => defaultZones.zones?[0]?.id),
    vpcId: defaultNetwork.id,
    cidrBlock: "172.16.0.0/24",
    vswitchName: "vpc-123456",
});
const adbPgInstance = new alicloud.gpdb.ElasticInstance("adbPgInstance", {
    engine: "gpdb",
    engineVersion: "6.0",
    segStorageType: "cloud_essd",
    segNodeNum: 4,
    storageSize: 50,
    instanceSpec: "2C16G",
    dbInstanceDescription: "Created by terraform",
    instanceNetworkType: "VPC",
    paymentType: "PayAsYouGo",
    vswitchId: defaultSwitch.id,
});

Create a ElasticInstance Resource

new ElasticInstance(name: string, args: ElasticInstanceArgs, opts?: CustomResourceOptions);
@overload
def ElasticInstance(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    db_instance_description: Optional[str] = None,
                    engine: Optional[str] = None,
                    engine_version: Optional[str] = None,
                    instance_network_type: Optional[str] = None,
                    instance_spec: Optional[str] = None,
                    payment_duration: Optional[int] = None,
                    payment_duration_unit: Optional[str] = None,
                    payment_type: Optional[str] = None,
                    security_ip_lists: Optional[Sequence[str]] = None,
                    seg_node_num: Optional[int] = None,
                    seg_storage_type: Optional[str] = None,
                    storage_size: Optional[int] = None,
                    vswitch_id: Optional[str] = None,
                    zone_id: Optional[str] = None)
@overload
def ElasticInstance(resource_name: str,
                    args: ElasticInstanceArgs,
                    opts: Optional[ResourceOptions] = None)
func NewElasticInstance(ctx *Context, name string, args ElasticInstanceArgs, opts ...ResourceOption) (*ElasticInstance, error)
public ElasticInstance(string name, ElasticInstanceArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args ElasticInstanceArgs
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 ElasticInstanceArgs
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 ElasticInstanceArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ElasticInstanceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

ElasticInstance Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The ElasticInstance resource accepts the following input properties:

Engine string
Database engine: gpdb.
EngineVersion string
Database version. Valid value is 6.0.
InstanceSpec string
The specification of segment nodes. Valid values: 2C16G, 4C32G, 16C128G.
SegNodeNum int
The number of segment nodes. Minimum is 4, max is 256, step is 4.
SegStorageType string
The disk type of segment nodes. Valid values: cloud_essd, cloud_efficiency.
StorageSize int
The storage capacity of per segment node. Unit: GB. Minimum is 50, max is 4000, step is 50.
VswitchId string
The virtual switch ID to launch ADB PG instances in one VPC.
DbInstanceDescription string
The description of ADB PG instance. It is a string of 2 to 256 characters.
InstanceNetworkType string
The network type of ADB PG instance. Only VPC supported now.
PaymentDuration int
The subscription period. Valid values: [1~12]. It is valid when payment_type is Subscription.
NOTE: Will not take effect after modifying payment_duration for now, if you want to renew a PayAsYouGo instance, need to do in on aliyun console.
PaymentDurationUnit string
The unit of the subscription period. Valid values: Month, Year. It is valid when payment_type is Subscription.
NOTE: Will not take effect after modifying payment_duration_unit for now, if you want to renew a PayAsYouGo instance, need to do in on aliyun console.
PaymentType string
Valid values are PayAsYouGo, Subscription. Default to PayAsYouGo.
SecurityIpLists List<string>
List of IP addresses allowed to access all databases of an instance. The list contains up to 1,000 IP addresses, separated by commas. Supported formats include 0.0.0.0/0, 10.23.12.24 (IP), and 10.23.12.24/24 (Classless Inter-Domain Routing (CIDR) mode. /24 represents the length of the prefix in an IP address. The range of the prefix length is [1,32]).
ZoneId string
The Zone to launch the ADB PG instance. If specified, must be consistent with the zone where the vswitch is located.
Engine string
Database engine: gpdb.
EngineVersion string
Database version. Valid value is 6.0.
InstanceSpec string
The specification of segment nodes. Valid values: 2C16G, 4C32G, 16C128G.
SegNodeNum int
The number of segment nodes. Minimum is 4, max is 256, step is 4.
SegStorageType string
The disk type of segment nodes. Valid values: cloud_essd, cloud_efficiency.
StorageSize int
The storage capacity of per segment node. Unit: GB. Minimum is 50, max is 4000, step is 50.
VswitchId string
The virtual switch ID to launch ADB PG instances in one VPC.
DbInstanceDescription string
The description of ADB PG instance. It is a string of 2 to 256 characters.
InstanceNetworkType string
The network type of ADB PG instance. Only VPC supported now.
PaymentDuration int
The subscription period. Valid values: [1~12]. It is valid when payment_type is Subscription.
NOTE: Will not take effect after modifying payment_duration for now, if you want to renew a PayAsYouGo instance, need to do in on aliyun console.
PaymentDurationUnit string
The unit of the subscription period. Valid values: Month, Year. It is valid when payment_type is Subscription.
NOTE: Will not take effect after modifying payment_duration_unit for now, if you want to renew a PayAsYouGo instance, need to do in on aliyun console.
PaymentType string
Valid values are PayAsYouGo, Subscription. Default to PayAsYouGo.
SecurityIpLists []string
List of IP addresses allowed to access all databases of an instance. The list contains up to 1,000 IP addresses, separated by commas. Supported formats include 0.0.0.0/0, 10.23.12.24 (IP), and 10.23.12.24/24 (Classless Inter-Domain Routing (CIDR) mode. /24 represents the length of the prefix in an IP address. The range of the prefix length is [1,32]).
ZoneId string
The Zone to launch the ADB PG instance. If specified, must be consistent with the zone where the vswitch is located.
engine string
Database engine: gpdb.
engineVersion string
Database version. Valid value is 6.0.
instanceSpec string
The specification of segment nodes. Valid values: 2C16G, 4C32G, 16C128G.
segNodeNum number
The number of segment nodes. Minimum is 4, max is 256, step is 4.
segStorageType string
The disk type of segment nodes. Valid values: cloud_essd, cloud_efficiency.
storageSize number
The storage capacity of per segment node. Unit: GB. Minimum is 50, max is 4000, step is 50.
vswitchId string
The virtual switch ID to launch ADB PG instances in one VPC.
dbInstanceDescription string
The description of ADB PG instance. It is a string of 2 to 256 characters.
instanceNetworkType string
The network type of ADB PG instance. Only VPC supported now.
paymentDuration number
The subscription period. Valid values: [1~12]. It is valid when payment_type is Subscription.
NOTE: Will not take effect after modifying payment_duration for now, if you want to renew a PayAsYouGo instance, need to do in on aliyun console.
paymentDurationUnit string
The unit of the subscription period. Valid values: Month, Year. It is valid when payment_type is Subscription.
NOTE: Will not take effect after modifying payment_duration_unit for now, if you want to renew a PayAsYouGo instance, need to do in on aliyun console.
paymentType string
Valid values are PayAsYouGo, Subscription. Default to PayAsYouGo.
securityIpLists string[]
List of IP addresses allowed to access all databases of an instance. The list contains up to 1,000 IP addresses, separated by commas. Supported formats include 0.0.0.0/0, 10.23.12.24 (IP), and 10.23.12.24/24 (Classless Inter-Domain Routing (CIDR) mode. /24 represents the length of the prefix in an IP address. The range of the prefix length is [1,32]).
zoneId string
The Zone to launch the ADB PG instance. If specified, must be consistent with the zone where the vswitch is located.
engine str
Database engine: gpdb.
engine_version str
Database version. Valid value is 6.0.
instance_spec str
The specification of segment nodes. Valid values: 2C16G, 4C32G, 16C128G.
seg_node_num int
The number of segment nodes. Minimum is 4, max is 256, step is 4.
seg_storage_type str
The disk type of segment nodes. Valid values: cloud_essd, cloud_efficiency.
storage_size int
The storage capacity of per segment node. Unit: GB. Minimum is 50, max is 4000, step is 50.
vswitch_id str
The virtual switch ID to launch ADB PG instances in one VPC.
db_instance_description str
The description of ADB PG instance. It is a string of 2 to 256 characters.
instance_network_type str
The network type of ADB PG instance. Only VPC supported now.
payment_duration int
The subscription period. Valid values: [1~12]. It is valid when payment_type is Subscription.
NOTE: Will not take effect after modifying payment_duration for now, if you want to renew a PayAsYouGo instance, need to do in on aliyun console.
payment_duration_unit str
The unit of the subscription period. Valid values: Month, Year. It is valid when payment_type is Subscription.
NOTE: Will not take effect after modifying payment_duration_unit for now, if you want to renew a PayAsYouGo instance, need to do in on aliyun console.
payment_type str
Valid values are PayAsYouGo, Subscription. Default to PayAsYouGo.
security_ip_lists Sequence[str]
List of IP addresses allowed to access all databases of an instance. The list contains up to 1,000 IP addresses, separated by commas. Supported formats include 0.0.0.0/0, 10.23.12.24 (IP), and 10.23.12.24/24 (Classless Inter-Domain Routing (CIDR) mode. /24 represents the length of the prefix in an IP address. The range of the prefix length is [1,32]).
zone_id str
The Zone to launch the ADB PG instance. If specified, must be consistent with the zone where the vswitch is located.

Outputs

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

ConnectionString string
ADB PG instance connection string.
Id string
The provider-assigned unique ID for this managed resource.
Status string
Instance status.
ConnectionString string
ADB PG instance connection string.
Id string
The provider-assigned unique ID for this managed resource.
Status string
Instance status.
connectionString string
ADB PG instance connection string.
id string
The provider-assigned unique ID for this managed resource.
status string
Instance status.
connection_string str
ADB PG instance connection string.
id str
The provider-assigned unique ID for this managed resource.
status str
Instance status.

Look up an Existing ElasticInstance Resource

Get an existing ElasticInstance 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?: ElasticInstanceState, opts?: CustomResourceOptions): ElasticInstance
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        connection_string: Optional[str] = None,
        db_instance_description: Optional[str] = None,
        engine: Optional[str] = None,
        engine_version: Optional[str] = None,
        instance_network_type: Optional[str] = None,
        instance_spec: Optional[str] = None,
        payment_duration: Optional[int] = None,
        payment_duration_unit: Optional[str] = None,
        payment_type: Optional[str] = None,
        security_ip_lists: Optional[Sequence[str]] = None,
        seg_node_num: Optional[int] = None,
        seg_storage_type: Optional[str] = None,
        status: Optional[str] = None,
        storage_size: Optional[int] = None,
        vswitch_id: Optional[str] = None,
        zone_id: Optional[str] = None) -> ElasticInstance
func GetElasticInstance(ctx *Context, name string, id IDInput, state *ElasticInstanceState, opts ...ResourceOption) (*ElasticInstance, error)
public static ElasticInstance Get(string name, Input<string> id, ElasticInstanceState? state, CustomResourceOptions? opts = null)
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.

The following state arguments are supported:

ConnectionString string
ADB PG instance connection string.
DbInstanceDescription string
The description of ADB PG instance. It is a string of 2 to 256 characters.
Engine string
Database engine: gpdb.
EngineVersion string
Database version. Valid value is 6.0.
InstanceNetworkType string
The network type of ADB PG instance. Only VPC supported now.
InstanceSpec string
The specification of segment nodes. Valid values: 2C16G, 4C32G, 16C128G.
PaymentDuration int
The subscription period. Valid values: [1~12]. It is valid when payment_type is Subscription.
NOTE: Will not take effect after modifying payment_duration for now, if you want to renew a PayAsYouGo instance, need to do in on aliyun console.
PaymentDurationUnit string
The unit of the subscription period. Valid values: Month, Year. It is valid when payment_type is Subscription.
NOTE: Will not take effect after modifying payment_duration_unit for now, if you want to renew a PayAsYouGo instance, need to do in on aliyun console.
PaymentType string
Valid values are PayAsYouGo, Subscription. Default to PayAsYouGo.
SecurityIpLists List<string>
List of IP addresses allowed to access all databases of an instance. The list contains up to 1,000 IP addresses, separated by commas. Supported formats include 0.0.0.0/0, 10.23.12.24 (IP), and 10.23.12.24/24 (Classless Inter-Domain Routing (CIDR) mode. /24 represents the length of the prefix in an IP address. The range of the prefix length is [1,32]).
SegNodeNum int
The number of segment nodes. Minimum is 4, max is 256, step is 4.
SegStorageType string
The disk type of segment nodes. Valid values: cloud_essd, cloud_efficiency.
Status string
Instance status.
StorageSize int
The storage capacity of per segment node. Unit: GB. Minimum is 50, max is 4000, step is 50.
VswitchId string
The virtual switch ID to launch ADB PG instances in one VPC.
ZoneId string
The Zone to launch the ADB PG instance. If specified, must be consistent with the zone where the vswitch is located.
ConnectionString string
ADB PG instance connection string.
DbInstanceDescription string
The description of ADB PG instance. It is a string of 2 to 256 characters.
Engine string
Database engine: gpdb.
EngineVersion string
Database version. Valid value is 6.0.
InstanceNetworkType string
The network type of ADB PG instance. Only VPC supported now.
InstanceSpec string
The specification of segment nodes. Valid values: 2C16G, 4C32G, 16C128G.
PaymentDuration int
The subscription period. Valid values: [1~12]. It is valid when payment_type is Subscription.
NOTE: Will not take effect after modifying payment_duration for now, if you want to renew a PayAsYouGo instance, need to do in on aliyun console.
PaymentDurationUnit string
The unit of the subscription period. Valid values: Month, Year. It is valid when payment_type is Subscription.
NOTE: Will not take effect after modifying payment_duration_unit for now, if you want to renew a PayAsYouGo instance, need to do in on aliyun console.
PaymentType string
Valid values are PayAsYouGo, Subscription. Default to PayAsYouGo.
SecurityIpLists []string
List of IP addresses allowed to access all databases of an instance. The list contains up to 1,000 IP addresses, separated by commas. Supported formats include 0.0.0.0/0, 10.23.12.24 (IP), and 10.23.12.24/24 (Classless Inter-Domain Routing (CIDR) mode. /24 represents the length of the prefix in an IP address. The range of the prefix length is [1,32]).
SegNodeNum int
The number of segment nodes. Minimum is 4, max is 256, step is 4.
SegStorageType string
The disk type of segment nodes. Valid values: cloud_essd, cloud_efficiency.
Status string
Instance status.
StorageSize int
The storage capacity of per segment node. Unit: GB. Minimum is 50, max is 4000, step is 50.
VswitchId string
The virtual switch ID to launch ADB PG instances in one VPC.
ZoneId string
The Zone to launch the ADB PG instance. If specified, must be consistent with the zone where the vswitch is located.
connectionString string
ADB PG instance connection string.
dbInstanceDescription string
The description of ADB PG instance. It is a string of 2 to 256 characters.
engine string
Database engine: gpdb.
engineVersion string
Database version. Valid value is 6.0.
instanceNetworkType string
The network type of ADB PG instance. Only VPC supported now.
instanceSpec string
The specification of segment nodes. Valid values: 2C16G, 4C32G, 16C128G.
paymentDuration number
The subscription period. Valid values: [1~12]. It is valid when payment_type is Subscription.
NOTE: Will not take effect after modifying payment_duration for now, if you want to renew a PayAsYouGo instance, need to do in on aliyun console.
paymentDurationUnit string
The unit of the subscription period. Valid values: Month, Year. It is valid when payment_type is Subscription.
NOTE: Will not take effect after modifying payment_duration_unit for now, if you want to renew a PayAsYouGo instance, need to do in on aliyun console.
paymentType string
Valid values are PayAsYouGo, Subscription. Default to PayAsYouGo.
securityIpLists string[]
List of IP addresses allowed to access all databases of an instance. The list contains up to 1,000 IP addresses, separated by commas. Supported formats include 0.0.0.0/0, 10.23.12.24 (IP), and 10.23.12.24/24 (Classless Inter-Domain Routing (CIDR) mode. /24 represents the length of the prefix in an IP address. The range of the prefix length is [1,32]).
segNodeNum number
The number of segment nodes. Minimum is 4, max is 256, step is 4.
segStorageType string
The disk type of segment nodes. Valid values: cloud_essd, cloud_efficiency.
status string
Instance status.
storageSize number
The storage capacity of per segment node. Unit: GB. Minimum is 50, max is 4000, step is 50.
vswitchId string
The virtual switch ID to launch ADB PG instances in one VPC.
zoneId string
The Zone to launch the ADB PG instance. If specified, must be consistent with the zone where the vswitch is located.
connection_string str
ADB PG instance connection string.
db_instance_description str
The description of ADB PG instance. It is a string of 2 to 256 characters.
engine str
Database engine: gpdb.
engine_version str
Database version. Valid value is 6.0.
instance_network_type str
The network type of ADB PG instance. Only VPC supported now.
instance_spec str
The specification of segment nodes. Valid values: 2C16G, 4C32G, 16C128G.
payment_duration int
The subscription period. Valid values: [1~12]. It is valid when payment_type is Subscription.
NOTE: Will not take effect after modifying payment_duration for now, if you want to renew a PayAsYouGo instance, need to do in on aliyun console.
payment_duration_unit str
The unit of the subscription period. Valid values: Month, Year. It is valid when payment_type is Subscription.
NOTE: Will not take effect after modifying payment_duration_unit for now, if you want to renew a PayAsYouGo instance, need to do in on aliyun console.
payment_type str
Valid values are PayAsYouGo, Subscription. Default to PayAsYouGo.
security_ip_lists Sequence[str]
List of IP addresses allowed to access all databases of an instance. The list contains up to 1,000 IP addresses, separated by commas. Supported formats include 0.0.0.0/0, 10.23.12.24 (IP), and 10.23.12.24/24 (Classless Inter-Domain Routing (CIDR) mode. /24 represents the length of the prefix in an IP address. The range of the prefix length is [1,32]).
seg_node_num int
The number of segment nodes. Minimum is 4, max is 256, step is 4.
seg_storage_type str
The disk type of segment nodes. Valid values: cloud_essd, cloud_efficiency.
status str
Instance status.
storage_size int
The storage capacity of per segment node. Unit: GB. Minimum is 50, max is 4000, step is 50.
vswitch_id str
The virtual switch ID to launch ADB PG instances in one VPC.
zone_id str
The Zone to launch the ADB PG instance. If specified, must be consistent with the zone where the vswitch is located.

Import

AnalyticDB for PostgreSQL can be imported using the id, e.g.

 $ pulumi import alicloud:gpdb/elasticInstance:ElasticInstance adb_pg_instance gp-bpxxxxxxxxxxxxxx

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.