OVHCloud v0.50.0 published on Friday, Sep 20, 2024 by OVHcloud
ovh.Dedicated.Server
Explore with Pulumi AI
Import
Dedicated servers can be imported using the service_name
, e.g.:
bash
$ pulumi import ovh:Dedicated/server:Server server service_name
Create Server Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Server(name: string, args: ServerArgs, opts?: CustomResourceOptions);
@overload
def Server(resource_name: str,
args: ServerArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Server(resource_name: str,
opts: Optional[ResourceOptions] = None,
ovh_subsidiary: Optional[str] = None,
plan_options: Optional[Sequence[_dedicated.ServerPlanOptionArgs]] = None,
plans: Optional[Sequence[_dedicated.ServerPlanArgs]] = None,
display_name: Optional[str] = None,
monitoring: Optional[bool] = None,
no_intervention: Optional[bool] = None,
boot_script: Optional[str] = None,
details: Optional[_dedicated.ServerDetailsArgs] = None,
boot_id: Optional[float] = None,
partition_scheme_name: Optional[str] = None,
rescue_mail: Optional[str] = None,
rescue_ssh_key: Optional[str] = None,
root_device: Optional[str] = None,
state: Optional[str] = None,
template_name: Optional[str] = None,
user_metadatas: Optional[Sequence[_dedicated.ServerUserMetadataArgs]] = None)
func NewServer(ctx *Context, name string, args ServerArgs, opts ...ResourceOption) (*Server, error)
public Server(string name, ServerArgs args, CustomResourceOptions? opts = null)
public Server(String name, ServerArgs args)
public Server(String name, ServerArgs args, CustomResourceOptions options)
type: ovh:Dedicated:Server
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 ServerArgs
- 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 ServerArgs
- 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 ServerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ServerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ServerArgs
- 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 serverResource = new Ovh.Dedicated.Server("serverResource", new()
{
OvhSubsidiary = "string",
PlanOptions = new[]
{
new Ovh.Dedicated.Inputs.ServerPlanOptionArgs
{
Duration = "string",
PlanCode = "string",
PricingMode = "string",
Quantity = 0,
Configurations = new[]
{
new Ovh.Dedicated.Inputs.ServerPlanOptionConfigurationArgs
{
Label = "string",
Value = "string",
},
},
},
},
Plans = new[]
{
new Ovh.Dedicated.Inputs.ServerPlanArgs
{
Duration = "string",
PlanCode = "string",
PricingMode = "string",
Configurations = new[]
{
new Ovh.Dedicated.Inputs.ServerPlanConfigurationArgs
{
Label = "string",
Value = "string",
},
},
ItemId = 0,
Quantity = 0,
},
},
DisplayName = "string",
Monitoring = false,
NoIntervention = false,
BootScript = "string",
Details = new Ovh.Dedicated.Inputs.ServerDetailsArgs
{
CustomHostname = "string",
DiskGroupId = 0,
NoRaid = false,
SoftRaidDevices = 0,
},
BootId = 0,
PartitionSchemeName = "string",
RescueMail = "string",
RescueSshKey = "string",
RootDevice = "string",
State = "string",
TemplateName = "string",
UserMetadatas = new[]
{
new Ovh.Dedicated.Inputs.ServerUserMetadataArgs
{
Key = "string",
Value = "string",
},
},
});
example, err := Dedicated.NewServer(ctx, "serverResource", &Dedicated.ServerArgs{
OvhSubsidiary: pulumi.String("string"),
PlanOptions: dedicated.ServerPlanOptionArray{
&dedicated.ServerPlanOptionArgs{
Duration: pulumi.String("string"),
PlanCode: pulumi.String("string"),
PricingMode: pulumi.String("string"),
Quantity: pulumi.Float64(0),
Configurations: dedicated.ServerPlanOptionConfigurationArray{
&dedicated.ServerPlanOptionConfigurationArgs{
Label: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
},
Plans: dedicated.ServerPlanArray{
&dedicated.ServerPlanArgs{
Duration: pulumi.String("string"),
PlanCode: pulumi.String("string"),
PricingMode: pulumi.String("string"),
Configurations: dedicated.ServerPlanConfigurationArray{
&dedicated.ServerPlanConfigurationArgs{
Label: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
ItemId: pulumi.Float64(0),
Quantity: pulumi.Float64(0),
},
},
DisplayName: pulumi.String("string"),
Monitoring: pulumi.Bool(false),
NoIntervention: pulumi.Bool(false),
BootScript: pulumi.String("string"),
Details: &dedicated.ServerDetailsArgs{
CustomHostname: pulumi.String("string"),
DiskGroupId: pulumi.Float64(0),
NoRaid: pulumi.Bool(false),
SoftRaidDevices: pulumi.Float64(0),
},
BootId: pulumi.Float64(0),
PartitionSchemeName: pulumi.String("string"),
RescueMail: pulumi.String("string"),
RescueSshKey: pulumi.String("string"),
RootDevice: pulumi.String("string"),
State: pulumi.String("string"),
TemplateName: pulumi.String("string"),
UserMetadatas: dedicated.ServerUserMetadataArray{
&dedicated.ServerUserMetadataArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
})
var serverResource = new Server("serverResource", ServerArgs.builder()
.ovhSubsidiary("string")
.planOptions(ServerPlanOptionArgs.builder()
.duration("string")
.planCode("string")
.pricingMode("string")
.quantity(0)
.configurations(ServerPlanOptionConfigurationArgs.builder()
.label("string")
.value("string")
.build())
.build())
.plans(ServerPlanArgs.builder()
.duration("string")
.planCode("string")
.pricingMode("string")
.configurations(ServerPlanConfigurationArgs.builder()
.label("string")
.value("string")
.build())
.itemId(0)
.quantity(0)
.build())
.displayName("string")
.monitoring(false)
.noIntervention(false)
.bootScript("string")
.details(ServerDetailsArgs.builder()
.customHostname("string")
.diskGroupId(0)
.noRaid(false)
.softRaidDevices(0)
.build())
.bootId(0)
.partitionSchemeName("string")
.rescueMail("string")
.rescueSshKey("string")
.rootDevice("string")
.state("string")
.templateName("string")
.userMetadatas(ServerUserMetadataArgs.builder()
.key("string")
.value("string")
.build())
.build());
server_resource = ovh.dedicated.Server("serverResource",
ovh_subsidiary="string",
plan_options=[ovh.dedicated.ServerPlanOptionArgs(
duration="string",
plan_code="string",
pricing_mode="string",
quantity=0,
configurations=[ovh.dedicated.ServerPlanOptionConfigurationArgs(
label="string",
value="string",
)],
)],
plans=[ovh.dedicated.ServerPlanArgs(
duration="string",
plan_code="string",
pricing_mode="string",
configurations=[ovh.dedicated.ServerPlanConfigurationArgs(
label="string",
value="string",
)],
item_id=0,
quantity=0,
)],
display_name="string",
monitoring=False,
no_intervention=False,
boot_script="string",
details=ovh.dedicated.ServerDetailsArgs(
custom_hostname="string",
disk_group_id=0,
no_raid=False,
soft_raid_devices=0,
),
boot_id=0,
partition_scheme_name="string",
rescue_mail="string",
rescue_ssh_key="string",
root_device="string",
state="string",
template_name="string",
user_metadatas=[ovh.dedicated.ServerUserMetadataArgs(
key="string",
value="string",
)])
const serverResource = new ovh.dedicated.Server("serverResource", {
ovhSubsidiary: "string",
planOptions: [{
duration: "string",
planCode: "string",
pricingMode: "string",
quantity: 0,
configurations: [{
label: "string",
value: "string",
}],
}],
plans: [{
duration: "string",
planCode: "string",
pricingMode: "string",
configurations: [{
label: "string",
value: "string",
}],
itemId: 0,
quantity: 0,
}],
displayName: "string",
monitoring: false,
noIntervention: false,
bootScript: "string",
details: {
customHostname: "string",
diskGroupId: 0,
noRaid: false,
softRaidDevices: 0,
},
bootId: 0,
partitionSchemeName: "string",
rescueMail: "string",
rescueSshKey: "string",
rootDevice: "string",
state: "string",
templateName: "string",
userMetadatas: [{
key: "string",
value: "string",
}],
});
type: ovh:Dedicated:Server
properties:
bootId: 0
bootScript: string
details:
customHostname: string
diskGroupId: 0
noRaid: false
softRaidDevices: 0
displayName: string
monitoring: false
noIntervention: false
ovhSubsidiary: string
partitionSchemeName: string
planOptions:
- configurations:
- label: string
value: string
duration: string
planCode: string
pricingMode: string
quantity: 0
plans:
- configurations:
- label: string
value: string
duration: string
itemId: 0
planCode: string
pricingMode: string
quantity: 0
rescueMail: string
rescueSshKey: string
rootDevice: string
state: string
templateName: string
userMetadatas:
- key: string
value: string
Server 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 Server resource accepts the following input properties:
- Ovh
Subsidiary string - OVH subsidiaries
- Boot
Id double - Boot id of the server
- Boot
Script string - Boot script of the server
- Details
Server
Details - A structure describing informations about installation custom
- Display
Name string - Resource display name
- Monitoring bool
- Icmp monitoring state
- No
Intervention bool - Prevent datacenter intervention
- Partition
Scheme stringName - Partition scheme name
- Plan
Options List<ServerPlan Option> - Plans
List<Server
Plan> - Rescue
Mail string - Rescue mail of the server
- Rescue
Ssh stringKey - Public SSH Key used in the rescue mode
- Root
Device string - Root device of the server
- State string
- All states a Dedicated can be in (error, hacked, hackedBlocked, ok)
- Template
Name string - Template name
- User
Metadatas List<ServerUser Metadata> - Metadata
- Ovh
Subsidiary string - OVH subsidiaries
- Boot
Id float64 - Boot id of the server
- Boot
Script string - Boot script of the server
- Details
Server
Details Args - A structure describing informations about installation custom
- Display
Name string - Resource display name
- Monitoring bool
- Icmp monitoring state
- No
Intervention bool - Prevent datacenter intervention
- Partition
Scheme stringName - Partition scheme name
- Plan
Options []ServerPlan Option Args - Plans
[]Server
Plan Args - Rescue
Mail string - Rescue mail of the server
- Rescue
Ssh stringKey - Public SSH Key used in the rescue mode
- Root
Device string - Root device of the server
- State string
- All states a Dedicated can be in (error, hacked, hackedBlocked, ok)
- Template
Name string - Template name
- User
Metadatas []ServerUser Metadata Args - Metadata
- ovh
Subsidiary String - OVH subsidiaries
- boot
Id Double - Boot id of the server
- boot
Script String - Boot script of the server
- details
Server
Details - A structure describing informations about installation custom
- display
Name String - Resource display name
- monitoring Boolean
- Icmp monitoring state
- no
Intervention Boolean - Prevent datacenter intervention
- partition
Scheme StringName - Partition scheme name
- plan
Options List<ServerPlan Option> - plans
List<Server
Plan> - rescue
Mail String - Rescue mail of the server
- rescue
Ssh StringKey - Public SSH Key used in the rescue mode
- root
Device String - Root device of the server
- state String
- All states a Dedicated can be in (error, hacked, hackedBlocked, ok)
- template
Name String - Template name
- user
Metadatas List<ServerUser Metadata> - Metadata
- ovh
Subsidiary string - OVH subsidiaries
- boot
Id number - Boot id of the server
- boot
Script string - Boot script of the server
- details
Server
Details - A structure describing informations about installation custom
- display
Name string - Resource display name
- monitoring boolean
- Icmp monitoring state
- no
Intervention boolean - Prevent datacenter intervention
- partition
Scheme stringName - Partition scheme name
- plan
Options ServerPlan Option[] - plans
Server
Plan[] - rescue
Mail string - Rescue mail of the server
- rescue
Ssh stringKey - Public SSH Key used in the rescue mode
- root
Device string - Root device of the server
- state string
- All states a Dedicated can be in (error, hacked, hackedBlocked, ok)
- template
Name string - Template name
- user
Metadatas ServerUser Metadata[] - Metadata
- ovh_
subsidiary str - OVH subsidiaries
- boot_
id float - Boot id of the server
- boot_
script str - Boot script of the server
- details
dedicated.
Server Details Args - A structure describing informations about installation custom
- display_
name str - Resource display name
- monitoring bool
- Icmp monitoring state
- no_
intervention bool - Prevent datacenter intervention
- partition_
scheme_ strname - Partition scheme name
- plan_
options Sequence[dedicated.Server Plan Option Args] - plans
Sequence[dedicated.
Server Plan Args] - rescue_
mail str - Rescue mail of the server
- rescue_
ssh_ strkey - Public SSH Key used in the rescue mode
- root_
device str - Root device of the server
- state str
- All states a Dedicated can be in (error, hacked, hackedBlocked, ok)
- template_
name str - Template name
- user_
metadatas Sequence[dedicated.Server User Metadata Args] - Metadata
- ovh
Subsidiary String - OVH subsidiaries
- boot
Id Number - Boot id of the server
- boot
Script String - Boot script of the server
- details Property Map
- A structure describing informations about installation custom
- display
Name String - Resource display name
- monitoring Boolean
- Icmp monitoring state
- no
Intervention Boolean - Prevent datacenter intervention
- partition
Scheme StringName - Partition scheme name
- plan
Options List<Property Map> - plans List<Property Map>
- rescue
Mail String - Rescue mail of the server
- rescue
Ssh StringKey - Public SSH Key used in the rescue mode
- root
Device String - Root device of the server
- state String
- All states a Dedicated can be in (error, hacked, hackedBlocked, ok)
- template
Name String - Template name
- user
Metadatas List<Property Map> - Metadata
Outputs
All input properties are implicitly available as output properties. Additionally, the Server resource produces the following output properties:
- Availability
Zone string - Dedicated AZ localisation
- Commercial
Range string - Dedicated server commercial range
- Datacenter string
- Dedicated datacenter localisation (bhs1,bhs2,...)
- Iam
Server
Iam - IAM resource information
- Id string
- The provider-assigned unique ID for this managed resource.
- Ip string
- Dedicated server ip (IPv4)
- Link
Speed double - Link speed of the server
- Name string
- Dedicated server name
- New
Upgrade boolSystem - Order
Server
Order - Details about an Order
- Os string
- Operating system
- Power
State string - Power state of the server (poweron, poweroff)
- Professional
Use bool - Does this server have professional use option
- Rack string
- Rack id of the server
- Region string
- Dedicated region localisation
- Reverse string
- Dedicated server reverse
- Server
Id double - Server id
- Service
Name string - The service_name of your dedicated server
- Support
Level string - Dedicated server support level (critical, fastpath, gs, pro)
- Availability
Zone string - Dedicated AZ localisation
- Commercial
Range string - Dedicated server commercial range
- Datacenter string
- Dedicated datacenter localisation (bhs1,bhs2,...)
- Iam
Server
Iam - IAM resource information
- Id string
- The provider-assigned unique ID for this managed resource.
- Ip string
- Dedicated server ip (IPv4)
- Link
Speed float64 - Link speed of the server
- Name string
- Dedicated server name
- New
Upgrade boolSystem - Order
Server
Order - Details about an Order
- Os string
- Operating system
- Power
State string - Power state of the server (poweron, poweroff)
- Professional
Use bool - Does this server have professional use option
- Rack string
- Rack id of the server
- Region string
- Dedicated region localisation
- Reverse string
- Dedicated server reverse
- Server
Id float64 - Server id
- Service
Name string - The service_name of your dedicated server
- Support
Level string - Dedicated server support level (critical, fastpath, gs, pro)
- availability
Zone String - Dedicated AZ localisation
- commercial
Range String - Dedicated server commercial range
- datacenter String
- Dedicated datacenter localisation (bhs1,bhs2,...)
- iam
Server
Iam - IAM resource information
- id String
- The provider-assigned unique ID for this managed resource.
- ip String
- Dedicated server ip (IPv4)
- link
Speed Double - Link speed of the server
- name String
- Dedicated server name
- new
Upgrade BooleanSystem - order
Server
Order - Details about an Order
- os String
- Operating system
- power
State String - Power state of the server (poweron, poweroff)
- professional
Use Boolean - Does this server have professional use option
- rack String
- Rack id of the server
- region String
- Dedicated region localisation
- reverse String
- Dedicated server reverse
- server
Id Double - Server id
- service
Name String - The service_name of your dedicated server
- support
Level String - Dedicated server support level (critical, fastpath, gs, pro)
- availability
Zone string - Dedicated AZ localisation
- commercial
Range string - Dedicated server commercial range
- datacenter string
- Dedicated datacenter localisation (bhs1,bhs2,...)
- iam
Server
Iam - IAM resource information
- id string
- The provider-assigned unique ID for this managed resource.
- ip string
- Dedicated server ip (IPv4)
- link
Speed number - Link speed of the server
- name string
- Dedicated server name
- new
Upgrade booleanSystem - order
Server
Order - Details about an Order
- os string
- Operating system
- power
State string - Power state of the server (poweron, poweroff)
- professional
Use boolean - Does this server have professional use option
- rack string
- Rack id of the server
- region string
- Dedicated region localisation
- reverse string
- Dedicated server reverse
- server
Id number - Server id
- service
Name string - The service_name of your dedicated server
- support
Level string - Dedicated server support level (critical, fastpath, gs, pro)
- availability_
zone str - Dedicated AZ localisation
- commercial_
range str - Dedicated server commercial range
- datacenter str
- Dedicated datacenter localisation (bhs1,bhs2,...)
- iam
dedicated.
Server Iam - IAM resource information
- id str
- The provider-assigned unique ID for this managed resource.
- ip str
- Dedicated server ip (IPv4)
- link_
speed float - Link speed of the server
- name str
- Dedicated server name
- new_
upgrade_ boolsystem - order
dedicated.
Server Order - Details about an Order
- os str
- Operating system
- power_
state str - Power state of the server (poweron, poweroff)
- professional_
use bool - Does this server have professional use option
- rack str
- Rack id of the server
- region str
- Dedicated region localisation
- reverse str
- Dedicated server reverse
- server_
id float - Server id
- service_
name str - The service_name of your dedicated server
- support_
level str - Dedicated server support level (critical, fastpath, gs, pro)
- availability
Zone String - Dedicated AZ localisation
- commercial
Range String - Dedicated server commercial range
- datacenter String
- Dedicated datacenter localisation (bhs1,bhs2,...)
- iam Property Map
- IAM resource information
- id String
- The provider-assigned unique ID for this managed resource.
- ip String
- Dedicated server ip (IPv4)
- link
Speed Number - Link speed of the server
- name String
- Dedicated server name
- new
Upgrade BooleanSystem - order Property Map
- Details about an Order
- os String
- Operating system
- power
State String - Power state of the server (poweron, poweroff)
- professional
Use Boolean - Does this server have professional use option
- rack String
- Rack id of the server
- region String
- Dedicated region localisation
- reverse String
- Dedicated server reverse
- server
Id Number - Server id
- service
Name String - The service_name of your dedicated server
- support
Level String - Dedicated server support level (critical, fastpath, gs, pro)
Look up Existing Server Resource
Get an existing Server 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?: ServerState, opts?: CustomResourceOptions): Server
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
availability_zone: Optional[str] = None,
boot_id: Optional[float] = None,
boot_script: Optional[str] = None,
commercial_range: Optional[str] = None,
datacenter: Optional[str] = None,
details: Optional[_dedicated.ServerDetailsArgs] = None,
display_name: Optional[str] = None,
iam: Optional[_dedicated.ServerIamArgs] = None,
ip: Optional[str] = None,
link_speed: Optional[float] = None,
monitoring: Optional[bool] = None,
name: Optional[str] = None,
new_upgrade_system: Optional[bool] = None,
no_intervention: Optional[bool] = None,
order: Optional[_dedicated.ServerOrderArgs] = None,
os: Optional[str] = None,
ovh_subsidiary: Optional[str] = None,
partition_scheme_name: Optional[str] = None,
plan_options: Optional[Sequence[_dedicated.ServerPlanOptionArgs]] = None,
plans: Optional[Sequence[_dedicated.ServerPlanArgs]] = None,
power_state: Optional[str] = None,
professional_use: Optional[bool] = None,
rack: Optional[str] = None,
region: Optional[str] = None,
rescue_mail: Optional[str] = None,
rescue_ssh_key: Optional[str] = None,
reverse: Optional[str] = None,
root_device: Optional[str] = None,
server_id: Optional[float] = None,
service_name: Optional[str] = None,
state: Optional[str] = None,
support_level: Optional[str] = None,
template_name: Optional[str] = None,
user_metadatas: Optional[Sequence[_dedicated.ServerUserMetadataArgs]] = None) -> Server
func GetServer(ctx *Context, name string, id IDInput, state *ServerState, opts ...ResourceOption) (*Server, error)
public static Server Get(string name, Input<string> id, ServerState? state, CustomResourceOptions? opts = null)
public static Server get(String name, Output<String> id, ServerState 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.
- Availability
Zone string - Dedicated AZ localisation
- Boot
Id double - Boot id of the server
- Boot
Script string - Boot script of the server
- Commercial
Range string - Dedicated server commercial range
- Datacenter string
- Dedicated datacenter localisation (bhs1,bhs2,...)
- Details
Server
Details - A structure describing informations about installation custom
- Display
Name string - Resource display name
- Iam
Server
Iam - IAM resource information
- Ip string
- Dedicated server ip (IPv4)
- Link
Speed double - Link speed of the server
- Monitoring bool
- Icmp monitoring state
- Name string
- Dedicated server name
- New
Upgrade boolSystem - No
Intervention bool - Prevent datacenter intervention
- Order
Server
Order - Details about an Order
- Os string
- Operating system
- Ovh
Subsidiary string - OVH subsidiaries
- Partition
Scheme stringName - Partition scheme name
- Plan
Options List<ServerPlan Option> - Plans
List<Server
Plan> - Power
State string - Power state of the server (poweron, poweroff)
- Professional
Use bool - Does this server have professional use option
- Rack string
- Rack id of the server
- Region string
- Dedicated region localisation
- Rescue
Mail string - Rescue mail of the server
- Rescue
Ssh stringKey - Public SSH Key used in the rescue mode
- Reverse string
- Dedicated server reverse
- Root
Device string - Root device of the server
- Server
Id double - Server id
- Service
Name string - The service_name of your dedicated server
- State string
- All states a Dedicated can be in (error, hacked, hackedBlocked, ok)
- Support
Level string - Dedicated server support level (critical, fastpath, gs, pro)
- Template
Name string - Template name
- User
Metadatas List<ServerUser Metadata> - Metadata
- Availability
Zone string - Dedicated AZ localisation
- Boot
Id float64 - Boot id of the server
- Boot
Script string - Boot script of the server
- Commercial
Range string - Dedicated server commercial range
- Datacenter string
- Dedicated datacenter localisation (bhs1,bhs2,...)
- Details
Server
Details Args - A structure describing informations about installation custom
- Display
Name string - Resource display name
- Iam
Server
Iam Args - IAM resource information
- Ip string
- Dedicated server ip (IPv4)
- Link
Speed float64 - Link speed of the server
- Monitoring bool
- Icmp monitoring state
- Name string
- Dedicated server name
- New
Upgrade boolSystem - No
Intervention bool - Prevent datacenter intervention
- Order
Server
Order Args - Details about an Order
- Os string
- Operating system
- Ovh
Subsidiary string - OVH subsidiaries
- Partition
Scheme stringName - Partition scheme name
- Plan
Options []ServerPlan Option Args - Plans
[]Server
Plan Args - Power
State string - Power state of the server (poweron, poweroff)
- Professional
Use bool - Does this server have professional use option
- Rack string
- Rack id of the server
- Region string
- Dedicated region localisation
- Rescue
Mail string - Rescue mail of the server
- Rescue
Ssh stringKey - Public SSH Key used in the rescue mode
- Reverse string
- Dedicated server reverse
- Root
Device string - Root device of the server
- Server
Id float64 - Server id
- Service
Name string - The service_name of your dedicated server
- State string
- All states a Dedicated can be in (error, hacked, hackedBlocked, ok)
- Support
Level string - Dedicated server support level (critical, fastpath, gs, pro)
- Template
Name string - Template name
- User
Metadatas []ServerUser Metadata Args - Metadata
- availability
Zone String - Dedicated AZ localisation
- boot
Id Double - Boot id of the server
- boot
Script String - Boot script of the server
- commercial
Range String - Dedicated server commercial range
- datacenter String
- Dedicated datacenter localisation (bhs1,bhs2,...)
- details
Server
Details - A structure describing informations about installation custom
- display
Name String - Resource display name
- iam
Server
Iam - IAM resource information
- ip String
- Dedicated server ip (IPv4)
- link
Speed Double - Link speed of the server
- monitoring Boolean
- Icmp monitoring state
- name String
- Dedicated server name
- new
Upgrade BooleanSystem - no
Intervention Boolean - Prevent datacenter intervention
- order
Server
Order - Details about an Order
- os String
- Operating system
- ovh
Subsidiary String - OVH subsidiaries
- partition
Scheme StringName - Partition scheme name
- plan
Options List<ServerPlan Option> - plans
List<Server
Plan> - power
State String - Power state of the server (poweron, poweroff)
- professional
Use Boolean - Does this server have professional use option
- rack String
- Rack id of the server
- region String
- Dedicated region localisation
- rescue
Mail String - Rescue mail of the server
- rescue
Ssh StringKey - Public SSH Key used in the rescue mode
- reverse String
- Dedicated server reverse
- root
Device String - Root device of the server
- server
Id Double - Server id
- service
Name String - The service_name of your dedicated server
- state String
- All states a Dedicated can be in (error, hacked, hackedBlocked, ok)
- support
Level String - Dedicated server support level (critical, fastpath, gs, pro)
- template
Name String - Template name
- user
Metadatas List<ServerUser Metadata> - Metadata
- availability
Zone string - Dedicated AZ localisation
- boot
Id number - Boot id of the server
- boot
Script string - Boot script of the server
- commercial
Range string - Dedicated server commercial range
- datacenter string
- Dedicated datacenter localisation (bhs1,bhs2,...)
- details
Server
Details - A structure describing informations about installation custom
- display
Name string - Resource display name
- iam
Server
Iam - IAM resource information
- ip string
- Dedicated server ip (IPv4)
- link
Speed number - Link speed of the server
- monitoring boolean
- Icmp monitoring state
- name string
- Dedicated server name
- new
Upgrade booleanSystem - no
Intervention boolean - Prevent datacenter intervention
- order
Server
Order - Details about an Order
- os string
- Operating system
- ovh
Subsidiary string - OVH subsidiaries
- partition
Scheme stringName - Partition scheme name
- plan
Options ServerPlan Option[] - plans
Server
Plan[] - power
State string - Power state of the server (poweron, poweroff)
- professional
Use boolean - Does this server have professional use option
- rack string
- Rack id of the server
- region string
- Dedicated region localisation
- rescue
Mail string - Rescue mail of the server
- rescue
Ssh stringKey - Public SSH Key used in the rescue mode
- reverse string
- Dedicated server reverse
- root
Device string - Root device of the server
- server
Id number - Server id
- service
Name string - The service_name of your dedicated server
- state string
- All states a Dedicated can be in (error, hacked, hackedBlocked, ok)
- support
Level string - Dedicated server support level (critical, fastpath, gs, pro)
- template
Name string - Template name
- user
Metadatas ServerUser Metadata[] - Metadata
- availability_
zone str - Dedicated AZ localisation
- boot_
id float - Boot id of the server
- boot_
script str - Boot script of the server
- commercial_
range str - Dedicated server commercial range
- datacenter str
- Dedicated datacenter localisation (bhs1,bhs2,...)
- details
dedicated.
Server Details Args - A structure describing informations about installation custom
- display_
name str - Resource display name
- iam
dedicated.
Server Iam Args - IAM resource information
- ip str
- Dedicated server ip (IPv4)
- link_
speed float - Link speed of the server
- monitoring bool
- Icmp monitoring state
- name str
- Dedicated server name
- new_
upgrade_ boolsystem - no_
intervention bool - Prevent datacenter intervention
- order
dedicated.
Server Order Args - Details about an Order
- os str
- Operating system
- ovh_
subsidiary str - OVH subsidiaries
- partition_
scheme_ strname - Partition scheme name
- plan_
options Sequence[dedicated.Server Plan Option Args] - plans
Sequence[dedicated.
Server Plan Args] - power_
state str - Power state of the server (poweron, poweroff)
- professional_
use bool - Does this server have professional use option
- rack str
- Rack id of the server
- region str
- Dedicated region localisation
- rescue_
mail str - Rescue mail of the server
- rescue_
ssh_ strkey - Public SSH Key used in the rescue mode
- reverse str
- Dedicated server reverse
- root_
device str - Root device of the server
- server_
id float - Server id
- service_
name str - The service_name of your dedicated server
- state str
- All states a Dedicated can be in (error, hacked, hackedBlocked, ok)
- support_
level str - Dedicated server support level (critical, fastpath, gs, pro)
- template_
name str - Template name
- user_
metadatas Sequence[dedicated.Server User Metadata Args] - Metadata
- availability
Zone String - Dedicated AZ localisation
- boot
Id Number - Boot id of the server
- boot
Script String - Boot script of the server
- commercial
Range String - Dedicated server commercial range
- datacenter String
- Dedicated datacenter localisation (bhs1,bhs2,...)
- details Property Map
- A structure describing informations about installation custom
- display
Name String - Resource display name
- iam Property Map
- IAM resource information
- ip String
- Dedicated server ip (IPv4)
- link
Speed Number - Link speed of the server
- monitoring Boolean
- Icmp monitoring state
- name String
- Dedicated server name
- new
Upgrade BooleanSystem - no
Intervention Boolean - Prevent datacenter intervention
- order Property Map
- Details about an Order
- os String
- Operating system
- ovh
Subsidiary String - OVH subsidiaries
- partition
Scheme StringName - Partition scheme name
- plan
Options List<Property Map> - plans List<Property Map>
- power
State String - Power state of the server (poweron, poweroff)
- professional
Use Boolean - Does this server have professional use option
- rack String
- Rack id of the server
- region String
- Dedicated region localisation
- rescue
Mail String - Rescue mail of the server
- rescue
Ssh StringKey - Public SSH Key used in the rescue mode
- reverse String
- Dedicated server reverse
- root
Device String - Root device of the server
- server
Id Number - Server id
- service
Name String - The service_name of your dedicated server
- state String
- All states a Dedicated can be in (error, hacked, hackedBlocked, ok)
- support
Level String - Dedicated server support level (critical, fastpath, gs, pro)
- template
Name String - Template name
- user
Metadatas List<Property Map> - Metadata
Supporting Types
ServerDetails, ServerDetailsArgs
- Custom
Hostname string - Personnal hostname to use in server reinstallation
- Disk
Group doubleId - Disk group id to process install on (only available for some templates)
- No
Raid bool - true if you want to install only on the first disk
- Soft
Raid doubleDevices - Number of devices to use for system's software RAID
- Custom
Hostname string - Personnal hostname to use in server reinstallation
- Disk
Group float64Id - Disk group id to process install on (only available for some templates)
- No
Raid bool - true if you want to install only on the first disk
- Soft
Raid float64Devices - Number of devices to use for system's software RAID
- custom
Hostname String - Personnal hostname to use in server reinstallation
- disk
Group DoubleId - Disk group id to process install on (only available for some templates)
- no
Raid Boolean - true if you want to install only on the first disk
- soft
Raid DoubleDevices - Number of devices to use for system's software RAID
- custom
Hostname string - Personnal hostname to use in server reinstallation
- disk
Group numberId - Disk group id to process install on (only available for some templates)
- no
Raid boolean - true if you want to install only on the first disk
- soft
Raid numberDevices - Number of devices to use for system's software RAID
- custom_
hostname str - Personnal hostname to use in server reinstallation
- disk_
group_ floatid - Disk group id to process install on (only available for some templates)
- no_
raid bool - true if you want to install only on the first disk
- soft_
raid_ floatdevices - Number of devices to use for system's software RAID
- custom
Hostname String - Personnal hostname to use in server reinstallation
- disk
Group NumberId - Disk group id to process install on (only available for some templates)
- no
Raid Boolean - true if you want to install only on the first disk
- soft
Raid NumberDevices - Number of devices to use for system's software RAID
ServerIam, ServerIamArgs
- Display
Name string - Resource display name
- Id string
- Unique identifier of the resource in the IAM
- Dictionary<string, string>
- Resource tags. Tags that were internally computed are prefixed with
ovh:
- Urn string
- URN of the private database, used when writing IAM policies
- Display
Name string - Resource display name
- Id string
- Unique identifier of the resource in the IAM
- map[string]string
- Resource tags. Tags that were internally computed are prefixed with
ovh:
- Urn string
- URN of the private database, used when writing IAM policies
- display
Name String - Resource display name
- id String
- Unique identifier of the resource in the IAM
- Map<String,String>
- Resource tags. Tags that were internally computed are prefixed with
ovh:
- urn String
- URN of the private database, used when writing IAM policies
- display
Name string - Resource display name
- id string
- Unique identifier of the resource in the IAM
- {[key: string]: string}
- Resource tags. Tags that were internally computed are prefixed with
ovh:
- urn string
- URN of the private database, used when writing IAM policies
- display_
name str - Resource display name
- id str
- Unique identifier of the resource in the IAM
- Mapping[str, str]
- Resource tags. Tags that were internally computed are prefixed with
ovh:
- urn str
- URN of the private database, used when writing IAM policies
- display
Name String - Resource display name
- id String
- Unique identifier of the resource in the IAM
- Map<String>
- Resource tags. Tags that were internally computed are prefixed with
ovh:
- urn String
- URN of the private database, used when writing IAM policies
ServerOrder, ServerOrderArgs
- Date string
- Details
List<Server
Order Detail> - Details object when reinstalling server (see https://eu.api.ovh.com/console/?section=%2Fdedicated%2Fserver&branch=v1#post-/dedicated/server/-serviceName-/install/start)
- Expiration
Date string - Order
Id double
- Date string
- Details
[]Server
Order Detail - Details object when reinstalling server (see https://eu.api.ovh.com/console/?section=%2Fdedicated%2Fserver&branch=v1#post-/dedicated/server/-serviceName-/install/start)
- Expiration
Date string - Order
Id float64
- date String
- details
List<Server
Order Detail> - Details object when reinstalling server (see https://eu.api.ovh.com/console/?section=%2Fdedicated%2Fserver&branch=v1#post-/dedicated/server/-serviceName-/install/start)
- expiration
Date String - order
Id Double
- date string
- details
Server
Order Detail[] - Details object when reinstalling server (see https://eu.api.ovh.com/console/?section=%2Fdedicated%2Fserver&branch=v1#post-/dedicated/server/-serviceName-/install/start)
- expiration
Date string - order
Id number
- date str
- details
Sequence[dedicated.
Server Order Detail] - Details object when reinstalling server (see https://eu.api.ovh.com/console/?section=%2Fdedicated%2Fserver&branch=v1#post-/dedicated/server/-serviceName-/install/start)
- expiration_
date str - order_
id float
- date String
- details List<Property Map>
- Details object when reinstalling server (see https://eu.api.ovh.com/console/?section=%2Fdedicated%2Fserver&branch=v1#post-/dedicated/server/-serviceName-/install/start)
- expiration
Date String - order
Id Number
ServerOrderDetail, ServerOrderDetailArgs
- Description string
- Detail
Type string - Product type of item in order
- Domain string
- Order
Detail doubleId - Quantity string
- Description string
- Detail
Type string - Product type of item in order
- Domain string
- Order
Detail float64Id - Quantity string
- description String
- detail
Type String - Product type of item in order
- domain String
- order
Detail DoubleId - quantity String
- description string
- detail
Type string - Product type of item in order
- domain string
- order
Detail numberId - quantity string
- description str
- detail_
type str - Product type of item in order
- domain str
- order_
detail_ floatid - quantity str
- description String
- detail
Type String - Product type of item in order
- domain String
- order
Detail NumberId - quantity String
ServerPlan, ServerPlanArgs
- Duration string
- Duration selected for the purchase of the product
- Plan
Code string - Identifier of the option offer
- Pricing
Mode string - Pricing mode selected for the purchase of the product
- Configurations
List<Server
Plan Configuration> - Item
Id double - Cart item to be linked
- Quantity double
- Quantity of product desired
- Duration string
- Duration selected for the purchase of the product
- Plan
Code string - Identifier of the option offer
- Pricing
Mode string - Pricing mode selected for the purchase of the product
- Configurations
[]Server
Plan Configuration - Item
Id float64 - Cart item to be linked
- Quantity float64
- Quantity of product desired
- duration String
- Duration selected for the purchase of the product
- plan
Code String - Identifier of the option offer
- pricing
Mode String - Pricing mode selected for the purchase of the product
- configurations
List<Server
Plan Configuration> - item
Id Double - Cart item to be linked
- quantity Double
- Quantity of product desired
- duration string
- Duration selected for the purchase of the product
- plan
Code string - Identifier of the option offer
- pricing
Mode string - Pricing mode selected for the purchase of the product
- configurations
Server
Plan Configuration[] - item
Id number - Cart item to be linked
- quantity number
- Quantity of product desired
- duration str
- Duration selected for the purchase of the product
- plan_
code str - Identifier of the option offer
- pricing_
mode str - Pricing mode selected for the purchase of the product
- configurations
Sequence[dedicated.
Server Plan Configuration] - item_
id float - Cart item to be linked
- quantity float
- Quantity of product desired
- duration String
- Duration selected for the purchase of the product
- plan
Code String - Identifier of the option offer
- pricing
Mode String - Pricing mode selected for the purchase of the product
- configurations List<Property Map>
- item
Id Number - Cart item to be linked
- quantity Number
- Quantity of product desired
ServerPlanConfiguration, ServerPlanConfigurationArgs
ServerPlanOption, ServerPlanOptionArgs
- Duration string
- Duration selected for the purchase of the product
- Plan
Code string - Identifier of the option offer
- Pricing
Mode string - Pricing mode selected for the purchase of the product
- Quantity double
- Quantity of product desired
- Configurations
List<Server
Plan Option Configuration>
- Duration string
- Duration selected for the purchase of the product
- Plan
Code string - Identifier of the option offer
- Pricing
Mode string - Pricing mode selected for the purchase of the product
- Quantity float64
- Quantity of product desired
- Configurations
[]Server
Plan Option Configuration
- duration String
- Duration selected for the purchase of the product
- plan
Code String - Identifier of the option offer
- pricing
Mode String - Pricing mode selected for the purchase of the product
- quantity Double
- Quantity of product desired
- configurations
List<Server
Plan Option Configuration>
- duration string
- Duration selected for the purchase of the product
- plan
Code string - Identifier of the option offer
- pricing
Mode string - Pricing mode selected for the purchase of the product
- quantity number
- Quantity of product desired
- configurations
Server
Plan Option Configuration[]
- duration str
- Duration selected for the purchase of the product
- plan_
code str - Identifier of the option offer
- pricing_
mode str - Pricing mode selected for the purchase of the product
- quantity float
- Quantity of product desired
- configurations
Sequence[dedicated.
Server Plan Option Configuration]
- duration String
- Duration selected for the purchase of the product
- plan
Code String - Identifier of the option offer
- pricing
Mode String - Pricing mode selected for the purchase of the product
- quantity Number
- Quantity of product desired
- configurations List<Property Map>
ServerPlanOptionConfiguration, ServerPlanOptionConfigurationArgs
ServerUserMetadata, ServerUserMetadataArgs
Package Details
- Repository
- ovh ovh/pulumi-ovh
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ovh
Terraform Provider.