fortimanager.ObjectDynamicInterfaceDynamicMapping
Explore with Pulumi AI
ObjectDynamic InterfaceDynamicMapping
This resource is a sub resource for variable
dynamic_mappingof resourcefortimanager.ObjectDynamicInterface. Conflict and overwrite may occur if use both of them.
Create ObjectDynamicInterfaceDynamicMapping Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ObjectDynamicInterfaceDynamicMapping(name: string, args: ObjectDynamicInterfaceDynamicMappingArgs, opts?: CustomResourceOptions);@overload
def ObjectDynamicInterfaceDynamicMapping(resource_name: str,
                                         args: ObjectDynamicInterfaceDynamicMappingInitArgs,
                                         opts: Optional[ResourceOptions] = None)
@overload
def ObjectDynamicInterfaceDynamicMapping(resource_name: str,
                                         opts: Optional[ResourceOptions] = None,
                                         interface: Optional[str] = None,
                                         _scopes: Optional[Sequence[ObjectDynamicInterfaceDynamicMapping_ScopeArgs]] = None,
                                         adom: Optional[str] = None,
                                         dynamic_sort_subtable: Optional[str] = None,
                                         egress_shaping_profile: Optional[str] = None,
                                         ingress_shaping_profile: Optional[str] = None,
                                         intrazone_deny: Optional[str] = None,
                                         local_intfs: Optional[Sequence[str]] = None,
                                         object_dynamic_interface_dynamic_mapping_id: Optional[str] = None,
                                         scopetype: Optional[str] = None)func NewObjectDynamicInterfaceDynamicMapping(ctx *Context, name string, args ObjectDynamicInterfaceDynamicMappingArgs, opts ...ResourceOption) (*ObjectDynamicInterfaceDynamicMapping, error)public ObjectDynamicInterfaceDynamicMapping(string name, ObjectDynamicInterfaceDynamicMappingArgs args, CustomResourceOptions? opts = null)
public ObjectDynamicInterfaceDynamicMapping(String name, ObjectDynamicInterfaceDynamicMappingArgs args)
public ObjectDynamicInterfaceDynamicMapping(String name, ObjectDynamicInterfaceDynamicMappingArgs args, CustomResourceOptions options)
type: fortimanager:ObjectDynamicInterfaceDynamicMapping
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 ObjectDynamicInterfaceDynamicMappingArgs
- 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 ObjectDynamicInterfaceDynamicMappingInitArgs
- 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 ObjectDynamicInterfaceDynamicMappingArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ObjectDynamicInterfaceDynamicMappingArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ObjectDynamicInterfaceDynamicMappingArgs
- 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 objectDynamicInterfaceDynamicMappingResource = new Fortimanager.ObjectDynamicInterfaceDynamicMapping("objectDynamicInterfaceDynamicMappingResource", new()
{
    Interface = "string",
    _scopes = new[]
    {
        new Fortimanager.Inputs.ObjectDynamicInterfaceDynamicMapping_ScopeArgs
        {
            Name = "string",
            Vdom = "string",
        },
    },
    Adom = "string",
    DynamicSortSubtable = "string",
    EgressShapingProfile = "string",
    IngressShapingProfile = "string",
    IntrazoneDeny = "string",
    LocalIntfs = new[]
    {
        "string",
    },
    ObjectDynamicInterfaceDynamicMappingId = "string",
    Scopetype = "string",
});
example, err := fortimanager.NewObjectDynamicInterfaceDynamicMapping(ctx, "objectDynamicInterfaceDynamicMappingResource", &fortimanager.ObjectDynamicInterfaceDynamicMappingArgs{
Interface: pulumi.String("string"),
_scopes: .ObjectDynamicInterfaceDynamicMapping_ScopeArray{
&.ObjectDynamicInterfaceDynamicMapping_ScopeArgs{
Name: pulumi.String("string"),
Vdom: pulumi.String("string"),
},
},
Adom: pulumi.String("string"),
DynamicSortSubtable: pulumi.String("string"),
EgressShapingProfile: pulumi.String("string"),
IngressShapingProfile: pulumi.String("string"),
IntrazoneDeny: pulumi.String("string"),
LocalIntfs: pulumi.StringArray{
pulumi.String("string"),
},
ObjectDynamicInterfaceDynamicMappingId: pulumi.String("string"),
Scopetype: pulumi.String("string"),
})
var objectDynamicInterfaceDynamicMappingResource = new ObjectDynamicInterfaceDynamicMapping("objectDynamicInterfaceDynamicMappingResource", ObjectDynamicInterfaceDynamicMappingArgs.builder()
    .interface_("string")
    ._scopes(ObjectDynamicInterfaceDynamicMapping_ScopeArgs.builder()
        .name("string")
        .vdom("string")
        .build())
    .adom("string")
    .dynamicSortSubtable("string")
    .egressShapingProfile("string")
    .ingressShapingProfile("string")
    .intrazoneDeny("string")
    .localIntfs("string")
    .objectDynamicInterfaceDynamicMappingId("string")
    .scopetype("string")
    .build());
