Ovh

v0.0.4 published on Saturday, Sep 17, 2022 by lbrlabs

getIpLoadbalancingVrackNetwork

Use this data source to get the details of Vrack network available for your IPLoadbalancer associated with your OVH account.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Ovh = Pulumi.Ovh;

return await Deployment.RunAsync(() => 
{
    var lbNetwork = Ovh.GetIpLoadbalancingVrackNetwork.Invoke(new()
    {
        ServiceName = "XXXXXX",
        VrackNetworkId = "yyy",
    });

});
package main

import (
	"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ovh.GetIpLoadbalancingVrackNetwork(ctx, &GetIpLoadbalancingVrackNetworkArgs{
			ServiceName:    "XXXXXX",
			VrackNetworkId: "yyy",
		}, 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.OvhFunctions;
import com.pulumi.ovh.inputs.GetIpLoadbalancingVrackNetworkArgs;
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 lbNetwork = OvhFunctions.getIpLoadbalancingVrackNetwork(GetIpLoadbalancingVrackNetworkArgs.builder()
            .serviceName("XXXXXX")
            .vrackNetworkId("yyy")
            .build());

    }
}
import pulumi
import pulumi_ovh as ovh

lb_network = ovh.get_ip_loadbalancing_vrack_network(service_name="XXXXXX",
    vrack_network_id="yyy")
import * as pulumi from "@pulumi/pulumi";
import * as ovh from "@pulumi/ovh";

const lbNetwork = pulumi.output(ovh.getIpLoadbalancingVrackNetwork({
    serviceName: "XXXXXX",
    vrackNetworkId: Number.parseFloat("yyy"),
}));
variables:
  lbNetwork:
    Fn::Invoke:
      Function: ovh:getIpLoadbalancingVrackNetwork
      Arguments:
        serviceName: XXXXXX
        vrackNetworkId: yyy

Using getIpLoadbalancingVrackNetwork

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 getIpLoadbalancingVrackNetwork(args: GetIpLoadbalancingVrackNetworkArgs, opts?: InvokeOptions): Promise<GetIpLoadbalancingVrackNetworkResult>
function getIpLoadbalancingVrackNetworkOutput(args: GetIpLoadbalancingVrackNetworkOutputArgs, opts?: InvokeOptions): Output<GetIpLoadbalancingVrackNetworkResult>
def get_ip_loadbalancing_vrack_network(service_name: Optional[str] = None,
                                       vrack_network_id: Optional[int] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetIpLoadbalancingVrackNetworkResult
def get_ip_loadbalancing_vrack_network_output(service_name: Optional[pulumi.Input[str]] = None,
                                       vrack_network_id: Optional[pulumi.Input[int]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetIpLoadbalancingVrackNetworkResult]
func GetIpLoadbalancingVrackNetwork(ctx *Context, args *GetIpLoadbalancingVrackNetworkArgs, opts ...InvokeOption) (*GetIpLoadbalancingVrackNetworkResult, error)
func GetIpLoadbalancingVrackNetworkOutput(ctx *Context, args *GetIpLoadbalancingVrackNetworkOutputArgs, opts ...InvokeOption) GetIpLoadbalancingVrackNetworkResultOutput

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

public static class GetIpLoadbalancingVrackNetwork 
{
    public static Task<GetIpLoadbalancingVrackNetworkResult> InvokeAsync(GetIpLoadbalancingVrackNetworkArgs args, InvokeOptions? opts = null)
    public static Output<GetIpLoadbalancingVrackNetworkResult> Invoke(GetIpLoadbalancingVrackNetworkInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetIpLoadbalancingVrackNetworkResult> getIpLoadbalancingVrackNetwork(GetIpLoadbalancingVrackNetworkArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: ovh:index/getIpLoadbalancingVrackNetwork:getIpLoadbalancingVrackNetwork
  Arguments:
    # Arguments dictionary

The following arguments are supported:

ServiceName string

The internal name of your IP load balancing

VrackNetworkId int

Internal Load Balancer identifier of the vRack private network

ServiceName string

The internal name of your IP load balancing

VrackNetworkId int

Internal Load Balancer identifier of the vRack private network

serviceName String

The internal name of your IP load balancing

vrackNetworkId Integer

Internal Load Balancer identifier of the vRack private network

serviceName string

The internal name of your IP load balancing

vrackNetworkId number

Internal Load Balancer identifier of the vRack private network

service_name str

The internal name of your IP load balancing

vrack_network_id int

Internal Load Balancer identifier of the vRack private network

serviceName String

The internal name of your IP load balancing

vrackNetworkId Number

Internal Load Balancer identifier of the vRack private network

getIpLoadbalancingVrackNetwork Result

The following output properties are available:

DisplayName string

Human readable name for your vrack network

Id string

The provider-assigned unique ID for this managed resource.

NatIp string

An IP block used as a pool of IPs by this Load Balancer to connect to the servers in this private network. The blck must be in the private network and reserved for the Load Balancer

ServiceName string
Subnet string

IP block of the private network in the vRack

Vlan int

VLAN of the private network in the vRack. 0 if the private network is not in a VLAN

VrackNetworkId int
DisplayName string

Human readable name for your vrack network

Id string

The provider-assigned unique ID for this managed resource.

NatIp string

An IP block used as a pool of IPs by this Load Balancer to connect to the servers in this private network. The blck must be in the private network and reserved for the Load Balancer

ServiceName string
Subnet string

IP block of the private network in the vRack

Vlan int

VLAN of the private network in the vRack. 0 if the private network is not in a VLAN

VrackNetworkId int
displayName String

Human readable name for your vrack network

id String

The provider-assigned unique ID for this managed resource.

natIp String

An IP block used as a pool of IPs by this Load Balancer to connect to the servers in this private network. The blck must be in the private network and reserved for the Load Balancer

serviceName String
subnet String

IP block of the private network in the vRack

vlan Integer

VLAN of the private network in the vRack. 0 if the private network is not in a VLAN

vrackNetworkId Integer
displayName string

Human readable name for your vrack network

id string

The provider-assigned unique ID for this managed resource.

natIp string

An IP block used as a pool of IPs by this Load Balancer to connect to the servers in this private network. The blck must be in the private network and reserved for the Load Balancer

serviceName string
subnet string

IP block of the private network in the vRack

vlan number

VLAN of the private network in the vRack. 0 if the private network is not in a VLAN

vrackNetworkId number
display_name str

Human readable name for your vrack network

id str

The provider-assigned unique ID for this managed resource.

nat_ip str

An IP block used as a pool of IPs by this Load Balancer to connect to the servers in this private network. The blck must be in the private network and reserved for the Load Balancer

service_name str
subnet str

IP block of the private network in the vRack

vlan int

VLAN of the private network in the vRack. 0 if the private network is not in a VLAN

vrack_network_id int
displayName String

Human readable name for your vrack network

id String

The provider-assigned unique ID for this managed resource.

natIp String

An IP block used as a pool of IPs by this Load Balancer to connect to the servers in this private network. The blck must be in the private network and reserved for the Load Balancer

serviceName String
subnet String

IP block of the private network in the vRack

vlan Number

VLAN of the private network in the vRack. 0 if the private network is not in a VLAN

vrackNetworkId Number

Package Details

Repository
https://github.com/lbrlabs/pulumi-ovh
License
Apache-2.0
Notes

This Pulumi package is based on the ovh Terraform Provider.