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

fortimanager.ObjectDynamicInterface

Explore with Pulumi AI

ObjectDynamic Interface

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

  • dynamic_mapping: fortimanager.ObjectDynamicInterfaceDynamicMapping
  • platform_mapping: fortimanager.ObjectDynamicInterfacePlatformMapping

Example Usage

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

const trname = new fortimanager.ObjectDynamicInterface("trname", {
    defaultMapping: "disable",
    defmapIntrazoneDeny: "disable",
    description: "This is a Terraform example",
    singleIntf: "enable",
});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname = fortimanager.ObjectDynamicInterface("trname",
    default_mapping="disable",
    defmap_intrazone_deny="disable",
    description="This is a Terraform example",
    single_intf="enable")
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.NewObjectDynamicInterface(ctx, "trname", &fortimanager.ObjectDynamicInterfaceArgs{
			DefaultMapping:      pulumi.String("disable"),
			DefmapIntrazoneDeny: pulumi.String("disable"),
			Description:         pulumi.String("This is a Terraform example"),
			SingleIntf:          pulumi.String("enable"),
		})
		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.ObjectDynamicInterface("trname", new()
    {
        DefaultMapping = "disable",
        DefmapIntrazoneDeny = "disable",
        Description = "This is a Terraform example",
        SingleIntf = "enable",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.ObjectDynamicInterface;
import com.pulumi.fortimanager.ObjectDynamicInterfaceArgs;
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 ObjectDynamicInterface("trname", ObjectDynamicInterfaceArgs.builder()
            .defaultMapping("disable")
            .defmapIntrazoneDeny("disable")
            .description("This is a Terraform example")
            .singleIntf("enable")
            .build());

    }
}
Copy
resources:
  trname:
    type: fortimanager:ObjectDynamicInterface
    properties:
      defaultMapping: disable
      defmapIntrazoneDeny: disable
      description: This is a Terraform example
      singleIntf: enable
Copy

Create ObjectDynamicInterface Resource

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

Constructor syntax

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

@overload
def ObjectDynamicInterface(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           adom: Optional[str] = None,
                           color: Optional[float] = None,
                           default_mapping: Optional[str] = None,
                           defmap_intf: Optional[str] = None,
                           defmap_intrazone_deny: Optional[str] = None,
                           defmap_zonemembers: Optional[Sequence[str]] = None,
                           description: Optional[str] = None,
                           dynamic_mappings: Optional[Sequence[ObjectDynamicInterfaceDynamicMappingArgs]] = None,
                           dynamic_sort_subtable: Optional[str] = None,
                           egress_shaping_profile: Optional[str] = None,
                           ingress_shaping_profile: Optional[str] = None,
                           name: Optional[str] = None,
                           object_dynamic_interface_id: Optional[str] = None,
                           platform_mappings: Optional[Sequence[ObjectDynamicInterfacePlatformMappingArgs]] = None,
                           scopetype: Optional[str] = None,
                           single_intf: Optional[str] = None,
                           wildcard: Optional[str] = None,
                           wildcard_intf: Optional[str] = None,
                           zone_only: Optional[str] = None)