object_dynamic_interface_dynamic_mapping_resource = fortimanager.ObjectDynamicInterfaceDynamicMapping("objectDynamicInterfaceDynamicMappingResource",
    interface="string",
    _scopes=[{
        "name": "string",
        "vdom": "string",
    }],
    adom="string",
    dynamic_sort_subtable="string",
    egress_shaping_profile="string",
    ingress_shaping_profile="string",
    intrazone_deny="string",
    local_intfs=["string"],
    object_dynamic_interface_dynamic_mapping_id="string",
    scopetype="string")
const objectDynamicInterfaceDynamicMappingResource = new fortimanager.ObjectDynamicInterfaceDynamicMapping("objectDynamicInterfaceDynamicMappingResource", {
    "interface": "string",
    _scopes: [{
        name: "string",
        vdom: "string",
    }],
    adom: "string",
    dynamicSortSubtable: "string",
    egressShapingProfile: "string",
    ingressShapingProfile: "string",
    intrazoneDeny: "string",
    localIntfs: ["string"],
    objectDynamicInterfaceDynamicMappingId: "string",
    scopetype: "string",
});
type: fortimanager:ObjectDynamicInterfaceDynamicMapping
properties:
    _scopes:
        - name: string
          vdom: string
    adom: string
    dynamicSortSubtable: string
    egressShapingProfile: string
    ingressShapingProfile: string
    interface: string
    intrazoneDeny: string
    localIntfs:
        - string
    objectDynamicInterfaceDynamicMappingId: string
    scopetype: string
