ovh.IpLoadBalancing.getVrackNetwork

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

Example Usage

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

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

});
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.GetVrackNetwork(ctx, &iploadbalancing.GetVrackNetworkArgs{
			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.IpLoadBalancing.IpLoadBalancingFunctions;
import com.pulumi.ovh.IpLoadBalancing.inputs.GetVrackNetworkArgs;
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 = IpLoadBalancingFunctions.getVrackNetwork(GetVrackNetworkArgs.builder()
            .serviceName("XXXXXX")
            .vrackNetworkId("yyy")
            .build());

    }
}
import pulumi
import pulumi_ovh as ovh

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

const lbNetwork = ovh.IpLoadBalancing.getVrackNetwork({
    serviceName: "XXXXXX",
    vrackNetworkId: "yyy",
});
variables:
  lbNetwork:
    fn::invoke:
      Function: ovh:IpLoadBalancing:getVrackNetwork
      Arguments:
        serviceName: XXXXXX
        vrackNetworkId: yyy

Using getVrackNetwork

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 getVrackNetwork(args: GetVrackNetworkArgs, opts?: InvokeOptions): Promise<GetVrackNetworkResult>
function getVrackNetworkOutput(args: GetVrackNetworkOutputArgs, opts?: InvokeOptions): Output<GetVrackNetworkResult>
def get_vrack_network(service_name: Optional[str] = None,
                      vrack_network_id: Optional[int] = None,
                      opts: Optional[InvokeOptions] = None) -> GetVrackNetworkResult
def get_vrack_network_output(service_name: Optional[pulumi.Input[str]] = None,
                      vrack_network_id: Optional[pulumi.Input[int]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetVrackNetworkResult]
func GetVrackNetwork(ctx *Context, args *GetVrackNetworkArgs, opts ...InvokeOption) (*GetVrackNetworkResult, error)
func GetVrackNetworkOutput(ctx *Context, args *GetVrackNetworkOutputArgs, opts ...InvokeOption) GetVrackNetworkResultOutput

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

public static class GetVrackNetwork 
{
    public static Task<GetVrackNetworkResult> InvokeAsync(GetVrackNetworkArgs args, InvokeOptions? opts = null)
    public static Output<GetVrackNetworkResult> Invoke(GetVrackNetworkInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetVrackNetworkResult> getVrackNetwork(GetVrackNetworkArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: ovh:IpLoadBalancing/getVrackNetwork:getVrackNetwork
  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

getVrackNetwork 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
ovh lbrlabs/pulumi-ovh
License
Apache-2.0
Notes

This Pulumi package is based on the ovh Terraform Provider.