1. Packages
  2. OVH
  3. API Docs
  4. getDedicatedServerOrderableBandwidth
OVHCloud v2.8.0 published on Wednesday, Sep 24, 2025 by OVHcloud

ovh.getDedicatedServerOrderableBandwidth

Explore with Pulumi AI

ovh logo
OVHCloud v2.8.0 published on Wednesday, Sep 24, 2025 by OVHcloud

    Use this data source to get the list of orderable additional bandwidth for a dedicated server associated with your OVHcloud Account.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ovh from "@ovhcloud/pulumi-ovh";
    
    const bp = ovh.getDedicatedServerOrderableBandwidth({
        serviceName: "myserver",
    });
    
    import pulumi
    import pulumi_ovh as ovh
    
    bp = ovh.get_dedicated_server_orderable_bandwidth(service_name="myserver")
    
    package main
    
    import (
    	"github.com/ovh/pulumi-ovh/sdk/v2/go/ovh"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ovh.GetDedicatedServerOrderableBandwidth(ctx, &ovh.GetDedicatedServerOrderableBandwidthArgs{
    			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 bp = Ovh.GetDedicatedServerOrderableBandwidth.Invoke(new()
        {
            ServiceName = "myserver",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ovh.OvhFunctions;
    import com.pulumi.ovh.inputs.GetDedicatedServerOrderableBandwidthArgs;
    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 bp = OvhFunctions.getDedicatedServerOrderableBandwidth(GetDedicatedServerOrderableBandwidthArgs.builder()
                .serviceName("myserver")
                .build());
    
        }
    }
    
    variables:
      bp:
        fn::invoke:
          function: ovh:getDedicatedServerOrderableBandwidth
          arguments:
            serviceName: myserver
    

    Using getDedicatedServerOrderableBandwidth

    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 getDedicatedServerOrderableBandwidth(args: GetDedicatedServerOrderableBandwidthArgs, opts?: InvokeOptions): Promise<GetDedicatedServerOrderableBandwidthResult>
    function getDedicatedServerOrderableBandwidthOutput(args: GetDedicatedServerOrderableBandwidthOutputArgs, opts?: InvokeOptions): Output<GetDedicatedServerOrderableBandwidthResult>
    def get_dedicated_server_orderable_bandwidth(service_name: Optional[str] = None,
                                                 opts: Optional[InvokeOptions] = None) -> GetDedicatedServerOrderableBandwidthResult
    def get_dedicated_server_orderable_bandwidth_output(service_name: Optional[pulumi.Input[str]] = None,
                                                 opts: Optional[InvokeOptions] = None) -> Output[GetDedicatedServerOrderableBandwidthResult]
    func GetDedicatedServerOrderableBandwidth(ctx *Context, args *GetDedicatedServerOrderableBandwidthArgs, opts ...InvokeOption) (*GetDedicatedServerOrderableBandwidthResult, error)
    func GetDedicatedServerOrderableBandwidthOutput(ctx *Context, args *GetDedicatedServerOrderableBandwidthOutputArgs, opts ...InvokeOption) GetDedicatedServerOrderableBandwidthResultOutput

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

    public static class GetDedicatedServerOrderableBandwidth 
    {
        public static Task<GetDedicatedServerOrderableBandwidthResult> InvokeAsync(GetDedicatedServerOrderableBandwidthArgs args, InvokeOptions? opts = null)
        public static Output<GetDedicatedServerOrderableBandwidthResult> Invoke(GetDedicatedServerOrderableBandwidthInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDedicatedServerOrderableBandwidthResult> getDedicatedServerOrderableBandwidth(GetDedicatedServerOrderableBandwidthArgs args, InvokeOptions options)
    public static Output<GetDedicatedServerOrderableBandwidthResult> getDedicatedServerOrderableBandwidth(GetDedicatedServerOrderableBandwidthArgs args, InvokeOptions options)
    
    fn::invoke:
      function: ovh:index/getDedicatedServerOrderableBandwidth:getDedicatedServerOrderableBandwidth
      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.

    getDedicatedServerOrderableBandwidth Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Orderable bool
    Wether or not additional bandwidth is orderable.
    Platinia List<int>
    The list of orderable platinimum bandwidth in mbps.
    Premia List<int>
    The list of orderable premium bandwidth in mbps.
    ServiceName string
    Ultimates List<int>
    The list of orderable ultimate bandwidth in mbps.
    Id string
    The provider-assigned unique ID for this managed resource.
    Orderable bool
    Wether or not additional bandwidth is orderable.
    Platinia []int
    The list of orderable platinimum bandwidth in mbps.
    Premia []int
    The list of orderable premium bandwidth in mbps.
    ServiceName string
    Ultimates []int
    The list of orderable ultimate bandwidth in mbps.
    id String
    The provider-assigned unique ID for this managed resource.
    orderable Boolean
    Wether or not additional bandwidth is orderable.
    platinia List<Integer>
    The list of orderable platinimum bandwidth in mbps.
    premia List<Integer>
    The list of orderable premium bandwidth in mbps.
    serviceName String
    ultimates List<Integer>
    The list of orderable ultimate bandwidth in mbps.
    id string
    The provider-assigned unique ID for this managed resource.
    orderable boolean
    Wether or not additional bandwidth is orderable.
    platinia number[]
    The list of orderable platinimum bandwidth in mbps.
    premia number[]
    The list of orderable premium bandwidth in mbps.
    serviceName string
    ultimates number[]
    The list of orderable ultimate bandwidth in mbps.
    id str
    The provider-assigned unique ID for this managed resource.
    orderable bool
    Wether or not additional bandwidth is orderable.
    platinia Sequence[int]
    The list of orderable platinimum bandwidth in mbps.
    premia Sequence[int]
    The list of orderable premium bandwidth in mbps.
    service_name str
    ultimates Sequence[int]
    The list of orderable ultimate bandwidth in mbps.
    id String
    The provider-assigned unique ID for this managed resource.
    orderable Boolean
    Wether or not additional bandwidth is orderable.
    platinia List<Number>
    The list of orderable platinimum bandwidth in mbps.
    premia List<Number>
    The list of orderable premium bandwidth in mbps.
    serviceName String
    ultimates List<Number>
    The list of orderable ultimate bandwidth in mbps.

    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 v2.8.0 published on Wednesday, Sep 24, 2025 by OVHcloud
      AI Agentic Workflows: Register now