VirtualServer

Create a VirtualServer Resource

def VirtualServer(resource_name, opts=None, client_profiles=None, default_persistence_profile=None, description=None, destination=None, fallback_persistence_profile=None, ip_protocol=None, irules=None, mask=None, name=None, persistence_profiles=None, policies=None, pool=None, port=None, profiles=None, server_profiles=None, snatpool=None, source=None, source_address_translation=None, state=None, translate_address=None, translate_port=None, vlans=None, vlans_enabled=None, __props__=None);
name string
The unique name of the resource.
args VirtualServerArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args VirtualServerArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args VirtualServerArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

VirtualServer Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The VirtualServer resource accepts the following input properties:

Destination string

Destination IP

Name string

Name of the virtual server

Port int

Listen port for the virtual server

ClientProfiles List<string>

List of client context profiles associated on the virtual server. Not mutually exclusive with profiles and server_profiles

DefaultPersistenceProfile string
Description string

Description of Virtual server

FallbackPersistenceProfile string

Specifies a fallback persistence profile for the Virtual Server to use when the default persistence profile is not available.

IpProtocol string

Specify the IP protocol to use with the the virtual server (all, tcp, or udp are valid)

Irules List<string>

The iRules list you want run on this virtual server. iRules help automate the intercepting, processing, and routing of application traffic.

Mask string

Mask can either be in CIDR notation or decimal, i.e.: 24 or 255.255.255.0. A CIDR mask of 0 is the same as 0.0.0.0

PersistenceProfiles List<string>

List of persistence profiles associated with the Virtual Server.

Policies List<string>
Pool string

Default pool name

Profiles List<string>

List of profiles associated both client and server contexts on the virtual server. This includes protocol, ssl, http, etc.

ServerProfiles List<string>

List of server context profiles associated on the virtual server. Not mutually exclusive with profiles and client_profiles

Snatpool string

Specifies the name of an existing SNAT pool that you want the virtual server to use to implement selective and intelligent SNATs. DEPRECATED - see Virtual Server Property Groups source-address-translation

Source string

Specifies an IP address or network from which the virtual server will accept traffic.

SourceAddressTranslation string

Can be either omitted for none or the values automap or snat

State string

Specifies whether the virtual server and its resources are available for load balancing. The default is Enabled

TranslateAddress string

Enables or disables address translation for the virtual server. Turn address translation off for a virtual server if you want to use the virtual server to load balance connections to any address. This option is useful when the system is load balancing devices that have the same IP address.

TranslatePort string

Enables or disables port translation. Turn port translation off for a virtual server if you want to use the virtual server to load balance connections to any service

Vlans List<string>

The virtual server is enabled/disabled on this set of VLANs. See vlans-disabled and vlans-enabled.

VlansEnabled bool

Enables the virtual server on the VLANs specified by the VLANs option.

Destination string

Destination IP

Name string

Name of the virtual server

Port int

Listen port for the virtual server

ClientProfiles []string

List of client context profiles associated on the virtual server. Not mutually exclusive with profiles and server_profiles

DefaultPersistenceProfile string
Description string

Description of Virtual server

FallbackPersistenceProfile string

Specifies a fallback persistence profile for the Virtual Server to use when the default persistence profile is not available.

IpProtocol string

Specify the IP protocol to use with the the virtual server (all, tcp, or udp are valid)

Irules []string

The iRules list you want run on this virtual server. iRules help automate the intercepting, processing, and routing of application traffic.

Mask string

Mask can either be in CIDR notation or decimal, i.e.: 24 or 255.255.255.0. A CIDR mask of 0 is the same as 0.0.0.0

PersistenceProfiles []string

List of persistence profiles associated with the Virtual Server.

Policies []string
Pool string

Default pool name

Profiles []string

List of profiles associated both client and server contexts on the virtual server. This includes protocol, ssl, http, etc.

ServerProfiles []string

List of server context profiles associated on the virtual server. Not mutually exclusive with profiles and client_profiles

Snatpool string

Specifies the name of an existing SNAT pool that you want the virtual server to use to implement selective and intelligent SNATs. DEPRECATED - see Virtual Server Property Groups source-address-translation

Source string

Specifies an IP address or network from which the virtual server will accept traffic.

SourceAddressTranslation string

Can be either omitted for none or the values automap or snat

State string

Specifies whether the virtual server and its resources are available for load balancing. The default is Enabled

TranslateAddress string

Enables or disables address translation for the virtual server. Turn address translation off for a virtual server if you want to use the virtual server to load balance connections to any address. This option is useful when the system is load balancing devices that have the same IP address.

TranslatePort string