func NewObjectDynamicInterface(ctx *Context, name string, args *ObjectDynamicInterfaceArgs, opts ...ResourceOption) (*ObjectDynamicInterface, error)
public ObjectDynamicInterface(string name, ObjectDynamicInterfaceArgs? args = null, CustomResourceOptions? opts = null)
public ObjectDynamicInterface(String name, ObjectDynamicInterfaceArgs args)
public ObjectDynamicInterface(String name, ObjectDynamicInterfaceArgs args, CustomResourceOptions options)
type: fortimanager:ObjectDynamicInterface
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 ObjectDynamicInterfaceArgs
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 ObjectDynamicInterfaceArgs
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 ObjectDynamicInterfaceArgs
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 ObjectDynamicInterfaceArgs
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. ObjectDynamicInterfaceArgs
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 objectDynamicInterfaceResource = new Fortimanager.ObjectDynamicInterface("objectDynamicInterfaceResource", new()
{
    Adom = "string",
    Color = 0,
    DefaultMapping = "string",
    DefmapIntf = "string",
    DefmapIntrazoneDeny = "string",
    DefmapZonemembers = new[]
    {
        "string",
    },
    Description = "string",
    DynamicMappings = new[]
    {
        new Fortimanager.Inputs.ObjectDynamicInterfaceDynamicMappingArgs
        {
            _scopes = new[]
            {
                new Fortimanager.Inputs.ObjectDynamicInterfaceDynamicMapping_ScopeArgs
                {
                    Name = "string",
                    Vdom = "string",
                },
            },
            EgressShapingProfile = "string",
            IngressShapingProfile = "string",
            IntrazoneDeny = "string",
            LocalIntfs = new[]
            {
                "string",
            },
        },
    },
    DynamicSortSubtable = "string",
    EgressShapingProfile = "string",
    IngressShapingProfile = "string",
    Name = "string",
    ObjectDynamicInterfaceId = "string",
    PlatformMappings = new[]
    {
        new Fortimanager.Inputs.ObjectDynamicInterfacePlatformMappingArgs
        {
            EgressShapingProfile = "string",
            IngressShapingProfile = "string",
            IntfZone = "string",
            IntrazoneDeny = "string",
            Name = "string",
        },
    },
    Scopetype = "string",
    SingleIntf = "string",
    Wildcard = "string",
    WildcardIntf = "string",
    ZoneOnly = "string",
});
Copy
example, err := fortimanager.NewObjectDynamicInterface(ctx, "objectDynamicInterfaceResource", &fortimanager.ObjectDynamicInterfaceArgs{
Adom: pulumi.String("string"),
Color: pulumi.Float64(0),
DefaultMapping: pulumi.String("string"),
DefmapIntf: pulumi.String("string"),
DefmapIntrazoneDeny: pulumi.String("string"),
DefmapZonemembers: pulumi.StringArray{
pulumi.String("string"),
},
Description: pulumi.String("string"),
DynamicMappings: .ObjectDynamicInterfaceDynamicMappingTypeArray{
&.ObjectDynamicInterfaceDynamicMappingTypeArgs{
_scopes: .ObjectDynamicInterfaceDynamicMapping_ScopeArray{
&.ObjectDynamicInterfaceDynamicMapping_ScopeArgs{
Name: pulumi.String("string"),
Vdom: pulumi.String("string"),
},
},
EgressShapingProfile: pulumi.String("string"),
IngressShapingProfile: pulumi.String("string"),
IntrazoneDeny: pulumi.String("string"),
LocalIntfs: pulumi.StringArray{
pulumi.String("string"),
},
},
},
DynamicSortSubtable: pulumi.String("string"),
EgressShapingProfile: pulumi.String("string"),
IngressShapingProfile: pulumi.String("string"),
Name: pulumi.String("string"),
ObjectDynamicInterfaceId: pulumi.String("string"),
PlatformMappings: .ObjectDynamicInterfacePlatformMappingTypeArray{
&.ObjectDynamicInterfacePlatformMappingTypeArgs{
EgressShapingProfile: pulumi.String("string"),
IngressShapingProfile: pulumi.String("string"),
IntfZone: pulumi.String("string"),
IntrazoneDeny: pulumi.String("string"),
Name: pulumi.String("string"),
},
},
Scopetype: pulumi.String("string"),
SingleIntf: pulumi.String("string"),
Wildcard: pulumi.String("string"),
WildcardIntf: pulumi.String("string"),
ZoneOnly: pulumi.String("string"),
})
Copy
var objectDynamicInterfaceResource = new ObjectDynamicInterface("objectDynamicInterfaceResource", ObjectDynamicInterfaceArgs.builder()
    .adom("string")
    .color(0)
    .defaultMapping("string")
    .defmapIntf("string")
    .defmapIntrazoneDeny("string")
    .defmapZonemembers("string")
    .description("string")
    .dynamicMappings(ObjectDynamicInterfaceDynamicMappingArgs.builder()
        ._scopes(ObjectDynamicInterfaceDynamicMapping_ScopeArgs.builder()
            .name("string")
            .vdom("string")
            .build())
        .egressShapingProfile("string")
        .ingressShapingProfile("string")
        .intrazoneDeny("string")
        .localIntfs("string")
        .build())
    .dynamicSortSubtable("string")
    .egressShapingProfile("string")
    .ingressShapingProfile("string")
    .name("string")
    .objectDynamicInterfaceId("string")
    .platformMappings(ObjectDynamicInterfacePlatformMappingArgs.builder()
        .egressShapingProfile("string")
        .ingressShapingProfile("string")
        .intfZone("string")
        .intrazoneDeny("string")
        .name("string")
        .build())
    .scopetype("string")
    .singleIntf("string")
    .wildcard("string")
    .wildcardIntf("string")
    .zoneOnly("string")
    .build());
Copy
object_dynamic_interface_resource = fortimanager.ObjectDynamicInterface("objectDynamicInterfaceResource",
    adom="string",
    color=0,
    default_mapping="string",
    defmap_intf="string",
    defmap_intrazone_deny="string",
    defmap_zonemembers=["string"],
    description="string",
    dynamic_mappings=[{
        "_scopes": [{
            "name": "string",
            "vdom": "string",
        }],
        "egress_shaping_profile": "string",
        "ingress_shaping_profile": "string",
        "intrazone_deny": "string",
        "local_intfs": ["string"],
    }],
    dynamic_sort_subtable="string",
    egress_shaping_profile="string",
    ingress_shaping_profile="string",
    name="string",
    object_dynamic_interface_id="string",
    platform_mappings=[{
        "egress_shaping_profile": "string",
        "ingress_shaping_profile": "string",
        "intf_zone": "string",
        "intrazone_deny": "string",
        "name": "string",
    }],
    scopetype="string",
    single_intf="string",
    wildcard="string",
    wildcard_intf="string",
    zone_only="string")
Copy
const objectDynamicInterfaceResource = new fortimanager.ObjectDynamicInterface("objectDynamicInterfaceResource", {
    adom: "string",
    color: 0,
    defaultMapping: "string",
    defmapIntf: "string",
    defmapIntrazoneDeny: "string",
    defmapZonemembers: ["string"],
    description: "string",
    dynamicMappings: [{
        _scopes: [{
            name: "string",
            vdom: "string",
        }],
        egressShapingProfile: "string",
        ingressShapingProfile: "string",
        intrazoneDeny: "string",
        localIntfs: ["string"],
    }],
    dynamicSortSubtable: "string",
    egressShapingProfile: "string",
    ingressShapingProfile: "string",
    name: "string",
    objectDynamicInterfaceId: "string",
    platformMappings: [{
        egressShapingProfile: "string",
        ingressShapingProfile: "string",
        intfZone: "string",
        intrazoneDeny: "string",
        name: "string",
    }],
    scopetype: "string",
    singleIntf: "string",
    wildcard: "string",
    wildcardIntf: "string",
    zoneOnly: "string",
});
Copy
type: fortimanager:ObjectDynamicInterface
properties:
    adom: string
    color: 0
    defaultMapping: string
    defmapIntf: string
    defmapIntrazoneDeny: string
    defmapZonemembers:
        - string
    description: string
    dynamicMappings:
        - _scopes:
            - name: string
              vdom: string
          egressShapingProfile: string
          ingressShapingProfile: string
          intrazoneDeny: string
          localIntfs:
            - string
    dynamicSortSubtable: string
    egressShapingProfile: string
    ingressShapingProfile: string
    name: string
    objectDynamicInterfaceId: string
    platformMappings:
        - egressShapingProfile: string
          ingressShapingProfile: string
          intfZone: string
          intrazoneDeny: string
          name: string
    scopetype: string
    singleIntf: string
    wildcard: string
    wildcardIntf: string
    zoneOnly: string
