1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. ObjectDynamicMulticastInterfaceDynamicMapping
fortimanager 1.14.0 published on Tuesday, Apr 15, 2025 by fortinetdev

fortimanager.ObjectDynamicMulticastInterfaceDynamicMapping

Explore with Pulumi AI

ObjectDynamic MulticastInterfaceDynamicMapping

This resource is a sub resource for variable dynamic_mapping of resource fortimanager.ObjectDynamicMulticastInterface. Conflict and overwrite may occur if use both of them.

Create ObjectDynamicMulticastInterfaceDynamicMapping Resource

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

Constructor syntax

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

@overload
def ObjectDynamicMulticastInterfaceDynamicMapping(resource_name: str,
                                                  opts: Optional[ResourceOptions] = None,
                                                  interface: Optional[str] = None,
                                                  _scopes: Optional[Sequence[ObjectDynamicMulticastInterfaceDynamicMapping_ScopeArgs]] = None,
                                                  adom: Optional[str] = None,
                                                  dynamic_sort_subtable: Optional[str] = None,
                                                  local_intf: Optional[str] = None,
                                                  object_dynamic_multicast_interface_dynamic_mapping_id: Optional[str] = None,
                                                  scopetype: Optional[str] = None)
func NewObjectDynamicMulticastInterfaceDynamicMapping(ctx *Context, name string, args ObjectDynamicMulticastInterfaceDynamicMappingArgs, opts ...ResourceOption) (*ObjectDynamicMulticastInterfaceDynamicMapping, error)
public ObjectDynamicMulticastInterfaceDynamicMapping(string name, ObjectDynamicMulticastInterfaceDynamicMappingArgs args, CustomResourceOptions? opts = null)
public ObjectDynamicMulticastInterfaceDynamicMapping(String name, ObjectDynamicMulticastInterfaceDynamicMappingArgs args)
public ObjectDynamicMulticastInterfaceDynamicMapping(String name, ObjectDynamicMulticastInterfaceDynamicMappingArgs args, CustomResourceOptions options)
type: fortimanager:ObjectDynamicMulticastInterfaceDynamicMapping
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 This property is required. ObjectDynamicMulticastInterfaceDynamicMappingArgs
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 This property is required. ObjectDynamicMulticastInterfaceDynamicMappingInitArgs
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 This property is required. ObjectDynamicMulticastInterfaceDynamicMappingArgs
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 This property is required. ObjectDynamicMulticastInterfaceDynamicMappingArgs
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. ObjectDynamicMulticastInterfaceDynamicMappingArgs
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 objectDynamicMulticastInterfaceDynamicMappingResource = new Fortimanager.ObjectDynamicMulticastInterfaceDynamicMapping("objectDynamicMulticastInterfaceDynamicMappingResource", new()
{
    Interface = "string",
    _scopes = new[]
    {
        new Fortimanager.Inputs.ObjectDynamicMulticastInterfaceDynamicMapping_ScopeArgs
        {
            Name = "string",
            Vdom = "string",
        },
    },
    Adom = "string",
    DynamicSortSubtable = "string",
    LocalIntf = "string",
    ObjectDynamicMulticastInterfaceDynamicMappingId = "string",
    Scopetype = "string",
});
Copy
example, err := fortimanager.NewObjectDynamicMulticastInterfaceDynamicMapping(ctx, "objectDynamicMulticastInterfaceDynamicMappingResource", &fortimanager.ObjectDynamicMulticastInterfaceDynamicMappingArgs{
Interface: pulumi.String("string"),
_scopes: .ObjectDynamicMulticastInterfaceDynamicMapping_ScopeArray{
&.ObjectDynamicMulticastInterfaceDynamicMapping_ScopeArgs{
Name: pulumi.String("string"),
Vdom: pulumi.String("string"),
},
},
Adom: pulumi.String("string"),
DynamicSortSubtable: pulumi.String("string"),
LocalIntf: pulumi.String("string"),
ObjectDynamicMulticastInterfaceDynamicMappingId: pulumi.String("string"),
Scopetype: pulumi.String("string"),
})
Copy
var objectDynamicMulticastInterfaceDynamicMappingResource = new ObjectDynamicMulticastInterfaceDynamicMapping("objectDynamicMulticastInterfaceDynamicMappingResource", ObjectDynamicMulticastInterfaceDynamicMappingArgs.builder()
    .interface_("string")
    ._scopes(ObjectDynamicMulticastInterfaceDynamicMapping_ScopeArgs.builder()
        .name("string")
        .vdom("string")
        .build())
    .adom("string")
    .dynamicSortSubtable("string")
    .localIntf("string")
    .objectDynamicMulticastInterfaceDynamicMappingId("string")
    .scopetype("string")
    .build());
Copy
object_dynamic_multicast_interface_dynamic_mapping_resource = fortimanager.ObjectDynamicMulticastInterfaceDynamicMapping("objectDynamicMulticastInterfaceDynamicMappingResource",
    interface="string",
    _scopes=[{
        "name": "string",
        "vdom": "string",
    }],
    adom="string",
    dynamic_sort_subtable="string",
    local_intf="string",
    object_dynamic_multicast_interface_dynamic_mapping_id="string",
    scopetype="string")
Copy
const objectDynamicMulticastInterfaceDynamicMappingResource = new fortimanager.ObjectDynamicMulticastInterfaceDynamicMapping("objectDynamicMulticastInterfaceDynamicMappingResource", {
    "interface": "string",
    _scopes: [{
        name: "string",
        vdom: "string",
    }],
    adom: "string",
    dynamicSortSubtable: "string",
    localIntf: "string",
    objectDynamicMulticastInterfaceDynamicMappingId: "string",
    scopetype: "string",
});
Copy
type: fortimanager:ObjectDynamicMulticastInterfaceDynamicMapping
properties:
    _scopes:
        - name: string
          vdom: string
    adom: string
    dynamicSortSubtable: string
    interface: string
    localIntf: string
    objectDynamicMulticastInterfaceDynamicMappingId: string
    scopetype: string
