OVHCloud v0.45.0 published on Tuesday, Jun 4, 2024 by OVHcloud
ovh.Dedicated.getServerSpecificationsHardware
Explore with Pulumi AI
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:
- Service
Name string - The internal name of your dedicated server.
- Service
Name string - The internal name of your dedicated server.
- service
Name String - The internal name of your dedicated server.
- service
Name string - The internal name of your dedicated server.
- service_
name str - The internal name of your dedicated server.
- service
Name String - The internal name of your dedicated server.
getServerSpecificationsHardware Result
The following output properties are available:
- Boot
Mode string - Server boot mode
- Cores
Per doubleProcessor - Number of cores per processor
- Default
Hardware GetRaid Size Server Specifications Hardware Default Hardware Raid Size - Default hardware raid size for this disk group
- Default
Hardware stringRaid Type - Default hardware raid type for this disk group
- Description string
- Expansion card description
- Disk
Groups List<GetServer Specifications Hardware Disk Group> - Details about the groups of disks in the server
- Expansion
Cards List<GetServer Specifications Hardware Expansion Card> - Details about the server's expansion cards
- Form
Factor string - Server form factor
- Id string
- The provider-assigned unique ID for this managed resource.
- Memory
Size GetServer Specifications Hardware Memory Size - RAM capacity
- Motherboard string
- Server motherboard
- Number
Of doubleProcessors - Number of processors in this dedicated server
- Processor
Architecture string - Processor architecture bit
- Processor
Name string - Processor name
- Service
Name string - Threads
Per doubleProcessor - Number of threads per processor
- Usb
Keys List<GetServer Specifications Hardware Usb Key> - Capacity of the USB keys installed on your server, if any
- Boot
Mode string - Server boot mode
- Cores
Per float64Processor - Number of cores per processor
- Default
Hardware GetRaid Size Server Specifications Hardware Default Hardware Raid Size - Default hardware raid size for this disk group
- Default
Hardware stringRaid Type - Default hardware raid type for this disk group
- Description string
- Expansion card description
- Disk
Groups []GetServer Specifications Hardware Disk Group - Details about the groups of disks in the server
- Expansion
Cards []GetServer Specifications Hardware Expansion Card - Details about the server's expansion cards
- Form
Factor string - Server form factor
- Id string
- The provider-assigned unique ID for this managed resource.
- Memory
Size GetServer Specifications Hardware Memory Size - RAM capacity
- Motherboard string
- Server motherboard
- Number
Of float64Processors - Number of processors in this dedicated server
- Processor
Architecture string - Processor architecture bit
- Processor
Name string - Processor name
- Service
Name string - Threads
Per float64Processor - Number of threads per processor
- Usb
Keys []GetServer Specifications Hardware Usb Key - Capacity of the USB keys installed on your server, if any
- boot
Mode String - Server boot mode
- cores
Per DoubleProcessor - Number of cores per processor
- default
Hardware GetRaid Size Server Specifications Hardware Default Hardware Raid Size - Default hardware raid size for this disk group
- default
Hardware StringRaid Type - Default hardware raid type for this disk group
- description String
- Expansion card description
- disk
Groups List<GetServer Specifications Hardware Disk Group> - Details about the groups of disks in the server
- expansion
Cards List<GetServer Specifications Hardware Expansion Card> - Details about the server's expansion cards
- form
Factor String - Server form factor
- id String
- The provider-assigned unique ID for this managed resource.
- memory
Size GetServer Specifications Hardware Memory Size - RAM capacity
- motherboard String
- Server motherboard
- number
Of DoubleProcessors - Number of processors in this dedicated server
- processor
Architecture String - Processor architecture bit
- processor
Name String - Processor name
- service
Name String - threads
Per DoubleProcessor - Number of threads per processor
- usb
Keys List<GetServer Specifications Hardware Usb Key> - Capacity of the USB keys installed on your server, if any
- boot
Mode string - Server boot mode
- cores
Per numberProcessor - Number of cores per processor
- default
Hardware GetRaid Size Server Specifications Hardware Default Hardware Raid Size - Default hardware raid size for this disk group
- default
Hardware stringRaid Type - Default hardware raid type for this disk group
- description string
- Expansion card description
- disk
Groups GetServer Specifications Hardware Disk Group[] - Details about the groups of disks in the server
- expansion
Cards GetServer Specifications Hardware Expansion Card[] - Details about the server's expansion cards
- form
Factor string - Server form factor
- id string
- The provider-assigned unique ID for this managed resource.
- memory
Size GetServer Specifications Hardware Memory Size - RAM capacity
- motherboard string
- Server motherboard
- number
Of numberProcessors - Number of processors in this dedicated server
- processor
Architecture string - Processor architecture bit
- processor
Name string - Processor name
- service
Name string - threads
Per numberProcessor - Number of threads per processor
- usb
Keys GetServer Specifications Hardware Usb Key[] - Capacity of the USB keys installed on your server, if any
- boot_
mode str - Server boot mode
- cores_
per_ floatprocessor - Number of cores per processor
- default_
hardware_ dedicated.raid_ size Get Server Specifications Hardware Default Hardware Raid Size - Default hardware raid size for this disk group
- default_
hardware_ strraid_ type - Default hardware raid type for this disk group
- description str
- Expansion card description
- disk_
groups Sequence[dedicated.Get Server Specifications Hardware Disk Group] - Details about the groups of disks in the server
- expansion_
cards Sequence[dedicated.Get Server Specifications Hardware Expansion Card] - 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.Get Server Specifications Hardware Memory Size - RAM capacity
- motherboard str
- Server motherboard
- number_
of_ floatprocessors - Number of processors in this dedicated server
- processor_
architecture str - Processor architecture bit
- processor_
name str - Processor name
- service_
name str - threads_
per_ floatprocessor - Number of threads per processor
- usb_
keys Sequence[dedicated.Get Server Specifications Hardware Usb Key] - Capacity of the USB keys installed on your server, if any
- boot
Mode String - Server boot mode
- cores
Per NumberProcessor - Number of cores per processor
- default
Hardware Property MapRaid Size - Default hardware raid size for this disk group
- default
Hardware StringRaid Type - Default hardware raid type for this disk group
- description String
- Expansion card description
- disk
Groups List<Property Map> - Details about the groups of disks in the server
- expansion
Cards List<Property Map> - Details about the server's expansion cards
- form
Factor String - Server form factor
- id String
- The provider-assigned unique ID for this managed resource.
- memory
Size Property Map - RAM capacity
- motherboard String
- Server motherboard
- number
Of NumberProcessors - Number of processors in this dedicated server
- processor
Architecture String - Processor architecture bit
- processor
Name String - Processor name
- service
Name String - threads
Per NumberProcessor - Number of threads per processor
- usb
Keys List<Property Map> - Capacity of the USB keys installed on your server, if any
Supporting Types
GetServerSpecificationsHardwareDefaultHardwareRaidSize
GetServerSpecificationsHardwareDiskGroup
- Default
Hardware GetRaid Size Server Specifications Hardware Disk Group Default Hardware Raid Size - Default hardware raid size for this disk group
- Default
Hardware stringRaid Type - Default hardware raid type for this disk group
- Description string
- Expansion card description
- Disk
Group doubleId - Identifier of this disk group
- Disk
Size GetServer Specifications Hardware Disk Group Disk Size - Disk capacity
- Disk
Type string - Type of the disk (SSD, SATA, SAS, ...)
- Number
Of doubleDisks - Number of disks in this group
- Raid
Controller string - Raid controller, if any, managing this group of disks
- Default
Hardware GetRaid Size Server Specifications Hardware Disk Group Default Hardware Raid Size - Default hardware raid size for this disk group
- Default
Hardware stringRaid Type - Default hardware raid type for this disk group
- Description string
- Expansion card description
- Disk
Group float64Id - Identifier of this disk group
- Disk
Size GetServer Specifications Hardware Disk Group Disk Size - Disk capacity
- Disk
Type string - Type of the disk (SSD, SATA, SAS, ...)
- Number
Of float64Disks - Number of disks in this group
- Raid
Controller string - Raid controller, if any, managing this group of disks
- default
Hardware GetRaid Size Server Specifications Hardware Disk Group Default Hardware Raid Size - Default hardware raid size for this disk group
- default
Hardware StringRaid Type - Default hardware raid type for this disk group
- description String
- Expansion card description
- disk
Group DoubleId - Identifier of this disk group
- disk
Size GetServer Specifications Hardware Disk Group Disk Size - Disk capacity
- disk
Type String - Type of the disk (SSD, SATA, SAS, ...)
- number
Of DoubleDisks - Number of disks in this group
- raid
Controller String - Raid controller, if any, managing this group of disks
- default
Hardware GetRaid Size Server Specifications Hardware Disk Group Default Hardware Raid Size - Default hardware raid size for this disk group
- default
Hardware stringRaid Type - Default hardware raid type for this disk group
- description string
- Expansion card description
- disk
Group numberId - Identifier of this disk group
- disk
Size GetServer Specifications Hardware Disk Group Disk Size - Disk capacity
- disk
Type string - Type of the disk (SSD, SATA, SAS, ...)
- number
Of numberDisks - Number of disks in this group
- raid
Controller string - Raid controller, if any, managing this group of disks
- default_
hardware_ dedicated.raid_ size Get Server Specifications Hardware Disk Group Default Hardware Raid Size - Default hardware raid size for this disk group
- default_
hardware_ strraid_ type - Default hardware raid type for this disk group
- description str
- Expansion card description
- disk_
group_ floatid - Identifier of this disk group
- disk_
size dedicated.Get Server Specifications Hardware Disk Group Disk Size - Disk capacity
- disk_
type str - Type of the disk (SSD, SATA, SAS, ...)
- number_
of_ floatdisks - Number of disks in this group
- raid_
controller str - Raid controller, if any, managing this group of disks
- default
Hardware Property MapRaid Size - Default hardware raid size for this disk group
- default
Hardware StringRaid Type - Default hardware raid type for this disk group
- description String
- Expansion card description
- disk
Group NumberId - Identifier of this disk group
- disk
Size Property Map - Disk capacity
- disk
Type String - Type of the disk (SSD, SATA, SAS, ...)
- number
Of NumberDisks - Number of disks in this group
- raid
Controller String - Raid controller, if any, managing this group of disks
GetServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSize
GetServerSpecificationsHardwareDiskGroupDiskSize
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
GetServerSpecificationsHardwareUsbKey
Package Details
- Repository
- ovh ovh/pulumi-ovh
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ovh
Terraform Provider.