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

fortimanager.ObjectFirewallGtpPerapnshaper

Explore with Pulumi AI

Per APN shaper.

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

Create ObjectFirewallGtpPerapnshaper Resource

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

Constructor syntax

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

@overload
def ObjectFirewallGtpPerapnshaper(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  gtp: Optional[str] = None,
                                  adom: Optional[str] = None,
                                  apn: Optional[str] = None,
                                  fosid: Optional[float] = None,
                                  object_firewall_gtp_perapnshaper_id: Optional[str] = None,
                                  rate_limit: Optional[float] = None,
                                  scopetype: Optional[str] = None,
                                  version: Optional[float] = None)
func NewObjectFirewallGtpPerapnshaper(ctx *Context, name string, args ObjectFirewallGtpPerapnshaperArgs, opts ...ResourceOption) (*ObjectFirewallGtpPerapnshaper, error)
public ObjectFirewallGtpPerapnshaper(string name, ObjectFirewallGtpPerapnshaperArgs args, CustomResourceOptions? opts = null)
public ObjectFirewallGtpPerapnshaper(String name, ObjectFirewallGtpPerapnshaperArgs args)
public ObjectFirewallGtpPerapnshaper(String name, ObjectFirewallGtpPerapnshaperArgs args, CustomResourceOptions options)
type: fortimanager:ObjectFirewallGtpPerapnshaper
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. ObjectFirewallGtpPerapnshaperArgs
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. ObjectFirewallGtpPerapnshaperArgs
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. ObjectFirewallGtpPerapnshaperArgs
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. ObjectFirewallGtpPerapnshaperArgs
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. ObjectFirewallGtpPerapnshaperArgs
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 objectFirewallGtpPerapnshaperResource = new Fortimanager.ObjectFirewallGtpPerapnshaper("objectFirewallGtpPerapnshaperResource", new()
{
    Gtp = "string",
    Adom = "string",
    Apn = "string",
    Fosid = 0,
    ObjectFirewallGtpPerapnshaperId = "string",
    RateLimit = 0,
    Scopetype = "string",
    Version = 0,
});
Copy
example, err := fortimanager.NewObjectFirewallGtpPerapnshaper(ctx, "objectFirewallGtpPerapnshaperResource", &fortimanager.ObjectFirewallGtpPerapnshaperArgs{
Gtp: pulumi.String("string"),
Adom: pulumi.String("string"),
Apn: pulumi.String("string"),
Fosid: pulumi.Float64(0),
ObjectFirewallGtpPerapnshaperId: pulumi.String("string"),
RateLimit: pulumi.Float64(0),
Scopetype: pulumi.String("string"),
Version: pulumi.Float64(0),
})
Copy
var objectFirewallGtpPerapnshaperResource = new ObjectFirewallGtpPerapnshaper("objectFirewallGtpPerapnshaperResource", ObjectFirewallGtpPerapnshaperArgs.builder()
    .gtp("string")
    .adom("string")
    .apn("string")
    .fosid(0)
    .objectFirewallGtpPerapnshaperId("string")
    .rateLimit(0)
    .scopetype("string")
    .version(0)
    .build());
Copy
object_firewall_gtp_perapnshaper_resource = fortimanager.ObjectFirewallGtpPerapnshaper("objectFirewallGtpPerapnshaperResource",
    gtp="string",
    adom="string",
    apn="string",
    fosid=0,
    object_firewall_gtp_perapnshaper_id="string",
    rate_limit=0,
    scopetype="string",
    version=0)
Copy
const objectFirewallGtpPerapnshaperResource = new fortimanager.ObjectFirewallGtpPerapnshaper("objectFirewallGtpPerapnshaperResource", {
    gtp: "string",
    adom: "string",
    apn: "string",
    fosid: 0,
    objectFirewallGtpPerapnshaperId: "string",
    rateLimit: 0,
    scopetype: "string",
    version: 0,
});
Copy
type: fortimanager:ObjectFirewallGtpPerapnshaper
properties:
    adom: string
    apn: string
    fosid: 0
    gtp: string
    objectFirewallGtpPerapnshaperId: string
    rateLimit: 0
    scopetype: string
    version: 0
Copy