Enables or disables port translation. Turn port translation off for a virtual server if you want to use the virtual server to load balance connections to any service

Vlans []string

The virtual server is enabled/disabled on this set of VLANs. See vlans-disabled and vlans-enabled.

VlansEnabled bool

Enables the virtual server on the VLANs specified by the VLANs option.

destination string

Destination IP

name string

Name of the virtual server

port number

Listen port for the virtual server

clientProfiles string[]

List of client context profiles associated on the virtual server. Not mutually exclusive with profiles and server_profiles

defaultPersistenceProfile string
description string

Description of Virtual server

fallbackPersistenceProfile string

Specifies a fallback persistence profile for the Virtual Server to use when the default persistence profile is not available.

ipProtocol string

Specify the IP protocol to use with the the virtual server (all, tcp, or udp are valid)

irules string[]

The iRules list you want run on this virtual server. iRules help automate the intercepting, processing, and routing of application traffic.

mask string

Mask can either be in CIDR notation or decimal, i.e.: 24 or 255.255.255.0. A CIDR mask of 0 is the same as 0.0.0.0

persistenceProfiles string[]

List of persistence profiles associated with the Virtual Server.

policies string[]
pool string

Default pool name

profiles string[]

List of profiles associated both client and server contexts on the virtual server. This includes protocol, ssl, http, etc.

serverProfiles string[]

List of server context profiles associated on the virtual server. Not mutually exclusive with profiles and client_profiles

snatpool string

Specifies the name of an existing SNAT pool that you want the virtual server to use to implement selective and intelligent SNATs. DEPRECATED - see Virtual Server Property Groups source-address-translation

source string

Specifies an IP address or network from which the virtual server will accept traffic.

sourceAddressTranslation string

Can be either omitted for none or the values automap or snat

state string

Specifies whether the virtual server and its resources are available for load balancing. The default is Enabled

translateAddress string

Enables or disables address translation for the virtual server. Turn address translation off for a virtual server if you want to use the virtual server to load balance connections to any address. This option is useful when the system is load balancing devices that have the same IP address.

translatePort string

Enables or disables port translation. Turn port translation off for a virtual server if you want to use the virtual server to load balance connections to any service

vlans string[]

The virtual server is enabled/disabled on this set of VLANs. See vlans-disabled and vlans-enabled.

vlansEnabled boolean

Enables the virtual server on the VLANs specified by the VLANs option.

destination str

Destination IP

name str

Name of the virtual server

port float

Listen port for the virtual server

client_profiles List[str]

List of client context profiles associated on the virtual server. Not mutually exclusive with profiles and server_profiles

default_persistence_profile str
description str

Description of Virtual server

fallback_persistence_profile str

Specifies a fallback persistence profile for the Virtual Server to use when the default persistence profile is not available.

ip_protocol str

Specify the IP protocol to use with the the virtual server (all, tcp, or udp are valid)

irules List[str]

The iRules list you want run on this virtual server. iRules help automate the intercepting, processing, and routing of application traffic.

mask str

Mask can either be in CIDR notation or decimal, i.e.: 24 or 255.255.255.0. A CIDR mask of 0 is the same as 0.0.0.0

persistence_profiles List[str]

List of persistence profiles associated with the Virtual Server.

policies List[str]
pool str

Default pool name

profiles List[str]

List of profiles associated both client and server contexts on the virtual server. This includes protocol, ssl, http, etc.

server_profiles List[str]

List of server context profiles associated on the virtual server. Not mutually exclusive with profiles and client_profiles

snatpool str

Specifies the name of an existing SNAT pool that you want the virtual server to use to implement selective and intelligent SNATs. DEPRECATED - see Virtual Server Property Groups source-address-translation

source str

Specifies an IP address or network from which the virtual server will accept traffic.

source_address_translation str

Can be either omitted for none or the values automap or snat

state str

Specifies whether the virtual server and its resources are available for load balancing. The default is Enabled

translate_address str

Enables or disables address translation for the virtual server. Turn address translation off for a virtual server if you want to use the virtual server to load balance connections to any address. This option is useful when the system is load balancing devices that have the same IP address.

translate_port str

Enables or disables port translation. Turn port translation off for a virtual server if you want to use the virtual server to load balance connections to any service

vlans List[str]

The virtual server is enabled/disabled on this set of VLANs. See vlans-disabled and vlans-enabled.

vlans_enabled bool

Enables the virtual server on the VLANs specified by the VLANs option.

Outputs

All input properties are implicitly available as output properties. Additionally, the VirtualServer 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 str
The provider-assigned unique ID for this managed resource.

Look up an Existing VirtualServer Resource

