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

fortimanager.ObjectFirewallAddress6DynamicMappingSubnetsegment

Explore with Pulumi AI

IPv6 subnet segments.

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

Create ObjectFirewallAddress6DynamicMappingSubnetsegment Resource

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

Constructor syntax

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

@overload
def ObjectFirewallAddress6DynamicMappingSubnetsegment(resource_name: str,
                                                      opts: Optional[ResourceOptions] = None,
                                                      address6: Optional[str] = None,
                                                      dynamic_mapping_name: Optional[str] = None,
                                                      dynamic_mapping_vdom: Optional[str] = None,
                                                      adom: Optional[str] = None,
                                                      name: Optional[str] = None,
                                                      object_firewall_address6_dynamic_mapping_subnetsegment_id: Optional[str] = None,
                                                      scopetype: Optional[str] = None,
                                                      type: Optional[str] = None,
                                                      value: Optional[str] = None)
func NewObjectFirewallAddress6DynamicMappingSubnetsegment(ctx *Context, name string, args ObjectFirewallAddress6DynamicMappingSubnetsegmentArgs, opts ...ResourceOption) (*ObjectFirewallAddress6DynamicMappingSubnetsegment, error)
public ObjectFirewallAddress6DynamicMappingSubnetsegment(string name, ObjectFirewallAddress6DynamicMappingSubnetsegmentArgs args, CustomResourceOptions? opts = null)
public ObjectFirewallAddress6DynamicMappingSubnetsegment(String name, ObjectFirewallAddress6DynamicMappingSubnetsegmentArgs args)
public ObjectFirewallAddress6DynamicMappingSubnetsegment(String name, ObjectFirewallAddress6DynamicMappingSubnetsegmentArgs args, CustomResourceOptions options)
type: fortimanager:ObjectFirewallAddress6DynamicMappingSubnetsegment
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. ObjectFirewallAddress6DynamicMappingSubnetsegmentArgs
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. ObjectFirewallAddress6DynamicMappingSubnetsegmentArgs
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. ObjectFirewallAddress6DynamicMappingSubnetsegmentArgs
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. ObjectFirewallAddress6DynamicMappingSubnetsegmentArgs
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. ObjectFirewallAddress6DynamicMappingSubnetsegmentArgs
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 objectFirewallAddress6DynamicMappingSubnetsegmentResource = new Fortimanager.ObjectFirewallAddress6DynamicMappingSubnetsegment("objectFirewallAddress6DynamicMappingSubnetsegmentResource", new()
{
    Address6 = "string",
    DynamicMappingName = "string",
    DynamicMappingVdom = "string",
    Adom = "string",
    Name = "string",
    ObjectFirewallAddress6DynamicMappingSubnetsegmentId = "string",
    Scopetype = "string",
    Type = "string",
    Value = "string",
});
Copy
example, err := fortimanager.NewObjectFirewallAddress6DynamicMappingSubnetsegment(ctx, "objectFirewallAddress6DynamicMappingSubnetsegmentResource", &fortimanager.ObjectFirewallAddress6DynamicMappingSubnetsegmentArgs{
Address6: pulumi.String("string"),
DynamicMappingName: pulumi.String("string"),
DynamicMappingVdom: pulumi.String("string"),
Adom: pulumi.String("string"),
Name: pulumi.String("string"),
ObjectFirewallAddress6DynamicMappingSubnetsegmentId: pulumi.String("string"),
Scopetype: pulumi.String("string"),
Type: pulumi.String("string"),
Value: pulumi.String("string"),
})
Copy
var objectFirewallAddress6DynamicMappingSubnetsegmentResource = new ObjectFirewallAddress6DynamicMappingSubnetsegment("objectFirewallAddress6DynamicMappingSubnetsegmentResource", ObjectFirewallAddress6DynamicMappingSubnetsegmentArgs.builder()
    .address6("string")
    .dynamicMappingName("string")
    .dynamicMappingVdom("string")
    .adom("string")
    .name("string")
    .objectFirewallAddress6DynamicMappingSubnetsegmentId("string")
    .scopetype("string")
    .type("string")
    .value("string")
    .build());
