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

fortios.system.Virtualswitch

Explore with Pulumi AI

Configure virtual hardware switch interfaces. Applies to FortiOS Version 7.0.4.

Create Virtualswitch Resource

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

Constructor syntax

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

@overload
def Virtualswitch(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  dynamic_sort_subtable: Optional[str] = None,
                  get_all_tables: Optional[str] = None,
                  name: Optional[str] = None,
                  physical_switch: Optional[str] = None,
                  ports: Optional[Sequence[VirtualswitchPortArgs]] = None,
                  span: Optional[str] = None,
                  span_dest_port: Optional[str] = None,
                  span_direction: Optional[str] = None,
                  span_source_port: Optional[str] = None,
                  vdomparam: Optional[str] = None,
                  vlan: Optional[int] = None)
func NewVirtualswitch(ctx *Context, name string, args *VirtualswitchArgs, opts ...ResourceOption) (*Virtualswitch, error)
public Virtualswitch(string name, VirtualswitchArgs? args = null, CustomResourceOptions? opts = null)
public Virtualswitch(String name, VirtualswitchArgs args)
public Virtualswitch(String name, VirtualswitchArgs args, CustomResourceOptions options)
type: fortios:system:Virtualswitch
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 VirtualswitchArgs
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 VirtualswitchArgs
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 VirtualswitchArgs
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 VirtualswitchArgs
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. VirtualswitchArgs
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 virtualswitchResource = new Fortios.System.Virtualswitch("virtualswitchResource", new()
{
    DynamicSortSubtable = "string",
    GetAllTables = "string",
    Name = "string",
    PhysicalSwitch = "string",
    Ports = new[]
    {
        new Fortios.System.Inputs.VirtualswitchPortArgs
        {
            Alias = "string",
            Name = "string",
        },
    },
    Span = "string",
    SpanDestPort = "string",
    SpanDirection = "string",
    SpanSourcePort = "string",
    Vdomparam = "string",
    Vlan = 0,
});
Copy
example, err := system.NewVirtualswitch(ctx, "virtualswitchResource", &system.VirtualswitchArgs{
	DynamicSortSubtable: pulumi.String("string"),
	GetAllTables:        pulumi.String("string"),
	Name:                pulumi.String("string"),
	PhysicalSwitch:      pulumi.String("string"),
	Ports: system.VirtualswitchPortArray{
		&system.VirtualswitchPortArgs{
			Alias: pulumi.String("string"),
			Name:  pulumi.String("string"),
		},
	},
	Span:           pulumi.String("string"),
	SpanDestPort:   pulumi.String("string"),
	SpanDirection:  pulumi.String("string"),
	SpanSourcePort: pulumi.String("string"),
	Vdomparam:      pulumi.String("string"),
	Vlan:           pulumi.Int(0),
})
Copy
var virtualswitchResource = new Virtualswitch("virtualswitchResource", VirtualswitchArgs.builder()
    .dynamicSortSubtable("string")
    .getAllTables("string")
    .name("string")
    .physicalSwitch("string")
    .ports(VirtualswitchPortArgs.builder()
        .alias("string")
        .name("string")
        .build())
    .span("string")
    .spanDestPort("string")
    .spanDirection("string")
    .spanSourcePort("string")
    .vdomparam("string")
    .vlan(0)
    .build());
Copy
virtualswitch_resource = fortios.system.Virtualswitch("virtualswitchResource",
    dynamic_sort_subtable="string",
    get_all_tables="string",
    name="string",
    physical_switch="string",
    ports=[{
        "alias": "string",
        "name": "string",
    }],
    span="string",
    span_dest_port="string",
    span_direction="string",
    span_source_port="string",
    vdomparam="string",
    vlan=0)
Copy
const virtualswitchResource = new fortios.system.Virtualswitch("virtualswitchResource", {
    dynamicSortSubtable: "string",
    getAllTables: "string",
    name: "string",
    physicalSwitch: "string",
    ports: [{
        alias: "string",
        name: "string",
    }],
    span: "string",
    spanDestPort: "string",
    spanDirection: "string",
    spanSourcePort: "string",
    vdomparam: "string",
    vlan: 0,
});
Copy
type: fortios:system:Virtualswitch
properties:
    dynamicSortSubtable: string
    getAllTables: string
    name: string
    physicalSwitch: string
    ports:
        - alias: string
          name: string
    span: string
    spanDestPort: string
    spanDirection: string
    spanSourcePort: string
    vdomparam: string
    vlan: 0
Copy

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

DynamicSortSubtable string
Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
GetAllTables string
Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
Name Changes to this property will trigger replacement. string
Name of the virtual switch.
PhysicalSwitch string
Physical switch parent.
Ports List<Pulumiverse.Fortios.System.Inputs.VirtualswitchPort>
Configure member ports. The structure of port block is documented below.
Span string
Enable/disable SPAN. Valid values: disable, enable.
SpanDestPort string
SPAN destination port.
SpanDirection string
SPAN direction. Valid values: rx, tx, both.
SpanSourcePort string
SPAN source port.
Vdomparam Changes to this property will trigger replacement. 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.
Vlan int
VLAN.
DynamicSortSubtable string
Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
GetAllTables string
Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
Name Changes to this property will trigger replacement. string
Name of the virtual switch.
PhysicalSwitch string
Physical switch parent.
Ports []VirtualswitchPortArgs
Configure member ports. The structure of port block is documented below.
Span string
Enable/disable SPAN. Valid values: disable, enable.
SpanDestPort string
SPAN destination port.
SpanDirection string
SPAN direction. Valid values: rx, tx, both.
SpanSourcePort string
SPAN source port.
Vdomparam Changes to this property will trigger replacement. 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.
Vlan int
VLAN.
dynamicSortSubtable String
Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
getAllTables String
Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
name Changes to this property will trigger replacement. String
Name of the virtual switch.
physicalSwitch String
Physical switch parent.
ports List<VirtualswitchPort>
Configure member ports. The structure of port block is documented below.
span String
Enable/disable SPAN. Valid values: disable, enable.
spanDestPort String
SPAN destination port.
spanDirection String
SPAN direction. Valid values: rx, tx, both.
spanSourcePort String
SPAN source port.
vdomparam Changes to this property will trigger replacement. 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.
vlan Integer
VLAN.
dynamicSortSubtable string
Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
getAllTables string
Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
name Changes to this property will trigger replacement. string
Name of the virtual switch.
physicalSwitch string
Physical switch parent.
ports VirtualswitchPort[]
Configure member ports. The structure of port block is documented below.
span string
Enable/disable SPAN. Valid values: disable, enable.
spanDestPort string
SPAN destination port.
spanDirection string
SPAN direction. Valid values: rx, tx, both.
spanSourcePort string
SPAN source port.
vdomparam Changes to this property will trigger replacement. 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.
vlan number
VLAN.
dynamic_sort_subtable str
Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
get_all_tables str
Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
name Changes to this property will trigger replacement. str
Name of the virtual switch.
physical_switch str
Physical switch parent.
ports Sequence[VirtualswitchPortArgs]
Configure member ports. The structure of port block is documented below.
span str
Enable/disable SPAN. Valid values: disable, enable.
span_dest_port str
SPAN destination port.
span_direction str
SPAN direction. Valid values: rx, tx, both.
span_source_port str
SPAN source port.
vdomparam Changes to this property will trigger replacement. 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.
vlan int
VLAN.
dynamicSortSubtable String
Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
getAllTables String
Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
name Changes to this property will trigger replacement. String
Name of the virtual switch.
physicalSwitch String
Physical switch parent.
ports List<Property Map>
Configure member ports. The structure of port block is documented below.
span String
Enable/disable SPAN. Valid values: disable, enable.
spanDestPort String
SPAN destination port.
spanDirection String
SPAN direction. Valid values: rx, tx, both.
spanSourcePort String
SPAN source port.
vdomparam Changes to this property will trigger replacement. 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.
vlan Number
VLAN.

Outputs

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

Get an existing Virtualswitch 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?: VirtualswitchState, opts?: CustomResourceOptions): Virtualswitch
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        dynamic_sort_subtable: Optional[str] = None,
        get_all_tables: Optional[str] = None,
        name: Optional[str] = None,
        physical_switch: Optional[str] = None,
        ports: Optional[Sequence[VirtualswitchPortArgs]] = None,
        span: Optional[str] = None,
        span_dest_port: Optional[str] = None,
        span_direction: Optional[str] = None,
        span_source_port: Optional[str] = None,
        vdomparam: Optional[str] = None,
        vlan: Optional[int] = None) -> Virtualswitch
