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

fortimanager.ObjectFirewallNetworkservicedynamic

Explore with Pulumi AI

Configure Dynamic Network Services.

Create ObjectFirewallNetworkservicedynamic Resource

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

Constructor syntax

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

@overload
def ObjectFirewallNetworkservicedynamic(resource_name: str,
                                        opts: Optional[ResourceOptions] = None,
                                        adom: Optional[str] = None,
                                        comment: Optional[str] = None,
                                        filter: Optional[str] = None,
                                        fosid: Optional[float] = None,
                                        name: Optional[str] = None,
                                        object_firewall_networkservicedynamic_id: Optional[str] = None,
                                        scopetype: Optional[str] = None,
                                        sdn: Optional[str] = None)
func NewObjectFirewallNetworkservicedynamic(ctx *Context, name string, args *ObjectFirewallNetworkservicedynamicArgs, opts ...ResourceOption) (*ObjectFirewallNetworkservicedynamic, error)
public ObjectFirewallNetworkservicedynamic(string name, ObjectFirewallNetworkservicedynamicArgs? args = null, CustomResourceOptions? opts = null)
public ObjectFirewallNetworkservicedynamic(String name, ObjectFirewallNetworkservicedynamicArgs args)
public ObjectFirewallNetworkservicedynamic(String name, ObjectFirewallNetworkservicedynamicArgs args, CustomResourceOptions options)
type: fortimanager:ObjectFirewallNetworkservicedynamic
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 ObjectFirewallNetworkservicedynamicArgs
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 ObjectFirewallNetworkservicedynamicArgs
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 ObjectFirewallNetworkservicedynamicArgs
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 ObjectFirewallNetworkservicedynamicArgs
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. ObjectFirewallNetworkservicedynamicArgs
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 objectFirewallNetworkservicedynamicResource = new Fortimanager.ObjectFirewallNetworkservicedynamic("objectFirewallNetworkservicedynamicResource", new()
{
    Adom = "string",
    Comment = "string",
    Filter = "string",
    Fosid = 0,
    Name = "string",
    ObjectFirewallNetworkservicedynamicId = "string",
    Scopetype = "string",
    Sdn = "string",
});
Copy
example, err := fortimanager.NewObjectFirewallNetworkservicedynamic(ctx, "objectFirewallNetworkservicedynamicResource", &fortimanager.ObjectFirewallNetworkservicedynamicArgs{
Adom: pulumi.String("string"),
Comment: pulumi.String("string"),
Filter: pulumi.String("string"),
Fosid: pulumi.Float64(0),
Name: pulumi.String("string"),
ObjectFirewallNetworkservicedynamicId: pulumi.String("string"),
Scopetype: pulumi.String("string"),
Sdn: pulumi.String("string"),
})
Copy
var objectFirewallNetworkservicedynamicResource = new ObjectFirewallNetworkservicedynamic("objectFirewallNetworkservicedynamicResource", ObjectFirewallNetworkservicedynamicArgs.builder()
    .adom("string")
    .comment("string")
    .filter("string")
    .fosid(0)
    .name("string")
    .objectFirewallNetworkservicedynamicId("string")
    .scopetype("string")
    .sdn("string")
    .build());
Copy
object_firewall_networkservicedynamic_resource = fortimanager.ObjectFirewallNetworkservicedynamic("objectFirewallNetworkservicedynamicResource",
    adom="string",
    comment="string",
    filter="string",
    fosid=0,
    name="string",
    object_firewall_networkservicedynamic_id="string",
    scopetype="string",
    sdn="string")
Copy
const objectFirewallNetworkservicedynamicResource = new fortimanager.ObjectFirewallNetworkservicedynamic("objectFirewallNetworkservicedynamicResource", {
    adom: "string",
    comment: "string",
    filter: "string",
    fosid: 0,
    name: "string",
    objectFirewallNetworkservicedynamicId: "string",
    scopetype: "string",
    sdn: "string",
});
Copy
type: fortimanager:ObjectFirewallNetworkservicedynamic
properties:
    adom: string
    comment: string
    filter: string
    fosid: 0
    name: string
    objectFirewallNetworkservicedynamicId: string
    scopetype: string
    sdn: string