Get an existing VirtualServer 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?: VirtualServerState, opts?: CustomResourceOptions): VirtualServer
static get(resource_name, id, opts=None, client_profiles=None, default_persistence_profile=None, description=None, destination=None, fallback_persistence_profile=None, ip_protocol=None, irules=None, mask=None, name=None, persistence_profiles=None, policies=None, pool=None, port=None, profiles=None, server_profiles=None, snatpool=None, source=None, source_address_translation=None, state=None, translate_address=None, translate_port=None, vlans=None, vlans_enabled=None, __props__=None);
func GetVirtualServer(ctx *Context, name string, id IDInput, state *VirtualServerState, opts ...ResourceOption) (*VirtualServer, error)
public static VirtualServer Get(string name, Input<string> id, VirtualServerState? state, CustomResourceOptions? opts = null)
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.

The following state arguments are supported:

ClientProfiles List<string>

List of client context profiles associated on the virtual server. Not mutually exclusive with profiles and server_profiles

DefaultPersistenceProfile string
Description string

Description of Virtual server

Destination string

Destination IP

FallbackPersistenceProfile string

Specifies a fallback persistence profile for the Virtual Server to use when the default persistence profile is not available.

IpProtocol string

Specify the IP protocol to use with the the virtual server (all, tcp, or udp are valid)

Irules List<string>

The iRules list you want run on this virtual server. iRules help automate the intercepting, processing, and routing of application traffic.

Mask string

Mask can either be in CIDR notation or decimal, i.e.: 24 or 255.255.255.0. A CIDR mask of 0 is the same as 0.0.0.0

Name string

Name of the virtual server

PersistenceProfiles List<string>

List of persistence profiles associated with the Virtual Server.

Policies List<string>
Pool string

Default pool name

Port int

Listen port for the virtual server

Profiles List<string>

List of profiles associated both client and server contexts on the virtual server. This includes protocol, ssl, http, etc.

ServerProfiles List<string>

List of server context profiles associated on the virtual server. Not mutually exclusive with profiles and client_profiles

Snatpool string

Specifies the name of an existing SNAT pool that you want the virtual server to use to implement selective and intelligent SNATs. DEPRECATED - see Virtual Server Property Groups source-address-translation

Source string

Specifies an IP address or network from which the virtual server will accept traffic.

SourceAddressTranslation string

Can be either omitted for none or the values automap or snat

State string

Specifies whether the virtual server and its resources are available for load balancing. The default is Enabled

TranslateAddress string

Enables or disables address translation for the virtual server. Turn address translation off for a virtual server if you want to use the virtual server to load balance connections to any address. This option is useful when the system is load balancing devices that have the same IP address.

TranslatePort string

Enables or disables port translation. Turn port translation off for a virtual server if you want to use the virtual server to load balance connections to any service

Vlans List<string>

The virtual server is enabled/disabled on this set of VLANs. See vlans-disabled and vlans-enabled.

VlansEnabled bool

Enables the virtual server on the VLANs specified by the VLANs option.

ClientProfiles []string

List of client context profiles associated on the virtual server. Not mutually exclusive with profiles and server_profiles

DefaultPersistenceProfile string
Description string

Description of Virtual server

Destination string

Destination IP

FallbackPersistenceProfile string

Specifies a fallback persistence profile for the Virtual Server to use when the default persistence profile is not available.

IpProtocol string

Specify the IP protocol to use with the the virtual server (all, tcp, or udp are valid)

Irules []string

The iRules list you want run on this virtual server. iRules help automate the intercepting, processing, and routing of application traffic.

Mask string

Mask can either be in CIDR notation or decimal, i.e.: 24 or 255.255.255.0. A CIDR mask of 0 is the same as 0.0.0.0

Name string

Name of the virtual server

PersistenceProfiles []string

List of persistence profiles associated with the Virtual Server.

Policies []string
Pool string

Default pool name

Port int

Listen port for the virtual server

Profiles []string

List of profiles associated both client and server contexts on the virtual server. This includes protocol, ssl, http, etc.

ServerProfiles []string

List of server context profiles associated on the virtual server. Not mutually exclusive with profiles and client_profiles

Snatpool string

Specifies the name of an existing SNAT pool that you want the virtual server to use to implement selective and intelligent SNATs. DEPRECATED - see Virtual Server Property Groups source-address-translation

Source string

Specifies an IP address or network from which the virtual server will accept traffic.

SourceAddressTranslation string

Can be either omitted for none or the values automap or snat

State string

Specifies whether the virtual server and its resources are available for load balancing. The default is Enabled

TranslateAddress string

Enables or disables address translation for the virtual server. Turn address translation off for a virtual server if you want to use the virtual server to load balance connections to any address. This option is useful when the system is load balancing devices that have the same IP address.

