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

fortimanager.ObjectFirewallGtpMessageratelimitv2

Explore with Pulumi AI

Message rate limiting for GTP version 2.

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

Create ObjectFirewallGtpMessageratelimitv2 Resource

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

Constructor syntax

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

@overload
def ObjectFirewallGtpMessageratelimitv2(resource_name: str,
                                        opts: Optional[ResourceOptions] = None,
                                        gtp: Optional[str] = None,
                                        adom: Optional[str] = None,
                                        create_session_request: Optional[float] = None,
                                        delete_session_request: Optional[float] = None,
                                        echo_request: Optional[float] = None,
                                        object_firewall_gtp_messageratelimitv2_id: Optional[str] = None,
                                        scopetype: Optional[str] = None)
func NewObjectFirewallGtpMessageratelimitv2(ctx *Context, name string, args ObjectFirewallGtpMessageratelimitv2Args, opts ...ResourceOption) (*ObjectFirewallGtpMessageratelimitv2, error)
public ObjectFirewallGtpMessageratelimitv2(string name, ObjectFirewallGtpMessageratelimitv2Args args, CustomResourceOptions? opts = null)
public ObjectFirewallGtpMessageratelimitv2(String name, ObjectFirewallGtpMessageratelimitv2Args args)
public ObjectFirewallGtpMessageratelimitv2(String name, ObjectFirewallGtpMessageratelimitv2Args args, CustomResourceOptions options)
type: fortimanager:ObjectFirewallGtpMessageratelimitv2
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. ObjectFirewallGtpMessageratelimitv2Args
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. ObjectFirewallGtpMessageratelimitv2Args
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. ObjectFirewallGtpMessageratelimitv2Args
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. ObjectFirewallGtpMessageratelimitv2Args
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. ObjectFirewallGtpMessageratelimitv2Args
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 objectFirewallGtpMessageratelimitv2Resource = new Fortimanager.ObjectFirewallGtpMessageratelimitv2("objectFirewallGtpMessageratelimitv2Resource", new()
{
    Gtp = "string",
    Adom = "string",
    CreateSessionRequest = 0,
    DeleteSessionRequest = 0,
    EchoRequest = 0,
    ObjectFirewallGtpMessageratelimitv2Id = "string",
    Scopetype = "string",
});
Copy
example, err := fortimanager.NewObjectFirewallGtpMessageratelimitv2(ctx, "objectFirewallGtpMessageratelimitv2Resource", &fortimanager.ObjectFirewallGtpMessageratelimitv2Args{
Gtp: pulumi.String("string"),
Adom: pulumi.String("string"),
CreateSessionRequest: pulumi.Float64(0),
DeleteSessionRequest: pulumi.Float64(0),
EchoRequest: pulumi.Float64(0),
ObjectFirewallGtpMessageratelimitv2Id: pulumi.String("string"),
Scopetype: pulumi.String("string"),
})
Copy
var objectFirewallGtpMessageratelimitv2Resource = new ObjectFirewallGtpMessageratelimitv2("objectFirewallGtpMessageratelimitv2Resource", ObjectFirewallGtpMessageratelimitv2Args.builder()
    .gtp("string")
    .adom("string")
    .createSessionRequest(0)
    .deleteSessionRequest(0)
    .echoRequest(0)
    .objectFirewallGtpMessageratelimitv2Id("string")
    .scopetype("string")
    .build());
Copy
object_firewall_gtp_messageratelimitv2_resource = fortimanager.ObjectFirewallGtpMessageratelimitv2("objectFirewallGtpMessageratelimitv2Resource",
    gtp="string",
    adom="string",
    create_session_request=0,
    delete_session_request=0,
    echo_request=0,
    object_firewall_gtp_messageratelimitv2_id="string",
    scopetype="string")
Copy
const objectFirewallGtpMessageratelimitv2Resource = new fortimanager.ObjectFirewallGtpMessageratelimitv2("objectFirewallGtpMessageratelimitv2Resource", {
    gtp: "string",
    adom: "string",
    createSessionRequest: 0,
    deleteSessionRequest: 0,
    echoRequest: 0,
    objectFirewallGtpMessageratelimitv2Id: "string",
    scopetype: "string",
});
Copy
type: fortimanager:ObjectFirewallGtpMessageratelimitv2
properties:
    adom: string
    createSessionRequest: 0
    deleteSessionRequest: 0
    echoRequest: 0
    gtp: string
    objectFirewallGtpMessageratelimitv2Id: string
    scopetype: string
Copy

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

