ovh.IpLoadBalancing.VrackNetwork
Explore with Pulumi AI
Manage a vrack network for your IP Loadbalancing service.
Create VrackNetwork Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VrackNetwork(name: string, args: VrackNetworkArgs, opts?: CustomResourceOptions);
@overload
def VrackNetwork(resource_name: str,
args: VrackNetworkArgs,
opts: Optional[ResourceOptions] = None)
@overload
def VrackNetwork(resource_name: str,
opts: Optional[ResourceOptions] = None,
nat_ip: Optional[str] = None,
service_name: Optional[str] = None,
subnet: Optional[str] = None,
display_name: Optional[str] = None,
farm_ids: Optional[Sequence[int]] = None,
vlan: Optional[int] = None)
func NewVrackNetwork(ctx *Context, name string, args VrackNetworkArgs, opts ...ResourceOption) (*VrackNetwork, error)
public VrackNetwork(string name, VrackNetworkArgs args, CustomResourceOptions? opts = null)
public VrackNetwork(String name, VrackNetworkArgs args)
public VrackNetwork(String name, VrackNetworkArgs args, CustomResourceOptions options)
type: ovh:IpLoadBalancing:VrackNetwork
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args VrackNetworkArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args VrackNetworkArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args VrackNetworkArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VrackNetworkArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VrackNetworkArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var vrackNetworkResource = new Ovh.IpLoadBalancing.VrackNetwork("vrackNetworkResource", new()
{
NatIp = "string",
ServiceName = "string",
Subnet = "string",
DisplayName = "string",
FarmIds = new[]
{
0,
},
Vlan = 0,
});
example, err := IpLoadBalancing.NewVrackNetwork(ctx, "vrackNetworkResource", &IpLoadBalancing.VrackNetworkArgs{
NatIp: pulumi.String("string"),
ServiceName: pulumi.String("string"),
Subnet: pulumi.String("string"),
DisplayName: pulumi.String("string"),
FarmIds: pulumi.IntArray{
pulumi.Int(0),
},
Vlan: pulumi.Int(0),
})
var vrackNetworkResource = new VrackNetwork("vrackNetworkResource", VrackNetworkArgs.builder()
.natIp("string")
.serviceName("string")
.subnet("string")
.displayName("string")
.farmIds(0)
.vlan(0)
.build());
vrack_network_resource = ovh.ip_load_balancing.VrackNetwork("vrackNetworkResource",
nat_ip="string",
service_name="string",
subnet="string",
display_name="string",
farm_ids=[0],
vlan=0)
const vrackNetworkResource = new ovh.iploadbalancing.VrackNetwork("vrackNetworkResource", {
natIp: "string",
serviceName: "string",
subnet: "string",
displayName: "string",
farmIds: [0],
vlan: 0,
});
type: ovh:IpLoadBalancing:VrackNetwork
properties:
displayName: string
farmIds:
- 0
natIp: string
serviceName: string
subnet: string
vlan: 0
VrackNetwork Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The VrackNetwork resource accepts the following input properties:
- 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 - The internal name of your IP load balancing
- Subnet string
- IP block of the private network in the vRack
- Display
Name string - Human readable name for your vrack network
- Farm
Ids List<int> - This attribute is there for documentation purpose only and isnt passed to the OVHcloud API as it may conflicts with http/tcp farms
vrack_network_id
attribute - Vlan int
- VLAN of the private network in the vRack. 0 if the private network is not in a VLAN
- 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 - The internal name of your IP load balancing
- Subnet string
- IP block of the private network in the vRack
- Display
Name string - Human readable name for your vrack network
- Farm
Ids []int - This attribute is there for documentation purpose only and isnt passed to the OVHcloud API as it may conflicts with http/tcp farms
vrack_network_id
attribute - Vlan int
- VLAN of the private network in the vRack. 0 if the private network is not in a VLAN
- 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 - The internal name of your IP load balancing
- subnet String
- IP block of the private network in the vRack
- display
Name String - Human readable name for your vrack network
- farm
Ids List<Integer> - This attribute is there for documentation purpose only and isnt passed to the OVHcloud API as it may conflicts with http/tcp farms
vrack_network_id
attribute - vlan Integer
- VLAN of the private network in the vRack. 0 if the private network is not in a VLAN
- 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 - The internal name of your IP load balancing
- subnet string
- IP block of the private network in the vRack
- display
Name string - Human readable name for your vrack network
- farm
Ids number[] - This attribute is there for documentation purpose only and isnt passed to the OVHcloud API as it may conflicts with http/tcp farms
vrack_network_id
attribute - vlan number
- VLAN of the private network in the vRack. 0 if the private network is not in a VLAN
- 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 - The internal name of your IP load balancing
- subnet str
- IP block of the private network in the vRack
- display_
name str - Human readable name for your vrack network
- farm_
ids Sequence[int] - This attribute is there for documentation purpose only and isnt passed to the OVHcloud API as it may conflicts with http/tcp farms
vrack_network_id
attribute - vlan int
- VLAN of the private network in the vRack. 0 if the private network is not in a VLAN
- 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 - The internal name of your IP load balancing
- subnet String
- IP block of the private network in the vRack
- display
Name String - Human readable name for your vrack network
- farm
Ids List<Number> - This attribute is there for documentation purpose only and isnt passed to the OVHcloud API as it may conflicts with http/tcp farms
vrack_network_id
attribute - vlan Number
- VLAN of the private network in the vRack. 0 if the private network is not in a VLAN
Outputs
All input properties are implicitly available as output properties. Additionally, the VrackNetwork resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Vrack
Network intId - (Required) Internal Load Balancer identifier of the vRack private network
- Id string
- The provider-assigned unique ID for this managed resource.
- Vrack
Network intId - (Required) Internal Load Balancer identifier of the vRack private network
- id String
- The provider-assigned unique ID for this managed resource.
- vrack
Network IntegerId - (Required) Internal Load Balancer identifier of the vRack private network
- id string
- The provider-assigned unique ID for this managed resource.
- vrack
Network numberId - (Required) Internal Load Balancer identifier of the vRack private network
- id str
- The provider-assigned unique ID for this managed resource.
- vrack_
network_ intid - (Required) Internal Load Balancer identifier of the vRack private network
- id String
- The provider-assigned unique ID for this managed resource.
- vrack
Network NumberId - (Required) Internal Load Balancer identifier of the vRack private network
Look up Existing VrackNetwork Resource
Get an existing VrackNetwork resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: VrackNetworkState, opts?: CustomResourceOptions): VrackNetwork
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
display_name: Optional[str] = None,
farm_ids: Optional[Sequence[int]] = None,
nat_ip: Optional[str] = None,
service_name: Optional[str] = None,
subnet: Optional[str] = None,
vlan: Optional[int] = None,
vrack_network_id: Optional[int] = None) -> VrackNetwork
func GetVrackNetwork(ctx *Context, name string, id IDInput, state *VrackNetworkState, opts ...ResourceOption) (*VrackNetwork, error)
public static VrackNetwork Get(string name, Input<string> id, VrackNetworkState? state, CustomResourceOptions? opts = null)
public static VrackNetwork get(String name, Output<String> id, VrackNetworkState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Display
Name string - Human readable name for your vrack network
- Farm
Ids List<int> - This attribute is there for documentation purpose only and isnt passed to the OVHcloud API as it may conflicts with http/tcp farms
vrack_network_id
attribute - 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 - The internal name of your IP load balancing
- 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 - (Required) Internal Load Balancer identifier of the vRack private network
- Display
Name string - Human readable name for your vrack network
- Farm
Ids []int - This attribute is there for documentation purpose only and isnt passed to the OVHcloud API as it may conflicts with http/tcp farms
vrack_network_id
attribute - 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 - The internal name of your IP load balancing
- 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 - (Required) Internal Load Balancer identifier of the vRack private network
- display
Name String - Human readable name for your vrack network
- farm
Ids List<Integer> - This attribute is there for documentation purpose only and isnt passed to the OVHcloud API as it may conflicts with http/tcp farms
vrack_network_id
attribute - 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 - The internal name of your IP load balancing
- 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 - (Required) Internal Load Balancer identifier of the vRack private network
- display
Name string - Human readable name for your vrack network
- farm
Ids number[] - This attribute is there for documentation purpose only and isnt passed to the OVHcloud API as it may conflicts with http/tcp farms
vrack_network_id
attribute - 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 - The internal name of your IP load balancing
- 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 - (Required) Internal Load Balancer identifier of the vRack private network
- display_
name str - Human readable name for your vrack network
- farm_
ids Sequence[int] - This attribute is there for documentation purpose only and isnt passed to the OVHcloud API as it may conflicts with http/tcp farms
vrack_network_id
attribute - 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 - The internal name of your IP load balancing
- 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 - (Required) Internal Load Balancer identifier of the vRack private network
- display
Name String - Human readable name for your vrack network
- farm
Ids List<Number> - This attribute is there for documentation purpose only and isnt passed to the OVHcloud API as it may conflicts with http/tcp farms
vrack_network_id
attribute - 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 - The internal name of your IP load balancing
- 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 - (Required) Internal Load Balancer identifier of the vRack private network
Package Details
- Repository
- ovh ovh/pulumi-ovh
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ovh
Terraform Provider.