TranslatePort string

Enables or disables port translation. Turn port translation off for a virtual server if you want to use the virtual server to load balance connections to any service

Vlans []string

The virtual server is enabled/disabled on this set of VLANs. See vlans-disabled and vlans-enabled.

VlansEnabled bool

Enables the virtual server on the VLANs specified by the VLANs option.

clientProfiles string[]

List of client context profiles associated on the virtual server. Not mutually exclusive with profiles and server_profiles

defaultPersistenceProfile string
description string

Description of Virtual server

destination string

Destination IP

fallbackPersistenceProfile string

Specifies a fallback persistence profile for the Virtual Server to use when the default persistence profile is not available.

ipProtocol string

Specify the IP protocol to use with the the virtual server (all, tcp, or udp are valid)

irules string[]

The iRules list you want run on this virtual server. iRules help automate the intercepting, processing, and routing of application traffic.

mask string

Mask can either be in CIDR notation or decimal, i.e.: 24 or 255.255.255.0. A CIDR mask of 0 is the same as 0.0.0.0

name string

Name of the virtual server

persistenceProfiles string[]

List of persistence profiles associated with the Virtual Server.

policies string[]
pool string

Default pool name

port number

Listen port for the virtual server

profiles string[]

List of profiles associated both client and server contexts on the virtual server. This includes protocol, ssl, http, etc.

serverProfiles string[]

List of server context profiles associated on the virtual server. Not mutually exclusive with profiles and client_profiles

snatpool string

Specifies the name of an existing SNAT pool that you want the virtual server to use to implement selective and intelligent SNATs. DEPRECATED - see Virtual Server Property Groups source-address-translation

source string

Specifies an IP address or network from which the virtual server will accept traffic.

sourceAddressTranslation string

Can be either omitted for none or the values automap or snat

state string

Specifies whether the virtual server and its resources are available for load balancing. The default is Enabled

translateAddress string

Enables or disables address translation for the virtual server. Turn address translation off for a virtual server if you want to use the virtual server to load balance connections to any address. This option is useful when the system is load balancing devices that have the same IP address.

translatePort string

Enables or disables port translation. Turn port translation off for a virtual server if you want to use the virtual server to load balance connections to any service

vlans string[]

The virtual server is enabled/disabled on this set of VLANs. See vlans-disabled and vlans-enabled.

vlansEnabled boolean

Enables the virtual server on the VLANs specified by the VLANs option.

client_profiles List[str]

List of client context profiles associated on the virtual server. Not mutually exclusive with profiles and server_profiles

default_persistence_profile str
description str

Description of Virtual server

destination str

Destination IP

fallback_persistence_profile str

Specifies a fallback persistence profile for the Virtual Server to use when the default persistence profile is not available.

ip_protocol str

Specify the IP protocol to use with the the virtual server (all, tcp, or udp are valid)

irules List[str]

The iRules list you want run on this virtual server. iRules help automate the intercepting, processing, and routing of application traffic.

mask str

Mask can either be in CIDR notation or decimal, i.e.: 24 or 255.255.255.0. A CIDR mask of 0 is the same as 0.0.0.0

name str

Name of the virtual server

persistence_profiles List[str]

List of persistence profiles associated with the Virtual Server.

policies List[str]
pool str

Default pool name

port float

Listen port for the virtual server

profiles List[str]

List of profiles associated both client and server contexts on the virtual server. This includes protocol, ssl, http, etc.

server_profiles List[str]

List of server context profiles associated on the virtual server. Not mutually exclusive with profiles and client_profiles

snatpool str

Specifies the name of an existing SNAT pool that you want the virtual server to use to implement selective and intelligent SNATs. DEPRECATED - see Virtual Server Property Groups source-address-translation

source str

Specifies an IP address or network from which the virtual server will accept traffic.

source_address_translation str

Can be either omitted for none or the values automap or snat

state str

Specifies whether the virtual server and its resources are available for load balancing. The default is Enabled

translate_address str

Enables or disables address translation for the virtual server. Turn address translation off for a virtual server if you want to use the virtual server to load balance connections to any address. This option is useful when the system is load balancing devices that have the same IP address.

translate_port str

Enables or disables port translation. Turn port translation off for a virtual server if you want to use the virtual server to load balance connections to any service

vlans List[str]

The virtual server is enabled/disabled on this set of VLANs. See vlans-disabled and vlans-enabled.

vlans_enabled bool

Enables the virtual server on the VLANs specified by the VLANs option.

Package Details

Repository
https://github.com/pulumi/pulumi-f5bigip
License
Apache-2.0
Notes
This Pulumi package is based on the bigip Terraform Provider.