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",
}]});
import pulumi
import pulumi_fortimanager as fortimanager
trname = fortimanager.ObjectSwitchcontrollerDynamicportpolicy("trname", policies=[{
    "mac": "00:00:5e:00:53:af",
    "name": "policy3",
}])
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
	})
}
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",
            },
        },
    });
});
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());
    }
}
resources:
  trname:
    type: fortimanager:ObjectSwitchcontrollerDynamicportpolicy
    properties:
      policies:
        - mac: 00:00:5e:00:53:af
          name: policy3
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 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 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 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 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 String
- The unique name of the resource.
- args 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",
});
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"),
})
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());
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")
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",
});
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
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 scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- Description string
- Description for the Dynamic port policy.
- DynamicSort stringSubtable 
- 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.
- ObjectSwitchcontroller stringDynamicportpolicy Id 
- an identifier for the resource with format {{name}}.
- Policies
List<ObjectSwitchcontroller Dynamicportpolicy Policy> 
- Policy. The structure of policyblock is documented below.
- Scopetype string
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- Adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- Description string
- Description for the Dynamic port policy.
- DynamicSort stringSubtable 
- 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.
- ObjectSwitchcontroller stringDynamicportpolicy Id 
- an identifier for the resource with format {{name}}.
- Policies
[]ObjectSwitchcontroller Dynamicportpolicy Policy Type Args 
- Policy. The structure of policyblock is documented below.
- Scopetype string
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- adom String
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- description String
- Description for the Dynamic port policy.
- dynamicSort StringSubtable 
- 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.
- objectSwitchcontroller StringDynamicportpolicy Id 
- an identifier for the resource with format {{name}}.
- policies
List<ObjectSwitchcontroller Dynamicportpolicy Policy> 
- Policy. The structure of policyblock is documented below.
- scopetype String
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- description string
- Description for the Dynamic port policy.
- dynamicSort stringSubtable 
- 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.
- objectSwitchcontroller stringDynamicportpolicy Id 
- an identifier for the resource with format {{name}}.
- policies
ObjectSwitchcontroller Dynamicportpolicy Policy[] 
- Policy. The structure of policyblock is documented below.
- scopetype string
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- adom str
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- description str
- Description for the Dynamic port policy.
- dynamic_sort_ strsubtable 
- 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_ strdynamicportpolicy_ id 
- an identifier for the resource with format {{name}}.
- policies
Sequence[ObjectSwitchcontroller Dynamicportpolicy Policy Args] 
- Policy. The structure of policyblock is documented below.
- scopetype str
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- adom String
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- description String
- Description for the Dynamic port policy.
- dynamicSort StringSubtable 
- 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.
- objectSwitchcontroller StringDynamicportpolicy Id 
- an identifier for the resource with format {{name}}.
- policies List<Property Map>
- Policy. The structure of policyblock is documented below.
- scopetype String
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
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) -> ObjectSwitchcontrollerDynamicportpolicyfunc 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
- 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.
- Adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- Description string
- Description for the Dynamic port policy.
- DynamicSort stringSubtable 
- 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.
- ObjectSwitchcontroller stringDynamicportpolicy Id 
- an identifier for the resource with format {{name}}.
- Policies
List<ObjectSwitchcontroller Dynamicportpolicy Policy> 
- Policy. The structure of policyblock is documented below.
- Scopetype string
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- Adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- Description string
- Description for the Dynamic port policy.
- DynamicSort stringSubtable 
- 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.
- ObjectSwitchcontroller stringDynamicportpolicy Id 
- an identifier for the resource with format {{name}}.
- Policies
[]ObjectSwitchcontroller Dynamicportpolicy Policy Type Args 
- Policy. The structure of policyblock is documented below.
- Scopetype string
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- adom String
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- description String
- Description for the Dynamic port policy.
- dynamicSort StringSubtable 
- 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.
- objectSwitchcontroller StringDynamicportpolicy Id 
- an identifier for the resource with format {{name}}.
- policies
List<ObjectSwitchcontroller Dynamicportpolicy Policy> 
- Policy. The structure of policyblock is documented below.
- scopetype String
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- description string
- Description for the Dynamic port policy.
- dynamicSort stringSubtable 
- 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.
- objectSwitchcontroller stringDynamicportpolicy Id 
- an identifier for the resource with format {{name}}.
- policies
ObjectSwitchcontroller Dynamicportpolicy Policy[] 
- Policy. The structure of policyblock is documented below.
- scopetype string
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- adom str
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- description str
- Description for the Dynamic port policy.
- dynamic_sort_ strsubtable 
- 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_ strdynamicportpolicy_ id 
- an identifier for the resource with format {{name}}.
- policies
Sequence[ObjectSwitchcontroller Dynamicportpolicy Policy Args] 
- Policy. The structure of policyblock is documented below.
- scopetype str
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- adom String
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- description String
- Description for the Dynamic port policy.
- dynamicSort StringSubtable 
- 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.
- objectSwitchcontroller StringDynamicportpolicy Id 
- an identifier for the resource with format {{name}}.
- policies List<Property Map>
- Policy. The structure of policyblock is documented below.
- scopetype String
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
Supporting Types
ObjectSwitchcontrollerDynamicportpolicyPolicy, ObjectSwitchcontrollerDynamicportpolicyPolicyArgs        
- BouncePort stringLink 
- 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.
- 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.
- BouncePort stringLink 
- 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.
- []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.
- bouncePort StringLink 
- 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.
- 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.
- bouncePort stringLink 
- 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.
- 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_ strlink 
- 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.
- 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.
- bouncePort StringLink 
- 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.
- 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}}
$ 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 fortimanagerTerraform Provider.