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:
- Service
Name string The internal name of your IP load balancing
- Vrack
Network intId Internal Load Balancer identifier of the vRack private network
- Service
Name string The internal name of your IP load balancing
- Vrack
Network intId Internal Load Balancer identifier of the vRack private network
- service
Name String The internal name of your IP load balancing
- vrack
Network IntegerId Internal Load Balancer identifier of the vRack private network
- service
Name string The internal name of your IP load balancing
- vrack
Network numberId Internal Load Balancer identifier of the vRack private network
- service_
name str The internal name of your IP load balancing
- vrack_
network_ intid Internal Load Balancer identifier of the vRack private network
- service
Name String The internal name of your IP load balancing
- vrack
Network NumberId Internal Load Balancer identifier of the vRack private network
getVrackNetwork Result
The following output properties are available:
- Display
Name string Human readable name for your vrack network
- Id string
The provider-assigned unique ID for this managed resource.
- Nat
Ip 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
- Service
Name 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
- Vrack
Network intId
- Display
Name string Human readable name for your vrack network
- Id string
The provider-assigned unique ID for this managed resource.
- Nat
Ip 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
- Service
Name 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
- Vrack
Network intId
- display
Name String Human readable name for your vrack network
- id String
The provider-assigned unique ID for this managed resource.
- nat
Ip 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
- service
Name 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
- vrack
Network IntegerId
- display
Name string Human readable name for your vrack network
- id string
The provider-assigned unique ID for this managed resource.
- nat
Ip 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
- service
Name 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
- vrack
Network numberId
- 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_ intid
- display
Name String Human readable name for your vrack network
- id String
The provider-assigned unique ID for this managed resource.
- nat
Ip 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
- service
Name 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
- vrack
Network NumberId
Package Details
- Repository
- ovh lbrlabs/pulumi-ovh
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
ovh
Terraform Provider.