1. Packages
  2. Packages
  3. Selectel Provider
  4. API Docs
  5. DedicatedServerV1
Viewing docs for selectel 8.0.1
published on Thursday, May 28, 2026 by selectel
Viewing docs for selectel 8.0.1
published on Thursday, May 28, 2026 by selectel

    Creates and manages a server in Selectel Dedicated Servers using public API v1. For more information about Dedicated Servers, see the official Selectel documentation.

    Example Usage

    Server with multiple RAID

    import * as pulumi from "@pulumi/pulumi";
    import * as selectel from "@pulumi/selectel";
    
    const serverMultiRaid = new selectel.DedicatedServerV1("server_multi_raid", {
        projectId: project1.id,
        configurationId: serverConfig.configurations[0].id,
        locationId: serverLocation.locations[0].id,
        osId: serverOs.os[0].id,
        pricePlanName: "1 day",
        partitionsConfigs: [{
            softRaidConfigs: [
                {
                    name: "boot-raid",
                    level: "raid1",
                    diskType: "SSD NVMe",
                    count: 2,
                },
                {
                    name: "data-raid",
                    level: "raid0",
                    diskType: "SSD NVMe",
                    count: 2,
                },
            ],
            diskPartitions: [
                {
                    mount: "/boot",
                    size: 1,
                    raid: "boot-raid",
                },
                {
                    mount: "/",
                    size: -1,
                    raid: "boot-raid",
                },
                {
                    mount: "/data",
                    size: -1,
                    raid: "data-raid",
                    fsType: "xfs",
                },
            ],
        }],
    });
    
    import pulumi
    import pulumi_selectel as selectel
    
    server_multi_raid = selectel.DedicatedServerV1("server_multi_raid",
        project_id=project1["id"],
        configuration_id=server_config["configurations"][0]["id"],
        location_id=server_location["locations"][0]["id"],
        os_id=server_os["os"][0]["id"],
        price_plan_name="1 day",
        partitions_configs=[{
            "soft_raid_configs": [
                {
                    "name": "boot-raid",
                    "level": "raid1",
                    "disk_type": "SSD NVMe",
                    "count": 2,
                },
                {
                    "name": "data-raid",
                    "level": "raid0",
                    "disk_type": "SSD NVMe",
                    "count": 2,
                },
            ],
            "disk_partitions": [
                {
                    "mount": "/boot",
                    "size": 1,
                    "raid": "boot-raid",
                },
                {
                    "mount": "/",
                    "size": -1,
                    "raid": "boot-raid",
                },
                {
                    "mount": "/data",
                    "size": -1,
                    "raid": "data-raid",
                    "fs_type": "xfs",
                },
            ],
        }])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/selectel/v8/selectel"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := selectel.NewDedicatedServerV1(ctx, "server_multi_raid", &selectel.DedicatedServerV1Args{
    			ProjectId:       pulumi.Any(project1.Id),
    			ConfigurationId: pulumi.Any(serverConfig.Configurations[0].Id),
    			LocationId:      pulumi.Any(serverLocation.Locations[0].Id),
    			OsId:            pulumi.Any(serverOs.Os[0].Id),
    			PricePlanName:   pulumi.String("1 day"),
    			PartitionsConfigs: selectel.DedicatedServerV1PartitionsConfigArray{
    				&selectel.DedicatedServerV1PartitionsConfigArgs{
    					SoftRaidConfigs: selectel.DedicatedServerV1PartitionsConfigSoftRaidConfigArray{
    						&selectel.DedicatedServerV1PartitionsConfigSoftRaidConfigArgs{
    							Name:     pulumi.String("boot-raid"),
    							Level:    pulumi.String("raid1"),
    							DiskType: pulumi.String("SSD NVMe"),
    							Count:    pulumi.Float64(2),
    						},
    						&selectel.DedicatedServerV1PartitionsConfigSoftRaidConfigArgs{
    							Name:     pulumi.String("data-raid"),
    							Level:    pulumi.String("raid0"),
    							DiskType: pulumi.String("SSD NVMe"),
    							Count:    pulumi.Float64(2),
    						},
    					},
    					DiskPartitions: selectel.DedicatedServerV1PartitionsConfigDiskPartitionArray{
    						&selectel.DedicatedServerV1PartitionsConfigDiskPartitionArgs{
    							Mount: pulumi.String("/boot"),
    							Size:  pulumi.Float64(1),
    							Raid:  pulumi.String("boot-raid"),
    						},
    						&selectel.DedicatedServerV1PartitionsConfigDiskPartitionArgs{
    							Mount: pulumi.String("/"),
    							Size:  pulumi.Float64(-1),
    							Raid:  pulumi.String("boot-raid"),
    						},
    						&selectel.DedicatedServerV1PartitionsConfigDiskPartitionArgs{
    							Mount:  pulumi.String("/data"),
    							Size:   pulumi.Float64(-1),
    							Raid:   pulumi.String("data-raid"),
    							FsType: pulumi.String("xfs"),
    						},
    					},
    				},
    			},
    		})
    		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 serverMultiRaid = new Selectel.DedicatedServerV1("server_multi_raid", new()
        {
            ProjectId = project1.Id,
            ConfigurationId = serverConfig.Configurations[0].Id,
            LocationId = serverLocation.Locations[0].Id,
            OsId = serverOs.Os[0].Id,
            PricePlanName = "1 day",
            PartitionsConfigs = new[]
            {
                new Selectel.Inputs.DedicatedServerV1PartitionsConfigArgs
                {
                    SoftRaidConfigs = new[]
                    {
                        new Selectel.Inputs.DedicatedServerV1PartitionsConfigSoftRaidConfigArgs
                        {
                            Name = "boot-raid",
                            Level = "raid1",
                            DiskType = "SSD NVMe",
                            Count = 2,
                        },
                        new Selectel.Inputs.DedicatedServerV1PartitionsConfigSoftRaidConfigArgs
                        {
                            Name = "data-raid",
                            Level = "raid0",
                            DiskType = "SSD NVMe",
                            Count = 2,
                        },
                    },
                    DiskPartitions = new[]
                    {
                        new Selectel.Inputs.DedicatedServerV1PartitionsConfigDiskPartitionArgs
                        {
                            Mount = "/boot",
                            Size = 1,
                            Raid = "boot-raid",
                        },
                        new Selectel.Inputs.DedicatedServerV1PartitionsConfigDiskPartitionArgs
                        {
                            Mount = "/",
                            Size = -1,
                            Raid = "boot-raid",
                        },
                        new Selectel.Inputs.DedicatedServerV1PartitionsConfigDiskPartitionArgs
                        {
                            Mount = "/data",
                            Size = -1,
                            Raid = "data-raid",
                            FsType = "xfs",
                        },
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.selectel.DedicatedServerV1;
    import com.pulumi.selectel.DedicatedServerV1Args;
    import com.pulumi.selectel.inputs.DedicatedServerV1PartitionsConfigArgs;
    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 serverMultiRaid = new DedicatedServerV1("serverMultiRaid", DedicatedServerV1Args.builder()
                .projectId(project1.id())
                .configurationId(serverConfig.configurations()[0].id())
                .locationId(serverLocation.locations()[0].id())
                .osId(serverOs.os()[0].id())
                .pricePlanName("1 day")
                .partitionsConfigs(DedicatedServerV1PartitionsConfigArgs.builder()
                    .softRaidConfigs(                
                        DedicatedServerV1PartitionsConfigSoftRaidConfigArgs.builder()
                            .name("boot-raid")
                            .level("raid1")
                            .diskType("SSD NVMe")
                            .count(2.0)
                            .build(),
                        DedicatedServerV1PartitionsConfigSoftRaidConfigArgs.builder()
                            .name("data-raid")
                            .level("raid0")
                            .diskType("SSD NVMe")
                            .count(2.0)
                            .build())
                    .diskPartitions(                
                        DedicatedServerV1PartitionsConfigDiskPartitionArgs.builder()
                            .mount("/boot")
                            .size(1.0)
                            .raid("boot-raid")
                            .build(),
                        DedicatedServerV1PartitionsConfigDiskPartitionArgs.builder()
                            .mount("/")
                            .size(-1.0)
                            .raid("boot-raid")
                            .build(),
                        DedicatedServerV1PartitionsConfigDiskPartitionArgs.builder()
                            .mount("/data")
                            .size(-1.0)
                            .raid("data-raid")
                            .fsType("xfs")
                            .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      serverMultiRaid:
        type: selectel:DedicatedServerV1
        name: server_multi_raid
        properties:
          projectId: ${project1.id}
          configurationId: ${serverConfig.configurations[0].id}
          locationId: ${serverLocation.locations[0].id}
          osId: ${serverOs.os[0].id}
          pricePlanName: 1 day
          partitionsConfigs:
            - softRaidConfigs:
                - name: boot-raid
                  level: raid1
                  diskType: SSD NVMe
                  count: 2
                - name: data-raid
                  level: raid0
                  diskType: SSD NVMe
                  count: 2
              diskPartitions:
                - mount: /boot
                  size: 1
                  raid: boot-raid
                - mount: /
                  size: -1
                  raid: boot-raid
                - mount: /data
                  size: -1
                  raid: data-raid
                  fsType: xfs
    
    Example coming soon!
    

    Server with single disk configuration without RAID

    import * as pulumi from "@pulumi/pulumi";
    import * as selectel from "@pulumi/selectel";
    
    const serverSingleDisk = new selectel.DedicatedServerV1("server_single_disk", {
        projectId: project1.id,
        configurationId: serverConfig.configurations[0].id,
        locationId: serverLocation.locations[0].id,
        osId: serverOs.os[0].id,
        pricePlanName: "1 day",
        partitionsConfigs: [{
            diskConfigs: [
                {
                    name: "system-disk",
                    diskType: "SSD NVMe",
                },
                {
                    name: "data-disk",
                    diskType: "HDD SATA",
                },
            ],
            diskPartitions: [
                {
                    mount: "/boot",
                    size: 1,
                    diskName: "system-disk",
                },
                {
                    mount: "/",
                    size: -1,
                    diskName: "system-disk",
                },
                {
                    mount: "/data",
                    size: -1,
                    diskName: "data-disk",
                    fsType: "xfs",
                },
            ],
        }],
    });
    
    import pulumi
    import pulumi_selectel as selectel
    
    server_single_disk = selectel.DedicatedServerV1("server_single_disk",
        project_id=project1["id"],
        configuration_id=server_config["configurations"][0]["id"],
        location_id=server_location["locations"][0]["id"],
        os_id=server_os["os"][0]["id"],
        price_plan_name="1 day",
        partitions_configs=[{
            "disk_configs": [
                {
                    "name": "system-disk",
                    "disk_type": "SSD NVMe",
                },
                {
                    "name": "data-disk",
                    "disk_type": "HDD SATA",
                },
            ],
            "disk_partitions": [
                {
                    "mount": "/boot",
                    "size": 1,
                    "disk_name": "system-disk",
                },
                {
                    "mount": "/",
                    "size": -1,
                    "disk_name": "system-disk",
                },
                {
                    "mount": "/data",
                    "size": -1,
                    "disk_name": "data-disk",
                    "fs_type": "xfs",
                },
            ],
        }])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/selectel/v8/selectel"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := selectel.NewDedicatedServerV1(ctx, "server_single_disk", &selectel.DedicatedServerV1Args{
    			ProjectId:       pulumi.Any(project1.Id),
    			ConfigurationId: pulumi.Any(serverConfig.Configurations[0].Id),
    			LocationId:      pulumi.Any(serverLocation.Locations[0].Id),
    			OsId:            pulumi.Any(serverOs.Os[0].Id),
    			PricePlanName:   pulumi.String("1 day"),
    			PartitionsConfigs: selectel.DedicatedServerV1PartitionsConfigArray{
    				&selectel.DedicatedServerV1PartitionsConfigArgs{
    					DiskConfigs: selectel.DedicatedServerV1PartitionsConfigDiskConfigArray{
    						&selectel.DedicatedServerV1PartitionsConfigDiskConfigArgs{
    							Name:     pulumi.String("system-disk"),
    							DiskType: pulumi.String("SSD NVMe"),
    						},
    						&selectel.DedicatedServerV1PartitionsConfigDiskConfigArgs{
    							Name:     pulumi.String("data-disk"),
    							DiskType: pulumi.String("HDD SATA"),
    						},
    					},
    					DiskPartitions: selectel.DedicatedServerV1PartitionsConfigDiskPartitionArray{
    						&selectel.DedicatedServerV1PartitionsConfigDiskPartitionArgs{
    							Mount:    pulumi.String("/boot"),
    							Size:     pulumi.Float64(1),
    							DiskName: pulumi.String("system-disk"),
    						},
    						&selectel.DedicatedServerV1PartitionsConfigDiskPartitionArgs{
    							Mount:    pulumi.String("/"),
    							Size:     pulumi.Float64(-1),
    							DiskName: pulumi.String("system-disk"),
    						},
    						&selectel.DedicatedServerV1PartitionsConfigDiskPartitionArgs{
    							Mount:    pulumi.String("/data"),
    							Size:     pulumi.Float64(-1),
    							DiskName: pulumi.String("data-disk"),
    							FsType:   pulumi.String("xfs"),
    						},
    					},
    				},
    			},
    		})
    		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 serverSingleDisk = new Selectel.DedicatedServerV1("server_single_disk", new()
        {
            ProjectId = project1.Id,
            ConfigurationId = serverConfig.Configurations[0].Id,
            LocationId = serverLocation.Locations[0].Id,
            OsId = serverOs.Os[0].Id,
            PricePlanName = "1 day",
            PartitionsConfigs = new[]
            {
                new Selectel.Inputs.DedicatedServerV1PartitionsConfigArgs
                {
                    DiskConfigs = new[]
                    {
                        new Selectel.Inputs.DedicatedServerV1PartitionsConfigDiskConfigArgs
                        {
                            Name = "system-disk",
                            DiskType = "SSD NVMe",
                        },
                        new Selectel.Inputs.DedicatedServerV1PartitionsConfigDiskConfigArgs
                        {
                            Name = "data-disk",
                            DiskType = "HDD SATA",
                        },
                    },
                    DiskPartitions = new[]
                    {
                        new Selectel.Inputs.DedicatedServerV1PartitionsConfigDiskPartitionArgs
                        {
                            Mount = "/boot",
                            Size = 1,
                            DiskName = "system-disk",
                        },
                        new Selectel.Inputs.DedicatedServerV1PartitionsConfigDiskPartitionArgs
                        {
                            Mount = "/",
                            Size = -1,
                            DiskName = "system-disk",
                        },
                        new Selectel.Inputs.DedicatedServerV1PartitionsConfigDiskPartitionArgs
                        {
                            Mount = "/data",
                            Size = -1,
                            DiskName = "data-disk",
                            FsType = "xfs",
                        },
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.selectel.DedicatedServerV1;
    import com.pulumi.selectel.DedicatedServerV1Args;
    import com.pulumi.selectel.inputs.DedicatedServerV1PartitionsConfigArgs;
    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 serverSingleDisk = new DedicatedServerV1("serverSingleDisk", DedicatedServerV1Args.builder()
                .projectId(project1.id())
                .configurationId(serverConfig.configurations()[0].id())
                .locationId(serverLocation.locations()[0].id())
                .osId(serverOs.os()[0].id())
                .pricePlanName("1 day")
                .partitionsConfigs(DedicatedServerV1PartitionsConfigArgs.builder()
                    .diskConfigs(                
                        DedicatedServerV1PartitionsConfigDiskConfigArgs.builder()
                            .name("system-disk")
                            .diskType("SSD NVMe")
                            .build(),
                        DedicatedServerV1PartitionsConfigDiskConfigArgs.builder()
                            .name("data-disk")
                            .diskType("HDD SATA")
                            .build())
                    .diskPartitions(                
                        DedicatedServerV1PartitionsConfigDiskPartitionArgs.builder()
                            .mount("/boot")
                            .size(1.0)
                            .diskName("system-disk")
                            .build(),
                        DedicatedServerV1PartitionsConfigDiskPartitionArgs.builder()
                            .mount("/")
                            .size(-1.0)
                            .diskName("system-disk")
                            .build(),
                        DedicatedServerV1PartitionsConfigDiskPartitionArgs.builder()
                            .mount("/data")
                            .size(-1.0)
                            .diskName("data-disk")
                            .fsType("xfs")
                            .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      serverSingleDisk:
        type: selectel:DedicatedServerV1
        name: server_single_disk
        properties:
          projectId: ${project1.id}
          configurationId: ${serverConfig.configurations[0].id}
          locationId: ${serverLocation.locations[0].id}
          osId: ${serverOs.os[0].id}
          pricePlanName: 1 day
          partitionsConfigs:
            - diskConfigs:
                - name: system-disk
                  diskType: SSD NVMe
                - name: data-disk
                  diskType: HDD SATA
              diskPartitions:
                - mount: /boot
                  size: 1
                  diskName: system-disk
                - mount: /
                  size: -1
                  diskName: system-disk
                - mount: /data
                  size: -1
                  diskName: data-disk
                  fsType: xfs
    
    Example coming soon!
    

    Create DedicatedServerV1 Resource

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

    Constructor syntax

    new DedicatedServerV1(name: string, args: DedicatedServerV1Args, opts?: CustomResourceOptions);
    @overload
    def DedicatedServerV1(resource_name: str,
                          args: DedicatedServerV1Args,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def DedicatedServerV1(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          os_id: Optional[str] = None,
                          configuration_id: Optional[str] = None,
                          project_id: Optional[str] = None,
                          price_plan_name: Optional[str] = None,
                          location_id: Optional[str] = None,
                          os_host_name: Optional[str] = None,
                          private_subnet_id: Optional[str] = None,
                          os_password: Optional[str] = None,
                          partitions_configs: Optional[Sequence[DedicatedServerV1PartitionsConfigArgs]] = None,
                          power_state: Optional[str] = None,
                          force_update_additional_params: Optional[bool] = None,
                          private_subnet: Optional[str] = None,
                          add_private_vlan: Optional[bool] = None,
                          private_subnet_ip: Optional[str] = None,
                          dedicated_server_v1_id: Optional[str] = None,
                          public_subnet_id: Optional[str] = None,
                          public_subnet_ip: Optional[str] = None,
                          ssh_key: Optional[str] = None,
                          ssh_key_name: Optional[str] = None,
                          timeouts: Optional[DedicatedServerV1TimeoutsArgs] = None,
                          user_data: Optional[str] = None)
    func NewDedicatedServerV1(ctx *Context, name string, args DedicatedServerV1Args, opts ...ResourceOption) (*DedicatedServerV1, error)
    public DedicatedServerV1(string name, DedicatedServerV1Args args, CustomResourceOptions? opts = null)
    public DedicatedServerV1(String name, DedicatedServerV1Args args)
    public DedicatedServerV1(String name, DedicatedServerV1Args args, CustomResourceOptions options)
    
    type: selectel:DedicatedServerV1
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "selectel_dedicatedserverv1" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args DedicatedServerV1Args
    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 DedicatedServerV1Args
    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 DedicatedServerV1Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DedicatedServerV1Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DedicatedServerV1Args
    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 dedicatedServerV1Resource = new Selectel.DedicatedServerV1("dedicatedServerV1Resource", new()
    {
        OsId = "string",
        ConfigurationId = "string",
        ProjectId = "string",
        PricePlanName = "string",
        LocationId = "string",
        OsHostName = "string",
        PrivateSubnetId = "string",
        OsPassword = "string",
        PartitionsConfigs = new[]
        {
            new Selectel.Inputs.DedicatedServerV1PartitionsConfigArgs
            {
                DiskConfigs = new[]
                {
                    new Selectel.Inputs.DedicatedServerV1PartitionsConfigDiskConfigArgs
                    {
                        DiskType = "string",
                        Name = "string",
                    },
                },
                DiskPartitions = new[]
                {
                    new Selectel.Inputs.DedicatedServerV1PartitionsConfigDiskPartitionArgs
                    {
                        Mount = "string",
                        DiskName = "string",
                        FsType = "string",
                        Raid = "string",
                        Size = 0,
                        SizePercent = 0,
                    },
                },
                SoftRaidConfigs = new[]
                {
                    new Selectel.Inputs.DedicatedServerV1PartitionsConfigSoftRaidConfigArgs
                    {
                        DiskType = "string",
                        Level = "string",
                        Name = "string",
                        Count = 0,
                    },
                },
            },
        },
        PowerState = "string",
        ForceUpdateAdditionalParams = false,
        AddPrivateVlan = false,
        PrivateSubnetIp = "string",
        DedicatedServerV1Id = "string",
        PublicSubnetId = "string",
        PublicSubnetIp = "string",
        SshKey = "string",
        SshKeyName = "string",
        Timeouts = new Selectel.Inputs.DedicatedServerV1TimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
        UserData = "string",
    });
    
    example, err := selectel.NewDedicatedServerV1(ctx, "dedicatedServerV1Resource", &selectel.DedicatedServerV1Args{
    	OsId:            pulumi.String("string"),
    	ConfigurationId: pulumi.String("string"),
    	ProjectId:       pulumi.String("string"),
    	PricePlanName:   pulumi.String("string"),
    	LocationId:      pulumi.String("string"),
    	OsHostName:      pulumi.String("string"),
    	PrivateSubnetId: pulumi.String("string"),
    	OsPassword:      pulumi.String("string"),
    	PartitionsConfigs: selectel.DedicatedServerV1PartitionsConfigArray{
    		&selectel.DedicatedServerV1PartitionsConfigArgs{
    			DiskConfigs: selectel.DedicatedServerV1PartitionsConfigDiskConfigArray{
    				&selectel.DedicatedServerV1PartitionsConfigDiskConfigArgs{
    					DiskType: pulumi.String("string"),
    					Name:     pulumi.String("string"),
    				},
    			},
    			DiskPartitions: selectel.DedicatedServerV1PartitionsConfigDiskPartitionArray{
    				&selectel.DedicatedServerV1PartitionsConfigDiskPartitionArgs{
    					Mount:       pulumi.String("string"),
    					DiskName:    pulumi.String("string"),
    					FsType:      pulumi.String("string"),
    					Raid:        pulumi.String("string"),
    					Size:        pulumi.Float64(0),
    					SizePercent: pulumi.Float64(0),
    				},
    			},
    			SoftRaidConfigs: selectel.DedicatedServerV1PartitionsConfigSoftRaidConfigArray{
    				&selectel.DedicatedServerV1PartitionsConfigSoftRaidConfigArgs{
    					DiskType: pulumi.String("string"),
    					Level:    pulumi.String("string"),
    					Name:     pulumi.String("string"),
    					Count:    pulumi.Float64(0),
    				},
    			},
    		},
    	},
    	PowerState:                  pulumi.String("string"),
    	ForceUpdateAdditionalParams: pulumi.Bool(false),
    	AddPrivateVlan:              pulumi.Bool(false),
    	PrivateSubnetIp:             pulumi.String("string"),
    	DedicatedServerV1Id:         pulumi.String("string"),
    	PublicSubnetId:              pulumi.String("string"),
    	PublicSubnetIp:              pulumi.String("string"),
    	SshKey:                      pulumi.String("string"),
    	SshKeyName:                  pulumi.String("string"),
    	Timeouts: &selectel.DedicatedServerV1TimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    	UserData: pulumi.String("string"),
    })
    
    resource "selectel_dedicatedserverv1" "dedicatedServerV1Resource" {
      os_id             = "string"
      configuration_id  = "string"
      project_id        = "string"
      price_plan_name   = "string"
      location_id       = "string"
      os_host_name      = "string"
      private_subnet_id = "string"
      os_password       = "string"
      partitions_configs {
        disk_configs {
          disk_type = "string"
          name      = "string"
        }
        disk_partitions {
          mount        = "string"
          disk_name    = "string"
          fs_type      = "string"
          raid         = "string"
          size         = 0
          size_percent = 0
        }
        soft_raid_configs {
          disk_type = "string"
          level     = "string"
          name      = "string"
          count     = 0
        }
      }
      power_state                    = "string"
      force_update_additional_params = false
      add_private_vlan               = false
      private_subnet_ip              = "string"
      dedicated_server_v1_id         = "string"
      public_subnet_id               = "string"
      public_subnet_ip               = "string"
      ssh_key                        = "string"
      ssh_key_name                   = "string"
      timeouts = {
        create = "string"
        delete = "string"
        update = "string"
      }
      user_data = "string"
    }
    
    var dedicatedServerV1Resource = new DedicatedServerV1("dedicatedServerV1Resource", DedicatedServerV1Args.builder()
        .osId("string")
        .configurationId("string")
        .projectId("string")
        .pricePlanName("string")
        .locationId("string")
        .osHostName("string")
        .privateSubnetId("string")
        .osPassword("string")
        .partitionsConfigs(DedicatedServerV1PartitionsConfigArgs.builder()
            .diskConfigs(DedicatedServerV1PartitionsConfigDiskConfigArgs.builder()
                .diskType("string")
                .name("string")
                .build())
            .diskPartitions(DedicatedServerV1PartitionsConfigDiskPartitionArgs.builder()
                .mount("string")
                .diskName("string")
                .fsType("string")
                .raid("string")
                .size(0.0)
                .sizePercent(0.0)
                .build())
            .softRaidConfigs(DedicatedServerV1PartitionsConfigSoftRaidConfigArgs.builder()
                .diskType("string")
                .level("string")
                .name("string")
                .count(0.0)
                .build())
            .build())
        .powerState("string")
        .forceUpdateAdditionalParams(false)
        .addPrivateVlan(false)
        .privateSubnetIp("string")
        .dedicatedServerV1Id("string")
        .publicSubnetId("string")
        .publicSubnetIp("string")
        .sshKey("string")
        .sshKeyName("string")
        .timeouts(DedicatedServerV1TimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .userData("string")
        .build());
    
    dedicated_server_v1_resource = selectel.DedicatedServerV1("dedicatedServerV1Resource",
        os_id="string",
        configuration_id="string",
        project_id="string",
        price_plan_name="string",
        location_id="string",
        os_host_name="string",
        private_subnet_id="string",
        os_password="string",
        partitions_configs=[{
            "disk_configs": [{
                "disk_type": "string",
                "name": "string",
            }],
            "disk_partitions": [{
                "mount": "string",
                "disk_name": "string",
                "fs_type": "string",
                "raid": "string",
                "size": float(0),
                "size_percent": float(0),
            }],
            "soft_raid_configs": [{
                "disk_type": "string",
                "level": "string",
                "name": "string",
                "count": float(0),
            }],
        }],
        power_state="string",
        force_update_additional_params=False,
        add_private_vlan=False,
        private_subnet_ip="string",
        dedicated_server_v1_id="string",
        public_subnet_id="string",
        public_subnet_ip="string",
        ssh_key="string",
        ssh_key_name="string",
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        },
        user_data="string")
    
    const dedicatedServerV1Resource = new selectel.DedicatedServerV1("dedicatedServerV1Resource", {
        osId: "string",
        configurationId: "string",
        projectId: "string",
        pricePlanName: "string",
        locationId: "string",
        osHostName: "string",
        privateSubnetId: "string",
        osPassword: "string",
        partitionsConfigs: [{
            diskConfigs: [{
                diskType: "string",
                name: "string",
            }],
            diskPartitions: [{
                mount: "string",
                diskName: "string",
                fsType: "string",
                raid: "string",
                size: 0,
                sizePercent: 0,
            }],
            softRaidConfigs: [{
                diskType: "string",
                level: "string",
                name: "string",
                count: 0,
            }],
        }],
        powerState: "string",
        forceUpdateAdditionalParams: false,
        addPrivateVlan: false,
        privateSubnetIp: "string",
        dedicatedServerV1Id: "string",
        publicSubnetId: "string",
        publicSubnetIp: "string",
        sshKey: "string",
        sshKeyName: "string",
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
        userData: "string",
    });
    
    type: selectel:DedicatedServerV1
    properties:
        addPrivateVlan: false
        configurationId: string
        dedicatedServerV1Id: string
        forceUpdateAdditionalParams: false
        locationId: string
        osHostName: string
        osId: string
        osPassword: string
        partitionsConfigs:
            - diskConfigs:
                - diskType: string
                  name: string
              diskPartitions:
                - diskName: string
                  fsType: string
                  mount: string
                  raid: string
                  size: 0
                  sizePercent: 0
              softRaidConfigs:
                - count: 0
                  diskType: string
                  level: string
                  name: string
        powerState: string
        pricePlanName: string
        privateSubnetId: string
        privateSubnetIp: string
        projectId: string
        publicSubnetId: string
        publicSubnetIp: string
        sshKey: string
        sshKeyName: string
        timeouts:
            create: string
            delete: string
            update: string
        userData: string
    

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

    ConfigurationId string
    Unique identifier of the server configuration. Retrieved from the dedicated_configuration_v1 data source.
    LocationId string
    Pool where the server is located. Retrieved from the dedicated_location_v1 data source.
    OsId string
    Unique identifier of the operating system to install. Changing this installs new os on a new server. Installing a new operating system deletes all data on the server. Retrieved from the dedicated_os_v1 data source.
    PricePlanName string
    The name of the price plan. Available tariff plans are 1 day, 1 month, 3 months, 6 months, 12 months, and 12 months • monthly payment. Learn more about tariff plans in the Payment model and prices of a dedicated server.
    ProjectId string
    Unique identifier of the associated project. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    AddPrivateVlan bool
    Adds a private VLAN to the server. Boolean flag, the default value is false.
    DedicatedServerV1Id string
    Unique identifier of the server.
    ForceUpdateAdditionalParams bool
    Enables or disables update of operating system parameters without changing os_id. The operating system parameters are os_password, user_data, ssh_key, ssh_key_name, partitions_config, and os_host_name. After updating operating system parameters, a new operating system will be installed. Installation of a new operating system will delete all data on the server.
    OsHostName string
    Hostname for the server.
    OsPassword string
    — (Optional) Password for the operating system user. After the operating system is installed, a password will be generated to connect to the server. To get the password, in the Control panel, go to ProductsDedicated Servers → Server page → Operating System tab → in the Password field. The password is available for 24 hours from the start of the operating system installation or configuration change. If you forget the server password, you can reset and restore it.
    PartitionsConfigs List<DedicatedServerV1PartitionsConfig>
    Configuration for disk partitions. Learn more about disk partitioning in the Install the OS by auto-installation.
    PowerState string
    Power state of the server. Available values are on, off, and reboot. The default value is on. Cannot be set during server creation — servers are always created in the on state. Use power_state only for updating an existing server's power state. Changing power_state is mutually exclusive with changes of arguments: os_id, os_password, ssh_key, ssh_key_name, partitions_config, user_data, os_host_name and force_update_additional_params.
    PrivateSubnet string

    Deprecated: Deprecated

    PrivateSubnetId string
    Unique identifier of the private subnet to connect to the server. Changing this deletes the existing server and creates a new server. Retrieved from the selectel.DedicatedPrivateSubnetV1 data source.
    PrivateSubnetIp string
    Private IP address to assign to the server within the private subnet. Must be used together with private_subnet_id.
    PublicSubnetId string
    Unique identifier of the public subnet to connect to the server. Retrieved from the selectel.getDedicatedPublicSubnetV1 data source.
    PublicSubnetIp string
    Public IP address to assign to the server within the public subnet.
    SshKey string
    The public SSH key to be added to the server.
    SshKeyName string
    Name of an existing SSH key to be added to the server. Learn more about add a public SSH key to the SSH key repository in the Create and host an SSH key on a dedicated server.
    Timeouts DedicatedServerV1Timeouts
    — (Optional) Timeout values. The default values are the following:

    • create = "80m",
    • update = "20m",
    • delete = "5m".
    UserData string
    Custom configuration settings that automate perform common tasks or execute server setup scripts, reducing the time required to configure and deploy your infrastructure. Learn more about user data in the User data on a dedicated server.
    ConfigurationId string
    Unique identifier of the server configuration. Retrieved from the dedicated_configuration_v1 data source.
    LocationId string
    Pool where the server is located. Retrieved from the dedicated_location_v1 data source.
    OsId string
    Unique identifier of the operating system to install. Changing this installs new os on a new server. Installing a new operating system deletes all data on the server. Retrieved from the dedicated_os_v1 data source.
    PricePlanName string
    The name of the price plan. Available tariff plans are 1 day, 1 month, 3 months, 6 months, 12 months, and 12 months • monthly payment. Learn more about tariff plans in the Payment model and prices of a dedicated server.
    ProjectId string
    Unique identifier of the associated project. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    AddPrivateVlan bool
    Adds a private VLAN to the server. Boolean flag, the default value is false.
    DedicatedServerV1Id string
    Unique identifier of the server.
    ForceUpdateAdditionalParams bool
    Enables or disables update of operating system parameters without changing os_id. The operating system parameters are os_password, user_data, ssh_key, ssh_key_name, partitions_config, and os_host_name. After updating operating system parameters, a new operating system will be installed. Installation of a new operating system will delete all data on the server.
    OsHostName string
    Hostname for the server.
    OsPassword string
    — (Optional) Password for the operating system user. After the operating system is installed, a password will be generated to connect to the server. To get the password, in the Control panel, go to ProductsDedicated Servers → Server page → Operating System tab → in the Password field. The password is available for 24 hours from the start of the operating system installation or configuration change. If you forget the server password, you can reset and restore it.
    PartitionsConfigs []DedicatedServerV1PartitionsConfigArgs
    Configuration for disk partitions. Learn more about disk partitioning in the Install the OS by auto-installation.
    PowerState string
    Power state of the server. Available values are on, off, and reboot. The default value is on. Cannot be set during server creation — servers are always created in the on state. Use power_state only for updating an existing server's power state. Changing power_state is mutually exclusive with changes of arguments: os_id, os_password, ssh_key, ssh_key_name, partitions_config, user_data, os_host_name and force_update_additional_params.
    PrivateSubnet string

    Deprecated: Deprecated

    PrivateSubnetId string
    Unique identifier of the private subnet to connect to the server. Changing this deletes the existing server and creates a new server. Retrieved from the selectel.DedicatedPrivateSubnetV1 data source.
    PrivateSubnetIp string
    Private IP address to assign to the server within the private subnet. Must be used together with private_subnet_id.
    PublicSubnetId string
    Unique identifier of the public subnet to connect to the server. Retrieved from the selectel.getDedicatedPublicSubnetV1 data source.
    PublicSubnetIp string
    Public IP address to assign to the server within the public subnet.
    SshKey string
    The public SSH key to be added to the server.
    SshKeyName string
    Name of an existing SSH key to be added to the server. Learn more about add a public SSH key to the SSH key repository in the Create and host an SSH key on a dedicated server.
    Timeouts DedicatedServerV1TimeoutsArgs
    — (Optional) Timeout values. The default values are the following:

    • create = "80m",
    • update = "20m",
    • delete = "5m".
    UserData string
    Custom configuration settings that automate perform common tasks or execute server setup scripts, reducing the time required to configure and deploy your infrastructure. Learn more about user data in the User data on a dedicated server.
    configuration_id string
    Unique identifier of the server configuration. Retrieved from the dedicated_configuration_v1 data source.
    location_id string
    Pool where the server is located. Retrieved from the dedicated_location_v1 data source.
    os_id string
    Unique identifier of the operating system to install. Changing this installs new os on a new server. Installing a new operating system deletes all data on the server. Retrieved from the dedicated_os_v1 data source.
    price_plan_name string
    The name of the price plan. Available tariff plans are 1 day, 1 month, 3 months, 6 months, 12 months, and 12 months • monthly payment. Learn more about tariff plans in the Payment model and prices of a dedicated server.
    project_id string
    Unique identifier of the associated project. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    add_private_vlan bool
    Adds a private VLAN to the server. Boolean flag, the default value is false.
    dedicated_server_v1_id string
    Unique identifier of the server.
    force_update_additional_params bool
    Enables or disables update of operating system parameters without changing os_id. The operating system parameters are os_password, user_data, ssh_key, ssh_key_name, partitions_config, and os_host_name. After updating operating system parameters, a new operating system will be installed. Installation of a new operating system will delete all data on the server.
    os_host_name string
    Hostname for the server.
    os_password string
    — (Optional) Password for the operating system user. After the operating system is installed, a password will be generated to connect to the server. To get the password, in the Control panel, go to ProductsDedicated Servers → Server page → Operating System tab → in the Password field. The password is available for 24 hours from the start of the operating system installation or configuration change. If you forget the server password, you can reset and restore it.
    partitions_configs list(object)
    Configuration for disk partitions. Learn more about disk partitioning in the Install the OS by auto-installation.
    power_state string
    Power state of the server. Available values are on, off, and reboot. The default value is on. Cannot be set during server creation — servers are always created in the on state. Use power_state only for updating an existing server's power state. Changing power_state is mutually exclusive with changes of arguments: os_id, os_password, ssh_key, ssh_key_name, partitions_config, user_data, os_host_name and force_update_additional_params.
    private_subnet string

    Deprecated: Deprecated

    private_subnet_id string
    Unique identifier of the private subnet to connect to the server. Changing this deletes the existing server and creates a new server. Retrieved from the selectel.DedicatedPrivateSubnetV1 data source.
    private_subnet_ip string
    Private IP address to assign to the server within the private subnet. Must be used together with private_subnet_id.
    public_subnet_id string
    Unique identifier of the public subnet to connect to the server. Retrieved from the selectel.getDedicatedPublicSubnetV1 data source.
    public_subnet_ip string
    Public IP address to assign to the server within the public subnet.
    ssh_key string
    The public SSH key to be added to the server.
    ssh_key_name string
    Name of an existing SSH key to be added to the server. Learn more about add a public SSH key to the SSH key repository in the Create and host an SSH key on a dedicated server.
    timeouts object
    — (Optional) Timeout values. The default values are the following:

    • create = "80m",
    • update = "20m",
    • delete = "5m".
    user_data string
    Custom configuration settings that automate perform common tasks or execute server setup scripts, reducing the time required to configure and deploy your infrastructure. Learn more about user data in the User data on a dedicated server.
    configurationId String
    Unique identifier of the server configuration. Retrieved from the dedicated_configuration_v1 data source.
    locationId String
    Pool where the server is located. Retrieved from the dedicated_location_v1 data source.
    osId String
    Unique identifier of the operating system to install. Changing this installs new os on a new server. Installing a new operating system deletes all data on the server. Retrieved from the dedicated_os_v1 data source.
    pricePlanName String
    The name of the price plan. Available tariff plans are 1 day, 1 month, 3 months, 6 months, 12 months, and 12 months • monthly payment. Learn more about tariff plans in the Payment model and prices of a dedicated server.
    projectId String
    Unique identifier of the associated project. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    addPrivateVlan Boolean
    Adds a private VLAN to the server. Boolean flag, the default value is false.
    dedicatedServerV1Id String
    Unique identifier of the server.
    forceUpdateAdditionalParams Boolean
    Enables or disables update of operating system parameters without changing os_id. The operating system parameters are os_password, user_data, ssh_key, ssh_key_name, partitions_config, and os_host_name. After updating operating system parameters, a new operating system will be installed. Installation of a new operating system will delete all data on the server.
    osHostName String
    Hostname for the server.
    osPassword String
    — (Optional) Password for the operating system user. After the operating system is installed, a password will be generated to connect to the server. To get the password, in the Control panel, go to ProductsDedicated Servers → Server page → Operating System tab → in the Password field. The password is available for 24 hours from the start of the operating system installation or configuration change. If you forget the server password, you can reset and restore it.
    partitionsConfigs List<DedicatedServerV1PartitionsConfig>
    Configuration for disk partitions. Learn more about disk partitioning in the Install the OS by auto-installation.
    powerState String
    Power state of the server. Available values are on, off, and reboot. The default value is on. Cannot be set during server creation — servers are always created in the on state. Use power_state only for updating an existing server's power state. Changing power_state is mutually exclusive with changes of arguments: os_id, os_password, ssh_key, ssh_key_name, partitions_config, user_data, os_host_name and force_update_additional_params.
    privateSubnet String

    Deprecated: Deprecated

    privateSubnetId String
    Unique identifier of the private subnet to connect to the server. Changing this deletes the existing server and creates a new server. Retrieved from the selectel.DedicatedPrivateSubnetV1 data source.
    privateSubnetIp String
    Private IP address to assign to the server within the private subnet. Must be used together with private_subnet_id.
    publicSubnetId String
    Unique identifier of the public subnet to connect to the server. Retrieved from the selectel.getDedicatedPublicSubnetV1 data source.
    publicSubnetIp String
    Public IP address to assign to the server within the public subnet.
    sshKey String
    The public SSH key to be added to the server.
    sshKeyName String
    Name of an existing SSH key to be added to the server. Learn more about add a public SSH key to the SSH key repository in the Create and host an SSH key on a dedicated server.
    timeouts DedicatedServerV1Timeouts
    — (Optional) Timeout values. The default values are the following:

    • create = "80m",
    • update = "20m",
    • delete = "5m".
    userData String
    Custom configuration settings that automate perform common tasks or execute server setup scripts, reducing the time required to configure and deploy your infrastructure. Learn more about user data in the User data on a dedicated server.
    configurationId string
    Unique identifier of the server configuration. Retrieved from the dedicated_configuration_v1 data source.
    locationId string
    Pool where the server is located. Retrieved from the dedicated_location_v1 data source.
    osId string
    Unique identifier of the operating system to install. Changing this installs new os on a new server. Installing a new operating system deletes all data on the server. Retrieved from the dedicated_os_v1 data source.
    pricePlanName string
    The name of the price plan. Available tariff plans are 1 day, 1 month, 3 months, 6 months, 12 months, and 12 months • monthly payment. Learn more about tariff plans in the Payment model and prices of a dedicated server.
    projectId string
    Unique identifier of the associated project. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    addPrivateVlan boolean
    Adds a private VLAN to the server. Boolean flag, the default value is false.
    dedicatedServerV1Id string
    Unique identifier of the server.
    forceUpdateAdditionalParams boolean
    Enables or disables update of operating system parameters without changing os_id. The operating system parameters are os_password, user_data, ssh_key, ssh_key_name, partitions_config, and os_host_name. After updating operating system parameters, a new operating system will be installed. Installation of a new operating system will delete all data on the server.
    osHostName string
    Hostname for the server.
    osPassword string
    — (Optional) Password for the operating system user. After the operating system is installed, a password will be generated to connect to the server. To get the password, in the Control panel, go to ProductsDedicated Servers → Server page → Operating System tab → in the Password field. The password is available for 24 hours from the start of the operating system installation or configuration change. If you forget the server password, you can reset and restore it.
    partitionsConfigs DedicatedServerV1PartitionsConfig[]
    Configuration for disk partitions. Learn more about disk partitioning in the Install the OS by auto-installation.
    powerState string
    Power state of the server. Available values are on, off, and reboot. The default value is on. Cannot be set during server creation — servers are always created in the on state. Use power_state only for updating an existing server's power state. Changing power_state is mutually exclusive with changes of arguments: os_id, os_password, ssh_key, ssh_key_name, partitions_config, user_data, os_host_name and force_update_additional_params.
    privateSubnet string

    Deprecated: Deprecated

    privateSubnetId string
    Unique identifier of the private subnet to connect to the server. Changing this deletes the existing server and creates a new server. Retrieved from the selectel.DedicatedPrivateSubnetV1 data source.
    privateSubnetIp string
    Private IP address to assign to the server within the private subnet. Must be used together with private_subnet_id.
    publicSubnetId string
    Unique identifier of the public subnet to connect to the server. Retrieved from the selectel.getDedicatedPublicSubnetV1 data source.
    publicSubnetIp string
    Public IP address to assign to the server within the public subnet.
    sshKey string
    The public SSH key to be added to the server.
    sshKeyName string
    Name of an existing SSH key to be added to the server. Learn more about add a public SSH key to the SSH key repository in the Create and host an SSH key on a dedicated server.
    timeouts DedicatedServerV1Timeouts
    — (Optional) Timeout values. The default values are the following:

    • create = "80m",
    • update = "20m",
    • delete = "5m".
    userData string
    Custom configuration settings that automate perform common tasks or execute server setup scripts, reducing the time required to configure and deploy your infrastructure. Learn more about user data in the User data on a dedicated server.
    configuration_id str
    Unique identifier of the server configuration. Retrieved from the dedicated_configuration_v1 data source.
    location_id str
    Pool where the server is located. Retrieved from the dedicated_location_v1 data source.
    os_id str
    Unique identifier of the operating system to install. Changing this installs new os on a new server. Installing a new operating system deletes all data on the server. Retrieved from the dedicated_os_v1 data source.
    price_plan_name str
    The name of the price plan. Available tariff plans are 1 day, 1 month, 3 months, 6 months, 12 months, and 12 months • monthly payment. Learn more about tariff plans in the Payment model and prices of a dedicated server.
    project_id str
    Unique identifier of the associated project. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    add_private_vlan bool
    Adds a private VLAN to the server. Boolean flag, the default value is false.
    dedicated_server_v1_id str
    Unique identifier of the server.
    force_update_additional_params bool
    Enables or disables update of operating system parameters without changing os_id. The operating system parameters are os_password, user_data, ssh_key, ssh_key_name, partitions_config, and os_host_name. After updating operating system parameters, a new operating system will be installed. Installation of a new operating system will delete all data on the server.
    os_host_name str
    Hostname for the server.
    os_password str
    — (Optional) Password for the operating system user. After the operating system is installed, a password will be generated to connect to the server. To get the password, in the Control panel, go to ProductsDedicated Servers → Server page → Operating System tab → in the Password field. The password is available for 24 hours from the start of the operating system installation or configuration change. If you forget the server password, you can reset and restore it.
    partitions_configs Sequence[DedicatedServerV1PartitionsConfigArgs]
    Configuration for disk partitions. Learn more about disk partitioning in the Install the OS by auto-installation.
    power_state str
    Power state of the server. Available values are on, off, and reboot. The default value is on. Cannot be set during server creation — servers are always created in the on state. Use power_state only for updating an existing server's power state. Changing power_state is mutually exclusive with changes of arguments: os_id, os_password, ssh_key, ssh_key_name, partitions_config, user_data, os_host_name and force_update_additional_params.
    private_subnet str

    Deprecated: Deprecated

    private_subnet_id str
    Unique identifier of the private subnet to connect to the server. Changing this deletes the existing server and creates a new server. Retrieved from the selectel.DedicatedPrivateSubnetV1 data source.
    private_subnet_ip str
    Private IP address to assign to the server within the private subnet. Must be used together with private_subnet_id.
    public_subnet_id str
    Unique identifier of the public subnet to connect to the server. Retrieved from the selectel.getDedicatedPublicSubnetV1 data source.
    public_subnet_ip str
    Public IP address to assign to the server within the public subnet.
    ssh_key str
    The public SSH key to be added to the server.
    ssh_key_name str
    Name of an existing SSH key to be added to the server. Learn more about add a public SSH key to the SSH key repository in the Create and host an SSH key on a dedicated server.
    timeouts DedicatedServerV1TimeoutsArgs
    — (Optional) Timeout values. The default values are the following:

    • create = "80m",
    • update = "20m",
    • delete = "5m".
    user_data str
    Custom configuration settings that automate perform common tasks or execute server setup scripts, reducing the time required to configure and deploy your infrastructure. Learn more about user data in the User data on a dedicated server.
    configurationId String
    Unique identifier of the server configuration. Retrieved from the dedicated_configuration_v1 data source.
    locationId String
    Pool where the server is located. Retrieved from the dedicated_location_v1 data source.
    osId String
    Unique identifier of the operating system to install. Changing this installs new os on a new server. Installing a new operating system deletes all data on the server. Retrieved from the dedicated_os_v1 data source.
    pricePlanName String
    The name of the price plan. Available tariff plans are 1 day, 1 month, 3 months, 6 months, 12 months, and 12 months • monthly payment. Learn more about tariff plans in the Payment model and prices of a dedicated server.
    projectId String
    Unique identifier of the associated project. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    addPrivateVlan Boolean
    Adds a private VLAN to the server. Boolean flag, the default value is false.
    dedicatedServerV1Id String
    Unique identifier of the server.
    forceUpdateAdditionalParams Boolean
    Enables or disables update of operating system parameters without changing os_id. The operating system parameters are os_password, user_data, ssh_key, ssh_key_name, partitions_config, and os_host_name. After updating operating system parameters, a new operating system will be installed. Installation of a new operating system will delete all data on the server.
    osHostName String
    Hostname for the server.
    osPassword String
    — (Optional) Password for the operating system user. After the operating system is installed, a password will be generated to connect to the server. To get the password, in the Control panel, go to ProductsDedicated Servers → Server page → Operating System tab → in the Password field. The password is available for 24 hours from the start of the operating system installation or configuration change. If you forget the server password, you can reset and restore it.
    partitionsConfigs List<Property Map>
    Configuration for disk partitions. Learn more about disk partitioning in the Install the OS by auto-installation.
    powerState String
    Power state of the server. Available values are on, off, and reboot. The default value is on. Cannot be set during server creation — servers are always created in the on state. Use power_state only for updating an existing server's power state. Changing power_state is mutually exclusive with changes of arguments: os_id, os_password, ssh_key, ssh_key_name, partitions_config, user_data, os_host_name and force_update_additional_params.
    privateSubnet String

    Deprecated: Deprecated

    privateSubnetId String
    Unique identifier of the private subnet to connect to the server. Changing this deletes the existing server and creates a new server. Retrieved from the selectel.DedicatedPrivateSubnetV1 data source.
    privateSubnetIp String
    Private IP address to assign to the server within the private subnet. Must be used together with private_subnet_id.
    publicSubnetId String
    Unique identifier of the public subnet to connect to the server. Retrieved from the selectel.getDedicatedPublicSubnetV1 data source.
    publicSubnetIp String
    Public IP address to assign to the server within the public subnet.
    sshKey String
    The public SSH key to be added to the server.
    sshKeyName String
    Name of an existing SSH key to be added to the server. Learn more about add a public SSH key to the SSH key repository in the Create and host an SSH key on a dedicated server.
    timeouts Property Map
    — (Optional) Timeout values. The default values are the following:

    • create = "80m",
    • update = "20m",
    • delete = "5m".
    userData String
    Custom configuration settings that automate perform common tasks or execute server setup scripts, reducing the time required to configure and deploy your infrastructure. Learn more about user data in the User data on a dedicated server.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    PrivateIp string
    Private IP address of the server.
    PrivateVlan double
    Unique identifier of the VLAN of the private subnet assigned to the server. Returned when a private VLAN is configured or created for the server.
    PublicIp string
    Public IP address of the server.
    Id string
    The provider-assigned unique ID for this managed resource.
    PrivateIp string
    Private IP address of the server.
    PrivateVlan float64
    Unique identifier of the VLAN of the private subnet assigned to the server. Returned when a private VLAN is configured or created for the server.
    PublicIp string
    Public IP address of the server.
    id string
    The provider-assigned unique ID for this managed resource.
    private_ip string
    Private IP address of the server.
    private_vlan number
    Unique identifier of the VLAN of the private subnet assigned to the server. Returned when a private VLAN is configured or created for the server.
    public_ip string
    Public IP address of the server.
    id String
    The provider-assigned unique ID for this managed resource.
    privateIp String
    Private IP address of the server.
    privateVlan Double
    Unique identifier of the VLAN of the private subnet assigned to the server. Returned when a private VLAN is configured or created for the server.
    publicIp String
    Public IP address of the server.
    id string
    The provider-assigned unique ID for this managed resource.
    privateIp string
    Private IP address of the server.
    privateVlan number
    Unique identifier of the VLAN of the private subnet assigned to the server. Returned when a private VLAN is configured or created for the server.
    publicIp string
    Public IP address of the server.
    id str
    The provider-assigned unique ID for this managed resource.
    private_ip str
    Private IP address of the server.
    private_vlan float
    Unique identifier of the VLAN of the private subnet assigned to the server. Returned when a private VLAN is configured or created for the server.
    public_ip str
    Public IP address of the server.
    id String
    The provider-assigned unique ID for this managed resource.
    privateIp String
    Private IP address of the server.
    privateVlan Number
    Unique identifier of the VLAN of the private subnet assigned to the server. Returned when a private VLAN is configured or created for the server.
    publicIp String
    Public IP address of the server.

    Look up Existing DedicatedServerV1 Resource

    Get an existing DedicatedServerV1 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?: DedicatedServerV1State, opts?: CustomResourceOptions): DedicatedServerV1
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            add_private_vlan: Optional[bool] = None,
            configuration_id: Optional[str] = None,
            dedicated_server_v1_id: Optional[str] = None,
            force_update_additional_params: Optional[bool] = None,
            location_id: Optional[str] = None,
            os_host_name: Optional[str] = None,
            os_id: Optional[str] = None,
            os_password: Optional[str] = None,
            partitions_configs: Optional[Sequence[DedicatedServerV1PartitionsConfigArgs]] = None,
            power_state: Optional[str] = None,
            price_plan_name: Optional[str] = None,
            private_ip: Optional[str] = None,
            private_subnet: Optional[str] = None,
            private_subnet_id: Optional[str] = None,
            private_subnet_ip: Optional[str] = None,
            private_vlan: Optional[float] = None,
            project_id: Optional[str] = None,
            public_ip: Optional[str] = None,
            public_subnet_id: Optional[str] = None,
            public_subnet_ip: Optional[str] = None,
            ssh_key: Optional[str] = None,
            ssh_key_name: Optional[str] = None,
            timeouts: Optional[DedicatedServerV1TimeoutsArgs] = None,
            user_data: Optional[str] = None) -> DedicatedServerV1
    func GetDedicatedServerV1(ctx *Context, name string, id IDInput, state *DedicatedServerV1State, opts ...ResourceOption) (*DedicatedServerV1, error)
    public static DedicatedServerV1 Get(string name, Input<string> id, DedicatedServerV1State? state, CustomResourceOptions? opts = null)
    public static DedicatedServerV1 get(String name, Output<String> id, DedicatedServerV1State state, CustomResourceOptions options)
    resources:  _:    type: selectel:DedicatedServerV1    get:      id: ${id}
    import {
      to = selectel_dedicatedserverv1.example
      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:
    AddPrivateVlan bool
    Adds a private VLAN to the server. Boolean flag, the default value is false.
    ConfigurationId string
    Unique identifier of the server configuration. Retrieved from the dedicated_configuration_v1 data source.
    DedicatedServerV1Id string
    Unique identifier of the server.
    ForceUpdateAdditionalParams bool
    Enables or disables update of operating system parameters without changing os_id. The operating system parameters are os_password, user_data, ssh_key, ssh_key_name, partitions_config, and os_host_name. After updating operating system parameters, a new operating system will be installed. Installation of a new operating system will delete all data on the server.
    LocationId string
    Pool where the server is located. Retrieved from the dedicated_location_v1 data source.
    OsHostName string
    Hostname for the server.
    OsId string
    Unique identifier of the operating system to install. Changing this installs new os on a new server. Installing a new operating system deletes all data on the server. Retrieved from the dedicated_os_v1 data source.
    OsPassword string
    — (Optional) Password for the operating system user. After the operating system is installed, a password will be generated to connect to the server. To get the password, in the Control panel, go to ProductsDedicated Servers → Server page → Operating System tab → in the Password field. The password is available for 24 hours from the start of the operating system installation or configuration change. If you forget the server password, you can reset and restore it.
    PartitionsConfigs List<DedicatedServerV1PartitionsConfig>
    Configuration for disk partitions. Learn more about disk partitioning in the Install the OS by auto-installation.
    PowerState string
    Power state of the server. Available values are on, off, and reboot. The default value is on. Cannot be set during server creation — servers are always created in the on state. Use power_state only for updating an existing server's power state. Changing power_state is mutually exclusive with changes of arguments: os_id, os_password, ssh_key, ssh_key_name, partitions_config, user_data, os_host_name and force_update_additional_params.
    PricePlanName string
    The name of the price plan. Available tariff plans are 1 day, 1 month, 3 months, 6 months, 12 months, and 12 months • monthly payment. Learn more about tariff plans in the Payment model and prices of a dedicated server.
    PrivateIp string
    Private IP address of the server.
    PrivateSubnet string

    Deprecated: Deprecated

    PrivateSubnetId string
    Unique identifier of the private subnet to connect to the server. Changing this deletes the existing server and creates a new server. Retrieved from the selectel.DedicatedPrivateSubnetV1 data source.
    PrivateSubnetIp string
    Private IP address to assign to the server within the private subnet. Must be used together with private_subnet_id.
    PrivateVlan double
    Unique identifier of the VLAN of the private subnet assigned to the server. Returned when a private VLAN is configured or created for the server.
    ProjectId string
    Unique identifier of the associated project. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    PublicIp string
    Public IP address of the server.
    PublicSubnetId string
    Unique identifier of the public subnet to connect to the server. Retrieved from the selectel.getDedicatedPublicSubnetV1 data source.
    PublicSubnetIp string
    Public IP address to assign to the server within the public subnet.
    SshKey string
    The public SSH key to be added to the server.
    SshKeyName string
    Name of an existing SSH key to be added to the server. Learn more about add a public SSH key to the SSH key repository in the Create and host an SSH key on a dedicated server.
    Timeouts DedicatedServerV1Timeouts
    — (Optional) Timeout values. The default values are the following:

    • create = "80m",
    • update = "20m",
    • delete = "5m".
    UserData string
    Custom configuration settings that automate perform common tasks or execute server setup scripts, reducing the time required to configure and deploy your infrastructure. Learn more about user data in the User data on a dedicated server.
    AddPrivateVlan bool
    Adds a private VLAN to the server. Boolean flag, the default value is false.
    ConfigurationId string
    Unique identifier of the server configuration. Retrieved from the dedicated_configuration_v1 data source.
    DedicatedServerV1Id string
    Unique identifier of the server.
    ForceUpdateAdditionalParams bool
    Enables or disables update of operating system parameters without changing os_id. The operating system parameters are os_password, user_data, ssh_key, ssh_key_name, partitions_config, and os_host_name. After updating operating system parameters, a new operating system will be installed. Installation of a new operating system will delete all data on the server.
    LocationId string
    Pool where the server is located. Retrieved from the dedicated_location_v1 data source.
    OsHostName string
    Hostname for the server.
    OsId string
    Unique identifier of the operating system to install. Changing this installs new os on a new server. Installing a new operating system deletes all data on the server. Retrieved from the dedicated_os_v1 data source.
    OsPassword string
    — (Optional) Password for the operating system user. After the operating system is installed, a password will be generated to connect to the server. To get the password, in the Control panel, go to ProductsDedicated Servers → Server page → Operating System tab → in the Password field. The password is available for 24 hours from the start of the operating system installation or configuration change. If you forget the server password, you can reset and restore it.
    PartitionsConfigs []DedicatedServerV1PartitionsConfigArgs
    Configuration for disk partitions. Learn more about disk partitioning in the Install the OS by auto-installation.
    PowerState string
    Power state of the server. Available values are on, off, and reboot. The default value is on. Cannot be set during server creation — servers are always created in the on state. Use power_state only for updating an existing server's power state. Changing power_state is mutually exclusive with changes of arguments: os_id, os_password, ssh_key, ssh_key_name, partitions_config, user_data, os_host_name and force_update_additional_params.
    PricePlanName string
    The name of the price plan. Available tariff plans are 1 day, 1 month, 3 months, 6 months, 12 months, and 12 months • monthly payment. Learn more about tariff plans in the Payment model and prices of a dedicated server.
    PrivateIp string
    Private IP address of the server.
    PrivateSubnet string

    Deprecated: Deprecated

    PrivateSubnetId string
    Unique identifier of the private subnet to connect to the server. Changing this deletes the existing server and creates a new server. Retrieved from the selectel.DedicatedPrivateSubnetV1 data source.
    PrivateSubnetIp string
    Private IP address to assign to the server within the private subnet. Must be used together with private_subnet_id.
    PrivateVlan float64
    Unique identifier of the VLAN of the private subnet assigned to the server. Returned when a private VLAN is configured or created for the server.
    ProjectId string
    Unique identifier of the associated project. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    PublicIp string
    Public IP address of the server.
    PublicSubnetId string
    Unique identifier of the public subnet to connect to the server. Retrieved from the selectel.getDedicatedPublicSubnetV1 data source.
    PublicSubnetIp string
    Public IP address to assign to the server within the public subnet.
    SshKey string
    The public SSH key to be added to the server.
    SshKeyName string
    Name of an existing SSH key to be added to the server. Learn more about add a public SSH key to the SSH key repository in the Create and host an SSH key on a dedicated server.
    Timeouts DedicatedServerV1TimeoutsArgs
    — (Optional) Timeout values. The default values are the following:

    • create = "80m",
    • update = "20m",
    • delete = "5m".
    UserData string
    Custom configuration settings that automate perform common tasks or execute server setup scripts, reducing the time required to configure and deploy your infrastructure. Learn more about user data in the User data on a dedicated server.
    add_private_vlan bool
    Adds a private VLAN to the server. Boolean flag, the default value is false.
    configuration_id string
    Unique identifier of the server configuration. Retrieved from the dedicated_configuration_v1 data source.
    dedicated_server_v1_id string
    Unique identifier of the server.
    force_update_additional_params bool
    Enables or disables update of operating system parameters without changing os_id. The operating system parameters are os_password, user_data, ssh_key, ssh_key_name, partitions_config, and os_host_name. After updating operating system parameters, a new operating system will be installed. Installation of a new operating system will delete all data on the server.
    location_id string
    Pool where the server is located. Retrieved from the dedicated_location_v1 data source.
    os_host_name string
    Hostname for the server.
    os_id string
    Unique identifier of the operating system to install. Changing this installs new os on a new server. Installing a new operating system deletes all data on the server. Retrieved from the dedicated_os_v1 data source.
    os_password string
    — (Optional) Password for the operating system user. After the operating system is installed, a password will be generated to connect to the server. To get the password, in the Control panel, go to ProductsDedicated Servers → Server page → Operating System tab → in the Password field. The password is available for 24 hours from the start of the operating system installation or configuration change. If you forget the server password, you can reset and restore it.
    partitions_configs list(object)
    Configuration for disk partitions. Learn more about disk partitioning in the Install the OS by auto-installation.
    power_state string
    Power state of the server. Available values are on, off, and reboot. The default value is on. Cannot be set during server creation — servers are always created in the on state. Use power_state only for updating an existing server's power state. Changing power_state is mutually exclusive with changes of arguments: os_id, os_password, ssh_key, ssh_key_name, partitions_config, user_data, os_host_name and force_update_additional_params.
    price_plan_name string
    The name of the price plan. Available tariff plans are 1 day, 1 month, 3 months, 6 months, 12 months, and 12 months • monthly payment. Learn more about tariff plans in the Payment model and prices of a dedicated server.
    private_ip string
    Private IP address of the server.
    private_subnet string

    Deprecated: Deprecated

    private_subnet_id string
    Unique identifier of the private subnet to connect to the server. Changing this deletes the existing server and creates a new server. Retrieved from the selectel.DedicatedPrivateSubnetV1 data source.
    private_subnet_ip string
    Private IP address to assign to the server within the private subnet. Must be used together with private_subnet_id.
    private_vlan number
    Unique identifier of the VLAN of the private subnet assigned to the server. Returned when a private VLAN is configured or created for the server.
    project_id string
    Unique identifier of the associated project. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    public_ip string
    Public IP address of the server.
    public_subnet_id string
    Unique identifier of the public subnet to connect to the server. Retrieved from the selectel.getDedicatedPublicSubnetV1 data source.
    public_subnet_ip string
    Public IP address to assign to the server within the public subnet.
    ssh_key string
    The public SSH key to be added to the server.
    ssh_key_name string
    Name of an existing SSH key to be added to the server. Learn more about add a public SSH key to the SSH key repository in the Create and host an SSH key on a dedicated server.
    timeouts object
    — (Optional) Timeout values. The default values are the following:

    • create = "80m",
    • update = "20m",
    • delete = "5m".
    user_data string
    Custom configuration settings that automate perform common tasks or execute server setup scripts, reducing the time required to configure and deploy your infrastructure. Learn more about user data in the User data on a dedicated server.
    addPrivateVlan Boolean
    Adds a private VLAN to the server. Boolean flag, the default value is false.
    configurationId String
    Unique identifier of the server configuration. Retrieved from the dedicated_configuration_v1 data source.
    dedicatedServerV1Id String
    Unique identifier of the server.
    forceUpdateAdditionalParams Boolean
    Enables or disables update of operating system parameters without changing os_id. The operating system parameters are os_password, user_data, ssh_key, ssh_key_name, partitions_config, and os_host_name. After updating operating system parameters, a new operating system will be installed. Installation of a new operating system will delete all data on the server.
    locationId String
    Pool where the server is located. Retrieved from the dedicated_location_v1 data source.
    osHostName String
    Hostname for the server.
    osId String
    Unique identifier of the operating system to install. Changing this installs new os on a new server. Installing a new operating system deletes all data on the server. Retrieved from the dedicated_os_v1 data source.
    osPassword String
    — (Optional) Password for the operating system user. After the operating system is installed, a password will be generated to connect to the server. To get the password, in the Control panel, go to ProductsDedicated Servers → Server page → Operating System tab → in the Password field. The password is available for 24 hours from the start of the operating system installation or configuration change. If you forget the server password, you can reset and restore it.
    partitionsConfigs List<DedicatedServerV1PartitionsConfig>
    Configuration for disk partitions. Learn more about disk partitioning in the Install the OS by auto-installation.
    powerState String
    Power state of the server. Available values are on, off, and reboot. The default value is on. Cannot be set during server creation — servers are always created in the on state. Use power_state only for updating an existing server's power state. Changing power_state is mutually exclusive with changes of arguments: os_id, os_password, ssh_key, ssh_key_name, partitions_config, user_data, os_host_name and force_update_additional_params.
    pricePlanName String
    The name of the price plan. Available tariff plans are 1 day, 1 month, 3 months, 6 months, 12 months, and 12 months • monthly payment. Learn more about tariff plans in the Payment model and prices of a dedicated server.
    privateIp String
    Private IP address of the server.
    privateSubnet String

    Deprecated: Deprecated

    privateSubnetId String
    Unique identifier of the private subnet to connect to the server. Changing this deletes the existing server and creates a new server. Retrieved from the selectel.DedicatedPrivateSubnetV1 data source.
    privateSubnetIp String
    Private IP address to assign to the server within the private subnet. Must be used together with private_subnet_id.
    privateVlan Double
    Unique identifier of the VLAN of the private subnet assigned to the server. Returned when a private VLAN is configured or created for the server.
    projectId String
    Unique identifier of the associated project. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    publicIp String
    Public IP address of the server.
    publicSubnetId String
    Unique identifier of the public subnet to connect to the server. Retrieved from the selectel.getDedicatedPublicSubnetV1 data source.
    publicSubnetIp String
    Public IP address to assign to the server within the public subnet.
    sshKey String
    The public SSH key to be added to the server.
    sshKeyName String
    Name of an existing SSH key to be added to the server. Learn more about add a public SSH key to the SSH key repository in the Create and host an SSH key on a dedicated server.
    timeouts DedicatedServerV1Timeouts
    — (Optional) Timeout values. The default values are the following:

    • create = "80m",
    • update = "20m",
    • delete = "5m".
    userData String
    Custom configuration settings that automate perform common tasks or execute server setup scripts, reducing the time required to configure and deploy your infrastructure. Learn more about user data in the User data on a dedicated server.
    addPrivateVlan boolean
    Adds a private VLAN to the server. Boolean flag, the default value is false.
    configurationId string
    Unique identifier of the server configuration. Retrieved from the dedicated_configuration_v1 data source.
    dedicatedServerV1Id string
    Unique identifier of the server.
    forceUpdateAdditionalParams boolean
    Enables or disables update of operating system parameters without changing os_id. The operating system parameters are os_password, user_data, ssh_key, ssh_key_name, partitions_config, and os_host_name. After updating operating system parameters, a new operating system will be installed. Installation of a new operating system will delete all data on the server.
    locationId string
    Pool where the server is located. Retrieved from the dedicated_location_v1 data source.
    osHostName string
    Hostname for the server.
    osId string
    Unique identifier of the operating system to install. Changing this installs new os on a new server. Installing a new operating system deletes all data on the server. Retrieved from the dedicated_os_v1 data source.
    osPassword string
    — (Optional) Password for the operating system user. After the operating system is installed, a password will be generated to connect to the server. To get the password, in the Control panel, go to ProductsDedicated Servers → Server page → Operating System tab → in the Password field. The password is available for 24 hours from the start of the operating system installation or configuration change. If you forget the server password, you can reset and restore it.
    partitionsConfigs DedicatedServerV1PartitionsConfig[]
    Configuration for disk partitions. Learn more about disk partitioning in the Install the OS by auto-installation.
    powerState string
    Power state of the server. Available values are on, off, and reboot. The default value is on. Cannot be set during server creation — servers are always created in the on state. Use power_state only for updating an existing server's power state. Changing power_state is mutually exclusive with changes of arguments: os_id, os_password, ssh_key, ssh_key_name, partitions_config, user_data, os_host_name and force_update_additional_params.
    pricePlanName string
    The name of the price plan. Available tariff plans are 1 day, 1 month, 3 months, 6 months, 12 months, and 12 months • monthly payment. Learn more about tariff plans in the Payment model and prices of a dedicated server.
    privateIp string
    Private IP address of the server.
    privateSubnet string

    Deprecated: Deprecated

    privateSubnetId string
    Unique identifier of the private subnet to connect to the server. Changing this deletes the existing server and creates a new server. Retrieved from the selectel.DedicatedPrivateSubnetV1 data source.
    privateSubnetIp string
    Private IP address to assign to the server within the private subnet. Must be used together with private_subnet_id.
    privateVlan number
    Unique identifier of the VLAN of the private subnet assigned to the server. Returned when a private VLAN is configured or created for the server.
    projectId string
    Unique identifier of the associated project. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    publicIp string
    Public IP address of the server.
    publicSubnetId string
    Unique identifier of the public subnet to connect to the server. Retrieved from the selectel.getDedicatedPublicSubnetV1 data source.
    publicSubnetIp string
    Public IP address to assign to the server within the public subnet.
    sshKey string
    The public SSH key to be added to the server.
    sshKeyName string
    Name of an existing SSH key to be added to the server. Learn more about add a public SSH key to the SSH key repository in the Create and host an SSH key on a dedicated server.
    timeouts DedicatedServerV1Timeouts
    — (Optional) Timeout values. The default values are the following:

    • create = "80m",
    • update = "20m",
    • delete = "5m".
    userData string
    Custom configuration settings that automate perform common tasks or execute server setup scripts, reducing the time required to configure and deploy your infrastructure. Learn more about user data in the User data on a dedicated server.
    add_private_vlan bool
    Adds a private VLAN to the server. Boolean flag, the default value is false.
    configuration_id str
    Unique identifier of the server configuration. Retrieved from the dedicated_configuration_v1 data source.
    dedicated_server_v1_id str
    Unique identifier of the server.
    force_update_additional_params bool
    Enables or disables update of operating system parameters without changing os_id. The operating system parameters are os_password, user_data, ssh_key, ssh_key_name, partitions_config, and os_host_name. After updating operating system parameters, a new operating system will be installed. Installation of a new operating system will delete all data on the server.
    location_id str
    Pool where the server is located. Retrieved from the dedicated_location_v1 data source.
    os_host_name str
    Hostname for the server.
    os_id str
    Unique identifier of the operating system to install. Changing this installs new os on a new server. Installing a new operating system deletes all data on the server. Retrieved from the dedicated_os_v1 data source.
    os_password str
    — (Optional) Password for the operating system user. After the operating system is installed, a password will be generated to connect to the server. To get the password, in the Control panel, go to ProductsDedicated Servers → Server page → Operating System tab → in the Password field. The password is available for 24 hours from the start of the operating system installation or configuration change. If you forget the server password, you can reset and restore it.
    partitions_configs Sequence[DedicatedServerV1PartitionsConfigArgs]
    Configuration for disk partitions. Learn more about disk partitioning in the Install the OS by auto-installation.
    power_state str
    Power state of the server. Available values are on, off, and reboot. The default value is on. Cannot be set during server creation — servers are always created in the on state. Use power_state only for updating an existing server's power state. Changing power_state is mutually exclusive with changes of arguments: os_id, os_password, ssh_key, ssh_key_name, partitions_config, user_data, os_host_name and force_update_additional_params.
    price_plan_name str
    The name of the price plan. Available tariff plans are 1 day, 1 month, 3 months, 6 months, 12 months, and 12 months • monthly payment. Learn more about tariff plans in the Payment model and prices of a dedicated server.
    private_ip str
    Private IP address of the server.
    private_subnet str

    Deprecated: Deprecated

    private_subnet_id str
    Unique identifier of the private subnet to connect to the server. Changing this deletes the existing server and creates a new server. Retrieved from the selectel.DedicatedPrivateSubnetV1 data source.
    private_subnet_ip str
    Private IP address to assign to the server within the private subnet. Must be used together with private_subnet_id.
    private_vlan float
    Unique identifier of the VLAN of the private subnet assigned to the server. Returned when a private VLAN is configured or created for the server.
    project_id str
    Unique identifier of the associated project. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    public_ip str
    Public IP address of the server.
    public_subnet_id str
    Unique identifier of the public subnet to connect to the server. Retrieved from the selectel.getDedicatedPublicSubnetV1 data source.
    public_subnet_ip str
    Public IP address to assign to the server within the public subnet.
    ssh_key str
    The public SSH key to be added to the server.
    ssh_key_name str
    Name of an existing SSH key to be added to the server. Learn more about add a public SSH key to the SSH key repository in the Create and host an SSH key on a dedicated server.
    timeouts DedicatedServerV1TimeoutsArgs
    — (Optional) Timeout values. The default values are the following:

    • create = "80m",
    • update = "20m",
    • delete = "5m".
    user_data str
    Custom configuration settings that automate perform common tasks or execute server setup scripts, reducing the time required to configure and deploy your infrastructure. Learn more about user data in the User data on a dedicated server.
    addPrivateVlan Boolean
    Adds a private VLAN to the server. Boolean flag, the default value is false.
    configurationId String
    Unique identifier of the server configuration. Retrieved from the dedicated_configuration_v1 data source.
    dedicatedServerV1Id String
    Unique identifier of the server.
    forceUpdateAdditionalParams Boolean
    Enables or disables update of operating system parameters without changing os_id. The operating system parameters are os_password, user_data, ssh_key, ssh_key_name, partitions_config, and os_host_name. After updating operating system parameters, a new operating system will be installed. Installation of a new operating system will delete all data on the server.
    locationId String
    Pool where the server is located. Retrieved from the dedicated_location_v1 data source.
    osHostName String
    Hostname for the server.
    osId String
    Unique identifier of the operating system to install. Changing this installs new os on a new server. Installing a new operating system deletes all data on the server. Retrieved from the dedicated_os_v1 data source.
    osPassword String
    — (Optional) Password for the operating system user. After the operating system is installed, a password will be generated to connect to the server. To get the password, in the Control panel, go to ProductsDedicated Servers → Server page → Operating System tab → in the Password field. The password is available for 24 hours from the start of the operating system installation or configuration change. If you forget the server password, you can reset and restore it.
    partitionsConfigs List<Property Map>
    Configuration for disk partitions. Learn more about disk partitioning in the Install the OS by auto-installation.
    powerState String
    Power state of the server. Available values are on, off, and reboot. The default value is on. Cannot be set during server creation — servers are always created in the on state. Use power_state only for updating an existing server's power state. Changing power_state is mutually exclusive with changes of arguments: os_id, os_password, ssh_key, ssh_key_name, partitions_config, user_data, os_host_name and force_update_additional_params.
    pricePlanName String
    The name of the price plan. Available tariff plans are 1 day, 1 month, 3 months, 6 months, 12 months, and 12 months • monthly payment. Learn more about tariff plans in the Payment model and prices of a dedicated server.
    privateIp String
    Private IP address of the server.
    privateSubnet String

    Deprecated: Deprecated

    privateSubnetId String
    Unique identifier of the private subnet to connect to the server. Changing this deletes the existing server and creates a new server. Retrieved from the selectel.DedicatedPrivateSubnetV1 data source.
    privateSubnetIp String
    Private IP address to assign to the server within the private subnet. Must be used together with private_subnet_id.
    privateVlan Number
    Unique identifier of the VLAN of the private subnet assigned to the server. Returned when a private VLAN is configured or created for the server.
    projectId String
    Unique identifier of the associated project. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    publicIp String
    Public IP address of the server.
    publicSubnetId String
    Unique identifier of the public subnet to connect to the server. Retrieved from the selectel.getDedicatedPublicSubnetV1 data source.
    publicSubnetIp String
    Public IP address to assign to the server within the public subnet.
    sshKey String
    The public SSH key to be added to the server.
    sshKeyName String
    Name of an existing SSH key to be added to the server. Learn more about add a public SSH key to the SSH key repository in the Create and host an SSH key on a dedicated server.
    timeouts Property Map
    — (Optional) Timeout values. The default values are the following:

    • create = "80m",
    • update = "20m",
    • delete = "5m".
    userData String
    Custom configuration settings that automate perform common tasks or execute server setup scripts, reducing the time required to configure and deploy your infrastructure. Learn more about user data in the User data on a dedicated server.

    Supporting Types

    DedicatedServerV1PartitionsConfig, DedicatedServerV1PartitionsConfigArgs

    DiskConfigs List<DedicatedServerV1PartitionsConfigDiskConfig>
    Configuration for individual disks without RAID. You can add configurations for multiple disks – each configuration in a separate block.
    DiskPartitions List<DedicatedServerV1PartitionsConfigDiskPartition>
    Configuration for disk partitions. You can add configurations for multiple disk partitions – each configuration in a separate block.
    SoftRaidConfigs List<DedicatedServerV1PartitionsConfigSoftRaidConfig>
    Configuration for software RAID. You can add configurations for multiple RAID arrays – each configuration in a separate block. Creating multiple arrays requires 4 or more disks.
    DiskConfigs []DedicatedServerV1PartitionsConfigDiskConfig
    Configuration for individual disks without RAID. You can add configurations for multiple disks – each configuration in a separate block.
    DiskPartitions []DedicatedServerV1PartitionsConfigDiskPartition
    Configuration for disk partitions. You can add configurations for multiple disk partitions – each configuration in a separate block.
    SoftRaidConfigs []DedicatedServerV1PartitionsConfigSoftRaidConfig
    Configuration for software RAID. You can add configurations for multiple RAID arrays – each configuration in a separate block. Creating multiple arrays requires 4 or more disks.
    disk_configs list(object)
    Configuration for individual disks without RAID. You can add configurations for multiple disks – each configuration in a separate block.
    disk_partitions list(object)
    Configuration for disk partitions. You can add configurations for multiple disk partitions – each configuration in a separate block.
    soft_raid_configs list(object)
    Configuration for software RAID. You can add configurations for multiple RAID arrays – each configuration in a separate block. Creating multiple arrays requires 4 or more disks.
    diskConfigs List<DedicatedServerV1PartitionsConfigDiskConfig>
    Configuration for individual disks without RAID. You can add configurations for multiple disks – each configuration in a separate block.
    diskPartitions List<DedicatedServerV1PartitionsConfigDiskPartition>
    Configuration for disk partitions. You can add configurations for multiple disk partitions – each configuration in a separate block.
    softRaidConfigs List<DedicatedServerV1PartitionsConfigSoftRaidConfig>
    Configuration for software RAID. You can add configurations for multiple RAID arrays – each configuration in a separate block. Creating multiple arrays requires 4 or more disks.
    diskConfigs DedicatedServerV1PartitionsConfigDiskConfig[]
    Configuration for individual disks without RAID. You can add configurations for multiple disks – each configuration in a separate block.
    diskPartitions DedicatedServerV1PartitionsConfigDiskPartition[]
    Configuration for disk partitions. You can add configurations for multiple disk partitions – each configuration in a separate block.
    softRaidConfigs DedicatedServerV1PartitionsConfigSoftRaidConfig[]
    Configuration for software RAID. You can add configurations for multiple RAID arrays – each configuration in a separate block. Creating multiple arrays requires 4 or more disks.
    disk_configs Sequence[DedicatedServerV1PartitionsConfigDiskConfig]
    Configuration for individual disks without RAID. You can add configurations for multiple disks – each configuration in a separate block.
    disk_partitions Sequence[DedicatedServerV1PartitionsConfigDiskPartition]
    Configuration for disk partitions. You can add configurations for multiple disk partitions – each configuration in a separate block.
    soft_raid_configs Sequence[DedicatedServerV1PartitionsConfigSoftRaidConfig]
    Configuration for software RAID. You can add configurations for multiple RAID arrays – each configuration in a separate block. Creating multiple arrays requires 4 or more disks.
    diskConfigs List<Property Map>
    Configuration for individual disks without RAID. You can add configurations for multiple disks – each configuration in a separate block.
    diskPartitions List<Property Map>
    Configuration for disk partitions. You can add configurations for multiple disk partitions – each configuration in a separate block.
    softRaidConfigs List<Property Map>
    Configuration for software RAID. You can add configurations for multiple RAID arrays – each configuration in a separate block. Creating multiple arrays requires 4 or more disks.

    DedicatedServerV1PartitionsConfigDiskConfig, DedicatedServerV1PartitionsConfigDiskConfigArgs

    DiskType string
    Type of disks to use in the RAID. Available values are SSD, NVMe, HDD.
    Name string
    Name of the disk to reference in disk_partitions.
    DiskType string
    Type of disks to use in the RAID. Available values are SSD, NVMe, HDD.
    Name string
    Name of the disk to reference in disk_partitions.
    disk_type string
    Type of disks to use in the RAID. Available values are SSD, NVMe, HDD.
    name string
    Name of the disk to reference in disk_partitions.
    diskType String
    Type of disks to use in the RAID. Available values are SSD, NVMe, HDD.
    name String
    Name of the disk to reference in disk_partitions.
    diskType string
    Type of disks to use in the RAID. Available values are SSD, NVMe, HDD.
    name string
    Name of the disk to reference in disk_partitions.
    disk_type str
    Type of disks to use in the RAID. Available values are SSD, NVMe, HDD.
    name str
    Name of the disk to reference in disk_partitions.
    diskType String
    Type of disks to use in the RAID. Available values are SSD, NVMe, HDD.
    name String
    Name of the disk to reference in disk_partitions.

    DedicatedServerV1PartitionsConfigDiskPartition, DedicatedServerV1PartitionsConfigDiskPartitionArgs

    Mount string
    Mount point for a partition. Required mount points are /, /boot, swap. You can use additional mount points, for example, /data.
    DiskName string
    Name of the disk on which to create the partition. RAID is not used.
    FsType string
    Filesystem type for the partition. Available file system types are swap, ext4, ext3, and xfs. The default value is ext4 for /, ext3 for /boot, swap for swap partition.
    Raid string
    RAID array name on which to create the partition. Required only when using RAID.
    Size double
    Size of the partition in GB. Use either size or size_percent. To use all the remaining space for the partition, specify -1.
    SizePercent double
    Size of the partition in percent (0-100). Use either size or size_percent.
    Mount string
    Mount point for a partition. Required mount points are /, /boot, swap. You can use additional mount points, for example, /data.
    DiskName string
    Name of the disk on which to create the partition. RAID is not used.
    FsType string
    Filesystem type for the partition. Available file system types are swap, ext4, ext3, and xfs. The default value is ext4 for /, ext3 for /boot, swap for swap partition.
    Raid string
    RAID array name on which to create the partition. Required only when using RAID.
    Size float64
    Size of the partition in GB. Use either size or size_percent. To use all the remaining space for the partition, specify -1.
    SizePercent float64
    Size of the partition in percent (0-100). Use either size or size_percent.
    mount string
    Mount point for a partition. Required mount points are /, /boot, swap. You can use additional mount points, for example, /data.
    disk_name string
    Name of the disk on which to create the partition. RAID is not used.
    fs_type string
    Filesystem type for the partition. Available file system types are swap, ext4, ext3, and xfs. The default value is ext4 for /, ext3 for /boot, swap for swap partition.
    raid string
    RAID array name on which to create the partition. Required only when using RAID.
    size number
    Size of the partition in GB. Use either size or size_percent. To use all the remaining space for the partition, specify -1.
    size_percent number
    Size of the partition in percent (0-100). Use either size or size_percent.
    mount String
    Mount point for a partition. Required mount points are /, /boot, swap. You can use additional mount points, for example, /data.
    diskName String
    Name of the disk on which to create the partition. RAID is not used.
    fsType String
    Filesystem type for the partition. Available file system types are swap, ext4, ext3, and xfs. The default value is ext4 for /, ext3 for /boot, swap for swap partition.
    raid String
    RAID array name on which to create the partition. Required only when using RAID.
    size Double
    Size of the partition in GB. Use either size or size_percent. To use all the remaining space for the partition, specify -1.
    sizePercent Double
    Size of the partition in percent (0-100). Use either size or size_percent.
    mount string
    Mount point for a partition. Required mount points are /, /boot, swap. You can use additional mount points, for example, /data.
    diskName string
    Name of the disk on which to create the partition. RAID is not used.
    fsType string
    Filesystem type for the partition. Available file system types are swap, ext4, ext3, and xfs. The default value is ext4 for /, ext3 for /boot, swap for swap partition.
    raid string
    RAID array name on which to create the partition. Required only when using RAID.
    size number
    Size of the partition in GB. Use either size or size_percent. To use all the remaining space for the partition, specify -1.
    sizePercent number
    Size of the partition in percent (0-100). Use either size or size_percent.
    mount str
    Mount point for a partition. Required mount points are /, /boot, swap. You can use additional mount points, for example, /data.
    disk_name str
    Name of the disk on which to create the partition. RAID is not used.
    fs_type str
    Filesystem type for the partition. Available file system types are swap, ext4, ext3, and xfs. The default value is ext4 for /, ext3 for /boot, swap for swap partition.
    raid str
    RAID array name on which to create the partition. Required only when using RAID.
    size float
    Size of the partition in GB. Use either size or size_percent. To use all the remaining space for the partition, specify -1.
    size_percent float
    Size of the partition in percent (0-100). Use either size or size_percent.
    mount String
    Mount point for a partition. Required mount points are /, /boot, swap. You can use additional mount points, for example, /data.
    diskName String
    Name of the disk on which to create the partition. RAID is not used.
    fsType String
    Filesystem type for the partition. Available file system types are swap, ext4, ext3, and xfs. The default value is ext4 for /, ext3 for /boot, swap for swap partition.
    raid String
    RAID array name on which to create the partition. Required only when using RAID.
    size Number
    Size of the partition in GB. Use either size or size_percent. To use all the remaining space for the partition, specify -1.
    sizePercent Number
    Size of the partition in percent (0-100). Use either size or size_percent.

    DedicatedServerV1PartitionsConfigSoftRaidConfig, DedicatedServerV1PartitionsConfigSoftRaidConfigArgs

    DiskType string
    Type of disks to use in the RAID. Available values are SSD, NVMe, HDD.
    Level string
    RAID level. Available values are raid0, raid1, and raid10.
    Name string
    Name of the RAID array.
    Count double
    Number of disks to use in the RAID array. If not specified, the minimum number of disks depends on the selected RAID level: 2 — for RAID0 and RAID1, 4 — for RAID10.
    DiskType string
    Type of disks to use in the RAID. Available values are SSD, NVMe, HDD.
    Level string
    RAID level. Available values are raid0, raid1, and raid10.
    Name string
    Name of the RAID array.
    Count float64
    Number of disks to use in the RAID array. If not specified, the minimum number of disks depends on the selected RAID level: 2 — for RAID0 and RAID1, 4 — for RAID10.
    disk_type string
    Type of disks to use in the RAID. Available values are SSD, NVMe, HDD.
    level string
    RAID level. Available values are raid0, raid1, and raid10.
    name string
    Name of the RAID array.
    count number
    Number of disks to use in the RAID array. If not specified, the minimum number of disks depends on the selected RAID level: 2 — for RAID0 and RAID1, 4 — for RAID10.
    diskType String
    Type of disks to use in the RAID. Available values are SSD, NVMe, HDD.
    level String
    RAID level. Available values are raid0, raid1, and raid10.
    name String
    Name of the RAID array.
    count Double
    Number of disks to use in the RAID array. If not specified, the minimum number of disks depends on the selected RAID level: 2 — for RAID0 and RAID1, 4 — for RAID10.
    diskType string
    Type of disks to use in the RAID. Available values are SSD, NVMe, HDD.
    level string
    RAID level. Available values are raid0, raid1, and raid10.
    name string
    Name of the RAID array.
    count number
    Number of disks to use in the RAID array. If not specified, the minimum number of disks depends on the selected RAID level: 2 — for RAID0 and RAID1, 4 — for RAID10.
    disk_type str
    Type of disks to use in the RAID. Available values are SSD, NVMe, HDD.
    level str
    RAID level. Available values are raid0, raid1, and raid10.
    name str
    Name of the RAID array.
    count float
    Number of disks to use in the RAID array. If not specified, the minimum number of disks depends on the selected RAID level: 2 — for RAID0 and RAID1, 4 — for RAID10.
    diskType String
    Type of disks to use in the RAID. Available values are SSD, NVMe, HDD.
    level String
    RAID level. Available values are raid0, raid1, and raid10.
    name String
    Name of the RAID array.
    count Number
    Number of disks to use in the RAID array. If not specified, the minimum number of disks depends on the selected RAID level: 2 — for RAID0 and RAID1, 4 — for RAID10.

    DedicatedServerV1Timeouts, DedicatedServerV1TimeoutsArgs

    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 string
    delete string
    update string
    create str
    delete str
    update str
    create String
    delete String
    update String

    Import

    You can import a server:

    export OS_DOMAIN_NAME=<account_id>

    export OS_USERNAME=

    export OS_PASSWORD=

    export INFRA_PROJECT_ID=<selectel_project_id>

    $ pulumi import selectel:index/dedicatedServerV1:DedicatedServerV1 server_1 <server_id>
    

    where:

    • <account_id> — Selectel account ID. The account ID is in the top right corner of the Control panel. Learn more about Registration.

    • <username> — Name of the service user. To get the name, in the Control panel, go to Identity & Access ManagementUser management ⟶ the Service users tab ⟶ copy the name of the required user. Learn more about Service users.

    • <password> — Password of the service user.

    • <selectel_project_id> — Unique identifier of the associated project. To get the ID, in the Control panel, go to Servers and colocation ⟶ project name ⟶ copy the ID of the required project. Learn more about Projects.

    • <server_id> — Unique identifier of the server.

    When importing a server, Terraform auto-generates the names of the following objects:

    • RAID array names — auto-generated based on the RAID level and disk type. For example, new-raid1, new-raid0.

    • disk names — auto-generated based on the disk type. For example, disk-ssd-1, disk-hdd-1.

    $ pulumi import selectel:index/dedicatedServerV1:DedicatedServerV1 You may need to update your configuration to match these names or use followed by terraform state show to see the imported configuration.
    

    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.
    Viewing docs for selectel 8.0.1
    published on Thursday, May 28, 2026 by selectel

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial