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

fortios.system.Networkvisibility

Explore with Pulumi AI

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

    Configure network visibility settings.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as fortios from "@pulumiverse/fortios";
    
    const trname = new fortios.system.Networkvisibility("trname", {
        destinationHostnameVisibility: "enable",
        destinationLocation: "enable",
        destinationVisibility: "enable",
        hostnameLimit: 5000,
        hostnameTtl: 86400,
        sourceLocation: "enable",
    });
    
    import pulumi
    import pulumiverse_fortios as fortios
    
    trname = fortios.system.Networkvisibility("trname",
        destination_hostname_visibility="enable",
        destination_location="enable",
        destination_visibility="enable",
        hostname_limit=5000,
        hostname_ttl=86400,
        source_location="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.NewNetworkvisibility(ctx, "trname", &system.NetworkvisibilityArgs{
    			DestinationHostnameVisibility: pulumi.String("enable"),
    			DestinationLocation:           pulumi.String("enable"),
    			DestinationVisibility:         pulumi.String("enable"),
    			HostnameLimit:                 pulumi.Int(5000),
    			HostnameTtl:                   pulumi.Int(86400),
    			SourceLocation:                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.Networkvisibility("trname", new()
        {
            DestinationHostnameVisibility = "enable",
            DestinationLocation = "enable",
            DestinationVisibility = "enable",
            HostnameLimit = 5000,
            HostnameTtl = 86400,
            SourceLocation = "enable",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.fortios.system.Networkvisibility;
    import com.pulumi.fortios.system.NetworkvisibilityArgs;
    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 Networkvisibility("trname", NetworkvisibilityArgs.builder()        
                .destinationHostnameVisibility("enable")
                .destinationLocation("enable")
                .destinationVisibility("enable")
                .hostnameLimit(5000)
                .hostnameTtl(86400)
                .sourceLocation("enable")
                .build());
    
        }
    }
    
    resources:
      trname:
        type: fortios:system:Networkvisibility
        properties:
          destinationHostnameVisibility: enable
          destinationLocation: enable
          destinationVisibility: enable
          hostnameLimit: 5000
          hostnameTtl: 86400
          sourceLocation: enable
    

    Create Networkvisibility Resource

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

    Constructor syntax

    new Networkvisibility(name: string, args?: NetworkvisibilityArgs, opts?: CustomResourceOptions);
    @overload
    def Networkvisibility(resource_name: str,
                          args: Optional[NetworkvisibilityArgs] = None,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def Networkvisibility(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          destination_hostname_visibility: Optional[str] = None,
                          destination_location: Optional[str] = None,
                          destination_visibility: Optional[str] = None,
                          hostname_limit: Optional[int] = None,
                          hostname_ttl: Optional[int] = None,
                          source_location: Optional[str] = None,
                          vdomparam: Optional[str] = None)
    func NewNetworkvisibility(ctx *Context, name string, args *NetworkvisibilityArgs, opts ...ResourceOption) (*Networkvisibility, error)
    public Networkvisibility(string name, NetworkvisibilityArgs? args = null, CustomResourceOptions? opts = null)
    public Networkvisibility(String name, NetworkvisibilityArgs args)
    public Networkvisibility(String name, NetworkvisibilityArgs args, CustomResourceOptions options)
    
    type: fortios:system:Networkvisibility
    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 NetworkvisibilityArgs
    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 NetworkvisibilityArgs
    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 NetworkvisibilityArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args NetworkvisibilityArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args NetworkvisibilityArgs
    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 networkvisibilityResource = new Fortios.System.Networkvisibility("networkvisibilityResource", new()
    {
        DestinationHostnameVisibility = "string",
        DestinationLocation = "string",
        DestinationVisibility = "string",
        HostnameLimit = 0,
        HostnameTtl = 0,
        SourceLocation = "string",
        Vdomparam = "string",
    });
    
    example, err := system.NewNetworkvisibility(ctx, "networkvisibilityResource", &system.NetworkvisibilityArgs{
    	DestinationHostnameVisibility: pulumi.String("string"),
    	DestinationLocation:           pulumi.String("string"),
    	DestinationVisibility:         pulumi.String("string"),
    	HostnameLimit:                 pulumi.Int(0),
    	HostnameTtl:                   pulumi.Int(0),
    	SourceLocation:                pulumi.String("string"),
    	Vdomparam:                     pulumi.String("string"),
    })
    
    var networkvisibilityResource = new Networkvisibility("networkvisibilityResource", NetworkvisibilityArgs.builder()
        .destinationHostnameVisibility("string")
        .destinationLocation("string")
        .destinationVisibility("string")
        .hostnameLimit(0)
        .hostnameTtl(0)
        .sourceLocation("string")
        .vdomparam("string")
        .build());
    
    networkvisibility_resource = fortios.system.Networkvisibility("networkvisibilityResource",
        destination_hostname_visibility="string",
        destination_location="string",
        destination_visibility="string",
        hostname_limit=0,
        hostname_ttl=0,
        source_location="string",
        vdomparam="string")
    
    const networkvisibilityResource = new fortios.system.Networkvisibility("networkvisibilityResource", {
        destinationHostnameVisibility: "string",
        destinationLocation: "string",
        destinationVisibility: "string",
        hostnameLimit: 0,
        hostnameTtl: 0,
        sourceLocation: "string",
        vdomparam: "string",
    });
    
    type: fortios:system:Networkvisibility
    properties:
        destinationHostnameVisibility: string
        destinationLocation: string
        destinationVisibility: string
        hostnameLimit: 0
        hostnameTtl: 0
        sourceLocation: string
        vdomparam: string
    

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

    DestinationHostnameVisibility string
    Enable/disable logging of destination hostname visibility. Valid values: disable, enable.
    DestinationLocation string
    Enable/disable logging of destination geographical location visibility. Valid values: disable, enable.
    DestinationVisibility string
    Enable/disable logging of destination visibility. Valid values: disable, enable.
    HostnameLimit int
    Limit of the number of hostname table entries (0 - 50000).
    HostnameTtl int
    TTL of hostname table entries (60 - 86400).
    SourceLocation string
    Enable/disable logging of source geographical location visibility. Valid values: disable, enable.
    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.
    DestinationHostnameVisibility string
    Enable/disable logging of destination hostname visibility. Valid values: disable, enable.
    DestinationLocation string
    Enable/disable logging of destination geographical location visibility. Valid values: disable, enable.
    DestinationVisibility string
    Enable/disable logging of destination visibility. Valid values: disable, enable.
    HostnameLimit int
    Limit of the number of hostname table entries (0 - 50000).
    HostnameTtl int
    TTL of hostname table entries (60 - 86400).
    SourceLocation string
    Enable/disable logging of source geographical location visibility. Valid values: disable, enable.
    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.
    destinationHostnameVisibility String
    Enable/disable logging of destination hostname visibility. Valid values: disable, enable.
    destinationLocation String
    Enable/disable logging of destination geographical location visibility. Valid values: disable, enable.
    destinationVisibility String
    Enable/disable logging of destination visibility. Valid values: disable, enable.
    hostnameLimit Integer
    Limit of the number of hostname table entries (0 - 50000).
    hostnameTtl Integer
    TTL of hostname table entries (60 - 86400).
    sourceLocation String
    Enable/disable logging of source geographical location visibility. Valid values: disable, enable.
    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.
    destinationHostnameVisibility string
    Enable/disable logging of destination hostname visibility. Valid values: disable, enable.
    destinationLocation string
    Enable/disable logging of destination geographical location visibility. Valid values: disable, enable.
    destinationVisibility string
    Enable/disable logging of destination visibility. Valid values: disable, enable.
    hostnameLimit number
    Limit of the number of hostname table entries (0 - 50000).
    hostnameTtl number
    TTL of hostname table entries (60 - 86400).
    sourceLocation string
    Enable/disable logging of source geographical location visibility. Valid values: disable, enable.
    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.
    destination_hostname_visibility str
    Enable/disable logging of destination hostname visibility. Valid values: disable, enable.
    destination_location str
    Enable/disable logging of destination geographical location visibility. Valid values: disable, enable.
    destination_visibility str
    Enable/disable logging of destination visibility. Valid values: disable, enable.
    hostname_limit int
    Limit of the number of hostname table entries (0 - 50000).
    hostname_ttl int
    TTL of hostname table entries (60 - 86400).
    source_location str
    Enable/disable logging of source geographical location visibility. Valid values: disable, enable.
    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.
    destinationHostnameVisibility String
    Enable/disable logging of destination hostname visibility. Valid values: disable, enable.
    destinationLocation String
    Enable/disable logging of destination geographical location visibility. Valid values: disable, enable.
    destinationVisibility String
    Enable/disable logging of destination visibility. Valid values: disable, enable.
    hostnameLimit Number
    Limit of the number of hostname table entries (0 - 50000).
    hostnameTtl Number
    TTL of hostname table entries (60 - 86400).
    sourceLocation String
    Enable/disable logging of source geographical location visibility. Valid values: disable, enable.
    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 Networkvisibility 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 Networkvisibility Resource

    Get an existing Networkvisibility 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?: NetworkvisibilityState, opts?: CustomResourceOptions): Networkvisibility
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            destination_hostname_visibility: Optional[str] = None,
            destination_location: Optional[str] = None,
            destination_visibility: Optional[str] = None,
            hostname_limit: Optional[int] = None,
            hostname_ttl: Optional[int] = None,
            source_location: Optional[str] = None,
            vdomparam: Optional[str] = None) -> Networkvisibility
    func GetNetworkvisibility(ctx *Context, name string, id IDInput, state *NetworkvisibilityState, opts ...ResourceOption) (*Networkvisibility, error)
    public static Networkvisibility Get(string name, Input<string> id, NetworkvisibilityState? state, CustomResourceOptions? opts = null)
    public static Networkvisibility get(String name, Output<String> id, NetworkvisibilityState 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:
    DestinationHostnameVisibility string
    Enable/disable logging of destination hostname visibility. Valid values: disable, enable.
    DestinationLocation string
    Enable/disable logging of destination geographical location visibility. Valid values: disable, enable.
    DestinationVisibility string
    Enable/disable logging of destination visibility. Valid values: disable, enable.
    HostnameLimit int
    Limit of the number of hostname table entries (0 - 50000).
    HostnameTtl int
    TTL of hostname table entries (60 - 86400).
    SourceLocation string
    Enable/disable logging of source geographical location visibility. Valid values: disable, enable.
    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.
    DestinationHostnameVisibility string
    Enable/disable logging of destination hostname visibility. Valid values: disable, enable.
    DestinationLocation string
    Enable/disable logging of destination geographical location visibility. Valid values: disable, enable.
    DestinationVisibility string
    Enable/disable logging of destination visibility. Valid values: disable, enable.
    HostnameLimit int
    Limit of the number of hostname table entries (0 - 50000).
    HostnameTtl int
    TTL of hostname table entries (60 - 86400).
    SourceLocation string
    Enable/disable logging of source geographical location visibility. Valid values: disable, enable.
    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.
    destinationHostnameVisibility String
    Enable/disable logging of destination hostname visibility. Valid values: disable, enable.
    destinationLocation String
    Enable/disable logging of destination geographical location visibility. Valid values: disable, enable.
    destinationVisibility String
    Enable/disable logging of destination visibility. Valid values: disable, enable.
    hostnameLimit Integer
    Limit of the number of hostname table entries (0 - 50000).
    hostnameTtl Integer
    TTL of hostname table entries (60 - 86400).
    sourceLocation String
    Enable/disable logging of source geographical location visibility. Valid values: disable, enable.
    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.
    destinationHostnameVisibility string
    Enable/disable logging of destination hostname visibility. Valid values: disable, enable.
    destinationLocation string
    Enable/disable logging of destination geographical location visibility. Valid values: disable, enable.
    destinationVisibility string
    Enable/disable logging of destination visibility. Valid values: disable, enable.
    hostnameLimit number
    Limit of the number of hostname table entries (0 - 50000).
    hostnameTtl number
    TTL of hostname table entries (60 - 86400).
    sourceLocation string
    Enable/disable logging of source geographical location visibility. Valid values: disable, enable.
    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.
    destination_hostname_visibility str
    Enable/disable logging of destination hostname visibility. Valid values: disable, enable.
    destination_location str
    Enable/disable logging of destination geographical location visibility. Valid values: disable, enable.
    destination_visibility str
    Enable/disable logging of destination visibility. Valid values: disable, enable.
    hostname_limit int
    Limit of the number of hostname table entries (0 - 50000).
    hostname_ttl int
    TTL of hostname table entries (60 - 86400).
    source_location str
    Enable/disable logging of source geographical location visibility. Valid values: disable, enable.
    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.
    destinationHostnameVisibility String
    Enable/disable logging of destination hostname visibility. Valid values: disable, enable.
    destinationLocation String
    Enable/disable logging of destination geographical location visibility. Valid values: disable, enable.
    destinationVisibility String
    Enable/disable logging of destination visibility. Valid values: disable, enable.
    hostnameLimit Number
    Limit of the number of hostname table entries (0 - 50000).
    hostnameTtl Number
    TTL of hostname table entries (60 - 86400).
    sourceLocation String
    Enable/disable logging of source geographical location visibility. Valid values: disable, enable.
    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 NetworkVisibility can be imported using any of these accepted formats:

    $ pulumi import fortios:system/networkvisibility:Networkvisibility labelname SystemNetworkVisibility
    

    If you do not want to import arguments of block:

    $ export “FORTIOS_IMPORT_TABLE”=“false”

    $ pulumi import fortios:system/networkvisibility:Networkvisibility labelname SystemNetworkVisibility
    

    $ 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