vcd.LbVirtualServer
Explore with Pulumi AI
Create LbVirtualServer Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LbVirtualServer(name: string, args: LbVirtualServerArgs, opts?: CustomResourceOptions);
@overload
def LbVirtualServer(resource_name: str,
args: LbVirtualServerArgs,
opts: Optional[ResourceOptions] = None)
@overload
def LbVirtualServer(resource_name: str,
opts: Optional[ResourceOptions] = None,
port: Optional[float] = None,
edge_gateway: Optional[str] = None,
protocol: Optional[str] = None,
ip_address: Optional[str] = None,
lb_virtual_server_id: Optional[str] = None,
description: Optional[str] = None,
app_rule_ids: Optional[Sequence[str]] = None,
enable_acceleration: Optional[bool] = None,
connection_rate_limit: Optional[float] = None,
enabled: Optional[bool] = None,
name: Optional[str] = None,
org: Optional[str] = None,
app_profile_id: Optional[str] = None,
connection_limit: Optional[float] = None,
server_pool_id: Optional[str] = None,
vdc: Optional[str] = None)
func NewLbVirtualServer(ctx *Context, name string, args LbVirtualServerArgs, opts ...ResourceOption) (*LbVirtualServer, error)
public LbVirtualServer(string name, LbVirtualServerArgs args, CustomResourceOptions? opts = null)
public LbVirtualServer(String name, LbVirtualServerArgs args)
public LbVirtualServer(String name, LbVirtualServerArgs args, CustomResourceOptions options)
type: vcd:LbVirtualServer
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 LbVirtualServerArgs
- 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 LbVirtualServerArgs
- 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 LbVirtualServerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LbVirtualServerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LbVirtualServerArgs
- 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 lbVirtualServerResource = new Vcd.LbVirtualServer("lbVirtualServerResource", new()
{
Port = 0,
EdgeGateway = "string",
Protocol = "string",
IpAddress = "string",
LbVirtualServerId = "string",
Description = "string",
AppRuleIds = new[]
{
"string",
},
EnableAcceleration = false,
ConnectionRateLimit = 0,
Enabled = false,
Name = "string",
Org = "string",
AppProfileId = "string",
ConnectionLimit = 0,
ServerPoolId = "string",
Vdc = "string",
});
example, err := vcd.NewLbVirtualServer(ctx, "lbVirtualServerResource", &vcd.LbVirtualServerArgs{
Port: pulumi.Float64(0),
EdgeGateway: pulumi.String("string"),
Protocol: pulumi.String("string"),
IpAddress: pulumi.String("string"),
LbVirtualServerId: pulumi.String("string"),
Description: pulumi.String("string"),
AppRuleIds: pulumi.StringArray{
pulumi.String("string"),
},
EnableAcceleration: pulumi.Bool(false),
ConnectionRateLimit: pulumi.Float64(0),
Enabled: pulumi.Bool(false),
Name: pulumi.String("string"),
Org: pulumi.String("string"),
AppProfileId: pulumi.String("string"),
ConnectionLimit: pulumi.Float64(0),
ServerPoolId: pulumi.String("string"),
Vdc: pulumi.String("string"),
})
var lbVirtualServerResource = new LbVirtualServer("lbVirtualServerResource", LbVirtualServerArgs.builder()
.port(0)
.edgeGateway("string")
.protocol("string")
.ipAddress("string")
.lbVirtualServerId("string")
.description("string")
.appRuleIds("string")
.enableAcceleration(false)
.connectionRateLimit(0)
.enabled(false)
.name("string")
.org("string")
.appProfileId("string")
.connectionLimit(0)
.serverPoolId("string")
.vdc("string")
.build());
lb_virtual_server_resource = vcd.LbVirtualServer("lbVirtualServerResource",
port=0,
edge_gateway="string",
protocol="string",
ip_address="string",
lb_virtual_server_id="string",
description="string",
app_rule_ids=["string"],
enable_acceleration=False,
connection_rate_limit=0,
enabled=False,
name="string",
org="string",
app_profile_id="string",
connection_limit=0,
server_pool_id="string",
vdc="string")
const lbVirtualServerResource = new vcd.LbVirtualServer("lbVirtualServerResource", {
port: 0,
edgeGateway: "string",
protocol: "string",
ipAddress: "string",
lbVirtualServerId: "string",
description: "string",
appRuleIds: ["string"],
enableAcceleration: false,
connectionRateLimit: 0,
enabled: false,
name: "string",
org: "string",
appProfileId: "string",
connectionLimit: 0,
serverPoolId: "string",
vdc: "string",
});
type: vcd:LbVirtualServer
properties:
appProfileId: string
appRuleIds:
- string
connectionLimit: 0
connectionRateLimit: 0
description: string
edgeGateway: string
enableAcceleration: false
enabled: false
ipAddress: string
lbVirtualServerId: string
name: string
org: string
port: 0
protocol: string
serverPoolId: string
vdc: string
LbVirtualServer 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 LbVirtualServer resource accepts the following input properties:
- Edge
Gateway string - The name of the edge gateway on which the virtual server is to be created
- Ip
Address string - Set the IP address that the load balancer listens on
- Port double
- The port number that the load balancer listens on
- Protocol string
- Select the protocol that the virtual server accepts. One of
tcp
,udp
,http
, orhttps
Note: You must select the same protocol used by the selected Application Profile - App
Profile stringId - Application profile ID to be associated with the virtual server
- App
Rule List<string>Ids - List of attached application rule IDs
- Connection
Limit double - Maximum concurrent connections that the virtual server can process
- Connection
Rate doubleLimit - Maximum incoming new connection requests per second
- Description string
- Virtual server description
- Enable
Acceleration bool - Defines if the virtual server uses acceleration. Default
false
- Enabled bool
- Defines if the virtual server is enabled. Default
true
- Lb
Virtual stringServer Id - The NSX ID of the load balancer virtual server
- Name string
- Virtual server name
- Org string
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
- Server
Pool stringId - The server pool that the load balancer will use
- Vdc string
- The name of VDC to use, optional if defined at provider level
- Edge
Gateway string - The name of the edge gateway on which the virtual server is to be created
- Ip
Address string - Set the IP address that the load balancer listens on
- Port float64
- The port number that the load balancer listens on
- Protocol string
- Select the protocol that the virtual server accepts. One of
tcp
,udp
,http
, orhttps
Note: You must select the same protocol used by the selected Application Profile - App
Profile stringId - Application profile ID to be associated with the virtual server
- App
Rule []stringIds - List of attached application rule IDs
- Connection
Limit float64 - Maximum concurrent connections that the virtual server can process
- Connection
Rate float64Limit - Maximum incoming new connection requests per second
- Description string
- Virtual server description
- Enable
Acceleration bool - Defines if the virtual server uses acceleration. Default
false
- Enabled bool
- Defines if the virtual server is enabled. Default
true
- Lb
Virtual stringServer Id - The NSX ID of the load balancer virtual server
- Name string
- Virtual server name
- Org string
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
- Server
Pool stringId - The server pool that the load balancer will use
- Vdc string
- The name of VDC to use, optional if defined at provider level
- edge
Gateway String - The name of the edge gateway on which the virtual server is to be created
- ip
Address String - Set the IP address that the load balancer listens on
- port Double
- The port number that the load balancer listens on
- protocol String
- Select the protocol that the virtual server accepts. One of
tcp
,udp
,http
, orhttps
Note: You must select the same protocol used by the selected Application Profile - app
Profile StringId - Application profile ID to be associated with the virtual server
- app
Rule List<String>Ids - List of attached application rule IDs
- connection
Limit Double - Maximum concurrent connections that the virtual server can process
- connection
Rate DoubleLimit - Maximum incoming new connection requests per second
- description String
- Virtual server description
- enable
Acceleration Boolean - Defines if the virtual server uses acceleration. Default
false
- enabled Boolean
- Defines if the virtual server is enabled. Default
true
- lb
Virtual StringServer Id - The NSX ID of the load balancer virtual server
- name String
- Virtual server name
- org String
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
- server
Pool StringId - The server pool that the load balancer will use
- vdc String
- The name of VDC to use, optional if defined at provider level
- edge
Gateway string - The name of the edge gateway on which the virtual server is to be created
- ip
Address string - Set the IP address that the load balancer listens on
- port number
- The port number that the load balancer listens on
- protocol string
- Select the protocol that the virtual server accepts. One of
tcp
,udp
,http
, orhttps
Note: You must select the same protocol used by the selected Application Profile - app
Profile stringId - Application profile ID to be associated with the virtual server
- app
Rule string[]Ids - List of attached application rule IDs
- connection
Limit number - Maximum concurrent connections that the virtual server can process
- connection
Rate numberLimit - Maximum incoming new connection requests per second
- description string
- Virtual server description
- enable
Acceleration boolean - Defines if the virtual server uses acceleration. Default
false
- enabled boolean
- Defines if the virtual server is enabled. Default
true
- lb
Virtual stringServer Id - The NSX ID of the load balancer virtual server
- name string
- Virtual server name
- org string
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
- server
Pool stringId - The server pool that the load balancer will use
- vdc string
- The name of VDC to use, optional if defined at provider level
- edge_
gateway str - The name of the edge gateway on which the virtual server is to be created
- ip_
address str - Set the IP address that the load balancer listens on
- port float
- The port number that the load balancer listens on
- protocol str
- Select the protocol that the virtual server accepts. One of
tcp
,udp
,http
, orhttps
Note: You must select the same protocol used by the selected Application Profile - app_
profile_ strid - Application profile ID to be associated with the virtual server
- app_
rule_ Sequence[str]ids - List of attached application rule IDs
- connection_
limit float - Maximum concurrent connections that the virtual server can process
- connection_
rate_ floatlimit - Maximum incoming new connection requests per second
- description str
- Virtual server description
- enable_
acceleration bool - Defines if the virtual server uses acceleration. Default
false
- enabled bool
- Defines if the virtual server is enabled. Default
true
- lb_
virtual_ strserver_ id - The NSX ID of the load balancer virtual server
- name str
- Virtual server name
- org str
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
- server_
pool_ strid - The server pool that the load balancer will use
- vdc str
- The name of VDC to use, optional if defined at provider level
- edge
Gateway String - The name of the edge gateway on which the virtual server is to be created
- ip
Address String - Set the IP address that the load balancer listens on
- port Number
- The port number that the load balancer listens on
- protocol String
- Select the protocol that the virtual server accepts. One of
tcp
,udp
,http
, orhttps
Note: You must select the same protocol used by the selected Application Profile - app
Profile StringId - Application profile ID to be associated with the virtual server
- app
Rule List<String>Ids - List of attached application rule IDs
- connection
Limit Number - Maximum concurrent connections that the virtual server can process
- connection
Rate NumberLimit - Maximum incoming new connection requests per second
- description String
- Virtual server description
- enable
Acceleration Boolean - Defines if the virtual server uses acceleration. Default
false
- enabled Boolean
- Defines if the virtual server is enabled. Default
true
- lb
Virtual StringServer Id - The NSX ID of the load balancer virtual server
- name String
- Virtual server name
- org String
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
- server
Pool StringId - The server pool that the load balancer will use
- vdc String
- The name of VDC to use, optional if defined at provider level
Outputs
All input properties are implicitly available as output properties. Additionally, the LbVirtualServer 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 LbVirtualServer Resource
Get an existing LbVirtualServer 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?: LbVirtualServerState, opts?: CustomResourceOptions): LbVirtualServer
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
app_profile_id: Optional[str] = None,
app_rule_ids: Optional[Sequence[str]] = None,
connection_limit: Optional[float] = None,
connection_rate_limit: Optional[float] = None,
description: Optional[str] = None,
edge_gateway: Optional[str] = None,
enable_acceleration: Optional[bool] = None,
enabled: Optional[bool] = None,
ip_address: Optional[str] = None,
lb_virtual_server_id: Optional[str] = None,
name: Optional[str] = None,
org: Optional[str] = None,
port: Optional[float] = None,
protocol: Optional[str] = None,
server_pool_id: Optional[str] = None,
vdc: Optional[str] = None) -> LbVirtualServer
func GetLbVirtualServer(ctx *Context, name string, id IDInput, state *LbVirtualServerState, opts ...ResourceOption) (*LbVirtualServer, error)
public static LbVirtualServer Get(string name, Input<string> id, LbVirtualServerState? state, CustomResourceOptions? opts = null)
public static LbVirtualServer get(String name, Output<String> id, LbVirtualServerState state, CustomResourceOptions options)
resources: _: type: vcd:LbVirtualServer 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.
- App
Profile stringId - Application profile ID to be associated with the virtual server
- App
Rule List<string>Ids - List of attached application rule IDs
- Connection
Limit double - Maximum concurrent connections that the virtual server can process
- Connection
Rate doubleLimit - Maximum incoming new connection requests per second
- Description string
- Virtual server description
- Edge
Gateway string - The name of the edge gateway on which the virtual server is to be created
- Enable
Acceleration bool - Defines if the virtual server uses acceleration. Default
false
- Enabled bool
- Defines if the virtual server is enabled. Default
true
- Ip
Address string - Set the IP address that the load balancer listens on
- Lb
Virtual stringServer Id - The NSX ID of the load balancer virtual server
- Name string
- Virtual server name
- Org string
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
- Port double
- The port number that the load balancer listens on
- Protocol string
- Select the protocol that the virtual server accepts. One of
tcp
,udp
,http
, orhttps
Note: You must select the same protocol used by the selected Application Profile - Server
Pool stringId - The server pool that the load balancer will use
- Vdc string
- The name of VDC to use, optional if defined at provider level
- App
Profile stringId - Application profile ID to be associated with the virtual server
- App
Rule []stringIds - List of attached application rule IDs
- Connection
Limit float64 - Maximum concurrent connections that the virtual server can process
- Connection
Rate float64Limit - Maximum incoming new connection requests per second
- Description string
- Virtual server description
- Edge
Gateway string - The name of the edge gateway on which the virtual server is to be created
- Enable
Acceleration bool - Defines if the virtual server uses acceleration. Default
false
- Enabled bool
- Defines if the virtual server is enabled. Default
true
- Ip
Address string - Set the IP address that the load balancer listens on
- Lb
Virtual stringServer Id - The NSX ID of the load balancer virtual server
- Name string
- Virtual server name
- Org string
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
- Port float64
- The port number that the load balancer listens on
- Protocol string
- Select the protocol that the virtual server accepts. One of
tcp
,udp
,http
, orhttps
Note: You must select the same protocol used by the selected Application Profile - Server
Pool stringId - The server pool that the load balancer will use
- Vdc string
- The name of VDC to use, optional if defined at provider level
- app
Profile StringId - Application profile ID to be associated with the virtual server
- app
Rule List<String>Ids - List of attached application rule IDs
- connection
Limit Double - Maximum concurrent connections that the virtual server can process
- connection
Rate DoubleLimit - Maximum incoming new connection requests per second
- description String
- Virtual server description
- edge
Gateway String - The name of the edge gateway on which the virtual server is to be created
- enable
Acceleration Boolean - Defines if the virtual server uses acceleration. Default
false
- enabled Boolean
- Defines if the virtual server is enabled. Default
true
- ip
Address String - Set the IP address that the load balancer listens on
- lb
Virtual StringServer Id - The NSX ID of the load balancer virtual server
- name String
- Virtual server name
- org String
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
- port Double
- The port number that the load balancer listens on
- protocol String
- Select the protocol that the virtual server accepts. One of
tcp
,udp
,http
, orhttps
Note: You must select the same protocol used by the selected Application Profile - server
Pool StringId - The server pool that the load balancer will use
- vdc String
- The name of VDC to use, optional if defined at provider level
- app
Profile stringId - Application profile ID to be associated with the virtual server
- app
Rule string[]Ids - List of attached application rule IDs
- connection
Limit number - Maximum concurrent connections that the virtual server can process
- connection
Rate numberLimit - Maximum incoming new connection requests per second
- description string
- Virtual server description
- edge
Gateway string - The name of the edge gateway on which the virtual server is to be created
- enable
Acceleration boolean - Defines if the virtual server uses acceleration. Default
false
- enabled boolean
- Defines if the virtual server is enabled. Default
true
- ip
Address string - Set the IP address that the load balancer listens on
- lb
Virtual stringServer Id - The NSX ID of the load balancer virtual server
- name string
- Virtual server name
- org string
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
- port number
- The port number that the load balancer listens on
- protocol string
- Select the protocol that the virtual server accepts. One of
tcp
,udp
,http
, orhttps
Note: You must select the same protocol used by the selected Application Profile - server
Pool stringId - The server pool that the load balancer will use
- vdc string
- The name of VDC to use, optional if defined at provider level
- app_
profile_ strid - Application profile ID to be associated with the virtual server
- app_
rule_ Sequence[str]ids - List of attached application rule IDs
- connection_
limit float - Maximum concurrent connections that the virtual server can process
- connection_
rate_ floatlimit - Maximum incoming new connection requests per second
- description str
- Virtual server description
- edge_
gateway str - The name of the edge gateway on which the virtual server is to be created
- enable_
acceleration bool - Defines if the virtual server uses acceleration. Default
false
- enabled bool
- Defines if the virtual server is enabled. Default
true
- ip_
address str - Set the IP address that the load balancer listens on
- lb_
virtual_ strserver_ id - The NSX ID of the load balancer virtual server
- name str
- Virtual server name
- org str
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
- port float
- The port number that the load balancer listens on
- protocol str
- Select the protocol that the virtual server accepts. One of
tcp
,udp
,http
, orhttps
Note: You must select the same protocol used by the selected Application Profile - server_
pool_ strid - The server pool that the load balancer will use
- vdc str
- The name of VDC to use, optional if defined at provider level
- app
Profile StringId - Application profile ID to be associated with the virtual server
- app
Rule List<String>Ids - List of attached application rule IDs
- connection
Limit Number - Maximum concurrent connections that the virtual server can process
- connection
Rate NumberLimit - Maximum incoming new connection requests per second
- description String
- Virtual server description
- edge
Gateway String - The name of the edge gateway on which the virtual server is to be created
- enable
Acceleration Boolean - Defines if the virtual server uses acceleration. Default
false
- enabled Boolean
- Defines if the virtual server is enabled. Default
true
- ip
Address String - Set the IP address that the load balancer listens on
- lb
Virtual StringServer Id - The NSX ID of the load balancer virtual server
- name String
- Virtual server name
- org String
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
- port Number
- The port number that the load balancer listens on
- protocol String
- Select the protocol that the virtual server accepts. One of
tcp
,udp
,http
, orhttps
Note: You must select the same protocol used by the selected Application Profile - server
Pool StringId - The server pool that the load balancer will use
- vdc String
- The name of VDC to use, optional if defined at provider level
Package Details
- Repository
- vcd vmware/terraform-provider-vcd
- License
- Notes
- This Pulumi package is based on the
vcd
Terraform Provider.