1. Packages
  2. Fortios
  3. API Docs
  4. system
  5. system/autoupdate
  6. Tunneling
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

fortios.system/autoupdate.Tunneling

Explore with Pulumi AI

fortios logo
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

    Configure web proxy tunnelling for the FDN.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as fortios from "@pulumiverse/fortios";
    
    const trname = new fortios.system.autoupdate.Tunneling("trname", {
        port: 0,
        status: "disable",
    });
    
    import pulumi
    import pulumiverse_fortios as fortios
    
    trname = fortios.system.autoupdate.Tunneling("trname",
        port=0,
        status="disable")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/system"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := system.NewTunneling(ctx, "trname", &system.TunnelingArgs{
    			Port:   pulumi.Int(0),
    			Status: pulumi.String("disable"),
    		})
    		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.System.Autoupdate.Tunneling("trname", new()
        {
            Port = 0,
            Status = "disable",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.fortios.system.Tunneling;
    import com.pulumi.fortios.system.TunnelingArgs;
    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 Tunneling("trname", TunnelingArgs.builder()
                .port(0)
                .status("disable")
                .build());
    
        }
    }
    
    resources:
      trname:
        type: fortios:system/autoupdate:Tunneling
        properties:
          port: 0
          status: disable
    

    Create Tunneling Resource

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

    Constructor syntax

    new Tunneling(name: string, args?: TunnelingArgs, opts?: CustomResourceOptions);
    @overload
    def Tunneling(resource_name: str,
                  args: Optional[TunnelingArgs] = None,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def Tunneling(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  address: Optional[str] = None,
                  password: Optional[str] = None,
                  port: Optional[int] = None,
                  status: Optional[str] = None,
                  username: Optional[str] = None,
                  vdomparam: Optional[str] = None)
    func NewTunneling(ctx *Context, name string, args *TunnelingArgs, opts ...ResourceOption) (*Tunneling, error)
    public Tunneling(string name, TunnelingArgs? args = null, CustomResourceOptions? opts = null)
    public Tunneling(String name, TunnelingArgs args)
    public Tunneling(String name, TunnelingArgs args, CustomResourceOptions options)
    
    type: fortios:system/autoupdate/tunneling:Tunneling
    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 TunnelingArgs
    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 TunnelingArgs
    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 TunnelingArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TunnelingArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TunnelingArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Tunneling 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 Tunneling resource accepts the following input properties:

    Address string
    Web proxy IP address or FQDN.
    Password string
    Web proxy password.
    Port int
    Web proxy port.
    Status string
    Enable/disable web proxy tunnelling. Valid values: enable, disable.
    Username string
    Web proxy username.
    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.
    Address string
    Web proxy IP address or FQDN.
    Password string
    Web proxy password.
    Port int
    Web proxy port.
    Status string
    Enable/disable web proxy tunnelling. Valid values: enable, disable.
    Username string
    Web proxy username.
    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.
    address String
    Web proxy IP address or FQDN.
    password String
    Web proxy password.
    port Integer
    Web proxy port.
    status String
    Enable/disable web proxy tunnelling. Valid values: enable, disable.
    username String
    Web proxy username.
    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.
    address string
    Web proxy IP address or FQDN.
    password string
    Web proxy password.
    port number
    Web proxy port.
    status string
    Enable/disable web proxy tunnelling. Valid values: enable, disable.
    username string
    Web proxy username.
    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.
    address str
    Web proxy IP address or FQDN.
    password str
    Web proxy password.
    port int
    Web proxy port.
    status str
    Enable/disable web proxy tunnelling. Valid values: enable, disable.
    username str
    Web proxy username.
    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.
    address String
    Web proxy IP address or FQDN.
    password String
    Web proxy password.
    port Number
    Web proxy port.
    status String
    Enable/disable web proxy tunnelling. Valid values: enable, disable.
    username String
    Web proxy username.
    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 Tunneling 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 Tunneling Resource

    Get an existing Tunneling 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?: TunnelingState, opts?: CustomResourceOptions): Tunneling
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            address: Optional[str] = None,
            password: Optional[str] = None,
            port: Optional[int] = None,
            status: Optional[str] = None,
            username: Optional[str] = None,
            vdomparam: Optional[str] = None) -> Tunneling
    func GetTunneling(ctx *Context, name string, id IDInput, state *TunnelingState, opts ...ResourceOption) (*Tunneling, error)
    public static Tunneling Get(string name, Input<string> id, TunnelingState? state, CustomResourceOptions? opts = null)
    public static Tunneling get(String name, Output<String> id, TunnelingState 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:
    Address string
    Web proxy IP address or FQDN.
    Password string
    Web proxy password.
    Port int
    Web proxy port.
    Status string
    Enable/disable web proxy tunnelling. Valid values: enable, disable.
    Username string
    Web proxy username.
    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.
    Address string
    Web proxy IP address or FQDN.
    Password string
    Web proxy password.
    Port int
    Web proxy port.
    Status string
    Enable/disable web proxy tunnelling. Valid values: enable, disable.
    Username string
    Web proxy username.
    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.
    address String
    Web proxy IP address or FQDN.
    password String
    Web proxy password.
    port Integer
    Web proxy port.
    status String
    Enable/disable web proxy tunnelling. Valid values: enable, disable.
    username String
    Web proxy username.
    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.
    address string
    Web proxy IP address or FQDN.
    password string
    Web proxy password.
    port number
    Web proxy port.
    status string
    Enable/disable web proxy tunnelling. Valid values: enable, disable.
    username string
    Web proxy username.
    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.
    address str
    Web proxy IP address or FQDN.
    password str
    Web proxy password.
    port int
    Web proxy port.
    status str
    Enable/disable web proxy tunnelling. Valid values: enable, disable.
    username str
    Web proxy username.
    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.
    address String
    Web proxy IP address or FQDN.
    password String
    Web proxy password.
    port Number
    Web proxy port.
    status String
    Enable/disable web proxy tunnelling. Valid values: enable, disable.
    username String
    Web proxy username.
    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

    SystemAutoupdate Tunneling can be imported using any of these accepted formats:

    $ pulumi import fortios:system/autoupdate/tunneling:Tunneling labelname SystemAutoupdateTunneling
    

    If you do not want to import arguments of block:

    $ export “FORTIOS_IMPORT_TABLE”=“false”

    $ pulumi import fortios:system/autoupdate/tunneling:Tunneling labelname SystemAutoupdateTunneling
    

    $ 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.
    fortios logo
    Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse