1. Packages
  2. Fortios
  3. API Docs
  4. system
  5. Managementtunnel
Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse

fortios.system.Managementtunnel

Explore with Pulumi AI

fortios logo
Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse

    Management tunnel configuration.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as fortios from "@pulumiverse/fortios";
    
    const trname = new fortios.system.Managementtunnel("trname", {
        allowCollectStatistics: "enable",
        allowConfigRestore: "enable",
        allowPushConfiguration: "enable",
        allowPushFirmware: "enable",
        authorizedManagerOnly: "enable",
        status: "enable",
    });
    
    import pulumi
    import pulumiverse_fortios as fortios
    
    trname = fortios.system.Managementtunnel("trname",
        allow_collect_statistics="enable",
        allow_config_restore="enable",
        allow_push_configuration="enable",
        allow_push_firmware="enable",
        authorized_manager_only="enable",
        status="enable")
    
    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.NewManagementtunnel(ctx, "trname", &system.ManagementtunnelArgs{
    			AllowCollectStatistics: pulumi.String("enable"),
    			AllowConfigRestore:     pulumi.String("enable"),
    			AllowPushConfiguration: pulumi.String("enable"),
    			AllowPushFirmware:      pulumi.String("enable"),
    			AuthorizedManagerOnly:  pulumi.String("enable"),
    			Status:                 pulumi.String("enable"),
    		})
    		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.Managementtunnel("trname", new()
        {
            AllowCollectStatistics = "enable",
            AllowConfigRestore = "enable",
            AllowPushConfiguration = "enable",
            AllowPushFirmware = "enable",
            AuthorizedManagerOnly = "enable",
            Status = "enable",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.fortios.system.Managementtunnel;
    import com.pulumi.fortios.system.ManagementtunnelArgs;
    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 Managementtunnel("trname", ManagementtunnelArgs.builder()        
                .allowCollectStatistics("enable")
                .allowConfigRestore("enable")
                .allowPushConfiguration("enable")
                .allowPushFirmware("enable")
                .authorizedManagerOnly("enable")
                .status("enable")
                .build());
    
        }
    }
    
    resources:
      trname:
        type: fortios:system:Managementtunnel
        properties:
          allowCollectStatistics: enable
          allowConfigRestore: enable
          allowPushConfiguration: enable
          allowPushFirmware: enable
          authorizedManagerOnly: enable
          status: enable
    

    Create Managementtunnel Resource

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

    Constructor syntax

    new Managementtunnel(name: string, args?: ManagementtunnelArgs, opts?: CustomResourceOptions);
    @overload
    def Managementtunnel(resource_name: str,
                         args: Optional[ManagementtunnelArgs] = None,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def Managementtunnel(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         allow_collect_statistics: Optional[str] = None,
                         allow_config_restore: Optional[str] = None,
                         allow_push_configuration: Optional[str] = None,
                         allow_push_firmware: Optional[str] = None,
                         authorized_manager_only: Optional[str] = None,
                         serial_number: Optional[str] = None,
                         status: Optional[str] = None,
                         vdomparam: Optional[str] = None)
    func NewManagementtunnel(ctx *Context, name string, args *ManagementtunnelArgs, opts ...ResourceOption) (*Managementtunnel, error)
    public Managementtunnel(string name, ManagementtunnelArgs? args = null, CustomResourceOptions? opts = null)
    public Managementtunnel(String name, ManagementtunnelArgs args)
    public Managementtunnel(String name, ManagementtunnelArgs args, CustomResourceOptions options)
    
    type: fortios:system:Managementtunnel
    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 ManagementtunnelArgs
    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 ManagementtunnelArgs
    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 ManagementtunnelArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ManagementtunnelArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ManagementtunnelArgs
    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 managementtunnelResource = new Fortios.System.Managementtunnel("managementtunnelResource", new()
    {
        AllowCollectStatistics = "string",
        AllowConfigRestore = "string",
        AllowPushConfiguration = "string",
        AllowPushFirmware = "string",
        AuthorizedManagerOnly = "string",
        SerialNumber = "string",
        Status = "string",
        Vdomparam = "string",
    });
    
    example, err := system.NewManagementtunnel(ctx, "managementtunnelResource", &system.ManagementtunnelArgs{
    	AllowCollectStatistics: pulumi.String("string"),
    	AllowConfigRestore:     pulumi.String("string"),
    	AllowPushConfiguration: pulumi.String("string"),
    	AllowPushFirmware:      pulumi.String("string"),
    	AuthorizedManagerOnly:  pulumi.String("string"),
    	SerialNumber:           pulumi.String("string"),
    	Status:                 pulumi.String("string"),
    	Vdomparam:              pulumi.String("string"),
    })
    
    var managementtunnelResource = new Managementtunnel("managementtunnelResource", ManagementtunnelArgs.builder()
        .allowCollectStatistics("string")
        .allowConfigRestore("string")
        .allowPushConfiguration("string")
        .allowPushFirmware("string")
        .authorizedManagerOnly("string")
        .serialNumber("string")
        .status("string")
        .vdomparam("string")
        .build());
    
    managementtunnel_resource = fortios.system.Managementtunnel("managementtunnelResource",
        allow_collect_statistics="string",
        allow_config_restore="string",
        allow_push_configuration="string",
        allow_push_firmware="string",
        authorized_manager_only="string",
        serial_number="string",
        status="string",
        vdomparam="string")
    
    const managementtunnelResource = new fortios.system.Managementtunnel("managementtunnelResource", {
        allowCollectStatistics: "string",
        allowConfigRestore: "string",
        allowPushConfiguration: "string",
        allowPushFirmware: "string",
        authorizedManagerOnly: "string",
        serialNumber: "string",
        status: "string",
        vdomparam: "string",
    });
    
    type: fortios:system:Managementtunnel
    properties:
        allowCollectStatistics: string
        allowConfigRestore: string
        allowPushConfiguration: string
        allowPushFirmware: string
        authorizedManagerOnly: string
        serialNumber: string
        status: string
        vdomparam: string
    

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

    AllowCollectStatistics string
    Enable/disable collection of run time statistics. Valid values: enable, disable.
    AllowConfigRestore string
    Enable/disable allow config restore. Valid values: enable, disable.
    AllowPushConfiguration string
    Enable/disable push configuration. Valid values: enable, disable.
    AllowPushFirmware string
    Enable/disable push firmware. Valid values: enable, disable.
    AuthorizedManagerOnly string
    Enable/disable restriction of authorized manager only. Valid values: enable, disable.
    SerialNumber string
    Serial number.
    Status string
    Enable/disable FGFM tunnel. Valid values: enable, disable.
    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.
    AllowCollectStatistics string
    Enable/disable collection of run time statistics. Valid values: enable, disable.
    AllowConfigRestore string
    Enable/disable allow config restore. Valid values: enable, disable.
    AllowPushConfiguration string
    Enable/disable push configuration. Valid values: enable, disable.
    AllowPushFirmware string
    Enable/disable push firmware. Valid values: enable, disable.
    AuthorizedManagerOnly string
    Enable/disable restriction of authorized manager only. Valid values: enable, disable.
    SerialNumber string
    Serial number.
    Status string
    Enable/disable FGFM tunnel. Valid values: enable, disable.
    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.
    allowCollectStatistics String
    Enable/disable collection of run time statistics. Valid values: enable, disable.
    allowConfigRestore String
    Enable/disable allow config restore. Valid values: enable, disable.
    allowPushConfiguration String
    Enable/disable push configuration. Valid values: enable, disable.
    allowPushFirmware String
    Enable/disable push firmware. Valid values: enable, disable.
    authorizedManagerOnly String
    Enable/disable restriction of authorized manager only. Valid values: enable, disable.
    serialNumber String
    Serial number.
    status String
    Enable/disable FGFM tunnel. Valid values: enable, disable.
    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.
    allowCollectStatistics string
    Enable/disable collection of run time statistics. Valid values: enable, disable.
    allowConfigRestore string
    Enable/disable allow config restore. Valid values: enable, disable.
    allowPushConfiguration string
    Enable/disable push configuration. Valid values: enable, disable.
    allowPushFirmware string
    Enable/disable push firmware. Valid values: enable, disable.
    authorizedManagerOnly string
    Enable/disable restriction of authorized manager only. Valid values: enable, disable.
    serialNumber string
    Serial number.
    status string
    Enable/disable FGFM tunnel. Valid values: enable, disable.
    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.
    allow_collect_statistics str
    Enable/disable collection of run time statistics. Valid values: enable, disable.
    allow_config_restore str
    Enable/disable allow config restore. Valid values: enable, disable.
    allow_push_configuration str
    Enable/disable push configuration. Valid values: enable, disable.
    allow_push_firmware str
    Enable/disable push firmware. Valid values: enable, disable.
    authorized_manager_only str
    Enable/disable restriction of authorized manager only. Valid values: enable, disable.
    serial_number str
    Serial number.
    status str
    Enable/disable FGFM tunnel. Valid values: enable, disable.
    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.
    allowCollectStatistics String
    Enable/disable collection of run time statistics. Valid values: enable, disable.
    allowConfigRestore String
    Enable/disable allow config restore. Valid values: enable, disable.
    allowPushConfiguration String
    Enable/disable push configuration. Valid values: enable, disable.
    allowPushFirmware String
    Enable/disable push firmware. Valid values: enable, disable.
    authorizedManagerOnly String
    Enable/disable restriction of authorized manager only. Valid values: enable, disable.
    serialNumber String
    Serial number.
    status String
    Enable/disable FGFM tunnel. Valid values: enable, disable.
    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 Managementtunnel 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 Managementtunnel Resource

    Get an existing Managementtunnel 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?: ManagementtunnelState, opts?: CustomResourceOptions): Managementtunnel
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            allow_collect_statistics: Optional[str] = None,
            allow_config_restore: Optional[str] = None,
            allow_push_configuration: Optional[str] = None,
            allow_push_firmware: Optional[str] = None,
            authorized_manager_only: Optional[str] = None,
            serial_number: Optional[str] = None,
            status: Optional[str] = None,
            vdomparam: Optional[str] = None) -> Managementtunnel
    func GetManagementtunnel(ctx *Context, name string, id IDInput, state *ManagementtunnelState, opts ...ResourceOption) (*Managementtunnel, error)
    public static Managementtunnel Get(string name, Input<string> id, ManagementtunnelState? state, CustomResourceOptions? opts = null)
    public static Managementtunnel get(String name, Output<String> id, ManagementtunnelState 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:
    AllowCollectStatistics string
    Enable/disable collection of run time statistics. Valid values: enable, disable.
    AllowConfigRestore string
    Enable/disable allow config restore. Valid values: enable, disable.
    AllowPushConfiguration string
    Enable/disable push configuration. Valid values: enable, disable.
    AllowPushFirmware string
    Enable/disable push firmware. Valid values: enable, disable.
    AuthorizedManagerOnly string
    Enable/disable restriction of authorized manager only. Valid values: enable, disable.
    SerialNumber string
    Serial number.
    Status string
    Enable/disable FGFM tunnel. Valid values: enable, disable.
    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.
    AllowCollectStatistics string
    Enable/disable collection of run time statistics. Valid values: enable, disable.
    AllowConfigRestore string
    Enable/disable allow config restore. Valid values: enable, disable.
    AllowPushConfiguration string
    Enable/disable push configuration. Valid values: enable, disable.
    AllowPushFirmware string
    Enable/disable push firmware. Valid values: enable, disable.
    AuthorizedManagerOnly string
    Enable/disable restriction of authorized manager only. Valid values: enable, disable.
    SerialNumber string
    Serial number.
    Status string
    Enable/disable FGFM tunnel. Valid values: enable, disable.
    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.
    allowCollectStatistics String
    Enable/disable collection of run time statistics. Valid values: enable, disable.
    allowConfigRestore String
    Enable/disable allow config restore. Valid values: enable, disable.
    allowPushConfiguration String
    Enable/disable push configuration. Valid values: enable, disable.
    allowPushFirmware String
    Enable/disable push firmware. Valid values: enable, disable.
    authorizedManagerOnly String
    Enable/disable restriction of authorized manager only. Valid values: enable, disable.
    serialNumber String
    Serial number.
    status String
    Enable/disable FGFM tunnel. Valid values: enable, disable.
    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.
    allowCollectStatistics string
    Enable/disable collection of run time statistics. Valid values: enable, disable.
    allowConfigRestore string
    Enable/disable allow config restore. Valid values: enable, disable.
    allowPushConfiguration string
    Enable/disable push configuration. Valid values: enable, disable.
    allowPushFirmware string
    Enable/disable push firmware. Valid values: enable, disable.
    authorizedManagerOnly string
    Enable/disable restriction of authorized manager only. Valid values: enable, disable.
    serialNumber string
    Serial number.
    status string
    Enable/disable FGFM tunnel. Valid values: enable, disable.
    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.
    allow_collect_statistics str
    Enable/disable collection of run time statistics. Valid values: enable, disable.
    allow_config_restore str
    Enable/disable allow config restore. Valid values: enable, disable.
    allow_push_configuration str
    Enable/disable push configuration. Valid values: enable, disable.
    allow_push_firmware str
    Enable/disable push firmware. Valid values: enable, disable.
    authorized_manager_only str
    Enable/disable restriction of authorized manager only. Valid values: enable, disable.
    serial_number str
    Serial number.
    status str
    Enable/disable FGFM tunnel. Valid values: enable, disable.
    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.
    allowCollectStatistics String
    Enable/disable collection of run time statistics. Valid values: enable, disable.
    allowConfigRestore String
    Enable/disable allow config restore. Valid values: enable, disable.
    allowPushConfiguration String
    Enable/disable push configuration. Valid values: enable, disable.
    allowPushFirmware String
    Enable/disable push firmware. Valid values: enable, disable.
    authorizedManagerOnly String
    Enable/disable restriction of authorized manager only. Valid values: enable, disable.
    serialNumber String
    Serial number.
    status String
    Enable/disable FGFM tunnel. Valid values: enable, disable.
    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

    System ManagementTunnel can be imported using any of these accepted formats:

    $ pulumi import fortios:system/managementtunnel:Managementtunnel labelname SystemManagementTunnel
    

    If you do not want to import arguments of block:

    $ export “FORTIOS_IMPORT_TABLE”=“false”

    $ pulumi import fortios:system/managementtunnel:Managementtunnel labelname SystemManagementTunnel
    

    $ 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.5 published on Tuesday, Apr 9, 2024 by pulumiverse