1. Packages
  2. OVH
  3. API Docs
  4. IpLoadBalancing
  5. getIpLoadBalancing
OVHCloud v0.50.0 published on Friday, Sep 20, 2024 by OVHcloud

ovh.IpLoadBalancing.getIpLoadBalancing

Explore with Pulumi AI

ovh logo
OVHCloud v0.50.0 published on Friday, Sep 20, 2024 by OVHcloud

    Use this data source to retrieve information about an IP Load Balancing product

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ovh from "@pulumi/ovh";
    
    const lb = ovh.IpLoadBalancing.getIpLoadBalancing({
        serviceName: "XXXXXX",
        state: "ok",
    });
    
    import pulumi
    import pulumi_ovh as ovh
    
    lb = ovh.IpLoadBalancing.get_ip_load_balancing(service_name="XXXXXX",
        state="ok")
    
    package main
    
    import (
    	"github.com/ovh/pulumi-ovh/sdk/go/ovh/IpLoadBalancing"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := IpLoadBalancing.GetIpLoadBalancing(ctx, &iploadbalancing.GetIpLoadBalancingArgs{
    			ServiceName: pulumi.StringRef("XXXXXX"),
    			State:       pulumi.StringRef("ok"),
    		}, 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 lb = Ovh.IpLoadBalancing.GetIpLoadBalancing.Invoke(new()
        {
            ServiceName = "XXXXXX",
            State = "ok",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ovh.IpLoadBalancing.IpLoadBalancingFunctions;
    import com.pulumi.ovh.IpLoadBalancing.inputs.GetIpLoadBalancingArgs;
    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 lb = IpLoadBalancingFunctions.getIpLoadBalancing(GetIpLoadBalancingArgs.builder()
                .serviceName("XXXXXX")
                .state("ok")
                .build());
    
        }
    }
    
    variables:
      lb:
        fn::invoke:
          Function: ovh:IpLoadBalancing:getIpLoadBalancing
          Arguments:
            serviceName: XXXXXX
            state: ok
    

    Using getIpLoadBalancing

    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 getIpLoadBalancing(args: GetIpLoadBalancingArgs, opts?: InvokeOptions): Promise<GetIpLoadBalancingResult>
    function getIpLoadBalancingOutput(args: GetIpLoadBalancingOutputArgs, opts?: InvokeOptions): Output<GetIpLoadBalancingResult>
    def get_ip_load_balancing(display_name: Optional[str] = None,
                              ip_loadbalancing: Optional[str] = None,
                              ipv4: Optional[str] = None,
                              ipv6: Optional[str] = None,
                              offer: Optional[str] = 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,
                              opts: Optional[InvokeOptions] = None) -> GetIpLoadBalancingResult
    def get_ip_load_balancing_output(display_name: Optional[pulumi.Input[str]] = None,
                              ip_loadbalancing: Optional[pulumi.Input[str]] = None,
                              ipv4: Optional[pulumi.Input[str]] = None,
                              ipv6: Optional[pulumi.Input[str]] = None,
                              offer: Optional[pulumi.Input[str]] = None,
                              service_name: Optional[pulumi.Input[str]] = None,
                              ssl_configuration: Optional[pulumi.Input[str]] = None,
                              state: Optional[pulumi.Input[str]] = None,
                              vrack_eligibility: Optional[pulumi.Input[bool]] = None,
                              vrack_name: Optional[pulumi.Input[str]] = None,
                              zones: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetIpLoadBalancingResult]
    func GetIpLoadBalancing(ctx *Context, args *GetIpLoadBalancingArgs, opts ...InvokeOption) (*GetIpLoadBalancingResult, error)
    func GetIpLoadBalancingOutput(ctx *Context, args *GetIpLoadBalancingOutputArgs, opts ...InvokeOption) GetIpLoadBalancingResultOutput

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

    public static class GetIpLoadBalancing 
    {
        public static Task<GetIpLoadBalancingResult> InvokeAsync(GetIpLoadBalancingArgs args, InvokeOptions? opts = null)
        public static Output<GetIpLoadBalancingResult> Invoke(GetIpLoadBalancingInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetIpLoadBalancingResult> getIpLoadBalancing(GetIpLoadBalancingArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: ovh:IpLoadBalancing/getIpLoadBalancing:getIpLoadBalancing
      arguments:
        # arguments dictionary

    The following arguments are supported:

    DisplayName string
    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
    Offer string
    The offer of your IP load balancing
    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. Can take any of the following value: "intermediate", "modern"
    State string
    Current state of your IP. Can take any of the following value: "blacklisted", "deleted", "free", "ok", "quarantined", "suspended"
    VrackEligibility bool
    Vrack eligibility. Takes a boolean value.
    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. This takes an array of values.
    DisplayName string
    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
    Offer string
    The offer of your IP load balancing
    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. Can take any of the following value: "intermediate", "modern"
    State string
    Current state of your IP. Can take any of the following value: "blacklisted", "deleted", "free", "ok", "quarantined", "suspended"
    VrackEligibility bool
    Vrack eligibility. Takes a boolean value.
    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. This takes an array of values.
    displayName String
    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
    offer String
    The offer of your IP load balancing
    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. Can take any of the following value: "intermediate", "modern"
    state String
    Current state of your IP. Can take any of the following value: "blacklisted", "deleted", "free", "ok", "quarantined", "suspended"
    vrackEligibility Boolean
    Vrack eligibility. Takes a boolean value.
    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. This takes an array of values.
    displayName string
    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
    offer string
    The offer of your IP load balancing
    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. Can take any of the following value: "intermediate", "modern"
    state string
    Current state of your IP. Can take any of the following value: "blacklisted", "deleted", "free", "ok", "quarantined", "suspended"
    vrackEligibility boolean
    Vrack eligibility. Takes a boolean value.
    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. This takes an array of values.
    display_name str
    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
    offer str
    The offer of your IP load balancing
    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. Can take any of the following value: "intermediate", "modern"
    state str
    Current state of your IP. Can take any of the following value: "blacklisted", "deleted", "free", "ok", "quarantined", "suspended"
    vrack_eligibility bool
    Vrack eligibility. Takes a boolean value.
    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. This takes an array of values.
    displayName String
    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
    offer String
    The offer of your IP load balancing
    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. Can take any of the following value: "intermediate", "modern"
    state String
    Current state of your IP. Can take any of the following value: "blacklisted", "deleted", "free", "ok", "quarantined", "suspended"
    vrackEligibility Boolean
    Vrack eligibility. Takes a boolean value.
    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. This takes an array of values.

    getIpLoadBalancing Result

    The following output properties are available:

    DisplayName string
    Id string
    The provider-assigned unique ID for this managed resource.
    IpLoadbalancing string
    Ipv4 string
    Ipv6 string
    MetricsToken string
    The metrics token associated with your IP load balancing This attribute is sensitive.
    Offer string
    OrderableZones List<GetIpLoadBalancingOrderableZone>
    Available additional zone for your Load Balancer
    ServiceName string
    SslConfiguration string
    State string
    Urn string
    The URN of the load balancer, to be used in IAM policies
    VrackEligibility bool
    VrackName string
    Zones List<string>
    DisplayName string
    Id string
    The provider-assigned unique ID for this managed resource.
    IpLoadbalancing string
    Ipv4 string
    Ipv6 string
    MetricsToken string
    The metrics token associated with your IP load balancing This attribute is sensitive.
    Offer string
    OrderableZones []GetIpLoadBalancingOrderableZone
    Available additional zone for your Load Balancer
    ServiceName string
    SslConfiguration string
    State string
    Urn string
    The URN of the load balancer, to be used in IAM policies
    VrackEligibility bool
    VrackName string
    Zones []string
    displayName String
    id String
    The provider-assigned unique ID for this managed resource.
    ipLoadbalancing String
    ipv4 String
    ipv6 String
    metricsToken String
    The metrics token associated with your IP load balancing This attribute is sensitive.
    offer String
    orderableZones List<GetOrderableZone>
    Available additional zone for your Load Balancer
    serviceName String
    sslConfiguration String
    state String
    urn String
    The URN of the load balancer, to be used in IAM policies
    vrackEligibility Boolean
    vrackName String
    zones List<String>
    displayName string
    id string
    The provider-assigned unique ID for this managed resource.
    ipLoadbalancing string
    ipv4 string
    ipv6 string
    metricsToken string
    The metrics token associated with your IP load balancing This attribute is sensitive.
    offer string
    orderableZones GetIpLoadBalancingOrderableZone[]
    Available additional zone for your Load Balancer
    serviceName string
    sslConfiguration string
    state string
    urn string
    The URN of the load balancer, to be used in IAM policies
    vrackEligibility boolean
    vrackName string
    zones string[]
    display_name str
    id str
    The provider-assigned unique ID for this managed resource.
    ip_loadbalancing str
    ipv4 str
    ipv6 str
    metrics_token str
    The metrics token associated with your IP load balancing This attribute is sensitive.
    offer str
    orderable_zones Sequence[iploadbalancing.GetIpLoadBalancingOrderableZone]
    Available additional zone for your Load Balancer
    service_name str
    ssl_configuration str
    state str
    urn str
    The URN of the load balancer, to be used in IAM policies
    vrack_eligibility bool
    vrack_name str
    zones Sequence[str]
    displayName String
    id String
    The provider-assigned unique ID for this managed resource.
    ipLoadbalancing String
    ipv4 String
    ipv6 String
    metricsToken String
    The metrics token associated with your IP load balancing This attribute is sensitive.
    offer String
    orderableZones List<Property Map>
    Available additional zone for your Load Balancer
    serviceName String
    sslConfiguration String
    state String
    urn String
    The URN of the load balancer, to be used in IAM policies
    vrackEligibility Boolean
    vrackName String
    zones List<String>

    Supporting Types

    GetIpLoadBalancingOrderableZone

    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

    Package Details

    Repository
    ovh ovh/pulumi-ovh
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the ovh Terraform Provider.
    ovh logo
    OVHCloud v0.50.0 published on Friday, Sep 20, 2024 by OVHcloud