ovh.CloudProject.LoadBalancer
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ovh from "@ovhcloud/pulumi-ovh";
const lb = new ovh.cloudproject.LoadBalancer("lb", {
serviceName: "<public cloud project ID>",
regionName: "GRA9",
flavorId: "<loadbalancer flavor ID>",
network: {
"private": {
network: {
id: .filter(region => region.region == "GRA9").map(region => (region))[0].openstackid,
subnetId: myprivsub.id,
},
},
},
description: "My new LB",
listeners: [
{
port: 34568,
protocol: "tcp",
},
{
port: 34569,
protocol: "udp",
},
],
});
import pulumi
import pulumi_ovh as ovh
lb = ovh.cloud_project.LoadBalancer("lb",
service_name="<public cloud project ID>",
region_name="GRA9",
flavor_id="<loadbalancer flavor ID>",
network={
"private": {
"network": {
"id": [region for region in mypriv["regionsAttributes"] if region["region"] == "GRA9"][0]["openstackid"],
"subnet_id": myprivsub["id"],
},
},
},
description="My new LB",
listeners=[
{
"port": 34568,
"protocol": "tcp",
},
{
"port": 34569,
"protocol": "udp",
},
])
Example coming soon!
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ovh = Pulumi.Ovh;
return await Deployment.RunAsync(() =>
{
var lb = new Ovh.CloudProject.LoadBalancer("lb", new()
{
ServiceName = "<public cloud project ID>",
RegionName = "GRA9",
FlavorId = "<loadbalancer flavor ID>",
Network = new Ovh.CloudProject.Inputs.LoadBalancerNetworkArgs
{
Private = new Ovh.CloudProject.Inputs.LoadBalancerNetworkPrivateArgs
{
Network = new Ovh.CloudProject.Inputs.LoadBalancerNetworkPrivateNetworkArgs
{
Id = .Where(region => region.Region == "GRA9").Select(region =>
{
return region;
}).ToList()[0].Openstackid,
SubnetId = myprivsub.Id,
},
},
},
Description = "My new LB",
Listeners = new[]
{
new Ovh.CloudProject.Inputs.LoadBalancerListenerArgs
{
Port = 34568,
Protocol = "tcp",
},
new Ovh.CloudProject.Inputs.LoadBalancerListenerArgs
{
Port = 34569,
Protocol = "udp",
},
},
});
});
Example coming soon!
Example coming soon!
Example usage with network and subnet creation
import * as pulumi from "@pulumi/pulumi";
import * as ovh from "@ovhcloud/pulumi-ovh";
const priv = new ovh.cloudproject.NetworkPrivate("priv", {
serviceName: "<public cloud project ID>",
vlanId: 10,
name: "my_priv",
regions: ["GRA9"],
});
const privsub = new ovh.cloudproject.NetworkPrivateSubnet("privsub", {
serviceName: priv.serviceName,
networkId: priv.id,
region: "GRA9",
start: "10.0.0.2",
end: "10.0.255.254",
network: "10.0.0.0/16",
dhcp: true,
});
const lb = new ovh.cloudproject.LoadBalancer("lb", {
serviceName: privsub.serviceName,
regionName: privsub.region,
flavorId: "<loadbalancer flavor ID>",
network: {
"private": {
network: {
id: priv.regionsAttributes.apply(regionsAttributes => regionsAttributes.filter(region => region.region == "GRA9").map(region => (region)))[0].apply(regions => regions.openstackid),
subnetId: privsub.id,
},
},
},
description: "My new LB",
listeners: [
{
port: 34568,
protocol: "tcp",
},
{
port: 34569,
protocol: "udp",
},
],
});
import pulumi
import pulumi_ovh as ovh
priv = ovh.cloud_project.NetworkPrivate("priv",
service_name="<public cloud project ID>",
vlan_id=10,
name="my_priv",
regions=["GRA9"])
privsub = ovh.cloud_project.NetworkPrivateSubnet("privsub",
service_name=priv.service_name,
network_id=priv.id,
region="GRA9",
start="10.0.0.2",
end="10.0.255.254",
network="10.0.0.0/16",
dhcp=True)
lb = ovh.cloud_project.LoadBalancer("lb",
service_name=privsub.service_name,
region_name=privsub.region,
flavor_id="<loadbalancer flavor ID>",
network={
"private": {
"network": {
"id": priv.regions_attributes.apply(lambda regions_attributes: [region for region in regions_attributes if region.region == "GRA9"])[0].apply(lambda regions: regions.openstackid),
"subnet_id": privsub.id,
},
},
},
description="My new LB",
listeners=[
{
"port": 34568,
"protocol": "tcp",
},
{
"port": 34569,
"protocol": "udp",
},
])
Example coming soon!
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ovh = Pulumi.Ovh;
return await Deployment.RunAsync(() =>
{
var priv = new Ovh.CloudProject.NetworkPrivate("priv", new()
{
ServiceName = "<public cloud project ID>",
VlanId = 10,
Name = "my_priv",
Regions = new[]
{
"GRA9",
},
});
var privsub = new Ovh.CloudProject.NetworkPrivateSubnet("privsub", new()
{
ServiceName = priv.ServiceName,
NetworkId = priv.Id,
Region = "GRA9",
Start = "10.0.0.2",
End = "10.0.255.254",
Network = "10.0.0.0/16",
Dhcp = true,
});
var lb = new Ovh.CloudProject.LoadBalancer("lb", new()
{
ServiceName = privsub.ServiceName,
RegionName = privsub.Region,
FlavorId = "<loadbalancer flavor ID>",
Network = new Ovh.CloudProject.Inputs.LoadBalancerNetworkArgs
{
Private = new Ovh.CloudProject.Inputs.LoadBalancerNetworkPrivateArgs
{
Network = new Ovh.CloudProject.Inputs.LoadBalancerNetworkPrivateNetworkArgs
{
Id = priv.RegionsAttributes.Apply(regionsAttributes => regionsAttributes.Where(region => region.Region == "GRA9").Select(region =>
{
return region;
}).ToList())[0].Apply(regions => regions.Openstackid),
SubnetId = privsub.Id,
},
},
},
Description = "My new LB",
Listeners = new[]
{
new Ovh.CloudProject.Inputs.LoadBalancerListenerArgs
{
Port = 34568,
Protocol = "tcp",
},
new Ovh.CloudProject.Inputs.LoadBalancerListenerArgs
{
Port = 34569,
Protocol = "udp",
},
},
});
});
Example coming soon!
Example coming soon!
Create LoadBalancer Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LoadBalancer(name: string, args: LoadBalancerArgs, opts?: CustomResourceOptions);
@overload
def LoadBalancer(resource_name: str,
args: LoadBalancerArgs,
opts: Optional[ResourceOptions] = None)
@overload
def LoadBalancer(resource_name: str,
opts: Optional[ResourceOptions] = None,
flavor_id: Optional[str] = None,
network: Optional[LoadBalancerNetworkArgs] = None,
region_name: Optional[str] = None,
service_name: Optional[str] = None,
description: Optional[str] = None,
listeners: Optional[Sequence[LoadBalancerListenerArgs]] = None,
name: Optional[str] = None)
func NewLoadBalancer(ctx *Context, name string, args LoadBalancerArgs, opts ...ResourceOption) (*LoadBalancer, error)
public LoadBalancer(string name, LoadBalancerArgs args, CustomResourceOptions? opts = null)
public LoadBalancer(String name, LoadBalancerArgs args)
public LoadBalancer(String name, LoadBalancerArgs args, CustomResourceOptions options)
type: ovh:CloudProject:LoadBalancer
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 LoadBalancerArgs
- 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 LoadBalancerArgs
- 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 LoadBalancerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LoadBalancerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LoadBalancerArgs
- 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 loadBalancerResource = new Ovh.CloudProject.LoadBalancer("loadBalancerResource", new()
{
FlavorId = "string",
Network = new Ovh.CloudProject.Inputs.LoadBalancerNetworkArgs
{
Private = new Ovh.CloudProject.Inputs.LoadBalancerNetworkPrivateArgs
{
Network = new Ovh.CloudProject.Inputs.LoadBalancerNetworkPrivateNetworkArgs
{
Id = "string",
SubnetId = "string",
},
FloatingIp = new Ovh.CloudProject.Inputs.LoadBalancerNetworkPrivateFloatingIpArgs
{
Id = "string",
},
FloatingIpCreate = new Ovh.CloudProject.Inputs.LoadBalancerNetworkPrivateFloatingIpCreateArgs
{
Description = "string",
},
Gateway = new Ovh.CloudProject.Inputs.LoadBalancerNetworkPrivateGatewayArgs
{
Id = "string",
},
GatewayCreate = new Ovh.CloudProject.Inputs.LoadBalancerNetworkPrivateGatewayCreateArgs
{
Model = "string",
Name = "string",
},
},
},
RegionName = "string",
ServiceName = "string",
Description = "string",
Listeners = new[]
{
new Ovh.CloudProject.Inputs.LoadBalancerListenerArgs
{
Port = 0,
Protocol = "string",
AllowedCidrs = new[]
{
"string",
},
Description = "string",
Name = "string",
Pool = new Ovh.CloudProject.Inputs.LoadBalancerListenerPoolArgs
{
Algorithm = "string",
HealthMonitor = new Ovh.CloudProject.Inputs.LoadBalancerListenerPoolHealthMonitorArgs
{
Delay = 0,
HttpConfiguration = new Ovh.CloudProject.Inputs.LoadBalancerListenerPoolHealthMonitorHttpConfigurationArgs
{
DomainName = "string",
ExpectedCodes = "string",
HttpMethod = "string",
HttpVersion = "string",
UrlPath = "string",
},
MaxRetries = 0,
MaxRetriesDown = 0,
MonitorType = "string",
Name = "string",
OperatingStatus = "string",
ProvisioningStatus = "string",
Timeout = 0,
},
Members = new[]
{
new Ovh.CloudProject.Inputs.LoadBalancerListenerPoolMemberArgs
{
Address = "string",
Name = "string",
ProtocolPort = 0,
Weight = 0,
},
},
Name = "string",
Protocol = "string",
SessionPersistence = new Ovh.CloudProject.Inputs.LoadBalancerListenerPoolSessionPersistenceArgs
{
CookieName = "string",
Type = "string",
},
},
SecretId = "string",
TimeoutClientData = 0,
TimeoutMemberData = 0,
TlsVersions = new[]
{
"string",
},
},
},
Name = "string",
});
example, err := cloudproject.NewLoadBalancer(ctx, "loadBalancerResource", &cloudproject.LoadBalancerArgs{
FlavorId: pulumi.String("string"),
Network: &cloudproject.LoadBalancerNetworkArgs{
Private: &cloudproject.LoadBalancerNetworkPrivateArgs{
Network: &cloudproject.LoadBalancerNetworkPrivateNetworkArgs{
Id: pulumi.String("string"),
SubnetId: pulumi.String("string"),
},
FloatingIp: &cloudproject.LoadBalancerNetworkPrivateFloatingIpArgs{
Id: pulumi.String("string"),
},
FloatingIpCreate: &cloudproject.LoadBalancerNetworkPrivateFloatingIpCreateArgs{
Description: pulumi.String("string"),
},
Gateway: &cloudproject.LoadBalancerNetworkPrivateGatewayArgs{
Id: pulumi.String("string"),
},
GatewayCreate: &cloudproject.LoadBalancerNetworkPrivateGatewayCreateArgs{
Model: pulumi.String("string"),
Name: pulumi.String("string"),
},
},
},
RegionName: pulumi.String("string"),
ServiceName: pulumi.String("string"),
Description: pulumi.String("string"),
Listeners: cloudproject.LoadBalancerListenerArray{
&cloudproject.LoadBalancerListenerArgs{
Port: pulumi.Float64(0),
Protocol: pulumi.String("string"),
AllowedCidrs: pulumi.StringArray{
pulumi.String("string"),
},
Description: pulumi.String("string"),
Name: pulumi.String("string"),
Pool: &cloudproject.LoadBalancerListenerPoolArgs{
Algorithm: pulumi.String("string"),
HealthMonitor: &cloudproject.LoadBalancerListenerPoolHealthMonitorArgs{
Delay: pulumi.Float64(0),
HttpConfiguration: &cloudproject.LoadBalancerListenerPoolHealthMonitorHttpConfigurationArgs{
DomainName: pulumi.String("string"),
ExpectedCodes: pulumi.String("string"),
HttpMethod: pulumi.String("string"),
HttpVersion: pulumi.String("string"),
UrlPath: pulumi.String("string"),
},
MaxRetries: pulumi.Float64(0),
MaxRetriesDown: pulumi.Float64(0),
MonitorType: pulumi.String("string"),
Name: pulumi.String("string"),
OperatingStatus: pulumi.String("string"),
ProvisioningStatus: pulumi.String("string"),
Timeout: pulumi.Float64(0),
},
Members: cloudproject.LoadBalancerListenerPoolMemberArray{
&cloudproject.LoadBalancerListenerPoolMemberArgs{
Address: pulumi.String("string"),
Name: pulumi.String("string"),
ProtocolPort: pulumi.Float64(0),
Weight: pulumi.Float64(0),
},
},
Name: pulumi.String("string"),
Protocol: pulumi.String("string"),
SessionPersistence: &cloudproject.LoadBalancerListenerPoolSessionPersistenceArgs{
CookieName: pulumi.String("string"),
Type: pulumi.String("string"),
},
},
SecretId: pulumi.String("string"),
TimeoutClientData: pulumi.Float64(0),
TimeoutMemberData: pulumi.Float64(0),
TlsVersions: pulumi.StringArray{
pulumi.String("string"),
},
},
},
Name: pulumi.String("string"),
})
var loadBalancerResource = new com.ovhcloud.pulumi.ovh.CloudProject.LoadBalancer("loadBalancerResource", com.ovhcloud.pulumi.ovh.CloudProject.LoadBalancerArgs.builder()
.flavorId("string")
.network(LoadBalancerNetworkArgs.builder()
.private_(LoadBalancerNetworkPrivateArgs.builder()
.network(LoadBalancerNetworkPrivateNetworkArgs.builder()
.id("string")
.subnetId("string")
.build())
.floatingIp(LoadBalancerNetworkPrivateFloatingIpArgs.builder()
.id("string")
.build())
.floatingIpCreate(LoadBalancerNetworkPrivateFloatingIpCreateArgs.builder()
.description("string")
.build())
.gateway(LoadBalancerNetworkPrivateGatewayArgs.builder()
.id("string")
.build())
.gatewayCreate(LoadBalancerNetworkPrivateGatewayCreateArgs.builder()
.model("string")
.name("string")
.build())
.build())
.build())
.regionName("string")
.serviceName("string")
.description("string")
.listeners(LoadBalancerListenerArgs.builder()
.port(0.0)
.protocol("string")
.allowedCidrs("string")
.description("string")
.name("string")
.pool(LoadBalancerListenerPoolArgs.builder()
.algorithm("string")
.healthMonitor(LoadBalancerListenerPoolHealthMonitorArgs.builder()
.delay(0.0)
.httpConfiguration(LoadBalancerListenerPoolHealthMonitorHttpConfigurationArgs.builder()
.domainName("string")
.expectedCodes("string")
.httpMethod("string")
.httpVersion("string")
.urlPath("string")
.build())
.maxRetries(0.0)
.maxRetriesDown(0.0)
.monitorType("string")
.name("string")
.operatingStatus("string")
.provisioningStatus("string")
.timeout(0.0)
.build())
.members(LoadBalancerListenerPoolMemberArgs.builder()
.address("string")
.name("string")
.protocolPort(0.0)
.weight(0.0)
.build())
.name("string")
.protocol("string")
.sessionPersistence(LoadBalancerListenerPoolSessionPersistenceArgs.builder()
.cookieName("string")
.type("string")
.build())
.build())
.secretId("string")
.timeoutClientData(0.0)
.timeoutMemberData(0.0)
.tlsVersions("string")
.build())
.name("string")
.build());
load_balancer_resource = ovh.cloud_project.LoadBalancer("loadBalancerResource",
flavor_id="string",
network={
"private": {
"network": {
"id": "string",
"subnet_id": "string",
},
"floating_ip": {
"id": "string",
},
"floating_ip_create": {
"description": "string",
},
"gateway": {
"id": "string",
},
"gateway_create": {
"model": "string",
"name": "string",
},
},
},
region_name="string",
service_name="string",
description="string",
listeners=[{
"port": 0,
"protocol": "string",
"allowed_cidrs": ["string"],
"description": "string",
"name": "string",
"pool": {
"algorithm": "string",
"health_monitor": {
"delay": 0,
"http_configuration": {
"domain_name": "string",
"expected_codes": "string",
"http_method": "string",
"http_version": "string",
"url_path": "string",
},
"max_retries": 0,
"max_retries_down": 0,
"monitor_type": "string",
"name": "string",
"operating_status": "string",
"provisioning_status": "string",
"timeout": 0,
},
"members": [{
"address": "string",
"name": "string",
"protocol_port": 0,
"weight": 0,
}],
"name": "string",
"protocol": "string",
"session_persistence": {
"cookie_name": "string",
"type": "string",
},
},
"secret_id": "string",
"timeout_client_data": 0,
"timeout_member_data": 0,
"tls_versions": ["string"],
}],
name="string")
const loadBalancerResource = new ovh.cloudproject.LoadBalancer("loadBalancerResource", {
flavorId: "string",
network: {
"private": {
network: {
id: "string",
subnetId: "string",
},
floatingIp: {
id: "string",
},
floatingIpCreate: {
description: "string",
},
gateway: {
id: "string",
},
gatewayCreate: {
model: "string",
name: "string",
},
},
},
regionName: "string",
serviceName: "string",
description: "string",
listeners: [{
port: 0,
protocol: "string",
allowedCidrs: ["string"],
description: "string",
name: "string",
pool: {
algorithm: "string",
healthMonitor: {
delay: 0,
httpConfiguration: {
domainName: "string",
expectedCodes: "string",
httpMethod: "string",
httpVersion: "string",
urlPath: "string",
},
maxRetries: 0,
maxRetriesDown: 0,
monitorType: "string",
name: "string",
operatingStatus: "string",
provisioningStatus: "string",
timeout: 0,
},
members: [{
address: "string",
name: "string",
protocolPort: 0,
weight: 0,
}],
name: "string",
protocol: "string",
sessionPersistence: {
cookieName: "string",
type: "string",
},
},
secretId: "string",
timeoutClientData: 0,
timeoutMemberData: 0,
tlsVersions: ["string"],
}],
name: "string",
});
type: ovh:CloudProject:LoadBalancer
properties:
description: string
flavorId: string
listeners:
- allowedCidrs:
- string
description: string
name: string
pool:
algorithm: string
healthMonitor:
delay: 0
httpConfiguration:
domainName: string
expectedCodes: string
httpMethod: string
httpVersion: string
urlPath: string
maxRetries: 0
maxRetriesDown: 0
monitorType: string
name: string
operatingStatus: string
provisioningStatus: string
timeout: 0
members:
- address: string
name: string
protocolPort: 0
weight: 0
name: string
protocol: string
sessionPersistence:
cookieName: string
type: string
port: 0
protocol: string
secretId: string
timeoutClientData: 0
timeoutMemberData: 0
tlsVersions:
- string
name: string
network:
private:
floatingIp:
id: string
floatingIpCreate:
description: string
gateway:
id: string
gatewayCreate:
model: string
name: string
network:
id: string
subnetId: string
regionName: string
serviceName: string
LoadBalancer 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 LoadBalancer resource accepts the following input properties:
- Flavor
Id string - Loadbalancer flavor id
- Network
Load
Balancer Network - Network information to create the loadbalancer
- Region
Name string - Region name
- Service
Name string - Service name
- Description string
- Description of the loadbalancer
- Listeners
List<Load
Balancer Listener> - Listeners to create with the loadbalancer
- Name string
- Name of the resource
- Flavor
Id string - Loadbalancer flavor id
- Network
Load
Balancer Network Args - Network information to create the loadbalancer
- Region
Name string - Region name
- Service
Name string - Service name
- Description string
- Description of the loadbalancer
- Listeners
[]Load
Balancer Listener Args - Listeners to create with the loadbalancer
- Name string
- Name of the resource
- flavor
Id String - Loadbalancer flavor id
- network
Load
Balancer Network - Network information to create the loadbalancer
- region
Name String - Region name
- service
Name String - Service name
- description String
- Description of the loadbalancer
- listeners
List<Load
Balancer Listener> - Listeners to create with the loadbalancer
- name String
- Name of the resource
- flavor
Id string - Loadbalancer flavor id
- network
Load
Balancer Network - Network information to create the loadbalancer
- region
Name string - Region name
- service
Name string - Service name
- description string
- Description of the loadbalancer
- listeners
Load
Balancer Listener[] - Listeners to create with the loadbalancer
- name string
- Name of the resource
- flavor_
id str - Loadbalancer flavor id
- network
Load
Balancer Network Args - Network information to create the loadbalancer
- region_
name str - Region name
- service_
name str - Service name
- description str
- Description of the loadbalancer
- listeners
Sequence[Load
Balancer Listener Args] - Listeners to create with the loadbalancer
- name str
- Name of the resource
- flavor
Id String - Loadbalancer flavor id
- network Property Map
- Network information to create the loadbalancer
- region
Name String - Region name
- service
Name String - Service name
- description String
- Description of the loadbalancer
- listeners List<Property Map>
- Listeners to create with the loadbalancer
- name String
- Name of the resource
Outputs
All input properties are implicitly available as output properties. Additionally, the LoadBalancer resource produces the following output properties:
- Created
At string - The UTC date and timestamp when the resource was created
- Floating
Ip Load Balancer Floating Ip - Information about floating IP
- Id string
- The provider-assigned unique ID for this managed resource.
- Operating
Status string - Operating status of the resource
- Provisioning
Status string - Provisioning status of the resource
- Region string
- Region of the resource
- Updated
At string - UTC date and timestamp when the resource was created
- Vip
Address string - IP address of the Virtual IP
- Vip
Network Id string - Openstack ID of the network for the Virtual IP
- Vip
Subnet Id string - ID of the subnet for the Virtual IP
- Created
At string - The UTC date and timestamp when the resource was created
- Floating
Ip Load Balancer Floating Ip - Information about floating IP
- Id string
- The provider-assigned unique ID for this managed resource.
- Operating
Status string - Operating status of the resource
- Provisioning
Status string - Provisioning status of the resource
- Region string
- Region of the resource
- Updated
At string - UTC date and timestamp when the resource was created
- Vip
Address string - IP address of the Virtual IP
- Vip
Network Id string - Openstack ID of the network for the Virtual IP
- Vip
Subnet Id string - ID of the subnet for the Virtual IP
- created
At String - The UTC date and timestamp when the resource was created
- floating
Ip Load Balancer Floating Ip - Information about floating IP
- id String
- The provider-assigned unique ID for this managed resource.
- operating
Status String - Operating status of the resource
- provisioning
Status String - Provisioning status of the resource
- region String
- Region of the resource
- updated
At String - UTC date and timestamp when the resource was created
- vip
Address String - IP address of the Virtual IP
- vip
Network Id String - Openstack ID of the network for the Virtual IP
- vip
Subnet Id String - ID of the subnet for the Virtual IP
- created
At string - The UTC date and timestamp when the resource was created
- floating
Ip Load Balancer Floating Ip - Information about floating IP
- id string
- The provider-assigned unique ID for this managed resource.
- operating
Status string - Operating status of the resource
- provisioning
Status string - Provisioning status of the resource
- region string
- Region of the resource
- updated
At string - UTC date and timestamp when the resource was created
- vip
Address string - IP address of the Virtual IP
- vip
Network Id string - Openstack ID of the network for the Virtual IP
- vip
Subnet Id string - ID of the subnet for the Virtual IP
- created_
at str - The UTC date and timestamp when the resource was created
- floating_
ip Load Balancer Floating Ip - Information about floating IP
- id str
- The provider-assigned unique ID for this managed resource.
- operating_
status str - Operating status of the resource
- provisioning_
status str - Provisioning status of the resource
- region str
- Region of the resource
- updated_
at str - UTC date and timestamp when the resource was created
- vip_
address str - IP address of the Virtual IP
- vip_
network_ id str - Openstack ID of the network for the Virtual IP
- vip_
subnet_ id str - ID of the subnet for the Virtual IP
- created
At String - The UTC date and timestamp when the resource was created
- floating
Ip Property Map - Information about floating IP
- id String
- The provider-assigned unique ID for this managed resource.
- operating
Status String - Operating status of the resource
- provisioning
Status String - Provisioning status of the resource
- region String
- Region of the resource
- updated
At String - UTC date and timestamp when the resource was created
- vip
Address String - IP address of the Virtual IP
- vip
Network Id String - Openstack ID of the network for the Virtual IP
- vip
Subnet Id String - ID of the subnet for the Virtual IP
Look up Existing LoadBalancer Resource
Get an existing LoadBalancer 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?: LoadBalancerState, opts?: CustomResourceOptions): LoadBalancer
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
created_at: Optional[str] = None,
description: Optional[str] = None,
flavor_id: Optional[str] = None,
floating_ip: Optional[LoadBalancerFloatingIpArgs] = None,
listeners: Optional[Sequence[LoadBalancerListenerArgs]] = None,
name: Optional[str] = None,
network: Optional[LoadBalancerNetworkArgs] = None,
operating_status: Optional[str] = None,
provisioning_status: Optional[str] = None,
region: Optional[str] = None,
region_name: Optional[str] = None,
service_name: Optional[str] = None,
updated_at: Optional[str] = None,
vip_address: Optional[str] = None,
vip_network_id: Optional[str] = None,
vip_subnet_id: Optional[str] = None) -> LoadBalancer
func GetLoadBalancer(ctx *Context, name string, id IDInput, state *LoadBalancerState, opts ...ResourceOption) (*LoadBalancer, error)
public static LoadBalancer Get(string name, Input<string> id, LoadBalancerState? state, CustomResourceOptions? opts = null)
public static LoadBalancer get(String name, Output<String> id, LoadBalancerState state, CustomResourceOptions options)
resources: _: type: ovh:CloudProject:LoadBalancer get: 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.
- Created
At string - The UTC date and timestamp when the resource was created
- Description string
- Description of the loadbalancer
- Flavor
Id string - Loadbalancer flavor id
- Floating
Ip Load Balancer Floating Ip - Information about floating IP
- Listeners
List<Load
Balancer Listener> - Listeners to create with the loadbalancer
- Name string
- Name of the resource
- Network
Load
Balancer Network - Network information to create the loadbalancer
- Operating
Status string - Operating status of the resource
- Provisioning
Status string - Provisioning status of the resource
- Region string
- Region of the resource
- Region
Name string - Region name
- Service
Name string - Service name
- Updated
At string - UTC date and timestamp when the resource was created
- Vip
Address string - IP address of the Virtual IP
- Vip
Network Id string - Openstack ID of the network for the Virtual IP
- Vip
Subnet Id string - ID of the subnet for the Virtual IP
- Created
At string - The UTC date and timestamp when the resource was created
- Description string
- Description of the loadbalancer
- Flavor
Id string - Loadbalancer flavor id
- Floating
Ip Load Balancer Floating Ip Args - Information about floating IP
- Listeners
[]Load
Balancer Listener Args - Listeners to create with the loadbalancer
- Name string
- Name of the resource
- Network
Load
Balancer Network Args - Network information to create the loadbalancer
- Operating
Status string - Operating status of the resource
- Provisioning
Status string - Provisioning status of the resource
- Region string
- Region of the resource
- Region
Name string - Region name
- Service
Name string - Service name
- Updated
At string - UTC date and timestamp when the resource was created
- Vip
Address string - IP address of the Virtual IP
- Vip
Network Id string - Openstack ID of the network for the Virtual IP
- Vip
Subnet Id string - ID of the subnet for the Virtual IP
- created
At String - The UTC date and timestamp when the resource was created
- description String
- Description of the loadbalancer
- flavor
Id String - Loadbalancer flavor id
- floating
Ip Load Balancer Floating Ip - Information about floating IP
- listeners
List<Load
Balancer Listener> - Listeners to create with the loadbalancer
- name String
- Name of the resource
- network
Load
Balancer Network - Network information to create the loadbalancer
- operating
Status String - Operating status of the resource
- provisioning
Status String - Provisioning status of the resource
- region String
- Region of the resource
- region
Name String - Region name
- service
Name String - Service name
- updated
At String - UTC date and timestamp when the resource was created
- vip
Address String - IP address of the Virtual IP
- vip
Network Id String - Openstack ID of the network for the Virtual IP
- vip
Subnet Id String - ID of the subnet for the Virtual IP
- created
At string - The UTC date and timestamp when the resource was created
- description string
- Description of the loadbalancer
- flavor
Id string - Loadbalancer flavor id
- floating
Ip Load Balancer Floating Ip - Information about floating IP
- listeners
Load
Balancer Listener[] - Listeners to create with the loadbalancer
- name string
- Name of the resource
- network
Load
Balancer Network - Network information to create the loadbalancer
- operating
Status string - Operating status of the resource
- provisioning
Status string - Provisioning status of the resource
- region string
- Region of the resource
- region
Name string - Region name
- service
Name string - Service name
- updated
At string - UTC date and timestamp when the resource was created
- vip
Address string - IP address of the Virtual IP
- vip
Network Id string - Openstack ID of the network for the Virtual IP
- vip
Subnet Id string - ID of the subnet for the Virtual IP
- created_
at str - The UTC date and timestamp when the resource was created
- description str
- Description of the loadbalancer
- flavor_
id str - Loadbalancer flavor id
- floating_
ip Load Balancer Floating Ip Args - Information about floating IP
- listeners
Sequence[Load
Balancer Listener Args] - Listeners to create with the loadbalancer
- name str
- Name of the resource
- network
Load
Balancer Network Args - Network information to create the loadbalancer
- operating_
status str - Operating status of the resource
- provisioning_
status str - Provisioning status of the resource
- region str
- Region of the resource
- region_
name str - Region name
- service_
name str - Service name
- updated_
at str - UTC date and timestamp when the resource was created
- vip_
address str - IP address of the Virtual IP
- vip_
network_ id str - Openstack ID of the network for the Virtual IP
- vip_
subnet_ id str - ID of the subnet for the Virtual IP
- created
At String - The UTC date and timestamp when the resource was created
- description String
- Description of the loadbalancer
- flavor
Id String - Loadbalancer flavor id
- floating
Ip Property Map - Information about floating IP
- listeners List<Property Map>
- Listeners to create with the loadbalancer
- name String
- Name of the resource
- network Property Map
- Network information to create the loadbalancer
- operating
Status String - Operating status of the resource
- provisioning
Status String - Provisioning status of the resource
- region String
- Region of the resource
- region
Name String - Region name
- service
Name String - Service name
- updated
At String - UTC date and timestamp when the resource was created
- vip
Address String - IP address of the Virtual IP
- vip
Network Id String - Openstack ID of the network for the Virtual IP
- vip
Subnet Id String - ID of the subnet for the Virtual IP
Supporting Types
Load Balancer Floating Ip, Load Balancer Floating Ip Args
Load Balancer Listener, Load Balancer Listener Args
- Port double
- Listener port
- Protocol string
- Protocol for the listener
- Allowed
Cidrs List<string> - The allowed CIDRs
- Description string
- The description of the listener
- Name string
- Name of the listener
- Pool
Load
Balancer Listener Pool - Listener pool
- Secret
Id string - Secret ID to get certificate for SSL listener creation
- Timeout
Client Data double - Timeout client data of the listener
- Timeout
Member Data double - Timeout member data of the listener
- Tls
Versions List<string> - TLS versions of the listener
- Port float64
- Listener port
- Protocol string
- Protocol for the listener
- Allowed
Cidrs []string - The allowed CIDRs
- Description string
- The description of the listener
- Name string
- Name of the listener
- Pool
Load
Balancer Listener Pool - Listener pool
- Secret
Id string - Secret ID to get certificate for SSL listener creation
- Timeout
Client Data float64 - Timeout client data of the listener
- Timeout
Member Data float64 - Timeout member data of the listener
- Tls
Versions []string - TLS versions of the listener
- port Double
- Listener port
- protocol String
- Protocol for the listener
- allowed
Cidrs List<String> - The allowed CIDRs
- description String
- The description of the listener
- name String
- Name of the listener
- pool
Load
Balancer Listener Pool - Listener pool
- secret
Id String - Secret ID to get certificate for SSL listener creation
- timeout
Client Data Double - Timeout client data of the listener
- timeout
Member Data Double - Timeout member data of the listener
- tls
Versions List<String> - TLS versions of the listener
- port number
- Listener port
- protocol string
- Protocol for the listener
- allowed
Cidrs string[] - The allowed CIDRs
- description string
- The description of the listener
- name string
- Name of the listener
- pool
Load
Balancer Listener Pool - Listener pool
- secret
Id string - Secret ID to get certificate for SSL listener creation
- timeout
Client Data number - Timeout client data of the listener
- timeout
Member Data number - Timeout member data of the listener
- tls
Versions string[] - TLS versions of the listener
- port float
- Listener port
- protocol str
- Protocol for the listener
- allowed_
cidrs Sequence[str] - The allowed CIDRs
- description str
- The description of the listener
- name str
- Name of the listener
- pool
Load
Balancer Listener Pool - Listener pool
- secret_
id str - Secret ID to get certificate for SSL listener creation
- timeout_
client_ data float - Timeout client data of the listener
- timeout_
member_ data float - Timeout member data of the listener
- tls_
versions Sequence[str] - TLS versions of the listener
- port Number
- Listener port
- protocol String
- Protocol for the listener
- allowed
Cidrs List<String> - The allowed CIDRs
- description String
- The description of the listener
- name String
- Name of the listener
- pool Property Map
- Listener pool
- secret
Id String - Secret ID to get certificate for SSL listener creation
- timeout
Client Data Number - Timeout client data of the listener
- timeout
Member Data Number - Timeout member data of the listener
- tls
Versions List<String> - TLS versions of the listener
Load Balancer Listener Pool, Load Balancer Listener Pool Args
- Algorithm string
- Pool algorithm to split traffic between members
- Health
Monitor Load Balancer Listener Pool Health Monitor - Pool health monitor
- Members
List<Load
Balancer Listener Pool Member> - Pool members
- Name string
- Name of the pool
- Protocol string
- Protocol for the pool
- Session
Persistence Load Balancer Listener Pool Session Persistence - Pool session persistence
- Algorithm string
- Pool algorithm to split traffic between members
- Health
Monitor Load Balancer Listener Pool Health Monitor - Pool health monitor
- Members
[]Load
Balancer Listener Pool Member - Pool members
- Name string
- Name of the pool
- Protocol string
- Protocol for the pool
- Session
Persistence Load Balancer Listener Pool Session Persistence - Pool session persistence
- algorithm String
- Pool algorithm to split traffic between members
- health
Monitor Load Balancer Listener Pool Health Monitor - Pool health monitor
- members
List<Load
Balancer Listener Pool Member> - Pool members
- name String
- Name of the pool
- protocol String
- Protocol for the pool
- session
Persistence Load Balancer Listener Pool Session Persistence - Pool session persistence
- algorithm string
- Pool algorithm to split traffic between members
- health
Monitor Load Balancer Listener Pool Health Monitor - Pool health monitor
- members
Load
Balancer Listener Pool Member[] - Pool members
- name string
- Name of the pool
- protocol string
- Protocol for the pool
- session
Persistence Load Balancer Listener Pool Session Persistence - Pool session persistence
- algorithm str
- Pool algorithm to split traffic between members
- health_
monitor Load Balancer Listener Pool Health Monitor - Pool health monitor
- members
Sequence[Load
Balancer Listener Pool Member] - Pool members
- name str
- Name of the pool
- protocol str
- Protocol for the pool
- session_
persistence Load Balancer Listener Pool Session Persistence - Pool session persistence
- algorithm String
- Pool algorithm to split traffic between members
- health
Monitor Property Map - Pool health monitor
- members List<Property Map>
- Pool members
- name String
- Name of the pool
- protocol String
- Protocol for the pool
- session
Persistence Property Map - Pool session persistence
Load Balancer Listener Pool Health Monitor, Load Balancer Listener Pool Health Monitor Args
- Delay double
- Duration between sending probes to members, in seconds
- Http
Configuration Load Balancer Listener Pool Health Monitor Http Configuration - Monitor HTTP configuration
- Max
Retries double - Number of successful checks before changing the operating status of the member to ONLINE
- Max
Retries Down double - Number of allowed check failures before changing the operating status of the member to ERROR
- Monitor
Type string - Type of the monitor
- Name string
- The name of the resource
- Operating
Status string - The operating status of the resource
- Provisioning
Status string - The provisioning status of the resource
- Timeout double
- Maximum time, in seconds, that a monitor waits to connect before it times out. This value must be less than the delay value
- Delay float64
- Duration between sending probes to members, in seconds
- Http
Configuration Load Balancer Listener Pool Health Monitor Http Configuration - Monitor HTTP configuration
- Max
Retries float64 - Number of successful checks before changing the operating status of the member to ONLINE
- Max
Retries Down float64 - Number of allowed check failures before changing the operating status of the member to ERROR
- Monitor
Type string - Type of the monitor
- Name string
- The name of the resource
- Operating
Status string - The operating status of the resource
- Provisioning
Status string - The provisioning status of the resource
- Timeout float64
- Maximum time, in seconds, that a monitor waits to connect before it times out. This value must be less than the delay value
- delay Double
- Duration between sending probes to members, in seconds
- http
Configuration Load Balancer Listener Pool Health Monitor Http Configuration - Monitor HTTP configuration
- max
Retries Double - Number of successful checks before changing the operating status of the member to ONLINE
- max
Retries Down Double - Number of allowed check failures before changing the operating status of the member to ERROR
- monitor
Type String - Type of the monitor
- name String
- The name of the resource
- operating
Status String - The operating status of the resource
- provisioning
Status String - The provisioning status of the resource
- timeout Double
- Maximum time, in seconds, that a monitor waits to connect before it times out. This value must be less than the delay value
- delay number
- Duration between sending probes to members, in seconds
- http
Configuration Load Balancer Listener Pool Health Monitor Http Configuration - Monitor HTTP configuration
- max
Retries number - Number of successful checks before changing the operating status of the member to ONLINE
- max
Retries Down number - Number of allowed check failures before changing the operating status of the member to ERROR
- monitor
Type string - Type of the monitor
- name string
- The name of the resource
- operating
Status string - The operating status of the resource
- provisioning
Status string - The provisioning status of the resource
- timeout number
- Maximum time, in seconds, that a monitor waits to connect before it times out. This value must be less than the delay value
- delay float
- Duration between sending probes to members, in seconds
- http_
configuration Load Balancer Listener Pool Health Monitor Http Configuration - Monitor HTTP configuration
- max_
retries float - Number of successful checks before changing the operating status of the member to ONLINE
- max_
retries_ down float - Number of allowed check failures before changing the operating status of the member to ERROR
- monitor_
type str - Type of the monitor
- name str
- The name of the resource
- operating_
status str - The operating status of the resource
- provisioning_
status str - The provisioning status of the resource
- timeout float
- Maximum time, in seconds, that a monitor waits to connect before it times out. This value must be less than the delay value
- delay Number
- Duration between sending probes to members, in seconds
- http
Configuration Property Map - Monitor HTTP configuration
- max
Retries Number - Number of successful checks before changing the operating status of the member to ONLINE
- max
Retries Down Number - Number of allowed check failures before changing the operating status of the member to ERROR
- monitor
Type String - Type of the monitor
- name String
- The name of the resource
- operating
Status String - The operating status of the resource
- provisioning
Status String - The provisioning status of the resource
- timeout Number
- Maximum time, in seconds, that a monitor waits to connect before it times out. This value must be less than the delay value
Load Balancer Listener Pool Health Monitor Http Configuration, Load Balancer Listener Pool Health Monitor Http Configuration Args
- Domain
Name string - Domain name, which be injected into the HTTP Host Header to the backend server for HTTP health check
- Expected
Codes string - Status codes expected in response from the member to declare it healthy; The list of HTTP status codes expected in response from the member to declare it healthy. Specify one of the following values: * A single value, such as 200; * A list, such as 200, 202; * A range, such as 200-204
- Http
Method string - HTTP method that the health monitor uses for requests
- Http
Version string - HTTP version that the health monitor uses for requests
- Url
Path string - HTTP URL path of the request sent by the monitor to test the health of a backend member
- Domain
Name string - Domain name, which be injected into the HTTP Host Header to the backend server for HTTP health check
- Expected
Codes string - Status codes expected in response from the member to declare it healthy; The list of HTTP status codes expected in response from the member to declare it healthy. Specify one of the following values: * A single value, such as 200; * A list, such as 200, 202; * A range, such as 200-204
- Http
Method string - HTTP method that the health monitor uses for requests
- Http
Version string - HTTP version that the health monitor uses for requests
- Url
Path string - HTTP URL path of the request sent by the monitor to test the health of a backend member
- domain
Name String - Domain name, which be injected into the HTTP Host Header to the backend server for HTTP health check
- expected
Codes String - Status codes expected in response from the member to declare it healthy; The list of HTTP status codes expected in response from the member to declare it healthy. Specify one of the following values: * A single value, such as 200; * A list, such as 200, 202; * A range, such as 200-204
- http
Method String - HTTP method that the health monitor uses for requests
- http
Version String - HTTP version that the health monitor uses for requests
- url
Path String - HTTP URL path of the request sent by the monitor to test the health of a backend member
- domain
Name string - Domain name, which be injected into the HTTP Host Header to the backend server for HTTP health check
- expected
Codes string - Status codes expected in response from the member to declare it healthy; The list of HTTP status codes expected in response from the member to declare it healthy. Specify one of the following values: * A single value, such as 200; * A list, such as 200, 202; * A range, such as 200-204
- http
Method string - HTTP method that the health monitor uses for requests
- http
Version string - HTTP version that the health monitor uses for requests
- url
Path string - HTTP URL path of the request sent by the monitor to test the health of a backend member
- domain_
name str - Domain name, which be injected into the HTTP Host Header to the backend server for HTTP health check
- expected_
codes str - Status codes expected in response from the member to declare it healthy; The list of HTTP status codes expected in response from the member to declare it healthy. Specify one of the following values: * A single value, such as 200; * A list, such as 200, 202; * A range, such as 200-204
- http_
method str - HTTP method that the health monitor uses for requests
- http_
version str - HTTP version that the health monitor uses for requests
- url_
path str - HTTP URL path of the request sent by the monitor to test the health of a backend member
- domain
Name String - Domain name, which be injected into the HTTP Host Header to the backend server for HTTP health check
- expected
Codes String - Status codes expected in response from the member to declare it healthy; The list of HTTP status codes expected in response from the member to declare it healthy. Specify one of the following values: * A single value, such as 200; * A list, such as 200, 202; * A range, such as 200-204
- http
Method String - HTTP method that the health monitor uses for requests
- http
Version String - HTTP version that the health monitor uses for requests
- url
Path String - HTTP URL path of the request sent by the monitor to test the health of a backend member
Load Balancer Listener Pool Member, Load Balancer Listener Pool Member Args
- Address string
- IP address of the resource
- Name string
- Name of the member
- Protocol
Port double - Protocol port number for the resource
- Weight double
- Weight of a member determines the portion of requests or connections it services compared to the other members of the pool. Between 1 and 256.
- Address string
- IP address of the resource
- Name string
- Name of the member
- Protocol
Port float64 - Protocol port number for the resource
- Weight float64
- Weight of a member determines the portion of requests or connections it services compared to the other members of the pool. Between 1 and 256.
- address String
- IP address of the resource
- name String
- Name of the member
- protocol
Port Double - Protocol port number for the resource
- weight Double
- Weight of a member determines the portion of requests or connections it services compared to the other members of the pool. Between 1 and 256.
- address string
- IP address of the resource
- name string
- Name of the member
- protocol
Port number - Protocol port number for the resource
- weight number
- Weight of a member determines the portion of requests or connections it services compared to the other members of the pool. Between 1 and 256.
- address str
- IP address of the resource
- name str
- Name of the member
- protocol_
port float - Protocol port number for the resource
- weight float
- Weight of a member determines the portion of requests or connections it services compared to the other members of the pool. Between 1 and 256.
- address String
- IP address of the resource
- name String
- Name of the member
- protocol
Port Number - Protocol port number for the resource
- weight Number
- Weight of a member determines the portion of requests or connections it services compared to the other members of the pool. Between 1 and 256.
Load Balancer Listener Pool Session Persistence, Load Balancer Listener Pool Session Persistence Args
- string
- Cookie name, only applicable to session persistence through cookie
- Type string
- Type of session persistence
- string
- Cookie name, only applicable to session persistence through cookie
- Type string
- Type of session persistence
- String
- Cookie name, only applicable to session persistence through cookie
- type String
- Type of session persistence
- string
- Cookie name, only applicable to session persistence through cookie
- type string
- Type of session persistence
- str
- Cookie name, only applicable to session persistence through cookie
- type str
- Type of session persistence
- String
- Cookie name, only applicable to session persistence through cookie
- type String
- Type of session persistence
Load Balancer Network, Load Balancer Network Args
- Private
Load
Balancer Network Private - Information to private network
- Private
Load
Balancer Network Private - Information to private network
- private_
Load
Balancer Network Private - Information to private network
- private
Load
Balancer Network Private - Information to private network
- private
Load
Balancer Network Private - Information to private network
- private Property Map
- Information to private network
Load Balancer Network Private, Load Balancer Network Private Args
- Network
Load
Balancer Network Private Network - Network to associate
- Floating
Ip Load Balancer Network Private Floating Ip - Floating IP to associate
- Floating
Ip Create Load Balancer Network Private Floating Ip Create - Floating IP to create
- Gateway
Load
Balancer Network Private Gateway - Gateway to associate
- Gateway
Create Load Balancer Network Private Gateway Create - Gateway to create
- Network
Load
Balancer Network Private Network - Network to associate
- Floating
Ip Load Balancer Network Private Floating Ip - Floating IP to associate
- Floating
Ip Create Load Balancer Network Private Floating Ip Create - Floating IP to create
- Gateway
Load
Balancer Network Private Gateway - Gateway to associate
- Gateway
Create Load Balancer Network Private Gateway Create - Gateway to create
- network
Load
Balancer Network Private Network - Network to associate
- floating
Ip Load Balancer Network Private Floating Ip - Floating IP to associate
- floating
Ip Create Load Balancer Network Private Floating Ip Create - Floating IP to create
- gateway
Load
Balancer Network Private Gateway - Gateway to associate
- gateway
Create Load Balancer Network Private Gateway Create - Gateway to create
- network
Load
Balancer Network Private Network - Network to associate
- floating
Ip Load Balancer Network Private Floating Ip - Floating IP to associate
- floating
Ip Create Load Balancer Network Private Floating Ip Create - Floating IP to create
- gateway
Load
Balancer Network Private Gateway - Gateway to associate
- gateway
Create Load Balancer Network Private Gateway Create - Gateway to create
- network
Load
Balancer Network Private Network - Network to associate
- floating_
ip Load Balancer Network Private Floating Ip - Floating IP to associate
- floating_
ip_ create Load Balancer Network Private Floating Ip Create - Floating IP to create
- gateway
Load
Balancer Network Private Gateway - Gateway to associate
- gateway_
create Load Balancer Network Private Gateway Create - Gateway to create
- network Property Map
- Network to associate
- floating
Ip Property Map - Floating IP to associate
- floating
Ip Create Property Map - Floating IP to create
- gateway Property Map
- Gateway to associate
- gateway
Create Property Map - Gateway to create
Load Balancer Network Private Floating Ip, Load Balancer Network Private Floating Ip Args
- Id string
- ID of the floatingIp
- Id string
- ID of the floatingIp
- id String
- ID of the floatingIp
- id string
- ID of the floatingIp
- id str
- ID of the floatingIp
- id String
- ID of the floatingIp
Load Balancer Network Private Floating Ip Create, Load Balancer Network Private Floating Ip Create Args
- Description string
- Description for the floatingIp
- Description string
- Description for the floatingIp
- description String
- Description for the floatingIp
- description string
- Description for the floatingIp
- description str
- Description for the floatingIp
- description String
- Description for the floatingIp
Load Balancer Network Private Gateway, Load Balancer Network Private Gateway Args
- Id string
- ID of the gateway
- Id string
- ID of the gateway
- id String
- ID of the gateway
- id string
- ID of the gateway
- id str
- ID of the gateway
- id String
- ID of the gateway
Load Balancer Network Private Gateway Create, Load Balancer Network Private Gateway Create Args
Load Balancer Network Private Network, Load Balancer Network Private Network Args
Import
A load balancer in a public cloud project can be imported using the service_name
, region_name
and id
attributes. Using the following configuration:
terraform
import {
id = “<service_name>/<region_name>/
to = ovh_cloud_project_loadbalancer.lb
}
You can then run:
bash
$ pulumi preview -generate-config-out=lb.tf
$ pulumi up
The file lb.tf
will then contain the imported resource’s configuration, that can be copied next to the import
block above. See https://developer.hashicorp.com/terraform/language/import/generating-configuration for more details.
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
ovh
Terraform Provider.