1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. ObjectVpnSslWebPortalSplitdns
fortimanager 1.14.0 published on Tuesday, Apr 15, 2025 by fortinetdev

fortimanager.ObjectVpnSslWebPortalSplitdns

Explore with Pulumi AI

Split DNS for SSL VPN.

This resource is a sub resource for variable split_dns of resource fortimanager.ObjectVpnSslWebPortal. Conflict and overwrite may occur if use both of them.

Create ObjectVpnSslWebPortalSplitdns Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ObjectVpnSslWebPortalSplitdns(name: string, args: ObjectVpnSslWebPortalSplitdnsArgs, opts?: CustomResourceOptions);
@overload
def ObjectVpnSslWebPortalSplitdns(resource_name: str,
                                  args: ObjectVpnSslWebPortalSplitdnsArgs,
                                  opts: Optional[ResourceOptions] = None)

@overload
def ObjectVpnSslWebPortalSplitdns(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  portal: Optional[str] = None,
                                  adom: Optional[str] = None,
                                  dns_server1: Optional[str] = None,
                                  dns_server2: Optional[str] = None,
                                  domains: Optional[str] = None,
                                  fosid: Optional[float] = None,
                                  ipv6_dns_server1: Optional[str] = None,
                                  ipv6_dns_server2: Optional[str] = None,
                                  object_vpn_ssl_web_portal_splitdns_id: Optional[str] = None,
                                  scopetype: Optional[str] = None)
func NewObjectVpnSslWebPortalSplitdns(ctx *Context, name string, args ObjectVpnSslWebPortalSplitdnsArgs, opts ...ResourceOption) (*ObjectVpnSslWebPortalSplitdns, error)
public ObjectVpnSslWebPortalSplitdns(string name, ObjectVpnSslWebPortalSplitdnsArgs args, CustomResourceOptions? opts = null)
public ObjectVpnSslWebPortalSplitdns(String name, ObjectVpnSslWebPortalSplitdnsArgs args)
public ObjectVpnSslWebPortalSplitdns(String name, ObjectVpnSslWebPortalSplitdnsArgs args, CustomResourceOptions options)
type: fortimanager:ObjectVpnSslWebPortalSplitdns
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ObjectVpnSslWebPortalSplitdnsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ObjectVpnSslWebPortalSplitdnsArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ObjectVpnSslWebPortalSplitdnsArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ObjectVpnSslWebPortalSplitdnsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ObjectVpnSslWebPortalSplitdnsArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var objectVpnSslWebPortalSplitdnsResource = new Fortimanager.ObjectVpnSslWebPortalSplitdns("objectVpnSslWebPortalSplitdnsResource", new()
{
    Portal = "string",
    Adom = "string",
    DnsServer1 = "string",
    DnsServer2 = "string",
    Domains = "string",
    Fosid = 0,
    Ipv6DnsServer1 = "string",
    Ipv6DnsServer2 = "string",
    ObjectVpnSslWebPortalSplitdnsId = "string",
    Scopetype = "string",
});
Copy
example, err := fortimanager.NewObjectVpnSslWebPortalSplitdns(ctx, "objectVpnSslWebPortalSplitdnsResource", &fortimanager.ObjectVpnSslWebPortalSplitdnsArgs{
Portal: pulumi.String("string"),
Adom: pulumi.String("string"),
DnsServer1: pulumi.String("string"),
DnsServer2: pulumi.String("string"),
Domains: pulumi.String("string"),
Fosid: pulumi.Float64(0),
Ipv6DnsServer1: pulumi.String("string"),
Ipv6DnsServer2: pulumi.String("string"),
ObjectVpnSslWebPortalSplitdnsId: pulumi.String("string"),
Scopetype: pulumi.String("string"),
})
Copy
var objectVpnSslWebPortalSplitdnsResource = new ObjectVpnSslWebPortalSplitdns("objectVpnSslWebPortalSplitdnsResource", ObjectVpnSslWebPortalSplitdnsArgs.builder()
    .portal("string")
    .adom("string")
    .dnsServer1("string")
    .dnsServer2("string")
    .domains("string")
    .fosid(0)
    .ipv6DnsServer1("string")
    .ipv6DnsServer2("string")
    .objectVpnSslWebPortalSplitdnsId("string")
    .scopetype("string")
    .build());