Gtp This property is required. string
Gtp.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
CreateSessionRequest double
Rate limit (packets/s) for create session request.
DeleteSessionRequest double
Rate limit (packets/s) for delete session request.
EchoRequest double
Rate limit (packets/s) for echo request.
ObjectFirewallGtpMessageratelimitv2Id string
an identifier for the resource.
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.
Gtp This property is required. string
Gtp.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
CreateSessionRequest float64
Rate limit (packets/s) for create session request.
DeleteSessionRequest float64
Rate limit (packets/s) for delete session request.
EchoRequest float64
Rate limit (packets/s) for echo request.
ObjectFirewallGtpMessageratelimitv2Id string
an identifier for the resource.
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.
gtp This property is required. String
Gtp.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
createSessionRequest Double
Rate limit (packets/s) for create session request.
deleteSessionRequest Double
Rate limit (packets/s) for delete session request.
echoRequest Double
Rate limit (packets/s) for echo request.
objectFirewallGtpMessageratelimitv2Id String
an identifier for the resource.
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.
gtp This property is required. string
Gtp.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
createSessionRequest number
Rate limit (packets/s) for create session request.
deleteSessionRequest number
Rate limit (packets/s) for delete session request.
echoRequest number
Rate limit (packets/s) for echo request.
objectFirewallGtpMessageratelimitv2Id string
an identifier for the resource.
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.
gtp This property is required. str
Gtp.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
create_session_request float
Rate limit (packets/s) for create session request.
delete_session_request float
Rate limit (packets/s) for delete session request.
echo_request float
Rate limit (packets/s) for echo request.
object_firewall_gtp_messageratelimitv2_id str
an identifier for the resource.
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.
gtp This property is required. String
Gtp.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
createSessionRequest Number
Rate limit (packets/s) for create session request.
deleteSessionRequest Number
Rate limit (packets/s) for delete session request.
echoRequest Number
Rate limit (packets/s) for echo request.
objectFirewallGtpMessageratelimitv2Id String
an identifier for the resource.
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 ObjectFirewallGtpMessageratelimitv2 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 ObjectFirewallGtpMessageratelimitv2 Resource

Get an existing ObjectFirewallGtpMessageratelimitv2 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?: ObjectFirewallGtpMessageratelimitv2State, opts?: CustomResourceOptions): ObjectFirewallGtpMessageratelimitv2
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        create_session_request: Optional[float] = None,
        delete_session_request: Optional[float] = None,
        echo_request: Optional[float] = None,
        gtp: Optional[str] = None,
        object_firewall_gtp_messageratelimitv2_id: Optional[str] = None,
        scopetype: Optional[str] = None) -> ObjectFirewallGtpMessageratelimitv2
func GetObjectFirewallGtpMessageratelimitv2(ctx *Context, name string, id IDInput, state *ObjectFirewallGtpMessageratelimitv2State, opts ...ResourceOption) (*ObjectFirewallGtpMessageratelimitv2, error)
public static ObjectFirewallGtpMessageratelimitv2 Get(string name, Input<string> id, ObjectFirewallGtpMessageratelimitv2State? state, CustomResourceOptions? opts = null)
public static ObjectFirewallGtpMessageratelimitv2 get(String name, Output<String> id, ObjectFirewallGtpMessageratelimitv2State state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectFirewallGtpMessageratelimitv2    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.
CreateSessionRequest double
Rate limit (packets/s) for create session request.
DeleteSessionRequest double
Rate limit (packets/s) for delete session request.
EchoRequest double
Rate limit (packets/s) for echo request.
Gtp string
Gtp.
ObjectFirewallGtpMessageratelimitv2Id string
an identifier for the resource.
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.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
CreateSessionRequest float64
Rate limit (packets/s) for create session request.
DeleteSessionRequest float64
Rate limit (packets/s) for delete session request.
EchoRequest float64
Rate limit (packets/s) for echo request.
Gtp string
Gtp.
ObjectFirewallGtpMessageratelimitv2Id string
an identifier for the resource.
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.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
createSessionRequest Double
Rate limit (packets/s) for create session request.
deleteSessionRequest Double
Rate limit (packets/s) for delete session request.
echoRequest Double
Rate limit (packets/s) for echo request.
gtp String
Gtp.
objectFirewallGtpMessageratelimitv2Id String
an identifier for the resource.
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.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
createSessionRequest number
Rate limit (packets/s) for create session request.
deleteSessionRequest number
Rate limit (packets/s) for delete session request.
echoRequest number
Rate limit (packets/s) for echo request.
gtp string
Gtp.
objectFirewallGtpMessageratelimitv2Id string
an identifier for the resource.
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.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
create_session_request float
Rate limit (packets/s) for create session request.
delete_session_request float
Rate limit (packets/s) for delete session request.
echo_request float
Rate limit (packets/s) for echo request.
gtp str
Gtp.
object_firewall_gtp_messageratelimitv2_id str
an identifier for the resource.
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.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
createSessionRequest Number
Rate limit (packets/s) for create session request.
deleteSessionRequest Number
Rate limit (packets/s) for delete session request.
echoRequest Number
Rate limit (packets/s) for echo request.
gtp String
Gtp.
objectFirewallGtpMessageratelimitv2Id String
an identifier for the resource.
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.

Import

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

Set import_options = [“gtp=YOUR_VALUE”] in the provider section.

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/objectFirewallGtpMessageratelimitv2:ObjectFirewallGtpMessageratelimitv2 labelname ObjectFirewallGtpMessageRateLimitV2
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.