Copy

ObjectDynamicInterface 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 ObjectDynamicInterface 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.
Color double
Color.
DefaultMapping string
Default-Mapping. Valid values: disable, enable.
DefmapIntf string
Defmap-Intf.
DefmapIntrazoneDeny string
Defmap-Intrazone-Deny. Valid values: disable, enable.
DefmapZonemembers List<string>
Defmap-Zonemember.
Description string
Description.
DynamicMappings List<ObjectDynamicInterfaceDynamicMapping>
Dynamic_Mapping. The structure of dynamic_mapping block is documented below.
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.
EgressShapingProfile string
Egress-Shaping-Profile.
IngressShapingProfile string
Ingress-Shaping-Profile.
Name string
Name.
ObjectDynamicInterfaceId string
an identifier for the resource with format {{name}}.
PlatformMappings List<ObjectDynamicInterfacePlatformMapping>
Platform_Mapping. The structure of platform_mapping 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.
SingleIntf string
Single-Intf. Valid values: disable, enable.
Wildcard string
Wildcard. Valid values: disable, enable.
WildcardIntf string
Wildcard-Intf.
ZoneOnly string
Zone-Only. Valid values: disable, enable.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Color float64
Color.
DefaultMapping string
Default-Mapping. Valid values: disable, enable.
DefmapIntf string
Defmap-Intf.
DefmapIntrazoneDeny string
Defmap-Intrazone-Deny. Valid values: disable, enable.
DefmapZonemembers []string
Defmap-Zonemember.
Description string
Description.
DynamicMappings []ObjectDynamicInterfaceDynamicMappingTypeArgs
Dynamic_Mapping. The structure of dynamic_mapping block is documented below.
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.
EgressShapingProfile string
Egress-Shaping-Profile.
IngressShapingProfile string
Ingress-Shaping-Profile.
Name string
Name.
ObjectDynamicInterfaceId string
an identifier for the resource with format {{name}}.
PlatformMappings []ObjectDynamicInterfacePlatformMappingTypeArgs
Platform_Mapping. The structure of platform_mapping 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.
SingleIntf string
Single-Intf. Valid values: disable, enable.
Wildcard string
Wildcard. Valid values: disable, enable.
WildcardIntf string
Wildcard-Intf.
ZoneOnly string
Zone-Only. Valid values: disable, enable.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
color Double
Color.
defaultMapping String
Default-Mapping. Valid values: disable, enable.
defmapIntf String
Defmap-Intf.
defmapIntrazoneDeny String
Defmap-Intrazone-Deny. Valid values: disable, enable.
defmapZonemembers List<String>
Defmap-Zonemember.
description String
Description.
dynamicMappings List<ObjectDynamicInterfaceDynamicMapping>
Dynamic_Mapping. The structure of dynamic_mapping block is documented below.
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.
egressShapingProfile String
Egress-Shaping-Profile.
ingressShapingProfile String
Ingress-Shaping-Profile.
name String
Name.
objectDynamicInterfaceId String
an identifier for the resource with format {{name}}.
platformMappings List<ObjectDynamicInterfacePlatformMapping>
Platform_Mapping. The structure of platform_mapping 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.
singleIntf String
Single-Intf. Valid values: disable, enable.
wildcard String
Wildcard. Valid values: disable, enable.
wildcardIntf String
Wildcard-Intf.
zoneOnly String
Zone-Only. Valid values: disable, enable.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
color number
Color.
defaultMapping string
Default-Mapping. Valid values: disable, enable.
defmapIntf string
Defmap-Intf.
defmapIntrazoneDeny string
Defmap-Intrazone-Deny. Valid values: disable, enable.
defmapZonemembers string[]
Defmap-Zonemember.
description string
Description.
dynamicMappings ObjectDynamicInterfaceDynamicMapping[]
Dynamic_Mapping. The structure of dynamic_mapping block is documented below.
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.
egressShapingProfile string
Egress-Shaping-Profile.
ingressShapingProfile string
Ingress-Shaping-Profile.
name string
Name.
objectDynamicInterfaceId string
an identifier for the resource with format {{name}}.
platformMappings ObjectDynamicInterfacePlatformMapping[]
Platform_Mapping. The structure of platform_mapping 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.
singleIntf string
Single-Intf. Valid values: disable, enable.
wildcard string
Wildcard. Valid values: disable, enable.
wildcardIntf string
Wildcard-Intf.
zoneOnly string
Zone-Only. Valid values: disable, enable.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
color float
Color.
default_mapping str
Default-Mapping. Valid values: disable, enable.
defmap_intf str
Defmap-Intf.
defmap_intrazone_deny str
Defmap-Intrazone-Deny. Valid values: disable, enable.
defmap_zonemembers Sequence[str]
Defmap-Zonemember.
description str
Description.
dynamic_mappings Sequence[ObjectDynamicInterfaceDynamicMappingArgs]
Dynamic_Mapping. The structure of dynamic_mapping block is documented below.
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.
egress_shaping_profile str
Egress-Shaping-Profile.
ingress_shaping_profile str
Ingress-Shaping-Profile.
name str
Name.
object_dynamic_interface_id str
an identifier for the resource with format {{name}}.
platform_mappings Sequence[ObjectDynamicInterfacePlatformMappingArgs]
Platform_Mapping. The structure of platform_mapping 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.
single_intf str
Single-Intf. Valid values: disable, enable.
wildcard str
Wildcard. Valid values: disable, enable.
wildcard_intf str
Wildcard-Intf.
zone_only str
Zone-Only. Valid values: disable, enable.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
color Number
Color.
defaultMapping String
Default-Mapping. Valid values: disable, enable.
defmapIntf String
Defmap-Intf.
defmapIntrazoneDeny String
Defmap-Intrazone-Deny. Valid values: disable, enable.
defmapZonemembers List<String>
Defmap-Zonemember.
description String
Description.
dynamicMappings List<Property Map>
Dynamic_Mapping. The structure of dynamic_mapping block is documented below.
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.
egressShapingProfile String
Egress-Shaping-Profile.
ingressShapingProfile String
Ingress-Shaping-Profile.
name String
Name.
objectDynamicInterfaceId String
an identifier for the resource with format {{name}}.
platformMappings List<Property Map>
Platform_Mapping. The structure of platform_mapping 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.
singleIntf String
Single-Intf. Valid values: disable, enable.
wildcard String
Wildcard. Valid values: disable, enable.
wildcardIntf String
Wildcard-Intf.
zoneOnly String
Zone-Only. Valid values: disable, enable.

