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

fortimanager.ObjectFirewallGtpMessageratelimitv0

Explore with Pulumi AI

Message rate limiting for GTP version 0.

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

Create ObjectFirewallGtpMessageratelimitv0 Resource

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

Constructor syntax

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

@overload
def ObjectFirewallGtpMessageratelimitv0(resource_name: str,
                                        opts: Optional[ResourceOptions] = None,
                                        gtp: Optional[str] = None,
                                        adom: Optional[str] = None,
                                        create_pdp_request: Optional[float] = None,
                                        delete_pdp_request: Optional[float] = None,
                                        echo_request: Optional[float] = None,
                                        object_firewall_gtp_messageratelimitv0_id: Optional[str] = None,
                                        scopetype: Optional[str] = None)
func NewObjectFirewallGtpMessageratelimitv0(ctx *Context, name string, args ObjectFirewallGtpMessageratelimitv0Args, opts ...ResourceOption) (*ObjectFirewallGtpMessageratelimitv0, error)
public ObjectFirewallGtpMessageratelimitv0(string name, ObjectFirewallGtpMessageratelimitv0Args args, CustomResourceOptions? opts = null)
public ObjectFirewallGtpMessageratelimitv0(String name, ObjectFirewallGtpMessageratelimitv0Args args)
public ObjectFirewallGtpMessageratelimitv0(String name, ObjectFirewallGtpMessageratelimitv0Args args, CustomResourceOptions options)
type: fortimanager:ObjectFirewallGtpMessageratelimitv0
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. ObjectFirewallGtpMessageratelimitv0Args
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. ObjectFirewallGtpMessageratelimitv0Args
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. ObjectFirewallGtpMessageratelimitv0Args
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. ObjectFirewallGtpMessageratelimitv0Args
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. ObjectFirewallGtpMessageratelimitv0Args
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 objectFirewallGtpMessageratelimitv0Resource = new Fortimanager.ObjectFirewallGtpMessageratelimitv0("objectFirewallGtpMessageratelimitv0Resource", new()
{
    Gtp = "string",
    Adom = "string",
    CreatePdpRequest = 0,
    DeletePdpRequest = 0,
    EchoRequest = 0,
    ObjectFirewallGtpMessageratelimitv0Id = "string",
    Scopetype = "string",
});
Copy
example, err := fortimanager.NewObjectFirewallGtpMessageratelimitv0(ctx, "objectFirewallGtpMessageratelimitv0Resource", &fortimanager.ObjectFirewallGtpMessageratelimitv0Args{
Gtp: pulumi.String("string"),
Adom: pulumi.String("string"),
CreatePdpRequest: pulumi.Float64(0),
DeletePdpRequest: pulumi.Float64(0),
EchoRequest: pulumi.Float64(0),
ObjectFirewallGtpMessageratelimitv0Id: pulumi.String("string"),
Scopetype: pulumi.String("string"),
})
Copy
var objectFirewallGtpMessageratelimitv0Resource = new ObjectFirewallGtpMessageratelimitv0("objectFirewallGtpMessageratelimitv0Resource", ObjectFirewallGtpMessageratelimitv0Args.builder()
    .gtp("string")
    .adom("string")
    .createPdpRequest(0)
    .deletePdpRequest(0)
    .echoRequest(0)
    .objectFirewallGtpMessageratelimitv0Id("string")
    .scopetype("string")
    .build());
Copy
object_firewall_gtp_messageratelimitv0_resource = fortimanager.ObjectFirewallGtpMessageratelimitv0("objectFirewallGtpMessageratelimitv0Resource",
    gtp="string",
    adom="string",
    create_pdp_request=0,
    delete_pdp_request=0,
    echo_request=0,
    object_firewall_gtp_messageratelimitv0_id="string",
    scopetype="string")
Copy
const objectFirewallGtpMessageratelimitv0Resource = new fortimanager.ObjectFirewallGtpMessageratelimitv0("objectFirewallGtpMessageratelimitv0Resource", {
    gtp: "string",
    adom: "string",
    createPdpRequest: 0,
    deletePdpRequest: 0,
    echoRequest: 0,
    objectFirewallGtpMessageratelimitv0Id: "string",
    scopetype: "string",
});
Copy
type: fortimanager:ObjectFirewallGtpMessageratelimitv0
properties:
    adom: string
    createPdpRequest: 0
    deletePdpRequest: 0
    echoRequest: 0
    gtp: string
    objectFirewallGtpMessageratelimitv0Id: string
    scopetype: string
Copy