Copy
object_firewall_address6_dynamic_mapping_subnetsegment_resource = fortimanager.ObjectFirewallAddress6DynamicMappingSubnetsegment("objectFirewallAddress6DynamicMappingSubnetsegmentResource",
    address6="string",
    dynamic_mapping_name="string",
    dynamic_mapping_vdom="string",
    adom="string",
    name="string",
    object_firewall_address6_dynamic_mapping_subnetsegment_id="string",
    scopetype="string",
    type="string",
    value="string")
Copy
const objectFirewallAddress6DynamicMappingSubnetsegmentResource = new fortimanager.ObjectFirewallAddress6DynamicMappingSubnetsegment("objectFirewallAddress6DynamicMappingSubnetsegmentResource", {
    address6: "string",
    dynamicMappingName: "string",
    dynamicMappingVdom: "string",
    adom: "string",
    name: "string",
    objectFirewallAddress6DynamicMappingSubnetsegmentId: "string",
    scopetype: "string",
    type: "string",
    value: "string",
});
Copy
type: fortimanager:ObjectFirewallAddress6DynamicMappingSubnetsegment
properties:
    address6: string
    adom: string
    dynamicMappingName: string
    dynamicMappingVdom: string
    name: string
    objectFirewallAddress6DynamicMappingSubnetsegmentId: string
    scopetype: string
    type: string
    value: string
Copy

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

Address6 This property is required. string
Address6.
DynamicMappingName This property is required. string
Dynamic Mapping Name.
DynamicMappingVdom This property is required. string
Dynamic Mapping Vdom.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Name string
Name.
ObjectFirewallAddress6DynamicMappingSubnetsegmentId string
an identifier for the resource with format {{name}}.
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.
Type string
Subnet segment type. Valid values: any, specific.
Value string
Subnet segment value.
Address6 This property is required. string
Address6.
DynamicMappingName This property is required. string
Dynamic Mapping Name.
DynamicMappingVdom This property is required. string
Dynamic Mapping Vdom.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Name string
Name.
ObjectFirewallAddress6DynamicMappingSubnetsegmentId string
an identifier for the resource with format {{name}}.
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.
Type string
Subnet segment type. Valid values: any, specific.
Value string
Subnet segment value.
address6 This property is required. String
Address6.
dynamicMappingName This property is required. String
Dynamic Mapping Name.
dynamicMappingVdom This property is required. String
Dynamic Mapping Vdom.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
name String
Name.
objectFirewallAddress6DynamicMappingSubnetsegmentId String
an identifier for the resource with format {{name}}.
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.
type String
Subnet segment type. Valid values: any, specific.
value String
Subnet segment value.
address6 This property is required. string
Address6.
dynamicMappingName This property is required. string
Dynamic Mapping Name.
dynamicMappingVdom This property is required. string
Dynamic Mapping Vdom.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
name string
Name.
objectFirewallAddress6DynamicMappingSubnetsegmentId string
an identifier for the resource with format {{name}}.
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.
type string
Subnet segment type. Valid values: any, specific.
value string
Subnet segment value.
address6 This property is required. str
Address6.
dynamic_mapping_name This property is required. str
Dynamic Mapping Name.
dynamic_mapping_vdom This property is required. str
Dynamic Mapping Vdom.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
name str
Name.
object_firewall_address6_dynamic_mapping_subnetsegment_id str
an identifier for the resource with format {{name}}.
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.
type str
Subnet segment type. Valid values: any, specific.
value str
Subnet segment value.
address6 This property is required. String
Address6.
dynamicMappingName This property is required. String
Dynamic Mapping Name.
dynamicMappingVdom This property is required. String
Dynamic Mapping Vdom.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
name String
Name.
objectFirewallAddress6DynamicMappingSubnetsegmentId String
an identifier for the resource with format {{name}}.
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.
type String
Subnet segment type. Valid values: any, specific.
value String
Subnet segment value.

Outputs

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

