1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. ObjectSwitchcontrollerDynamicportpolicy
fortimanager 1.13.0 published on Thursday, Mar 13, 2025 by fortinetdev

fortimanager.ObjectSwitchcontrollerDynamicportpolicy

Explore with Pulumi AI

Configure Dynamic port policy to be applied on the managed FortiSwitch ports through DPP device.

The following variables have sub resource. Avoid using them together, otherwise conflicts and overwrites may occur.

  • policy: fortimanager.ObjectSwitchcontrollerDynamicportpolicyPolicy

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as fortimanager from "@pulumi/fortimanager";

const trname = new fortimanager.ObjectSwitchcontrollerDynamicportpolicy("trname", {policies: [{
    mac: "00:00:5e:00:53:af",
    name: "policy3",
}]});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname = fortimanager.ObjectSwitchcontrollerDynamicportpolicy("trname", policies=[{
    "mac": "00:00:5e:00:53:af",
    "name": "policy3",
}])
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/fortimanager/fortimanager"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := fortimanager.NewObjectSwitchcontrollerDynamicportpolicy(ctx, "trname", &fortimanager.ObjectSwitchcontrollerDynamicportpolicyArgs{
			Policies: fortimanager.ObjectSwitchcontrollerDynamicportpolicyPolicyTypeArray{
				&fortimanager.ObjectSwitchcontrollerDynamicportpolicyPolicyTypeArgs{
					Mac:  pulumi.String("00:00:5e:00:53:af"),
					Name: pulumi.String("policy3"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fortimanager = Pulumi.Fortimanager;

return await Deployment.RunAsync(() => 
{
    var trname = new Fortimanager.ObjectSwitchcontrollerDynamicportpolicy("trname", new()
    {
        Policies = new[]
        {
            new Fortimanager.Inputs.ObjectSwitchcontrollerDynamicportpolicyPolicyArgs
            {
                Mac = "00:00:5e:00:53:af",
                Name = "policy3",
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.ObjectSwitchcontrollerDynamicportpolicy;
import com.pulumi.fortimanager.ObjectSwitchcontrollerDynamicportpolicyArgs;
import com.pulumi.fortimanager.inputs.ObjectSwitchcontrollerDynamicportpolicyPolicyArgs;
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 ObjectSwitchcontrollerDynamicportpolicy("trname", ObjectSwitchcontrollerDynamicportpolicyArgs.builder()
            .policies(ObjectSwitchcontrollerDynamicportpolicyPolicyArgs.builder()
                .mac("00:00:5e:00:53:af")
                .name("policy3")
                .build())
            .build());

    }
}
Copy
resources:
  trname:
    type: fortimanager:ObjectSwitchcontrollerDynamicportpolicy
    properties:
      policies:
        - mac: 00:00:5e:00:53:af
          name: policy3
Copy

Create ObjectSwitchcontrollerDynamicportpolicy Resource

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

Constructor syntax

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

@overload
def ObjectSwitchcontrollerDynamicportpolicy(resource_name: str,
                                            opts: Optional[ResourceOptions] = None,
                                            adom: Optional[str] = None,
                                            description: Optional[str] = None,
                                            dynamic_sort_subtable: Optional[str] = None,
                                            name: Optional[str] = None,
                                            object_switchcontroller_dynamicportpolicy_id: Optional[str] = None,
                                            policies: Optional[Sequence[ObjectSwitchcontrollerDynamicportpolicyPolicyArgs]] = None,
                                            scopetype: Optional[str] = None)
func NewObjectSwitchcontrollerDynamicportpolicy(ctx *Context, name string, args *ObjectSwitchcontrollerDynamicportpolicyArgs, opts ...ResourceOption) (*ObjectSwitchcontrollerDynamicportpolicy, error)
public ObjectSwitchcontrollerDynamicportpolicy(string name, ObjectSwitchcontrollerDynamicportpolicyArgs? args = null, CustomResourceOptions? opts = null)
public ObjectSwitchcontrollerDynamicportpolicy(String name, ObjectSwitchcontrollerDynamicportpolicyArgs args)
public ObjectSwitchcontrollerDynamicportpolicy(String name, ObjectSwitchcontrollerDynamicportpolicyArgs args, CustomResourceOptions options)
type: fortimanager:ObjectSwitchcontrollerDynamicportpolicy
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 ObjectSwitchcontrollerDynamicportpolicyArgs
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 ObjectSwitchcontrollerDynamicportpolicyArgs
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 ObjectSwitchcontrollerDynamicportpolicyArgs
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 ObjectSwitchcontrollerDynamicportpolicyArgs
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. ObjectSwitchcontrollerDynamicportpolicyArgs
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 objectSwitchcontrollerDynamicportpolicyResource = new Fortimanager.ObjectSwitchcontrollerDynamicportpolicy("objectSwitchcontrollerDynamicportpolicyResource", new()
{
    Adom = "string",
    Description = "string",
    DynamicSortSubtable = "string",
    Name = "string",
    ObjectSwitchcontrollerDynamicportpolicyId = "string",
    Policies = new[]
    {
        new Fortimanager.Inputs.ObjectSwitchcontrollerDynamicportpolicyPolicyArgs
        {
            BouncePortLink = "string",
            Category = "string",
            Description = "string",
            Family = "string",
            Host = "string",
            HwVendor = "string",
            InterfaceTags = new[]
            {
                "string",
            },
            LldpProfile = "string",
            Mac = "string",
            N8021x = "string",
            Name = "string",
            QosPolicy = "string",
            Status = "string",
            Type = "string",
            VlanPolicy = "string",
        },
    },
    Scopetype = "string",
});
Copy
example, err := fortimanager.NewObjectSwitchcontrollerDynamicportpolicy(ctx, "objectSwitchcontrollerDynamicportpolicyResource", &fortimanager.ObjectSwitchcontrollerDynamicportpolicyArgs{
Adom: pulumi.String("string"),
Description: pulumi.String("string"),
DynamicSortSubtable: pulumi.String("string"),
Name: pulumi.String("string"),
ObjectSwitchcontrollerDynamicportpolicyId: pulumi.String("string"),
Policies: .ObjectSwitchcontrollerDynamicportpolicyPolicyTypeArray{
&.ObjectSwitchcontrollerDynamicportpolicyPolicyTypeArgs{
BouncePortLink: pulumi.String("string"),
Category: pulumi.String("string"),
Description: pulumi.String("string"),
Family: pulumi.String("string"),
Host: pulumi.String("string"),
HwVendor: pulumi.String("string"),
InterfaceTags: pulumi.StringArray{
pulumi.String("string"),
},
LldpProfile: pulumi.String("string"),
Mac: pulumi.String("string"),
N8021x: pulumi.String("string"),
Name: pulumi.String("string"),
QosPolicy: pulumi.String("string"),
Status: pulumi.String("string"),
Type: pulumi.String("string"),
VlanPolicy: pulumi.String("string"),
},
},
Scopetype: pulumi.String("string"),
})
Copy
var objectSwitchcontrollerDynamicportpolicyResource = new ObjectSwitchcontrollerDynamicportpolicy("objectSwitchcontrollerDynamicportpolicyResource", ObjectSwitchcontrollerDynamicportpolicyArgs.builder()
    .adom("string")
    .description("string")
    .dynamicSortSubtable("string")
    .name("string")
    .objectSwitchcontrollerDynamicportpolicyId("string")
    .policies(ObjectSwitchcontrollerDynamicportpolicyPolicyArgs.builder()
        .bouncePortLink("string")
        .category("string")
        .description("string")
        .family("string")
        .host("string")
        .hwVendor("string")
        .interfaceTags("string")
        .lldpProfile("string")
        .mac("string")
        .n8021x("string")
        .name("string")
        .qosPolicy("string")
        .status("string")
        .type("string")
        .vlanPolicy("string")
        .build())
    .scopetype("string")
    .build());
Copy
object_switchcontroller_dynamicportpolicy_resource = fortimanager.ObjectSwitchcontrollerDynamicportpolicy("objectSwitchcontrollerDynamicportpolicyResource",
    adom="string",
    description="string",
    dynamic_sort_subtable="string",
    name="string",
    object_switchcontroller_dynamicportpolicy_id="string",
    policies=[{
        "bounce_port_link": "string",
        "category": "string",
        "description": "string",
        "family": "string",
        "host": "string",
        "hw_vendor": "string",
        "interface_tags": ["string"],
        "lldp_profile": "string",
        "mac": "string",
        "n8021x": "string",
        "name": "string",
        "qos_policy": "string",
        "status": "string",
        "type": "string",
        "vlan_policy": "string",
    }],
    scopetype="string")
Copy
const objectSwitchcontrollerDynamicportpolicyResource = new fortimanager.ObjectSwitchcontrollerDynamicportpolicy("objectSwitchcontrollerDynamicportpolicyResource", {
    adom: "string",
    description: "string",
    dynamicSortSubtable: "string",
    name: "string",
    objectSwitchcontrollerDynamicportpolicyId: "string",
    policies: [{
        bouncePortLink: "string",
        category: "string",
        description: "string",
        family: "string",
        host: "string",
        hwVendor: "string",
        interfaceTags: ["string"],
        lldpProfile: "string",
        mac: "string",
        n8021x: "string",
        name: "string",
        qosPolicy: "string",
        status: "string",
        type: "string",
        vlanPolicy: "string",
    }],
    scopetype: "string",
});
Copy
type: fortimanager:ObjectSwitchcontrollerDynamicportpolicy
properties:
    adom: string
    description: string
    dynamicSortSubtable: string
    name: string
    objectSwitchcontrollerDynamicportpolicyId: string
    policies:
        - bouncePortLink: string
          category: string
          description: string
          family: string
          host: string
          hwVendor: string
          interfaceTags:
            - string
          lldpProfile: string
          mac: string
          n8021x: string
          name: string
          qosPolicy: string
          status: string
          type: string
          vlanPolicy: string
    scopetype: string
Copy

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

Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Description string
Description for the Dynamic port policy.
DynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
Name string
Dynamic port policy name.
ObjectSwitchcontrollerDynamicportpolicyId string
an identifier for the resource with format {{name}}.
Policies List<ObjectSwitchcontrollerDynamicportpolicyPolicy>
Policy. The structure of policy block is documented below.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Description string
Description for the Dynamic port policy.
DynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
Name string
Dynamic port policy name.
ObjectSwitchcontrollerDynamicportpolicyId string
an identifier for the resource with format {{name}}.
Policies []ObjectSwitchcontrollerDynamicportpolicyPolicyTypeArgs
Policy. The structure of policy block is documented below.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
description String
Description for the Dynamic port policy.
dynamicSortSubtable String
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
name String
Dynamic port policy name.
objectSwitchcontrollerDynamicportpolicyId String
an identifier for the resource with format {{name}}.
policies List<ObjectSwitchcontrollerDynamicportpolicyPolicy>
Policy. The structure of policy block is documented below.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
description string
Description for the Dynamic port policy.
dynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
name string
Dynamic port policy name.
objectSwitchcontrollerDynamicportpolicyId string
an identifier for the resource with format {{name}}.
policies ObjectSwitchcontrollerDynamicportpolicyPolicy[]
Policy. The structure of policy block is documented below.
scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
description str
Description for the Dynamic port policy.
dynamic_sort_subtable str
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
name str
Dynamic port policy name.
object_switchcontroller_dynamicportpolicy_id str
an identifier for the resource with format {{name}}.
policies Sequence[ObjectSwitchcontrollerDynamicportpolicyPolicyArgs]
Policy. The structure of policy block is documented below.
scopetype str
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
description String
Description for the Dynamic port policy.
dynamicSortSubtable String
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
name String
Dynamic port policy name.
objectSwitchcontrollerDynamicportpolicyId String
an identifier for the resource with format {{name}}.
policies List<Property Map>
Policy. The structure of policy block is documented below.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.

Outputs

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

Get an existing ObjectSwitchcontrollerDynamicportpolicy 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?: ObjectSwitchcontrollerDynamicportpolicyState, opts?: CustomResourceOptions): ObjectSwitchcontrollerDynamicportpolicy
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        description: Optional[str] = None,
        dynamic_sort_subtable: Optional[str] = None,
        name: Optional[str] = None,
        object_switchcontroller_dynamicportpolicy_id: Optional[str] = None,
        policies: Optional[Sequence[ObjectSwitchcontrollerDynamicportpolicyPolicyArgs]] = None,
        scopetype: Optional[str] = None) -> ObjectSwitchcontrollerDynamicportpolicy
func GetObjectSwitchcontrollerDynamicportpolicy(ctx *Context, name string, id IDInput, state *ObjectSwitchcontrollerDynamicportpolicyState, opts ...ResourceOption) (*ObjectSwitchcontrollerDynamicportpolicy, error)
public static ObjectSwitchcontrollerDynamicportpolicy Get(string name, Input<string> id, ObjectSwitchcontrollerDynamicportpolicyState? state, CustomResourceOptions? opts = null)
public static ObjectSwitchcontrollerDynamicportpolicy get(String name, Output<String> id, ObjectSwitchcontrollerDynamicportpolicyState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectSwitchcontrollerDynamicportpolicy    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:
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Description string
Description for the Dynamic port policy.
DynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
Name string
Dynamic port policy name.
ObjectSwitchcontrollerDynamicportpolicyId string
an identifier for the resource with format {{name}}.
Policies List<ObjectSwitchcontrollerDynamicportpolicyPolicy>
Policy. The structure of policy block is documented below.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Description string
Description for the Dynamic port policy.
DynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
Name string
Dynamic port policy name.
ObjectSwitchcontrollerDynamicportpolicyId string
an identifier for the resource with format {{name}}.
Policies []ObjectSwitchcontrollerDynamicportpolicyPolicyTypeArgs
Policy. The structure of policy block is documented below.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
description String
Description for the Dynamic port policy.
dynamicSortSubtable String
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
name String
Dynamic port policy name.
objectSwitchcontrollerDynamicportpolicyId String
an identifier for the resource with format {{name}}.
policies List<ObjectSwitchcontrollerDynamicportpolicyPolicy>
Policy. The structure of policy block is documented below.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
description string
Description for the Dynamic port policy.
dynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
name string
Dynamic port policy name.
objectSwitchcontrollerDynamicportpolicyId string
an identifier for the resource with format {{name}}.
policies ObjectSwitchcontrollerDynamicportpolicyPolicy[]
Policy. The structure of policy block is documented below.
scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
description str
Description for the Dynamic port policy.
dynamic_sort_subtable str
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
name str
Dynamic port policy name.
object_switchcontroller_dynamicportpolicy_id str
an identifier for the resource with format {{name}}.
policies Sequence[ObjectSwitchcontrollerDynamicportpolicyPolicyArgs]
Policy. The structure of policy block is documented below.
scopetype str
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
description String
Description for the Dynamic port policy.
dynamicSortSubtable String
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
name String
Dynamic port policy name.
objectSwitchcontrollerDynamicportpolicyId String
an identifier for the resource with format {{name}}.
policies List<Property Map>
Policy. The structure of policy block is documented below.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.

Supporting Types

ObjectSwitchcontrollerDynamicportpolicyPolicy
, ObjectSwitchcontrollerDynamicportpolicyPolicyArgs

BouncePortLink string
Enable/disable bouncing (administratively bring the link down, up) of a switch port where this policy is applied. Helps to clear and reassign VLAN from lldp-profile. Valid values: disable, enable.
Category string
Category of Dynamic port policy. Valid values: device, interface-tag.
Description string
Description for the policy.
Family string
Match policy based on family.
Host string
Match policy based on host.
HwVendor string
Match policy based on hardware vendor.
InterfaceTags List<string>
Match policy based on the FortiSwitch interface object tags.
LldpProfile string
LLDP profile to be applied when using this policy.
Mac string
Match policy based on MAC address.
N8021x string
802.1x security policy to be applied when using this policy.
Name string
Policy name.
QosPolicy string
QoS policy to be applied when using this policy.
Status string
Enable/disable policy. Valid values: disable, enable.
Type string
Match policy based on type.
VlanPolicy string
VLAN policy to be applied when using this policy.
BouncePortLink string
Enable/disable bouncing (administratively bring the link down, up) of a switch port where this policy is applied. Helps to clear and reassign VLAN from lldp-profile. Valid values: disable, enable.
Category string
Category of Dynamic port policy. Valid values: device, interface-tag.
Description string
Description for the policy.
Family string
Match policy based on family.
Host string
Match policy based on host.
HwVendor string
Match policy based on hardware vendor.
InterfaceTags []string
Match policy based on the FortiSwitch interface object tags.
LldpProfile string
LLDP profile to be applied when using this policy.
Mac string
Match policy based on MAC address.
N8021x string
802.1x security policy to be applied when using this policy.
Name string
Policy name.
QosPolicy string
QoS policy to be applied when using this policy.
Status string
Enable/disable policy. Valid values: disable, enable.
Type string
Match policy based on type.
VlanPolicy string
VLAN policy to be applied when using this policy.
bouncePortLink String
Enable/disable bouncing (administratively bring the link down, up) of a switch port where this policy is applied. Helps to clear and reassign VLAN from lldp-profile. Valid values: disable, enable.
category String
Category of Dynamic port policy. Valid values: device, interface-tag.
description String
Description for the policy.
family String
Match policy based on family.
host String
Match policy based on host.
hwVendor String
Match policy based on hardware vendor.
interfaceTags List<String>
Match policy based on the FortiSwitch interface object tags.
lldpProfile String
LLDP profile to be applied when using this policy.
mac String
Match policy based on MAC address.
n8021x String
802.1x security policy to be applied when using this policy.
name String
Policy name.
qosPolicy String
QoS policy to be applied when using this policy.
status String
Enable/disable policy. Valid values: disable, enable.
type String
Match policy based on type.
vlanPolicy String
VLAN policy to be applied when using this policy.
bouncePortLink string
Enable/disable bouncing (administratively bring the link down, up) of a switch port where this policy is applied. Helps to clear and reassign VLAN from lldp-profile. Valid values: disable, enable.
category string
Category of Dynamic port policy. Valid values: device, interface-tag.
description string
Description for the policy.
family string
Match policy based on family.
host string
Match policy based on host.
hwVendor string
Match policy based on hardware vendor.
interfaceTags string[]
Match policy based on the FortiSwitch interface object tags.
lldpProfile string
LLDP profile to be applied when using this policy.
mac string
Match policy based on MAC address.
n8021x string
802.1x security policy to be applied when using this policy.
name string
Policy name.
qosPolicy string
QoS policy to be applied when using this policy.
status string
Enable/disable policy. Valid values: disable, enable.
type string
Match policy based on type.
vlanPolicy string
VLAN policy to be applied when using this policy.
bounce_port_link str
Enable/disable bouncing (administratively bring the link down, up) of a switch port where this policy is applied. Helps to clear and reassign VLAN from lldp-profile. Valid values: disable, enable.
category str
Category of Dynamic port policy. Valid values: device, interface-tag.
description str
Description for the policy.
family str
Match policy based on family.
host str
Match policy based on host.
hw_vendor str
Match policy based on hardware vendor.
interface_tags Sequence[str]
Match policy based on the FortiSwitch interface object tags.
lldp_profile str
LLDP profile to be applied when using this policy.
mac str
Match policy based on MAC address.
n8021x str
802.1x security policy to be applied when using this policy.
name str
Policy name.
qos_policy str
QoS policy to be applied when using this policy.
status str
Enable/disable policy. Valid values: disable, enable.
type str
Match policy based on type.
vlan_policy str
VLAN policy to be applied when using this policy.
bouncePortLink String
Enable/disable bouncing (administratively bring the link down, up) of a switch port where this policy is applied. Helps to clear and reassign VLAN from lldp-profile. Valid values: disable, enable.
category String
Category of Dynamic port policy. Valid values: device, interface-tag.
description String
Description for the policy.
family String
Match policy based on family.
host String
Match policy based on host.
hwVendor String
Match policy based on hardware vendor.
interfaceTags List<String>
Match policy based on the FortiSwitch interface object tags.
lldpProfile String
LLDP profile to be applied when using this policy.
mac String
Match policy based on MAC address.
n8021x String
802.1x security policy to be applied when using this policy.
name String
Policy name.
qosPolicy String
QoS policy to be applied when using this policy.
status String
Enable/disable policy. Valid values: disable, enable.
type String
Match policy based on type.
vlanPolicy String
VLAN policy to be applied when using this policy.

Import

ObjectSwitchController DynamicPortPolicy can be imported using any of these accepted formats:

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/objectSwitchcontrollerDynamicportpolicy:ObjectSwitchcontrollerDynamicportpolicy labelname {{name}}
Copy

$ unset “FORTIMANAGER_IMPORT_TABLE”

-> Hint: The scopetype and adom for import will directly inherit the scopetype and adom configuration of the provider.

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
fortimanager fortinetdev/terraform-provider-fortimanager
License
Notes
This Pulumi package is based on the fortimanager Terraform Provider.