1. Packages
  2. Selectel Provider
  3. API Docs
  4. DbaasDatastoreV1
selectel 6.4.0 published on Monday, Apr 14, 2025 by selectel

selectel.DbaasDatastoreV1

Explore with Pulumi AI

selectel logo
selectel 6.4.0 published on Monday, Apr 14, 2025 by selectel

    WARNING: This resource is deprecated and is going to be removed soon. You should use datastore resource for specific datastore type.

    Manages a V1 datastore resource within Selectel Managed Databases Service.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as selectel from "@pulumi/selectel";
    
    const project1 = new selectel.VpcProjectV2("project1", {});
    const subnet = new selectel.VpcSubnetV2("subnet", {
        projectId: project1.vpcProjectV2Id,
        region: "ru-3",
    });
    const dt = selectel.getDbaasDatastoreTypeV1Output({
        projectId: project1.vpcProjectV2Id,
        region: "ru-3",
        filters: [{
            engine: "postgresql",
            version: "12",
        }],
    });
    const datastore1 = new selectel.DbaasDatastoreV1("datastore1", {
        projectId: project1.vpcProjectV2Id,
        region: "ru-3",
        typeId: dt.apply(dt => dt.datastoreTypes?.[0]?.id),
        subnetId: subnet.subnetId,
        nodeCount: 3,
        flavors: [{
            vcpus: 4,
            ram: 4096,
            disk: 32,
        }],
        poolers: [{
            mode: "transaction",
            size: 50,
        }],
        config: {
            xmloption: "content",
            work_mem: "512",
            session_replication_role: "replica",
            vacuum_cost_delay: "25",
            transform_null_equals: "false",
        },
    });
    
    import pulumi
    import pulumi_selectel as selectel
    
    project1 = selectel.VpcProjectV2("project1")
    subnet = selectel.VpcSubnetV2("subnet",
        project_id=project1.vpc_project_v2_id,
        region="ru-3")
    dt = selectel.get_dbaas_datastore_type_v1_output(project_id=project1.vpc_project_v2_id,
        region="ru-3",
        filters=[{
            "engine": "postgresql",
            "version": "12",
        }])
    datastore1 = selectel.DbaasDatastoreV1("datastore1",
        project_id=project1.vpc_project_v2_id,
        region="ru-3",
        type_id=dt.datastore_types[0].id,
        subnet_id=subnet.subnet_id,
        node_count=3,
        flavors=[{
            "vcpus": 4,
            "ram": 4096,
            "disk": 32,
        }],
        poolers=[{
            "mode": "transaction",
            "size": 50,
        }],
        config={
            "xmloption": "content",
            "work_mem": "512",
            "session_replication_role": "replica",
            "vacuum_cost_delay": "25",
            "transform_null_equals": "false",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/selectel/v6/selectel"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		project1, err := selectel.NewVpcProjectV2(ctx, "project1", nil)
    		if err != nil {
    			return err
    		}
    		subnet, err := selectel.NewVpcSubnetV2(ctx, "subnet", &selectel.VpcSubnetV2Args{
    			ProjectId: project1.VpcProjectV2Id,
    			Region:    pulumi.String("ru-3"),
    		})
    		if err != nil {
    			return err
    		}
    		dt := selectel.GetDbaasDatastoreTypeV1Output(ctx, selectel.GetDbaasDatastoreTypeV1OutputArgs{
    			ProjectId: project1.VpcProjectV2Id,
    			Region:    pulumi.String("ru-3"),
    			Filters: selectel.GetDbaasDatastoreTypeV1FilterArray{
    				&selectel.GetDbaasDatastoreTypeV1FilterArgs{
    					Engine:  pulumi.String("postgresql"),
    					Version: pulumi.String("12"),
    				},
    			},
    		}, nil)
    		_, err = selectel.NewDbaasDatastoreV1(ctx, "datastore1", &selectel.DbaasDatastoreV1Args{
    			ProjectId: project1.VpcProjectV2Id,
    			Region:    pulumi.String("ru-3"),
    			TypeId: pulumi.String(dt.ApplyT(func(dt selectel.GetDbaasDatastoreTypeV1Result) (*string, error) {
    				return &dt.DatastoreTypes[0].Id, nil
    			}).(pulumi.StringPtrOutput)),
    			SubnetId:  subnet.SubnetId,
    			NodeCount: pulumi.Float64(3),
    			Flavors: selectel.DbaasDatastoreV1FlavorArray{
    				&selectel.DbaasDatastoreV1FlavorArgs{
    					Vcpus: pulumi.Float64(4),
    					Ram:   pulumi.Float64(4096),
    					Disk:  pulumi.Float64(32),
    				},
    			},
    			Poolers: selectel.DbaasDatastoreV1PoolerArray{
    				&selectel.DbaasDatastoreV1PoolerArgs{
    					Mode: pulumi.String("transaction"),
    					Size: pulumi.Float64(50),
    				},
    			},
    			Config: pulumi.StringMap{
    				"xmloption":                pulumi.String("content"),
    				"work_mem":                 pulumi.String("512"),
    				"session_replication_role": pulumi.String("replica"),
    				"vacuum_cost_delay":        pulumi.String("25"),
    				"transform_null_equals":    pulumi.String("false"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Selectel = Pulumi.Selectel;
    
    return await Deployment.RunAsync(() => 
    {
        var project1 = new Selectel.VpcProjectV2("project1");
    
        var subnet = new Selectel.VpcSubnetV2("subnet", new()
        {
            ProjectId = project1.VpcProjectV2Id,
            Region = "ru-3",
        });
    
        var dt = Selectel.GetDbaasDatastoreTypeV1.Invoke(new()
        {
            ProjectId = project1.VpcProjectV2Id,
            Region = "ru-3",
            Filters = new[]
            {
                new Selectel.Inputs.GetDbaasDatastoreTypeV1FilterInputArgs
                {
                    Engine = "postgresql",
                    Version = "12",
                },
            },
        });
    
        var datastore1 = new Selectel.DbaasDatastoreV1("datastore1", new()
        {
            ProjectId = project1.VpcProjectV2Id,
            Region = "ru-3",
            TypeId = dt.Apply(getDbaasDatastoreTypeV1Result => getDbaasDatastoreTypeV1Result.DatastoreTypes[0]?.Id),
            SubnetId = subnet.SubnetId,
            NodeCount = 3,
            Flavors = new[]
            {
                new Selectel.Inputs.DbaasDatastoreV1FlavorArgs
                {
                    Vcpus = 4,
                    Ram = 4096,
                    Disk = 32,
                },
            },
            Poolers = new[]
            {
                new Selectel.Inputs.DbaasDatastoreV1PoolerArgs
                {
                    Mode = "transaction",
                    Size = 50,
                },
            },
            Config = 
            {
                { "xmloption", "content" },
                { "work_mem", "512" },
                { "session_replication_role", "replica" },
                { "vacuum_cost_delay", "25" },
                { "transform_null_equals", "false" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.selectel.VpcProjectV2;
    import com.pulumi.selectel.VpcSubnetV2;
    import com.pulumi.selectel.VpcSubnetV2Args;
    import com.pulumi.selectel.SelectelFunctions;
    import com.pulumi.selectel.inputs.GetDbaasDatastoreTypeV1Args;
    import com.pulumi.selectel.DbaasDatastoreV1;
    import com.pulumi.selectel.DbaasDatastoreV1Args;
    import com.pulumi.selectel.inputs.DbaasDatastoreV1FlavorArgs;
    import com.pulumi.selectel.inputs.DbaasDatastoreV1PoolerArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var project1 = new VpcProjectV2("project1");
    
            var subnet = new VpcSubnetV2("subnet", VpcSubnetV2Args.builder()
                .projectId(project1.vpcProjectV2Id())
                .region("ru-3")
                .build());
    
            final var dt = SelectelFunctions.getDbaasDatastoreTypeV1(GetDbaasDatastoreTypeV1Args.builder()
                .projectId(project1.vpcProjectV2Id())
                .region("ru-3")
                .filters(GetDbaasDatastoreTypeV1FilterArgs.builder()
                    .engine("postgresql")
                    .version("12")
                    .build())
                .build());
    
            var datastore1 = new DbaasDatastoreV1("datastore1", DbaasDatastoreV1Args.builder()
                .projectId(project1.vpcProjectV2Id())
                .region("ru-3")
                .typeId(dt.applyValue(getDbaasDatastoreTypeV1Result -> getDbaasDatastoreTypeV1Result).applyValue(dt -> dt.applyValue(getDbaasDatastoreTypeV1Result -> getDbaasDatastoreTypeV1Result.datastoreTypes()[0].id())))
                .subnetId(subnet.subnetId())
                .nodeCount(3)
                .flavors(DbaasDatastoreV1FlavorArgs.builder()
                    .vcpus(4)
                    .ram(4096)
                    .disk(32)
                    .build())
                .poolers(DbaasDatastoreV1PoolerArgs.builder()
                    .mode("transaction")
                    .size(50)
                    .build())
                .config(Map.ofEntries(
                    Map.entry("xmloption", "content"),
                    Map.entry("work_mem", 512),
                    Map.entry("session_replication_role", "replica"),
                    Map.entry("vacuum_cost_delay", 25),
                    Map.entry("transform_null_equals", false)
                ))
                .build());
    
        }
    }
    
    resources:
      project1:
        type: selectel:VpcProjectV2
      subnet:
        type: selectel:VpcSubnetV2
        properties:
          projectId: ${project1.vpcProjectV2Id}
          region: ru-3
      datastore1:
        type: selectel:DbaasDatastoreV1
        properties:
          projectId: ${project1.vpcProjectV2Id}
          region: ru-3
          typeId: ${dt.datastoreTypes[0].id}
          subnetId: ${subnet.subnetId}
          nodeCount: 3
          flavors:
            - vcpus: 4
              ram: 4096
              disk: 32
          poolers:
            - mode: transaction
              size: 50
          config:
            xmloption: content
            work_mem: 512
            session_replication_role: replica
            vacuum_cost_delay: 25
            transform_null_equals: false
    variables:
      dt:
        fn::invoke:
          function: selectel:getDbaasDatastoreTypeV1
          arguments:
            projectId: ${project1.vpcProjectV2Id}
            region: ru-3
            filters:
              - engine: postgresql
                version: '12'
    

    Create DbaasDatastoreV1 Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new DbaasDatastoreV1(name: string, args: DbaasDatastoreV1Args, opts?: CustomResourceOptions);
    @overload
    def DbaasDatastoreV1(resource_name: str,
                         args: DbaasDatastoreV1Args,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def DbaasDatastoreV1(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         region: Optional[str] = None,
                         project_id: Optional[str] = None,
                         type_id: Optional[str] = None,
                         subnet_id: Optional[str] = None,
                         node_count: Optional[float] = None,
                         poolers: Optional[Sequence[DbaasDatastoreV1PoolerArgs]] = None,
                         floating_ips: Optional[Sequence[DbaasDatastoreV1FloatingIpArgs]] = None,
                         name: Optional[str] = None,
                         config: Optional[Mapping[str, str]] = None,
                         flavors: Optional[Sequence[DbaasDatastoreV1FlavorArgs]] = None,
                         flavor_id: Optional[str] = None,
                         redis_password: Optional[str] = None,
                         backup_retention_days: Optional[float] = None,
                         restores: Optional[Sequence[DbaasDatastoreV1RestoreArgs]] = None,
                         firewalls: Optional[Sequence[DbaasDatastoreV1FirewallArgs]] = None,
                         timeouts: Optional[DbaasDatastoreV1TimeoutsArgs] = None,
                         dbaas_datastore_v1_id: Optional[str] = None)
    func NewDbaasDatastoreV1(ctx *Context, name string, args DbaasDatastoreV1Args, opts ...ResourceOption) (*DbaasDatastoreV1, error)
    public DbaasDatastoreV1(string name, DbaasDatastoreV1Args args, CustomResourceOptions? opts = null)
    public DbaasDatastoreV1(String name, DbaasDatastoreV1Args args)
    public DbaasDatastoreV1(String name, DbaasDatastoreV1Args args, CustomResourceOptions options)
    
    type: selectel:DbaasDatastoreV1
    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 DbaasDatastoreV1Args
    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 DbaasDatastoreV1Args
    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 DbaasDatastoreV1Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DbaasDatastoreV1Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DbaasDatastoreV1Args
    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 dbaasDatastoreV1Resource = new Selectel.DbaasDatastoreV1("dbaasDatastoreV1Resource", new()
    {
        Region = "string",
        ProjectId = "string",
        TypeId = "string",
        SubnetId = "string",
        NodeCount = 0,
        Poolers = new[]
        {
            new Selectel.Inputs.DbaasDatastoreV1PoolerArgs
            {
                Mode = "string",
                Size = 0,
            },
        },
        FloatingIps = new[]
        {
            new Selectel.Inputs.DbaasDatastoreV1FloatingIpArgs
            {
                Master = 0,
                Replica = 0,
            },
        },
        Name = "string",
        Config = 
        {
            { "string", "string" },
        },
        Flavors = new[]
        {
            new Selectel.Inputs.DbaasDatastoreV1FlavorArgs
            {
                Disk = 0,
                Ram = 0,
                Vcpus = 0,
            },
        },
        FlavorId = "string",
        RedisPassword = "string",
        BackupRetentionDays = 0,
        Restores = new[]
        {
            new Selectel.Inputs.DbaasDatastoreV1RestoreArgs
            {
                DatastoreId = "string",
                TargetTime = "string",
            },
        },
        Timeouts = new Selectel.Inputs.DbaasDatastoreV1TimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
        DbaasDatastoreV1Id = "string",
    });
    
    example, err := selectel.NewDbaasDatastoreV1(ctx, "dbaasDatastoreV1Resource", &selectel.DbaasDatastoreV1Args{
    	Region:    pulumi.String("string"),
    	ProjectId: pulumi.String("string"),
    	TypeId:    pulumi.String("string"),
    	SubnetId:  pulumi.String("string"),
    	NodeCount: pulumi.Float64(0),
    	Poolers: selectel.DbaasDatastoreV1PoolerArray{
    		&selectel.DbaasDatastoreV1PoolerArgs{
    			Mode: pulumi.String("string"),
    			Size: pulumi.Float64(0),
    		},
    	},
    	FloatingIps: selectel.DbaasDatastoreV1FloatingIpArray{
    		&selectel.DbaasDatastoreV1FloatingIpArgs{
    			Master:  pulumi.Float64(0),
    			Replica: pulumi.Float64(0),
    		},
    	},
    	Name: pulumi.String("string"),
    	Config: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Flavors: selectel.DbaasDatastoreV1FlavorArray{
    		&selectel.DbaasDatastoreV1FlavorArgs{
    			Disk:  pulumi.Float64(0),
    			Ram:   pulumi.Float64(0),
    			Vcpus: pulumi.Float64(0),
    		},
    	},
    	FlavorId:            pulumi.String("string"),
    	RedisPassword:       pulumi.String("string"),
    	BackupRetentionDays: pulumi.Float64(0),
    	Restores: selectel.DbaasDatastoreV1RestoreArray{
    		&selectel.DbaasDatastoreV1RestoreArgs{
    			DatastoreId: pulumi.String("string"),
    			TargetTime:  pulumi.String("string"),
    		},
    	},
    	Timeouts: &selectel.DbaasDatastoreV1TimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    	DbaasDatastoreV1Id: pulumi.String("string"),
    })
    
    var dbaasDatastoreV1Resource = new DbaasDatastoreV1("dbaasDatastoreV1Resource", DbaasDatastoreV1Args.builder()
        .region("string")
        .projectId("string")
        .typeId("string")
        .subnetId("string")
        .nodeCount(0)
        .poolers(DbaasDatastoreV1PoolerArgs.builder()
            .mode("string")
            .size(0)
            .build())
        .floatingIps(DbaasDatastoreV1FloatingIpArgs.builder()
            .master(0)
            .replica(0)
            .build())
        .name("string")
        .config(Map.of("string", "string"))
        .flavors(DbaasDatastoreV1FlavorArgs.builder()
            .disk(0)
            .ram(0)
            .vcpus(0)
            .build())
        .flavorId("string")
        .redisPassword("string")
        .backupRetentionDays(0)
        .restores(DbaasDatastoreV1RestoreArgs.builder()
            .datastoreId("string")
            .targetTime("string")
            .build())
        .timeouts(DbaasDatastoreV1TimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .dbaasDatastoreV1Id("string")
        .build());
    
    dbaas_datastore_v1_resource = selectel.DbaasDatastoreV1("dbaasDatastoreV1Resource",
        region="string",
        project_id="string",
        type_id="string",
        subnet_id="string",
        node_count=0,
        poolers=[{
            "mode": "string",
            "size": 0,
        }],
        floating_ips=[{
            "master": 0,
            "replica": 0,
        }],
        name="string",
        config={
            "string": "string",
        },
        flavors=[{
            "disk": 0,
            "ram": 0,
            "vcpus": 0,
        }],
        flavor_id="string",
        redis_password="string",
        backup_retention_days=0,
        restores=[{
            "datastore_id": "string",
            "target_time": "string",
        }],
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        },
        dbaas_datastore_v1_id="string")
    
    const dbaasDatastoreV1Resource = new selectel.DbaasDatastoreV1("dbaasDatastoreV1Resource", {
        region: "string",
        projectId: "string",
        typeId: "string",
        subnetId: "string",
        nodeCount: 0,
        poolers: [{
            mode: "string",
            size: 0,
        }],
        floatingIps: [{
            master: 0,
            replica: 0,
        }],
        name: "string",
        config: {
            string: "string",
        },
        flavors: [{
            disk: 0,
            ram: 0,
            vcpus: 0,
        }],
        flavorId: "string",
        redisPassword: "string",
        backupRetentionDays: 0,
        restores: [{
            datastoreId: "string",
            targetTime: "string",
        }],
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
        dbaasDatastoreV1Id: "string",
    });
    
    type: selectel:DbaasDatastoreV1
    properties:
        backupRetentionDays: 0
        config:
            string: string
        dbaasDatastoreV1Id: string
        flavorId: string
        flavors:
            - disk: 0
              ram: 0
              vcpus: 0
        floatingIps:
            - master: 0
              replica: 0
        name: string
        nodeCount: 0
        poolers:
            - mode: string
              size: 0
        projectId: string
        redisPassword: string
        region: string
        restores:
            - datastoreId: string
              targetTime: string
        subnetId: string
        timeouts:
            create: string
            delete: string
            update: string
        typeId: string
    

    DbaasDatastoreV1 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 DbaasDatastoreV1 resource accepts the following input properties:

    NodeCount double
    Number of nodes to create for the datastore.
    ProjectId string
    An associated Selectel VPC project. Changing this creates a new datastore.
    Region string
    A Selectel VPC region of where the datastore is located. Changing this creates a new datastore.
    SubnetId string
    Associated OpenStack Networking service subnet ID. Changing this creates a new datastore.
    TypeId string
    The datastore type for the datastore. Changing this creates a new datastore.
    BackupRetentionDays double
    Number of days to retain backups.
    Config Dictionary<string, string>
    Configuration parameters for the datastore.
    DbaasDatastoreV1Id string
    Firewalls List<DbaasDatastoreV1Firewall>
    Remove this argument as it is no longer in use and will be removed in the next major version of the provider. To manage a list of IP-addresses with access to the datastore, use the selectel.DbaasFirewallV1 resource.

    Deprecated: Deprecated

    FlavorId string
    Flavor identifier for the datastore. It can be omitted in cases when flavor is set.
    Flavors List<DbaasDatastoreV1Flavor>
    Flavor configuration for the datastore. It's a complex value. See description below.
    FloatingIps List<DbaasDatastoreV1FloatingIp>
    Name string
    A name of the datastore. Changing this creates a new datastore.
    Poolers List<DbaasDatastoreV1Pooler>
    Pooler configuration for the datastore (only for PostgreSQL datastore). It's a complex value. See description below.
    RedisPassword string

    Password for the Redis datastore (only for Redis datastores)

    flavor

    Restores List<DbaasDatastoreV1Restore>
    Restore parameters for the datastore. It's a complex value. See description below. Changing this creates a new datastore.
    Timeouts DbaasDatastoreV1Timeouts
    NodeCount float64
    Number of nodes to create for the datastore.
    ProjectId string
    An associated Selectel VPC project. Changing this creates a new datastore.
    Region string
    A Selectel VPC region of where the datastore is located. Changing this creates a new datastore.
    SubnetId string
    Associated OpenStack Networking service subnet ID. Changing this creates a new datastore.
    TypeId string
    The datastore type for the datastore. Changing this creates a new datastore.
    BackupRetentionDays float64
    Number of days to retain backups.
    Config map[string]string
    Configuration parameters for the datastore.
    DbaasDatastoreV1Id string
    Firewalls []DbaasDatastoreV1FirewallArgs
    Remove this argument as it is no longer in use and will be removed in the next major version of the provider. To manage a list of IP-addresses with access to the datastore, use the selectel.DbaasFirewallV1 resource.

    Deprecated: Deprecated

    FlavorId string
    Flavor identifier for the datastore. It can be omitted in cases when flavor is set.
    Flavors []DbaasDatastoreV1FlavorArgs
    Flavor configuration for the datastore. It's a complex value. See description below.
    FloatingIps []DbaasDatastoreV1FloatingIpArgs
    Name string
    A name of the datastore. Changing this creates a new datastore.
    Poolers []DbaasDatastoreV1PoolerArgs
    Pooler configuration for the datastore (only for PostgreSQL datastore). It's a complex value. See description below.
    RedisPassword string

    Password for the Redis datastore (only for Redis datastores)

    flavor

    Restores []DbaasDatastoreV1RestoreArgs
    Restore parameters for the datastore. It's a complex value. See description below. Changing this creates a new datastore.
    Timeouts DbaasDatastoreV1TimeoutsArgs
    nodeCount Double
    Number of nodes to create for the datastore.
    projectId String
    An associated Selectel VPC project. Changing this creates a new datastore.
    region String
    A Selectel VPC region of where the datastore is located. Changing this creates a new datastore.
    subnetId String
    Associated OpenStack Networking service subnet ID. Changing this creates a new datastore.
    typeId String
    The datastore type for the datastore. Changing this creates a new datastore.
    backupRetentionDays Double
    Number of days to retain backups.
    config Map<String,String>
    Configuration parameters for the datastore.
    dbaasDatastoreV1Id String
    firewalls List<DbaasDatastoreV1Firewall>
    Remove this argument as it is no longer in use and will be removed in the next major version of the provider. To manage a list of IP-addresses with access to the datastore, use the selectel.DbaasFirewallV1 resource.

    Deprecated: Deprecated

    flavorId String
    Flavor identifier for the datastore. It can be omitted in cases when flavor is set.
    flavors List<DbaasDatastoreV1Flavor>
    Flavor configuration for the datastore. It's a complex value. See description below.
    floatingIps List<DbaasDatastoreV1FloatingIp>
    name String
    A name of the datastore. Changing this creates a new datastore.
    poolers List<DbaasDatastoreV1Pooler>
    Pooler configuration for the datastore (only for PostgreSQL datastore). It's a complex value. See description below.
    redisPassword String

    Password for the Redis datastore (only for Redis datastores)

    flavor

    restores List<DbaasDatastoreV1Restore>
    Restore parameters for the datastore. It's a complex value. See description below. Changing this creates a new datastore.
    timeouts DbaasDatastoreV1Timeouts
    nodeCount number
    Number of nodes to create for the datastore.
    projectId string
    An associated Selectel VPC project. Changing this creates a new datastore.
    region string
    A Selectel VPC region of where the datastore is located. Changing this creates a new datastore.
    subnetId string
    Associated OpenStack Networking service subnet ID. Changing this creates a new datastore.
    typeId string
    The datastore type for the datastore. Changing this creates a new datastore.
    backupRetentionDays number
    Number of days to retain backups.
    config {[key: string]: string}
    Configuration parameters for the datastore.
    dbaasDatastoreV1Id string
    firewalls DbaasDatastoreV1Firewall[]
    Remove this argument as it is no longer in use and will be removed in the next major version of the provider. To manage a list of IP-addresses with access to the datastore, use the selectel.DbaasFirewallV1 resource.

    Deprecated: Deprecated

    flavorId string
    Flavor identifier for the datastore. It can be omitted in cases when flavor is set.
    flavors DbaasDatastoreV1Flavor[]
    Flavor configuration for the datastore. It's a complex value. See description below.
    floatingIps DbaasDatastoreV1FloatingIp[]
    name string
    A name of the datastore. Changing this creates a new datastore.
    poolers DbaasDatastoreV1Pooler[]
    Pooler configuration for the datastore (only for PostgreSQL datastore). It's a complex value. See description below.
    redisPassword string

    Password for the Redis datastore (only for Redis datastores)

    flavor

    restores DbaasDatastoreV1Restore[]
    Restore parameters for the datastore. It's a complex value. See description below. Changing this creates a new datastore.
    timeouts DbaasDatastoreV1Timeouts
    node_count float
    Number of nodes to create for the datastore.
    project_id str
    An associated Selectel VPC project. Changing this creates a new datastore.
    region str
    A Selectel VPC region of where the datastore is located. Changing this creates a new datastore.
    subnet_id str
    Associated OpenStack Networking service subnet ID. Changing this creates a new datastore.
    type_id str
    The datastore type for the datastore. Changing this creates a new datastore.
    backup_retention_days float
    Number of days to retain backups.
    config Mapping[str, str]
    Configuration parameters for the datastore.
    dbaas_datastore_v1_id str
    firewalls Sequence[DbaasDatastoreV1FirewallArgs]
    Remove this argument as it is no longer in use and will be removed in the next major version of the provider. To manage a list of IP-addresses with access to the datastore, use the selectel.DbaasFirewallV1 resource.

    Deprecated: Deprecated

    flavor_id str
    Flavor identifier for the datastore. It can be omitted in cases when flavor is set.
    flavors Sequence[DbaasDatastoreV1FlavorArgs]
    Flavor configuration for the datastore. It's a complex value. See description below.
    floating_ips Sequence[DbaasDatastoreV1FloatingIpArgs]
    name str
    A name of the datastore. Changing this creates a new datastore.
    poolers Sequence[DbaasDatastoreV1PoolerArgs]
    Pooler configuration for the datastore (only for PostgreSQL datastore). It's a complex value. See description below.
    redis_password str

    Password for the Redis datastore (only for Redis datastores)

    flavor

    restores Sequence[DbaasDatastoreV1RestoreArgs]
    Restore parameters for the datastore. It's a complex value. See description below. Changing this creates a new datastore.
    timeouts DbaasDatastoreV1TimeoutsArgs
    nodeCount Number
    Number of nodes to create for the datastore.
    projectId String
    An associated Selectel VPC project. Changing this creates a new datastore.
    region String
    A Selectel VPC region of where the datastore is located. Changing this creates a new datastore.
    subnetId String
    Associated OpenStack Networking service subnet ID. Changing this creates a new datastore.
    typeId String
    The datastore type for the datastore. Changing this creates a new datastore.
    backupRetentionDays Number
    Number of days to retain backups.
    config Map<String>
    Configuration parameters for the datastore.
    dbaasDatastoreV1Id String
    firewalls List<Property Map>
    Remove this argument as it is no longer in use and will be removed in the next major version of the provider. To manage a list of IP-addresses with access to the datastore, use the selectel.DbaasFirewallV1 resource.

    Deprecated: Deprecated

    flavorId String
    Flavor identifier for the datastore. It can be omitted in cases when flavor is set.
    flavors List<Property Map>
    Flavor configuration for the datastore. It's a complex value. See description below.
    floatingIps List<Property Map>
    name String
    A name of the datastore. Changing this creates a new datastore.
    poolers List<Property Map>
    Pooler configuration for the datastore (only for PostgreSQL datastore). It's a complex value. See description below.
    redisPassword String

    Password for the Redis datastore (only for Redis datastores)

    flavor

    restores List<Property Map>
    Restore parameters for the datastore. It's a complex value. See description below. Changing this creates a new datastore.
    timeouts Property Map

    Outputs

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

    Connections Dictionary<string, string>
    Shows DNS connection strings for the datastore.
    Enabled bool
    Id string
    The provider-assigned unique ID for this managed resource.
    Instances List<DbaasDatastoreV1Instance>
    Status string
    Shows the current status of the datastore.
    Connections map[string]string
    Shows DNS connection strings for the datastore.
    Enabled bool
    Id string
    The provider-assigned unique ID for this managed resource.
    Instances []DbaasDatastoreV1Instance
    Status string
    Shows the current status of the datastore.
    connections Map<String,String>
    Shows DNS connection strings for the datastore.
    enabled Boolean
    id String
    The provider-assigned unique ID for this managed resource.
    instances List<DbaasDatastoreV1Instance>
    status String
    Shows the current status of the datastore.
    connections {[key: string]: string}
    Shows DNS connection strings for the datastore.
    enabled boolean
    id string
    The provider-assigned unique ID for this managed resource.
    instances DbaasDatastoreV1Instance[]
    status string
    Shows the current status of the datastore.
    connections Mapping[str, str]
    Shows DNS connection strings for the datastore.
    enabled bool
    id str
    The provider-assigned unique ID for this managed resource.
    instances Sequence[DbaasDatastoreV1Instance]
    status str
    Shows the current status of the datastore.
    connections Map<String>
    Shows DNS connection strings for the datastore.
    enabled Boolean
    id String
    The provider-assigned unique ID for this managed resource.
    instances List<Property Map>
    status String
    Shows the current status of the datastore.

    Look up Existing DbaasDatastoreV1 Resource

    Get an existing DbaasDatastoreV1 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?: DbaasDatastoreV1State, opts?: CustomResourceOptions): DbaasDatastoreV1
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            backup_retention_days: Optional[float] = None,
            config: Optional[Mapping[str, str]] = None,
            connections: Optional[Mapping[str, str]] = None,
            dbaas_datastore_v1_id: Optional[str] = None,
            enabled: Optional[bool] = None,
            firewalls: Optional[Sequence[DbaasDatastoreV1FirewallArgs]] = None,
            flavor_id: Optional[str] = None,
            flavors: Optional[Sequence[DbaasDatastoreV1FlavorArgs]] = None,
            floating_ips: Optional[Sequence[DbaasDatastoreV1FloatingIpArgs]] = None,
            instances: Optional[Sequence[DbaasDatastoreV1InstanceArgs]] = None,
            name: Optional[str] = None,
            node_count: Optional[float] = None,
            poolers: Optional[Sequence[DbaasDatastoreV1PoolerArgs]] = None,
            project_id: Optional[str] = None,
            redis_password: Optional[str] = None,
            region: Optional[str] = None,
            restores: Optional[Sequence[DbaasDatastoreV1RestoreArgs]] = None,
            status: Optional[str] = None,
            subnet_id: Optional[str] = None,
            timeouts: Optional[DbaasDatastoreV1TimeoutsArgs] = None,
            type_id: Optional[str] = None) -> DbaasDatastoreV1
    func GetDbaasDatastoreV1(ctx *Context, name string, id IDInput, state *DbaasDatastoreV1State, opts ...ResourceOption) (*DbaasDatastoreV1, error)
    public static DbaasDatastoreV1 Get(string name, Input<string> id, DbaasDatastoreV1State? state, CustomResourceOptions? opts = null)
    public static DbaasDatastoreV1 get(String name, Output<String> id, DbaasDatastoreV1State state, CustomResourceOptions options)
    resources:  _:    type: selectel:DbaasDatastoreV1    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.
    The following state arguments are supported:
    BackupRetentionDays double
    Number of days to retain backups.
    Config Dictionary<string, string>
    Configuration parameters for the datastore.
    Connections Dictionary<string, string>
    Shows DNS connection strings for the datastore.
    DbaasDatastoreV1Id string
    Enabled bool
    Firewalls List<DbaasDatastoreV1Firewall>
    Remove this argument as it is no longer in use and will be removed in the next major version of the provider. To manage a list of IP-addresses with access to the datastore, use the selectel.DbaasFirewallV1 resource.

    Deprecated: Deprecated

    FlavorId string
    Flavor identifier for the datastore. It can be omitted in cases when flavor is set.
    Flavors List<DbaasDatastoreV1Flavor>
    Flavor configuration for the datastore. It's a complex value. See description below.
    FloatingIps List<DbaasDatastoreV1FloatingIp>
    Instances List<DbaasDatastoreV1Instance>
    Name string
    A name of the datastore. Changing this creates a new datastore.
    NodeCount double
    Number of nodes to create for the datastore.
    Poolers List<DbaasDatastoreV1Pooler>
    Pooler configuration for the datastore (only for PostgreSQL datastore). It's a complex value. See description below.
    ProjectId string
    An associated Selectel VPC project. Changing this creates a new datastore.
    RedisPassword string

    Password for the Redis datastore (only for Redis datastores)

    flavor

    Region string
    A Selectel VPC region of where the datastore is located. Changing this creates a new datastore.
    Restores List<DbaasDatastoreV1Restore>
    Restore parameters for the datastore. It's a complex value. See description below. Changing this creates a new datastore.
    Status string
    Shows the current status of the datastore.
    SubnetId string
    Associated OpenStack Networking service subnet ID. Changing this creates a new datastore.
    Timeouts DbaasDatastoreV1Timeouts
    TypeId string
    The datastore type for the datastore. Changing this creates a new datastore.
    BackupRetentionDays float64
    Number of days to retain backups.
    Config map[string]string
    Configuration parameters for the datastore.
    Connections map[string]string
    Shows DNS connection strings for the datastore.
    DbaasDatastoreV1Id string
    Enabled bool
    Firewalls []DbaasDatastoreV1FirewallArgs
    Remove this argument as it is no longer in use and will be removed in the next major version of the provider. To manage a list of IP-addresses with access to the datastore, use the selectel.DbaasFirewallV1 resource.

    Deprecated: Deprecated

    FlavorId string
    Flavor identifier for the datastore. It can be omitted in cases when flavor is set.
    Flavors []DbaasDatastoreV1FlavorArgs
    Flavor configuration for the datastore. It's a complex value. See description below.
    FloatingIps []DbaasDatastoreV1FloatingIpArgs
    Instances []DbaasDatastoreV1InstanceArgs
    Name string
    A name of the datastore. Changing this creates a new datastore.
    NodeCount float64
    Number of nodes to create for the datastore.
    Poolers []DbaasDatastoreV1PoolerArgs
    Pooler configuration for the datastore (only for PostgreSQL datastore). It's a complex value. See description below.
    ProjectId string
    An associated Selectel VPC project. Changing this creates a new datastore.
    RedisPassword string

    Password for the Redis datastore (only for Redis datastores)

    flavor

    Region string
    A Selectel VPC region of where the datastore is located. Changing this creates a new datastore.
    Restores []DbaasDatastoreV1RestoreArgs
    Restore parameters for the datastore. It's a complex value. See description below. Changing this creates a new datastore.
    Status string
    Shows the current status of the datastore.
    SubnetId string
    Associated OpenStack Networking service subnet ID. Changing this creates a new datastore.
    Timeouts DbaasDatastoreV1TimeoutsArgs
    TypeId string
    The datastore type for the datastore. Changing this creates a new datastore.
    backupRetentionDays Double
    Number of days to retain backups.
    config Map<String,String>
    Configuration parameters for the datastore.
    connections Map<String,String>
    Shows DNS connection strings for the datastore.
    dbaasDatastoreV1Id String
    enabled Boolean
    firewalls List<DbaasDatastoreV1Firewall>
    Remove this argument as it is no longer in use and will be removed in the next major version of the provider. To manage a list of IP-addresses with access to the datastore, use the selectel.DbaasFirewallV1 resource.

    Deprecated: Deprecated

    flavorId String
    Flavor identifier for the datastore. It can be omitted in cases when flavor is set.
    flavors List<DbaasDatastoreV1Flavor>
    Flavor configuration for the datastore. It's a complex value. See description below.
    floatingIps List<DbaasDatastoreV1FloatingIp>
    instances List<DbaasDatastoreV1Instance>
    name String
    A name of the datastore. Changing this creates a new datastore.
    nodeCount Double
    Number of nodes to create for the datastore.
    poolers List<DbaasDatastoreV1Pooler>
    Pooler configuration for the datastore (only for PostgreSQL datastore). It's a complex value. See description below.
    projectId String
    An associated Selectel VPC project. Changing this creates a new datastore.
    redisPassword String

    Password for the Redis datastore (only for Redis datastores)

    flavor

    region String
    A Selectel VPC region of where the datastore is located. Changing this creates a new datastore.
    restores List<DbaasDatastoreV1Restore>
    Restore parameters for the datastore. It's a complex value. See description below. Changing this creates a new datastore.
    status String
    Shows the current status of the datastore.
    subnetId String
    Associated OpenStack Networking service subnet ID. Changing this creates a new datastore.
    timeouts DbaasDatastoreV1Timeouts
    typeId String
    The datastore type for the datastore. Changing this creates a new datastore.
    backupRetentionDays number
    Number of days to retain backups.
    config {[key: string]: string}
    Configuration parameters for the datastore.
    connections {[key: string]: string}
    Shows DNS connection strings for the datastore.
    dbaasDatastoreV1Id string
    enabled boolean
    firewalls DbaasDatastoreV1Firewall[]
    Remove this argument as it is no longer in use and will be removed in the next major version of the provider. To manage a list of IP-addresses with access to the datastore, use the selectel.DbaasFirewallV1 resource.

    Deprecated: Deprecated

    flavorId string
    Flavor identifier for the datastore. It can be omitted in cases when flavor is set.
    flavors DbaasDatastoreV1Flavor[]
    Flavor configuration for the datastore. It's a complex value. See description below.
    floatingIps DbaasDatastoreV1FloatingIp[]
    instances DbaasDatastoreV1Instance[]
    name string
    A name of the datastore. Changing this creates a new datastore.
    nodeCount number
    Number of nodes to create for the datastore.
    poolers DbaasDatastoreV1Pooler[]
    Pooler configuration for the datastore (only for PostgreSQL datastore). It's a complex value. See description below.
    projectId string
    An associated Selectel VPC project. Changing this creates a new datastore.
    redisPassword string

    Password for the Redis datastore (only for Redis datastores)

    flavor

    region string
    A Selectel VPC region of where the datastore is located. Changing this creates a new datastore.
    restores DbaasDatastoreV1Restore[]
    Restore parameters for the datastore. It's a complex value. See description below. Changing this creates a new datastore.
    status string
    Shows the current status of the datastore.
    subnetId string
    Associated OpenStack Networking service subnet ID. Changing this creates a new datastore.
    timeouts DbaasDatastoreV1Timeouts
    typeId string
    The datastore type for the datastore. Changing this creates a new datastore.
    backup_retention_days float
    Number of days to retain backups.
    config Mapping[str, str]
    Configuration parameters for the datastore.
    connections Mapping[str, str]
    Shows DNS connection strings for the datastore.
    dbaas_datastore_v1_id str
    enabled bool
    firewalls Sequence[DbaasDatastoreV1FirewallArgs]
    Remove this argument as it is no longer in use and will be removed in the next major version of the provider. To manage a list of IP-addresses with access to the datastore, use the selectel.DbaasFirewallV1 resource.

    Deprecated: Deprecated

    flavor_id str
    Flavor identifier for the datastore. It can be omitted in cases when flavor is set.
    flavors Sequence[DbaasDatastoreV1FlavorArgs]
    Flavor configuration for the datastore. It's a complex value. See description below.
    floating_ips Sequence[DbaasDatastoreV1FloatingIpArgs]
    instances Sequence[DbaasDatastoreV1InstanceArgs]
    name str
    A name of the datastore. Changing this creates a new datastore.
    node_count float
    Number of nodes to create for the datastore.
    poolers Sequence[DbaasDatastoreV1PoolerArgs]
    Pooler configuration for the datastore (only for PostgreSQL datastore). It's a complex value. See description below.
    project_id str
    An associated Selectel VPC project. Changing this creates a new datastore.
    redis_password str

    Password for the Redis datastore (only for Redis datastores)

    flavor

    region str
    A Selectel VPC region of where the datastore is located. Changing this creates a new datastore.
    restores Sequence[DbaasDatastoreV1RestoreArgs]
    Restore parameters for the datastore. It's a complex value. See description below. Changing this creates a new datastore.
    status str
    Shows the current status of the datastore.
    subnet_id str
    Associated OpenStack Networking service subnet ID. Changing this creates a new datastore.
    timeouts DbaasDatastoreV1TimeoutsArgs
    type_id str
    The datastore type for the datastore. Changing this creates a new datastore.
    backupRetentionDays Number
    Number of days to retain backups.
    config Map<String>
    Configuration parameters for the datastore.
    connections Map<String>
    Shows DNS connection strings for the datastore.
    dbaasDatastoreV1Id String
    enabled Boolean
    firewalls List<Property Map>
    Remove this argument as it is no longer in use and will be removed in the next major version of the provider. To manage a list of IP-addresses with access to the datastore, use the selectel.DbaasFirewallV1 resource.

    Deprecated: Deprecated

    flavorId String
    Flavor identifier for the datastore. It can be omitted in cases when flavor is set.
    flavors List<Property Map>
    Flavor configuration for the datastore. It's a complex value. See description below.
    floatingIps List<Property Map>
    instances List<Property Map>
    name String
    A name of the datastore. Changing this creates a new datastore.
    nodeCount Number
    Number of nodes to create for the datastore.
    poolers List<Property Map>
    Pooler configuration for the datastore (only for PostgreSQL datastore). It's a complex value. See description below.
    projectId String
    An associated Selectel VPC project. Changing this creates a new datastore.
    redisPassword String

    Password for the Redis datastore (only for Redis datastores)

    flavor

    region String
    A Selectel VPC region of where the datastore is located. Changing this creates a new datastore.
    restores List<Property Map>
    Restore parameters for the datastore. It's a complex value. See description below. Changing this creates a new datastore.
    status String
    Shows the current status of the datastore.
    subnetId String
    Associated OpenStack Networking service subnet ID. Changing this creates a new datastore.
    timeouts Property Map
    typeId String
    The datastore type for the datastore. Changing this creates a new datastore.

    Supporting Types

    DbaasDatastoreV1Firewall, DbaasDatastoreV1FirewallArgs

    Ips List<string>
    Ips []string
    ips List<String>
    ips string[]
    ips Sequence[str]
    ips List<String>

    DbaasDatastoreV1Flavor, DbaasDatastoreV1FlavorArgs

    Disk double

    Disk size for the flavor.

    pooler

    Ram double
    RAM count for the flavor.
    Vcpus double
    CPU count for the flavor.
    Disk float64

    Disk size for the flavor.

    pooler

    Ram float64
    RAM count for the flavor.
    Vcpus float64
    CPU count for the flavor.
    disk Double

    Disk size for the flavor.

    pooler

    ram Double
    RAM count for the flavor.
    vcpus Double
    CPU count for the flavor.
    disk number

    Disk size for the flavor.

    pooler

    ram number
    RAM count for the flavor.
    vcpus number
    CPU count for the flavor.
    disk float

    Disk size for the flavor.

    pooler

    ram float
    RAM count for the flavor.
    vcpus float
    CPU count for the flavor.
    disk Number

    Disk size for the flavor.

    pooler

    ram Number
    RAM count for the flavor.
    vcpus Number
    CPU count for the flavor.

    DbaasDatastoreV1FloatingIp, DbaasDatastoreV1FloatingIpArgs

    Master double
    Replica double
    Master float64
    Replica float64
    master Double
    replica Double
    master number
    replica number
    master float
    replica float
    master Number
    replica Number

    DbaasDatastoreV1Instance, DbaasDatastoreV1InstanceArgs

    FloatingIp string
    Role string
    FloatingIp string
    Role string
    floatingIp String
    role String
    floatingIp string
    role string
    floatingIp String
    role String

    DbaasDatastoreV1Pooler, DbaasDatastoreV1PoolerArgs

    Mode string
    Mode for the pooler. Valid values: ["session", "transaction", "statement"].
    Size double

    Size of the pooler.

    restore

    Mode string
    Mode for the pooler. Valid values: ["session", "transaction", "statement"].
    Size float64

    Size of the pooler.

    restore

    mode String
    Mode for the pooler. Valid values: ["session", "transaction", "statement"].
    size Double

    Size of the pooler.

    restore

    mode string
    Mode for the pooler. Valid values: ["session", "transaction", "statement"].
    size number

    Size of the pooler.

    restore

    mode str
    Mode for the pooler. Valid values: ["session", "transaction", "statement"].
    size float

    Size of the pooler.

    restore

    mode String
    Mode for the pooler. Valid values: ["session", "transaction", "statement"].
    size Number

    Size of the pooler.

    restore

    DbaasDatastoreV1Restore, DbaasDatastoreV1RestoreArgs

    DatastoreId string
    Datastore ID to restore from.
    TargetTime string
    Restore by the target time.
    DatastoreId string
    Datastore ID to restore from.
    TargetTime string
    Restore by the target time.
    datastoreId String
    Datastore ID to restore from.
    targetTime String
    Restore by the target time.
    datastoreId string
    Datastore ID to restore from.
    targetTime string
    Restore by the target time.
    datastore_id str
    Datastore ID to restore from.
    target_time str
    Restore by the target time.
    datastoreId String
    Datastore ID to restore from.
    targetTime String
    Restore by the target time.

    DbaasDatastoreV1Timeouts, DbaasDatastoreV1TimeoutsArgs

    Create string
    Delete string
    Update string
    Create string
    Delete string
    Update string
    create String
    delete String
    update String
    create string
    delete string
    update string
    create str
    delete str
    update str
    create String
    delete String
    update String

    Import

    Datastore can be imported using the id, e.g.

    export OS_DOMAIN_NAME=999999

    export OS_USERNAME=example_user

    export OS_PASSWORD=example_password

    export INFRA_PROJECT_ID=SELECTEL_VPC_PROJECT_ID

    export INFRA_REGION=SELECTEL_VPC_REGION

    $ pulumi import selectel:index/dbaasDatastoreV1:DbaasDatastoreV1 datastore_1 b311ce58-2658-46b5-b733-7a0f418703f2
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    selectel selectel/terraform-provider-selectel
    License
    Notes
    This Pulumi package is based on the selectel Terraform Provider.
    selectel logo
    selectel 6.4.0 published on Monday, Apr 14, 2025 by selectel