1. Packages
  2. F5 BIG-IP
  3. API Docs
  4. ltm
  5. VirtualServer
f5 BIG-IP v3.17.0 published on Thursday, Mar 28, 2024 by Pulumi

f5bigip.ltm.VirtualServer

Explore with Pulumi AI

f5bigip logo
f5 BIG-IP v3.17.0 published on Thursday, Mar 28, 2024 by Pulumi

    f5bigip.ltm.VirtualServer Configures Virtual Server

    For resources should be named with their full path. The full path is the combination of the partition + name of the resource (example: /Common/test-virtualserver ) or partition + directory + name of the resource (example: /Common/test/test-virtualserver ). When including directory in fullpath we have to make sure it is created in the given partition before using it.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as f5bigip from "@pulumi/f5bigip";
    
    const http = new f5bigip.ltm.VirtualServer("http", {
        name: "/Common/terraform_vs_http",
        destination: "10.12.12.12",
        port: 80,
        pool: "/Common/the-default-pool",
    });
    // A Virtual server with SSL enabled
    const httpsVirtualServer = new f5bigip.ltm.VirtualServer("httpsVirtualServer", {
        name: "/Common/terraform_vs_https",
        destination: _var.vip_ip,
        description: "VirtualServer-test",
        port: 443,
        pool: _var.pool,
        profiles: [
            "/Common/tcp",
            "/Common/my-awesome-ssl-cert",
            "/Common/http",
        ],
        sourceAddressTranslation: "automap",
        translateAddress: "enabled",
        translatePort: "enabled",
    });
    // A Virtual server with separate client and server profiles
    const httpsLtm_virtualServerVirtualServer = new f5bigip.ltm.VirtualServer("httpsLtm/virtualServerVirtualServer", {
        name: "/Common/terraform_vs_https",
        destination: "10.255.255.254",
        description: "VirtualServer-test",
        port: 443,
        clientProfiles: ["/Common/clientssl"],
        serverProfiles: ["/Common/serverssl"],
        securityLogProfiles: ["/Common/global-network"],
        sourceAddressTranslation: "automap",
    });
    
    import pulumi
    import pulumi_f5bigip as f5bigip
    
    http = f5bigip.ltm.VirtualServer("http",
        name="/Common/terraform_vs_http",
        destination="10.12.12.12",
        port=80,
        pool="/Common/the-default-pool")
    # A Virtual server with SSL enabled
    https_virtual_server = f5bigip.ltm.VirtualServer("httpsVirtualServer",
        name="/Common/terraform_vs_https",
        destination=var["vip_ip"],
        description="VirtualServer-test",
        port=443,
        pool=var["pool"],
        profiles=[
            "/Common/tcp",
            "/Common/my-awesome-ssl-cert",
            "/Common/http",
        ],
        source_address_translation="automap",
        translate_address="enabled",
        translate_port="enabled")
    # A Virtual server with separate client and server profiles
    https_ltm_virtual_server_virtual_server = f5bigip.ltm.VirtualServer("httpsLtm/virtualServerVirtualServer",
        name="/Common/terraform_vs_https",
        destination="10.255.255.254",
        description="VirtualServer-test",
        port=443,
        client_profiles=["/Common/clientssl"],
        server_profiles=["/Common/serverssl"],
        security_log_profiles=["/Common/global-network"],
        source_address_translation="automap")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-f5bigip/sdk/v3/go/f5bigip/ltm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ltm.NewVirtualServer(ctx, "http", &ltm.VirtualServerArgs{
    			Name:        pulumi.String("/Common/terraform_vs_http"),
    			Destination: pulumi.String("10.12.12.12"),
    			Port:        pulumi.Int(80),
    			Pool:        pulumi.String("/Common/the-default-pool"),
    		})
    		if err != nil {
    			return err
    		}
    		// A Virtual server with SSL enabled
    		_, err = ltm.NewVirtualServer(ctx, "httpsVirtualServer", &ltm.VirtualServerArgs{
    			Name:        pulumi.String("/Common/terraform_vs_https"),
    			Destination: pulumi.Any(_var.Vip_ip),
    			Description: pulumi.String("VirtualServer-test"),
    			Port:        pulumi.Int(443),
    			Pool:        pulumi.Any(_var.Pool),
    			Profiles: pulumi.StringArray{
    				pulumi.String("/Common/tcp"),
    				pulumi.String("/Common/my-awesome-ssl-cert"),
    				pulumi.String("/Common/http"),
    			},
    			SourceAddressTranslation: pulumi.String("automap"),
    			TranslateAddress:         pulumi.String("enabled"),
    			TranslatePort:            pulumi.String("enabled"),
    		})
    		if err != nil {
    			return err
    		}
    		// A Virtual server with separate client and server profiles
    		_, err = ltm.NewVirtualServer(ctx, "httpsLtm/virtualServerVirtualServer", &ltm.VirtualServerArgs{
    			Name:        pulumi.String("/Common/terraform_vs_https"),
    			Destination: pulumi.String("10.255.255.254"),
    			Description: pulumi.String("VirtualServer-test"),
    			Port:        pulumi.Int(443),
    			ClientProfiles: pulumi.StringArray{
    				pulumi.String("/Common/clientssl"),
    			},
    			ServerProfiles: pulumi.StringArray{
    				pulumi.String("/Common/serverssl"),
    			},
    			SecurityLogProfiles: pulumi.StringArray{
    				pulumi.String("/Common/global-network"),
    			},
    			SourceAddressTranslation: pulumi.String("automap"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using F5BigIP = Pulumi.F5BigIP;
    
    return await Deployment.RunAsync(() => 
    {
        var http = new F5BigIP.Ltm.VirtualServer("http", new()
        {
            Name = "/Common/terraform_vs_http",
            Destination = "10.12.12.12",
            Port = 80,
            Pool = "/Common/the-default-pool",
        });
    
        // A Virtual server with SSL enabled
        var httpsVirtualServer = new F5BigIP.Ltm.VirtualServer("httpsVirtualServer", new()
        {
            Name = "/Common/terraform_vs_https",
            Destination = @var.Vip_ip,
            Description = "VirtualServer-test",
            Port = 443,
            Pool = @var.Pool,
            Profiles = new[]
            {
                "/Common/tcp",
                "/Common/my-awesome-ssl-cert",
                "/Common/http",
            },
            SourceAddressTranslation = "automap",
            TranslateAddress = "enabled",
            TranslatePort = "enabled",
        });
    
        // A Virtual server with separate client and server profiles
        var httpsLtm_virtualServerVirtualServer = new F5BigIP.Ltm.VirtualServer("httpsLtm/virtualServerVirtualServer", new()
        {
            Name = "/Common/terraform_vs_https",
            Destination = "10.255.255.254",
            Description = "VirtualServer-test",
            Port = 443,
            ClientProfiles = new[]
            {
                "/Common/clientssl",
            },
            ServerProfiles = new[]
            {
                "/Common/serverssl",
            },
            SecurityLogProfiles = new[]
            {
                "/Common/global-network",
            },
            SourceAddressTranslation = "automap",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.f5bigip.ltm.VirtualServer;
    import com.pulumi.f5bigip.ltm.VirtualServerArgs;
    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 http = new VirtualServer("http", VirtualServerArgs.builder()        
                .name("/Common/terraform_vs_http")
                .destination("10.12.12.12")
                .port(80)
                .pool("/Common/the-default-pool")
                .build());
    
            var httpsVirtualServer = new VirtualServer("httpsVirtualServer", VirtualServerArgs.builder()        
                .name("/Common/terraform_vs_https")
                .destination(var_.vip_ip())
                .description("VirtualServer-test")
                .port(443)
                .pool(var_.pool())
                .profiles(            
                    "/Common/tcp",
                    "/Common/my-awesome-ssl-cert",
                    "/Common/http")
                .sourceAddressTranslation("automap")
                .translateAddress("enabled")
                .translatePort("enabled")
                .build());
    
            var httpsLtm_virtualServerVirtualServer = new VirtualServer("httpsLtm/virtualServerVirtualServer", VirtualServerArgs.builder()        
                .name("/Common/terraform_vs_https")
                .destination("10.255.255.254")
                .description("VirtualServer-test")
                .port(443)
                .clientProfiles("/Common/clientssl")
                .serverProfiles("/Common/serverssl")
                .securityLogProfiles("/Common/global-network")
                .sourceAddressTranslation("automap")
                .build());
    
        }
    }
    
    resources:
      http:
        type: f5bigip:ltm:VirtualServer
        properties:
          name: /Common/terraform_vs_http
          destination: 10.12.12.12
          port: 80
          pool: /Common/the-default-pool
      # A Virtual server with SSL enabled
      httpsVirtualServer:
        type: f5bigip:ltm:VirtualServer
        properties:
          name: /Common/terraform_vs_https
          destination: ${var.vip_ip}
          description: VirtualServer-test
          port: 443
          pool: ${var.pool}
          profiles:
            - /Common/tcp
            - /Common/my-awesome-ssl-cert
            - /Common/http
          sourceAddressTranslation: automap
          translateAddress: enabled
          translatePort: enabled
      # A Virtual server with separate client and server profiles
      httpsLtm/virtualServerVirtualServer:
        type: f5bigip:ltm:VirtualServer
        properties:
          name: /Common/terraform_vs_https
          destination: 10.255.255.254
          description: VirtualServer-test
          port: 443
          clientProfiles:
            - /Common/clientssl
          serverProfiles:
            - /Common/serverssl
          securityLogProfiles:
            - /Common/global-network
          sourceAddressTranslation: automap
    

    Create VirtualServer Resource

    new VirtualServer(name: string, args: VirtualServerArgs, opts?: CustomResourceOptions);
    @overload
    def VirtualServer(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      client_profiles: Optional[Sequence[str]] = None,
                      default_persistence_profile: Optional[str] = None,
                      description: Optional[str] = None,
                      destination: Optional[str] = None,
                      fallback_persistence_profile: Optional[str] = None,
                      firewall_enforced_policy: Optional[str] = None,
                      ip_protocol: Optional[str] = None,
                      irules: Optional[Sequence[str]] = None,
                      mask: Optional[str] = None,
                      name: Optional[str] = None,
                      per_flow_request_access_policy: Optional[str] = None,
                      persistence_profiles: Optional[Sequence[str]] = None,
                      policies: Optional[Sequence[str]] = None,
                      pool: Optional[str] = None,
                      port: Optional[int] = None,
                      profiles: Optional[Sequence[str]] = None,
                      security_log_profiles: Optional[Sequence[str]] = None,
                      server_profiles: Optional[Sequence[str]] = None,
                      snatpool: Optional[str] = None,
                      source: Optional[str] = None,
                      source_address_translation: Optional[str] = None,
                      source_port: Optional[str] = None,
                      state: Optional[str] = None,
                      trafficmatching_criteria: Optional[str] = None,
                      translate_address: Optional[str] = None,
                      translate_port: Optional[str] = None,
                      vlans: Optional[Sequence[str]] = None,
                      vlans_enabled: Optional[bool] = None)
    @overload
    def VirtualServer(resource_name: str,
                      args: VirtualServerArgs,
                      opts: Optional[ResourceOptions] = None)
    func NewVirtualServer(ctx *Context, name string, args VirtualServerArgs, opts ...ResourceOption) (*VirtualServer, error)
    public VirtualServer(string name, VirtualServerArgs args, CustomResourceOptions? opts = null)
    public VirtualServer(String name, VirtualServerArgs args)
    public VirtualServer(String name, VirtualServerArgs args, CustomResourceOptions options)
    
    type: f5bigip:ltm:VirtualServer
    properties: # The arguments to resource properties.
    options: # 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.
    resource_name str
    The unique name of the resource.
    args VirtualServerArgs
    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 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.
    name String
    The unique name of the resource.
    args VirtualServerArgs
    The arguments to resource properties.
    options 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 Architecture and Concepts docs.

    Inputs

    The VirtualServer resource accepts the following input properties:

    Name string
    Name of 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
    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.
    FirewallEnforcedPolicy string
    Applies the specified AFM policy to the virtual in an enforcing way,when creating a new virtual, if this parameter is not specified, the enforced is disabled.This should be in full path ex: /Common/afm-test-policy.
    IpProtocol string
    Specifies a network protocol name you want the system to use to direct traffic on this virtual server. The default is tcp. valid options are [any,udp,tcp]
    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
    PerFlowRequestAccessPolicy string
    PersistenceProfiles List<string>
    List of persistence profiles associated with the Virtual Server.
    Policies List<string>
    Specifies the policies for the virtual server.
    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.
    SecurityLogProfiles List<string>
    Specifies the log profile applied to the virtual server.
    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.
    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 options : [snat,automap,none].
    SourcePort string
    Specifies whether the system preserves the source port of the connection. The default is preserve.
    State string
    Specifies whether the virtual server and its resources are available for load balancing. The default is Enabled
    TrafficmatchingCriteria string
    Specifies destination traffic matching information to which the virtual server sends traffic
    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,enable/disabled will be desided by attribute vlan_enabled
    VlansEnabled bool
    Enables the virtual server on the VLANs specified by the vlans option. By default it is false i.e vlanDisabled on specified vlans, if we want enable virtual server on VLANs specified by vlans, mark this attribute to true.
    Name string
    Name of 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
    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.
    FirewallEnforcedPolicy string
    Applies the specified AFM policy to the virtual in an enforcing way,when creating a new virtual, if this parameter is not specified, the enforced is disabled.This should be in full path ex: /Common/afm-test-policy.
    IpProtocol string
    Specifies a network protocol name you want the system to use to direct traffic on this virtual server. The default is tcp. valid options are [any,udp,tcp]
    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
    PerFlowRequestAccessPolicy string
    PersistenceProfiles []string
    List of persistence profiles associated with the Virtual Server.
    Policies []string
    Specifies the policies for the virtual server.
    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.
    SecurityLogProfiles []string
    Specifies the log profile applied to the virtual server.
    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.
    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 options : [snat,automap,none].
    SourcePort string
    Specifies whether the system preserves the source port of the connection. The default is preserve.
    State string
    Specifies whether the virtual server and its resources are available for load balancing. The default is Enabled
    TrafficmatchingCriteria string
    Specifies destination traffic matching information to which the virtual server sends traffic
    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,enable/disabled will be desided by attribute vlan_enabled
    VlansEnabled bool
    Enables the virtual server on the VLANs specified by the vlans option. By default it is false i.e vlanDisabled on specified vlans, if we want enable virtual server on VLANs specified by vlans, mark this attribute to true.
    name String
    Name of 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
    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.
    firewallEnforcedPolicy String
    Applies the specified AFM policy to the virtual in an enforcing way,when creating a new virtual, if this parameter is not specified, the enforced is disabled.This should be in full path ex: /Common/afm-test-policy.
    ipProtocol String
    Specifies a network protocol name you want the system to use to direct traffic on this virtual server. The default is tcp. valid options are [any,udp,tcp]
    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
    perFlowRequestAccessPolicy String
    persistenceProfiles List<String>
    List of persistence profiles associated with the Virtual Server.
    policies List<String>
    Specifies the policies for the virtual server.
    pool String
    Default pool name
    port Integer
    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.
    securityLogProfiles List<String>
    Specifies the log profile applied to the virtual server.
    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.
    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 options : [snat,automap,none].
    sourcePort String
    Specifies whether the system preserves the source port of the connection. The default is preserve.
    state String
    Specifies whether the virtual server and its resources are available for load balancing. The default is Enabled
    trafficmatchingCriteria String
    Specifies destination traffic matching information to which the virtual server sends traffic
    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,enable/disabled will be desided by attribute vlan_enabled
    vlansEnabled Boolean
    Enables the virtual server on the VLANs specified by the vlans option. By default it is false i.e vlanDisabled on specified vlans, if we want enable virtual server on VLANs specified by vlans, mark this attribute to true.
    name string
    Name of 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
    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.
    firewallEnforcedPolicy string
    Applies the specified AFM policy to the virtual in an enforcing way,when creating a new virtual, if this parameter is not specified, the enforced is disabled.This should be in full path ex: /Common/afm-test-policy.
    ipProtocol string
    Specifies a network protocol name you want the system to use to direct traffic on this virtual server. The default is tcp. valid options are [any,udp,tcp]
    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
    perFlowRequestAccessPolicy string
    persistenceProfiles string[]
    List of persistence profiles associated with the Virtual Server.
    policies string[]
    Specifies the policies for the virtual server.
    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.
    securityLogProfiles string[]
    Specifies the log profile applied to the virtual server.
    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.
    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 options : [snat,automap,none].
    sourcePort string
    Specifies whether the system preserves the source port of the connection. The default is preserve.
    state string
    Specifies whether the virtual server and its resources are available for load balancing. The default is Enabled
    trafficmatchingCriteria string
    Specifies destination traffic matching information to which the virtual server sends traffic
    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,enable/disabled will be desided by attribute vlan_enabled
    vlansEnabled boolean
    Enables the virtual server on the VLANs specified by the vlans option. By default it is false i.e vlanDisabled on specified vlans, if we want enable virtual server on VLANs specified by vlans, mark this attribute to true.
    name str
    Name of the virtual server
    client_profiles Sequence[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.
    firewall_enforced_policy str
    Applies the specified AFM policy to the virtual in an enforcing way,when creating a new virtual, if this parameter is not specified, the enforced is disabled.This should be in full path ex: /Common/afm-test-policy.
    ip_protocol str
    Specifies a network protocol name you want the system to use to direct traffic on this virtual server. The default is tcp. valid options are [any,udp,tcp]
    irules Sequence[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
    per_flow_request_access_policy str
    persistence_profiles Sequence[str]
    List of persistence profiles associated with the Virtual Server.
    policies Sequence[str]
    Specifies the policies for the virtual server.
    pool str
    Default pool name
    port int
    Listen port for the virtual server
    profiles Sequence[str]
    List of profiles associated both client and server contexts on the virtual server. This includes protocol, ssl, http, etc.
    security_log_profiles Sequence[str]
    Specifies the log profile applied to the virtual server.
    server_profiles Sequence[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.
    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 options : [snat,automap,none].
    source_port str
    Specifies whether the system preserves the source port of the connection. The default is preserve.
    state str
    Specifies whether the virtual server and its resources are available for load balancing. The default is Enabled
    trafficmatching_criteria str
    Specifies destination traffic matching information to which the virtual server sends traffic
    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 Sequence[str]
    The virtual server is enabled/disabled on this set of VLANs,enable/disabled will be desided by attribute vlan_enabled
    vlans_enabled bool
    Enables the virtual server on the VLANs specified by the vlans option. By default it is false i.e vlanDisabled on specified vlans, if we want enable virtual server on VLANs specified by vlans, mark this attribute to true.
    name String
    Name of 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
    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.
    firewallEnforcedPolicy String
    Applies the specified AFM policy to the virtual in an enforcing way,when creating a new virtual, if this parameter is not specified, the enforced is disabled.This should be in full path ex: /Common/afm-test-policy.
    ipProtocol String
    Specifies a network protocol name you want the system to use to direct traffic on this virtual server. The default is tcp. valid options are [any,udp,tcp]
    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
    perFlowRequestAccessPolicy String
    persistenceProfiles List<String>
    List of persistence profiles associated with the Virtual Server.
    policies List<String>
    Specifies the policies for the virtual server.
    pool String
    Default pool name
    port Number
    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.
    securityLogProfiles List<String>
    Specifies the log profile applied to the virtual server.
    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.
    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 options : [snat,automap,none].
    sourcePort String
    Specifies whether the system preserves the source port of the connection. The default is preserve.
    state String
    Specifies whether the virtual server and its resources are available for load balancing. The default is Enabled
    trafficmatchingCriteria String
    Specifies destination traffic matching information to which the virtual server sends traffic
    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,enable/disabled will be desided by attribute vlan_enabled
    vlansEnabled Boolean
    Enables the virtual server on the VLANs specified by the vlans option. By default it is false i.e vlanDisabled on specified vlans, if we want enable virtual server on VLANs specified by vlans, mark this attribute to true.

    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 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 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
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            client_profiles: Optional[Sequence[str]] = None,
            default_persistence_profile: Optional[str] = None,
            description: Optional[str] = None,
            destination: Optional[str] = None,
            fallback_persistence_profile: Optional[str] = None,
            firewall_enforced_policy: Optional[str] = None,
            ip_protocol: Optional[str] = None,
            irules: Optional[Sequence[str]] = None,
            mask: Optional[str] = None,
            name: Optional[str] = None,
            per_flow_request_access_policy: Optional[str] = None,
            persistence_profiles: Optional[Sequence[str]] = None,
            policies: Optional[Sequence[str]] = None,
            pool: Optional[str] = None,
            port: Optional[int] = None,
            profiles: Optional[Sequence[str]] = None,
            security_log_profiles: Optional[Sequence[str]] = None,
            server_profiles: Optional[Sequence[str]] = None,
            snatpool: Optional[str] = None,
            source: Optional[str] = None,
            source_address_translation: Optional[str] = None,
            source_port: Optional[str] = None,
            state: Optional[str] = None,
            trafficmatching_criteria: Optional[str] = None,
            translate_address: Optional[str] = None,
            translate_port: Optional[str] = None,
            vlans: Optional[Sequence[str]] = None,
            vlans_enabled: Optional[bool] = None) -> VirtualServer
    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)
    public static VirtualServer get(String name, Output<String> id, VirtualServerState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    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.
    FirewallEnforcedPolicy string
    Applies the specified AFM policy to the virtual in an enforcing way,when creating a new virtual, if this parameter is not specified, the enforced is disabled.This should be in full path ex: /Common/afm-test-policy.
    IpProtocol string
    Specifies a network protocol name you want the system to use to direct traffic on this virtual server. The default is tcp. valid options are [any,udp,tcp]
    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
    PerFlowRequestAccessPolicy string
    PersistenceProfiles List<string>
    List of persistence profiles associated with the Virtual Server.
    Policies List<string>
    Specifies the policies for the virtual server.
    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.
    SecurityLogProfiles List<string>
    Specifies the log profile applied to the virtual server.
    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.
    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 options : [snat,automap,none].
    SourcePort string
    Specifies whether the system preserves the source port of the connection. The default is preserve.
    State string
    Specifies whether the virtual server and its resources are available for load balancing. The default is Enabled
    TrafficmatchingCriteria string
    Specifies destination traffic matching information to which the virtual server sends traffic
    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,enable/disabled will be desided by attribute vlan_enabled
    VlansEnabled bool
    Enables the virtual server on the VLANs specified by the vlans option. By default it is false i.e vlanDisabled on specified vlans, if we want enable virtual server on VLANs specified by vlans, mark this attribute to true.
    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.
    FirewallEnforcedPolicy string
    Applies the specified AFM policy to the virtual in an enforcing way,when creating a new virtual, if this parameter is not specified, the enforced is disabled.This should be in full path ex: /Common/afm-test-policy.
    IpProtocol string
    Specifies a network protocol name you want the system to use to direct traffic on this virtual server. The default is tcp. valid options are [any,udp,tcp]
    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
    PerFlowRequestAccessPolicy string
    PersistenceProfiles []string
    List of persistence profiles associated with the Virtual Server.
    Policies []string
    Specifies the policies for the virtual server.
    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.
    SecurityLogProfiles []string
    Specifies the log profile applied to the virtual server.
    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.
    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 options : [snat,automap,none].
    SourcePort string
    Specifies whether the system preserves the source port of the connection. The default is preserve.
    State string
    Specifies whether the virtual server and its resources are available for load balancing. The default is Enabled
    TrafficmatchingCriteria string
    Specifies destination traffic matching information to which the virtual server sends traffic
    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,enable/disabled will be desided by attribute vlan_enabled
    VlansEnabled bool
    Enables the virtual server on the VLANs specified by the vlans option. By default it is false i.e vlanDisabled on specified vlans, if we want enable virtual server on VLANs specified by vlans, mark this attribute to true.
    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.
    firewallEnforcedPolicy String
    Applies the specified AFM policy to the virtual in an enforcing way,when creating a new virtual, if this parameter is not specified, the enforced is disabled.This should be in full path ex: /Common/afm-test-policy.
    ipProtocol String
    Specifies a network protocol name you want the system to use to direct traffic on this virtual server. The default is tcp. valid options are [any,udp,tcp]
    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
    perFlowRequestAccessPolicy String
    persistenceProfiles List<String>
    List of persistence profiles associated with the Virtual Server.
    policies List<String>
    Specifies the policies for the virtual server.
    pool String
    Default pool name
    port Integer
    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.
    securityLogProfiles List<String>
    Specifies the log profile applied to the virtual server.
    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.
    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 options : [snat,automap,none].
    sourcePort String
    Specifies whether the system preserves the source port of the connection. The default is preserve.
    state String
    Specifies whether the virtual server and its resources are available for load balancing. The default is Enabled
    trafficmatchingCriteria String
    Specifies destination traffic matching information to which the virtual server sends traffic
    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,enable/disabled will be desided by attribute vlan_enabled
    vlansEnabled Boolean
    Enables the virtual server on the VLANs specified by the vlans option. By default it is false i.e vlanDisabled on specified vlans, if we want enable virtual server on VLANs specified by vlans, mark this attribute to true.
    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.
    firewallEnforcedPolicy string
    Applies the specified AFM policy to the virtual in an enforcing way,when creating a new virtual, if this parameter is not specified, the enforced is disabled.This should be in full path ex: /Common/afm-test-policy.
    ipProtocol string
    Specifies a network protocol name you want the system to use to direct traffic on this virtual server. The default is tcp. valid options are [any,udp,tcp]
    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
    perFlowRequestAccessPolicy string
    persistenceProfiles string[]
    List of persistence profiles associated with the Virtual Server.
    policies string[]
    Specifies the policies for the virtual server.
    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.
    securityLogProfiles string[]
    Specifies the log profile applied to the virtual server.
    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.
    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 options : [snat,automap,none].
    sourcePort string
    Specifies whether the system preserves the source port of the connection. The default is preserve.
    state string
    Specifies whether the virtual server and its resources are available for load balancing. The default is Enabled
    trafficmatchingCriteria string
    Specifies destination traffic matching information to which the virtual server sends traffic
    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,enable/disabled will be desided by attribute vlan_enabled
    vlansEnabled boolean
    Enables the virtual server on the VLANs specified by the vlans option. By default it is false i.e vlanDisabled on specified vlans, if we want enable virtual server on VLANs specified by vlans, mark this attribute to true.
    client_profiles Sequence[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.
    firewall_enforced_policy str
    Applies the specified AFM policy to the virtual in an enforcing way,when creating a new virtual, if this parameter is not specified, the enforced is disabled.This should be in full path ex: /Common/afm-test-policy.
    ip_protocol str
    Specifies a network protocol name you want the system to use to direct traffic on this virtual server. The default is tcp. valid options are [any,udp,tcp]
    irules Sequence[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
    per_flow_request_access_policy str
    persistence_profiles Sequence[str]
    List of persistence profiles associated with the Virtual Server.
    policies Sequence[str]
    Specifies the policies for the virtual server.
    pool str
    Default pool name
    port int
    Listen port for the virtual server
    profiles Sequence[str]
    List of profiles associated both client and server contexts on the virtual server. This includes protocol, ssl, http, etc.
    security_log_profiles Sequence[str]
    Specifies the log profile applied to the virtual server.
    server_profiles Sequence[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.
    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 options : [snat,automap,none].
    source_port str
    Specifies whether the system preserves the source port of the connection. The default is preserve.
    state str
    Specifies whether the virtual server and its resources are available for load balancing. The default is Enabled
    trafficmatching_criteria str
    Specifies destination traffic matching information to which the virtual server sends traffic
    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 Sequence[str]
    The virtual server is enabled/disabled on this set of VLANs,enable/disabled will be desided by attribute vlan_enabled
    vlans_enabled bool
    Enables the virtual server on the VLANs specified by the vlans option. By default it is false i.e vlanDisabled on specified vlans, if we want enable virtual server on VLANs specified by vlans, mark this attribute to true.
    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.
    firewallEnforcedPolicy String
    Applies the specified AFM policy to the virtual in an enforcing way,when creating a new virtual, if this parameter is not specified, the enforced is disabled.This should be in full path ex: /Common/afm-test-policy.
    ipProtocol String
    Specifies a network protocol name you want the system to use to direct traffic on this virtual server. The default is tcp. valid options are [any,udp,tcp]
    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
    perFlowRequestAccessPolicy String
    persistenceProfiles List<String>
    List of persistence profiles associated with the Virtual Server.
    policies List<String>
    Specifies the policies for the virtual server.
    pool String
    Default pool name
    port Number
    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.
    securityLogProfiles List<String>
    Specifies the log profile applied to the virtual server.
    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.
    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 options : [snat,automap,none].
    sourcePort String
    Specifies whether the system preserves the source port of the connection. The default is preserve.
    state String
    Specifies whether the virtual server and its resources are available for load balancing. The default is Enabled
    trafficmatchingCriteria String
    Specifies destination traffic matching information to which the virtual server sends traffic
    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,enable/disabled will be desided by attribute vlan_enabled
    vlansEnabled Boolean
    Enables the virtual server on the VLANs specified by the vlans option. By default it is false i.e vlanDisabled on specified vlans, if we want enable virtual server on VLANs specified by vlans, mark this attribute to true.

    Import

    ing

    An existing virtual-server can be imported into this resource by supplying virtual-server Name in full path as id. An example is below:

    $ terraform import bigip_ltm_virtual_server.http /Common/terraform_vs_http
    

    Package Details

    Repository
    f5 BIG-IP pulumi/pulumi-f5bigip
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the bigip Terraform Provider.
    f5bigip logo
    f5 BIG-IP v3.17.0 published on Thursday, Mar 28, 2024 by Pulumi