openstack.LbLoadbalancerV2
Explore with Pulumi AI
Manages a V2 loadbalancer resource within OpenStack.
Note: This resource has attributes that depend on octavia minor versions. Please ensure your Openstack cloud supports the required minor version.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as openstack from "@pulumi/openstack";
const lb1 = new openstack.LbLoadbalancerV2("lb_1", {vipSubnetId: "d9415786-5f1a-428b-b35f-2f1523e146d2"});
import pulumi
import pulumi_openstack as openstack
lb1 = openstack.LbLoadbalancerV2("lb_1", vip_subnet_id="d9415786-5f1a-428b-b35f-2f1523e146d2")
package main
import (
"github.com/pulumi/pulumi-openstack/sdk/v5/go/openstack"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := openstack.NewLbLoadbalancerV2(ctx, "lb_1", &openstack.LbLoadbalancerV2Args{
VipSubnetId: pulumi.String("d9415786-5f1a-428b-b35f-2f1523e146d2"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using OpenStack = Pulumi.OpenStack;
return await Deployment.RunAsync(() =>
{
var lb1 = new OpenStack.LbLoadbalancerV2("lb_1", new()
{
VipSubnetId = "d9415786-5f1a-428b-b35f-2f1523e146d2",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.openstack.LbLoadbalancerV2;
import com.pulumi.openstack.LbLoadbalancerV2Args;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var lb1 = new LbLoadbalancerV2("lb1", LbLoadbalancerV2Args.builder()
.vipSubnetId("d9415786-5f1a-428b-b35f-2f1523e146d2")
.build());
}
}
resources:
lb1:
type: openstack:LbLoadbalancerV2
name: lb_1
properties:
vipSubnetId: d9415786-5f1a-428b-b35f-2f1523e146d2
Create LbLoadbalancerV2 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LbLoadbalancerV2(name: string, args?: LbLoadbalancerV2Args, opts?: CustomResourceOptions);
@overload
def LbLoadbalancerV2(resource_name: str,
args: Optional[LbLoadbalancerV2Args] = None,
opts: Optional[ResourceOptions] = None)
@overload
def LbLoadbalancerV2(resource_name: str,
opts: Optional[ResourceOptions] = None,
admin_state_up: Optional[bool] = None,
availability_zone: Optional[str] = None,
description: Optional[str] = None,
flavor_id: Optional[str] = None,
loadbalancer_provider: Optional[str] = None,
name: Optional[str] = None,
region: Optional[str] = None,
security_group_ids: Optional[Sequence[str]] = None,
tags: Optional[Sequence[str]] = None,
tenant_id: Optional[str] = None,
vip_address: Optional[str] = None,
vip_network_id: Optional[str] = None,
vip_port_id: Optional[str] = None,
vip_qos_policy_id: Optional[str] = None,
vip_subnet_id: Optional[str] = None)
func NewLbLoadbalancerV2(ctx *Context, name string, args *LbLoadbalancerV2Args, opts ...ResourceOption) (*LbLoadbalancerV2, error)
public LbLoadbalancerV2(string name, LbLoadbalancerV2Args? args = null, CustomResourceOptions? opts = null)
public LbLoadbalancerV2(String name, LbLoadbalancerV2Args args)
public LbLoadbalancerV2(String name, LbLoadbalancerV2Args args, CustomResourceOptions options)
type: openstack:LbLoadbalancerV2
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 LbLoadbalancerV2Args
- 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 LbLoadbalancerV2Args
- 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 LbLoadbalancerV2Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LbLoadbalancerV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LbLoadbalancerV2Args
- 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 lbLoadbalancerV2Resource = new OpenStack.LbLoadbalancerV2("lbLoadbalancerV2Resource", new()
{
AdminStateUp = false,
AvailabilityZone = "string",
Description = "string",
FlavorId = "string",
LoadbalancerProvider = "string",
Name = "string",
Region = "string",
SecurityGroupIds = new[]
{
"string",
},
Tags = new[]
{
"string",
},
TenantId = "string",
VipAddress = "string",
VipNetworkId = "string",
VipPortId = "string",
VipQosPolicyId = "string",
VipSubnetId = "string",
});
example, err := openstack.NewLbLoadbalancerV2(ctx, "lbLoadbalancerV2Resource", &openstack.LbLoadbalancerV2Args{
AdminStateUp: pulumi.Bool(false),
AvailabilityZone: pulumi.String("string"),
Description: pulumi.String("string"),
FlavorId: pulumi.String("string"),
LoadbalancerProvider: pulumi.String("string"),
Name: pulumi.String("string"),
Region: pulumi.String("string"),
SecurityGroupIds: pulumi.StringArray{
pulumi.String("string"),
},
Tags: pulumi.StringArray{
pulumi.String("string"),
},
TenantId: pulumi.String("string"),
VipAddress: pulumi.String("string"),
VipNetworkId: pulumi.String("string"),
VipPortId: pulumi.String("string"),
VipQosPolicyId: pulumi.String("string"),
VipSubnetId: pulumi.String("string"),
})
var lbLoadbalancerV2Resource = new LbLoadbalancerV2("lbLoadbalancerV2Resource", LbLoadbalancerV2Args.builder()
.adminStateUp(false)
.availabilityZone("string")
.description("string")
.flavorId("string")
.loadbalancerProvider("string")
.name("string")
.region("string")
.securityGroupIds("string")
.tags("string")
.tenantId("string")
.vipAddress("string")
.vipNetworkId("string")
.vipPortId("string")
.vipQosPolicyId("string")
.vipSubnetId("string")
.build());
lb_loadbalancer_v2_resource = openstack.LbLoadbalancerV2("lbLoadbalancerV2Resource",
admin_state_up=False,
availability_zone="string",
description="string",
flavor_id="string",
loadbalancer_provider="string",
name="string",
region="string",
security_group_ids=["string"],
tags=["string"],
tenant_id="string",
vip_address="string",
vip_network_id="string",
vip_port_id="string",
vip_qos_policy_id="string",
vip_subnet_id="string")
const lbLoadbalancerV2Resource = new openstack.LbLoadbalancerV2("lbLoadbalancerV2Resource", {
adminStateUp: false,
availabilityZone: "string",
description: "string",
flavorId: "string",
loadbalancerProvider: "string",
name: "string",
region: "string",
securityGroupIds: ["string"],
tags: ["string"],
tenantId: "string",
vipAddress: "string",
vipNetworkId: "string",
vipPortId: "string",
vipQosPolicyId: "string",
vipSubnetId: "string",
});
type: openstack:LbLoadbalancerV2
properties:
adminStateUp: false
availabilityZone: string
description: string
flavorId: string
loadbalancerProvider: string
name: string
region: string
securityGroupIds:
- string
tags:
- string
tenantId: string
vipAddress: string
vipNetworkId: string
vipPortId: string
vipQosPolicyId: string
vipSubnetId: string
LbLoadbalancerV2 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 LbLoadbalancerV2 resource accepts the following input properties:
- Admin
State boolUp - The administrative state of the Loadbalancer. A valid value is true (UP) or false (DOWN).
- Availability
Zone string - The availability zone of the Loadbalancer. Changing this creates a new loadbalancer. Available only for Octavia minor version 2.14 or later.
- Description string
- Human-readable description for the Loadbalancer.
- Flavor
Id string - The UUID of a flavor. Changing this creates a new loadbalancer.
- Loadbalancer
Provider string - The name of the provider. Changing this creates a new loadbalancer.
- Name string
- Human-readable name for the Loadbalancer. Does not have to be unique.
- Region string
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create an LB member. If omitted, the
region
argument of the provider is used. Changing this creates a new LB member. - Security
Group List<string>Ids - A list of security group IDs to apply to the loadbalancer. The security groups must be specified by ID and not name (as opposed to how they are configured with the Compute Instance).
- List<string>
- A list of simple strings assigned to the loadbalancer. Available only for Octavia minor version 2.5 or later.
- Tenant
Id string - Required for admins. The UUID of the tenant who owns the Loadbalancer. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new loadbalancer.
- Vip
Address string - The ip address of the load balancer. Changing this creates a new loadbalancer.
- Vip
Network stringId - The network on which to allocate the
Loadbalancer's address. A tenant can only create Loadbalancers on networks
authorized by policy (e.g. networks that belong to them or networks that
are shared). Changing this creates a new loadbalancer. Exactly one of
vip_subnet_id
,vip_network_id
orvip_port_id
has to be defined. - Vip
Port stringId - The port UUID that the loadbalancer will use.
Changing this creates a new loadbalancer. Exactly one of
vip_subnet_id
,vip_network_id
orvip_port_id
has to be defined. - Vip
Qos stringPolicy Id - The ID of the QoS Policy which will be applied to the Virtual IP (VIP).
- Vip
Subnet stringId - The subnet on which to allocate the
Loadbalancer's address. A tenant can only create Loadbalancers on networks
authorized by policy (e.g. networks that belong to them or networks that
are shared). Changing this creates a new loadbalancer. Exactly one of
vip_subnet_id
,vip_network_id
orvip_port_id
has to be defined.
- Admin
State boolUp - The administrative state of the Loadbalancer. A valid value is true (UP) or false (DOWN).
- Availability
Zone string - The availability zone of the Loadbalancer. Changing this creates a new loadbalancer. Available only for Octavia minor version 2.14 or later.
- Description string
- Human-readable description for the Loadbalancer.
- Flavor
Id string - The UUID of a flavor. Changing this creates a new loadbalancer.
- Loadbalancer
Provider string - The name of the provider. Changing this creates a new loadbalancer.
- Name string
- Human-readable name for the Loadbalancer. Does not have to be unique.
- Region string
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create an LB member. If omitted, the
region
argument of the provider is used. Changing this creates a new LB member. - Security
Group []stringIds - A list of security group IDs to apply to the loadbalancer. The security groups must be specified by ID and not name (as opposed to how they are configured with the Compute Instance).
- []string
- A list of simple strings assigned to the loadbalancer. Available only for Octavia minor version 2.5 or later.
- Tenant
Id string - Required for admins. The UUID of the tenant who owns the Loadbalancer. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new loadbalancer.
- Vip
Address string - The ip address of the load balancer. Changing this creates a new loadbalancer.
- Vip
Network stringId - The network on which to allocate the
Loadbalancer's address. A tenant can only create Loadbalancers on networks
authorized by policy (e.g. networks that belong to them or networks that
are shared). Changing this creates a new loadbalancer. Exactly one of
vip_subnet_id
,vip_network_id
orvip_port_id
has to be defined. - Vip
Port stringId - The port UUID that the loadbalancer will use.
Changing this creates a new loadbalancer. Exactly one of
vip_subnet_id
,vip_network_id
orvip_port_id
has to be defined. - Vip
Qos stringPolicy Id - The ID of the QoS Policy which will be applied to the Virtual IP (VIP).
- Vip
Subnet stringId - The subnet on which to allocate the
Loadbalancer's address. A tenant can only create Loadbalancers on networks
authorized by policy (e.g. networks that belong to them or networks that
are shared). Changing this creates a new loadbalancer. Exactly one of
vip_subnet_id
,vip_network_id
orvip_port_id
has to be defined.
- admin
State BooleanUp - The administrative state of the Loadbalancer. A valid value is true (UP) or false (DOWN).
- availability
Zone String - The availability zone of the Loadbalancer. Changing this creates a new loadbalancer. Available only for Octavia minor version 2.14 or later.
- description String
- Human-readable description for the Loadbalancer.
- flavor
Id String - The UUID of a flavor. Changing this creates a new loadbalancer.
- loadbalancer
Provider String - The name of the provider. Changing this creates a new loadbalancer.
- name String
- Human-readable name for the Loadbalancer. Does not have to be unique.
- region String
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create an LB member. If omitted, the
region
argument of the provider is used. Changing this creates a new LB member. - security
Group List<String>Ids - A list of security group IDs to apply to the loadbalancer. The security groups must be specified by ID and not name (as opposed to how they are configured with the Compute Instance).
- List<String>
- A list of simple strings assigned to the loadbalancer. Available only for Octavia minor version 2.5 or later.
- tenant
Id String - Required for admins. The UUID of the tenant who owns the Loadbalancer. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new loadbalancer.
- vip
Address String - The ip address of the load balancer. Changing this creates a new loadbalancer.
- vip
Network StringId - The network on which to allocate the
Loadbalancer's address. A tenant can only create Loadbalancers on networks
authorized by policy (e.g. networks that belong to them or networks that
are shared). Changing this creates a new loadbalancer. Exactly one of
vip_subnet_id
,vip_network_id
orvip_port_id
has to be defined. - vip
Port StringId - The port UUID that the loadbalancer will use.
Changing this creates a new loadbalancer. Exactly one of
vip_subnet_id
,vip_network_id
orvip_port_id
has to be defined. - vip
Qos StringPolicy Id - The ID of the QoS Policy which will be applied to the Virtual IP (VIP).
- vip
Subnet StringId - The subnet on which to allocate the
Loadbalancer's address. A tenant can only create Loadbalancers on networks
authorized by policy (e.g. networks that belong to them or networks that
are shared). Changing this creates a new loadbalancer. Exactly one of
vip_subnet_id
,vip_network_id
orvip_port_id
has to be defined.
- admin
State booleanUp - The administrative state of the Loadbalancer. A valid value is true (UP) or false (DOWN).
- availability
Zone string - The availability zone of the Loadbalancer. Changing this creates a new loadbalancer. Available only for Octavia minor version 2.14 or later.
- description string
- Human-readable description for the Loadbalancer.
- flavor
Id string - The UUID of a flavor. Changing this creates a new loadbalancer.
- loadbalancer
Provider string - The name of the provider. Changing this creates a new loadbalancer.
- name string
- Human-readable name for the Loadbalancer. Does not have to be unique.
- region string
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create an LB member. If omitted, the
region
argument of the provider is used. Changing this creates a new LB member. - security
Group string[]Ids - A list of security group IDs to apply to the loadbalancer. The security groups must be specified by ID and not name (as opposed to how they are configured with the Compute Instance).
- string[]
- A list of simple strings assigned to the loadbalancer. Available only for Octavia minor version 2.5 or later.
- tenant
Id string - Required for admins. The UUID of the tenant who owns the Loadbalancer. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new loadbalancer.
- vip
Address string - The ip address of the load balancer. Changing this creates a new loadbalancer.
- vip
Network stringId - The network on which to allocate the
Loadbalancer's address. A tenant can only create Loadbalancers on networks
authorized by policy (e.g. networks that belong to them or networks that
are shared). Changing this creates a new loadbalancer. Exactly one of
vip_subnet_id
,vip_network_id
orvip_port_id
has to be defined. - vip
Port stringId - The port UUID that the loadbalancer will use.
Changing this creates a new loadbalancer. Exactly one of
vip_subnet_id
,vip_network_id
orvip_port_id
has to be defined. - vip
Qos stringPolicy Id - The ID of the QoS Policy which will be applied to the Virtual IP (VIP).
- vip
Subnet stringId - The subnet on which to allocate the
Loadbalancer's address. A tenant can only create Loadbalancers on networks
authorized by policy (e.g. networks that belong to them or networks that
are shared). Changing this creates a new loadbalancer. Exactly one of
vip_subnet_id
,vip_network_id
orvip_port_id
has to be defined.
- admin_
state_ boolup - The administrative state of the Loadbalancer. A valid value is true (UP) or false (DOWN).
- availability_
zone str - The availability zone of the Loadbalancer. Changing this creates a new loadbalancer. Available only for Octavia minor version 2.14 or later.
- description str
- Human-readable description for the Loadbalancer.
- flavor_
id str - The UUID of a flavor. Changing this creates a new loadbalancer.
- loadbalancer_
provider str - The name of the provider. Changing this creates a new loadbalancer.
- name str
- Human-readable name for the Loadbalancer. Does not have to be unique.
- region str
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create an LB member. If omitted, the
region
argument of the provider is used. Changing this creates a new LB member. - security_
group_ Sequence[str]ids - A list of security group IDs to apply to the loadbalancer. The security groups must be specified by ID and not name (as opposed to how they are configured with the Compute Instance).
- Sequence[str]
- A list of simple strings assigned to the loadbalancer. Available only for Octavia minor version 2.5 or later.
- tenant_
id str - Required for admins. The UUID of the tenant who owns the Loadbalancer. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new loadbalancer.
- vip_
address str - The ip address of the load balancer. Changing this creates a new loadbalancer.
- vip_
network_ strid - The network on which to allocate the
Loadbalancer's address. A tenant can only create Loadbalancers on networks
authorized by policy (e.g. networks that belong to them or networks that
are shared). Changing this creates a new loadbalancer. Exactly one of
vip_subnet_id
,vip_network_id
orvip_port_id
has to be defined. - vip_
port_ strid - The port UUID that the loadbalancer will use.
Changing this creates a new loadbalancer. Exactly one of
vip_subnet_id
,vip_network_id
orvip_port_id
has to be defined. - vip_
qos_ strpolicy_ id - The ID of the QoS Policy which will be applied to the Virtual IP (VIP).
- vip_
subnet_ strid - The subnet on which to allocate the
Loadbalancer's address. A tenant can only create Loadbalancers on networks
authorized by policy (e.g. networks that belong to them or networks that
are shared). Changing this creates a new loadbalancer. Exactly one of
vip_subnet_id
,vip_network_id
orvip_port_id
has to be defined.
- admin
State BooleanUp - The administrative state of the Loadbalancer. A valid value is true (UP) or false (DOWN).
- availability
Zone String - The availability zone of the Loadbalancer. Changing this creates a new loadbalancer. Available only for Octavia minor version 2.14 or later.
- description String
- Human-readable description for the Loadbalancer.
- flavor
Id String - The UUID of a flavor. Changing this creates a new loadbalancer.
- loadbalancer
Provider String - The name of the provider. Changing this creates a new loadbalancer.
- name String
- Human-readable name for the Loadbalancer. Does not have to be unique.
- region String
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create an LB member. If omitted, the
region
argument of the provider is used. Changing this creates a new LB member. - security
Group List<String>Ids - A list of security group IDs to apply to the loadbalancer. The security groups must be specified by ID and not name (as opposed to how they are configured with the Compute Instance).
- List<String>
- A list of simple strings assigned to the loadbalancer. Available only for Octavia minor version 2.5 or later.
- tenant
Id String - Required for admins. The UUID of the tenant who owns the Loadbalancer. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new loadbalancer.
- vip
Address String - The ip address of the load balancer. Changing this creates a new loadbalancer.
- vip
Network StringId - The network on which to allocate the
Loadbalancer's address. A tenant can only create Loadbalancers on networks
authorized by policy (e.g. networks that belong to them or networks that
are shared). Changing this creates a new loadbalancer. Exactly one of
vip_subnet_id
,vip_network_id
orvip_port_id
has to be defined. - vip
Port StringId - The port UUID that the loadbalancer will use.
Changing this creates a new loadbalancer. Exactly one of
vip_subnet_id
,vip_network_id
orvip_port_id
has to be defined. - vip
Qos StringPolicy Id - The ID of the QoS Policy which will be applied to the Virtual IP (VIP).
- vip
Subnet StringId - The subnet on which to allocate the
Loadbalancer's address. A tenant can only create Loadbalancers on networks
authorized by policy (e.g. networks that belong to them or networks that
are shared). Changing this creates a new loadbalancer. Exactly one of
vip_subnet_id
,vip_network_id
orvip_port_id
has to be defined.
Outputs
All input properties are implicitly available as output properties. Additionally, the LbLoadbalancerV2 resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing LbLoadbalancerV2 Resource
Get an existing LbLoadbalancerV2 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?: LbLoadbalancerV2State, opts?: CustomResourceOptions): LbLoadbalancerV2
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
admin_state_up: Optional[bool] = None,
availability_zone: Optional[str] = None,
description: Optional[str] = None,
flavor_id: Optional[str] = None,
loadbalancer_provider: Optional[str] = None,
name: Optional[str] = None,
region: Optional[str] = None,
security_group_ids: Optional[Sequence[str]] = None,
tags: Optional[Sequence[str]] = None,
tenant_id: Optional[str] = None,
vip_address: Optional[str] = None,
vip_network_id: Optional[str] = None,
vip_port_id: Optional[str] = None,
vip_qos_policy_id: Optional[str] = None,
vip_subnet_id: Optional[str] = None) -> LbLoadbalancerV2
func GetLbLoadbalancerV2(ctx *Context, name string, id IDInput, state *LbLoadbalancerV2State, opts ...ResourceOption) (*LbLoadbalancerV2, error)
public static LbLoadbalancerV2 Get(string name, Input<string> id, LbLoadbalancerV2State? state, CustomResourceOptions? opts = null)
public static LbLoadbalancerV2 get(String name, Output<String> id, LbLoadbalancerV2State 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.
- Admin
State boolUp - The administrative state of the Loadbalancer. A valid value is true (UP) or false (DOWN).
- Availability
Zone string - The availability zone of the Loadbalancer. Changing this creates a new loadbalancer. Available only for Octavia minor version 2.14 or later.
- Description string
- Human-readable description for the Loadbalancer.
- Flavor
Id string - The UUID of a flavor. Changing this creates a new loadbalancer.
- Loadbalancer
Provider string - The name of the provider. Changing this creates a new loadbalancer.
- Name string
- Human-readable name for the Loadbalancer. Does not have to be unique.
- Region string
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create an LB member. If omitted, the
region
argument of the provider is used. Changing this creates a new LB member. - Security
Group List<string>Ids - A list of security group IDs to apply to the loadbalancer. The security groups must be specified by ID and not name (as opposed to how they are configured with the Compute Instance).
- List<string>
- A list of simple strings assigned to the loadbalancer. Available only for Octavia minor version 2.5 or later.
- Tenant
Id string - Required for admins. The UUID of the tenant who owns the Loadbalancer. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new loadbalancer.
- Vip
Address string - The ip address of the load balancer. Changing this creates a new loadbalancer.
- Vip
Network stringId - The network on which to allocate the
Loadbalancer's address. A tenant can only create Loadbalancers on networks
authorized by policy (e.g. networks that belong to them or networks that
are shared). Changing this creates a new loadbalancer. Exactly one of
vip_subnet_id
,vip_network_id
orvip_port_id
has to be defined. - Vip
Port stringId - The port UUID that the loadbalancer will use.
Changing this creates a new loadbalancer. Exactly one of
vip_subnet_id
,vip_network_id
orvip_port_id
has to be defined. - Vip
Qos stringPolicy Id - The ID of the QoS Policy which will be applied to the Virtual IP (VIP).
- Vip
Subnet stringId - The subnet on which to allocate the
Loadbalancer's address. A tenant can only create Loadbalancers on networks
authorized by policy (e.g. networks that belong to them or networks that
are shared). Changing this creates a new loadbalancer. Exactly one of
vip_subnet_id
,vip_network_id
orvip_port_id
has to be defined.
- Admin
State boolUp - The administrative state of the Loadbalancer. A valid value is true (UP) or false (DOWN).
- Availability
Zone string - The availability zone of the Loadbalancer. Changing this creates a new loadbalancer. Available only for Octavia minor version 2.14 or later.
- Description string
- Human-readable description for the Loadbalancer.
- Flavor
Id string - The UUID of a flavor. Changing this creates a new loadbalancer.
- Loadbalancer
Provider string - The name of the provider. Changing this creates a new loadbalancer.
- Name string
- Human-readable name for the Loadbalancer. Does not have to be unique.
- Region string
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create an LB member. If omitted, the
region
argument of the provider is used. Changing this creates a new LB member. - Security
Group []stringIds - A list of security group IDs to apply to the loadbalancer. The security groups must be specified by ID and not name (as opposed to how they are configured with the Compute Instance).
- []string
- A list of simple strings assigned to the loadbalancer. Available only for Octavia minor version 2.5 or later.
- Tenant
Id string - Required for admins. The UUID of the tenant who owns the Loadbalancer. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new loadbalancer.
- Vip
Address string - The ip address of the load balancer. Changing this creates a new loadbalancer.
- Vip
Network stringId - The network on which to allocate the
Loadbalancer's address. A tenant can only create Loadbalancers on networks
authorized by policy (e.g. networks that belong to them or networks that
are shared). Changing this creates a new loadbalancer. Exactly one of
vip_subnet_id
,vip_network_id
orvip_port_id
has to be defined. - Vip
Port stringId - The port UUID that the loadbalancer will use.
Changing this creates a new loadbalancer. Exactly one of
vip_subnet_id
,vip_network_id
orvip_port_id
has to be defined. - Vip
Qos stringPolicy Id - The ID of the QoS Policy which will be applied to the Virtual IP (VIP).
- Vip
Subnet stringId - The subnet on which to allocate the
Loadbalancer's address. A tenant can only create Loadbalancers on networks
authorized by policy (e.g. networks that belong to them or networks that
are shared). Changing this creates a new loadbalancer. Exactly one of
vip_subnet_id
,vip_network_id
orvip_port_id
has to be defined.
- admin
State BooleanUp - The administrative state of the Loadbalancer. A valid value is true (UP) or false (DOWN).
- availability
Zone String - The availability zone of the Loadbalancer. Changing this creates a new loadbalancer. Available only for Octavia minor version 2.14 or later.
- description String
- Human-readable description for the Loadbalancer.
- flavor
Id String - The UUID of a flavor. Changing this creates a new loadbalancer.
- loadbalancer
Provider String - The name of the provider. Changing this creates a new loadbalancer.
- name String
- Human-readable name for the Loadbalancer. Does not have to be unique.
- region String
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create an LB member. If omitted, the
region
argument of the provider is used. Changing this creates a new LB member. - security
Group List<String>Ids - A list of security group IDs to apply to the loadbalancer. The security groups must be specified by ID and not name (as opposed to how they are configured with the Compute Instance).
- List<String>
- A list of simple strings assigned to the loadbalancer. Available only for Octavia minor version 2.5 or later.
- tenant
Id String - Required for admins. The UUID of the tenant who owns the Loadbalancer. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new loadbalancer.
- vip
Address String - The ip address of the load balancer. Changing this creates a new loadbalancer.
- vip
Network StringId - The network on which to allocate the
Loadbalancer's address. A tenant can only create Loadbalancers on networks
authorized by policy (e.g. networks that belong to them or networks that
are shared). Changing this creates a new loadbalancer. Exactly one of
vip_subnet_id
,vip_network_id
orvip_port_id
has to be defined. - vip
Port StringId - The port UUID that the loadbalancer will use.
Changing this creates a new loadbalancer. Exactly one of
vip_subnet_id
,vip_network_id
orvip_port_id
has to be defined. - vip
Qos StringPolicy Id - The ID of the QoS Policy which will be applied to the Virtual IP (VIP).
- vip
Subnet StringId - The subnet on which to allocate the
Loadbalancer's address. A tenant can only create Loadbalancers on networks
authorized by policy (e.g. networks that belong to them or networks that
are shared). Changing this creates a new loadbalancer. Exactly one of
vip_subnet_id
,vip_network_id
orvip_port_id
has to be defined.
- admin
State booleanUp - The administrative state of the Loadbalancer. A valid value is true (UP) or false (DOWN).
- availability
Zone string - The availability zone of the Loadbalancer. Changing this creates a new loadbalancer. Available only for Octavia minor version 2.14 or later.
- description string
- Human-readable description for the Loadbalancer.
- flavor
Id string - The UUID of a flavor. Changing this creates a new loadbalancer.
- loadbalancer
Provider string - The name of the provider. Changing this creates a new loadbalancer.
- name string
- Human-readable name for the Loadbalancer. Does not have to be unique.
- region string
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create an LB member. If omitted, the
region
argument of the provider is used. Changing this creates a new LB member. - security
Group string[]Ids - A list of security group IDs to apply to the loadbalancer. The security groups must be specified by ID and not name (as opposed to how they are configured with the Compute Instance).
- string[]
- A list of simple strings assigned to the loadbalancer. Available only for Octavia minor version 2.5 or later.
- tenant
Id string - Required for admins. The UUID of the tenant who owns the Loadbalancer. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new loadbalancer.
- vip
Address string - The ip address of the load balancer. Changing this creates a new loadbalancer.
- vip
Network stringId - The network on which to allocate the
Loadbalancer's address. A tenant can only create Loadbalancers on networks
authorized by policy (e.g. networks that belong to them or networks that
are shared). Changing this creates a new loadbalancer. Exactly one of
vip_subnet_id
,vip_network_id
orvip_port_id
has to be defined. - vip
Port stringId - The port UUID that the loadbalancer will use.
Changing this creates a new loadbalancer. Exactly one of
vip_subnet_id
,vip_network_id
orvip_port_id
has to be defined. - vip
Qos stringPolicy Id - The ID of the QoS Policy which will be applied to the Virtual IP (VIP).
- vip
Subnet stringId - The subnet on which to allocate the
Loadbalancer's address. A tenant can only create Loadbalancers on networks
authorized by policy (e.g. networks that belong to them or networks that
are shared). Changing this creates a new loadbalancer. Exactly one of
vip_subnet_id
,vip_network_id
orvip_port_id
has to be defined.
- admin_
state_ boolup - The administrative state of the Loadbalancer. A valid value is true (UP) or false (DOWN).
- availability_
zone str - The availability zone of the Loadbalancer. Changing this creates a new loadbalancer. Available only for Octavia minor version 2.14 or later.
- description str
- Human-readable description for the Loadbalancer.
- flavor_
id str - The UUID of a flavor. Changing this creates a new loadbalancer.
- loadbalancer_
provider str - The name of the provider. Changing this creates a new loadbalancer.
- name str
- Human-readable name for the Loadbalancer. Does not have to be unique.
- region str
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create an LB member. If omitted, the
region
argument of the provider is used. Changing this creates a new LB member. - security_
group_ Sequence[str]ids - A list of security group IDs to apply to the loadbalancer. The security groups must be specified by ID and not name (as opposed to how they are configured with the Compute Instance).
- Sequence[str]
- A list of simple strings assigned to the loadbalancer. Available only for Octavia minor version 2.5 or later.
- tenant_
id str - Required for admins. The UUID of the tenant who owns the Loadbalancer. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new loadbalancer.
- vip_
address str - The ip address of the load balancer. Changing this creates a new loadbalancer.
- vip_
network_ strid - The network on which to allocate the
Loadbalancer's address. A tenant can only create Loadbalancers on networks
authorized by policy (e.g. networks that belong to them or networks that
are shared). Changing this creates a new loadbalancer. Exactly one of
vip_subnet_id
,vip_network_id
orvip_port_id
has to be defined. - vip_
port_ strid - The port UUID that the loadbalancer will use.
Changing this creates a new loadbalancer. Exactly one of
vip_subnet_id
,vip_network_id
orvip_port_id
has to be defined. - vip_
qos_ strpolicy_ id - The ID of the QoS Policy which will be applied to the Virtual IP (VIP).
- vip_
subnet_ strid - The subnet on which to allocate the
Loadbalancer's address. A tenant can only create Loadbalancers on networks
authorized by policy (e.g. networks that belong to them or networks that
are shared). Changing this creates a new loadbalancer. Exactly one of
vip_subnet_id
,vip_network_id
orvip_port_id
has to be defined.
- admin
State BooleanUp - The administrative state of the Loadbalancer. A valid value is true (UP) or false (DOWN).
- availability
Zone String - The availability zone of the Loadbalancer. Changing this creates a new loadbalancer. Available only for Octavia minor version 2.14 or later.
- description String
- Human-readable description for the Loadbalancer.
- flavor
Id String - The UUID of a flavor. Changing this creates a new loadbalancer.
- loadbalancer
Provider String - The name of the provider. Changing this creates a new loadbalancer.
- name String
- Human-readable name for the Loadbalancer. Does not have to be unique.
- region String
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create an LB member. If omitted, the
region
argument of the provider is used. Changing this creates a new LB member. - security
Group List<String>Ids - A list of security group IDs to apply to the loadbalancer. The security groups must be specified by ID and not name (as opposed to how they are configured with the Compute Instance).
- List<String>
- A list of simple strings assigned to the loadbalancer. Available only for Octavia minor version 2.5 or later.
- tenant
Id String - Required for admins. The UUID of the tenant who owns the Loadbalancer. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new loadbalancer.
- vip
Address String - The ip address of the load balancer. Changing this creates a new loadbalancer.
- vip
Network StringId - The network on which to allocate the
Loadbalancer's address. A tenant can only create Loadbalancers on networks
authorized by policy (e.g. networks that belong to them or networks that
are shared). Changing this creates a new loadbalancer. Exactly one of
vip_subnet_id
,vip_network_id
orvip_port_id
has to be defined. - vip
Port StringId - The port UUID that the loadbalancer will use.
Changing this creates a new loadbalancer. Exactly one of
vip_subnet_id
,vip_network_id
orvip_port_id
has to be defined. - vip
Qos StringPolicy Id - The ID of the QoS Policy which will be applied to the Virtual IP (VIP).
- vip
Subnet StringId - The subnet on which to allocate the
Loadbalancer's address. A tenant can only create Loadbalancers on networks
authorized by policy (e.g. networks that belong to them or networks that
are shared). Changing this creates a new loadbalancer. Exactly one of
vip_subnet_id
,vip_network_id
orvip_port_id
has to be defined.
Import
Load Balancer can be imported using the Load Balancer ID, e.g.:
$ pulumi import openstack:index/lbLoadbalancerV2:LbLoadbalancerV2 loadbalancer_1 19bcfdc7-c521-4a7e-9459-6750bd16df76
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- OpenStack pulumi/pulumi-openstack
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
openstack
Terraform Provider.