vkcs.LbLoadbalancer
Explore with Pulumi AI
Manages a loadbalancer resource within VKCS.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as vkcs from "@pulumi/vkcs";
const app = new vkcs.LbLoadbalancer("app", {
description: "Loadbalancer for resources/datasources testing",
vipSubnetId: vkcs_networking_subnet.app.id,
tags: ["app-front-tf-example"],
});
import pulumi
import pulumi_vkcs as vkcs
app = vkcs.LbLoadbalancer("app",
description="Loadbalancer for resources/datasources testing",
vip_subnet_id=vkcs_networking_subnet["app"]["id"],
tags=["app-front-tf-example"])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/vkcs/vkcs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vkcs.NewLbLoadbalancer(ctx, "app", &vkcs.LbLoadbalancerArgs{
Description: pulumi.String("Loadbalancer for resources/datasources testing"),
VipSubnetId: pulumi.Any(vkcs_networking_subnet.App.Id),
Tags: pulumi.StringArray{
pulumi.String("app-front-tf-example"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Vkcs = Pulumi.Vkcs;
return await Deployment.RunAsync(() =>
{
var app = new Vkcs.LbLoadbalancer("app", new()
{
Description = "Loadbalancer for resources/datasources testing",
VipSubnetId = vkcs_networking_subnet.App.Id,
Tags = new[]
{
"app-front-tf-example",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vkcs.LbLoadbalancer;
import com.pulumi.vkcs.LbLoadbalancerArgs;
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 app = new LbLoadbalancer("app", LbLoadbalancerArgs.builder()
.description("Loadbalancer for resources/datasources testing")
.vipSubnetId(vkcs_networking_subnet.app().id())
.tags("app-front-tf-example")
.build());
}
}
resources:
app:
type: vkcs:LbLoadbalancer
properties:
description: Loadbalancer for resources/datasources testing
vipSubnetId: ${vkcs_networking_subnet.app.id}
tags:
- app-front-tf-example
Create LbLoadbalancer Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LbLoadbalancer(name: string, args?: LbLoadbalancerArgs, opts?: CustomResourceOptions);
@overload
def LbLoadbalancer(resource_name: str,
args: Optional[LbLoadbalancerArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def LbLoadbalancer(resource_name: str,
opts: Optional[ResourceOptions] = None,
admin_state_up: Optional[bool] = None,
availability_zone: Optional[str] = None,
description: Optional[str] = None,
lb_loadbalancer_id: Optional[str] = None,
name: Optional[str] = None,
region: Optional[str] = None,
security_group_ids: Optional[Sequence[str]] = None,
tags: Optional[Sequence[str]] = None,
timeouts: Optional[LbLoadbalancerTimeoutsArgs] = None,
vip_address: Optional[str] = None,
vip_network_id: Optional[str] = None,
vip_port_id: Optional[str] = None,
vip_subnet_id: Optional[str] = None)
func NewLbLoadbalancer(ctx *Context, name string, args *LbLoadbalancerArgs, opts ...ResourceOption) (*LbLoadbalancer, error)
public LbLoadbalancer(string name, LbLoadbalancerArgs? args = null, CustomResourceOptions? opts = null)
public LbLoadbalancer(String name, LbLoadbalancerArgs args)
public LbLoadbalancer(String name, LbLoadbalancerArgs args, CustomResourceOptions options)
type: vkcs:LbLoadbalancer
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 LbLoadbalancerArgs
- 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 LbLoadbalancerArgs
- 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 LbLoadbalancerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LbLoadbalancerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LbLoadbalancerArgs
- 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 lbLoadbalancerResource = new Vkcs.LbLoadbalancer("lbLoadbalancerResource", new()
{
AdminStateUp = false,
AvailabilityZone = "string",
Description = "string",
LbLoadbalancerId = "string",
Name = "string",
Region = "string",
Tags = new[]
{
"string",
},
Timeouts = new Vkcs.Inputs.LbLoadbalancerTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
VipAddress = "string",
VipNetworkId = "string",
VipPortId = "string",
VipSubnetId = "string",
});
example, err := vkcs.NewLbLoadbalancer(ctx, "lbLoadbalancerResource", &vkcs.LbLoadbalancerArgs{
AdminStateUp: pulumi.Bool(false),
AvailabilityZone: pulumi.String("string"),
Description: pulumi.String("string"),
LbLoadbalancerId: pulumi.String("string"),
Name: pulumi.String("string"),
Region: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
Timeouts: &vkcs.LbLoadbalancerTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
VipAddress: pulumi.String("string"),
VipNetworkId: pulumi.String("string"),
VipPortId: pulumi.String("string"),
VipSubnetId: pulumi.String("string"),
})
var lbLoadbalancerResource = new LbLoadbalancer("lbLoadbalancerResource", LbLoadbalancerArgs.builder()
.adminStateUp(false)
.availabilityZone("string")
.description("string")
.lbLoadbalancerId("string")
.name("string")
.region("string")
.tags("string")
.timeouts(LbLoadbalancerTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.vipAddress("string")
.vipNetworkId("string")
.vipPortId("string")
.vipSubnetId("string")
.build());
lb_loadbalancer_resource = vkcs.LbLoadbalancer("lbLoadbalancerResource",
admin_state_up=False,
availability_zone="string",
description="string",
lb_loadbalancer_id="string",
name="string",
region="string",
tags=["string"],
timeouts={
"create": "string",
"delete": "string",
"update": "string",
},
vip_address="string",
vip_network_id="string",
vip_port_id="string",
vip_subnet_id="string")
const lbLoadbalancerResource = new vkcs.LbLoadbalancer("lbLoadbalancerResource", {
adminStateUp: false,
availabilityZone: "string",
description: "string",
lbLoadbalancerId: "string",
name: "string",
region: "string",
tags: ["string"],
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
vipAddress: "string",
vipNetworkId: "string",
vipPortId: "string",
vipSubnetId: "string",
});
type: vkcs:LbLoadbalancer
properties:
adminStateUp: false
availabilityZone: string
description: string
lbLoadbalancerId: string
name: string
region: string
tags:
- string
timeouts:
create: string
delete: string
update: string
vipAddress: string
vipNetworkId: string
vipPortId: string
vipSubnetId: string
LbLoadbalancer 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 LbLoadbalancer resource accepts the following input properties:
- Admin
State boolUp - optional boolean → The administrative state of the Loadbalancer. A valid value is true (UP) or false (DOWN).
- Availability
Zone string - optional string → The availability zone of the Loadbalancer. Changing this creates a new loadbalancer.
- Description string
- optional string → Human-readable description for the Loadbalancer.
- Lb
Loadbalancer stringId - string → ID of the resource.
- Name string
- optional string → Human-readable name for the Loadbalancer. Does not have to be unique.
- Region string
- optional string → The region in which to obtain the Loadbalancer client. If omitted, the
region
argument of the provider is used. Changing this creates a new LB loadbalancer. - Security
Group List<string>Ids - optional deprecated set of string → 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). Deprecated This argument is deprecated, please do not use it.
- List<string>
- optional set of string → A list of simple strings assigned to the loadbalancer.
- Timeouts
Lb
Loadbalancer Timeouts - Vip
Address string - optional string → The ip address of the load balancer. Changing this creates a new loadbalancer.
- Vip
Network stringId - optional string → 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.
- Vip
Port stringId - optional string → The port UUID that the loadbalancer will use. Changing this creates a new loadbalancer.
- Vip
Subnet stringId - optional string → 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.
- Admin
State boolUp - optional boolean → The administrative state of the Loadbalancer. A valid value is true (UP) or false (DOWN).
- Availability
Zone string - optional string → The availability zone of the Loadbalancer. Changing this creates a new loadbalancer.
- Description string
- optional string → Human-readable description for the Loadbalancer.
- Lb
Loadbalancer stringId - string → ID of the resource.
- Name string
- optional string → Human-readable name for the Loadbalancer. Does not have to be unique.
- Region string
- optional string → The region in which to obtain the Loadbalancer client. If omitted, the
region
argument of the provider is used. Changing this creates a new LB loadbalancer. - Security
Group []stringIds - optional deprecated set of string → 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). Deprecated This argument is deprecated, please do not use it.
- []string
- optional set of string → A list of simple strings assigned to the loadbalancer.
- Timeouts
Lb
Loadbalancer Timeouts Args - Vip
Address string - optional string → The ip address of the load balancer. Changing this creates a new loadbalancer.
- Vip
Network stringId - optional string → 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.
- Vip
Port stringId - optional string → The port UUID that the loadbalancer will use. Changing this creates a new loadbalancer.
- Vip
Subnet stringId - optional string → 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.
- admin
State BooleanUp - optional boolean → The administrative state of the Loadbalancer. A valid value is true (UP) or false (DOWN).
- availability
Zone String - optional string → The availability zone of the Loadbalancer. Changing this creates a new loadbalancer.
- description String
- optional string → Human-readable description for the Loadbalancer.
- lb
Loadbalancer StringId - string → ID of the resource.
- name String
- optional string → Human-readable name for the Loadbalancer. Does not have to be unique.
- region String
- optional string → The region in which to obtain the Loadbalancer client. If omitted, the
region
argument of the provider is used. Changing this creates a new LB loadbalancer. - security
Group List<String>Ids - optional deprecated set of string → 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). Deprecated This argument is deprecated, please do not use it.
- List<String>
- optional set of string → A list of simple strings assigned to the loadbalancer.
- timeouts
Lb
Loadbalancer Timeouts - vip
Address String - optional string → The ip address of the load balancer. Changing this creates a new loadbalancer.
- vip
Network StringId - optional string → 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.
- vip
Port StringId - optional string → The port UUID that the loadbalancer will use. Changing this creates a new loadbalancer.
- vip
Subnet StringId - optional string → 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.
- admin
State booleanUp - optional boolean → The administrative state of the Loadbalancer. A valid value is true (UP) or false (DOWN).
- availability
Zone string - optional string → The availability zone of the Loadbalancer. Changing this creates a new loadbalancer.
- description string
- optional string → Human-readable description for the Loadbalancer.
- lb
Loadbalancer stringId - string → ID of the resource.
- name string
- optional string → Human-readable name for the Loadbalancer. Does not have to be unique.
- region string
- optional string → The region in which to obtain the Loadbalancer client. If omitted, the
region
argument of the provider is used. Changing this creates a new LB loadbalancer. - security
Group string[]Ids - optional deprecated set of string → 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). Deprecated This argument is deprecated, please do not use it.
- string[]
- optional set of string → A list of simple strings assigned to the loadbalancer.
- timeouts
Lb
Loadbalancer Timeouts - vip
Address string - optional string → The ip address of the load balancer. Changing this creates a new loadbalancer.
- vip
Network stringId - optional string → 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.
- vip
Port stringId - optional string → The port UUID that the loadbalancer will use. Changing this creates a new loadbalancer.
- vip
Subnet stringId - optional string → 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.
- admin_
state_ boolup - optional boolean → The administrative state of the Loadbalancer. A valid value is true (UP) or false (DOWN).
- availability_
zone str - optional string → The availability zone of the Loadbalancer. Changing this creates a new loadbalancer.
- description str
- optional string → Human-readable description for the Loadbalancer.
- lb_
loadbalancer_ strid - string → ID of the resource.
- name str
- optional string → Human-readable name for the Loadbalancer. Does not have to be unique.
- region str
- optional string → The region in which to obtain the Loadbalancer client. If omitted, the
region
argument of the provider is used. Changing this creates a new LB loadbalancer. - security_
group_ Sequence[str]ids - optional deprecated set of string → 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). Deprecated This argument is deprecated, please do not use it.
- Sequence[str]
- optional set of string → A list of simple strings assigned to the loadbalancer.
- timeouts
Lb
Loadbalancer Timeouts Args - vip_
address str - optional string → The ip address of the load balancer. Changing this creates a new loadbalancer.
- vip_
network_ strid - optional string → 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.
- vip_
port_ strid - optional string → The port UUID that the loadbalancer will use. Changing this creates a new loadbalancer.
- vip_
subnet_ strid - optional string → 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.
- admin
State BooleanUp - optional boolean → The administrative state of the Loadbalancer. A valid value is true (UP) or false (DOWN).
- availability
Zone String - optional string → The availability zone of the Loadbalancer. Changing this creates a new loadbalancer.
- description String
- optional string → Human-readable description for the Loadbalancer.
- lb
Loadbalancer StringId - string → ID of the resource.
- name String
- optional string → Human-readable name for the Loadbalancer. Does not have to be unique.
- region String
- optional string → The region in which to obtain the Loadbalancer client. If omitted, the
region
argument of the provider is used. Changing this creates a new LB loadbalancer. - security
Group List<String>Ids - optional deprecated set of string → 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). Deprecated This argument is deprecated, please do not use it.
- List<String>
- optional set of string → A list of simple strings assigned to the loadbalancer.
- timeouts Property Map
- vip
Address String - optional string → The ip address of the load balancer. Changing this creates a new loadbalancer.
- vip
Network StringId - optional string → 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.
- vip
Port StringId - optional string → The port UUID that the loadbalancer will use. Changing this creates a new loadbalancer.
- vip
Subnet StringId - optional string → 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the LbLoadbalancer 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 LbLoadbalancer Resource
Get an existing LbLoadbalancer 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?: LbLoadbalancerState, opts?: CustomResourceOptions): LbLoadbalancer
@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,
lb_loadbalancer_id: Optional[str] = None,
name: Optional[str] = None,
region: Optional[str] = None,
security_group_ids: Optional[Sequence[str]] = None,
tags: Optional[Sequence[str]] = None,
timeouts: Optional[LbLoadbalancerTimeoutsArgs] = None,
vip_address: Optional[str] = None,
vip_network_id: Optional[str] = None,
vip_port_id: Optional[str] = None,
vip_subnet_id: Optional[str] = None) -> LbLoadbalancer
func GetLbLoadbalancer(ctx *Context, name string, id IDInput, state *LbLoadbalancerState, opts ...ResourceOption) (*LbLoadbalancer, error)
public static LbLoadbalancer Get(string name, Input<string> id, LbLoadbalancerState? state, CustomResourceOptions? opts = null)
public static LbLoadbalancer get(String name, Output<String> id, LbLoadbalancerState state, CustomResourceOptions options)
resources: _: type: vkcs:LbLoadbalancer 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.
- Admin
State boolUp - optional boolean → The administrative state of the Loadbalancer. A valid value is true (UP) or false (DOWN).
- Availability
Zone string - optional string → The availability zone of the Loadbalancer. Changing this creates a new loadbalancer.
- Description string
- optional string → Human-readable description for the Loadbalancer.
- Lb
Loadbalancer stringId - string → ID of the resource.
- Name string
- optional string → Human-readable name for the Loadbalancer. Does not have to be unique.
- Region string
- optional string → The region in which to obtain the Loadbalancer client. If omitted, the
region
argument of the provider is used. Changing this creates a new LB loadbalancer. - Security
Group List<string>Ids - optional deprecated set of string → 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). Deprecated This argument is deprecated, please do not use it.
- List<string>
- optional set of string → A list of simple strings assigned to the loadbalancer.
- Timeouts
Lb
Loadbalancer Timeouts - Vip
Address string - optional string → The ip address of the load balancer. Changing this creates a new loadbalancer.
- Vip
Network stringId - optional string → 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.
- Vip
Port stringId - optional string → The port UUID that the loadbalancer will use. Changing this creates a new loadbalancer.
- Vip
Subnet stringId - optional string → 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.
- Admin
State boolUp - optional boolean → The administrative state of the Loadbalancer. A valid value is true (UP) or false (DOWN).
- Availability
Zone string - optional string → The availability zone of the Loadbalancer. Changing this creates a new loadbalancer.
- Description string
- optional string → Human-readable description for the Loadbalancer.
- Lb
Loadbalancer stringId - string → ID of the resource.
- Name string
- optional string → Human-readable name for the Loadbalancer. Does not have to be unique.
- Region string
- optional string → The region in which to obtain the Loadbalancer client. If omitted, the
region
argument of the provider is used. Changing this creates a new LB loadbalancer. - Security
Group []stringIds - optional deprecated set of string → 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). Deprecated This argument is deprecated, please do not use it.
- []string
- optional set of string → A list of simple strings assigned to the loadbalancer.
- Timeouts
Lb
Loadbalancer Timeouts Args - Vip
Address string - optional string → The ip address of the load balancer. Changing this creates a new loadbalancer.
- Vip
Network stringId - optional string → 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.
- Vip
Port stringId - optional string → The port UUID that the loadbalancer will use. Changing this creates a new loadbalancer.
- Vip
Subnet stringId - optional string → 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.
- admin
State BooleanUp - optional boolean → The administrative state of the Loadbalancer. A valid value is true (UP) or false (DOWN).
- availability
Zone String - optional string → The availability zone of the Loadbalancer. Changing this creates a new loadbalancer.
- description String
- optional string → Human-readable description for the Loadbalancer.
- lb
Loadbalancer StringId - string → ID of the resource.
- name String
- optional string → Human-readable name for the Loadbalancer. Does not have to be unique.
- region String
- optional string → The region in which to obtain the Loadbalancer client. If omitted, the
region
argument of the provider is used. Changing this creates a new LB loadbalancer. - security
Group List<String>Ids - optional deprecated set of string → 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). Deprecated This argument is deprecated, please do not use it.
- List<String>
- optional set of string → A list of simple strings assigned to the loadbalancer.
- timeouts
Lb
Loadbalancer Timeouts - vip
Address String - optional string → The ip address of the load balancer. Changing this creates a new loadbalancer.
- vip
Network StringId - optional string → 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.
- vip
Port StringId - optional string → The port UUID that the loadbalancer will use. Changing this creates a new loadbalancer.
- vip
Subnet StringId - optional string → 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.
- admin
State booleanUp - optional boolean → The administrative state of the Loadbalancer. A valid value is true (UP) or false (DOWN).
- availability
Zone string - optional string → The availability zone of the Loadbalancer. Changing this creates a new loadbalancer.
- description string
- optional string → Human-readable description for the Loadbalancer.
- lb
Loadbalancer stringId - string → ID of the resource.
- name string
- optional string → Human-readable name for the Loadbalancer. Does not have to be unique.
- region string
- optional string → The region in which to obtain the Loadbalancer client. If omitted, the
region
argument of the provider is used. Changing this creates a new LB loadbalancer. - security
Group string[]Ids - optional deprecated set of string → 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). Deprecated This argument is deprecated, please do not use it.
- string[]
- optional set of string → A list of simple strings assigned to the loadbalancer.
- timeouts
Lb
Loadbalancer Timeouts - vip
Address string - optional string → The ip address of the load balancer. Changing this creates a new loadbalancer.
- vip
Network stringId - optional string → 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.
- vip
Port stringId - optional string → The port UUID that the loadbalancer will use. Changing this creates a new loadbalancer.
- vip
Subnet stringId - optional string → 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.
- admin_
state_ boolup - optional boolean → The administrative state of the Loadbalancer. A valid value is true (UP) or false (DOWN).
- availability_
zone str - optional string → The availability zone of the Loadbalancer. Changing this creates a new loadbalancer.
- description str
- optional string → Human-readable description for the Loadbalancer.
- lb_
loadbalancer_ strid - string → ID of the resource.
- name str
- optional string → Human-readable name for the Loadbalancer. Does not have to be unique.
- region str
- optional string → The region in which to obtain the Loadbalancer client. If omitted, the
region
argument of the provider is used. Changing this creates a new LB loadbalancer. - security_
group_ Sequence[str]ids - optional deprecated set of string → 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). Deprecated This argument is deprecated, please do not use it.
- Sequence[str]
- optional set of string → A list of simple strings assigned to the loadbalancer.
- timeouts
Lb
Loadbalancer Timeouts Args - vip_
address str - optional string → The ip address of the load balancer. Changing this creates a new loadbalancer.
- vip_
network_ strid - optional string → 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.
- vip_
port_ strid - optional string → The port UUID that the loadbalancer will use. Changing this creates a new loadbalancer.
- vip_
subnet_ strid - optional string → 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.
- admin
State BooleanUp - optional boolean → The administrative state of the Loadbalancer. A valid value is true (UP) or false (DOWN).
- availability
Zone String - optional string → The availability zone of the Loadbalancer. Changing this creates a new loadbalancer.
- description String
- optional string → Human-readable description for the Loadbalancer.
- lb
Loadbalancer StringId - string → ID of the resource.
- name String
- optional string → Human-readable name for the Loadbalancer. Does not have to be unique.
- region String
- optional string → The region in which to obtain the Loadbalancer client. If omitted, the
region
argument of the provider is used. Changing this creates a new LB loadbalancer. - security
Group List<String>Ids - optional deprecated set of string → 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). Deprecated This argument is deprecated, please do not use it.
- List<String>
- optional set of string → A list of simple strings assigned to the loadbalancer.
- timeouts Property Map
- vip
Address String - optional string → The ip address of the load balancer. Changing this creates a new loadbalancer.
- vip
Network StringId - optional string → 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.
- vip
Port StringId - optional string → The port UUID that the loadbalancer will use. Changing this creates a new loadbalancer.
- vip
Subnet StringId - optional string → 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.
Supporting Types
LbLoadbalancerTimeouts, LbLoadbalancerTimeoutsArgs
Import
Load Balancer can be imported using the Load Balancer ID, e.g.:
$ pulumi import vkcs:index/lbLoadbalancer:LbLoadbalancer loadbalancer_1 19bcfdc7-c521-4a7e-9459-6750bd16df76
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- vkcs vk-cs/terraform-provider-vkcs
- License
- Notes
- This Pulumi package is based on the
vkcs
Terraform Provider.