1. Packages
  2. OVH
  3. API Docs
  4. IpLoadBalancing
  5. LoadBalancer
OVHCloud v1.0.0 published on Wednesday, Oct 30, 2024 by OVHcloud

ovh.IpLoadBalancing.LoadBalancer

Explore with Pulumi AI

ovh logo
OVHCloud v1.0.0 published on Wednesday, Oct 30, 2024 by OVHcloud

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ovh from "@ovhcloud/pulumi-ovh";
    import * as ovh from "@pulumi/ovh";
    
    const myaccount = ovh.Me.getMe({});
    const mycart = myaccount.then(myaccount => ovh.Order.getCart({
        ovhSubsidiary: myaccount.ovhSubsidiary,
    }));
    const iplb = mycart.then(mycart => ovh.Order.getCartProductPlan({
        cartId: mycart.id,
        priceCapacity: "renew",
        product: "ipLoadbalancing",
        planCode: "iplb-lb1",
    }));
    const bhs = Promise.all([iplb, iplb, iplb, iplb]).then(([iplb, iplb1, iplb2, iplb3]) => ovh.Order.getCartProductOptionsPlan({
        cartId: iplb.cartId,
        priceCapacity: iplb1.priceCapacity,
        product: iplb2.product,
        planCode: iplb3.planCode,
        optionsPlanCode: "iplb-zone-lb1-rbx",
    }));
    const iplb_lb1 = new ovh.iploadbalancing.LoadBalancer("iplb-lb1", {
        ovhSubsidiary: mycart.then(mycart => mycart.ovhSubsidiary),
        displayName: "my ip loadbalancing",
        plan: {
            duration: iplb.then(iplb => iplb.selectedPrices?.[0]?.duration),
            planCode: iplb.then(iplb => iplb.planCode),
            pricingMode: iplb.then(iplb => iplb.selectedPrices?.[0]?.pricingMode),
        },
        planOptions: [{
            duration: bhs.then(bhs => bhs.selectedPrices?.[0]?.duration),
            planCode: bhs.then(bhs => bhs.planCode),
            pricingMode: bhs.then(bhs => bhs.selectedPrices?.[0]?.pricingMode),
        }],
    });
    
    import pulumi
    import pulumi_ovh as ovh
    
    myaccount = ovh.Me.get_me()
    mycart = ovh.Order.get_cart(ovh_subsidiary=myaccount.ovh_subsidiary)
    iplb = ovh.Order.get_cart_product_plan(cart_id=mycart.id,
        price_capacity="renew",
        product="ipLoadbalancing",
        plan_code="iplb-lb1")
    bhs = ovh.Order.get_cart_product_options_plan(cart_id=iplb.cart_id,
        price_capacity=iplb.price_capacity,
        product=iplb.product,
        plan_code=iplb.plan_code,
        options_plan_code="iplb-zone-lb1-rbx")
    iplb_lb1 = ovh.ip_load_balancing.LoadBalancer("iplb-lb1",
        ovh_subsidiary=mycart.ovh_subsidiary,
        display_name="my ip loadbalancing",
        plan={
            "duration": iplb.selected_prices[0].duration,
            "plan_code": iplb.plan_code,
            "pricing_mode": iplb.selected_prices[0].pricing_mode,
        },
        plan_options=[{
            "duration": bhs.selected_prices[0].duration,
            "plan_code": bhs.plan_code,
            "pricing_mode": bhs.selected_prices[0].pricing_mode,
        }])
    
    package main
    
    import (
    	"github.com/ovh/pulumi-ovh/sdk/go/ovh/IpLoadBalancing"
    	"github.com/ovh/pulumi-ovh/sdk/go/ovh/Me"
    	"github.com/ovh/pulumi-ovh/sdk/go/ovh/Order"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		myaccount, err := Me.GetMe(ctx, map[string]interface{}{}, nil)
    		if err != nil {
    			return err
    		}
    		mycart, err := Order.GetCart(ctx, &order.GetCartArgs{
    			OvhSubsidiary: myaccount.OvhSubsidiary,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		iplb, err := Order.GetCartProductPlan(ctx, &order.GetCartProductPlanArgs{
    			CartId:        mycart.Id,
    			PriceCapacity: "renew",
    			Product:       "ipLoadbalancing",
    			PlanCode:      "iplb-lb1",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		bhs, err := Order.GetCartProductOptionsPlan(ctx, &order.GetCartProductOptionsPlanArgs{
    			CartId:          iplb.CartId,
    			PriceCapacity:   iplb.PriceCapacity,
    			Product:         iplb.Product,
    			PlanCode:        iplb.PlanCode,
    			OptionsPlanCode: "iplb-zone-lb1-rbx",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		_, err = IpLoadBalancing.NewLoadBalancer(ctx, "iplb-lb1", &IpLoadBalancing.LoadBalancerArgs{
    			OvhSubsidiary: pulumi.String(mycart.OvhSubsidiary),
    			DisplayName:   pulumi.String("my ip loadbalancing"),
    			Plan: &iploadbalancing.LoadBalancerPlanArgs{
    				Duration:    pulumi.String(iplb.SelectedPrices[0].Duration),
    				PlanCode:    pulumi.String(iplb.PlanCode),
    				PricingMode: pulumi.String(iplb.SelectedPrices[0].PricingMode),
    			},
    			PlanOptions: iploadbalancing.LoadBalancerPlanOptionArray{
    				&iploadbalancing.LoadBalancerPlanOptionArgs{
    					Duration:    pulumi.String(bhs.SelectedPrices[0].Duration),
    					PlanCode:    pulumi.String(bhs.PlanCode),
    					PricingMode: pulumi.String(bhs.SelectedPrices[0].PricingMode),
    				},
    			},
    		})
    		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 myaccount = Ovh.Me.GetMe.Invoke();
    
        var mycart = Ovh.Order.GetCart.Invoke(new()
        {
            OvhSubsidiary = myaccount.Apply(getMeResult => getMeResult.OvhSubsidiary),
        });
    
        var iplb = Ovh.Order.GetCartProductPlan.Invoke(new()
        {
            CartId = mycart.Apply(getCartResult => getCartResult.Id),
            PriceCapacity = "renew",
            Product = "ipLoadbalancing",
            PlanCode = "iplb-lb1",
        });
    
        var bhs = Ovh.Order.GetCartProductOptionsPlan.Invoke(new()
        {
            CartId = iplb.Apply(getCartProductPlanResult => getCartProductPlanResult.CartId),
            PriceCapacity = iplb.Apply(getCartProductPlanResult => getCartProductPlanResult.PriceCapacity),
            Product = iplb.Apply(getCartProductPlanResult => getCartProductPlanResult.Product),
            PlanCode = iplb.Apply(getCartProductPlanResult => getCartProductPlanResult.PlanCode),
            OptionsPlanCode = "iplb-zone-lb1-rbx",
        });
    
        var iplb_lb1 = new Ovh.IpLoadBalancing.LoadBalancer("iplb-lb1", new()
        {
            OvhSubsidiary = mycart.Apply(getCartResult => getCartResult.OvhSubsidiary),
            DisplayName = "my ip loadbalancing",
            Plan = new Ovh.IpLoadBalancing.Inputs.LoadBalancerPlanArgs
            {
                Duration = iplb.Apply(getCartProductPlanResult => getCartProductPlanResult.SelectedPrices[0]?.Duration),
                PlanCode = iplb.Apply(getCartProductPlanResult => getCartProductPlanResult.PlanCode),
                PricingMode = iplb.Apply(getCartProductPlanResult => getCartProductPlanResult.SelectedPrices[0]?.PricingMode),
            },
            PlanOptions = new[]
            {
                new Ovh.IpLoadBalancing.Inputs.LoadBalancerPlanOptionArgs
                {
                    Duration = bhs.Apply(getCartProductOptionsPlanResult => getCartProductOptionsPlanResult.SelectedPrices[0]?.Duration),
                    PlanCode = bhs.Apply(getCartProductOptionsPlanResult => getCartProductOptionsPlanResult.PlanCode),
                    PricingMode = bhs.Apply(getCartProductOptionsPlanResult => getCartProductOptionsPlanResult.SelectedPrices[0]?.PricingMode),
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ovh.Me.MeFunctions;
    import com.pulumi.ovh.Order.OrderFunctions;
    import com.pulumi.ovh.Order.inputs.GetCartArgs;
    import com.pulumi.ovh.Order.inputs.GetCartProductPlanArgs;
    import com.pulumi.ovh.Order.inputs.GetCartProductOptionsPlanArgs;
    import com.pulumi.ovh.IpLoadBalancing.LoadBalancer;
    import com.pulumi.ovh.IpLoadBalancing.LoadBalancerArgs;
    import com.pulumi.ovh.IpLoadBalancing.inputs.LoadBalancerPlanArgs;
    import com.pulumi.ovh.IpLoadBalancing.inputs.LoadBalancerPlanOptionArgs;
    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 myaccount = MeFunctions.getMe();
    
            final var mycart = OrderFunctions.getCart(GetCartArgs.builder()
                .ovhSubsidiary(myaccount.applyValue(getMeResult -> getMeResult.ovhSubsidiary()))
                .build());
    
            final var iplb = OrderFunctions.getCartProductPlan(GetCartProductPlanArgs.builder()
                .cartId(mycart.applyValue(getCartResult -> getCartResult.id()))
                .priceCapacity("renew")
                .product("ipLoadbalancing")
                .planCode("iplb-lb1")
                .build());
    
            final var bhs = OrderFunctions.getCartProductOptionsPlan(GetCartProductOptionsPlanArgs.builder()
                .cartId(iplb.applyValue(getCartProductPlanResult -> getCartProductPlanResult.cartId()))
                .priceCapacity(iplb.applyValue(getCartProductPlanResult -> getCartProductPlanResult.priceCapacity()))
                .product(iplb.applyValue(getCartProductPlanResult -> getCartProductPlanResult.product()))
                .planCode(iplb.applyValue(getCartProductPlanResult -> getCartProductPlanResult.planCode()))
                .optionsPlanCode("iplb-zone-lb1-rbx")
                .build());
    
            var iplb_lb1 = new LoadBalancer("iplb-lb1", LoadBalancerArgs.builder()
                .ovhSubsidiary(mycart.applyValue(getCartResult -> getCartResult.ovhSubsidiary()))
                .displayName("my ip loadbalancing")
                .plan(LoadBalancerPlanArgs.builder()
                    .duration(iplb.applyValue(getCartProductPlanResult -> getCartProductPlanResult.selectedPrices()[0].duration()))
                    .planCode(iplb.applyValue(getCartProductPlanResult -> getCartProductPlanResult.planCode()))
                    .pricingMode(iplb.applyValue(getCartProductPlanResult -> getCartProductPlanResult.selectedPrices()[0].pricingMode()))
                    .build())
                .planOptions(LoadBalancerPlanOptionArgs.builder()
                    .duration(bhs.applyValue(getCartProductOptionsPlanResult -> getCartProductOptionsPlanResult.selectedPrices()[0].duration()))
                    .planCode(bhs.applyValue(getCartProductOptionsPlanResult -> getCartProductOptionsPlanResult.planCode()))
                    .pricingMode(bhs.applyValue(getCartProductOptionsPlanResult -> getCartProductOptionsPlanResult.selectedPrices()[0].pricingMode()))
                    .build())
                .build());
    
        }
    }
    
    resources:
      iplb-lb1:
        type: ovh:IpLoadBalancing:LoadBalancer
        properties:
          ovhSubsidiary: ${mycart.ovhSubsidiary}
          displayName: my ip loadbalancing
          plan:
            duration: ${iplb.selectedPrices[0].duration}
            planCode: ${iplb.planCode}
            pricingMode: ${iplb.selectedPrices[0].pricingMode}
          planOptions:
            - duration: ${bhs.selectedPrices[0].duration}
              planCode: ${bhs.planCode}
              pricingMode: ${bhs.selectedPrices[0].pricingMode}
    variables:
      myaccount:
        fn::invoke:
          Function: ovh:Me:getMe
          Arguments: {}
      mycart:
        fn::invoke:
          Function: ovh:Order:getCart
          Arguments:
            ovhSubsidiary: ${myaccount.ovhSubsidiary}
      iplb:
        fn::invoke:
          Function: ovh:Order:getCartProductPlan
          Arguments:
            cartId: ${mycart.id}
            priceCapacity: renew
            product: ipLoadbalancing
            planCode: iplb-lb1
      bhs:
        fn::invoke:
          Function: ovh:Order:getCartProductOptionsPlan
          Arguments:
            cartId: ${iplb.cartId}
            priceCapacity: ${iplb.priceCapacity}
            product: ${iplb.product}
            planCode: ${iplb.planCode}
            optionsPlanCode: iplb-zone-lb1-rbx
    

    Create LoadBalancer Resource

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

    Constructor syntax

    new LoadBalancer(name: string, args?: LoadBalancerArgs, opts?: CustomResourceOptions);
    @overload
    def LoadBalancer(resource_name: str,
                     args: Optional[LoadBalancerArgs] = None,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def LoadBalancer(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     display_name: Optional[str] = None,
                     orders: Optional[Sequence[_iploadbalancing.LoadBalancerOrderArgs]] = None,
                     ovh_subsidiary: Optional[str] = None,
                     payment_mean: Optional[str] = None,
                     plan: Optional[_iploadbalancing.LoadBalancerPlanArgs] = None,
                     plan_options: Optional[Sequence[_iploadbalancing.LoadBalancerPlanOptionArgs]] = None,
                     ssl_configuration: Optional[str] = None)
    func NewLoadBalancer(ctx *Context, name string, args *LoadBalancerArgs, opts ...ResourceOption) (*LoadBalancer, error)
    public LoadBalancer(string name, LoadBalancerArgs? args = null, CustomResourceOptions? opts = null)
    public LoadBalancer(String name, LoadBalancerArgs args)
    public LoadBalancer(String name, LoadBalancerArgs args, CustomResourceOptions options)
    
    type: ovh:IpLoadBalancing:LoadBalancer
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args LoadBalancerArgs
    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 LoadBalancerArgs
    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 LoadBalancerArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LoadBalancerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LoadBalancerArgs
    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 loadBalancerResource = new Ovh.IpLoadBalancing.LoadBalancer("loadBalancerResource", new()
    {
        DisplayName = "string",
        Orders = new[]
        {
            new Ovh.IpLoadBalancing.Inputs.LoadBalancerOrderArgs
            {
                Date = "string",
                Details = new[]
                {
                    new Ovh.IpLoadBalancing.Inputs.LoadBalancerOrderDetailArgs
                    {
                        Description = "string",
                        Domain = "string",
                        OrderDetailId = 0,
                        Quantity = "string",
                    },
                },
                ExpirationDate = "string",
                OrderId = 0,
            },
        },
        OvhSubsidiary = "string",
        Plan = new Ovh.IpLoadBalancing.Inputs.LoadBalancerPlanArgs
        {
            Duration = "string",
            PlanCode = "string",
            PricingMode = "string",
            CatalogName = "string",
            Configurations = new[]
            {
                new Ovh.IpLoadBalancing.Inputs.LoadBalancerPlanConfigurationArgs
                {
                    Label = "string",
                    Value = "string",
                },
            },
        },
        PlanOptions = new[]
        {
            new Ovh.IpLoadBalancing.Inputs.LoadBalancerPlanOptionArgs
            {
                Duration = "string",
                PlanCode = "string",
                PricingMode = "string",
                CatalogName = "string",
                Configurations = new[]
                {
                    new Ovh.IpLoadBalancing.Inputs.LoadBalancerPlanOptionConfigurationArgs
                    {
                        Label = "string",
                        Value = "string",
                    },
                },
            },
        },
        SslConfiguration = "string",
    });
    
    example, err := IpLoadBalancing.NewLoadBalancer(ctx, "loadBalancerResource", &IpLoadBalancing.LoadBalancerArgs{
    	DisplayName: pulumi.String("string"),
    	Orders: iploadbalancing.LoadBalancerOrderArray{
    		&iploadbalancing.LoadBalancerOrderArgs{
    			Date: pulumi.String("string"),
    			Details: iploadbalancing.LoadBalancerOrderDetailArray{
    				&iploadbalancing.LoadBalancerOrderDetailArgs{
    					Description:   pulumi.String("string"),
    					Domain:        pulumi.String("string"),
    					OrderDetailId: pulumi.Int(0),
    					Quantity:      pulumi.String("string"),
    				},
    			},
    			ExpirationDate: pulumi.String("string"),
    			OrderId:        pulumi.Int(0),
    		},
    	},
    	OvhSubsidiary: pulumi.String("string"),
    	Plan: &iploadbalancing.LoadBalancerPlanArgs{
    		Duration:    pulumi.String("string"),
    		PlanCode:    pulumi.String("string"),
    		PricingMode: pulumi.String("string"),
    		CatalogName: pulumi.String("string"),
    		Configurations: iploadbalancing.LoadBalancerPlanConfigurationArray{
    			&iploadbalancing.LoadBalancerPlanConfigurationArgs{
    				Label: pulumi.String("string"),
    				Value: pulumi.String("string"),
    			},
    		},
    	},
    	PlanOptions: iploadbalancing.LoadBalancerPlanOptionArray{
    		&iploadbalancing.LoadBalancerPlanOptionArgs{
    			Duration:    pulumi.String("string"),
    			PlanCode:    pulumi.String("string"),
    			PricingMode: pulumi.String("string"),
    			CatalogName: pulumi.String("string"),
    			Configurations: iploadbalancing.LoadBalancerPlanOptionConfigurationArray{
    				&iploadbalancing.LoadBalancerPlanOptionConfigurationArgs{
    					Label: pulumi.String("string"),
    					Value: pulumi.String("string"),
    				},
    			},
    		},
    	},
    	SslConfiguration: pulumi.String("string"),
    })
    
    var loadBalancerResource = new LoadBalancer("loadBalancerResource", LoadBalancerArgs.builder()
        .displayName("string")
        .orders(LoadBalancerOrderArgs.builder()
            .date("string")
            .details(LoadBalancerOrderDetailArgs.builder()
                .description("string")
                .domain("string")
                .orderDetailId(0)
                .quantity("string")
                .build())
            .expirationDate("string")
            .orderId(0)
            .build())
        .ovhSubsidiary("string")
        .plan(LoadBalancerPlanArgs.builder()
            .duration("string")
            .planCode("string")
            .pricingMode("string")
            .catalogName("string")
            .configurations(LoadBalancerPlanConfigurationArgs.builder()
                .label("string")
                .value("string")
                .build())
            .build())
        .planOptions(LoadBalancerPlanOptionArgs.builder()
            .duration("string")
            .planCode("string")
            .pricingMode("string")
            .catalogName("string")
            .configurations(LoadBalancerPlanOptionConfigurationArgs.builder()
                .label("string")
                .value("string")
                .build())
            .build())
        .sslConfiguration("string")
        .build());
    
    load_balancer_resource = ovh.ip_load_balancing.LoadBalancer("loadBalancerResource",
        display_name="string",
        orders=[{
            "date": "string",
            "details": [{
                "description": "string",
                "domain": "string",
                "order_detail_id": 0,
                "quantity": "string",
            }],
            "expiration_date": "string",
            "order_id": 0,
        }],
        ovh_subsidiary="string",
        plan={
            "duration": "string",
            "plan_code": "string",
            "pricing_mode": "string",
            "catalog_name": "string",
            "configurations": [{
                "label": "string",
                "value": "string",
            }],
        },
        plan_options=[{
            "duration": "string",
            "plan_code": "string",
            "pricing_mode": "string",
            "catalog_name": "string",
            "configurations": [{
                "label": "string",
                "value": "string",
            }],
        }],
        ssl_configuration="string")
    
    const loadBalancerResource = new ovh.iploadbalancing.LoadBalancer("loadBalancerResource", {
        displayName: "string",
        orders: [{
            date: "string",
            details: [{
                description: "string",
                domain: "string",
                orderDetailId: 0,
                quantity: "string",
            }],
            expirationDate: "string",
            orderId: 0,
        }],
        ovhSubsidiary: "string",
        plan: {
            duration: "string",
            planCode: "string",
            pricingMode: "string",
            catalogName: "string",
            configurations: [{
                label: "string",
                value: "string",
            }],
        },
        planOptions: [{
            duration: "string",
            planCode: "string",
            pricingMode: "string",
            catalogName: "string",
            configurations: [{
                label: "string",
                value: "string",
            }],
        }],
        sslConfiguration: "string",
    });
    
    type: ovh:IpLoadBalancing:LoadBalancer
    properties:
        displayName: string
        orders:
            - date: string
              details:
                - description: string
                  domain: string
                  orderDetailId: 0
                  quantity: string
              expirationDate: string
              orderId: 0
        ovhSubsidiary: string
        plan:
            catalogName: string
            configurations:
                - label: string
                  value: string
            duration: string
            planCode: string
            pricingMode: string
        planOptions:
            - catalogName: string
              configurations:
                - label: string
                  value: string
              duration: string
              planCode: string
              pricingMode: string
        sslConfiguration: string
    

    LoadBalancer 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 LoadBalancer resource accepts the following input properties:

    DisplayName string
    Set the name displayed in ManagerV6 for your iplb (max 50 chars)
    Orders List<LoadBalancerOrder>
    Details about an Order
    OvhSubsidiary string
    OVHcloud Subsidiary. Country of OVHcloud legal entity you'll be billed by. List of supported subsidiaries available on API at /1.0/me.json under models.nichandle.OvhSubsidiaryEnum
    PaymentMean string
    Ovh payment mode

    Deprecated: This field is not anymore used since the API has been deprecated in favor of /payment/mean. Now, the default payment mean is used.

    Plan LoadBalancerPlan
    Product Plan to order
    PlanOptions List<LoadBalancerPlanOption>
    Product Plan to order
    SslConfiguration string
    Modern oldest compatible clients : Firefox 27, Chrome 30, IE 11 on Windows 7, Edge, Opera 17, Safari 9, Android 5.0, and Java 8. Intermediate oldest compatible clients : Firefox 1, Chrome 1, IE 7, Opera 5, Safari 1, Windows XP IE8, Android 2.3, Java 7. Intermediate if null. one of "intermediate", "modern".
    DisplayName string
    Set the name displayed in ManagerV6 for your iplb (max 50 chars)
    Orders []LoadBalancerOrderArgs
    Details about an Order
    OvhSubsidiary string
    OVHcloud Subsidiary. Country of OVHcloud legal entity you'll be billed by. List of supported subsidiaries available on API at /1.0/me.json under models.nichandle.OvhSubsidiaryEnum
    PaymentMean string
    Ovh payment mode

    Deprecated: This field is not anymore used since the API has been deprecated in favor of /payment/mean. Now, the default payment mean is used.

    Plan LoadBalancerPlanArgs
    Product Plan to order
    PlanOptions []LoadBalancerPlanOptionArgs
    Product Plan to order
    SslConfiguration string
    Modern oldest compatible clients : Firefox 27, Chrome 30, IE 11 on Windows 7, Edge, Opera 17, Safari 9, Android 5.0, and Java 8. Intermediate oldest compatible clients : Firefox 1, Chrome 1, IE 7, Opera 5, Safari 1, Windows XP IE8, Android 2.3, Java 7. Intermediate if null. one of "intermediate", "modern".
    displayName String
    Set the name displayed in ManagerV6 for your iplb (max 50 chars)
    orders List<LoadBalancerOrder>
    Details about an Order
    ovhSubsidiary String
    OVHcloud Subsidiary. Country of OVHcloud legal entity you'll be billed by. List of supported subsidiaries available on API at /1.0/me.json under models.nichandle.OvhSubsidiaryEnum
    paymentMean String
    Ovh payment mode

    Deprecated: This field is not anymore used since the API has been deprecated in favor of /payment/mean. Now, the default payment mean is used.

    plan LoadBalancerPlan
    Product Plan to order
    planOptions List<LoadBalancerPlanOption>
    Product Plan to order
    sslConfiguration String
    Modern oldest compatible clients : Firefox 27, Chrome 30, IE 11 on Windows 7, Edge, Opera 17, Safari 9, Android 5.0, and Java 8. Intermediate oldest compatible clients : Firefox 1, Chrome 1, IE 7, Opera 5, Safari 1, Windows XP IE8, Android 2.3, Java 7. Intermediate if null. one of "intermediate", "modern".
    displayName string
    Set the name displayed in ManagerV6 for your iplb (max 50 chars)
    orders LoadBalancerOrder[]
    Details about an Order
    ovhSubsidiary string
    OVHcloud Subsidiary. Country of OVHcloud legal entity you'll be billed by. List of supported subsidiaries available on API at /1.0/me.json under models.nichandle.OvhSubsidiaryEnum
    paymentMean string
    Ovh payment mode

    Deprecated: This field is not anymore used since the API has been deprecated in favor of /payment/mean. Now, the default payment mean is used.

    plan LoadBalancerPlan
    Product Plan to order
    planOptions LoadBalancerPlanOption[]
    Product Plan to order
    sslConfiguration string
    Modern oldest compatible clients : Firefox 27, Chrome 30, IE 11 on Windows 7, Edge, Opera 17, Safari 9, Android 5.0, and Java 8. Intermediate oldest compatible clients : Firefox 1, Chrome 1, IE 7, Opera 5, Safari 1, Windows XP IE8, Android 2.3, Java 7. Intermediate if null. one of "intermediate", "modern".
    display_name str
    Set the name displayed in ManagerV6 for your iplb (max 50 chars)
    orders Sequence[iploadbalancing.LoadBalancerOrderArgs]
    Details about an Order
    ovh_subsidiary str
    OVHcloud Subsidiary. Country of OVHcloud legal entity you'll be billed by. List of supported subsidiaries available on API at /1.0/me.json under models.nichandle.OvhSubsidiaryEnum
    payment_mean str
    Ovh payment mode

    Deprecated: This field is not anymore used since the API has been deprecated in favor of /payment/mean. Now, the default payment mean is used.

    plan iploadbalancing.LoadBalancerPlanArgs
    Product Plan to order
    plan_options Sequence[iploadbalancing.LoadBalancerPlanOptionArgs]
    Product Plan to order
    ssl_configuration str
    Modern oldest compatible clients : Firefox 27, Chrome 30, IE 11 on Windows 7, Edge, Opera 17, Safari 9, Android 5.0, and Java 8. Intermediate oldest compatible clients : Firefox 1, Chrome 1, IE 7, Opera 5, Safari 1, Windows XP IE8, Android 2.3, Java 7. Intermediate if null. one of "intermediate", "modern".
    displayName String
    Set the name displayed in ManagerV6 for your iplb (max 50 chars)
    orders List<Property Map>
    Details about an Order
    ovhSubsidiary String
    OVHcloud Subsidiary. Country of OVHcloud legal entity you'll be billed by. List of supported subsidiaries available on API at /1.0/me.json under models.nichandle.OvhSubsidiaryEnum
    paymentMean String
    Ovh payment mode

    Deprecated: This field is not anymore used since the API has been deprecated in favor of /payment/mean. Now, the default payment mean is used.

    plan Property Map
    Product Plan to order
    planOptions List<Property Map>
    Product Plan to order
    sslConfiguration String
    Modern oldest compatible clients : Firefox 27, Chrome 30, IE 11 on Windows 7, Edge, Opera 17, Safari 9, Android 5.0, and Java 8. Intermediate oldest compatible clients : Firefox 1, Chrome 1, IE 7, Opera 5, Safari 1, Windows XP IE8, Android 2.3, Java 7. Intermediate if null. one of "intermediate", "modern".

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    IpLoadbalancing string
    Your IP load balancing
    Ipv4 string
    The IPV4 associated to your IP load balancing
    Ipv6 string
    The IPV6 associated to your IP load balancing. DEPRECATED.
    LoadBalancerURN string
    URN of the load balancer, used when writing IAM policies
    MetricsToken string
    The metrics token associated with your IP load balancing
    Offer string
    The offer of your IP load balancing
    OrderableZones List<LoadBalancerOrderableZone>
    Available additional zone for your Load Balancer
    ServiceName string
    The internal name of your IP load balancing
    State string
    Current state of your IP
    VrackEligibility bool
    Vrack eligibility
    VrackName string
    Name of the vRack on which the current Load Balancer is attached to, as it is named on vRack product
    Zones List<string>
    Location where your service is
    Id string
    The provider-assigned unique ID for this managed resource.
    IpLoadbalancing string
    Your IP load balancing
    Ipv4 string
    The IPV4 associated to your IP load balancing
    Ipv6 string
    The IPV6 associated to your IP load balancing. DEPRECATED.
    LoadBalancerURN string
    URN of the load balancer, used when writing IAM policies
    MetricsToken string
    The metrics token associated with your IP load balancing
    Offer string
    The offer of your IP load balancing
    OrderableZones []LoadBalancerOrderableZone
    Available additional zone for your Load Balancer
    ServiceName string
    The internal name of your IP load balancing
    State string
    Current state of your IP
    VrackEligibility bool
    Vrack eligibility
    VrackName string
    Name of the vRack on which the current Load Balancer is attached to, as it is named on vRack product
    Zones []string
    Location where your service is
    LoadBalancerURN String
    URN of the load balancer, used when writing IAM policies
    id String
    The provider-assigned unique ID for this managed resource.
    ipLoadbalancing String
    Your IP load balancing
    ipv4 String
    The IPV4 associated to your IP load balancing
    ipv6 String
    The IPV6 associated to your IP load balancing. DEPRECATED.
    metricsToken String
    The metrics token associated with your IP load balancing
    offer String
    The offer of your IP load balancing
    orderableZones List<LoadBalancerOrderableZone>
    Available additional zone for your Load Balancer
    serviceName String
    The internal name of your IP load balancing
    state String
    Current state of your IP
    vrackEligibility Boolean
    Vrack eligibility
    vrackName String
    Name of the vRack on which the current Load Balancer is attached to, as it is named on vRack product
    zones List<String>
    Location where your service is
    LoadBalancerURN string
    URN of the load balancer, used when writing IAM policies
    id string
    The provider-assigned unique ID for this managed resource.
    ipLoadbalancing string
    Your IP load balancing
    ipv4 string
    The IPV4 associated to your IP load balancing
    ipv6 string
    The IPV6 associated to your IP load balancing. DEPRECATED.
    metricsToken string
    The metrics token associated with your IP load balancing
    offer string
    The offer of your IP load balancing
    orderableZones LoadBalancerOrderableZone[]
    Available additional zone for your Load Balancer
    serviceName string
    The internal name of your IP load balancing
    state string
    Current state of your IP
    vrackEligibility boolean
    Vrack eligibility
    vrackName string
    Name of the vRack on which the current Load Balancer is attached to, as it is named on vRack product
    zones string[]
    Location where your service is
    id str
    The provider-assigned unique ID for this managed resource.
    ip_loadbalancing str
    Your IP load balancing
    ipv4 str
    The IPV4 associated to your IP load balancing
    ipv6 str
    The IPV6 associated to your IP load balancing. DEPRECATED.
    load_balancer_urn str
    URN of the load balancer, used when writing IAM policies
    metrics_token str
    The metrics token associated with your IP load balancing
    offer str
    The offer of your IP load balancing
    orderable_zones Sequence[iploadbalancing.LoadBalancerOrderableZone]
    Available additional zone for your Load Balancer
    service_name str
    The internal name of your IP load balancing
    state str
    Current state of your IP
    vrack_eligibility bool
    Vrack eligibility
    vrack_name str
    Name of the vRack on which the current Load Balancer is attached to, as it is named on vRack product
    zones Sequence[str]
    Location where your service is
    LoadBalancerURN String
    URN of the load balancer, used when writing IAM policies
    id String
    The provider-assigned unique ID for this managed resource.
    ipLoadbalancing String
    Your IP load balancing
    ipv4 String
    The IPV4 associated to your IP load balancing
    ipv6 String
    The IPV6 associated to your IP load balancing. DEPRECATED.
    metricsToken String
    The metrics token associated with your IP load balancing
    offer String
    The offer of your IP load balancing
    orderableZones List<Property Map>
    Available additional zone for your Load Balancer
    serviceName String
    The internal name of your IP load balancing
    state String
    Current state of your IP
    vrackEligibility Boolean
    Vrack eligibility
    vrackName String
    Name of the vRack on which the current Load Balancer is attached to, as it is named on vRack product
    zones List<String>
    Location where your service is

    Look up Existing LoadBalancer Resource

    Get an existing LoadBalancer 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?: LoadBalancerState, opts?: CustomResourceOptions): LoadBalancer
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            load_balancer_urn: Optional[str] = None,
            display_name: Optional[str] = None,
            ip_loadbalancing: Optional[str] = None,
            ipv4: Optional[str] = None,
            ipv6: Optional[str] = None,
            metrics_token: Optional[str] = None,
            offer: Optional[str] = None,
            orderable_zones: Optional[Sequence[_iploadbalancing.LoadBalancerOrderableZoneArgs]] = None,
            orders: Optional[Sequence[_iploadbalancing.LoadBalancerOrderArgs]] = None,
            ovh_subsidiary: Optional[str] = None,
            payment_mean: Optional[str] = None,
            plan: Optional[_iploadbalancing.LoadBalancerPlanArgs] = None,
            plan_options: Optional[Sequence[_iploadbalancing.LoadBalancerPlanOptionArgs]] = None,
            service_name: Optional[str] = None,
            ssl_configuration: Optional[str] = None,
            state: Optional[str] = None,
            vrack_eligibility: Optional[bool] = None,
            vrack_name: Optional[str] = None,
            zones: Optional[Sequence[str]] = None) -> LoadBalancer
    func GetLoadBalancer(ctx *Context, name string, id IDInput, state *LoadBalancerState, opts ...ResourceOption) (*LoadBalancer, error)
    public static LoadBalancer Get(string name, Input<string> id, LoadBalancerState? state, CustomResourceOptions? opts = null)
    public static LoadBalancer get(String name, Output<String> id, LoadBalancerState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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:
    DisplayName string
    Set the name displayed in ManagerV6 for your iplb (max 50 chars)
    IpLoadbalancing string
    Your IP load balancing
    Ipv4 string
    The IPV4 associated to your IP load balancing
    Ipv6 string
    The IPV6 associated to your IP load balancing. DEPRECATED.
    LoadBalancerURN string
    URN of the load balancer, used when writing IAM policies
    MetricsToken string
    The metrics token associated with your IP load balancing
    Offer string
    The offer of your IP load balancing
    OrderableZones List<LoadBalancerOrderableZone>
    Available additional zone for your Load Balancer
    Orders List<LoadBalancerOrder>
    Details about an Order
    OvhSubsidiary string
    OVHcloud Subsidiary. Country of OVHcloud legal entity you'll be billed by. List of supported subsidiaries available on API at /1.0/me.json under models.nichandle.OvhSubsidiaryEnum
    PaymentMean string
    Ovh payment mode

    Deprecated: This field is not anymore used since the API has been deprecated in favor of /payment/mean. Now, the default payment mean is used.

    Plan LoadBalancerPlan
    Product Plan to order
    PlanOptions List<LoadBalancerPlanOption>
    Product Plan to order
    ServiceName string
    The internal name of your IP load balancing
    SslConfiguration string
    Modern oldest compatible clients : Firefox 27, Chrome 30, IE 11 on Windows 7, Edge, Opera 17, Safari 9, Android 5.0, and Java 8. Intermediate oldest compatible clients : Firefox 1, Chrome 1, IE 7, Opera 5, Safari 1, Windows XP IE8, Android 2.3, Java 7. Intermediate if null. one of "intermediate", "modern".
    State string
    Current state of your IP
    VrackEligibility bool
    Vrack eligibility
    VrackName string
    Name of the vRack on which the current Load Balancer is attached to, as it is named on vRack product
    Zones List<string>
    Location where your service is
    DisplayName string
    Set the name displayed in ManagerV6 for your iplb (max 50 chars)
    IpLoadbalancing string
    Your IP load balancing
    Ipv4 string
    The IPV4 associated to your IP load balancing
    Ipv6 string
    The IPV6 associated to your IP load balancing. DEPRECATED.
    LoadBalancerURN string
    URN of the load balancer, used when writing IAM policies
    MetricsToken string
    The metrics token associated with your IP load balancing
    Offer string
    The offer of your IP load balancing
    OrderableZones []LoadBalancerOrderableZoneArgs
    Available additional zone for your Load Balancer
    Orders []LoadBalancerOrderArgs
    Details about an Order
    OvhSubsidiary string
    OVHcloud Subsidiary. Country of OVHcloud legal entity you'll be billed by. List of supported subsidiaries available on API at /1.0/me.json under models.nichandle.OvhSubsidiaryEnum
    PaymentMean string
    Ovh payment mode

    Deprecated: This field is not anymore used since the API has been deprecated in favor of /payment/mean. Now, the default payment mean is used.

    Plan LoadBalancerPlanArgs
    Product Plan to order
    PlanOptions []LoadBalancerPlanOptionArgs
    Product Plan to order
    ServiceName string
    The internal name of your IP load balancing
    SslConfiguration string
    Modern oldest compatible clients : Firefox 27, Chrome 30, IE 11 on Windows 7, Edge, Opera 17, Safari 9, Android 5.0, and Java 8. Intermediate oldest compatible clients : Firefox 1, Chrome 1, IE 7, Opera 5, Safari 1, Windows XP IE8, Android 2.3, Java 7. Intermediate if null. one of "intermediate", "modern".
    State string
    Current state of your IP
    VrackEligibility bool
    Vrack eligibility
    VrackName string
    Name of the vRack on which the current Load Balancer is attached to, as it is named on vRack product
    Zones []string
    Location where your service is
    LoadBalancerURN String
    URN of the load balancer, used when writing IAM policies
    displayName String
    Set the name displayed in ManagerV6 for your iplb (max 50 chars)
    ipLoadbalancing String
    Your IP load balancing
    ipv4 String
    The IPV4 associated to your IP load balancing
    ipv6 String
    The IPV6 associated to your IP load balancing. DEPRECATED.
    metricsToken String
    The metrics token associated with your IP load balancing
    offer String
    The offer of your IP load balancing
    orderableZones List<LoadBalancerOrderableZone>
    Available additional zone for your Load Balancer
    orders List<LoadBalancerOrder>
    Details about an Order
    ovhSubsidiary String
    OVHcloud Subsidiary. Country of OVHcloud legal entity you'll be billed by. List of supported subsidiaries available on API at /1.0/me.json under models.nichandle.OvhSubsidiaryEnum
    paymentMean String
    Ovh payment mode

    Deprecated: This field is not anymore used since the API has been deprecated in favor of /payment/mean. Now, the default payment mean is used.

    plan LoadBalancerPlan
    Product Plan to order
    planOptions List<LoadBalancerPlanOption>
    Product Plan to order
    serviceName String
    The internal name of your IP load balancing
    sslConfiguration String
    Modern oldest compatible clients : Firefox 27, Chrome 30, IE 11 on Windows 7, Edge, Opera 17, Safari 9, Android 5.0, and Java 8. Intermediate oldest compatible clients : Firefox 1, Chrome 1, IE 7, Opera 5, Safari 1, Windows XP IE8, Android 2.3, Java 7. Intermediate if null. one of "intermediate", "modern".
    state String
    Current state of your IP
    vrackEligibility Boolean
    Vrack eligibility
    vrackName String
    Name of the vRack on which the current Load Balancer is attached to, as it is named on vRack product
    zones List<String>
    Location where your service is
    LoadBalancerURN string
    URN of the load balancer, used when writing IAM policies
    displayName string
    Set the name displayed in ManagerV6 for your iplb (max 50 chars)
    ipLoadbalancing string
    Your IP load balancing
    ipv4 string
    The IPV4 associated to your IP load balancing
    ipv6 string
    The IPV6 associated to your IP load balancing. DEPRECATED.
    metricsToken string
    The metrics token associated with your IP load balancing
    offer string
    The offer of your IP load balancing
    orderableZones LoadBalancerOrderableZone[]
    Available additional zone for your Load Balancer
    orders LoadBalancerOrder[]
    Details about an Order
    ovhSubsidiary string
    OVHcloud Subsidiary. Country of OVHcloud legal entity you'll be billed by. List of supported subsidiaries available on API at /1.0/me.json under models.nichandle.OvhSubsidiaryEnum
    paymentMean string
    Ovh payment mode

    Deprecated: This field is not anymore used since the API has been deprecated in favor of /payment/mean. Now, the default payment mean is used.

    plan LoadBalancerPlan
    Product Plan to order
    planOptions LoadBalancerPlanOption[]
    Product Plan to order
    serviceName string
    The internal name of your IP load balancing
    sslConfiguration string
    Modern oldest compatible clients : Firefox 27, Chrome 30, IE 11 on Windows 7, Edge, Opera 17, Safari 9, Android 5.0, and Java 8. Intermediate oldest compatible clients : Firefox 1, Chrome 1, IE 7, Opera 5, Safari 1, Windows XP IE8, Android 2.3, Java 7. Intermediate if null. one of "intermediate", "modern".
    state string
    Current state of your IP
    vrackEligibility boolean
    Vrack eligibility
    vrackName string
    Name of the vRack on which the current Load Balancer is attached to, as it is named on vRack product
    zones string[]
    Location where your service is
    display_name str
    Set the name displayed in ManagerV6 for your iplb (max 50 chars)
    ip_loadbalancing str
    Your IP load balancing
    ipv4 str
    The IPV4 associated to your IP load balancing
    ipv6 str
    The IPV6 associated to your IP load balancing. DEPRECATED.
    load_balancer_urn str
    URN of the load balancer, used when writing IAM policies
    metrics_token str
    The metrics token associated with your IP load balancing
    offer str
    The offer of your IP load balancing
    orderable_zones Sequence[iploadbalancing.LoadBalancerOrderableZoneArgs]
    Available additional zone for your Load Balancer
    orders Sequence[iploadbalancing.LoadBalancerOrderArgs]
    Details about an Order
    ovh_subsidiary str
    OVHcloud Subsidiary. Country of OVHcloud legal entity you'll be billed by. List of supported subsidiaries available on API at /1.0/me.json under models.nichandle.OvhSubsidiaryEnum
    payment_mean str
    Ovh payment mode

    Deprecated: This field is not anymore used since the API has been deprecated in favor of /payment/mean. Now, the default payment mean is used.

    plan iploadbalancing.LoadBalancerPlanArgs
    Product Plan to order
    plan_options Sequence[iploadbalancing.LoadBalancerPlanOptionArgs]
    Product Plan to order
    service_name str
    The internal name of your IP load balancing
    ssl_configuration str
    Modern oldest compatible clients : Firefox 27, Chrome 30, IE 11 on Windows 7, Edge, Opera 17, Safari 9, Android 5.0, and Java 8. Intermediate oldest compatible clients : Firefox 1, Chrome 1, IE 7, Opera 5, Safari 1, Windows XP IE8, Android 2.3, Java 7. Intermediate if null. one of "intermediate", "modern".
    state str
    Current state of your IP
    vrack_eligibility bool
    Vrack eligibility
    vrack_name str
    Name of the vRack on which the current Load Balancer is attached to, as it is named on vRack product
    zones Sequence[str]
    Location where your service is
    LoadBalancerURN String
    URN of the load balancer, used when writing IAM policies
    displayName String
    Set the name displayed in ManagerV6 for your iplb (max 50 chars)
    ipLoadbalancing String
    Your IP load balancing
    ipv4 String
    The IPV4 associated to your IP load balancing
    ipv6 String
    The IPV6 associated to your IP load balancing. DEPRECATED.
    metricsToken String
    The metrics token associated with your IP load balancing
    offer String
    The offer of your IP load balancing
    orderableZones List<Property Map>
    Available additional zone for your Load Balancer
    orders List<Property Map>
    Details about an Order
    ovhSubsidiary String
    OVHcloud Subsidiary. Country of OVHcloud legal entity you'll be billed by. List of supported subsidiaries available on API at /1.0/me.json under models.nichandle.OvhSubsidiaryEnum
    paymentMean String
    Ovh payment mode

    Deprecated: This field is not anymore used since the API has been deprecated in favor of /payment/mean. Now, the default payment mean is used.

    plan Property Map
    Product Plan to order
    planOptions List<Property Map>
    Product Plan to order
    serviceName String
    The internal name of your IP load balancing
    sslConfiguration String
    Modern oldest compatible clients : Firefox 27, Chrome 30, IE 11 on Windows 7, Edge, Opera 17, Safari 9, Android 5.0, and Java 8. Intermediate oldest compatible clients : Firefox 1, Chrome 1, IE 7, Opera 5, Safari 1, Windows XP IE8, Android 2.3, Java 7. Intermediate if null. one of "intermediate", "modern".
    state String
    Current state of your IP
    vrackEligibility Boolean
    Vrack eligibility
    vrackName String
    Name of the vRack on which the current Load Balancer is attached to, as it is named on vRack product
    zones List<String>
    Location where your service is

    Supporting Types

    LoadBalancerOrder, LoadBalancerOrderArgs

    Date string
    date
    Details List<LoadBalancerOrderDetail>
    Information about a Bill entry
    ExpirationDate string
    expiration date
    OrderId int
    order id
    Date string
    date
    Details []LoadBalancerOrderDetail
    Information about a Bill entry
    ExpirationDate string
    expiration date
    OrderId int
    order id
    date String
    date
    details List<LoadBalancerOrderDetail>
    Information about a Bill entry
    expirationDate String
    expiration date
    orderId Integer
    order id
    date string
    date
    details LoadBalancerOrderDetail[]
    Information about a Bill entry
    expirationDate string
    expiration date
    orderId number
    order id
    date str
    date
    details Sequence[iploadbalancing.LoadBalancerOrderDetail]
    Information about a Bill entry
    expiration_date str
    expiration date
    order_id int
    order id
    date String
    date
    details List<Property Map>
    Information about a Bill entry
    expirationDate String
    expiration date
    orderId Number
    order id

    LoadBalancerOrderDetail, LoadBalancerOrderDetailArgs

    Description string
    description
    Domain string
    expiration date
    OrderDetailId int
    order detail id
    Quantity string
    quantity
    Description string
    description
    Domain string
    expiration date
    OrderDetailId int
    order detail id
    Quantity string
    quantity
    description String
    description
    domain String
    expiration date
    orderDetailId Integer
    order detail id
    quantity String
    quantity
    description string
    description
    domain string
    expiration date
    orderDetailId number
    order detail id
    quantity string
    quantity
    description str
    description
    domain str
    expiration date
    order_detail_id int
    order detail id
    quantity str
    quantity
    description String
    description
    domain String
    expiration date
    orderDetailId Number
    order detail id
    quantity String
    quantity

    LoadBalancerOrderableZone, LoadBalancerOrderableZoneArgs

    Name string
    The zone three letter code
    PlanCode string
    The billing planCode for this zone
    Name string
    The zone three letter code
    PlanCode string
    The billing planCode for this zone
    name String
    The zone three letter code
    planCode String
    The billing planCode for this zone
    name string
    The zone three letter code
    planCode string
    The billing planCode for this zone
    name str
    The zone three letter code
    plan_code str
    The billing planCode for this zone
    name String
    The zone three letter code
    planCode String
    The billing planCode for this zone

    LoadBalancerPlan, LoadBalancerPlanArgs

    Duration string
    duration
    PlanCode string
    Plan code
    PricingMode string
    Pricing model identifier
    CatalogName string
    Catalog name
    Configurations List<LoadBalancerPlanConfiguration>
    Representation of a configuration item for personalizing product
    Duration string
    duration
    PlanCode string
    Plan code
    PricingMode string
    Pricing model identifier
    CatalogName string
    Catalog name
    Configurations []LoadBalancerPlanConfiguration
    Representation of a configuration item for personalizing product
    duration String
    duration
    planCode String
    Plan code
    pricingMode String
    Pricing model identifier
    catalogName String
    Catalog name
    configurations List<LoadBalancerPlanConfiguration>
    Representation of a configuration item for personalizing product
    duration string
    duration
    planCode string
    Plan code
    pricingMode string
    Pricing model identifier
    catalogName string
    Catalog name
    configurations LoadBalancerPlanConfiguration[]
    Representation of a configuration item for personalizing product
    duration str
    duration
    plan_code str
    Plan code
    pricing_mode str
    Pricing model identifier
    catalog_name str
    Catalog name
    configurations Sequence[iploadbalancing.LoadBalancerPlanConfiguration]
    Representation of a configuration item for personalizing product
    duration String
    duration
    planCode String
    Plan code
    pricingMode String
    Pricing model identifier
    catalogName String
    Catalog name
    configurations List<Property Map>
    Representation of a configuration item for personalizing product

    LoadBalancerPlanConfiguration, LoadBalancerPlanConfigurationArgs

    Label string
    Identifier of the resource
    Value string
    Path to the resource in API.OVH.COM
    Label string
    Identifier of the resource
    Value string
    Path to the resource in API.OVH.COM
    label String
    Identifier of the resource
    value String
    Path to the resource in API.OVH.COM
    label string
    Identifier of the resource
    value string
    Path to the resource in API.OVH.COM
    label str
    Identifier of the resource
    value str
    Path to the resource in API.OVH.COM
    label String
    Identifier of the resource
    value String
    Path to the resource in API.OVH.COM

    LoadBalancerPlanOption, LoadBalancerPlanOptionArgs

    Duration string
    duration
    PlanCode string
    Plan code
    PricingMode string
    Pricing model identifier
    CatalogName string
    Catalog name
    Configurations List<LoadBalancerPlanOptionConfiguration>
    Representation of a configuration item for personalizing product
    Duration string
    duration
    PlanCode string
    Plan code
    PricingMode string
    Pricing model identifier
    CatalogName string
    Catalog name
    Configurations []LoadBalancerPlanOptionConfiguration
    Representation of a configuration item for personalizing product
    duration String
    duration
    planCode String
    Plan code
    pricingMode String
    Pricing model identifier
    catalogName String
    Catalog name
    configurations List<LoadBalancerPlanOptionConfiguration>
    Representation of a configuration item for personalizing product
    duration string
    duration
    planCode string
    Plan code
    pricingMode string
    Pricing model identifier
    catalogName string
    Catalog name
    configurations LoadBalancerPlanOptionConfiguration[]
    Representation of a configuration item for personalizing product
    duration str
    duration
    plan_code str
    Plan code
    pricing_mode str
    Pricing model identifier
    catalog_name str
    Catalog name
    configurations Sequence[iploadbalancing.LoadBalancerPlanOptionConfiguration]
    Representation of a configuration item for personalizing product
    duration String
    duration
    planCode String
    Plan code
    pricingMode String
    Pricing model identifier
    catalogName String
    Catalog name
    configurations List<Property Map>
    Representation of a configuration item for personalizing product

    LoadBalancerPlanOptionConfiguration, LoadBalancerPlanOptionConfigurationArgs

    Label string
    Identifier of the resource
    Value string
    Path to the resource in API.OVH.COM
    Label string
    Identifier of the resource
    Value string
    Path to the resource in API.OVH.COM
    label String
    Identifier of the resource
    value String
    Path to the resource in API.OVH.COM
    label string
    Identifier of the resource
    value string
    Path to the resource in API.OVH.COM
    label str
    Identifier of the resource
    value str
    Path to the resource in API.OVH.COM
    label String
    Identifier of the resource
    value String
    Path to the resource in API.OVH.COM

    Import

    OVHcloud IP load balancing services can be imported using its service_name.

    Using the following configuration:

    hcl

    import {

    to = ovh_iploadbalancing.iplb

    id = “

    }

    You can then run:

    bash

    $ pulumi preview -generate-config-out=iplb.tf

    $ pulumi up

    The file iplb.tf will then contain the imported resource’s configuration, that can be copied next to the import block above.

    See https://developer.hashicorp.com/terraform/language/import/generating-configuration for more details.

    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
    OVHCloud v1.0.0 published on Wednesday, Oct 30, 2024 by OVHcloud