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

fortios.switchcontroller.Dynamicportpolicy

Explore with Pulumi AI

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

    Configure Dynamic port policy to be applied on the managed FortiSwitch ports through DPP device. Applies to FortiOS Version >= 7.0.1.

    Create Dynamicportpolicy Resource

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

    Constructor syntax

    new Dynamicportpolicy(name: string, args?: DynamicportpolicyArgs, opts?: CustomResourceOptions);
    @overload
    def Dynamicportpolicy(resource_name: str,
                          args: Optional[DynamicportpolicyArgs] = None,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def Dynamicportpolicy(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          description: Optional[str] = None,
                          dynamic_sort_subtable: Optional[str] = None,
                          fortilink: Optional[str] = None,
                          get_all_tables: Optional[str] = None,
                          name: Optional[str] = None,
                          policies: Optional[Sequence[DynamicportpolicyPolicyArgs]] = None,
                          vdomparam: Optional[str] = None)
    func NewDynamicportpolicy(ctx *Context, name string, args *DynamicportpolicyArgs, opts ...ResourceOption) (*Dynamicportpolicy, error)
    public Dynamicportpolicy(string name, DynamicportpolicyArgs? args = null, CustomResourceOptions? opts = null)
    public Dynamicportpolicy(String name, DynamicportpolicyArgs args)
    public Dynamicportpolicy(String name, DynamicportpolicyArgs args, CustomResourceOptions options)
    
    type: fortios:switchcontroller:Dynamicportpolicy
    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 DynamicportpolicyArgs
    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 DynamicportpolicyArgs
    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 DynamicportpolicyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DynamicportpolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DynamicportpolicyArgs
    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 dynamicportpolicyResource = new Fortios.Switchcontroller.Dynamicportpolicy("dynamicportpolicyResource", new()
    {
        Description = "string",
        DynamicSortSubtable = "string",
        Fortilink = "string",
        GetAllTables = "string",
        Name = "string",
        Policies = new[]
        {
            new Fortios.Switchcontroller.Inputs.DynamicportpolicyPolicyArgs
            {
                BouncePortLink = "string",
                Category = "string",
                Description = "string",
                Family = "string",
                Host = "string",
                HwVendor = "string",
                InterfaceTags = new[]
                {
                    new Fortios.Switchcontroller.Inputs.DynamicportpolicyPolicyInterfaceTagArgs
                    {
                        TagName = "string",
                    },
                },
                LldpProfile = "string",
                Mac = "string",
                N8021x = "string",
                Name = "string",
                QosPolicy = "string",
                Status = "string",
                Type = "string",
                VlanPolicy = "string",
            },
        },
        Vdomparam = "string",
    });
    
    example, err := switchcontroller.NewDynamicportpolicy(ctx, "dynamicportpolicyResource", &switchcontroller.DynamicportpolicyArgs{
    	Description:         pulumi.String("string"),
    	DynamicSortSubtable: pulumi.String("string"),
    	Fortilink:           pulumi.String("string"),
    	GetAllTables:        pulumi.String("string"),
    	Name:                pulumi.String("string"),
    	Policies: switchcontroller.DynamicportpolicyPolicyArray{
    		&switchcontroller.DynamicportpolicyPolicyArgs{
    			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: switchcontroller.DynamicportpolicyPolicyInterfaceTagArray{
    				&switchcontroller.DynamicportpolicyPolicyInterfaceTagArgs{
    					TagName: 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"),
    		},
    	},
    	Vdomparam: pulumi.String("string"),
    })
    
    var dynamicportpolicyResource = new Dynamicportpolicy("dynamicportpolicyResource", DynamicportpolicyArgs.builder()
        .description("string")
        .dynamicSortSubtable("string")
        .fortilink("string")
        .getAllTables("string")
        .name("string")
        .policies(DynamicportpolicyPolicyArgs.builder()
            .bouncePortLink("string")
            .category("string")
            .description("string")
            .family("string")
            .host("string")
            .hwVendor("string")
            .interfaceTags(DynamicportpolicyPolicyInterfaceTagArgs.builder()
                .tagName("string")
                .build())
            .lldpProfile("string")
            .mac("string")
            .n8021x("string")
            .name("string")
            .qosPolicy("string")
            .status("string")
            .type("string")
            .vlanPolicy("string")
            .build())
        .vdomparam("string")
        .build());
    
    dynamicportpolicy_resource = fortios.switchcontroller.Dynamicportpolicy("dynamicportpolicyResource",
        description="string",
        dynamic_sort_subtable="string",
        fortilink="string",
        get_all_tables="string",
        name="string",
        policies=[fortios.switchcontroller.DynamicportpolicyPolicyArgs(
            bounce_port_link="string",
            category="string",
            description="string",
            family="string",
            host="string",
            hw_vendor="string",
            interface_tags=[fortios.switchcontroller.DynamicportpolicyPolicyInterfaceTagArgs(
                tag_name="string",
            )],
            lldp_profile="string",
            mac="string",
            n8021x="string",
            name="string",
            qos_policy="string",
            status="string",
            type="string",
            vlan_policy="string",
        )],
        vdomparam="string")
    
    const dynamicportpolicyResource = new fortios.switchcontroller.Dynamicportpolicy("dynamicportpolicyResource", {
        description: "string",
        dynamicSortSubtable: "string",
        fortilink: "string",
        getAllTables: "string",
        name: "string",
        policies: [{
            bouncePortLink: "string",
            category: "string",
            description: "string",
            family: "string",
            host: "string",
            hwVendor: "string",
            interfaceTags: [{
                tagName: "string",
            }],
            lldpProfile: "string",
            mac: "string",
            n8021x: "string",
            name: "string",
            qosPolicy: "string",
            status: "string",
            type: "string",
            vlanPolicy: "string",
        }],
        vdomparam: "string",
    });
    
    type: fortios:switchcontroller:Dynamicportpolicy
    properties:
        description: string
        dynamicSortSubtable: string
        fortilink: string
        getAllTables: string
        name: string
        policies:
            - bouncePortLink: string
              category: string
              description: string
              family: string
              host: string
              hwVendor: string
              interfaceTags:
                - tagName: string
              lldpProfile: string
              mac: string
              n8021x: string
              name: string
              qosPolicy: string
              status: string
              type: string
              vlanPolicy: string
        vdomparam: string
    

    Dynamicportpolicy Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Dynamicportpolicy resource accepts the following input properties:

    Description string
    Description for the Dynamic port policy.
    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 ].
    Fortilink string
    FortiLink interface for which this Dynamic port policy belongs to.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Name string
    Dynamic port policy name.
    Policies List<Pulumiverse.Fortios.Switchcontroller.Inputs.DynamicportpolicyPolicy>
    Port policies with matching criteria and actions. The structure of policy block is documented below.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    Description string
    Description for the Dynamic port policy.
    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 ].
    Fortilink string
    FortiLink interface for which this Dynamic port policy belongs to.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Name string
    Dynamic port policy name.
    Policies []DynamicportpolicyPolicyArgs
    Port policies with matching criteria and actions. The structure of policy block is documented below.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    description String
    Description for the Dynamic port policy.
    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 ].
    fortilink String
    FortiLink interface for which this Dynamic port policy belongs to.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    name String
    Dynamic port policy name.
    policies List<DynamicportpolicyPolicy>
    Port policies with matching criteria and actions. The structure of policy block is documented below.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    description string
    Description for the Dynamic port policy.
    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 ].
    fortilink string
    FortiLink interface for which this Dynamic port policy belongs to.
    getAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    name string
    Dynamic port policy name.
    policies DynamicportpolicyPolicy[]
    Port policies with matching criteria and actions. The structure of policy block is documented below.
    vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    description str
    Description for the Dynamic port policy.
    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 ].
    fortilink str
    FortiLink interface for which this Dynamic port policy belongs to.
    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, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    name str
    Dynamic port policy name.
    policies Sequence[DynamicportpolicyPolicyArgs]
    Port policies with matching criteria and actions. The structure of policy block is documented below.
    vdomparam str
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    description String
    Description for the Dynamic port policy.
    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 ].
    fortilink String
    FortiLink interface for which this Dynamic port policy belongs to.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    name String
    Dynamic port policy name.
    policies List<Property Map>
    Port policies with matching criteria and actions. The structure of policy block is documented below.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

    Outputs

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

    Get an existing Dynamicportpolicy 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?: DynamicportpolicyState, opts?: CustomResourceOptions): Dynamicportpolicy
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            dynamic_sort_subtable: Optional[str] = None,
            fortilink: Optional[str] = None,
            get_all_tables: Optional[str] = None,
            name: Optional[str] = None,
            policies: Optional[Sequence[DynamicportpolicyPolicyArgs]] = None,
            vdomparam: Optional[str] = None) -> Dynamicportpolicy
    func GetDynamicportpolicy(ctx *Context, name string, id IDInput, state *DynamicportpolicyState, opts ...ResourceOption) (*Dynamicportpolicy, error)
    public static Dynamicportpolicy Get(string name, Input<string> id, DynamicportpolicyState? state, CustomResourceOptions? opts = null)
    public static Dynamicportpolicy get(String name, Output<String> id, DynamicportpolicyState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Description string
    Description for the Dynamic port policy.
    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 ].
    Fortilink string
    FortiLink interface for which this Dynamic port policy belongs to.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Name string
    Dynamic port policy name.
    Policies List<Pulumiverse.Fortios.Switchcontroller.Inputs.DynamicportpolicyPolicy>
    Port policies with matching criteria and actions. The structure of policy block is documented below.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    Description string
    Description for the Dynamic port policy.
    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 ].
    Fortilink string
    FortiLink interface for which this Dynamic port policy belongs to.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Name string
    Dynamic port policy name.
    Policies []DynamicportpolicyPolicyArgs
    Port policies with matching criteria and actions. The structure of policy block is documented below.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    description String
    Description for the Dynamic port policy.
    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 ].
    fortilink String
    FortiLink interface for which this Dynamic port policy belongs to.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    name String
    Dynamic port policy name.
    policies List<DynamicportpolicyPolicy>
    Port policies with matching criteria and actions. The structure of policy block is documented below.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    description string
    Description for the Dynamic port policy.
    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 ].
    fortilink string
    FortiLink interface for which this Dynamic port policy belongs to.
    getAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    name string
    Dynamic port policy name.
    policies DynamicportpolicyPolicy[]
    Port policies with matching criteria and actions. The structure of policy block is documented below.
    vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    description str
    Description for the Dynamic port policy.
    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 ].
    fortilink str
    FortiLink interface for which this Dynamic port policy belongs to.
    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, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    name str
    Dynamic port policy name.
    policies Sequence[DynamicportpolicyPolicyArgs]
    Port policies with matching criteria and actions. The structure of policy block is documented below.
    vdomparam str
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    description String
    Description for the Dynamic port policy.
    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 ].
    fortilink String
    FortiLink interface for which this Dynamic port policy belongs to.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    name String
    Dynamic port policy name.
    policies List<Property Map>
    Port policies with matching criteria and actions. The structure of policy block is documented below.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

    Supporting Types

    DynamicportpolicyPolicy, DynamicportpolicyPolicyArgs

    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
    Policy matching family.
    Host string
    Policy matching host.
    HwVendor string
    Match policy based on hardware vendor.
    InterfaceTags List<Pulumiverse.Fortios.Switchcontroller.Inputs.DynamicportpolicyPolicyInterfaceTag>
    Policy matching the FortiSwitch interface object tags. The structure of interface_tags block is documented below.
    LldpProfile string
    LLDP profile to be applied when using this policy.
    Mac string
    Policy matching 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: enable, disable.
    Type string
    Policy matching 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
    Policy matching family.
    Host string
    Policy matching host.
    HwVendor string
    Match policy based on hardware vendor.
    InterfaceTags []DynamicportpolicyPolicyInterfaceTag
    Policy matching the FortiSwitch interface object tags. The structure of interface_tags block is documented below.
    LldpProfile string
    LLDP profile to be applied when using this policy.
    Mac string
    Policy matching 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: enable, disable.
    Type string
    Policy matching 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
    Policy matching family.
    host String
    Policy matching host.
    hwVendor String
    Match policy based on hardware vendor.
    interfaceTags List<DynamicportpolicyPolicyInterfaceTag>
    Policy matching the FortiSwitch interface object tags. The structure of interface_tags block is documented below.
    lldpProfile String
    LLDP profile to be applied when using this policy.
    mac String
    Policy matching 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: enable, disable.
    type String
    Policy matching 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
    Policy matching family.
    host string
    Policy matching host.
    hwVendor string
    Match policy based on hardware vendor.
    interfaceTags DynamicportpolicyPolicyInterfaceTag[]
    Policy matching the FortiSwitch interface object tags. The structure of interface_tags block is documented below.
    lldpProfile string
    LLDP profile to be applied when using this policy.
    mac string
    Policy matching 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: enable, disable.
    type string
    Policy matching 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
    Policy matching family.
    host str
    Policy matching host.
    hw_vendor str
    Match policy based on hardware vendor.
    interface_tags Sequence[DynamicportpolicyPolicyInterfaceTag]
    Policy matching the FortiSwitch interface object tags. The structure of interface_tags block is documented below.
    lldp_profile str
    LLDP profile to be applied when using this policy.
    mac str
    Policy matching 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: enable, disable.
    type str
    Policy matching 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
    Policy matching family.
    host String
    Policy matching host.
    hwVendor String
    Match policy based on hardware vendor.
    interfaceTags List<Property Map>
    Policy matching the FortiSwitch interface object tags. The structure of interface_tags block is documented below.
    lldpProfile String
    LLDP profile to be applied when using this policy.
    mac String
    Policy matching 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: enable, disable.
    type String
    Policy matching type.
    vlanPolicy String
    VLAN policy to be applied when using this policy.

    DynamicportpolicyPolicyInterfaceTag, DynamicportpolicyPolicyInterfaceTagArgs

    TagName string
    FortiSwitch port tag name.
    TagName string
    FortiSwitch port tag name.
    tagName String
    FortiSwitch port tag name.
    tagName string
    FortiSwitch port tag name.
    tag_name str
    FortiSwitch port tag name.
    tagName String
    FortiSwitch port tag name.

    Import

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

    $ pulumi import fortios:switchcontroller/dynamicportpolicy:Dynamicportpolicy labelname {{name}}
    

    If you do not want to import arguments of block:

    $ export “FORTIOS_IMPORT_TABLE”=“false”

    $ pulumi import fortios:switchcontroller/dynamicportpolicy:Dynamicportpolicy labelname {{name}}
    

    $ unset “FORTIOS_IMPORT_TABLE”

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

    Package Details

    Repository
    fortios pulumiverse/pulumi-fortios
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the fortios Terraform Provider.
    fortios logo
    Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse