ovh.Dedicated.ServerInstallTask
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ovh from "@ovhcloud/pulumi-ovh";
import * as ovh from "@pulumi/ovh";
const rescue = ovh.Dedicated.getServerBoots({
serviceName: "nsxxxxxxx.ip-xx-xx-xx.eu",
bootType: "rescue",
});
const key = new ovh.me.SshKey("key", {
keyName: "mykey",
key: "ssh-ed25519 AAAAC3...",
});
const debian = new ovh.me.InstallationTemplate("debian", {
baseTemplateName: "debian11_64",
templateName: "mydebian11",
defaultLanguage: "en",
customization: {
sshKeyName: key.keyName,
},
});
const serverInstall = new ovh.dedicated.ServerInstallTask("serverInstall", {
serviceName: "nsxxxxxxx.ip-xx-xx-xx.eu",
templateName: debian.templateName,
bootidOnDestroy: rescue.then(rescue => rescue.results?.[0]),
details: {
customHostname: "mytest",
},
});
import pulumi
import pulumi_ovh as ovh
rescue = ovh.Dedicated.get_server_boots(service_name="nsxxxxxxx.ip-xx-xx-xx.eu",
boot_type="rescue")
key = ovh.me.SshKey("key",
key_name="mykey",
key="ssh-ed25519 AAAAC3...")
debian = ovh.me.InstallationTemplate("debian",
base_template_name="debian11_64",
template_name="mydebian11",
default_language="en",
customization=ovh.me.InstallationTemplateCustomizationArgs(
ssh_key_name=key.key_name,
))
server_install = ovh.dedicated.ServerInstallTask("serverInstall",
service_name="nsxxxxxxx.ip-xx-xx-xx.eu",
template_name=debian.template_name,
bootid_on_destroy=rescue.results[0],
details=ovh.dedicated.ServerInstallTaskDetailsArgs(
custom_hostname="mytest",
))
package main
import (
"github.com/ovh/pulumi-ovh/sdk/go/ovh/Dedicated"
"github.com/ovh/pulumi-ovh/sdk/go/ovh/Me"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
rescue, err := Dedicated.GetServerBoots(ctx, &dedicated.GetServerBootsArgs{
ServiceName: "nsxxxxxxx.ip-xx-xx-xx.eu",
BootType: pulumi.StringRef("rescue"),
}, nil)
if err != nil {
return err
}
key, err := Me.NewSshKey(ctx, "key", &Me.SshKeyArgs{
KeyName: pulumi.String("mykey"),
Key: pulumi.String("ssh-ed25519 AAAAC3..."),
})
if err != nil {
return err
}
debian, err := Me.NewInstallationTemplate(ctx, "debian", &Me.InstallationTemplateArgs{
BaseTemplateName: pulumi.String("debian11_64"),
TemplateName: pulumi.String("mydebian11"),
DefaultLanguage: pulumi.String("en"),
Customization: &me.InstallationTemplateCustomizationArgs{
SshKeyName: key.KeyName,
},
})
if err != nil {
return err
}
_, err = Dedicated.NewServerInstallTask(ctx, "serverInstall", &Dedicated.ServerInstallTaskArgs{
ServiceName: pulumi.String("nsxxxxxxx.ip-xx-xx-xx.eu"),
TemplateName: debian.TemplateName,
BootidOnDestroy: pulumi.Int(rescue.Results[0]),
Details: &dedicated.ServerInstallTaskDetailsArgs{
CustomHostname: pulumi.String("mytest"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ovh = Pulumi.Ovh;
return await Deployment.RunAsync(() =>
{
var rescue = Ovh.Dedicated.GetServerBoots.Invoke(new()
{
ServiceName = "nsxxxxxxx.ip-xx-xx-xx.eu",
BootType = "rescue",
});
var key = new Ovh.Me.SshKey("key", new()
{
KeyName = "mykey",
Key = "ssh-ed25519 AAAAC3...",
});
var debian = new Ovh.Me.InstallationTemplate("debian", new()
{
BaseTemplateName = "debian11_64",
TemplateName = "mydebian11",
DefaultLanguage = "en",
Customization = new Ovh.Me.Inputs.InstallationTemplateCustomizationArgs
{
SshKeyName = key.KeyName,
},
});
var serverInstall = new Ovh.Dedicated.ServerInstallTask("serverInstall", new()
{
ServiceName = "nsxxxxxxx.ip-xx-xx-xx.eu",
TemplateName = debian.TemplateName,
BootidOnDestroy = rescue.Apply(getServerBootsResult => getServerBootsResult.Results[0]),
Details = new Ovh.Dedicated.Inputs.ServerInstallTaskDetailsArgs
{
CustomHostname = "mytest",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ovh.Dedicated.DedicatedFunctions;
import com.pulumi.ovh.Dedicated.inputs.GetServerBootsArgs;
import com.pulumi.ovh.Me.SshKey;
import com.pulumi.ovh.Me.SshKeyArgs;
import com.pulumi.ovh.Me.InstallationTemplate;
import com.pulumi.ovh.Me.InstallationTemplateArgs;
import com.pulumi.ovh.Me.inputs.InstallationTemplateCustomizationArgs;
import com.pulumi.ovh.Dedicated.ServerInstallTask;
import com.pulumi.ovh.Dedicated.ServerInstallTaskArgs;
import com.pulumi.ovh.Dedicated.inputs.ServerInstallTaskDetailsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var rescue = DedicatedFunctions.getServerBoots(GetServerBootsArgs.builder()
.serviceName("nsxxxxxxx.ip-xx-xx-xx.eu")
.bootType("rescue")
.build());
var key = new SshKey("key", SshKeyArgs.builder()
.keyName("mykey")
.key("ssh-ed25519 AAAAC3...")
.build());
var debian = new InstallationTemplate("debian", InstallationTemplateArgs.builder()
.baseTemplateName("debian11_64")
.templateName("mydebian11")
.defaultLanguage("en")
.customization(InstallationTemplateCustomizationArgs.builder()
.sshKeyName(key.keyName())
.build())
.build());
var serverInstall = new ServerInstallTask("serverInstall", ServerInstallTaskArgs.builder()
.serviceName("nsxxxxxxx.ip-xx-xx-xx.eu")
.templateName(debian.templateName())
.bootidOnDestroy(rescue.applyValue(getServerBootsResult -> getServerBootsResult.results()[0]))
.details(ServerInstallTaskDetailsArgs.builder()
.customHostname("mytest")
.build())
.build());
}
}
resources:
key:
type: ovh:Me:SshKey
properties:
keyName: mykey
key: ssh-ed25519 AAAAC3...
debian:
type: ovh:Me:InstallationTemplate
properties:
baseTemplateName: debian11_64
templateName: mydebian11
defaultLanguage: en
customization:
sshKeyName: ${key.keyName}
serverInstall:
type: ovh:Dedicated:ServerInstallTask
properties:
serviceName: nsxxxxxxx.ip-xx-xx-xx.eu
templateName: ${debian.templateName}
bootidOnDestroy: ${rescue.results[0]}
details:
customHostname: mytest
variables:
rescue:
fn::invoke:
Function: ovh:Dedicated:getServerBoots
Arguments:
serviceName: nsxxxxxxx.ip-xx-xx-xx.eu
bootType: rescue
Create ServerInstallTask Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ServerInstallTask(name: string, args: ServerInstallTaskArgs, opts?: CustomResourceOptions);
@overload
def ServerInstallTask(resource_name: str,
args: ServerInstallTaskArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ServerInstallTask(resource_name: str,
opts: Optional[ResourceOptions] = None,
service_name: Optional[str] = None,
template_name: Optional[str] = None,
bootid_on_destroy: Optional[int] = None,
details: Optional[_dedicated.ServerInstallTaskDetailsArgs] = None,
partition_scheme_name: Optional[str] = None)
func NewServerInstallTask(ctx *Context, name string, args ServerInstallTaskArgs, opts ...ResourceOption) (*ServerInstallTask, error)
public ServerInstallTask(string name, ServerInstallTaskArgs args, CustomResourceOptions? opts = null)
public ServerInstallTask(String name, ServerInstallTaskArgs args)
public ServerInstallTask(String name, ServerInstallTaskArgs args, CustomResourceOptions options)
type: ovh:Dedicated:ServerInstallTask
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ServerInstallTaskArgs
- 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 ServerInstallTaskArgs
- 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 ServerInstallTaskArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ServerInstallTaskArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ServerInstallTaskArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Example
The following reference example uses placeholder values for all input properties.
var serverInstallTaskResource = new Ovh.Dedicated.ServerInstallTask("serverInstallTaskResource", new()
{
ServiceName = "string",
TemplateName = "string",
BootidOnDestroy = 0,
Details = new Ovh.Dedicated.Inputs.ServerInstallTaskDetailsArgs
{
CustomHostname = "string",
DiskGroupId = 0,
InstallSqlServer = false,
Language = "string",
NoRaid = false,
PostInstallationScriptLink = "string",
PostInstallationScriptReturn = "string",
SoftRaidDevices = 0,
SshKeyName = "string",
UseSpla = false,
},
PartitionSchemeName = "string",
});
example, err := Dedicated.NewServerInstallTask(ctx, "serverInstallTaskResource", &Dedicated.ServerInstallTaskArgs{
ServiceName: pulumi.String("string"),
TemplateName: pulumi.String("string"),
BootidOnDestroy: pulumi.Int(0),
Details: &dedicated.ServerInstallTaskDetailsArgs{
CustomHostname: pulumi.String("string"),
DiskGroupId: pulumi.Int(0),
InstallSqlServer: pulumi.Bool(false),
Language: pulumi.String("string"),
NoRaid: pulumi.Bool(false),
PostInstallationScriptLink: pulumi.String("string"),
PostInstallationScriptReturn: pulumi.String("string"),
SoftRaidDevices: pulumi.Int(0),
SshKeyName: pulumi.String("string"),
UseSpla: pulumi.Bool(false),
},
PartitionSchemeName: pulumi.String("string"),
})
var serverInstallTaskResource = new ServerInstallTask("serverInstallTaskResource", ServerInstallTaskArgs.builder()
.serviceName("string")
.templateName("string")
.bootidOnDestroy(0)
.details(ServerInstallTaskDetailsArgs.builder()
.customHostname("string")
.diskGroupId(0)
.installSqlServer(false)
.language("string")
.noRaid(false)
.postInstallationScriptLink("string")
.postInstallationScriptReturn("string")
.softRaidDevices(0)
.sshKeyName("string")
.useSpla(false)
.build())
.partitionSchemeName("string")
.build());
server_install_task_resource = ovh.dedicated.ServerInstallTask("serverInstallTaskResource",
service_name="string",
template_name="string",
bootid_on_destroy=0,
details=ovh.dedicated.ServerInstallTaskDetailsArgs(
custom_hostname="string",
disk_group_id=0,
install_sql_server=False,
language="string",
no_raid=False,
post_installation_script_link="string",
post_installation_script_return="string",
soft_raid_devices=0,
ssh_key_name="string",
use_spla=False,
),
partition_scheme_name="string")
const serverInstallTaskResource = new ovh.dedicated.ServerInstallTask("serverInstallTaskResource", {
serviceName: "string",
templateName: "string",
bootidOnDestroy: 0,
details: {
customHostname: "string",
diskGroupId: 0,
installSqlServer: false,
language: "string",
noRaid: false,
postInstallationScriptLink: "string",
postInstallationScriptReturn: "string",
softRaidDevices: 0,
sshKeyName: "string",
useSpla: false,
},
partitionSchemeName: "string",
});
type: ovh:Dedicated:ServerInstallTask
properties:
bootidOnDestroy: 0
details:
customHostname: string
diskGroupId: 0
installSqlServer: false
language: string
noRaid: false
postInstallationScriptLink: string
postInstallationScriptReturn: string
softRaidDevices: 0
sshKeyName: string
useSpla: false
partitionSchemeName: string
serviceName: string
templateName: string
ServerInstallTask Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The ServerInstallTask resource accepts the following input properties:
- Service
Name string - The service_name of your dedicated server.
- Template
Name string - Template name.
- Bootid
On intDestroy - If set, reboot the server on the specified boot id during destroy phase.
- Details
Server
Install Task Details - see
details
block below. - Partition
Scheme stringName - Partition scheme name.
- Service
Name string - The service_name of your dedicated server.
- Template
Name string - Template name.
- Bootid
On intDestroy - If set, reboot the server on the specified boot id during destroy phase.
- Details
Server
Install Task Details Args - see
details
block below. - Partition
Scheme stringName - Partition scheme name.
- service
Name String - The service_name of your dedicated server.
- template
Name String - Template name.
- bootid
On IntegerDestroy - If set, reboot the server on the specified boot id during destroy phase.
- details
Server
Install Task Details - see
details
block below. - partition
Scheme StringName - Partition scheme name.
- service
Name string - The service_name of your dedicated server.
- template
Name string - Template name.
- bootid
On numberDestroy - If set, reboot the server on the specified boot id during destroy phase.
- details
Server
Install Task Details - see
details
block below. - partition
Scheme stringName - Partition scheme name.
- service_
name str - The service_name of your dedicated server.
- template_
name str - Template name.
- bootid_
on_ intdestroy - If set, reboot the server on the specified boot id during destroy phase.
- details
dedicated.
Server Install Task Details Args - see
details
block below. - partition_
scheme_ strname - Partition scheme name.
- service
Name String - The service_name of your dedicated server.
- template
Name String - Template name.
- bootid
On NumberDestroy - If set, reboot the server on the specified boot id during destroy phase.
- details Property Map
- see
details
block below. - partition
Scheme StringName - Partition scheme name.
Outputs
All input properties are implicitly available as output properties. Additionally, the ServerInstallTask resource produces the following output properties:
- Comment string
- Details of this task. (should be
Install asked
) - Done
Date string - Completion date in RFC3339 format.
- Function string
- Function name (should be
hardInstall
). - Id string
- The provider-assigned unique ID for this managed resource.
- Last
Update string - Last update in RFC3339 format.
- Start
Date string - Task creation date in RFC3339 format.
- Status string
- Task status (should be
done
)
- Comment string
- Details of this task. (should be
Install asked
) - Done
Date string - Completion date in RFC3339 format.
- Function string
- Function name (should be
hardInstall
). - Id string
- The provider-assigned unique ID for this managed resource.
- Last
Update string - Last update in RFC3339 format.
- Start
Date string - Task creation date in RFC3339 format.
- Status string
- Task status (should be
done
)
- comment String
- Details of this task. (should be
Install asked
) - done
Date String - Completion date in RFC3339 format.
- function String
- Function name (should be
hardInstall
). - id String
- The provider-assigned unique ID for this managed resource.
- last
Update String - Last update in RFC3339 format.
- start
Date String - Task creation date in RFC3339 format.
- status String
- Task status (should be
done
)
- comment string
- Details of this task. (should be
Install asked
) - done
Date string - Completion date in RFC3339 format.
- function string
- Function name (should be
hardInstall
). - id string
- The provider-assigned unique ID for this managed resource.
- last
Update string - Last update in RFC3339 format.
- start
Date string - Task creation date in RFC3339 format.
- status string
- Task status (should be
done
)
- comment str
- Details of this task. (should be
Install asked
) - done_
date str - Completion date in RFC3339 format.
- function str
- Function name (should be
hardInstall
). - id str
- The provider-assigned unique ID for this managed resource.
- last_
update str - Last update in RFC3339 format.
- start_
date str - Task creation date in RFC3339 format.
- status str
- Task status (should be
done
)
- comment String
- Details of this task. (should be
Install asked
) - done
Date String - Completion date in RFC3339 format.
- function String
- Function name (should be
hardInstall
). - id String
- The provider-assigned unique ID for this managed resource.
- last
Update String - Last update in RFC3339 format.
- start
Date String - Task creation date in RFC3339 format.
- status String
- Task status (should be
done
)
Look up Existing ServerInstallTask Resource
Get an existing ServerInstallTask 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?: ServerInstallTaskState, opts?: CustomResourceOptions): ServerInstallTask
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
bootid_on_destroy: Optional[int] = None,
comment: Optional[str] = None,
details: Optional[_dedicated.ServerInstallTaskDetailsArgs] = None,
done_date: Optional[str] = None,
function: Optional[str] = None,
last_update: Optional[str] = None,
partition_scheme_name: Optional[str] = None,
service_name: Optional[str] = None,
start_date: Optional[str] = None,
status: Optional[str] = None,
template_name: Optional[str] = None) -> ServerInstallTask
func GetServerInstallTask(ctx *Context, name string, id IDInput, state *ServerInstallTaskState, opts ...ResourceOption) (*ServerInstallTask, error)
public static ServerInstallTask Get(string name, Input<string> id, ServerInstallTaskState? state, CustomResourceOptions? opts = null)
public static ServerInstallTask get(String name, Output<String> id, ServerInstallTaskState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Bootid
On intDestroy - If set, reboot the server on the specified boot id during destroy phase.
- Comment string
- Details of this task. (should be
Install asked
) - Details
Server
Install Task Details - see
details
block below. - Done
Date string - Completion date in RFC3339 format.
- Function string
- Function name (should be
hardInstall
). - Last
Update string - Last update in RFC3339 format.
- Partition
Scheme stringName - Partition scheme name.
- Service
Name string - The service_name of your dedicated server.
- Start
Date string - Task creation date in RFC3339 format.
- Status string
- Task status (should be
done
) - Template
Name string - Template name.
- Bootid
On intDestroy - If set, reboot the server on the specified boot id during destroy phase.
- Comment string
- Details of this task. (should be
Install asked
) - Details
Server
Install Task Details Args - see
details
block below. - Done
Date string - Completion date in RFC3339 format.
- Function string
- Function name (should be
hardInstall
). - Last
Update string - Last update in RFC3339 format.
- Partition
Scheme stringName - Partition scheme name.
- Service
Name string - The service_name of your dedicated server.
- Start
Date string - Task creation date in RFC3339 format.
- Status string
- Task status (should be
done
) - Template
Name string - Template name.
- bootid
On IntegerDestroy - If set, reboot the server on the specified boot id during destroy phase.
- comment String
- Details of this task. (should be
Install asked
) - details
Server
Install Task Details - see
details
block below. - done
Date String - Completion date in RFC3339 format.
- function String
- Function name (should be
hardInstall
). - last
Update String - Last update in RFC3339 format.
- partition
Scheme StringName - Partition scheme name.
- service
Name String - The service_name of your dedicated server.
- start
Date String - Task creation date in RFC3339 format.
- status String
- Task status (should be
done
) - template
Name String - Template name.
- bootid
On numberDestroy - If set, reboot the server on the specified boot id during destroy phase.
- comment string
- Details of this task. (should be
Install asked
) - details
Server
Install Task Details - see
details
block below. - done
Date string - Completion date in RFC3339 format.
- function string
- Function name (should be
hardInstall
). - last
Update string - Last update in RFC3339 format.
- partition
Scheme stringName - Partition scheme name.
- service
Name string - The service_name of your dedicated server.
- start
Date string - Task creation date in RFC3339 format.
- status string
- Task status (should be
done
) - template
Name string - Template name.
- bootid_
on_ intdestroy - If set, reboot the server on the specified boot id during destroy phase.
- comment str
- Details of this task. (should be
Install asked
) - details
dedicated.
Server Install Task Details Args - see
details
block below. - done_
date str - Completion date in RFC3339 format.
- function str
- Function name (should be
hardInstall
). - last_
update str - Last update in RFC3339 format.
- partition_
scheme_ strname - Partition scheme name.
- service_
name str - The service_name of your dedicated server.
- start_
date str - Task creation date in RFC3339 format.
- status str
- Task status (should be
done
) - template_
name str - Template name.
- bootid
On NumberDestroy - If set, reboot the server on the specified boot id during destroy phase.
- comment String
- Details of this task. (should be
Install asked
) - details Property Map
- see
details
block below. - done
Date String - Completion date in RFC3339 format.
- function String
- Function name (should be
hardInstall
). - last
Update String - Last update in RFC3339 format.
- partition
Scheme StringName - Partition scheme name.
- service
Name String - The service_name of your dedicated server.
- start
Date String - Task creation date in RFC3339 format.
- status String
- Task status (should be
done
) - template
Name String - Template name.
Supporting Types
ServerInstallTaskDetails, ServerInstallTaskDetailsArgs
- Custom
Hostname string - Set up the server using the provided hostname instead of the default hostname.
- Disk
Group intId - Disk group id.
- Install
Sql boolServer - set to true to install sql server (Windows template only).
- Language string
- language.
- No
Raid bool - set to true to disable RAID.
- Post
Installation stringScript Link - Indicate the URL where your postinstall customisation script is located.
- Post
Installation stringScript Return - Indicate the string returned by your postinstall customisation script on successful execution. Advice: your script should return a unique validation string in case of succes. A good example is 'loh1Xee7eo OK OK OK UGh8Ang1Gu'.
- Soft
Raid intDevices - soft raid devices.
- Ssh
Key stringName - Name of the ssh key that should be installed. Password login will be disabled.
- Use
Spla bool - set to true to use SPLA.
- Custom
Hostname string - Set up the server using the provided hostname instead of the default hostname.
- Disk
Group intId - Disk group id.
- Install
Sql boolServer - set to true to install sql server (Windows template only).
- Language string
- language.
- No
Raid bool - set to true to disable RAID.
- Post
Installation stringScript Link - Indicate the URL where your postinstall customisation script is located.
- Post
Installation stringScript Return - Indicate the string returned by your postinstall customisation script on successful execution. Advice: your script should return a unique validation string in case of succes. A good example is 'loh1Xee7eo OK OK OK UGh8Ang1Gu'.
- Soft
Raid intDevices - soft raid devices.
- Ssh
Key stringName - Name of the ssh key that should be installed. Password login will be disabled.
- Use
Spla bool - set to true to use SPLA.
- custom
Hostname String - Set up the server using the provided hostname instead of the default hostname.
- disk
Group IntegerId - Disk group id.
- install
Sql BooleanServer - set to true to install sql server (Windows template only).
- language String
- language.
- no
Raid Boolean - set to true to disable RAID.
- post
Installation StringScript Link - Indicate the URL where your postinstall customisation script is located.
- post
Installation StringScript Return - Indicate the string returned by your postinstall customisation script on successful execution. Advice: your script should return a unique validation string in case of succes. A good example is 'loh1Xee7eo OK OK OK UGh8Ang1Gu'.
- soft
Raid IntegerDevices - soft raid devices.
- ssh
Key StringName - Name of the ssh key that should be installed. Password login will be disabled.
- use
Spla Boolean - set to true to use SPLA.
- custom
Hostname string - Set up the server using the provided hostname instead of the default hostname.
- disk
Group numberId - Disk group id.
- install
Sql booleanServer - set to true to install sql server (Windows template only).
- language string
- language.
- no
Raid boolean - set to true to disable RAID.
- post
Installation stringScript Link - Indicate the URL where your postinstall customisation script is located.
- post
Installation stringScript Return - Indicate the string returned by your postinstall customisation script on successful execution. Advice: your script should return a unique validation string in case of succes. A good example is 'loh1Xee7eo OK OK OK UGh8Ang1Gu'.
- soft
Raid numberDevices - soft raid devices.
- ssh
Key stringName - Name of the ssh key that should be installed. Password login will be disabled.
- use
Spla boolean - set to true to use SPLA.
- custom_
hostname str - Set up the server using the provided hostname instead of the default hostname.
- disk_
group_ intid - Disk group id.
- install_
sql_ boolserver - set to true to install sql server (Windows template only).
- language str
- language.
- no_
raid bool - set to true to disable RAID.
- post_
installation_ strscript_ link - Indicate the URL where your postinstall customisation script is located.
- post_
installation_ strscript_ return - Indicate the string returned by your postinstall customisation script on successful execution. Advice: your script should return a unique validation string in case of succes. A good example is 'loh1Xee7eo OK OK OK UGh8Ang1Gu'.
- soft_
raid_ intdevices - soft raid devices.
- ssh_
key_ strname - Name of the ssh key that should be installed. Password login will be disabled.
- use_
spla bool - set to true to use SPLA.
- custom
Hostname String - Set up the server using the provided hostname instead of the default hostname.
- disk
Group NumberId - Disk group id.
- install
Sql BooleanServer - set to true to install sql server (Windows template only).
- language String
- language.
- no
Raid Boolean - set to true to disable RAID.
- post
Installation StringScript Link - Indicate the URL where your postinstall customisation script is located.
- post
Installation StringScript Return - Indicate the string returned by your postinstall customisation script on successful execution. Advice: your script should return a unique validation string in case of succes. A good example is 'loh1Xee7eo OK OK OK UGh8Ang1Gu'.
- soft
Raid NumberDevices - soft raid devices.
- ssh
Key StringName - Name of the ssh key that should be installed. Password login will be disabled.
- use
Spla Boolean - set to true to use SPLA.
Import
Installation task can be imported using the service_name
(nsXXXX.ip...
) of the baremetal server, the template_name
used and ths task_id
, separated by “/” E.g.,
bash
$ pulumi import ovh:Dedicated/serverInstallTask:ServerInstallTask ovh_dedicated_server_install_task nsXXXX.ipXXXX/template_name/12345
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- ovh ovh/pulumi-ovh
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ovh
Terraform Provider.