Copy
object_vpn_ssl_web_portal_splitdns_resource = fortimanager.ObjectVpnSslWebPortalSplitdns("objectVpnSslWebPortalSplitdnsResource",
    portal="string",
    adom="string",
    dns_server1="string",
    dns_server2="string",
    domains="string",
    fosid=0,
    ipv6_dns_server1="string",
    ipv6_dns_server2="string",
    object_vpn_ssl_web_portal_splitdns_id="string",
    scopetype="string")
Copy
const objectVpnSslWebPortalSplitdnsResource = new fortimanager.ObjectVpnSslWebPortalSplitdns("objectVpnSslWebPortalSplitdnsResource", {
    portal: "string",
    adom: "string",
    dnsServer1: "string",
    dnsServer2: "string",
    domains: "string",
    fosid: 0,
    ipv6DnsServer1: "string",
    ipv6DnsServer2: "string",
    objectVpnSslWebPortalSplitdnsId: "string",
    scopetype: "string",
});
Copy
type: fortimanager:ObjectVpnSslWebPortalSplitdns
properties:
    adom: string
    dnsServer1: string
    dnsServer2: string
    domains: string
    fosid: 0
    ipv6DnsServer1: string
    ipv6DnsServer2: string
    objectVpnSslWebPortalSplitdnsId: string
    portal: string
    scopetype: string
Copy

ObjectVpnSslWebPortalSplitdns Resource Properties

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

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The ObjectVpnSslWebPortalSplitdns resource accepts the following input properties:

Portal This property is required. string
Portal.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
DnsServer1 string
DNS server 1.
DnsServer2 string
DNS server 2.
Domains string
Split DNS domains used for SSL-VPN clients separated by comma(,).
Fosid double
ID.
Ipv6DnsServer1 string
IPv6 DNS server 1.
Ipv6DnsServer2 string
IPv6 DNS server 2.
ObjectVpnSslWebPortalSplitdnsId string
an identifier for the resource with format {{fosid}}.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
Portal This property is required. string
Portal.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
DnsServer1 string
DNS server 1.
DnsServer2 string
DNS server 2.
Domains string
Split DNS domains used for SSL-VPN clients separated by comma(,).
Fosid float64
ID.
Ipv6DnsServer1 string
IPv6 DNS server 1.
Ipv6DnsServer2 string
IPv6 DNS server 2.
ObjectVpnSslWebPortalSplitdnsId string
an identifier for the resource with format {{fosid}}.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
portal This property is required. String
Portal.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
dnsServer1 String
DNS server 1.
dnsServer2 String
DNS server 2.
domains String
Split DNS domains used for SSL-VPN clients separated by comma(,).
fosid Double
ID.
ipv6DnsServer1 String
IPv6 DNS server 1.
ipv6DnsServer2 String
IPv6 DNS server 2.
objectVpnSslWebPortalSplitdnsId String
an identifier for the resource with format {{fosid}}.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
portal This property is required. string
Portal.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
dnsServer1 string
DNS server 1.
dnsServer2 string
DNS server 2.
domains string
Split DNS domains used for SSL-VPN clients separated by comma(,).
fosid number
ID.
ipv6DnsServer1 string
IPv6 DNS server 1.
ipv6DnsServer2 string
IPv6 DNS server 2.
objectVpnSslWebPortalSplitdnsId string
an identifier for the resource with format {{fosid}}.
scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
portal This property is required. str
Portal.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
dns_server1 str
DNS server 1.
dns_server2 str
DNS server 2.
domains str
Split DNS domains used for SSL-VPN clients separated by comma(,).
fosid float
ID.
ipv6_dns_server1 str
IPv6 DNS server 1.
ipv6_dns_server2 str
IPv6 DNS server 2.
object_vpn_ssl_web_portal_splitdns_id str
an identifier for the resource with format {{fosid}}.
scopetype str
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
portal This property is required. String
Portal.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
dnsServer1 String
DNS server 1.
dnsServer2 String
DNS server 2.
domains String
Split DNS domains used for SSL-VPN clients separated by comma(,).
fosid Number
ID.
ipv6DnsServer1 String
IPv6 DNS server 1.
ipv6DnsServer2 String
IPv6 DNS server 2.
objectVpnSslWebPortalSplitdnsId String
an identifier for the resource with format {{fosid}}.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.

Outputs

All input properties are implicitly available as output properties. Additionally, the ObjectVpnSslWebPortalSplitdns 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 ObjectVpnSslWebPortalSplitdns Resource

Get an existing ObjectVpnSslWebPortalSplitdns 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?: ObjectVpnSslWebPortalSplitdnsState, opts?: CustomResourceOptions): ObjectVpnSslWebPortalSplitdns
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        dns_server1: Optional[str] = None,
        dns_server2: Optional[str] = None,
        domains: Optional[str] = None,
        fosid: Optional[float] = None,
        ipv6_dns_server1: Optional[str] = None,
        ipv6_dns_server2: Optional[str] = None,
        object_vpn_ssl_web_portal_splitdns_id: Optional[str] = None,
        portal: Optional[str] = None,
        scopetype: Optional[str] = None) -> ObjectVpnSslWebPortalSplitdns
func GetObjectVpnSslWebPortalSplitdns(ctx *Context, name string, id IDInput, state *ObjectVpnSslWebPortalSplitdnsState, opts ...ResourceOption) (*ObjectVpnSslWebPortalSplitdns, error)
public static ObjectVpnSslWebPortalSplitdns Get(string name, Input<string> id, ObjectVpnSslWebPortalSplitdnsState? state, CustomResourceOptions? opts = null)
public static ObjectVpnSslWebPortalSplitdns get(String name, Output<String> id, ObjectVpnSslWebPortalSplitdnsState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectVpnSslWebPortalSplitdns    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
DnsServer1 string
DNS server 1.
DnsServer2 string
DNS server 2.
Domains string
Split DNS domains used for SSL-VPN clients separated by comma(,).
Fosid double
ID.
Ipv6DnsServer1 string
IPv6 DNS server 1.
Ipv6DnsServer2 string
IPv6 DNS server 2.
ObjectVpnSslWebPortalSplitdnsId string
an identifier for the resource with format {{fosid}}.
Portal string
Portal.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
DnsServer1 string
DNS server 1.
DnsServer2 string
DNS server 2.
Domains string
Split DNS domains used for SSL-VPN clients separated by comma(,).
Fosid float64
ID.
Ipv6DnsServer1 string
IPv6 DNS server 1.
Ipv6DnsServer2 string
IPv6 DNS server 2.
ObjectVpnSslWebPortalSplitdnsId string
an identifier for the resource with format {{fosid}}.
Portal string
Portal.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
dnsServer1 String
DNS server 1.
dnsServer2 String
DNS server 2.
domains String
Split DNS domains used for SSL-VPN clients separated by comma(,).
fosid Double
ID.
ipv6DnsServer1 String
IPv6 DNS server 1.
ipv6DnsServer2 String
IPv6 DNS server 2.
objectVpnSslWebPortalSplitdnsId String
an identifier for the resource with format {{fosid}}.
portal String
Portal.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
dnsServer1 string
DNS server 1.
dnsServer2 string
DNS server 2.
domains string
Split DNS domains used for SSL-VPN clients separated by comma(,).
fosid number
ID.
ipv6DnsServer1 string
IPv6 DNS server 1.
ipv6DnsServer2 string
IPv6 DNS server 2.
objectVpnSslWebPortalSplitdnsId string
an identifier for the resource with format {{fosid}}.
portal string
Portal.
scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
dns_server1 str
DNS server 1.
dns_server2 str
DNS server 2.
domains str
Split DNS domains used for SSL-VPN clients separated by comma(,).
fosid float
ID.
ipv6_dns_server1 str
IPv6 DNS server 1.
ipv6_dns_server2 str
IPv6 DNS server 2.
object_vpn_ssl_web_portal_splitdns_id str
an identifier for the resource with format {{fosid}}.
portal str
Portal.
scopetype str
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
dnsServer1 String
DNS server 1.
dnsServer2 String
DNS server 2.
domains String
Split DNS domains used for SSL-VPN clients separated by comma(,).
fosid Number
ID.
ipv6DnsServer1 String
IPv6 DNS server 1.
ipv6DnsServer2 String
IPv6 DNS server 2.
objectVpnSslWebPortalSplitdnsId String
an identifier for the resource with format {{fosid}}.
portal String
Portal.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.

Import

ObjectVpn SslWebPortalSplitDns can be imported using any of these accepted formats:

Set import_options = [“portal=YOUR_VALUE”] in the provider section.

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/objectVpnSslWebPortalSplitdns:ObjectVpnSslWebPortalSplitdns labelname {{fosid}}
Copy

$ unset “FORTIMANAGER_IMPORT_TABLE”

-> Hint: The scopetype and adom for import will directly inherit the scopetype and adom configuration of the provider.

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
fortimanager fortinetdev/terraform-provider-fortimanager
License
Notes
This Pulumi package is based on the fortimanager Terraform Provider.