ObjectDynamicInterfaceDynamicMapping 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 ObjectDynamicInterfaceDynamicMapping resource accepts the following input properties:
- Interface string
- Interface.
- Adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- 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.
- EgressShaping stringProfile 
- Egress-Shaping-Profile.
- IngressShaping stringProfile 
- Ingress-Shaping-Profile.
- IntrazoneDeny string
- Intrazone-Deny. Valid values: disable,enable.
- LocalIntfs List<string>
- Local-Intf.
- ObjectDynamic stringInterface Dynamic Mapping Id 
- an identifier for the resource with format "{{_scope.name}} {{_scope.vdom}}".
- 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.
- _scopes List<ObjectDynamic Interface Dynamic Mapping_Scope> 
- _Scope. The structure of _scopeblock is documented below.
- Interface string
- Interface.
- Adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- 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.
- EgressShaping stringProfile 
- Egress-Shaping-Profile.
- IngressShaping stringProfile 
- Ingress-Shaping-Profile.
- IntrazoneDeny string
- Intrazone-Deny. Valid values: disable,enable.
- LocalIntfs []string
- Local-Intf.
- ObjectDynamic stringInterface Dynamic Mapping Id 
- an identifier for the resource with format "{{_scope.name}} {{_scope.vdom}}".
- 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.
- _scopes []ObjectDynamic Interface Dynamic Mapping_Scope Args 
- _Scope. The structure of _scopeblock is documented below.
- interface_ String
- Interface.
- _scopes List<ObjectDynamic Interface Dynamic Mapping_Scope> 
- _Scope. The structure of _scopeblock is documented below.
- adom String
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- 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.
- egressShaping StringProfile 
- Egress-Shaping-Profile.
- ingressShaping StringProfile 
- Ingress-Shaping-Profile.
- intrazoneDeny String
- Intrazone-Deny. Valid values: disable,enable.
- localIntfs List<String>
- Local-Intf.
- objectDynamic StringInterface Dynamic Mapping Id 
- an identifier for the resource with format "{{_scope.name}} {{_scope.vdom}}".
- 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.
- interface string
- Interface.
- _scopes ObjectDynamic Interface Dynamic Mapping_Scope[] 
- _Scope. The structure of _scopeblock is documented below.
- adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- 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.
- egressShaping stringProfile 
- Egress-Shaping-Profile.
- ingressShaping stringProfile 
- Ingress-Shaping-Profile.
- intrazoneDeny string
- Intrazone-Deny. Valid values: disable,enable.
- localIntfs string[]
- Local-Intf.
- objectDynamic stringInterface Dynamic Mapping Id 
- an identifier for the resource with format "{{_scope.name}} {{_scope.vdom}}".
- 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.
- interface str
- Interface.
- _scopes Sequence[ObjectDynamic Interface Dynamic Mapping_Scope Args] 
- _Scope. The structure of _scopeblock is documented below.
- adom str
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- 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.
- egress_shaping_ strprofile 
- Egress-Shaping-Profile.
- ingress_shaping_ strprofile 
- Ingress-Shaping-Profile.
- intrazone_deny str
- Intrazone-Deny. Valid values: disable,enable.
- local_intfs Sequence[str]
- Local-Intf.
- object_dynamic_ strinterface_ dynamic_ mapping_ id 
- an identifier for the resource with format "{{_scope.name}} {{_scope.vdom}}".
- 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.
- interface String
- Interface.
- _scopes List<Property Map>
- _Scope. The structure of _scopeblock is documented below.
- adom String
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- 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.
- egressShaping StringProfile 
- Egress-Shaping-Profile.
- ingressShaping StringProfile 
- Ingress-Shaping-Profile.
- intrazoneDeny String
- Intrazone-Deny. Valid values: disable,enable.
- localIntfs List<String>
- Local-Intf.
- objectDynamic StringInterface Dynamic Mapping Id 
- an identifier for the resource with format "{{_scope.name}} {{_scope.vdom}}".
- 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 ObjectDynamicInterfaceDynamicMapping 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 ObjectDynamicInterfaceDynamicMapping Resource
Get an existing ObjectDynamicInterfaceDynamicMapping 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?: ObjectDynamicInterfaceDynamicMappingState, opts?: CustomResourceOptions): ObjectDynamicInterfaceDynamicMapping@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        _scopes: Optional[Sequence[ObjectDynamicInterfaceDynamicMapping_ScopeArgs]] = None,
        adom: Optional[str] = None,
        dynamic_sort_subtable: Optional[str] = None,
        egress_shaping_profile: Optional[str] = None,
        ingress_shaping_profile: Optional[str] = None,
        interface: Optional[str] = None,
        intrazone_deny: Optional[str] = None,
        local_intfs: Optional[Sequence[str]] = None,
        object_dynamic_interface_dynamic_mapping_id: Optional[str] = None,
        scopetype: Optional[str] = None) -> ObjectDynamicInterfaceDynamicMappingfunc GetObjectDynamicInterfaceDynamicMapping(ctx *Context, name string, id IDInput, state *ObjectDynamicInterfaceDynamicMappingState, opts ...ResourceOption) (*ObjectDynamicInterfaceDynamicMapping, error)public static ObjectDynamicInterfaceDynamicMapping Get(string name, Input<string> id, ObjectDynamicInterfaceDynamicMappingState? state, CustomResourceOptions? opts = null)public static ObjectDynamicInterfaceDynamicMapping get(String name, Output<String> id, ObjectDynamicInterfaceDynamicMappingState state, CustomResourceOptions options)resources:  _:    type: fortimanager:ObjectDynamicInterfaceDynamicMapping    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.
