VirtualServer
Create a VirtualServer Resource
new VirtualServer(name: string, args: VirtualServerArgs, opts?: CustomResourceOptions);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);func NewVirtualServer(ctx *Context, name string, args VirtualServerArgs, opts ...ResourceOption) (*VirtualServer, error)public VirtualServer(string name, VirtualServerArgs args, CustomResourceOptions? opts = null)- 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
- Client
Profiles List<string> List of client context profiles associated on the virtual server. Not mutually exclusive with profiles and server_profiles
- Default
Persistence stringProfile - Description string
Description of Virtual server
- Fallback
Persistence stringProfile Specifies a fallback persistence profile for the Virtual Server to use when the default persistence profile is not available.
- Ip
Protocol 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
- Persistence
Profiles 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.
- Server
Profiles 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.
- Source
Address stringTranslation 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
- Translate
Address 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.
- Translate
Port 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.
- Vlans
Enabled 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
- Client
Profiles []string List of client context profiles associated on the virtual server. Not mutually exclusive with profiles and server_profiles
- Default
Persistence stringProfile - Description string
Description of Virtual server
- Fallback
Persistence stringProfile Specifies a fallback persistence profile for the Virtual Server to use when the default persistence profile is not available.
- Ip
Protocol 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
- Persistence
Profiles []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.
- Server
Profiles []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.
- Source
Address stringTranslation 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
- Translate
Address 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.
- Translate
Port 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.
- Vlans
Enabled 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
- client
Profiles string[] List of client context profiles associated on the virtual server. Not mutually exclusive with profiles and server_profiles
- default
Persistence stringProfile - description string
Description of Virtual server
- fallback
Persistence stringProfile Specifies a fallback persistence profile for the Virtual Server to use when the default persistence profile is not available.
- ip
Protocol 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
- persistence
Profiles 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.
- server
Profiles 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.
- source
Address stringTranslation 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
- translate
Address 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.
- translate
Port 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.
- vlans
Enabled 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_ strprofile - description str
Description of Virtual server
- fallback_
persistence_ strprofile 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_ strtranslation 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:
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): VirtualServerstatic 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:
- Client
Profiles List<string> List of client context profiles associated on the virtual server. Not mutually exclusive with profiles and server_profiles
- Default
Persistence stringProfile - Description string
Description of Virtual server
- Destination string
Destination IP
- Fallback
Persistence stringProfile Specifies a fallback persistence profile for the Virtual Server to use when the default persistence profile is not available.
- Ip
Protocol 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
- Persistence
Profiles 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.
- Server
Profiles 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.
- Source
Address stringTranslation 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
- Translate
Address 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.
- Translate
Port 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.
- Vlans
Enabled bool Enables the virtual server on the VLANs specified by the VLANs option.
- Client
Profiles []string List of client context profiles associated on the virtual server. Not mutually exclusive with profiles and server_profiles
- Default
Persistence stringProfile - Description string
Description of Virtual server
- Destination string
Destination IP
- Fallback
Persistence stringProfile Specifies a fallback persistence profile for the Virtual Server to use when the default persistence profile is not available.
- Ip
Protocol 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
- Persistence
Profiles []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.
- Server
Profiles []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.
- Source
Address stringTranslation 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
- Translate
Address 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.
- Translate
Port 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.
- Vlans
Enabled bool Enables the virtual server on the VLANs specified by the VLANs option.
- client
Profiles string[] List of client context profiles associated on the virtual server. Not mutually exclusive with profiles and server_profiles
- default
Persistence stringProfile - description string
Description of Virtual server
- destination string
Destination IP
- fallback
Persistence stringProfile Specifies a fallback persistence profile for the Virtual Server to use when the default persistence profile is not available.
- ip
Protocol 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
- persistence
Profiles 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.
- server
Profiles 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.
- source
Address stringTranslation 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
- translate
Address 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.
- translate
Port 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.
- vlans
Enabled 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_ strprofile - description str
Description of Virtual server
- destination str
Destination IP
- fallback_
persistence_ strprofile 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_ strtranslation 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
bigipTerraform Provider.