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

ovh.Dedicated.getServerSpecificationsHardware

Explore with Pulumi AI

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

    Use this data source to get the hardward information about a dedicated server associated with your OVHcloud Account.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ovh from "@pulumi/ovh";
    
    const spec = ovh.Dedicated.getServerSpecificationsHardware({
        serviceName: "myserver",
    });
    
    import pulumi
    import pulumi_ovh as ovh
    
    spec = ovh.Dedicated.get_server_specifications_hardware(service_name="myserver")
    
    package main
    
    import (
    	"github.com/ovh/pulumi-ovh/sdk/go/ovh/Dedicated"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := Dedicated.GetServerSpecificationsHardware(ctx, &dedicated.GetServerSpecificationsHardwareArgs{
    			ServiceName: "myserver",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ovh = Pulumi.Ovh;
    
    return await Deployment.RunAsync(() => 
    {
        var spec = Ovh.Dedicated.GetServerSpecificationsHardware.Invoke(new()
        {
            ServiceName = "myserver",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ovh.Dedicated.DedicatedFunctions;
    import com.pulumi.ovh.Dedicated.inputs.GetServerSpecificationsHardwareArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var spec = DedicatedFunctions.getServerSpecificationsHardware(GetServerSpecificationsHardwareArgs.builder()
                .serviceName("myserver")
                .build());
    
        }
    }
    
    variables:
      spec:
        fn::invoke:
          Function: ovh:Dedicated:getServerSpecificationsHardware
          Arguments:
            serviceName: myserver
    

    Using getServerSpecificationsHardware

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getServerSpecificationsHardware(args: GetServerSpecificationsHardwareArgs, opts?: InvokeOptions): Promise<GetServerSpecificationsHardwareResult>
    function getServerSpecificationsHardwareOutput(args: GetServerSpecificationsHardwareOutputArgs, opts?: InvokeOptions): Output<GetServerSpecificationsHardwareResult>
    def get_server_specifications_hardware(service_name: Optional[str] = None,
                                           opts: Optional[InvokeOptions] = None) -> GetServerSpecificationsHardwareResult
    def get_server_specifications_hardware_output(service_name: Optional[pulumi.Input[str]] = None,
                                           opts: Optional[InvokeOptions] = None) -> Output[GetServerSpecificationsHardwareResult]
    func GetServerSpecificationsHardware(ctx *Context, args *GetServerSpecificationsHardwareArgs, opts ...InvokeOption) (*GetServerSpecificationsHardwareResult, error)
    func GetServerSpecificationsHardwareOutput(ctx *Context, args *GetServerSpecificationsHardwareOutputArgs, opts ...InvokeOption) GetServerSpecificationsHardwareResultOutput

    > Note: This function is named GetServerSpecificationsHardware in the Go SDK.

    public static class GetServerSpecificationsHardware 
    {
        public static Task<GetServerSpecificationsHardwareResult> InvokeAsync(GetServerSpecificationsHardwareArgs args, InvokeOptions? opts = null)
        public static Output<GetServerSpecificationsHardwareResult> Invoke(GetServerSpecificationsHardwareInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetServerSpecificationsHardwareResult> getServerSpecificationsHardware(GetServerSpecificationsHardwareArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: ovh:Dedicated/getServerSpecificationsHardware:getServerSpecificationsHardware
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ServiceName string
    The internal name of your dedicated server.
    ServiceName string
    The internal name of your dedicated server.
    serviceName String
    The internal name of your dedicated server.
    serviceName string
    The internal name of your dedicated server.
    service_name str
    The internal name of your dedicated server.
    serviceName String
    The internal name of your dedicated server.

    getServerSpecificationsHardware Result

    The following output properties are available:

    BootMode string
    Server boot mode
    CoresPerProcessor double
    Number of cores per processor
    DefaultHardwareRaidSize GetServerSpecificationsHardwareDefaultHardwareRaidSize
    Default hardware raid size for this disk group
    DefaultHardwareRaidType string
    Default hardware raid type for this disk group
    Description string
    Expansion card description
    DiskGroups List<GetServerSpecificationsHardwareDiskGroup>
    Details about the groups of disks in the server
    ExpansionCards List<GetServerSpecificationsHardwareExpansionCard>
    Details about the server's expansion cards
    FormFactor string
    Server form factor
    Id string
    The provider-assigned unique ID for this managed resource.
    MemorySize GetServerSpecificationsHardwareMemorySize
    RAM capacity
    Motherboard string
    Server motherboard
    NumberOfProcessors double
    Number of processors in this dedicated server
    ProcessorArchitecture string
    Processor architecture bit
    ProcessorName string
    Processor name
    ServiceName string
    ThreadsPerProcessor double
    Number of threads per processor
    UsbKeys List<GetServerSpecificationsHardwareUsbKey>
    Capacity of the USB keys installed on your server, if any
    BootMode string
    Server boot mode
    CoresPerProcessor float64
    Number of cores per processor
    DefaultHardwareRaidSize GetServerSpecificationsHardwareDefaultHardwareRaidSize
    Default hardware raid size for this disk group
    DefaultHardwareRaidType string
    Default hardware raid type for this disk group
    Description string
    Expansion card description
    DiskGroups []GetServerSpecificationsHardwareDiskGroup
    Details about the groups of disks in the server
    ExpansionCards []GetServerSpecificationsHardwareExpansionCard
    Details about the server's expansion cards
    FormFactor string
    Server form factor
    Id string
    The provider-assigned unique ID for this managed resource.
    MemorySize GetServerSpecificationsHardwareMemorySize
    RAM capacity
    Motherboard string
    Server motherboard
    NumberOfProcessors float64
    Number of processors in this dedicated server
    ProcessorArchitecture string
    Processor architecture bit
    ProcessorName string
    Processor name
    ServiceName string
    ThreadsPerProcessor float64
    Number of threads per processor
    UsbKeys []GetServerSpecificationsHardwareUsbKey
    Capacity of the USB keys installed on your server, if any
    bootMode String
    Server boot mode
    coresPerProcessor Double
    Number of cores per processor
    defaultHardwareRaidSize GetServerSpecificationsHardwareDefaultHardwareRaidSize
    Default hardware raid size for this disk group
    defaultHardwareRaidType String
    Default hardware raid type for this disk group
    description String
    Expansion card description
    diskGroups List<GetServerSpecificationsHardwareDiskGroup>
    Details about the groups of disks in the server
    expansionCards List<GetServerSpecificationsHardwareExpansionCard>
    Details about the server's expansion cards
    formFactor String
    Server form factor
    id String
    The provider-assigned unique ID for this managed resource.
    memorySize GetServerSpecificationsHardwareMemorySize
    RAM capacity
    motherboard String
    Server motherboard
    numberOfProcessors Double
    Number of processors in this dedicated server
    processorArchitecture String
    Processor architecture bit
    processorName String
    Processor name
    serviceName String
    threadsPerProcessor Double
    Number of threads per processor
    usbKeys List<GetServerSpecificationsHardwareUsbKey>
    Capacity of the USB keys installed on your server, if any
    bootMode string
    Server boot mode
    coresPerProcessor number
    Number of cores per processor
    defaultHardwareRaidSize GetServerSpecificationsHardwareDefaultHardwareRaidSize
    Default hardware raid size for this disk group
    defaultHardwareRaidType string
    Default hardware raid type for this disk group
    description string
    Expansion card description
    diskGroups GetServerSpecificationsHardwareDiskGroup[]
    Details about the groups of disks in the server
    expansionCards GetServerSpecificationsHardwareExpansionCard[]
    Details about the server's expansion cards
    formFactor string
    Server form factor
    id string
    The provider-assigned unique ID for this managed resource.
    memorySize GetServerSpecificationsHardwareMemorySize
    RAM capacity
    motherboard string
    Server motherboard
    numberOfProcessors number
    Number of processors in this dedicated server
    processorArchitecture string
    Processor architecture bit
    processorName string
    Processor name
    serviceName string
    threadsPerProcessor number
    Number of threads per processor
    usbKeys GetServerSpecificationsHardwareUsbKey[]
    Capacity of the USB keys installed on your server, if any
    boot_mode str
    Server boot mode
    cores_per_processor float
    Number of cores per processor
    default_hardware_raid_size dedicated.GetServerSpecificationsHardwareDefaultHardwareRaidSize
    Default hardware raid size for this disk group
    default_hardware_raid_type str
    Default hardware raid type for this disk group
    description str
    Expansion card description
    disk_groups Sequence[dedicated.GetServerSpecificationsHardwareDiskGroup]
    Details about the groups of disks in the server
    expansion_cards Sequence[dedicated.GetServerSpecificationsHardwareExpansionCard]
    Details about the server's expansion cards
    form_factor str
    Server form factor
    id str
    The provider-assigned unique ID for this managed resource.
    memory_size dedicated.GetServerSpecificationsHardwareMemorySize
    RAM capacity
    motherboard str
    Server motherboard
    number_of_processors float
    Number of processors in this dedicated server
    processor_architecture str
    Processor architecture bit
    processor_name str
    Processor name
    service_name str
    threads_per_processor float
    Number of threads per processor
    usb_keys Sequence[dedicated.GetServerSpecificationsHardwareUsbKey]
    Capacity of the USB keys installed on your server, if any
    bootMode String
    Server boot mode
    coresPerProcessor Number
    Number of cores per processor
    defaultHardwareRaidSize Property Map
    Default hardware raid size for this disk group
    defaultHardwareRaidType String
    Default hardware raid type for this disk group
    description String
    Expansion card description
    diskGroups List<Property Map>
    Details about the groups of disks in the server
    expansionCards List<Property Map>
    Details about the server's expansion cards
    formFactor String
    Server form factor
    id String
    The provider-assigned unique ID for this managed resource.
    memorySize Property Map
    RAM capacity
    motherboard String
    Server motherboard
    numberOfProcessors Number
    Number of processors in this dedicated server
    processorArchitecture String
    Processor architecture bit
    processorName String
    Processor name
    serviceName String
    threadsPerProcessor Number
    Number of threads per processor
    usbKeys List<Property Map>
    Capacity of the USB keys installed on your server, if any

    Supporting Types

    GetServerSpecificationsHardwareDefaultHardwareRaidSize

    Unit string
    Value double
    Unit string
    Value float64
    unit String
    value Double
    unit string
    value number
    unit str
    value float
    unit String
    value Number

    GetServerSpecificationsHardwareDiskGroup

    DefaultHardwareRaidSize GetServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSize
    Default hardware raid size for this disk group
    DefaultHardwareRaidType string
    Default hardware raid type for this disk group
    Description string
    Expansion card description
    DiskGroupId double
    Identifier of this disk group
    DiskSize GetServerSpecificationsHardwareDiskGroupDiskSize
    Disk capacity
    DiskType string
    Type of the disk (SSD, SATA, SAS, ...)
    NumberOfDisks double
    Number of disks in this group
    RaidController string
    Raid controller, if any, managing this group of disks
    DefaultHardwareRaidSize GetServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSize
    Default hardware raid size for this disk group
    DefaultHardwareRaidType string
    Default hardware raid type for this disk group
    Description string
    Expansion card description
    DiskGroupId float64
    Identifier of this disk group
    DiskSize GetServerSpecificationsHardwareDiskGroupDiskSize
    Disk capacity
    DiskType string
    Type of the disk (SSD, SATA, SAS, ...)
    NumberOfDisks float64
    Number of disks in this group
    RaidController string
    Raid controller, if any, managing this group of disks
    defaultHardwareRaidSize GetServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSize
    Default hardware raid size for this disk group
    defaultHardwareRaidType String
    Default hardware raid type for this disk group
    description String
    Expansion card description
    diskGroupId Double
    Identifier of this disk group
    diskSize GetServerSpecificationsHardwareDiskGroupDiskSize
    Disk capacity
    diskType String
    Type of the disk (SSD, SATA, SAS, ...)
    numberOfDisks Double
    Number of disks in this group
    raidController String
    Raid controller, if any, managing this group of disks
    defaultHardwareRaidSize GetServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSize
    Default hardware raid size for this disk group
    defaultHardwareRaidType string
    Default hardware raid type for this disk group
    description string
    Expansion card description
    diskGroupId number
    Identifier of this disk group
    diskSize GetServerSpecificationsHardwareDiskGroupDiskSize
    Disk capacity
    diskType string
    Type of the disk (SSD, SATA, SAS, ...)
    numberOfDisks number
    Number of disks in this group
    raidController string
    Raid controller, if any, managing this group of disks
    default_hardware_raid_size dedicated.GetServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSize
    Default hardware raid size for this disk group
    default_hardware_raid_type str
    Default hardware raid type for this disk group
    description str
    Expansion card description
    disk_group_id float
    Identifier of this disk group
    disk_size dedicated.GetServerSpecificationsHardwareDiskGroupDiskSize
    Disk capacity
    disk_type str
    Type of the disk (SSD, SATA, SAS, ...)
    number_of_disks float
    Number of disks in this group
    raid_controller str
    Raid controller, if any, managing this group of disks
    defaultHardwareRaidSize Property Map
    Default hardware raid size for this disk group
    defaultHardwareRaidType String
    Default hardware raid type for this disk group
    description String
    Expansion card description
    diskGroupId Number
    Identifier of this disk group
    diskSize Property Map
    Disk capacity
    diskType String
    Type of the disk (SSD, SATA, SAS, ...)
    numberOfDisks Number
    Number of disks in this group
    raidController String
    Raid controller, if any, managing this group of disks

    GetServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSize

    Unit string
    Value double
    Unit string
    Value float64
    unit String
    value Double
    unit string
    value number
    unit str
    value float
    unit String
    value Number

    GetServerSpecificationsHardwareDiskGroupDiskSize

    Unit string
    Value double
    Unit string
    Value float64
    unit String
    value Double
    unit string
    value number
    unit str
    value float
    unit String
    value Number

    GetServerSpecificationsHardwareExpansionCard

    Description string
    Expansion card description
    Type string
    Expansion card type enum
    Description string
    Expansion card description
    Type string
    Expansion card type enum
    description String
    Expansion card description
    type String
    Expansion card type enum
    description string
    Expansion card description
    type string
    Expansion card type enum
    description str
    Expansion card description
    type str
    Expansion card type enum
    description String
    Expansion card description
    type String
    Expansion card type enum

    GetServerSpecificationsHardwareMemorySize

    Unit string
    Value double
    Unit string
    Value float64
    unit String
    value Double
    unit string
    value number
    unit str
    value float
    unit String
    value Number

    GetServerSpecificationsHardwareUsbKey

    Unit string
    Value double
    Unit string
    Value float64
    unit String
    value Double
    unit string
    value number
    unit str
    value float
    unit String
    value Number

    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