- 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.
- EgressShaping stringProfile 
- Egress-Shaping-Profile.
- IngressShaping stringProfile 
- Ingress-Shaping-Profile.
- Interface string
- Interface.
- IntrazoneDeny string
- Intrazone-Deny. Valid values: disable,enable.
- LocalIntfs List<string>
- Local-Intf.
- ObjectDynamic stringInterface Dynamic Mapping Id 
- an identifier for the resource with format "{{_scope.name}} {{_scope.vdom}}".
- 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.
- _scopes List<ObjectDynamic Interface Dynamic Mapping_Scope> 
- _Scope. The structure of _scopeblock is documented below.
- Adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- 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.
- EgressShaping stringProfile 
- Egress-Shaping-Profile.
- IngressShaping stringProfile 
- Ingress-Shaping-Profile.
- Interface string
- Interface.
- IntrazoneDeny string
- Intrazone-Deny. Valid values: disable,enable.
- LocalIntfs []string
- Local-Intf.
- ObjectDynamic stringInterface Dynamic Mapping Id 
- an identifier for the resource with format "{{_scope.name}} {{_scope.vdom}}".
- 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.
- _scopes []ObjectDynamic Interface Dynamic Mapping_Scope Args 
- _Scope. The structure of _scopeblock is documented below.
- _scopes List<ObjectDynamic Interface Dynamic Mapping_Scope> 
- _Scope. The structure of _scopeblock is documented below.
- adom String
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- 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.
- egressShaping StringProfile 
- Egress-Shaping-Profile.
- ingressShaping StringProfile 
- Ingress-Shaping-Profile.
- interface_ String
- Interface.
- intrazoneDeny String
- Intrazone-Deny. Valid values: disable,enable.
- localIntfs List<String>
- Local-Intf.
- objectDynamic StringInterface Dynamic Mapping Id 
- an identifier for the resource with format "{{_scope.name}} {{_scope.vdom}}".
- 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.
- _scopes ObjectDynamic Interface Dynamic Mapping_Scope[] 
- _Scope. The structure of _scopeblock is documented below.
- adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- 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.
- egressShaping stringProfile 
- Egress-Shaping-Profile.
- ingressShaping stringProfile 
- Ingress-Shaping-Profile.
- interface string
- Interface.
- intrazoneDeny string
- Intrazone-Deny. Valid values: disable,enable.
- localIntfs string[]
- Local-Intf.
- objectDynamic stringInterface Dynamic Mapping Id 
- an identifier for the resource with format "{{_scope.name}} {{_scope.vdom}}".
- 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.
- _scopes Sequence[ObjectDynamic Interface Dynamic Mapping_Scope Args] 
- _Scope. The structure of _scopeblock is documented below.
- adom str
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- 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.
- egress_shaping_ strprofile 
- Egress-Shaping-Profile.
- ingress_shaping_ strprofile 
- Ingress-Shaping-Profile.
- interface str
- Interface.
- intrazone_deny str
- Intrazone-Deny. Valid values: disable,enable.
- local_intfs Sequence[str]
- Local-Intf.
- object_dynamic_ strinterface_ dynamic_ mapping_ id 
- an identifier for the resource with format "{{_scope.name}} {{_scope.vdom}}".
- 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.
- _scopes List<Property Map>
- _Scope. The structure of _scopeblock is documented below.
- adom String
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- 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.
- egressShaping StringProfile 
- Egress-Shaping-Profile.
- ingressShaping StringProfile 
- Ingress-Shaping-Profile.
- interface String
- Interface.
- intrazoneDeny String
- Intrazone-Deny. Valid values: disable,enable.
- localIntfs List<String>
- Local-Intf.
- objectDynamic StringInterface Dynamic Mapping Id 
- an identifier for the resource with format "{{_scope.name}} {{_scope.vdom}}".
- 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
ObjectDynamicInterfaceDynamicMapping_Scope, ObjectDynamicInterfaceDynamicMapping_ScopeArgs          
Import
ObjectDynamic InterfaceDynamicMapping can be imported using any of these accepted formats:
Set import_options = [“interface=YOUR_VALUE”] in the provider section.
$ export “FORTIMANAGER_IMPORT_TABLE”=“true”
$ pulumi import fortimanager:index/objectDynamicInterfaceDynamicMapping:ObjectDynamicInterfaceDynamicMapping labelname {{_scope.name}}.{{_scope.vdom}}
$ 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.