ovh.IpLoadBalancing.getIpLoadBalancing
Use this data source to retrieve information about an IP Load Balancing product
Example Usage
using System.Collections.Generic;
using Pulumi;
using Ovh = Pulumi.Ovh;
return await Deployment.RunAsync(() =>
{
var lb = Ovh.IpLoadBalancing.GetIpLoadBalancing.Invoke(new()
{
ServiceName = "XXXXXX",
State = "ok",
});
});
package main
import (
"github.com/lbrlabs/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
})
}
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());
}
}
import pulumi
import pulumi_ovh as ovh
lb = ovh.IpLoadBalancing.get_ip_load_balancing(service_name="XXXXXX",
state="ok")
import * as pulumi from "@pulumi/pulumi";
import * as ovh from "@pulumi/ovh";
const lb = ovh.IpLoadBalancing.getIpLoadBalancing({
serviceName: "XXXXXX",
state: "ok",
});
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:
- Display
Name string the name displayed in ManagerV6 for your iplb (max 50 chars)
- Ip
Loadbalancing 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
- Service
Name string The internal name of your IP load balancing
- Ssl
Configuration 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"
- Vrack
Eligibility bool Vrack eligibility. Takes a boolean value.
- Vrack
Name 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.
- Display
Name string the name displayed in ManagerV6 for your iplb (max 50 chars)
- Ip
Loadbalancing 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
- Service
Name string The internal name of your IP load balancing
- Ssl
Configuration 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"
- Vrack
Eligibility bool Vrack eligibility. Takes a boolean value.
- Vrack
Name 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 String the name displayed in ManagerV6 for your iplb (max 50 chars)
- ip
Loadbalancing 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
- service
Name String The internal name of your IP load balancing
- ssl
Configuration 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"
- vrack
Eligibility Boolean Vrack eligibility. Takes a boolean value.
- vrack
Name 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.
- display
Name string the name displayed in ManagerV6 for your iplb (max 50 chars)
- ip
Loadbalancing 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
- service
Name string The internal name of your IP load balancing
- ssl
Configuration 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"
- vrack
Eligibility boolean Vrack eligibility. Takes a boolean value.
- vrack
Name 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.
- display
Name String the name displayed in ManagerV6 for your iplb (max 50 chars)
- ip
Loadbalancing 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
- service
Name String The internal name of your IP load balancing
- ssl
Configuration 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"
- vrack
Eligibility Boolean Vrack eligibility. Takes a boolean value.
- vrack
Name 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:
- Display
Name string - Id string
The provider-assigned unique ID for this managed resource.
- Ip
Loadbalancing string - Ipv4 string
- Ipv6 string
- Metrics
Token string The metrics token associated with your IP load balancing This attribute is sensitive.
- Offer string
- Orderable
Zones List<Lbrlabs.Pulumi Package. Ovh. Ip Load Balancing. Outputs. Get Ip Load Balancing Orderable Zone> Available additional zone for your Load Balancer
- Service
Name string - Ssl
Configuration string - State string
- Vrack
Eligibility bool - Vrack
Name string - Zones List<string>
- Display
Name string - Id string
The provider-assigned unique ID for this managed resource.
- Ip
Loadbalancing string - Ipv4 string
- Ipv6 string
- Metrics
Token string The metrics token associated with your IP load balancing This attribute is sensitive.
- Offer string
- Orderable
Zones []GetIp Load Balancing Orderable Zone Available additional zone for your Load Balancer
- Service
Name string - Ssl
Configuration string - State string
- Vrack
Eligibility bool - Vrack
Name string - Zones []string
- display
Name String - id String
The provider-assigned unique ID for this managed resource.
- ip
Loadbalancing String - ipv4 String
- ipv6 String
- metrics
Token String The metrics token associated with your IP load balancing This attribute is sensitive.
- offer String
- orderable
Zones List<GetOrderable Zone> Available additional zone for your Load Balancer
- service
Name String - ssl
Configuration String - state String
- vrack
Eligibility Boolean - vrack
Name String - zones List<String>
- display
Name string - id string
The provider-assigned unique ID for this managed resource.
- ip
Loadbalancing string - ipv4 string
- ipv6 string
- metrics
Token string The metrics token associated with your IP load balancing This attribute is sensitive.
- offer string
- orderable
Zones GetIp Load Balancing Orderable Zone[] Available additional zone for your Load Balancer
- service
Name string - ssl
Configuration string - state string
- vrack
Eligibility boolean - vrack
Name 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 GetIp Load Balancing Orderable Zone] Available additional zone for your Load Balancer
- service_
name str - ssl_
configuration str - state str
- vrack_
eligibility bool - vrack_
name str - zones Sequence[str]
- display
Name String - id String
The provider-assigned unique ID for this managed resource.
- ip
Loadbalancing String - ipv4 String
- ipv6 String
- metrics
Token String The metrics token associated with your IP load balancing This attribute is sensitive.
- offer String
- orderable
Zones List<Property Map> Available additional zone for your Load Balancer
- service
Name String - ssl
Configuration String - state String
- vrack
Eligibility Boolean - vrack
Name String - zones List<String>
Supporting Types
GetIpLoadBalancingOrderableZone
Package Details
- Repository
- ovh lbrlabs/pulumi-ovh
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
ovh
Terraform Provider.