1. Packages
  2. OVH
  3. API Docs
  4. Dedicated
  5. getServerSpecificationsNetwork
OVHCloud v0.45.0 published on Tuesday, Jun 4, 2024 by OVHcloud

ovh.Dedicated.getServerSpecificationsNetwork

Explore with Pulumi AI

ovh logo
OVHCloud v0.45.0 published on Tuesday, Jun 4, 2024 by OVHcloud

    Use this data source to get the network 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.getServerSpecificationsNetwork({
        serviceName: "myserver",
    });
    
    import pulumi
    import pulumi_ovh as ovh
    
    spec = ovh.Dedicated.get_server_specifications_network(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.GetServerSpecificationsNetwork(ctx, &dedicated.GetServerSpecificationsNetworkArgs{
    			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.GetServerSpecificationsNetwork.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.GetServerSpecificationsNetworkArgs;
    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.getServerSpecificationsNetwork(GetServerSpecificationsNetworkArgs.builder()
                .serviceName("myserver")
                .build());
    
        }
    }
    
    variables:
      spec:
        fn::invoke:
          Function: ovh:Dedicated:getServerSpecificationsNetwork
          Arguments:
            serviceName: myserver
    

    Using getServerSpecificationsNetwork

    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 getServerSpecificationsNetwork(args: GetServerSpecificationsNetworkArgs, opts?: InvokeOptions): Promise<GetServerSpecificationsNetworkResult>
    function getServerSpecificationsNetworkOutput(args: GetServerSpecificationsNetworkOutputArgs, opts?: InvokeOptions): Output<GetServerSpecificationsNetworkResult>
    def get_server_specifications_network(service_name: Optional[str] = None,
                                          opts: Optional[InvokeOptions] = None) -> GetServerSpecificationsNetworkResult
    def get_server_specifications_network_output(service_name: Optional[pulumi.Input[str]] = None,
                                          opts: Optional[InvokeOptions] = None) -> Output[GetServerSpecificationsNetworkResult]
    func GetServerSpecificationsNetwork(ctx *Context, args *GetServerSpecificationsNetworkArgs, opts ...InvokeOption) (*GetServerSpecificationsNetworkResult, error)
    func GetServerSpecificationsNetworkOutput(ctx *Context, args *GetServerSpecificationsNetworkOutputArgs, opts ...InvokeOption) GetServerSpecificationsNetworkResultOutput

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

    public static class GetServerSpecificationsNetwork 
    {
        public static Task<GetServerSpecificationsNetworkResult> InvokeAsync(GetServerSpecificationsNetworkArgs args, InvokeOptions? opts = null)
        public static Output<GetServerSpecificationsNetworkResult> Invoke(GetServerSpecificationsNetworkInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetServerSpecificationsNetworkResult> getServerSpecificationsNetwork(GetServerSpecificationsNetworkArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: ovh:Dedicated/getServerSpecificationsNetwork:getServerSpecificationsNetwork
      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.

    getServerSpecificationsNetwork Result

    The following output properties are available:

    Bandwidth GetServerSpecificationsNetworkBandwidth
    vrack bandwidth limitation
    ConnectionVal GetServerSpecificationsNetworkConnectionVal
    Network connection flow rate
    Id string
    The provider-assigned unique ID for this managed resource.
    Ola GetServerSpecificationsNetworkOla
    OLA details
    Routing GetServerSpecificationsNetworkRouting
    Routing details
    ServiceName string
    Switching GetServerSpecificationsNetworkSwitching
    Switching details
    Traffic GetServerSpecificationsNetworkTraffic
    Traffic details
    Vmac GetServerSpecificationsNetworkVmac
    VMAC information for this dedicated server
    Vrack GetServerSpecificationsNetworkVrack
    vRack details
    Bandwidth GetServerSpecificationsNetworkBandwidth
    vrack bandwidth limitation
    ConnectionVal GetServerSpecificationsNetworkConnectionVal
    Network connection flow rate
    Id string
    The provider-assigned unique ID for this managed resource.
    Ola GetServerSpecificationsNetworkOla
    OLA details
    Routing GetServerSpecificationsNetworkRouting
    Routing details
    ServiceName string
    Switching GetServerSpecificationsNetworkSwitching
    Switching details
    Traffic GetServerSpecificationsNetworkTraffic
    Traffic details
    Vmac GetServerSpecificationsNetworkVmac
    VMAC information for this dedicated server
    Vrack GetServerSpecificationsNetworkVrack
    vRack details
    bandwidth GetServerSpecificationsNetworkBandwidth
    vrack bandwidth limitation
    connectionVal GetServerSpecificationsNetworkConnectionVal
    Network connection flow rate
    id String
    The provider-assigned unique ID for this managed resource.
    ola GetServerSpecificationsNetworkOla
    OLA details
    routing GetServerSpecificationsNetworkRouting
    Routing details
    serviceName String
    switching GetServerSpecificationsNetworkSwitching
    Switching details
    traffic GetServerSpecificationsNetworkTraffic
    Traffic details
    vmac GetServerSpecificationsNetworkVmac
    VMAC information for this dedicated server
    vrack GetServerSpecificationsNetworkVrack
    vRack details
    bandwidth GetServerSpecificationsNetworkBandwidth
    vrack bandwidth limitation
    connectionVal GetServerSpecificationsNetworkConnectionVal
    Network connection flow rate
    id string
    The provider-assigned unique ID for this managed resource.
    ola GetServerSpecificationsNetworkOla
    OLA details
    routing GetServerSpecificationsNetworkRouting
    Routing details
    serviceName string
    switching GetServerSpecificationsNetworkSwitching
    Switching details
    traffic GetServerSpecificationsNetworkTraffic
    Traffic details
    vmac GetServerSpecificationsNetworkVmac
    VMAC information for this dedicated server
    vrack GetServerSpecificationsNetworkVrack
    vRack details
    bandwidth Property Map
    vrack bandwidth limitation
    connectionVal Property Map
    Network connection flow rate
    id String
    The provider-assigned unique ID for this managed resource.
    ola Property Map
    OLA details
    routing Property Map
    Routing details
    serviceName String
    switching Property Map
    Switching details
    traffic Property Map
    Traffic details
    vmac Property Map
    VMAC information for this dedicated server
    vrack Property Map
    vRack details

    Supporting Types

    GetServerSpecificationsNetworkBandwidth

    InternetToOvh GetServerSpecificationsNetworkBandwidthInternetToOvh
    Bandwidth limitation Internet to OVH
    OvhToInternet GetServerSpecificationsNetworkBandwidthOvhToInternet
    Bandwidth limitation OVH to Internet
    OvhToOvh GetServerSpecificationsNetworkBandwidthOvhToOvh
    Bandwidth limitation OVH to OVH
    Type string
    Bandwidth offer type (included┃standard)
    InternetToOvh GetServerSpecificationsNetworkBandwidthInternetToOvh
    Bandwidth limitation Internet to OVH
    OvhToInternet GetServerSpecificationsNetworkBandwidthOvhToInternet
    Bandwidth limitation OVH to Internet
    OvhToOvh GetServerSpecificationsNetworkBandwidthOvhToOvh
    Bandwidth limitation OVH to OVH
    Type string
    Bandwidth offer type (included┃standard)
    internetToOvh GetServerSpecificationsNetworkBandwidthInternetToOvh
    Bandwidth limitation Internet to OVH
    ovhToInternet GetServerSpecificationsNetworkBandwidthOvhToInternet
    Bandwidth limitation OVH to Internet
    ovhToOvh GetServerSpecificationsNetworkBandwidthOvhToOvh
    Bandwidth limitation OVH to OVH
    type String
    Bandwidth offer type (included┃standard)
    internetToOvh GetServerSpecificationsNetworkBandwidthInternetToOvh
    Bandwidth limitation Internet to OVH
    ovhToInternet GetServerSpecificationsNetworkBandwidthOvhToInternet
    Bandwidth limitation OVH to Internet
    ovhToOvh GetServerSpecificationsNetworkBandwidthOvhToOvh
    Bandwidth limitation OVH to OVH
    type string
    Bandwidth offer type (included┃standard)
    internet_to_ovh dedicated.GetServerSpecificationsNetworkBandwidthInternetToOvh
    Bandwidth limitation Internet to OVH
    ovh_to_internet dedicated.GetServerSpecificationsNetworkBandwidthOvhToInternet
    Bandwidth limitation OVH to Internet
    ovh_to_ovh dedicated.GetServerSpecificationsNetworkBandwidthOvhToOvh
    Bandwidth limitation OVH to OVH
    type str
    Bandwidth offer type (included┃standard)
    internetToOvh Property Map
    Bandwidth limitation Internet to OVH
    ovhToInternet Property Map
    Bandwidth limitation OVH to Internet
    ovhToOvh Property Map
    Bandwidth limitation OVH to OVH
    type String
    Bandwidth offer type (included┃standard)

    GetServerSpecificationsNetworkBandwidthInternetToOvh

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

    GetServerSpecificationsNetworkBandwidthOvhToInternet

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

    GetServerSpecificationsNetworkBandwidthOvhToOvh

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

    GetServerSpecificationsNetworkConnectionVal

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

    GetServerSpecificationsNetworkOla

    Available bool
    Is the OLA feature available
    AvailableModes List<GetServerSpecificationsNetworkOlaAvailableMode>
    Supported modes
    SupportedModes List<string>
    Supported modes (DEPRECATED)
    Available bool
    Is the OLA feature available
    AvailableModes []GetServerSpecificationsNetworkOlaAvailableMode
    Supported modes
    SupportedModes []string
    Supported modes (DEPRECATED)
    available Boolean
    Is the OLA feature available
    availableModes List<GetServerSpecificationsNetworkOlaAvailableMode>
    Supported modes
    supportedModes List<String>
    Supported modes (DEPRECATED)
    available boolean
    Is the OLA feature available
    availableModes GetServerSpecificationsNetworkOlaAvailableMode[]
    Supported modes
    supportedModes string[]
    Supported modes (DEPRECATED)
    available bool
    Is the OLA feature available
    available_modes Sequence[dedicated.GetServerSpecificationsNetworkOlaAvailableMode]
    Supported modes
    supported_modes Sequence[str]
    Supported modes (DEPRECATED)
    available Boolean
    Is the OLA feature available
    availableModes List<Property Map>
    Supported modes
    supportedModes List<String>
    Supported modes (DEPRECATED)

    GetServerSpecificationsNetworkOlaAvailableMode

    Default bool
    Whether it is the default configuration of the server
    Interfaces List<GetServerSpecificationsNetworkOlaAvailableModeInterface>
    Interface layout
    Name string
    Switch name
    Default bool
    Whether it is the default configuration of the server
    Interfaces []GetServerSpecificationsNetworkOlaAvailableModeInterface
    Interface layout
    Name string
    Switch name
    default_ Boolean
    Whether it is the default configuration of the server
    interfaces List<GetServerSpecificationsNetworkOlaAvailableModeInterface>
    Interface layout
    name String
    Switch name
    default boolean
    Whether it is the default configuration of the server
    interfaces GetServerSpecificationsNetworkOlaAvailableModeInterface[]
    Interface layout
    name string
    Switch name
    default bool
    Whether it is the default configuration of the server
    interfaces Sequence[dedicated.GetServerSpecificationsNetworkOlaAvailableModeInterface]
    Interface layout
    name str
    Switch name
    default Boolean
    Whether it is the default configuration of the server
    interfaces List<Property Map>
    Interface layout
    name String
    Switch name

    GetServerSpecificationsNetworkOlaAvailableModeInterface

    Aggregation bool
    Interface aggregation status
    Count double
    Interface count
    Type string
    Bandwidth offer type (included┃standard)
    Aggregation bool
    Interface aggregation status
    Count float64
    Interface count
    Type string
    Bandwidth offer type (included┃standard)
    aggregation Boolean
    Interface aggregation status
    count Double
    Interface count
    type String
    Bandwidth offer type (included┃standard)
    aggregation boolean
    Interface aggregation status
    count number
    Interface count
    type string
    Bandwidth offer type (included┃standard)
    aggregation bool
    Interface aggregation status
    count float
    Interface count
    type str
    Bandwidth offer type (included┃standard)
    aggregation Boolean
    Interface aggregation status
    count Number
    Interface count
    type String
    Bandwidth offer type (included┃standard)

    GetServerSpecificationsNetworkRouting

    ipv4 Property Map
    Ipv4 routing details
    ipv6 Property Map
    Ipv6 routing details

    GetServerSpecificationsNetworkRoutingIpv4

    Gateway string
    Server gateway
    Ip string
    Server main IP
    Network string
    Server network
    Gateway string
    Server gateway
    Ip string
    Server main IP
    Network string
    Server network
    gateway String
    Server gateway
    ip String
    Server main IP
    network String
    Server network
    gateway string
    Server gateway
    ip string
    Server main IP
    network string
    Server network
    gateway str
    Server gateway
    ip str
    Server main IP
    network str
    Server network
    gateway String
    Server gateway
    ip String
    Server main IP
    network String
    Server network

    GetServerSpecificationsNetworkRoutingIpv6

    Gateway string
    Server gateway
    Ip string
    Server main IP
    Network string
    Server network
    Gateway string
    Server gateway
    Ip string
    Server main IP
    Network string
    Server network
    gateway String
    Server gateway
    ip String
    Server main IP
    network String
    Server network
    gateway string
    Server gateway
    ip string
    Server main IP
    network string
    Server network
    gateway str
    Server gateway
    ip str
    Server main IP
    network str
    Server network
    gateway String
    Server gateway
    ip String
    Server main IP
    network String
    Server network

    GetServerSpecificationsNetworkSwitching

    Name string
    Switch name
    Name string
    Switch name
    name String
    Switch name
    name string
    Switch name
    name str
    Switch name
    name String
    Switch name

    GetServerSpecificationsNetworkTraffic

    InputQuotaSize GetServerSpecificationsNetworkTrafficInputQuotaSize
    Monthly input traffic quota allowed
    InputQuotaUsed GetServerSpecificationsNetworkTrafficInputQuotaUsed
    Monthly input traffic consumed this month
    IsThrottled bool
    Whether bandwidth is throttleted for being over quota
    OutputQuotaSize GetServerSpecificationsNetworkTrafficOutputQuotaSize
    Monthly output traffic quota allowed
    OutputQuotaUsed GetServerSpecificationsNetworkTrafficOutputQuotaUsed
    Monthly output traffic consumed this month
    ResetQuotaDate string
    Next reset quota date for traffic counter
    InputQuotaSize GetServerSpecificationsNetworkTrafficInputQuotaSize
    Monthly input traffic quota allowed
    InputQuotaUsed GetServerSpecificationsNetworkTrafficInputQuotaUsed
    Monthly input traffic consumed this month
    IsThrottled bool
    Whether bandwidth is throttleted for being over quota
    OutputQuotaSize GetServerSpecificationsNetworkTrafficOutputQuotaSize
    Monthly output traffic quota allowed
    OutputQuotaUsed GetServerSpecificationsNetworkTrafficOutputQuotaUsed
    Monthly output traffic consumed this month
    ResetQuotaDate string
    Next reset quota date for traffic counter
    inputQuotaSize GetServerSpecificationsNetworkTrafficInputQuotaSize
    Monthly input traffic quota allowed
    inputQuotaUsed GetServerSpecificationsNetworkTrafficInputQuotaUsed
    Monthly input traffic consumed this month
    isThrottled Boolean
    Whether bandwidth is throttleted for being over quota
    outputQuotaSize GetServerSpecificationsNetworkTrafficOutputQuotaSize
    Monthly output traffic quota allowed
    outputQuotaUsed GetServerSpecificationsNetworkTrafficOutputQuotaUsed
    Monthly output traffic consumed this month
    resetQuotaDate String
    Next reset quota date for traffic counter
    inputQuotaSize GetServerSpecificationsNetworkTrafficInputQuotaSize
    Monthly input traffic quota allowed
    inputQuotaUsed GetServerSpecificationsNetworkTrafficInputQuotaUsed
    Monthly input traffic consumed this month
    isThrottled boolean
    Whether bandwidth is throttleted for being over quota
    outputQuotaSize GetServerSpecificationsNetworkTrafficOutputQuotaSize
    Monthly output traffic quota allowed
    outputQuotaUsed GetServerSpecificationsNetworkTrafficOutputQuotaUsed
    Monthly output traffic consumed this month
    resetQuotaDate string
    Next reset quota date for traffic counter
    input_quota_size dedicated.GetServerSpecificationsNetworkTrafficInputQuotaSize
    Monthly input traffic quota allowed
    input_quota_used dedicated.GetServerSpecificationsNetworkTrafficInputQuotaUsed
    Monthly input traffic consumed this month
    is_throttled bool
    Whether bandwidth is throttleted for being over quota
    output_quota_size dedicated.GetServerSpecificationsNetworkTrafficOutputQuotaSize
    Monthly output traffic quota allowed
    output_quota_used dedicated.GetServerSpecificationsNetworkTrafficOutputQuotaUsed
    Monthly output traffic consumed this month
    reset_quota_date str
    Next reset quota date for traffic counter
    inputQuotaSize Property Map
    Monthly input traffic quota allowed
    inputQuotaUsed Property Map
    Monthly input traffic consumed this month
    isThrottled Boolean
    Whether bandwidth is throttleted for being over quota
    outputQuotaSize Property Map
    Monthly output traffic quota allowed
    outputQuotaUsed Property Map
    Monthly output traffic consumed this month
    resetQuotaDate String
    Next reset quota date for traffic counter

    GetServerSpecificationsNetworkTrafficInputQuotaSize

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

    GetServerSpecificationsNetworkTrafficInputQuotaUsed

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

    GetServerSpecificationsNetworkTrafficOutputQuotaSize

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

    GetServerSpecificationsNetworkTrafficOutputQuotaUsed

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

    GetServerSpecificationsNetworkVmac

    Supported bool
    Whether server is compatible vmac
    Supported bool
    Whether server is compatible vmac
    supported Boolean
    Whether server is compatible vmac
    supported boolean
    Whether server is compatible vmac
    supported bool
    Whether server is compatible vmac
    supported Boolean
    Whether server is compatible vmac

    GetServerSpecificationsNetworkVrack

    Bandwidth GetServerSpecificationsNetworkVrackBandwidth
    vrack bandwidth limitation
    Type string
    Bandwidth offer type (included┃standard)
    Bandwidth GetServerSpecificationsNetworkVrackBandwidth
    vrack bandwidth limitation
    Type string
    Bandwidth offer type (included┃standard)
    bandwidth GetServerSpecificationsNetworkVrackBandwidth
    vrack bandwidth limitation
    type String
    Bandwidth offer type (included┃standard)
    bandwidth GetServerSpecificationsNetworkVrackBandwidth
    vrack bandwidth limitation
    type string
    Bandwidth offer type (included┃standard)
    bandwidth dedicated.GetServerSpecificationsNetworkVrackBandwidth
    vrack bandwidth limitation
    type str
    Bandwidth offer type (included┃standard)
    bandwidth Property Map
    vrack bandwidth limitation
    type String
    Bandwidth offer type (included┃standard)

    GetServerSpecificationsNetworkVrackBandwidth

    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 v0.45.0 published on Tuesday, Jun 4, 2024 by OVHcloud