ObjectFirewallGtpMessageratelimitv0 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 ObjectFirewallGtpMessageratelimitv0 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.
CreatePdpRequest double
Rate limit (packets/s) for create PDP context request.
DeletePdpRequest double
Rate limit (packets/s) for delete PDP context request.
EchoRequest double
Rate limit (packets/s) for echo request.
ObjectFirewallGtpMessageratelimitv0Id 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.
CreatePdpRequest float64
Rate limit (packets/s) for create PDP context request.
DeletePdpRequest float64
Rate limit (packets/s) for delete PDP context request.
EchoRequest float64
Rate limit (packets/s) for echo request.
ObjectFirewallGtpMessageratelimitv0Id 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.
createPdpRequest Double
Rate limit (packets/s) for create PDP context request.
deletePdpRequest Double
Rate limit (packets/s) for delete PDP context request.
echoRequest Double
Rate limit (packets/s) for echo request.
objectFirewallGtpMessageratelimitv0Id 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.
createPdpRequest number
Rate limit (packets/s) for create PDP context request.
deletePdpRequest number
Rate limit (packets/s) for delete PDP context request.
echoRequest number
Rate limit (packets/s) for echo request.
objectFirewallGtpMessageratelimitv0Id 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_pdp_request float
Rate limit (packets/s) for create PDP context request.
delete_pdp_request float
Rate limit (packets/s) for delete PDP context request.
echo_request float
Rate limit (packets/s) for echo request.
object_firewall_gtp_messageratelimitv0_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.
createPdpRequest Number
Rate limit (packets/s) for create PDP context request.
deletePdpRequest Number
Rate limit (packets/s) for delete PDP context request.
echoRequest Number
Rate limit (packets/s) for echo request.
objectFirewallGtpMessageratelimitv0Id 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 ObjectFirewallGtpMessageratelimitv0 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 ObjectFirewallGtpMessageratelimitv0 Resource

Get an existing ObjectFirewallGtpMessageratelimitv0 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?: ObjectFirewallGtpMessageratelimitv0State, opts?: CustomResourceOptions): ObjectFirewallGtpMessageratelimitv0
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        create_pdp_request: Optional[float] = None,
        delete_pdp_request: Optional[float] = None,
        echo_request: Optional[float] = None,
        gtp: Optional[str] = None,
        object_firewall_gtp_messageratelimitv0_id: Optional[str] = None,
        scopetype: Optional[str] = None) -> ObjectFirewallGtpMessageratelimitv0
func GetObjectFirewallGtpMessageratelimitv0(ctx *Context, name string, id IDInput, state *ObjectFirewallGtpMessageratelimitv0State, opts ...ResourceOption) (*ObjectFirewallGtpMessageratelimitv0, error)
public static ObjectFirewallGtpMessageratelimitv0 Get(string name, Input<string> id, ObjectFirewallGtpMessageratelimitv0State? state, CustomResourceOptions? opts = null)
public static ObjectFirewallGtpMessageratelimitv0 get(String name, Output<String> id, ObjectFirewallGtpMessageratelimitv0State state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectFirewallGtpMessageratelimitv0    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.
CreatePdpRequest double
Rate limit (packets/s) for create PDP context request.
DeletePdpRequest double
Rate limit (packets/s) for delete PDP context request.
EchoRequest double
Rate limit (packets/s) for echo request.
Gtp string
Gtp.
ObjectFirewallGtpMessageratelimitv0Id 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.
CreatePdpRequest float64
Rate limit (packets/s) for create PDP context request.
DeletePdpRequest float64
Rate limit (packets/s) for delete PDP context request.
EchoRequest float64
Rate limit (packets/s) for echo request.
Gtp string
Gtp.
ObjectFirewallGtpMessageratelimitv0Id 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.
createPdpRequest Double
Rate limit (packets/s) for create PDP context request.
deletePdpRequest Double
Rate limit (packets/s) for delete PDP context request.
echoRequest Double
Rate limit (packets/s) for echo request.
gtp String
Gtp.
objectFirewallGtpMessageratelimitv0Id 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.
createPdpRequest number
Rate limit (packets/s) for create PDP context request.
deletePdpRequest number
Rate limit (packets/s) for delete PDP context request.
echoRequest number
Rate limit (packets/s) for echo request.
gtp string
Gtp.
objectFirewallGtpMessageratelimitv0Id 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_pdp_request float
Rate limit (packets/s) for create PDP context request.
delete_pdp_request float
Rate limit (packets/s) for delete PDP context request.
echo_request float
Rate limit (packets/s) for echo request.
gtp str
Gtp.
object_firewall_gtp_messageratelimitv0_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.
createPdpRequest Number
Rate limit (packets/s) for create PDP context request.
deletePdpRequest Number
Rate limit (packets/s) for delete PDP context request.
echoRequest Number
Rate limit (packets/s) for echo request.
gtp String
Gtp.
objectFirewallGtpMessageratelimitv0Id 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 GtpMessageRateLimitV0 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/objectFirewallGtpMessageratelimitv0:ObjectFirewallGtpMessageratelimitv0 labelname ObjectFirewallGtpMessageRateLimitV0
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.