Get an existing ObjectFirewallAddress6DynamicMappingSubnetsegment 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?: ObjectFirewallAddress6DynamicMappingSubnetsegmentState, opts?: CustomResourceOptions): ObjectFirewallAddress6DynamicMappingSubnetsegment
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        address6: Optional[str] = None,
        adom: Optional[str] = None,
        dynamic_mapping_name: Optional[str] = None,
        dynamic_mapping_vdom: Optional[str] = None,
        name: Optional[str] = None,
        object_firewall_address6_dynamic_mapping_subnetsegment_id: Optional[str] = None,
        scopetype: Optional[str] = None,
        type: Optional[str] = None,
        value: Optional[str] = None) -> ObjectFirewallAddress6DynamicMappingSubnetsegment
func GetObjectFirewallAddress6DynamicMappingSubnetsegment(ctx *Context, name string, id IDInput, state *ObjectFirewallAddress6DynamicMappingSubnetsegmentState, opts ...ResourceOption) (*ObjectFirewallAddress6DynamicMappingSubnetsegment, error)
public static ObjectFirewallAddress6DynamicMappingSubnetsegment Get(string name, Input<string> id, ObjectFirewallAddress6DynamicMappingSubnetsegmentState? state, CustomResourceOptions? opts = null)
public static ObjectFirewallAddress6DynamicMappingSubnetsegment get(String name, Output<String> id, ObjectFirewallAddress6DynamicMappingSubnetsegmentState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectFirewallAddress6DynamicMappingSubnetsegment    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:
Address6 string
Address6.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
DynamicMappingName string
Dynamic Mapping Name.
DynamicMappingVdom string
Dynamic Mapping Vdom.
Name string
Name.
ObjectFirewallAddress6DynamicMappingSubnetsegmentId string
an identifier for the resource with format {{name}}.
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.
Type string
Subnet segment type. Valid values: any, specific.
Value string
Subnet segment value.
Address6 string
Address6.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
DynamicMappingName string
Dynamic Mapping Name.
DynamicMappingVdom string
Dynamic Mapping Vdom.
Name string
Name.
ObjectFirewallAddress6DynamicMappingSubnetsegmentId string
an identifier for the resource with format {{name}}.
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.
Type string
Subnet segment type. Valid values: any, specific.
Value string
Subnet segment value.
address6 String
Address6.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
dynamicMappingName String
Dynamic Mapping Name.
dynamicMappingVdom String
Dynamic Mapping Vdom.
name String
Name.
objectFirewallAddress6DynamicMappingSubnetsegmentId String
an identifier for the resource with format {{name}}.
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.
type String
Subnet segment type. Valid values: any, specific.
value String
Subnet segment value.
address6 string
Address6.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
dynamicMappingName string
Dynamic Mapping Name.
dynamicMappingVdom string
Dynamic Mapping Vdom.
name string
Name.
objectFirewallAddress6DynamicMappingSubnetsegmentId string
an identifier for the resource with format {{name}}.
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.
type string
Subnet segment type. Valid values: any, specific.
value string
Subnet segment value.
address6 str
Address6.
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_mapping_name str
Dynamic Mapping Name.
dynamic_mapping_vdom str
Dynamic Mapping Vdom.
name str
Name.
object_firewall_address6_dynamic_mapping_subnetsegment_id str
an identifier for the resource with format {{name}}.
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.
type str
Subnet segment type. Valid values: any, specific.
value str
Subnet segment value.
address6 String
Address6.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
dynamicMappingName String
Dynamic Mapping Name.
dynamicMappingVdom String
Dynamic Mapping Vdom.
name String
Name.
objectFirewallAddress6DynamicMappingSubnetsegmentId String
an identifier for the resource with format {{name}}.
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.
type String
Subnet segment type. Valid values: any, specific.
value String
Subnet segment value.

Import

ObjectFirewall Address6DynamicMappingSubnetSegment can be imported using any of these accepted formats:

Set import_options = [“address6=YOUR_VALUE”, “dynamic_mapping_name=YOUR_VALUE”, “dynamic_mapping_vdom=YOUR_VALUE”] in the provider section.

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

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