Outputs

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

Get an existing ObjectDynamicInterface 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?: ObjectDynamicInterfaceState, opts?: CustomResourceOptions): ObjectDynamicInterface
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        color: Optional[float] = None,
        default_mapping: Optional[str] = None,
        defmap_intf: Optional[str] = None,
        defmap_intrazone_deny: Optional[str] = None,
        defmap_zonemembers: Optional[Sequence[str]] = None,
        description: Optional[str] = None,
        dynamic_mappings: Optional[Sequence[ObjectDynamicInterfaceDynamicMappingArgs]] = None,
        dynamic_sort_subtable: Optional[str] = None,
        egress_shaping_profile: Optional[str] = None,
        ingress_shaping_profile: Optional[str] = None,
        name: Optional[str] = None,
        object_dynamic_interface_id: Optional[str] = None,
        platform_mappings: Optional[Sequence[ObjectDynamicInterfacePlatformMappingArgs]] = None,
        scopetype: Optional[str] = None,
        single_intf: Optional[str] = None,
        wildcard: Optional[str] = None,
        wildcard_intf: Optional[str] = None,
        zone_only: Optional[str] = None) -> ObjectDynamicInterface
func GetObjectDynamicInterface(ctx *Context, name string, id IDInput, state *ObjectDynamicInterfaceState, opts ...ResourceOption) (*ObjectDynamicInterface, error)
public static ObjectDynamicInterface Get(string name, Input<string> id, ObjectDynamicInterfaceState? state, CustomResourceOptions? opts = null)
public static ObjectDynamicInterface get(String name, Output<String> id, ObjectDynamicInterfaceState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectDynamicInterface    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.
Color double
Color.
DefaultMapping string
Default-Mapping. Valid values: disable, enable.
DefmapIntf string
Defmap-Intf.
DefmapIntrazoneDeny string
Defmap-Intrazone-Deny. Valid values: disable, enable.
DefmapZonemembers List<string>
Defmap-Zonemember.
Description string
Description.
DynamicMappings List<ObjectDynamicInterfaceDynamicMapping>
Dynamic_Mapping. The structure of dynamic_mapping block is documented below.
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.
EgressShapingProfile string
Egress-Shaping-Profile.
IngressShapingProfile string
Ingress-Shaping-Profile.
Name string
Name.
ObjectDynamicInterfaceId string
an identifier for the resource with format {{name}}.
PlatformMappings List<ObjectDynamicInterfacePlatformMapping>
Platform_Mapping. The structure of platform_mapping 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.
SingleIntf string
Single-Intf. Valid values: disable, enable.
Wildcard string
Wildcard. Valid values: disable, enable.
WildcardIntf string
Wildcard-Intf.
ZoneOnly string
Zone-Only. Valid values: disable, enable.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Color float64
Color.
DefaultMapping string
Default-Mapping. Valid values: disable, enable.
DefmapIntf string
Defmap-Intf.
DefmapIntrazoneDeny string
Defmap-Intrazone-Deny. Valid values: disable, enable.
DefmapZonemembers []string
Defmap-Zonemember.
Description string
Description.
DynamicMappings []ObjectDynamicInterfaceDynamicMappingTypeArgs
Dynamic_Mapping. The structure of dynamic_mapping block is documented below.
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.
EgressShapingProfile string
Egress-Shaping-Profile.
IngressShapingProfile string
Ingress-Shaping-Profile.
Name string
Name.
ObjectDynamicInterfaceId string
an identifier for the resource with format {{name}}.
PlatformMappings []ObjectDynamicInterfacePlatformMappingTypeArgs
Platform_Mapping. The structure of platform_mapping 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.
SingleIntf string
Single-Intf. Valid values: disable, enable.
Wildcard string
Wildcard. Valid values: disable, enable.
WildcardIntf string
Wildcard-Intf.
ZoneOnly string
Zone-Only. Valid values: disable, enable.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
color Double
Color.
defaultMapping String
Default-Mapping. Valid values: disable, enable.
defmapIntf String
Defmap-Intf.
defmapIntrazoneDeny String
Defmap-Intrazone-Deny. Valid values: disable, enable.
defmapZonemembers List<String>
Defmap-Zonemember.
description String
Description.
dynamicMappings List<ObjectDynamicInterfaceDynamicMapping>
Dynamic_Mapping. The structure of dynamic_mapping block is documented below.
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.
egressShapingProfile String
Egress-Shaping-Profile.
ingressShapingProfile String
Ingress-Shaping-Profile.
name String
Name.
objectDynamicInterfaceId String
an identifier for the resource with format {{name}}.
platformMappings List<ObjectDynamicInterfacePlatformMapping>
Platform_Mapping. The structure of platform_mapping 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.
singleIntf String
Single-Intf. Valid values: disable, enable.
wildcard String
Wildcard. Valid values: disable, enable.
wildcardIntf String
Wildcard-Intf.
zoneOnly String
Zone-Only. Valid values: disable, enable.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
color number
Color.
defaultMapping string
Default-Mapping. Valid values: disable, enable.
defmapIntf string
Defmap-Intf.
defmapIntrazoneDeny string
Defmap-Intrazone-Deny. Valid values: disable, enable.
defmapZonemembers string[]
Defmap-Zonemember.
description string
Description.
dynamicMappings ObjectDynamicInterfaceDynamicMapping[]
Dynamic_Mapping. The structure of dynamic_mapping block is documented below.
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.
egressShapingProfile string
Egress-Shaping-Profile.
ingressShapingProfile string
Ingress-Shaping-Profile.
name string
Name.
objectDynamicInterfaceId string
an identifier for the resource with format {{name}}.
platformMappings ObjectDynamicInterfacePlatformMapping[]
Platform_Mapping. The structure of platform_mapping 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.
singleIntf string
Single-Intf. Valid values: disable, enable.
wildcard string
Wildcard. Valid values: disable, enable.
wildcardIntf string
Wildcard-Intf.
zoneOnly string
Zone-Only. Valid values: disable, enable.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
color float
Color.
default_mapping str
Default-Mapping. Valid values: disable, enable.
defmap_intf str
Defmap-Intf.
defmap_intrazone_deny str
Defmap-Intrazone-Deny. Valid values: disable, enable.
defmap_zonemembers Sequence[str]
Defmap-Zonemember.
description str
Description.
dynamic_mappings Sequence[ObjectDynamicInterfaceDynamicMappingArgs]
Dynamic_Mapping. The structure of dynamic_mapping block is documented below.
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.
egress_shaping_profile str
Egress-Shaping-Profile.
ingress_shaping_profile str
Ingress-Shaping-Profile.
name str
Name.
object_dynamic_interface_id str
an identifier for the resource with format {{name}}.
platform_mappings Sequence[ObjectDynamicInterfacePlatformMappingArgs]
Platform_Mapping. The structure of platform_mapping 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.
single_intf str
Single-Intf. Valid values: disable, enable.
wildcard str
Wildcard. Valid values: disable, enable.
wildcard_intf str
Wildcard-Intf.
zone_only str
Zone-Only. Valid values: disable, enable.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
color Number
Color.
defaultMapping String
Default-Mapping. Valid values: disable, enable.
defmapIntf String
Defmap-Intf.
defmapIntrazoneDeny String
Defmap-Intrazone-Deny. Valid values: disable, enable.
defmapZonemembers List<String>
Defmap-Zonemember.
description String
Description.
dynamicMappings List<Property Map>
Dynamic_Mapping. The structure of dynamic_mapping block is documented below.
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.
egressShapingProfile String
Egress-Shaping-Profile.
ingressShapingProfile String
Ingress-Shaping-Profile.
name String
Name.
objectDynamicInterfaceId String
an identifier for the resource with format {{name}}.
platformMappings List<Property Map>
Platform_Mapping. The structure of platform_mapping 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.
singleIntf String
Single-Intf. Valid values: disable, enable.
wildcard String
Wildcard. Valid values: disable, enable.
wildcardIntf String
Wildcard-Intf.
zoneOnly String
Zone-Only. Valid values: disable, enable.

Supporting Types

ObjectDynamicInterfaceDynamicMapping
, ObjectDynamicInterfaceDynamicMappingArgs

EgressShapingProfile string
Egress-Shaping-Profile.
IngressShapingProfile string
Ingress-Shaping-Profile.
IntrazoneDeny string
Intrazone-Deny. Valid values: disable, enable.
LocalIntfs List<string>
Local-Intf.
_scopes List<ObjectDynamicInterfaceDynamicMapping_Scope>
_Scope. The structure of _scope block is documented below.
EgressShapingProfile string
Egress-Shaping-Profile.
IngressShapingProfile string
Ingress-Shaping-Profile.
IntrazoneDeny string
Intrazone-Deny. Valid values: disable, enable.
LocalIntfs []string
Local-Intf.
_scopes []ObjectDynamicInterfaceDynamicMapping_Scope
_Scope. The structure of _scope block is documented below.
_scopes List<ObjectDynamicInterfaceDynamicMapping_Scope>
_Scope. The structure of _scope block is documented below.
egressShapingProfile String
Egress-Shaping-Profile.
ingressShapingProfile String
Ingress-Shaping-Profile.
intrazoneDeny String
Intrazone-Deny. Valid values: disable, enable.
localIntfs List<String>
Local-Intf.
_scopes ObjectDynamicInterfaceDynamicMapping_Scope[]
_Scope. The structure of _scope block is documented below.
egressShapingProfile string
Egress-Shaping-Profile.
ingressShapingProfile string
Ingress-Shaping-Profile.
intrazoneDeny string
Intrazone-Deny. Valid values: disable, enable.
localIntfs string[]
Local-Intf.
_scopes Sequence[ObjectDynamicInterfaceDynamicMapping_Scope]
_Scope. The structure of _scope block is documented below.
egress_shaping_profile str
Egress-Shaping-Profile.
ingress_shaping_profile str
Ingress-Shaping-Profile.
intrazone_deny str
Intrazone-Deny. Valid values: disable, enable.
local_intfs Sequence[str]
Local-Intf.
_scopes List<Property Map>
_Scope. The structure of _scope block is documented below.
egressShapingProfile String
Egress-Shaping-Profile.
ingressShapingProfile String
Ingress-Shaping-Profile.
intrazoneDeny String
Intrazone-Deny. Valid values: disable, enable.
localIntfs List<String>
Local-Intf.

ObjectDynamicInterfaceDynamicMapping_Scope
, ObjectDynamicInterfaceDynamicMapping_ScopeArgs

Name string
Name.
Vdom string
Vdom.
Name string
Name.
Vdom string
Vdom.
name String
Name.
vdom String
Vdom.
name string
Name.
vdom string
Vdom.
name str
Name.
vdom str
Vdom.
name String
Name.
vdom String
Vdom.

ObjectDynamicInterfacePlatformMapping
, ObjectDynamicInterfacePlatformMappingArgs

EgressShapingProfile string
Egress-Shaping-Profile.
IngressShapingProfile string
Ingress-Shaping-Profile.
IntfZone string
Intf-Zone.
IntrazoneDeny string
Intrazone-Deny. Valid values: disable, enable.
Name string
Name.
EgressShapingProfile string
Egress-Shaping-Profile.
IngressShapingProfile string
Ingress-Shaping-Profile.
IntfZone string
Intf-Zone.
IntrazoneDeny string
Intrazone-Deny. Valid values: disable, enable.
Name string
Name.
egressShapingProfile String
Egress-Shaping-Profile.
ingressShapingProfile String
Ingress-Shaping-Profile.
intfZone String
Intf-Zone.
intrazoneDeny String
Intrazone-Deny. Valid values: disable, enable.
name String
Name.
egressShapingProfile string
Egress-Shaping-Profile.
ingressShapingProfile string
Ingress-Shaping-Profile.
intfZone string
Intf-Zone.
intrazoneDeny string
Intrazone-Deny. Valid values: disable, enable.
name string
Name.
egress_shaping_profile str
Egress-Shaping-Profile.
ingress_shaping_profile str
Ingress-Shaping-Profile.
intf_zone str
Intf-Zone.
intrazone_deny str
Intrazone-Deny. Valid values: disable, enable.
name str
Name.
egressShapingProfile String
Egress-Shaping-Profile.
ingressShapingProfile String
Ingress-Shaping-Profile.
intfZone String
Intf-Zone.
intrazoneDeny String
Intrazone-Deny. Valid values: disable, enable.
name String
Name.

Import

ObjectDynamic Interface can be imported using any of these accepted formats:

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/objectDynamicInterface:ObjectDynamicInterface 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.