fortios.webproxy.Wisp
Explore with Pulumi AI
Configure Wireless Internet service provider (WISP) servers.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fortios from "@pulumiverse/fortios";
const trname = new fortios.webproxy.Wisp("trname", {
maxConnections: 64,
outgoingIp: "0.0.0.0",
serverIp: "1.1.1.1",
serverPort: 15868,
timeout: 5,
});
import pulumi
import pulumiverse_fortios as fortios
trname = fortios.webproxy.Wisp("trname",
max_connections=64,
outgoing_ip="0.0.0.0",
server_ip="1.1.1.1",
server_port=15868,
timeout=5)
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/webproxy"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := webproxy.NewWisp(ctx, "trname", &webproxy.WispArgs{
MaxConnections: pulumi.Int(64),
OutgoingIp: pulumi.String("0.0.0.0"),
ServerIp: pulumi.String("1.1.1.1"),
ServerPort: pulumi.Int(15868),
Timeout: pulumi.Int(5),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fortios = Pulumiverse.Fortios;
return await Deployment.RunAsync(() =>
{
var trname = new Fortios.Webproxy.Wisp("trname", new()
{
MaxConnections = 64,
OutgoingIp = "0.0.0.0",
ServerIp = "1.1.1.1",
ServerPort = 15868,
Timeout = 5,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortios.webproxy.Wisp;
import com.pulumi.fortios.webproxy.WispArgs;
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 trname = new Wisp("trname", WispArgs.builder()
.maxConnections(64)
.outgoingIp("0.0.0.0")
.serverIp("1.1.1.1")
.serverPort(15868)
.timeout(5)
.build());
}
}
resources:
trname:
type: fortios:webproxy:Wisp
properties:
maxConnections: 64
outgoingIp: 0.0.0.0
serverIp: 1.1.1.1
serverPort: 15868
timeout: 5
Create Wisp Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Wisp(name: string, args: WispArgs, opts?: CustomResourceOptions);
@overload
def Wisp(resource_name: str,
args: WispArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Wisp(resource_name: str,
opts: Optional[ResourceOptions] = None,
server_ip: Optional[str] = None,
server_port: Optional[int] = None,
comment: Optional[str] = None,
max_connections: Optional[int] = None,
name: Optional[str] = None,
outgoing_ip: Optional[str] = None,
timeout: Optional[int] = None,
vdomparam: Optional[str] = None)
func NewWisp(ctx *Context, name string, args WispArgs, opts ...ResourceOption) (*Wisp, error)
public Wisp(string name, WispArgs args, CustomResourceOptions? opts = null)
type: fortios:webproxy:Wisp
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args WispArgs
- 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 WispArgs
- 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 WispArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WispArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WispArgs
- 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 wispResource = new Fortios.Webproxy.Wisp("wispResource", new()
{
ServerIp = "string",
ServerPort = 0,
Comment = "string",
MaxConnections = 0,
Name = "string",
OutgoingIp = "string",
Timeout = 0,
Vdomparam = "string",
});
example, err := webproxy.NewWisp(ctx, "wispResource", &webproxy.WispArgs{
ServerIp: pulumi.String("string"),
ServerPort: pulumi.Int(0),
Comment: pulumi.String("string"),
MaxConnections: pulumi.Int(0),
Name: pulumi.String("string"),
OutgoingIp: pulumi.String("string"),
Timeout: pulumi.Int(0),
Vdomparam: pulumi.String("string"),
})
var wispResource = new Wisp("wispResource", WispArgs.builder()
.serverIp("string")
.serverPort(0)
.comment("string")
.maxConnections(0)
.name("string")
.outgoingIp("string")
.timeout(0)
.vdomparam("string")
.build());
wisp_resource = fortios.webproxy.Wisp("wispResource",
server_ip="string",
server_port=0,
comment="string",
max_connections=0,
name="string",
outgoing_ip="string",
timeout=0,
vdomparam="string")
const wispResource = new fortios.webproxy.Wisp("wispResource", {
serverIp: "string",
serverPort: 0,
comment: "string",
maxConnections: 0,
name: "string",
outgoingIp: "string",
timeout: 0,
vdomparam: "string",
});
type: fortios:webproxy:Wisp
properties:
comment: string
maxConnections: 0
name: string
outgoingIp: string
serverIp: string
serverPort: 0
timeout: 0
vdomparam: string
Wisp 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 Wisp resource accepts the following input properties:
- Server
Ip string - WISP server IP address.
- Server
Port int - WISP server port (1 - 65535, default = 15868).
- Comment string
- Comment.
- Max
Connections int - Maximum number of web proxy WISP connections (4 - 4096, default = 64).
- Name string
- Server name.
- Outgoing
Ip string - WISP outgoing IP address.
- Timeout int
- Period of time before WISP requests time out (1 - 15 sec, default = 5).
- Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- Server
Ip string - WISP server IP address.
- Server
Port int - WISP server port (1 - 65535, default = 15868).
- Comment string
- Comment.
- Max
Connections int - Maximum number of web proxy WISP connections (4 - 4096, default = 64).
- Name string
- Server name.
- Outgoing
Ip string - WISP outgoing IP address.
- Timeout int
- Period of time before WISP requests time out (1 - 15 sec, default = 5).
- Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- server
Ip String - WISP server IP address.
- server
Port Integer - WISP server port (1 - 65535, default = 15868).
- comment String
- Comment.
- max
Connections Integer - Maximum number of web proxy WISP connections (4 - 4096, default = 64).
- name String
- Server name.
- outgoing
Ip String - WISP outgoing IP address.
- timeout Integer
- Period of time before WISP requests time out (1 - 15 sec, default = 5).
- vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- server
Ip string - WISP server IP address.
- server
Port number - WISP server port (1 - 65535, default = 15868).
- comment string
- Comment.
- max
Connections number - Maximum number of web proxy WISP connections (4 - 4096, default = 64).
- name string
- Server name.
- outgoing
Ip string - WISP outgoing IP address.
- timeout number
- Period of time before WISP requests time out (1 - 15 sec, default = 5).
- vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- server_
ip str - WISP server IP address.
- server_
port int - WISP server port (1 - 65535, default = 15868).
- comment str
- Comment.
- max_
connections int - Maximum number of web proxy WISP connections (4 - 4096, default = 64).
- name str
- Server name.
- outgoing_
ip str - WISP outgoing IP address.
- timeout int
- Period of time before WISP requests time out (1 - 15 sec, default = 5).
- vdomparam str
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- server
Ip String - WISP server IP address.
- server
Port Number - WISP server port (1 - 65535, default = 15868).
- comment String
- Comment.
- max
Connections Number - Maximum number of web proxy WISP connections (4 - 4096, default = 64).
- name String
- Server name.
- outgoing
Ip String - WISP outgoing IP address.
- timeout Number
- Period of time before WISP requests time out (1 - 15 sec, default = 5).
- vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
Outputs
All input properties are implicitly available as output properties. Additionally, the Wisp 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 Wisp Resource
Get an existing Wisp 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?: WispState, opts?: CustomResourceOptions): Wisp
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
comment: Optional[str] = None,
max_connections: Optional[int] = None,
name: Optional[str] = None,
outgoing_ip: Optional[str] = None,
server_ip: Optional[str] = None,
server_port: Optional[int] = None,
timeout: Optional[int] = None,
vdomparam: Optional[str] = None) -> Wisp
func GetWisp(ctx *Context, name string, id IDInput, state *WispState, opts ...ResourceOption) (*Wisp, error)
public static Wisp Get(string name, Input<string> id, WispState? state, CustomResourceOptions? opts = null)
public static Wisp get(String name, Output<String> id, WispState 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.
- Comment string
- Comment.
- Max
Connections int - Maximum number of web proxy WISP connections (4 - 4096, default = 64).
- Name string
- Server name.
- Outgoing
Ip string - WISP outgoing IP address.
- Server
Ip string - WISP server IP address.
- Server
Port int - WISP server port (1 - 65535, default = 15868).
- Timeout int
- Period of time before WISP requests time out (1 - 15 sec, default = 5).
- Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- Comment string
- Comment.
- Max
Connections int - Maximum number of web proxy WISP connections (4 - 4096, default = 64).
- Name string
- Server name.
- Outgoing
Ip string - WISP outgoing IP address.
- Server
Ip string - WISP server IP address.
- Server
Port int - WISP server port (1 - 65535, default = 15868).
- Timeout int
- Period of time before WISP requests time out (1 - 15 sec, default = 5).
- Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- comment String
- Comment.
- max
Connections Integer - Maximum number of web proxy WISP connections (4 - 4096, default = 64).
- name String
- Server name.
- outgoing
Ip String - WISP outgoing IP address.
- server
Ip String - WISP server IP address.
- server
Port Integer - WISP server port (1 - 65535, default = 15868).
- timeout Integer
- Period of time before WISP requests time out (1 - 15 sec, default = 5).
- vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- comment string
- Comment.
- max
Connections number - Maximum number of web proxy WISP connections (4 - 4096, default = 64).
- name string
- Server name.
- outgoing
Ip string - WISP outgoing IP address.
- server
Ip string - WISP server IP address.
- server
Port number - WISP server port (1 - 65535, default = 15868).
- timeout number
- Period of time before WISP requests time out (1 - 15 sec, default = 5).
- vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- comment str
- Comment.
- max_
connections int - Maximum number of web proxy WISP connections (4 - 4096, default = 64).
- name str
- Server name.
- outgoing_
ip str - WISP outgoing IP address.
- server_
ip str - WISP server IP address.
- server_
port int - WISP server port (1 - 65535, default = 15868).
- timeout int
- Period of time before WISP requests time out (1 - 15 sec, default = 5).
- vdomparam str
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- comment String
- Comment.
- max
Connections Number - Maximum number of web proxy WISP connections (4 - 4096, default = 64).
- name String
- Server name.
- outgoing
Ip String - WISP outgoing IP address.
- server
Ip String - WISP server IP address.
- server
Port Number - WISP server port (1 - 65535, default = 15868).
- timeout Number
- Period of time before WISP requests time out (1 - 15 sec, default = 5).
- vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
Import
WebProxy Wisp can be imported using any of these accepted formats:
$ pulumi import fortios:webproxy/wisp:Wisp labelname {{name}}
If you do not want to import arguments of block:
$ export “FORTIOS_IMPORT_TABLE”=“false”
$ pulumi import fortios:webproxy/wisp:Wisp labelname {{name}}
$ unset “FORTIOS_IMPORT_TABLE”
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- fortios pulumiverse/pulumi-fortios
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
fortios
Terraform Provider.