Copy

ObjectFirewallNetworkservicedynamic 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 ObjectFirewallNetworkservicedynamic 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.
Comment string
Comment.
Filter string
Match criteria filter.
Fosid double
Dynamic Network Service ID.
Name string
Dynamic Network Service name.
ObjectFirewallNetworkservicedynamicId 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.
Sdn string
SDN connector name.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Comment string
Comment.
Filter string
Match criteria filter.
Fosid float64
Dynamic Network Service ID.
Name string
Dynamic Network Service name.
ObjectFirewallNetworkservicedynamicId 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.
Sdn string
SDN connector name.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment String
Comment.
filter String
Match criteria filter.
fosid Double
Dynamic Network Service ID.
name String
Dynamic Network Service name.
objectFirewallNetworkservicedynamicId 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.
sdn String
SDN connector name.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment string
Comment.
filter string
Match criteria filter.
fosid number
Dynamic Network Service ID.
name string
Dynamic Network Service name.
objectFirewallNetworkservicedynamicId 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.
sdn string
SDN connector name.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment str
Comment.
filter str
Match criteria filter.
fosid float
Dynamic Network Service ID.
name str
Dynamic Network Service name.
object_firewall_networkservicedynamic_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.
sdn str
SDN connector name.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment String
Comment.
filter String
Match criteria filter.
fosid Number
Dynamic Network Service ID.
name String
Dynamic Network Service name.
objectFirewallNetworkservicedynamicId 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.
sdn String
SDN connector name.

Outputs

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

Get an existing ObjectFirewallNetworkservicedynamic 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?: ObjectFirewallNetworkservicedynamicState, opts?: CustomResourceOptions): ObjectFirewallNetworkservicedynamic
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        comment: Optional[str] = None,
        filter: Optional[str] = None,
        fosid: Optional[float] = None,
        name: Optional[str] = None,
        object_firewall_networkservicedynamic_id: Optional[str] = None,
        scopetype: Optional[str] = None,
        sdn: Optional[str] = None) -> ObjectFirewallNetworkservicedynamic
func GetObjectFirewallNetworkservicedynamic(ctx *Context, name string, id IDInput, state *ObjectFirewallNetworkservicedynamicState, opts ...ResourceOption) (*ObjectFirewallNetworkservicedynamic, error)
public static ObjectFirewallNetworkservicedynamic Get(string name, Input<string> id, ObjectFirewallNetworkservicedynamicState? state, CustomResourceOptions? opts = null)
public static ObjectFirewallNetworkservicedynamic get(String name, Output<String> id, ObjectFirewallNetworkservicedynamicState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectFirewallNetworkservicedynamic    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.
Comment string
Comment.
Filter string
Match criteria filter.
Fosid double
Dynamic Network Service ID.
Name string
Dynamic Network Service name.
ObjectFirewallNetworkservicedynamicId 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.
Sdn string
SDN connector name.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Comment string
Comment.
Filter string
Match criteria filter.
Fosid float64
Dynamic Network Service ID.
Name string
Dynamic Network Service name.
ObjectFirewallNetworkservicedynamicId 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.
Sdn string
SDN connector name.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment String
Comment.
filter String
Match criteria filter.
fosid Double
Dynamic Network Service ID.
name String
Dynamic Network Service name.
objectFirewallNetworkservicedynamicId 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.
sdn String
SDN connector name.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment string
Comment.
filter string
Match criteria filter.
fosid number
Dynamic Network Service ID.
name string
Dynamic Network Service name.
objectFirewallNetworkservicedynamicId 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.
sdn string
SDN connector name.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment str
Comment.
filter str
Match criteria filter.
fosid float
Dynamic Network Service ID.
name str
Dynamic Network Service name.
object_firewall_networkservicedynamic_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.
sdn str
SDN connector name.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment String
Comment.
filter String
Match criteria filter.
fosid Number
Dynamic Network Service ID.
name String
Dynamic Network Service name.
objectFirewallNetworkservicedynamicId 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.
sdn String
SDN connector name.

Import

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

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

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