ObjectFirewallGtpPerapnshaper 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 ObjectFirewallGtpPerapnshaper 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.
Apn string
APN name.
Fosid double
ID.
ObjectFirewallGtpPerapnshaperId string
an identifier for the resource with format {{fosid}}.
RateLimit double
Rate limit (packets/s) for create PDP context request.
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.
Version double
GTP version number: 0 or 1.
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.
Apn string
APN name.
Fosid float64
ID.
ObjectFirewallGtpPerapnshaperId string
an identifier for the resource with format {{fosid}}.
RateLimit float64
Rate limit (packets/s) for create PDP context request.
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.
Version float64
GTP version number: 0 or 1.
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.
apn String
APN name.
fosid Double
ID.
objectFirewallGtpPerapnshaperId String
an identifier for the resource with format {{fosid}}.
rateLimit Double
Rate limit (packets/s) for create PDP context request.
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.
version Double
GTP version number: 0 or 1.
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.
apn string
APN name.
fosid number
ID.
objectFirewallGtpPerapnshaperId string
an identifier for the resource with format {{fosid}}.
rateLimit number
Rate limit (packets/s) for create PDP context request.
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.
version number
GTP version number: 0 or 1.
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.
apn str
APN name.
fosid float
ID.
object_firewall_gtp_perapnshaper_id str
an identifier for the resource with format {{fosid}}.
rate_limit float
Rate limit (packets/s) for create PDP context request.
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.
version float
GTP version number: 0 or 1.
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.
apn String
APN name.
fosid Number
ID.
objectFirewallGtpPerapnshaperId String
an identifier for the resource with format {{fosid}}.
rateLimit Number
Rate limit (packets/s) for create PDP context request.
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.
version Number
GTP version number: 0 or 1.

Outputs

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

Get an existing ObjectFirewallGtpPerapnshaper 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?: ObjectFirewallGtpPerapnshaperState, opts?: CustomResourceOptions): ObjectFirewallGtpPerapnshaper
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        apn: Optional[str] = None,
        fosid: Optional[float] = None,
        gtp: Optional[str] = None,
        object_firewall_gtp_perapnshaper_id: Optional[str] = None,
        rate_limit: Optional[float] = None,
        scopetype: Optional[str] = None,
        version: Optional[float] = None) -> ObjectFirewallGtpPerapnshaper
func GetObjectFirewallGtpPerapnshaper(ctx *Context, name string, id IDInput, state *ObjectFirewallGtpPerapnshaperState, opts ...ResourceOption) (*ObjectFirewallGtpPerapnshaper, error)
public static ObjectFirewallGtpPerapnshaper Get(string name, Input<string> id, ObjectFirewallGtpPerapnshaperState? state, CustomResourceOptions? opts = null)
public static ObjectFirewallGtpPerapnshaper get(String name, Output<String> id, ObjectFirewallGtpPerapnshaperState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectFirewallGtpPerapnshaper    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.
Apn string
APN name.
Fosid double
ID.
Gtp string
Gtp.
ObjectFirewallGtpPerapnshaperId string
an identifier for the resource with format {{fosid}}.
RateLimit double
Rate limit (packets/s) for create PDP context request.
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.
Version double
GTP version number: 0 or 1.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Apn string
APN name.
Fosid float64
ID.
Gtp string
Gtp.
ObjectFirewallGtpPerapnshaperId string
an identifier for the resource with format {{fosid}}.
RateLimit float64
Rate limit (packets/s) for create PDP context request.
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.
Version float64
GTP version number: 0 or 1.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
apn String
APN name.
fosid Double
ID.
gtp String
Gtp.
objectFirewallGtpPerapnshaperId String
an identifier for the resource with format {{fosid}}.
rateLimit Double
Rate limit (packets/s) for create PDP context request.
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.
version Double
GTP version number: 0 or 1.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
apn string
APN name.
fosid number
ID.
gtp string
Gtp.
objectFirewallGtpPerapnshaperId string
an identifier for the resource with format {{fosid}}.
rateLimit number
Rate limit (packets/s) for create PDP context request.
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.
version number
GTP version number: 0 or 1.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
apn str
APN name.
fosid float
ID.
gtp str
Gtp.
object_firewall_gtp_perapnshaper_id str
an identifier for the resource with format {{fosid}}.
rate_limit float
Rate limit (packets/s) for create PDP context request.
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.
version float
GTP version number: 0 or 1.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
apn String
APN name.
fosid Number
ID.
gtp String
Gtp.
objectFirewallGtpPerapnshaperId String
an identifier for the resource with format {{fosid}}.
rateLimit Number
Rate limit (packets/s) for create PDP context request.
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.
version Number
GTP version number: 0 or 1.

Import

ObjectFirewall GtpPerApnShaper 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/objectFirewallGtpPerapnshaper:ObjectFirewallGtpPerapnshaper labelname {{fosid}}
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.