1. Packages
  2. OVH
  3. API Docs
  4. Dedicated
  5. Server
OVHCloud v1.0.0 published on Wednesday, Oct 30, 2024 by OVHcloud

ovh.Dedicated.Server

Explore with Pulumi AI

ovh logo
OVHCloud v1.0.0 published on Wednesday, Oct 30, 2024 by OVHcloud

    Import

    Dedicated servers can be imported using the service_name.

    Using the following configuration:

    hcl

    import {

    to = ovh_dedicated_server.server

    id = “

    }

    You can then run:

    bash

    $ pulumi preview -generate-config-out=dedicated.tf

    $ pulumi up

    The file dedicated.tf will then contain the imported resource’s configuration, that can be copied next to the import block above.

    See https://developer.hashicorp.com/terraform/language/import/generating-configuration for more details.

    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: Optional[ServerArgs] = None,
               opts: Optional[ResourceOptions] = None)
    
    @overload
    def Server(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               boot_id: Optional[float] = None,
               boot_script: Optional[str] = None,
               details: Optional[_dedicated.ServerDetailsArgs] = None,
               display_name: Optional[str] = None,
               monitoring: Optional[bool] = None,
               no_intervention: Optional[bool] = 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,
               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 = null, 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()
    {
        BootId = 0,
        BootScript = "string",
        Details = new Ovh.Dedicated.Inputs.ServerDetailsArgs
        {
            CustomHostname = "string",
            DiskGroupId = 0,
            NoRaid = false,
            SoftRaidDevices = 0,
        },
        DisplayName = "string",
        Monitoring = false,
        NoIntervention = false,
        OvhSubsidiary = "string",
        PartitionSchemeName = "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,
            },
        },
        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{
    	BootId:     pulumi.Float64(0),
    	BootScript: pulumi.String("string"),
    	Details: &dedicated.ServerDetailsArgs{
    		CustomHostname:  pulumi.String("string"),
    		DiskGroupId:     pulumi.Float64(0),
    		NoRaid:          pulumi.Bool(false),
    		SoftRaidDevices: pulumi.Float64(0),
    	},
    	DisplayName:         pulumi.String("string"),
    	Monitoring:          pulumi.Bool(false),
    	NoIntervention:      pulumi.Bool(false),
    	OvhSubsidiary:       pulumi.String("string"),
    	PartitionSchemeName: 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),
    		},
    	},
    	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()
        .bootId(0)
        .bootScript("string")
        .details(ServerDetailsArgs.builder()
            .customHostname("string")
            .diskGroupId(0)
            .noRaid(false)
            .softRaidDevices(0)
            .build())
        .displayName("string")
        .monitoring(false)
        .noIntervention(false)
        .ovhSubsidiary("string")
        .partitionSchemeName("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())
        .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",
        boot_id=0,
        boot_script="string",
        details={
            "custom_hostname": "string",
            "disk_group_id": 0,
            "no_raid": False,
            "soft_raid_devices": 0,
        },
        display_name="string",
        monitoring=False,
        no_intervention=False,
        ovh_subsidiary="string",
        partition_scheme_name="string",
        plan_options=[{
            "duration": "string",
            "plan_code": "string",
            "pricing_mode": "string",
            "quantity": 0,
            "configurations": [{
                "label": "string",
                "value": "string",
            }],
        }],
        plans=[{
            "duration": "string",
            "plan_code": "string",
            "pricing_mode": "string",
            "configurations": [{
                "label": "string",
                "value": "string",
            }],
            "item_id": 0,
            "quantity": 0,
        }],
        rescue_mail="string",
        rescue_ssh_key="string",
        root_device="string",
        state="string",
        template_name="string",
        user_metadatas=[{
            "key": "string",
            "value": "string",
        }])
    
    const serverResource = new ovh.dedicated.Server("serverResource", {
        bootId: 0,
        bootScript: "string",
        details: {
            customHostname: "string",
            diskGroupId: 0,
            noRaid: false,
            softRaidDevices: 0,
        },
        displayName: "string",
        monitoring: false,
        noIntervention: false,
        ovhSubsidiary: "string",
        partitionSchemeName: "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,
        }],
        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

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Server resource accepts the following input properties:

    BootId double
    Boot id of the server
    BootScript string
    Boot script of the server
    Details ServerDetails
    A structure describing informations about installation custom
    DisplayName string
    Resource display name
    Monitoring bool
    Icmp monitoring state
    NoIntervention bool
    Prevent datacenter intervention
    OvhSubsidiary string
    OVH subsidiaries
    PartitionSchemeName string
    Partition scheme name
    PlanOptions List<ServerPlanOption>
    Plans List<ServerPlan>
    RescueMail string
    Rescue mail of the server
    RescueSshKey string
    Public SSH Key used in the rescue mode
    RootDevice string
    Root device of the server
    State string
    All states a Dedicated can be in (error, hacked, hackedBlocked, ok)
    TemplateName string
    Template name
    UserMetadatas List<ServerUserMetadata>
    Metadata
    BootId float64
    Boot id of the server
    BootScript string
    Boot script of the server
    Details ServerDetailsArgs
    A structure describing informations about installation custom
    DisplayName string
    Resource display name
    Monitoring bool
    Icmp monitoring state
    NoIntervention bool
    Prevent datacenter intervention
    OvhSubsidiary string
    OVH subsidiaries
    PartitionSchemeName string
    Partition scheme name
    PlanOptions []ServerPlanOptionArgs
    Plans []ServerPlanArgs
    RescueMail string
    Rescue mail of the server
    RescueSshKey string
    Public SSH Key used in the rescue mode
    RootDevice string
    Root device of the server
    State string
    All states a Dedicated can be in (error, hacked, hackedBlocked, ok)
    TemplateName string
    Template name
    UserMetadatas []ServerUserMetadataArgs
    Metadata
    bootId Double
    Boot id of the server
    bootScript String
    Boot script of the server
    details ServerDetails
    A structure describing informations about installation custom
    displayName String
    Resource display name
    monitoring Boolean
    Icmp monitoring state
    noIntervention Boolean
    Prevent datacenter intervention
    ovhSubsidiary String
    OVH subsidiaries
    partitionSchemeName String
    Partition scheme name
    planOptions List<ServerPlanOption>
    plans List<ServerPlan>
    rescueMail String
    Rescue mail of the server
    rescueSshKey String
    Public SSH Key used in the rescue mode
    rootDevice String
    Root device of the server
    state String
    All states a Dedicated can be in (error, hacked, hackedBlocked, ok)
    templateName String
    Template name
    userMetadatas List<ServerUserMetadata>
    Metadata
    bootId number
    Boot id of the server
    bootScript string
    Boot script of the server
    details ServerDetails
    A structure describing informations about installation custom
    displayName string
    Resource display name
    monitoring boolean
    Icmp monitoring state
    noIntervention boolean
    Prevent datacenter intervention
    ovhSubsidiary string
    OVH subsidiaries
    partitionSchemeName string
    Partition scheme name
    planOptions ServerPlanOption[]
    plans ServerPlan[]
    rescueMail string
    Rescue mail of the server
    rescueSshKey string
    Public SSH Key used in the rescue mode
    rootDevice string
    Root device of the server
    state string
    All states a Dedicated can be in (error, hacked, hackedBlocked, ok)
    templateName string
    Template name
    userMetadatas ServerUserMetadata[]
    Metadata
    boot_id float
    Boot id of the server
    boot_script str
    Boot script of the server
    details dedicated.ServerDetailsArgs
    A structure describing informations about installation custom
    display_name str
    Resource display name
    monitoring bool
    Icmp monitoring state
    no_intervention bool
    Prevent datacenter intervention
    ovh_subsidiary str
    OVH subsidiaries
    partition_scheme_name str
    Partition scheme name
    plan_options Sequence[dedicated.ServerPlanOptionArgs]
    plans Sequence[dedicated.ServerPlanArgs]
    rescue_mail str
    Rescue mail of the server
    rescue_ssh_key str
    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.ServerUserMetadataArgs]
    Metadata
    bootId Number
    Boot id of the server
    bootScript String
    Boot script of the server
    details Property Map
    A structure describing informations about installation custom
    displayName String
    Resource display name
    monitoring Boolean
    Icmp monitoring state
    noIntervention Boolean
    Prevent datacenter intervention
    ovhSubsidiary String
    OVH subsidiaries
    partitionSchemeName String
    Partition scheme name
    planOptions List<Property Map>
    plans List<Property Map>
    rescueMail String
    Rescue mail of the server
    rescueSshKey String
    Public SSH Key used in the rescue mode
    rootDevice String
    Root device of the server
    state String
    All states a Dedicated can be in (error, hacked, hackedBlocked, ok)
    templateName String
    Template name
    userMetadatas List<Property Map>
    Metadata

    Outputs

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

    AvailabilityZone string
    Dedicated AZ localisation
    CommercialRange string
    Dedicated server commercial range
    Datacenter string
    Dedicated datacenter localisation (bhs1,bhs2,...)
    Iam ServerIam
    IAM resource information
    Id string
    The provider-assigned unique ID for this managed resource.
    Ip string
    Dedicated server ip (IPv4)
    LinkSpeed double
    Link speed of the server
    Name string
    Dedicated server name
    NewUpgradeSystem bool
    Order ServerOrder
    Details about an Order
    Os string
    Operating system
    PowerState string
    Power state of the server (poweron, poweroff)
    ProfessionalUse 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
    ServerId double
    Server id
    ServiceName string
    The service_name of your dedicated server
    SupportLevel string
    Dedicated server support level (critical, fastpath, gs, pro)
    AvailabilityZone string
    Dedicated AZ localisation
    CommercialRange string
    Dedicated server commercial range
    Datacenter string
    Dedicated datacenter localisation (bhs1,bhs2,...)
    Iam ServerIam
    IAM resource information
    Id string
    The provider-assigned unique ID for this managed resource.
    Ip string
    Dedicated server ip (IPv4)
    LinkSpeed float64
    Link speed of the server
    Name string
    Dedicated server name
    NewUpgradeSystem bool
    Order ServerOrder
    Details about an Order
    Os string
    Operating system
    PowerState string
    Power state of the server (poweron, poweroff)
    ProfessionalUse 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
    ServerId float64
    Server id
    ServiceName string
    The service_name of your dedicated server
    SupportLevel string
    Dedicated server support level (critical, fastpath, gs, pro)
    availabilityZone String
    Dedicated AZ localisation
    commercialRange String
    Dedicated server commercial range
    datacenter String
    Dedicated datacenter localisation (bhs1,bhs2,...)
    iam ServerIam
    IAM resource information
    id String
    The provider-assigned unique ID for this managed resource.
    ip String
    Dedicated server ip (IPv4)
    linkSpeed Double
    Link speed of the server
    name String
    Dedicated server name
    newUpgradeSystem Boolean
    order ServerOrder
    Details about an Order
    os String
    Operating system
    powerState String
    Power state of the server (poweron, poweroff)
    professionalUse 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
    serverId Double
    Server id
    serviceName String
    The service_name of your dedicated server
    supportLevel String
    Dedicated server support level (critical, fastpath, gs, pro)
    availabilityZone string
    Dedicated AZ localisation
    commercialRange string
    Dedicated server commercial range
    datacenter string
    Dedicated datacenter localisation (bhs1,bhs2,...)
    iam ServerIam
    IAM resource information
    id string
    The provider-assigned unique ID for this managed resource.
    ip string
    Dedicated server ip (IPv4)
    linkSpeed number
    Link speed of the server
    name string
    Dedicated server name
    newUpgradeSystem boolean
    order ServerOrder
    Details about an Order
    os string
    Operating system
    powerState string
    Power state of the server (poweron, poweroff)
    professionalUse 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
    serverId number
    Server id
    serviceName string
    The service_name of your dedicated server
    supportLevel 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.ServerIam
    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_system bool
    order dedicated.ServerOrder
    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)
    availabilityZone String
    Dedicated AZ localisation
    commercialRange 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)
    linkSpeed Number
    Link speed of the server
    name String
    Dedicated server name
    newUpgradeSystem Boolean
    order Property Map
    Details about an Order
    os String
    Operating system
    powerState String
    Power state of the server (poweron, poweroff)
    professionalUse 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
    serverId Number
    Server id
    serviceName String
    The service_name of your dedicated server
    supportLevel 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.
    The following state arguments are supported:
    AvailabilityZone string
    Dedicated AZ localisation
    BootId double
    Boot id of the server
    BootScript string
    Boot script of the server
    CommercialRange string
    Dedicated server commercial range
    Datacenter string
    Dedicated datacenter localisation (bhs1,bhs2,...)
    Details ServerDetails
    A structure describing informations about installation custom
    DisplayName string
    Resource display name
    Iam ServerIam
    IAM resource information
    Ip string
    Dedicated server ip (IPv4)
    LinkSpeed double
    Link speed of the server
    Monitoring bool
    Icmp monitoring state
    Name string
    Dedicated server name
    NewUpgradeSystem bool
    NoIntervention bool
    Prevent datacenter intervention
    Order ServerOrder
    Details about an Order
    Os string
    Operating system
    OvhSubsidiary string
    OVH subsidiaries
    PartitionSchemeName string
    Partition scheme name
    PlanOptions List<ServerPlanOption>
    Plans List<ServerPlan>
    PowerState string
    Power state of the server (poweron, poweroff)
    ProfessionalUse bool
    Does this server have professional use option
    Rack string
    Rack id of the server
    Region string
    Dedicated region localisation
    RescueMail string
    Rescue mail of the server
    RescueSshKey string
    Public SSH Key used in the rescue mode
    Reverse string
    Dedicated server reverse
    RootDevice string
    Root device of the server
    ServerId double
    Server id
    ServiceName string
    The service_name of your dedicated server
    State string
    All states a Dedicated can be in (error, hacked, hackedBlocked, ok)
    SupportLevel string
    Dedicated server support level (critical, fastpath, gs, pro)
    TemplateName string
    Template name
    UserMetadatas List<ServerUserMetadata>
    Metadata
    AvailabilityZone string
    Dedicated AZ localisation
    BootId float64
    Boot id of the server
    BootScript string
    Boot script of the server
    CommercialRange string
    Dedicated server commercial range
    Datacenter string
    Dedicated datacenter localisation (bhs1,bhs2,...)
    Details ServerDetailsArgs
    A structure describing informations about installation custom
    DisplayName string
    Resource display name
    Iam ServerIamArgs
    IAM resource information
    Ip string
    Dedicated server ip (IPv4)
    LinkSpeed float64
    Link speed of the server
    Monitoring bool
    Icmp monitoring state
    Name string
    Dedicated server name
    NewUpgradeSystem bool
    NoIntervention bool
    Prevent datacenter intervention
    Order ServerOrderArgs
    Details about an Order
    Os string
    Operating system
    OvhSubsidiary string
    OVH subsidiaries
    PartitionSchemeName string
    Partition scheme name
    PlanOptions []ServerPlanOptionArgs
    Plans []ServerPlanArgs
    PowerState string
    Power state of the server (poweron, poweroff)
    ProfessionalUse bool
    Does this server have professional use option
    Rack string
    Rack id of the server
    Region string
    Dedicated region localisation
    RescueMail string
    Rescue mail of the server
    RescueSshKey string
    Public SSH Key used in the rescue mode
    Reverse string
    Dedicated server reverse
    RootDevice string
    Root device of the server
    ServerId float64
    Server id
    ServiceName string
    The service_name of your dedicated server
    State string
    All states a Dedicated can be in (error, hacked, hackedBlocked, ok)
    SupportLevel string
    Dedicated server support level (critical, fastpath, gs, pro)
    TemplateName string
    Template name
    UserMetadatas []ServerUserMetadataArgs
    Metadata
    availabilityZone String
    Dedicated AZ localisation
    bootId Double
    Boot id of the server
    bootScript String
    Boot script of the server
    commercialRange String
    Dedicated server commercial range
    datacenter String
    Dedicated datacenter localisation (bhs1,bhs2,...)
    details ServerDetails
    A structure describing informations about installation custom
    displayName String
    Resource display name
    iam ServerIam
    IAM resource information
    ip String
    Dedicated server ip (IPv4)
    linkSpeed Double
    Link speed of the server
    monitoring Boolean
    Icmp monitoring state
    name String
    Dedicated server name
    newUpgradeSystem Boolean
    noIntervention Boolean
    Prevent datacenter intervention
    order ServerOrder
    Details about an Order
    os String
    Operating system
    ovhSubsidiary String
    OVH subsidiaries
    partitionSchemeName String
    Partition scheme name
    planOptions List<ServerPlanOption>
    plans List<ServerPlan>
    powerState String
    Power state of the server (poweron, poweroff)
    professionalUse Boolean
    Does this server have professional use option
    rack String
    Rack id of the server
    region String
    Dedicated region localisation
    rescueMail String
    Rescue mail of the server
    rescueSshKey String
    Public SSH Key used in the rescue mode
    reverse String
    Dedicated server reverse
    rootDevice String
    Root device of the server
    serverId Double
    Server id
    serviceName String
    The service_name of your dedicated server
    state String
    All states a Dedicated can be in (error, hacked, hackedBlocked, ok)
    supportLevel String
    Dedicated server support level (critical, fastpath, gs, pro)
    templateName String
    Template name
    userMetadatas List<ServerUserMetadata>
    Metadata
    availabilityZone string
    Dedicated AZ localisation
    bootId number
    Boot id of the server
    bootScript string
    Boot script of the server
    commercialRange string
    Dedicated server commercial range
    datacenter string
    Dedicated datacenter localisation (bhs1,bhs2,...)
    details ServerDetails
    A structure describing informations about installation custom
    displayName string
    Resource display name
    iam ServerIam
    IAM resource information
    ip string
    Dedicated server ip (IPv4)
    linkSpeed number
    Link speed of the server
    monitoring boolean
    Icmp monitoring state
    name string
    Dedicated server name
    newUpgradeSystem boolean
    noIntervention boolean
    Prevent datacenter intervention
    order ServerOrder
    Details about an Order
    os string
    Operating system
    ovhSubsidiary string
    OVH subsidiaries
    partitionSchemeName string
    Partition scheme name
    planOptions ServerPlanOption[]
    plans ServerPlan[]
    powerState string
    Power state of the server (poweron, poweroff)
    professionalUse boolean
    Does this server have professional use option
    rack string
    Rack id of the server
    region string
    Dedicated region localisation
    rescueMail string
    Rescue mail of the server
    rescueSshKey string
    Public SSH Key used in the rescue mode
    reverse string
    Dedicated server reverse
    rootDevice string
    Root device of the server
    serverId number
    Server id
    serviceName string
    The service_name of your dedicated server
    state string
    All states a Dedicated can be in (error, hacked, hackedBlocked, ok)
    supportLevel string
    Dedicated server support level (critical, fastpath, gs, pro)
    templateName string
    Template name
    userMetadatas ServerUserMetadata[]
    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.ServerDetailsArgs
    A structure describing informations about installation custom
    display_name str
    Resource display name
    iam dedicated.ServerIamArgs
    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_system bool
    no_intervention bool
    Prevent datacenter intervention
    order dedicated.ServerOrderArgs
    Details about an Order
    os str
    Operating system
    ovh_subsidiary str
    OVH subsidiaries
    partition_scheme_name str
    Partition scheme name
    plan_options Sequence[dedicated.ServerPlanOptionArgs]
    plans Sequence[dedicated.ServerPlanArgs]
    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_key str
    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.ServerUserMetadataArgs]
    Metadata
    availabilityZone String
    Dedicated AZ localisation
    bootId Number
    Boot id of the server
    bootScript String
    Boot script of the server
    commercialRange String
    Dedicated server commercial range
    datacenter String
    Dedicated datacenter localisation (bhs1,bhs2,...)
    details Property Map
    A structure describing informations about installation custom
    displayName String
    Resource display name
    iam Property Map
    IAM resource information
    ip String
    Dedicated server ip (IPv4)
    linkSpeed Number
    Link speed of the server
    monitoring Boolean
    Icmp monitoring state
    name String
    Dedicated server name
    newUpgradeSystem Boolean
    noIntervention Boolean
    Prevent datacenter intervention
    order Property Map
    Details about an Order
    os String
    Operating system
    ovhSubsidiary String
    OVH subsidiaries
    partitionSchemeName String
    Partition scheme name
    planOptions List<Property Map>
    plans List<Property Map>
    powerState String
    Power state of the server (poweron, poweroff)
    professionalUse Boolean
    Does this server have professional use option
    rack String
    Rack id of the server
    region String
    Dedicated region localisation
    rescueMail String
    Rescue mail of the server
    rescueSshKey String
    Public SSH Key used in the rescue mode
    reverse String
    Dedicated server reverse
    rootDevice String
    Root device of the server
    serverId Number
    Server id
    serviceName String
    The service_name of your dedicated server
    state String
    All states a Dedicated can be in (error, hacked, hackedBlocked, ok)
    supportLevel String
    Dedicated server support level (critical, fastpath, gs, pro)
    templateName String
    Template name
    userMetadatas List<Property Map>
    Metadata

    Supporting Types

    ServerDetails, ServerDetailsArgs

    CustomHostname string
    Personnal hostname to use in server reinstallation
    DiskGroupId double
    Disk group id to process install on (only available for some templates)
    NoRaid bool
    true if you want to install only on the first disk
    SoftRaidDevices double
    Number of devices to use for system's software RAID
    CustomHostname string
    Personnal hostname to use in server reinstallation
    DiskGroupId float64
    Disk group id to process install on (only available for some templates)
    NoRaid bool
    true if you want to install only on the first disk
    SoftRaidDevices float64
    Number of devices to use for system's software RAID
    customHostname String
    Personnal hostname to use in server reinstallation
    diskGroupId Double
    Disk group id to process install on (only available for some templates)
    noRaid Boolean
    true if you want to install only on the first disk
    softRaidDevices Double
    Number of devices to use for system's software RAID
    customHostname string
    Personnal hostname to use in server reinstallation
    diskGroupId number
    Disk group id to process install on (only available for some templates)
    noRaid boolean
    true if you want to install only on the first disk
    softRaidDevices number
    Number of devices to use for system's software RAID
    custom_hostname str
    Personnal hostname to use in server reinstallation
    disk_group_id float
    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_devices float
    Number of devices to use for system's software RAID
    customHostname String
    Personnal hostname to use in server reinstallation
    diskGroupId Number
    Disk group id to process install on (only available for some templates)
    noRaid Boolean
    true if you want to install only on the first disk
    softRaidDevices Number
    Number of devices to use for system's software RAID

    ServerIam, ServerIamArgs

    DisplayName string
    Resource display name
    Id string
    Unique identifier of the resource in the IAM
    Tags 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
    DisplayName string
    Resource display name
    Id string
    Unique identifier of the resource in the IAM
    Tags 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
    displayName String
    Resource display name
    id String
    Unique identifier of the resource in the IAM
    tags 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
    displayName string
    Resource display name
    id string
    Unique identifier of the resource in the IAM
    tags {[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
    tags 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
    displayName String
    Resource display name
    id String
    Unique identifier of the resource in the IAM
    tags 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<ServerOrderDetail>
    Details object when reinstalling server (see https://eu.api.ovh.com/console/?section=%2Fdedicated%2Fserver&branch=v1#post-/dedicated/server/-serviceName-/install/start)
    ExpirationDate string
    OrderId double
    Date string
    Details []ServerOrderDetail
    Details object when reinstalling server (see https://eu.api.ovh.com/console/?section=%2Fdedicated%2Fserver&branch=v1#post-/dedicated/server/-serviceName-/install/start)
    ExpirationDate string
    OrderId float64
    date String
    details List<ServerOrderDetail>
    Details object when reinstalling server (see https://eu.api.ovh.com/console/?section=%2Fdedicated%2Fserver&branch=v1#post-/dedicated/server/-serviceName-/install/start)
    expirationDate String
    orderId Double
    date string
    details ServerOrderDetail[]
    Details object when reinstalling server (see https://eu.api.ovh.com/console/?section=%2Fdedicated%2Fserver&branch=v1#post-/dedicated/server/-serviceName-/install/start)
    expirationDate string
    orderId number
    date str
    details Sequence[dedicated.ServerOrderDetail]
    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)
    expirationDate String
    orderId Number

    ServerOrderDetail, ServerOrderDetailArgs

    Description string
    DetailType string
    Product type of item in order
    Domain string
    OrderDetailId double
    Quantity string
    Description string
    DetailType string
    Product type of item in order
    Domain string
    OrderDetailId float64
    Quantity string
    description String
    detailType String
    Product type of item in order
    domain String
    orderDetailId Double
    quantity String
    description string
    detailType string
    Product type of item in order
    domain string
    orderDetailId number
    quantity string
    description str
    detail_type str
    Product type of item in order
    domain str
    order_detail_id float
    quantity str
    description String
    detailType String
    Product type of item in order
    domain String
    orderDetailId Number
    quantity String

    ServerPlan, ServerPlanArgs

    Duration string
    Duration selected for the purchase of the product
    PlanCode string
    Identifier of the option offer
    PricingMode string
    Pricing mode selected for the purchase of the product
    Configurations List<ServerPlanConfiguration>
    ItemId double
    Cart item to be linked
    Quantity double
    Quantity of product desired
    Duration string
    Duration selected for the purchase of the product
    PlanCode string
    Identifier of the option offer
    PricingMode string
    Pricing mode selected for the purchase of the product
    Configurations []ServerPlanConfiguration
    ItemId float64
    Cart item to be linked
    Quantity float64
    Quantity of product desired
    duration String
    Duration selected for the purchase of the product
    planCode String
    Identifier of the option offer
    pricingMode String
    Pricing mode selected for the purchase of the product
    configurations List<ServerPlanConfiguration>
    itemId Double
    Cart item to be linked
    quantity Double
    Quantity of product desired
    duration string
    Duration selected for the purchase of the product
    planCode string
    Identifier of the option offer
    pricingMode string
    Pricing mode selected for the purchase of the product
    configurations ServerPlanConfiguration[]
    itemId 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.ServerPlanConfiguration]
    item_id float
    Cart item to be linked
    quantity float
    Quantity of product desired
    duration String
    Duration selected for the purchase of the product
    planCode String
    Identifier of the option offer
    pricingMode String
    Pricing mode selected for the purchase of the product
    configurations List<Property Map>
    itemId Number
    Cart item to be linked
    quantity Number
    Quantity of product desired

    ServerPlanConfiguration, ServerPlanConfigurationArgs

    Label string
    Label for your configuration item
    Value string
    Value or resource URL on API.OVH.COM of your configuration item
    Label string
    Label for your configuration item
    Value string
    Value or resource URL on API.OVH.COM of your configuration item
    label String
    Label for your configuration item
    value String
    Value or resource URL on API.OVH.COM of your configuration item
    label string
    Label for your configuration item
    value string
    Value or resource URL on API.OVH.COM of your configuration item
    label str
    Label for your configuration item
    value str
    Value or resource URL on API.OVH.COM of your configuration item
    label String
    Label for your configuration item
    value String
    Value or resource URL on API.OVH.COM of your configuration item

    ServerPlanOption, ServerPlanOptionArgs

    Duration string
    Duration selected for the purchase of the product
    PlanCode string
    Identifier of the option offer
    PricingMode string
    Pricing mode selected for the purchase of the product
    Quantity double
    Quantity of product desired
    Configurations List<ServerPlanOptionConfiguration>
    Duration string
    Duration selected for the purchase of the product
    PlanCode string
    Identifier of the option offer
    PricingMode string
    Pricing mode selected for the purchase of the product
    Quantity float64
    Quantity of product desired
    Configurations []ServerPlanOptionConfiguration
    duration String
    Duration selected for the purchase of the product
    planCode String
    Identifier of the option offer
    pricingMode String
    Pricing mode selected for the purchase of the product
    quantity Double
    Quantity of product desired
    configurations List<ServerPlanOptionConfiguration>
    duration string
    Duration selected for the purchase of the product
    planCode string
    Identifier of the option offer
    pricingMode string
    Pricing mode selected for the purchase of the product
    quantity number
    Quantity of product desired
    configurations ServerPlanOptionConfiguration[]
    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.ServerPlanOptionConfiguration]
    duration String
    Duration selected for the purchase of the product
    planCode String
    Identifier of the option offer
    pricingMode String
    Pricing mode selected for the purchase of the product
    quantity Number
    Quantity of product desired
    configurations List<Property Map>

    ServerPlanOptionConfiguration, ServerPlanOptionConfigurationArgs

    Label string
    Label for your configuration item
    Value string
    Value or resource URL on API.OVH.COM of your configuration item
    Label string
    Label for your configuration item
    Value string
    Value or resource URL on API.OVH.COM of your configuration item
    label String
    Label for your configuration item
    value String
    Value or resource URL on API.OVH.COM of your configuration item
    label string
    Label for your configuration item
    value string
    Value or resource URL on API.OVH.COM of your configuration item
    label str
    Label for your configuration item
    value str
    Value or resource URL on API.OVH.COM of your configuration item
    label String
    Label for your configuration item
    value String
    Value or resource URL on API.OVH.COM of your configuration item

    ServerUserMetadata, ServerUserMetadataArgs

    Key string
    Value string
    Key string
    Value string
    key String
    value String
    key string
    value string
    key str
    value str
    key String
    value String

    Package Details

    Repository
    ovh ovh/pulumi-ovh
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the ovh Terraform Provider.
    ovh logo
    OVHCloud v1.0.0 published on Wednesday, Oct 30, 2024 by OVHcloud