func GetVirtualswitch(ctx *Context, name string, id IDInput, state *VirtualswitchState, opts ...ResourceOption) (*Virtualswitch, error)
public static Virtualswitch Get(string name, Input<string> id, VirtualswitchState? state, CustomResourceOptions? opts = null)
public static Virtualswitch get(String name, Output<String> id, VirtualswitchState state, CustomResourceOptions options)
resources:  _:    type: fortios:system:Virtualswitch    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:
DynamicSortSubtable string
Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
GetAllTables string
Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
Name Changes to this property will trigger replacement. string
Name of the virtual switch.
PhysicalSwitch string
Physical switch parent.
Ports List<Pulumiverse.Fortios.System.Inputs.VirtualswitchPort>
Configure member ports. The structure of port block is documented below.
Span string
Enable/disable SPAN. Valid values: disable, enable.
SpanDestPort string
SPAN destination port.
SpanDirection string
SPAN direction. Valid values: rx, tx, both.
SpanSourcePort string
SPAN source port.
Vdomparam Changes to this property will trigger replacement. 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.
Vlan int
VLAN.
DynamicSortSubtable string
Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
GetAllTables string
Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
Name Changes to this property will trigger replacement. string
Name of the virtual switch.
PhysicalSwitch string
Physical switch parent.
Ports []VirtualswitchPortArgs
Configure member ports. The structure of port block is documented below.
Span string
Enable/disable SPAN. Valid values: disable, enable.
SpanDestPort string
SPAN destination port.
SpanDirection string
SPAN direction. Valid values: rx, tx, both.
SpanSourcePort string
SPAN source port.
Vdomparam Changes to this property will trigger replacement. 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.
Vlan int
VLAN.
dynamicSortSubtable String
Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
getAllTables String
Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
name Changes to this property will trigger replacement. String
Name of the virtual switch.
physicalSwitch String
Physical switch parent.
ports List<VirtualswitchPort>
Configure member ports. The structure of port block is documented below.
span String
Enable/disable SPAN. Valid values: disable, enable.
spanDestPort String
SPAN destination port.
spanDirection String
SPAN direction. Valid values: rx, tx, both.
spanSourcePort String
SPAN source port.
vdomparam Changes to this property will trigger replacement. 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.
vlan Integer
VLAN.
dynamicSortSubtable string
Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
getAllTables string
Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
name Changes to this property will trigger replacement. string
Name of the virtual switch.
physicalSwitch string
Physical switch parent.
ports VirtualswitchPort[]
Configure member ports. The structure of port block is documented below.
span string
Enable/disable SPAN. Valid values: disable, enable.
spanDestPort string
SPAN destination port.
spanDirection string
SPAN direction. Valid values: rx, tx, both.
spanSourcePort string
SPAN source port.
vdomparam Changes to this property will trigger replacement. 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.
vlan number
VLAN.
dynamic_sort_subtable str
Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
get_all_tables str
Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
name Changes to this property will trigger replacement. str
Name of the virtual switch.
physical_switch str
Physical switch parent.
ports Sequence[VirtualswitchPortArgs]
Configure member ports. The structure of port block is documented below.
span str
Enable/disable SPAN. Valid values: disable, enable.
span_dest_port str
SPAN destination port.
span_direction str
SPAN direction. Valid values: rx, tx, both.
span_source_port str
SPAN source port.
vdomparam Changes to this property will trigger replacement. 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.
vlan int
VLAN.
dynamicSortSubtable String
Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
getAllTables String
Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
name Changes to this property will trigger replacement. String
Name of the virtual switch.
physicalSwitch String
Physical switch parent.
ports List<Property Map>
Configure member ports. The structure of port block is documented below.
span String
Enable/disable SPAN. Valid values: disable, enable.
spanDestPort String
SPAN destination port.
spanDirection String
SPAN direction. Valid values: rx, tx, both.
spanSourcePort String
SPAN source port.
vdomparam Changes to this property will trigger replacement. 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.
vlan Number
VLAN.

Supporting Types

VirtualswitchPort
, VirtualswitchPortArgs

Alias string
Alias.
Name string
Physical interface name.
Alias string
Alias.
Name string
Physical interface name.
alias String
Alias.
name String
Physical interface name.
alias string
Alias.
name string
Physical interface name.
alias str
Alias.
name str
Physical interface name.
alias String
Alias.
name String
Physical interface name.

Import

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

$ pulumi import fortios:system/virtualswitch:Virtualswitch labelname {{name}}
Copy

If you do not want to import arguments of block:

$ export “FORTIOS_IMPORT_TABLE”=“false”

$ pulumi import fortios:system/virtualswitch:Virtualswitch labelname {{name}}
Copy

$ 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.