published on Friday, Sep 25, 2026 by OVHcloud
published on Friday, Sep 25, 2026 by OVHcloud
Creates a load balancer in a public cloud project.
Create CloudLoadbalancer Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CloudLoadbalancer(name: string, args: CloudLoadbalancerArgs, opts?: CustomResourceOptions);@overload
def CloudLoadbalancer(resource_name: str,
args: CloudLoadbalancerArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CloudLoadbalancer(resource_name: str,
opts: Optional[ResourceOptions] = None,
flavor_name: Optional[str] = None,
network: Optional[CloudLoadbalancerNetworkArgs] = None,
region: Optional[str] = None,
service_name: Optional[str] = None,
availability_zone: Optional[str] = None,
description: Optional[str] = None,
name: Optional[str] = None)func NewCloudLoadbalancer(ctx *Context, name string, args CloudLoadbalancerArgs, opts ...ResourceOption) (*CloudLoadbalancer, error)public CloudLoadbalancer(string name, CloudLoadbalancerArgs args, CustomResourceOptions? opts = null)
public CloudLoadbalancer(String name, CloudLoadbalancerArgs args)
public CloudLoadbalancer(String name, CloudLoadbalancerArgs args, CustomResourceOptions options)
type: ovh:CloudLoadbalancer
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "ovh_cloud_loadbalancer" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args CloudLoadbalancerArgs
- 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 CloudLoadbalancerArgs
- 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 CloudLoadbalancerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CloudLoadbalancerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CloudLoadbalancerArgs
- 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 cloudLoadbalancerResource = new Ovh.CloudLoadbalancer("cloudLoadbalancerResource", new()
{
FlavorName = "string",
Network = new Ovh.Inputs.CloudLoadbalancerNetworkArgs
{
Id = "string",
SubnetId = "string",
Ip = "string",
},
Region = "string",
ServiceName = "string",
AvailabilityZone = "string",
Description = "string",
Name = "string",
});
example, err := ovh.NewCloudLoadbalancer(ctx, "cloudLoadbalancerResource", &ovh.CloudLoadbalancerArgs{
FlavorName: pulumi.String("string"),
Network: &ovh.CloudLoadbalancerNetworkArgs{
Id: pulumi.String("string"),
SubnetId: pulumi.String("string"),
Ip: pulumi.String("string"),
},
Region: pulumi.String("string"),
ServiceName: pulumi.String("string"),
AvailabilityZone: pulumi.String("string"),
Description: pulumi.String("string"),
Name: pulumi.String("string"),
})
resource "ovh_cloud_loadbalancer" "cloudLoadbalancerResource" {
lifecycle {
create_before_destroy = true
}
flavor_name = "string"
network = {
id = "string"
subnet_id = "string"
ip = "string"
}
region = "string"
service_name = "string"
availability_zone = "string"
description = "string"
name = "string"
}
var cloudLoadbalancerResource = new CloudLoadbalancer("cloudLoadbalancerResource", CloudLoadbalancerArgs.builder()
.flavorName("string")
.network(CloudLoadbalancerNetworkArgs.builder()
.id("string")
.subnetId("string")
.ip("string")
.build())
.region("string")
.serviceName("string")
.availabilityZone("string")
.description("string")
.name("string")
.build());
cloud_loadbalancer_resource = ovh.CloudLoadbalancer("cloudLoadbalancerResource",
flavor_name="string",
network={
"id": "string",
"subnet_id": "string",
"ip": "string",
},
region="string",
service_name="string",
availability_zone="string",
description="string",
name="string")
const cloudLoadbalancerResource = new ovh.CloudLoadbalancer("cloudLoadbalancerResource", {
flavorName: "string",
network: {
id: "string",
subnetId: "string",
ip: "string",
},
region: "string",
serviceName: "string",
availabilityZone: "string",
description: "string",
name: "string",
});
type: ovh:CloudLoadbalancer
properties:
availabilityZone: string
description: string
flavorName: string
name: string
network:
id: string
ip: string
subnetId: string
region: string
serviceName: string
CloudLoadbalancer Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The CloudLoadbalancer resource accepts the following input properties:
- Flavor
Name string - Name of the load balancer flavor. Must be one of
SMALL,MEDIUM,LARGE,XL. Changing this value recreates the resource. - Network
Cloud
Loadbalancer Network - Network of the VIP. Changing any value of this block recreates the resource.
- Region string
- Region where the load balancer will be created. Changing this value recreates the resource.
- Service
Name string - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
- Availability
Zone string - Availability zone for the load balancer. Changing this value recreates the resource.
- Description string
- Load balancer description.
- Name string
- Load balancer name.
- Flavor
Name string - Name of the load balancer flavor. Must be one of
SMALL,MEDIUM,LARGE,XL. Changing this value recreates the resource. - Network
Cloud
Loadbalancer Network Args - Network of the VIP. Changing any value of this block recreates the resource.
- Region string
- Region where the load balancer will be created. Changing this value recreates the resource.
- Service
Name string - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
- Availability
Zone string - Availability zone for the load balancer. Changing this value recreates the resource.
- Description string
- Load balancer description.
- Name string
- Load balancer name.
- flavor_
name string - Name of the load balancer flavor. Must be one of
SMALL,MEDIUM,LARGE,XL. Changing this value recreates the resource. - network object
- Network of the VIP. Changing any value of this block recreates the resource.
- region string
- Region where the load balancer will be created. Changing this value recreates the resource.
- service_
name string - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
- availability_
zone string - Availability zone for the load balancer. Changing this value recreates the resource.
- description string
- Load balancer description.
- name string
- Load balancer name.
- flavor
Name String - Name of the load balancer flavor. Must be one of
SMALL,MEDIUM,LARGE,XL. Changing this value recreates the resource. - network
Cloud
Loadbalancer Network - Network of the VIP. Changing any value of this block recreates the resource.
- region String
- Region where the load balancer will be created. Changing this value recreates the resource.
- service
Name String - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
- availability
Zone String - Availability zone for the load balancer. Changing this value recreates the resource.
- description String
- Load balancer description.
- name String
- Load balancer name.
- flavor
Name string - Name of the load balancer flavor. Must be one of
SMALL,MEDIUM,LARGE,XL. Changing this value recreates the resource. - network
Cloud
Loadbalancer Network - Network of the VIP. Changing any value of this block recreates the resource.
- region string
- Region where the load balancer will be created. Changing this value recreates the resource.
- service
Name string - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
- availability
Zone string - Availability zone for the load balancer. Changing this value recreates the resource.
- description string
- Load balancer description.
- name string
- Load balancer name.
- flavor_
name str - Name of the load balancer flavor. Must be one of
SMALL,MEDIUM,LARGE,XL. Changing this value recreates the resource. - network
Cloud
Loadbalancer Network Args - Network of the VIP. Changing any value of this block recreates the resource.
- region str
- Region where the load balancer will be created. Changing this value recreates the resource.
- service_
name str - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
- availability_
zone str - Availability zone for the load balancer. Changing this value recreates the resource.
- description str
- Load balancer description.
- name str
- Load balancer name.
- flavor
Name String - Name of the load balancer flavor. Must be one of
SMALL,MEDIUM,LARGE,XL. Changing this value recreates the resource. - network Property Map
- Network of the VIP. Changing any value of this block recreates the resource.
- region String
- Region where the load balancer will be created. Changing this value recreates the resource.
- service
Name String - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
- availability
Zone String - Availability zone for the load balancer. Changing this value recreates the resource.
- description String
- Load balancer description.
- name String
- Load balancer name.
Outputs
All input properties are implicitly available as output properties. Additionally, the CloudLoadbalancer resource produces the following output properties:
- Checksum string
- Computed hash representing the current target specification value.
- Created
At string - Creation date of the load balancer.
- Current
State CloudLoadbalancer Current State - Current state of the load balancer:
- Id string
- The provider-assigned unique ID for this managed resource.
- Resource
Status string - Load balancer readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - Updated
At string - Last update date of the load balancer.
- Checksum string
- Computed hash representing the current target specification value.
- Created
At string - Creation date of the load balancer.
- Current
State CloudLoadbalancer Current State - Current state of the load balancer:
- Id string
- The provider-assigned unique ID for this managed resource.
- Resource
Status string - Load balancer readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - Updated
At string - Last update date of the load balancer.
- checksum string
- Computed hash representing the current target specification value.
- created_
at string - Creation date of the load balancer.
- current_
state object - Current state of the load balancer:
- id string
- The provider-assigned unique ID for this managed resource.
- resource_
status string - Load balancer readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - updated_
at string - Last update date of the load balancer.
- checksum String
- Computed hash representing the current target specification value.
- created
At String - Creation date of the load balancer.
- current
State CloudLoadbalancer Current State - Current state of the load balancer:
- id String
- The provider-assigned unique ID for this managed resource.
- resource
Status String - Load balancer readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - updated
At String - Last update date of the load balancer.
- checksum string
- Computed hash representing the current target specification value.
- created
At string - Creation date of the load balancer.
- current
State CloudLoadbalancer Current State - Current state of the load balancer:
- id string
- The provider-assigned unique ID for this managed resource.
- resource
Status string - Load balancer readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - updated
At string - Last update date of the load balancer.
- checksum str
- Computed hash representing the current target specification value.
- created_
at str - Creation date of the load balancer.
- current_
state CloudLoadbalancer Current State - Current state of the load balancer:
- id str
- The provider-assigned unique ID for this managed resource.
- resource_
status str - Load balancer readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - updated_
at str - Last update date of the load balancer.
- checksum String
- Computed hash representing the current target specification value.
- created
At String - Creation date of the load balancer.
- current
State Property Map - Current state of the load balancer:
- id String
- The provider-assigned unique ID for this managed resource.
- resource
Status String - Load balancer readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - updated
At String - Last update date of the load balancer.
Look up Existing CloudLoadbalancer Resource
Get an existing CloudLoadbalancer 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?: CloudLoadbalancerState, opts?: CustomResourceOptions): CloudLoadbalancer@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
availability_zone: Optional[str] = None,
checksum: Optional[str] = None,
created_at: Optional[str] = None,
current_state: Optional[CloudLoadbalancerCurrentStateArgs] = None,
description: Optional[str] = None,
flavor_name: Optional[str] = None,
name: Optional[str] = None,
network: Optional[CloudLoadbalancerNetworkArgs] = None,
region: Optional[str] = None,
resource_status: Optional[str] = None,
service_name: Optional[str] = None,
updated_at: Optional[str] = None) -> CloudLoadbalancerfunc GetCloudLoadbalancer(ctx *Context, name string, id IDInput, state *CloudLoadbalancerState, opts ...ResourceOption) (*CloudLoadbalancer, error)public static CloudLoadbalancer Get(string name, Input<string> id, CloudLoadbalancerState? state, CustomResourceOptions? opts = null)public static CloudLoadbalancer get(String name, Output<String> id, CloudLoadbalancerState state, CustomResourceOptions options)resources: _: type: ovh:CloudLoadbalancer get: id: ${id}import {
to = ovh_cloud_loadbalancer.example
id = "${id}"
}
- 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.
- Availability
Zone string - Availability zone for the load balancer. Changing this value recreates the resource.
- Checksum string
- Computed hash representing the current target specification value.
- Created
At string - Creation date of the load balancer.
- Current
State CloudLoadbalancer Current State - Current state of the load balancer:
- Description string
- Load balancer description.
- Flavor
Name string - Name of the load balancer flavor. Must be one of
SMALL,MEDIUM,LARGE,XL. Changing this value recreates the resource. - Name string
- Load balancer name.
- Network
Cloud
Loadbalancer Network - Network of the VIP. Changing any value of this block recreates the resource.
- Region string
- Region where the load balancer will be created. Changing this value recreates the resource.
- Resource
Status string - Load balancer readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - Service
Name string - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
- Updated
At string - Last update date of the load balancer.
- Availability
Zone string - Availability zone for the load balancer. Changing this value recreates the resource.
- Checksum string
- Computed hash representing the current target specification value.
- Created
At string - Creation date of the load balancer.
- Current
State CloudLoadbalancer Current State Args - Current state of the load balancer:
- Description string
- Load balancer description.
- Flavor
Name string - Name of the load balancer flavor. Must be one of
SMALL,MEDIUM,LARGE,XL. Changing this value recreates the resource. - Name string
- Load balancer name.
- Network
Cloud
Loadbalancer Network Args - Network of the VIP. Changing any value of this block recreates the resource.
- Region string
- Region where the load balancer will be created. Changing this value recreates the resource.
- Resource
Status string - Load balancer readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - Service
Name string - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
- Updated
At string - Last update date of the load balancer.
- availability_
zone string - Availability zone for the load balancer. Changing this value recreates the resource.
- checksum string
- Computed hash representing the current target specification value.
- created_
at string - Creation date of the load balancer.
- current_
state object - Current state of the load balancer:
- description string
- Load balancer description.
- flavor_
name string - Name of the load balancer flavor. Must be one of
SMALL,MEDIUM,LARGE,XL. Changing this value recreates the resource. - name string
- Load balancer name.
- network object
- Network of the VIP. Changing any value of this block recreates the resource.
- region string
- Region where the load balancer will be created. Changing this value recreates the resource.
- resource_
status string - Load balancer readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - service_
name string - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
- updated_
at string - Last update date of the load balancer.
- availability
Zone String - Availability zone for the load balancer. Changing this value recreates the resource.
- checksum String
- Computed hash representing the current target specification value.
- created
At String - Creation date of the load balancer.
- current
State CloudLoadbalancer Current State - Current state of the load balancer:
- description String
- Load balancer description.
- flavor
Name String - Name of the load balancer flavor. Must be one of
SMALL,MEDIUM,LARGE,XL. Changing this value recreates the resource. - name String
- Load balancer name.
- network
Cloud
Loadbalancer Network - Network of the VIP. Changing any value of this block recreates the resource.
- region String
- Region where the load balancer will be created. Changing this value recreates the resource.
- resource
Status String - Load balancer readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - service
Name String - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
- updated
At String - Last update date of the load balancer.
- availability
Zone string - Availability zone for the load balancer. Changing this value recreates the resource.
- checksum string
- Computed hash representing the current target specification value.
- created
At string - Creation date of the load balancer.
- current
State CloudLoadbalancer Current State - Current state of the load balancer:
- description string
- Load balancer description.
- flavor
Name string - Name of the load balancer flavor. Must be one of
SMALL,MEDIUM,LARGE,XL. Changing this value recreates the resource. - name string
- Load balancer name.
- network
Cloud
Loadbalancer Network - Network of the VIP. Changing any value of this block recreates the resource.
- region string
- Region where the load balancer will be created. Changing this value recreates the resource.
- resource
Status string - Load balancer readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - service
Name string - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
- updated
At string - Last update date of the load balancer.
- availability_
zone str - Availability zone for the load balancer. Changing this value recreates the resource.
- checksum str
- Computed hash representing the current target specification value.
- created_
at str - Creation date of the load balancer.
- current_
state CloudLoadbalancer Current State Args - Current state of the load balancer:
- description str
- Load balancer description.
- flavor_
name str - Name of the load balancer flavor. Must be one of
SMALL,MEDIUM,LARGE,XL. Changing this value recreates the resource. - name str
- Load balancer name.
- network
Cloud
Loadbalancer Network Args - Network of the VIP. Changing any value of this block recreates the resource.
- region str
- Region where the load balancer will be created. Changing this value recreates the resource.
- resource_
status str - Load balancer readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - service_
name str - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
- updated_
at str - Last update date of the load balancer.
- availability
Zone String - Availability zone for the load balancer. Changing this value recreates the resource.
- checksum String
- Computed hash representing the current target specification value.
- created
At String - Creation date of the load balancer.
- current
State Property Map - Current state of the load balancer:
- description String
- Load balancer description.
- flavor
Name String - Name of the load balancer flavor. Must be one of
SMALL,MEDIUM,LARGE,XL. Changing this value recreates the resource. - name String
- Load balancer name.
- network Property Map
- Network of the VIP. Changing any value of this block recreates the resource.
- region String
- Region where the load balancer will be created. Changing this value recreates the resource.
- resource
Status String - Load balancer readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - service
Name String - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
- updated
At String - Last update date of the load balancer.
Supporting Types
CloudLoadbalancerCurrentState, CloudLoadbalancerCurrentStateArgs
- Availability
Zone string - Availability zone for the load balancer. Changing this value recreates the resource.
- Description string
- Load balancer description.
- Flavor
Cloud
Loadbalancer Current State Flavor - Load balancer flavor reference:
- Name string
- Load balancer name.
- Network
Cloud
Loadbalancer Current State Network - Network of the VIP. Changing any value of this block recreates the resource.
- Operating
Status string - Operating status of the load balancer.
- Provisioning
Status string - Provisioning status of the load balancer.
- Region string
- Region where the load balancer will be created. Changing this value recreates the resource.
- Availability
Zone string - Availability zone for the load balancer. Changing this value recreates the resource.
- Description string
- Load balancer description.
- Flavor
Cloud
Loadbalancer Current State Flavor - Load balancer flavor reference:
- Name string
- Load balancer name.
- Network
Cloud
Loadbalancer Current State Network - Network of the VIP. Changing any value of this block recreates the resource.
- Operating
Status string - Operating status of the load balancer.
- Provisioning
Status string - Provisioning status of the load balancer.
- Region string
- Region where the load balancer will be created. Changing this value recreates the resource.
- availability_
zone string - Availability zone for the load balancer. Changing this value recreates the resource.
- description string
- Load balancer description.
- flavor object
- Load balancer flavor reference:
- name string
- Load balancer name.
- network object
- Network of the VIP. Changing any value of this block recreates the resource.
- operating_
status string - Operating status of the load balancer.
- provisioning_
status string - Provisioning status of the load balancer.
- region string
- Region where the load balancer will be created. Changing this value recreates the resource.
- availability
Zone String - Availability zone for the load balancer. Changing this value recreates the resource.
- description String
- Load balancer description.
- flavor
Cloud
Loadbalancer Current State Flavor - Load balancer flavor reference:
- name String
- Load balancer name.
- network
Cloud
Loadbalancer Current State Network - Network of the VIP. Changing any value of this block recreates the resource.
- operating
Status String - Operating status of the load balancer.
- provisioning
Status String - Provisioning status of the load balancer.
- region String
- Region where the load balancer will be created. Changing this value recreates the resource.
- availability
Zone string - Availability zone for the load balancer. Changing this value recreates the resource.
- description string
- Load balancer description.
- flavor
Cloud
Loadbalancer Current State Flavor - Load balancer flavor reference:
- name string
- Load balancer name.
- network
Cloud
Loadbalancer Current State Network - Network of the VIP. Changing any value of this block recreates the resource.
- operating
Status string - Operating status of the load balancer.
- provisioning
Status string - Provisioning status of the load balancer.
- region string
- Region where the load balancer will be created. Changing this value recreates the resource.
- availability_
zone str - Availability zone for the load balancer. Changing this value recreates the resource.
- description str
- Load balancer description.
- flavor
Cloud
Loadbalancer Current State Flavor - Load balancer flavor reference:
- name str
- Load balancer name.
- network
Cloud
Loadbalancer Current State Network - Network of the VIP. Changing any value of this block recreates the resource.
- operating_
status str - Operating status of the load balancer.
- provisioning_
status str - Provisioning status of the load balancer.
- region str
- Region where the load balancer will be created. Changing this value recreates the resource.
- availability
Zone String - Availability zone for the load balancer. Changing this value recreates the resource.
- description String
- Load balancer description.
- flavor Property Map
- Load balancer flavor reference:
- name String
- Load balancer name.
- network Property Map
- Network of the VIP. Changing any value of this block recreates the resource.
- operating
Status String - Operating status of the load balancer.
- provisioning
Status String - Provisioning status of the load balancer.
- region String
- Region where the load balancer will be created. Changing this value recreates the resource.
CloudLoadbalancerCurrentStateFlavor, CloudLoadbalancerCurrentStateFlavorArgs
- Id string
- Flavor ID.
- Id string
- Flavor ID.
- id string
- Flavor ID.
- id String
- Flavor ID.
- id string
- Flavor ID.
- id str
- Flavor ID.
- id String
- Flavor ID.
CloudLoadbalancerCurrentStateNetwork, CloudLoadbalancerCurrentStateNetworkArgs
- Addresses
List<Cloud
Loadbalancer Current State Network Address> - Addresses carried by the VIP port:
- Id string
- ID of the network for the VIP.
- Subnet
Id string - ID of the subnet for the VIP. The subnet must belong to the network above.
- Addresses
[]Cloud
Loadbalancer Current State Network Address - Addresses carried by the VIP port:
- Id string
- ID of the network for the VIP.
- Subnet
Id string - ID of the subnet for the VIP. The subnet must belong to the network above.
- addresses list(object)
- Addresses carried by the VIP port:
- id string
- ID of the network for the VIP.
- subnet_
id string - ID of the subnet for the VIP. The subnet must belong to the network above.
- addresses
List<Cloud
Loadbalancer Current State Network Address> - Addresses carried by the VIP port:
- id String
- ID of the network for the VIP.
- subnet
Id String - ID of the subnet for the VIP. The subnet must belong to the network above.
- addresses
Cloud
Loadbalancer Current State Network Address[] - Addresses carried by the VIP port:
- id string
- ID of the network for the VIP.
- subnet
Id string - ID of the subnet for the VIP. The subnet must belong to the network above.
- addresses
Sequence[Cloud
Loadbalancer Current State Network Address] - Addresses carried by the VIP port:
- id str
- ID of the network for the VIP.
- subnet_
id str - ID of the subnet for the VIP. The subnet must belong to the network above.
- addresses List<Property Map>
- Addresses carried by the VIP port:
- id String
- ID of the network for the VIP.
- subnet
Id String - ID of the subnet for the VIP. The subnet must belong to the network above.
CloudLoadbalancerCurrentStateNetworkAddress, CloudLoadbalancerCurrentStateNetworkAddressArgs
CloudLoadbalancerNetwork, CloudLoadbalancerNetworkArgs
- Id string
- ID of the network for the VIP.
- Subnet
Id string - ID of the subnet for the VIP. The subnet must belong to the network above.
- Ip string
- IP of the VIP. When it belongs to the subnet CIDR, it pins the fixed VIP address: it must be inside the subnet allocation pool, must not be the subnet gateway IP and must not already be taken by another port. When it is outside the subnet CIDR, it must be an existing floating IP of the project in that region, not already associated with a port, and the subnet must be attached to a router with an external gateway; the floating IP is then associated to the VIP port. Left empty, the address is picked automatically inside the subnet.
- Id string
- ID of the network for the VIP.
- Subnet
Id string - ID of the subnet for the VIP. The subnet must belong to the network above.
- Ip string
- IP of the VIP. When it belongs to the subnet CIDR, it pins the fixed VIP address: it must be inside the subnet allocation pool, must not be the subnet gateway IP and must not already be taken by another port. When it is outside the subnet CIDR, it must be an existing floating IP of the project in that region, not already associated with a port, and the subnet must be attached to a router with an external gateway; the floating IP is then associated to the VIP port. Left empty, the address is picked automatically inside the subnet.
- id string
- ID of the network for the VIP.
- subnet_
id string - ID of the subnet for the VIP. The subnet must belong to the network above.
- ip string
- IP of the VIP. When it belongs to the subnet CIDR, it pins the fixed VIP address: it must be inside the subnet allocation pool, must not be the subnet gateway IP and must not already be taken by another port. When it is outside the subnet CIDR, it must be an existing floating IP of the project in that region, not already associated with a port, and the subnet must be attached to a router with an external gateway; the floating IP is then associated to the VIP port. Left empty, the address is picked automatically inside the subnet.
- id String
- ID of the network for the VIP.
- subnet
Id String - ID of the subnet for the VIP. The subnet must belong to the network above.
- ip String
- IP of the VIP. When it belongs to the subnet CIDR, it pins the fixed VIP address: it must be inside the subnet allocation pool, must not be the subnet gateway IP and must not already be taken by another port. When it is outside the subnet CIDR, it must be an existing floating IP of the project in that region, not already associated with a port, and the subnet must be attached to a router with an external gateway; the floating IP is then associated to the VIP port. Left empty, the address is picked automatically inside the subnet.
- id string
- ID of the network for the VIP.
- subnet
Id string - ID of the subnet for the VIP. The subnet must belong to the network above.
- ip string
- IP of the VIP. When it belongs to the subnet CIDR, it pins the fixed VIP address: it must be inside the subnet allocation pool, must not be the subnet gateway IP and must not already be taken by another port. When it is outside the subnet CIDR, it must be an existing floating IP of the project in that region, not already associated with a port, and the subnet must be attached to a router with an external gateway; the floating IP is then associated to the VIP port. Left empty, the address is picked automatically inside the subnet.
- id str
- ID of the network for the VIP.
- subnet_
id str - ID of the subnet for the VIP. The subnet must belong to the network above.
- ip str
- IP of the VIP. When it belongs to the subnet CIDR, it pins the fixed VIP address: it must be inside the subnet allocation pool, must not be the subnet gateway IP and must not already be taken by another port. When it is outside the subnet CIDR, it must be an existing floating IP of the project in that region, not already associated with a port, and the subnet must be attached to a router with an external gateway; the floating IP is then associated to the VIP port. Left empty, the address is picked automatically inside the subnet.
- id String
- ID of the network for the VIP.
- subnet
Id String - ID of the subnet for the VIP. The subnet must belong to the network above.
- ip String
- IP of the VIP. When it belongs to the subnet CIDR, it pins the fixed VIP address: it must be inside the subnet allocation pool, must not be the subnet gateway IP and must not already be taken by another port. When it is outside the subnet CIDR, it must be an existing floating IP of the project in that region, not already associated with a port, and the subnet must be attached to a router with an external gateway; the floating IP is then associated to the VIP port. Left empty, the address is picked automatically inside the subnet.
Import
A cloud load balancer can be imported using the service_name and loadbalancer_id, separated by /:
terraform
import {
to = ovh_cloud_loadbalancer.lb
id = “<service_name>/<loadbalancer_id>”
}
bash
$ pulumi import ovh:index/cloudLoadbalancer:CloudLoadbalancer lb service_name/loadbalancer_id
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- ovh ovh/pulumi-ovh
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ovhTerraform Provider.
published on Friday, Sep 25, 2026 by OVHcloud