Copy

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

Interface This property is required. string
Interface.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
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.
LocalIntf string
Local-Intf.
ObjectDynamicMulticastInterfaceDynamicMappingId string
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. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
_scopes List<ObjectDynamicMulticastInterfaceDynamicMapping_Scope>
_Scope. The structure of _scope block is documented below.
Interface This property is required. string
Interface.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
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.
LocalIntf string
Local-Intf.
ObjectDynamicMulticastInterfaceDynamicMappingId string
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. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
_scopes []ObjectDynamicMulticastInterfaceDynamicMapping_ScopeArgs
_Scope. The structure of _scope block is documented below.
interface_ This property is required. String
Interface.
_scopes List<ObjectDynamicMulticastInterfaceDynamicMapping_Scope>
_Scope. The structure of _scope block is documented below.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
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.
localIntf String
Local-Intf.
objectDynamicMulticastInterfaceDynamicMappingId String
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. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
interface This property is required. string
Interface.
_scopes ObjectDynamicMulticastInterfaceDynamicMapping_Scope[]
_Scope. The structure of _scope block is documented below.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
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.
localIntf string
Local-Intf.
objectDynamicMulticastInterfaceDynamicMappingId string
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. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
interface This property is required. str
Interface.
_scopes Sequence[ObjectDynamicMulticastInterfaceDynamicMapping_ScopeArgs]
_Scope. The structure of _scope block is documented below.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
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.
local_intf str
Local-Intf.
object_dynamic_multicast_interface_dynamic_mapping_id str
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. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
interface This property is required. String
Interface.
_scopes List<Property Map>
_Scope. The structure of _scope block is documented below.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
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.
localIntf String
Local-Intf.
objectDynamicMulticastInterfaceDynamicMappingId String
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. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.

Outputs

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

Get an existing ObjectDynamicMulticastInterfaceDynamicMapping 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?: ObjectDynamicMulticastInterfaceDynamicMappingState, opts?: CustomResourceOptions): ObjectDynamicMulticastInterfaceDynamicMapping
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        _scopes: Optional[Sequence[ObjectDynamicMulticastInterfaceDynamicMapping_ScopeArgs]] = None,
        adom: Optional[str] = None,
        dynamic_sort_subtable: Optional[str] = None,
        interface: Optional[str] = None,
        local_intf: Optional[str] = None,
        object_dynamic_multicast_interface_dynamic_mapping_id: Optional[str] = None,
        scopetype: Optional[str] = None) -> ObjectDynamicMulticastInterfaceDynamicMapping
func GetObjectDynamicMulticastInterfaceDynamicMapping(ctx *Context, name string, id IDInput, state *ObjectDynamicMulticastInterfaceDynamicMappingState, opts ...ResourceOption) (*ObjectDynamicMulticastInterfaceDynamicMapping, error)
public static ObjectDynamicMulticastInterfaceDynamicMapping Get(string name, Input<string> id, ObjectDynamicMulticastInterfaceDynamicMappingState? state, CustomResourceOptions? opts = null)
public static ObjectDynamicMulticastInterfaceDynamicMapping get(String name, Output<String> id, ObjectDynamicMulticastInterfaceDynamicMappingState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectDynamicMulticastInterfaceDynamicMapping    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.
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.
Interface string
Interface.
LocalIntf string
Local-Intf.
ObjectDynamicMulticastInterfaceDynamicMappingId string
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. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
_scopes List<ObjectDynamicMulticastInterfaceDynamicMapping_Scope>
_Scope. The structure of _scope block is documented below.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
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.
Interface string
Interface.
LocalIntf string
Local-Intf.
ObjectDynamicMulticastInterfaceDynamicMappingId string
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. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
_scopes []ObjectDynamicMulticastInterfaceDynamicMapping_ScopeArgs
_Scope. The structure of _scope block is documented below.
_scopes List<ObjectDynamicMulticastInterfaceDynamicMapping_Scope>
_Scope. The structure of _scope block is documented below.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
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.
interface_ String
Interface.
localIntf String
Local-Intf.
objectDynamicMulticastInterfaceDynamicMappingId String
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. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
_scopes ObjectDynamicMulticastInterfaceDynamicMapping_Scope[]
_Scope. The structure of _scope block is documented below.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
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.
interface string
Interface.
localIntf string
Local-Intf.
objectDynamicMulticastInterfaceDynamicMappingId string
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. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
_scopes Sequence[ObjectDynamicMulticastInterfaceDynamicMapping_ScopeArgs]
_Scope. The structure of _scope block is documented below.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
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.
interface str
Interface.
local_intf str
Local-Intf.
object_dynamic_multicast_interface_dynamic_mapping_id str
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. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
_scopes List<Property Map>
_Scope. The structure of _scope block is documented below.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
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.
interface String
Interface.
localIntf String
Local-Intf.
objectDynamicMulticastInterfaceDynamicMappingId String
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. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.

Supporting Types

ObjectDynamicMulticastInterfaceDynamicMapping_Scope
, ObjectDynamicMulticastInterfaceDynamicMapping_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.

Import

ObjectDynamic MulticastInterfaceDynamicMapping 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/objectDynamicMulticastInterfaceDynamicMapping:ObjectDynamicMulticastInterfaceDynamicMapping labelname {{_scope.name}}.{{_scope.vdom}}
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.