1. Packages
  2. Packages
  3. OVH
  4. API Docs
  5. VrackPublicRoutingPriority
Viewing docs for OVHCloud v2.14.0
published on Monday, Jun 15, 2026 by OVHcloud
ovh logo
Viewing docs for OVHCloud v2.14.0
published on Monday, Jun 15, 2026 by OVHcloud

    Create a new publicRoutingPriority for the vrack in a given region.

    Example Usage

    Create a basic public routing priority

    import * as pulumi from "@pulumi/pulumi";
    import * as ovh from "@ovhcloud/pulumi-ovh";
    
    // Always sort availabilityZone by ascending priority order
    const vrackPublicRoutingPriority = new ovh.VrackPublicRoutingPriority("vrack_publicRoutingPriority", {
        serviceName: "pn-000000",
        region: "eu-west-par",
        availabilityZones: [
            {
                priority: 1,
                name: "eu-west-par-b",
            },
            {
                priority: 2,
                name: "eu-west-par-c",
            },
            {
                priority: 3,
                name: "eu-west-par-a",
            },
        ],
    });
    
    import pulumi
    import pulumi_ovh as ovh
    
    # Always sort availabilityZone by ascending priority order
    vrack_public_routing_priority = ovh.VrackPublicRoutingPriority("vrack_publicRoutingPriority",
        service_name="pn-000000",
        region="eu-west-par",
        availability_zones=[
            {
                "priority": 1,
                "name": "eu-west-par-b",
            },
            {
                "priority": 2,
                "name": "eu-west-par-c",
            },
            {
                "priority": 3,
                "name": "eu-west-par-a",
            },
        ])
    
    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 {
    		// Always sort availabilityZone by ascending priority order
    		_, err := ovh.NewVrackPublicRoutingPriority(ctx, "vrack_publicRoutingPriority", &ovh.VrackPublicRoutingPriorityArgs{
    			ServiceName: pulumi.String("pn-000000"),
    			Region:      pulumi.String("eu-west-par"),
    			AvailabilityZones: ovh.VrackPublicRoutingPriorityAvailabilityZoneArray{
    				&ovh.VrackPublicRoutingPriorityAvailabilityZoneArgs{
    					Priority: pulumi.Float64(1),
    					Name:     pulumi.String("eu-west-par-b"),
    				},
    				&ovh.VrackPublicRoutingPriorityAvailabilityZoneArgs{
    					Priority: pulumi.Float64(2),
    					Name:     pulumi.String("eu-west-par-c"),
    				},
    				&ovh.VrackPublicRoutingPriorityAvailabilityZoneArgs{
    					Priority: pulumi.Float64(3),
    					Name:     pulumi.String("eu-west-par-a"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ovh = Pulumi.Ovh;
    
    return await Deployment.RunAsync(() => 
    {
        // Always sort availabilityZone by ascending priority order
        var vrackPublicRoutingPriority = new Ovh.VrackPublicRoutingPriority("vrack_publicRoutingPriority", new()
        {
            ServiceName = "pn-000000",
            Region = "eu-west-par",
            AvailabilityZones = new[]
            {
                new Ovh.Inputs.VrackPublicRoutingPriorityAvailabilityZoneArgs
                {
                    Priority = 1,
                    Name = "eu-west-par-b",
                },
                new Ovh.Inputs.VrackPublicRoutingPriorityAvailabilityZoneArgs
                {
                    Priority = 2,
                    Name = "eu-west-par-c",
                },
                new Ovh.Inputs.VrackPublicRoutingPriorityAvailabilityZoneArgs
                {
                    Priority = 3,
                    Name = "eu-west-par-a",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.ovhcloud.pulumi.ovh.VrackPublicRoutingPriority;
    import com.ovhcloud.pulumi.ovh.VrackPublicRoutingPriorityArgs;
    import com.pulumi.ovh.inputs.VrackPublicRoutingPriorityAvailabilityZoneArgs;
    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) {
            // Always sort availabilityZone by ascending priority order
            var vrackPublicRoutingPriority = new VrackPublicRoutingPriority("vrackPublicRoutingPriority", VrackPublicRoutingPriorityArgs.builder()
                .serviceName("pn-000000")
                .region("eu-west-par")
                .availabilityZones(            
                    VrackPublicRoutingPriorityAvailabilityZoneArgs.builder()
                        .priority(1.0)
                        .name("eu-west-par-b")
                        .build(),
                    VrackPublicRoutingPriorityAvailabilityZoneArgs.builder()
                        .priority(2.0)
                        .name("eu-west-par-c")
                        .build(),
                    VrackPublicRoutingPriorityAvailabilityZoneArgs.builder()
                        .priority(3.0)
                        .name("eu-west-par-a")
                        .build())
                .build());
    
        }
    }
    
    resources:
      # Always sort availabilityZone by ascending priority order
      vrackPublicRoutingPriority:
        type: ovh:VrackPublicRoutingPriority
        name: vrack_publicRoutingPriority
        properties:
          serviceName: pn-000000
          region: eu-west-par
          availabilityZones:
            - priority: 1
              name: eu-west-par-b
            - priority: 2
              name: eu-west-par-c
            - priority: 3
              name: eu-west-par-a
    
    Example coming soon!
    

    Use the vRack datasource and configure a public routing priority

    import * as pulumi from "@pulumi/pulumi";
    import * as ovh from "@ovhcloud/pulumi-ovh";
    
    export = async () => {
        const region = "eu-west-par";
        const vrackName = "pn-000000";
        // Datasources
        const myVrack = await ovh.getVrack({
            serviceName: vrackName,
        });
        // Resources
        // Always sort availabilityZone by ascending priority order
        const vrackPublicRoutingPriority = new ovh.VrackPublicRoutingPriority("vrack_publicRoutingPriority", {
            serviceName: myVrack.serviceName,
            region: region,
            availabilityZones: [
                {
                    priority: 1,
                    name: "eu-west-par-b",
                },
                {
                    priority: 2,
                    name: "eu-west-par-c",
                },
                {
                    priority: 3,
                    name: "eu-west-par-a",
                },
            ],
        });
        return {
            myVrack: myVrack.serviceName,
        };
    }
    
    import pulumi
    import pulumi_ovh as ovh
    
    region = "eu-west-par"
    vrack_name = "pn-000000"
    # Datasources
    my_vrack = ovh.get_vrack(service_name=vrack_name)
    pulumi.export("myVrack", my_vrack.service_name)
    # Resources
    # Always sort availabilityZone by ascending priority order
    vrack_public_routing_priority = ovh.VrackPublicRoutingPriority("vrack_publicRoutingPriority",
        service_name=my_vrack.service_name,
        region=region,
        availability_zones=[
            {
                "priority": 1,
                "name": "eu-west-par-b",
            },
            {
                "priority": 2,
                "name": "eu-west-par-c",
            },
            {
                "priority": 3,
                "name": "eu-west-par-a",
            },
        ])
    
    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 {
    		region := "eu-west-par"
    		vrackName := "pn-000000"
    		// Datasources
    		myVrack, err := ovh.GetVrack(ctx, &ovh.GetVrackArgs{
    			ServiceName: vrackName,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("myVrack", myVrack.ServiceName)
    		// Resources
    		// Always sort availabilityZone by ascending priority order
    		_, err = ovh.NewVrackPublicRoutingPriority(ctx, "vrack_publicRoutingPriority", &ovh.VrackPublicRoutingPriorityArgs{
    			ServiceName: pulumi.String(myVrack.ServiceName),
    			Region:      pulumi.String(region),
    			AvailabilityZones: ovh.VrackPublicRoutingPriorityAvailabilityZoneArray{
    				&ovh.VrackPublicRoutingPriorityAvailabilityZoneArgs{
    					Priority: pulumi.Float64(1),
    					Name:     pulumi.String("eu-west-par-b"),
    				},
    				&ovh.VrackPublicRoutingPriorityAvailabilityZoneArgs{
    					Priority: pulumi.Float64(2),
    					Name:     pulumi.String("eu-west-par-c"),
    				},
    				&ovh.VrackPublicRoutingPriorityAvailabilityZoneArgs{
    					Priority: pulumi.Float64(3),
    					Name:     pulumi.String("eu-west-par-a"),
    				},
    			},
    		})
    		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 region = "eu-west-par";
    
        var vrackName = "pn-000000";
    
        // Datasources
        var myVrack = Ovh.GetVrack.Invoke(new()
        {
            ServiceName = vrackName,
        });
    
        // Resources
        // Always sort availabilityZone by ascending priority order
        var vrackPublicRoutingPriority = new Ovh.VrackPublicRoutingPriority("vrack_publicRoutingPriority", new()
        {
            ServiceName = myVrack.Apply(getVrackResult => getVrackResult.ServiceName),
            Region = region,
            AvailabilityZones = new[]
            {
                new Ovh.Inputs.VrackPublicRoutingPriorityAvailabilityZoneArgs
                {
                    Priority = 1,
                    Name = "eu-west-par-b",
                },
                new Ovh.Inputs.VrackPublicRoutingPriorityAvailabilityZoneArgs
                {
                    Priority = 2,
                    Name = "eu-west-par-c",
                },
                new Ovh.Inputs.VrackPublicRoutingPriorityAvailabilityZoneArgs
                {
                    Priority = 3,
                    Name = "eu-west-par-a",
                },
            },
        });
    
        return new Dictionary<string, object?>
        {
            ["myVrack"] = myVrack.Apply(getVrackResult => getVrackResult.ServiceName),
        };
    });
    
    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.GetVrackArgs;
    import com.ovhcloud.pulumi.ovh.VrackPublicRoutingPriority;
    import com.ovhcloud.pulumi.ovh.VrackPublicRoutingPriorityArgs;
    import com.pulumi.ovh.inputs.VrackPublicRoutingPriorityAvailabilityZoneArgs;
    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 region = "eu-west-par";
    
            final var vrackName = "pn-000000";
    
            // Datasources
            final var myVrack = OvhFunctions.getVrack(GetVrackArgs.builder()
                .serviceName(vrackName)
                .build());
    
            ctx.export("myVrack", myVrack.serviceName());
            // Resources
            // Always sort availabilityZone by ascending priority order
            var vrackPublicRoutingPriority = new VrackPublicRoutingPriority("vrackPublicRoutingPriority", VrackPublicRoutingPriorityArgs.builder()
                .serviceName(myVrack.serviceName())
                .region(region)
                .availabilityZones(            
                    VrackPublicRoutingPriorityAvailabilityZoneArgs.builder()
                        .priority(1.0)
                        .name("eu-west-par-b")
                        .build(),
                    VrackPublicRoutingPriorityAvailabilityZoneArgs.builder()
                        .priority(2.0)
                        .name("eu-west-par-c")
                        .build(),
                    VrackPublicRoutingPriorityAvailabilityZoneArgs.builder()
                        .priority(3.0)
                        .name("eu-west-par-a")
                        .build())
                .build());
    
        }
    }
    
    resources:
      # Resources
      # Always sort availabilityZone by ascending priority order
      vrackPublicRoutingPriority:
        type: ovh:VrackPublicRoutingPriority
        name: vrack_publicRoutingPriority
        properties:
          serviceName: ${myVrack.serviceName}
          region: ${region}
          availabilityZones:
            - priority: 1
              name: eu-west-par-b
            - priority: 2
              name: eu-west-par-c
            - priority: 3
              name: eu-west-par-a
    variables:
      region: eu-west-par
      vrackName: pn-000000
      # Datasources
      myVrack:
        fn::invoke:
          function: ovh:getVrack
          arguments:
            serviceName: ${vrackName}
    outputs:
      myVrack: ${myVrack.serviceName}
    
    Example coming soon!
    

    Import an existing public routing priority

    Create VrackPublicRoutingPriority Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new VrackPublicRoutingPriority(name: string, args: VrackPublicRoutingPriorityArgs, opts?: CustomResourceOptions);
    @overload
    def VrackPublicRoutingPriority(resource_name: str,
                                   args: VrackPublicRoutingPriorityArgs,
                                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def VrackPublicRoutingPriority(resource_name: str,
                                   opts: Optional[ResourceOptions] = None,
                                   availability_zones: Optional[Sequence[VrackPublicRoutingPriorityAvailabilityZoneArgs]] = None,
                                   region: Optional[str] = None,
                                   service_name: Optional[str] = None)
    func NewVrackPublicRoutingPriority(ctx *Context, name string, args VrackPublicRoutingPriorityArgs, opts ...ResourceOption) (*VrackPublicRoutingPriority, error)
    public VrackPublicRoutingPriority(string name, VrackPublicRoutingPriorityArgs args, CustomResourceOptions? opts = null)
    public VrackPublicRoutingPriority(String name, VrackPublicRoutingPriorityArgs args)
    public VrackPublicRoutingPriority(String name, VrackPublicRoutingPriorityArgs args, CustomResourceOptions options)
    
    type: ovh:VrackPublicRoutingPriority
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "ovh_vrackpublicroutingpriority" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args VrackPublicRoutingPriorityArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args VrackPublicRoutingPriorityArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args VrackPublicRoutingPriorityArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VrackPublicRoutingPriorityArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VrackPublicRoutingPriorityArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var vrackPublicRoutingPriorityResource = new Ovh.VrackPublicRoutingPriority("vrackPublicRoutingPriorityResource", new()
    {
        AvailabilityZones = new[]
        {
            new Ovh.Inputs.VrackPublicRoutingPriorityAvailabilityZoneArgs
            {
                Name = "string",
                Priority = 0,
            },
        },
        Region = "string",
        ServiceName = "string",
    });
    
    example, err := ovh.NewVrackPublicRoutingPriority(ctx, "vrackPublicRoutingPriorityResource", &ovh.VrackPublicRoutingPriorityArgs{
    	AvailabilityZones: ovh.VrackPublicRoutingPriorityAvailabilityZoneArray{
    		&ovh.VrackPublicRoutingPriorityAvailabilityZoneArgs{
    			Name:     pulumi.String("string"),
    			Priority: pulumi.Float64(0),
    		},
    	},
    	Region:      pulumi.String("string"),
    	ServiceName: pulumi.String("string"),
    })
    
    resource "ovh_vrackpublicroutingpriority" "vrackPublicRoutingPriorityResource" {
      availability_zones {
        name     = "string"
        priority = 0
      }
      region       = "string"
      service_name = "string"
    }
    
    var vrackPublicRoutingPriorityResource = new VrackPublicRoutingPriority("vrackPublicRoutingPriorityResource", VrackPublicRoutingPriorityArgs.builder()
        .availabilityZones(VrackPublicRoutingPriorityAvailabilityZoneArgs.builder()
            .name("string")
            .priority(0.0)
            .build())
        .region("string")
        .serviceName("string")
        .build());
    
    vrack_public_routing_priority_resource = ovh.VrackPublicRoutingPriority("vrackPublicRoutingPriorityResource",
        availability_zones=[{
            "name": "string",
            "priority": float(0),
        }],
        region="string",
        service_name="string")
    
    const vrackPublicRoutingPriorityResource = new ovh.VrackPublicRoutingPriority("vrackPublicRoutingPriorityResource", {
        availabilityZones: [{
            name: "string",
            priority: 0,
        }],
        region: "string",
        serviceName: "string",
    });
    
    type: ovh:VrackPublicRoutingPriority
    properties:
        availabilityZones:
            - name: string
              priority: 0
        region: string
        serviceName: string
    

    VrackPublicRoutingPriority Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The VrackPublicRoutingPriority resource accepts the following input properties:

    AvailabilityZones List<VrackPublicRoutingPriorityAvailabilityZone>
    A list of objects that allows to define on which AZ the Block should be active in priority, it is important to keep the objects sorted by ascending "priority" order.
    Region string
    The region you want the public routing priority to be created on.
    ServiceName string
    The internal name of your vrack
    AvailabilityZones []VrackPublicRoutingPriorityAvailabilityZoneArgs
    A list of objects that allows to define on which AZ the Block should be active in priority, it is important to keep the objects sorted by ascending "priority" order.
    Region string
    The region you want the public routing priority to be created on.
    ServiceName string
    The internal name of your vrack
    availability_zones list(object)
    A list of objects that allows to define on which AZ the Block should be active in priority, it is important to keep the objects sorted by ascending "priority" order.
    region string
    The region you want the public routing priority to be created on.
    service_name string
    The internal name of your vrack
    availabilityZones List<VrackPublicRoutingPriorityAvailabilityZone>
    A list of objects that allows to define on which AZ the Block should be active in priority, it is important to keep the objects sorted by ascending "priority" order.
    region String
    The region you want the public routing priority to be created on.
    serviceName String
    The internal name of your vrack
    availabilityZones VrackPublicRoutingPriorityAvailabilityZone[]
    A list of objects that allows to define on which AZ the Block should be active in priority, it is important to keep the objects sorted by ascending "priority" order.
    region string
    The region you want the public routing priority to be created on.
    serviceName string
    The internal name of your vrack
    availability_zones Sequence[VrackPublicRoutingPriorityAvailabilityZoneArgs]
    A list of objects that allows to define on which AZ the Block should be active in priority, it is important to keep the objects sorted by ascending "priority" order.
    region str
    The region you want the public routing priority to be created on.
    service_name str
    The internal name of your vrack
    availabilityZones List<Property Map>
    A list of objects that allows to define on which AZ the Block should be active in priority, it is important to keep the objects sorted by ascending "priority" order.
    region String
    The region you want the public routing priority to be created on.
    serviceName String
    The internal name of your vrack

    Outputs

    All input properties are implicitly available as output properties. Additionally, the VrackPublicRoutingPriority resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    PriorityId string
    Public routing priority identifier
    Type string
    Public routing priority type
    Vrack string
    vrack name
    Id string
    The provider-assigned unique ID for this managed resource.
    PriorityId string
    Public routing priority identifier
    Type string
    Public routing priority type
    Vrack string
    vrack name
    id string
    The provider-assigned unique ID for this managed resource.
    priority_id string
    Public routing priority identifier
    type string
    Public routing priority type
    vrack string
    vrack name
    id String
    The provider-assigned unique ID for this managed resource.
    priorityId String
    Public routing priority identifier
    type String
    Public routing priority type
    vrack String
    vrack name
    id string
    The provider-assigned unique ID for this managed resource.
    priorityId string
    Public routing priority identifier
    type string
    Public routing priority type
    vrack string
    vrack name
    id str
    The provider-assigned unique ID for this managed resource.
    priority_id str
    Public routing priority identifier
    type str
    Public routing priority type
    vrack str
    vrack name
    id String
    The provider-assigned unique ID for this managed resource.
    priorityId String
    Public routing priority identifier
    type String
    Public routing priority type
    vrack String
    vrack name

    Look up Existing VrackPublicRoutingPriority Resource

    Get an existing VrackPublicRoutingPriority resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: VrackPublicRoutingPriorityState, opts?: CustomResourceOptions): VrackPublicRoutingPriority
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            availability_zones: Optional[Sequence[VrackPublicRoutingPriorityAvailabilityZoneArgs]] = None,
            priority_id: Optional[str] = None,
            region: Optional[str] = None,
            service_name: Optional[str] = None,
            type: Optional[str] = None,
            vrack: Optional[str] = None) -> VrackPublicRoutingPriority
    func GetVrackPublicRoutingPriority(ctx *Context, name string, id IDInput, state *VrackPublicRoutingPriorityState, opts ...ResourceOption) (*VrackPublicRoutingPriority, error)
    public static VrackPublicRoutingPriority Get(string name, Input<string> id, VrackPublicRoutingPriorityState? state, CustomResourceOptions? opts = null)
    public static VrackPublicRoutingPriority get(String name, Output<String> id, VrackPublicRoutingPriorityState state, CustomResourceOptions options)
    resources:  _:    type: ovh:VrackPublicRoutingPriority    get:      id: ${id}
    import {
      to = ovh_vrackpublicroutingpriority.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AvailabilityZones List<VrackPublicRoutingPriorityAvailabilityZone>
    A list of objects that allows to define on which AZ the Block should be active in priority, it is important to keep the objects sorted by ascending "priority" order.
    PriorityId string
    Public routing priority identifier
    Region string
    The region you want the public routing priority to be created on.
    ServiceName string
    The internal name of your vrack
    Type string
    Public routing priority type
    Vrack string
    vrack name
    AvailabilityZones []VrackPublicRoutingPriorityAvailabilityZoneArgs
    A list of objects that allows to define on which AZ the Block should be active in priority, it is important to keep the objects sorted by ascending "priority" order.
    PriorityId string
    Public routing priority identifier
    Region string
    The region you want the public routing priority to be created on.
    ServiceName string
    The internal name of your vrack
    Type string
    Public routing priority type
    Vrack string
    vrack name
    availability_zones list(object)
    A list of objects that allows to define on which AZ the Block should be active in priority, it is important to keep the objects sorted by ascending "priority" order.
    priority_id string
    Public routing priority identifier
    region string
    The region you want the public routing priority to be created on.
    service_name string
    The internal name of your vrack
    type string
    Public routing priority type
    vrack string
    vrack name
    availabilityZones List<VrackPublicRoutingPriorityAvailabilityZone>
    A list of objects that allows to define on which AZ the Block should be active in priority, it is important to keep the objects sorted by ascending "priority" order.
    priorityId String
    Public routing priority identifier
    region String
    The region you want the public routing priority to be created on.
    serviceName String
    The internal name of your vrack
    type String
    Public routing priority type
    vrack String
    vrack name
    availabilityZones VrackPublicRoutingPriorityAvailabilityZone[]
    A list of objects that allows to define on which AZ the Block should be active in priority, it is important to keep the objects sorted by ascending "priority" order.
    priorityId string
    Public routing priority identifier
    region string
    The region you want the public routing priority to be created on.
    serviceName string
    The internal name of your vrack
    type string
    Public routing priority type
    vrack string
    vrack name
    availability_zones Sequence[VrackPublicRoutingPriorityAvailabilityZoneArgs]
    A list of objects that allows to define on which AZ the Block should be active in priority, it is important to keep the objects sorted by ascending "priority" order.
    priority_id str
    Public routing priority identifier
    region str
    The region you want the public routing priority to be created on.
    service_name str
    The internal name of your vrack
    type str
    Public routing priority type
    vrack str
    vrack name
    availabilityZones List<Property Map>
    A list of objects that allows to define on which AZ the Block should be active in priority, it is important to keep the objects sorted by ascending "priority" order.
    priorityId String
    Public routing priority identifier
    region String
    The region you want the public routing priority to be created on.
    serviceName String
    The internal name of your vrack
    type String
    Public routing priority type
    vrack String
    vrack name

    Supporting Types

    VrackPublicRoutingPriorityAvailabilityZone, VrackPublicRoutingPriorityAvailabilityZoneArgs

    Name string
    Availability zone name
    Priority double
    Unique priority value [1..3]
    Name string
    Availability zone name
    Priority float64
    Unique priority value [1..3]
    name string
    Availability zone name
    priority number
    Unique priority value [1..3]
    name String
    Availability zone name
    priority Double
    Unique priority value [1..3]
    name string
    Availability zone name
    priority number
    Unique priority value [1..3]
    name str
    Availability zone name
    priority float
    Unique priority value [1..3]
    name String
    Availability zone name
    priority Number
    Unique priority value [1..3]

    Import

    The public routing priority can be imported using the vRack service_name (vRack identifier) and the publicRoutingPriority (Id), separated by “/” E.g.,

    bash

    $ pulumi import ovh:index/vrackPublicRoutingPriority:VrackPublicRoutingPriority vrack_publicRoutingPriority "<service_name>/<publicRoutingPriorityId>"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    ovh ovh/pulumi-ovh
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the ovh Terraform Provider.
    ovh logo
    Viewing docs for OVHCloud v2.14.0
    published on Monday, Jun 15, 2026 by OVHcloud

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial