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

ovh.getDedicatedServerOrderableBandwidthVrack

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 vrack 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.getDedicatedServerOrderableBandwidthVrack({
        serviceName: "myserver",
    });
    
    import pulumi
    import pulumi_ovh as ovh
    
    bp = ovh.get_dedicated_server_orderable_bandwidth_vrack(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.GetDedicatedServerOrderableBandwidthVrack(ctx, &ovh.GetDedicatedServerOrderableBandwidthVrackArgs{
    			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.GetDedicatedServerOrderableBandwidthVrack.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.GetDedicatedServerOrderableBandwidthVrackArgs;
    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.getDedicatedServerOrderableBandwidthVrack(GetDedicatedServerOrderableBandwidthVrackArgs.builder()
                .serviceName("myserver")
                .build());
    
        }
    }
    
    variables:
      bp:
        fn::invoke:
          function: ovh:getDedicatedServerOrderableBandwidthVrack
          arguments:
            serviceName: myserver
    

    Using getDedicatedServerOrderableBandwidthVrack

    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 getDedicatedServerOrderableBandwidthVrack(args: GetDedicatedServerOrderableBandwidthVrackArgs, opts?: InvokeOptions): Promise<GetDedicatedServerOrderableBandwidthVrackResult>
    function getDedicatedServerOrderableBandwidthVrackOutput(args: GetDedicatedServerOrderableBandwidthVrackOutputArgs, opts?: InvokeOptions): Output<GetDedicatedServerOrderableBandwidthVrackResult>
    def get_dedicated_server_orderable_bandwidth_vrack(service_name: Optional[str] = None,
                                                       opts: Optional[InvokeOptions] = None) -> GetDedicatedServerOrderableBandwidthVrackResult
    def get_dedicated_server_orderable_bandwidth_vrack_output(service_name: Optional[pulumi.Input[str]] = None,
                                                       opts: Optional[InvokeOptions] = None) -> Output[GetDedicatedServerOrderableBandwidthVrackResult]
    func GetDedicatedServerOrderableBandwidthVrack(ctx *Context, args *GetDedicatedServerOrderableBandwidthVrackArgs, opts ...InvokeOption) (*GetDedicatedServerOrderableBandwidthVrackResult, error)
    func GetDedicatedServerOrderableBandwidthVrackOutput(ctx *Context, args *GetDedicatedServerOrderableBandwidthVrackOutputArgs, opts ...InvokeOption) GetDedicatedServerOrderableBandwidthVrackResultOutput

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

    public static class GetDedicatedServerOrderableBandwidthVrack 
    {
        public static Task<GetDedicatedServerOrderableBandwidthVrackResult> InvokeAsync(GetDedicatedServerOrderableBandwidthVrackArgs args, InvokeOptions? opts = null)
        public static Output<GetDedicatedServerOrderableBandwidthVrackResult> Invoke(GetDedicatedServerOrderableBandwidthVrackInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDedicatedServerOrderableBandwidthVrackResult> getDedicatedServerOrderableBandwidthVrack(GetDedicatedServerOrderableBandwidthVrackArgs args, InvokeOptions options)
    public static Output<GetDedicatedServerOrderableBandwidthVrackResult> getDedicatedServerOrderableBandwidthVrack(GetDedicatedServerOrderableBandwidthVrackArgs args, InvokeOptions options)
    
    fn::invoke:
      function: ovh:index/getDedicatedServerOrderableBandwidthVrack:getDedicatedServerOrderableBandwidthVrack
      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.

    getDedicatedServerOrderableBandwidthVrack 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.
    ServiceName string
    Vracks List<int>
    The list of orderable vrack bandwidth in mbps.
    Id string
    The provider-assigned unique ID for this managed resource.
    Orderable bool
    Wether or not additional bandwidth is orderable.
    ServiceName string
    Vracks []int
    The list of orderable vrack bandwidth in mbps.
    id String
    The provider-assigned unique ID for this managed resource.
    orderable Boolean
    Wether or not additional bandwidth is orderable.
    serviceName String
    vracks List<Integer>
    The list of orderable vrack bandwidth in mbps.
    id string
    The provider-assigned unique ID for this managed resource.
    orderable boolean
    Wether or not additional bandwidth is orderable.
    serviceName string
    vracks number[]
    The list of orderable vrack bandwidth in mbps.
    id str
    The provider-assigned unique ID for this managed resource.
    orderable bool
    Wether or not additional bandwidth is orderable.
    service_name str
    vracks Sequence[int]
    The list of orderable vrack bandwidth in mbps.
    id String
    The provider-assigned unique ID for this managed resource.
    orderable Boolean
    Wether or not additional bandwidth is orderable.
    serviceName String
    vracks List<Number>
    The list of orderable vrack 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