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

fortimanager.ObjectFirewallGtpNoippolicy

Explore with Pulumi AI

No IP policy.

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

Create ObjectFirewallGtpNoippolicy Resource

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

Constructor syntax

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

@overload
def ObjectFirewallGtpNoippolicy(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                gtp: Optional[str] = None,
                                action: Optional[str] = None,
                                adom: Optional[str] = None,
                                end: Optional[float] = None,
                                fosid: Optional[float] = None,
                                object_firewall_gtp_noippolicy_id: Optional[str] = None,
                                scopetype: Optional[str] = None,
                                start: Optional[float] = None,
                                type: Optional[str] = None)
func NewObjectFirewallGtpNoippolicy(ctx *Context, name string, args ObjectFirewallGtpNoippolicyArgs, opts ...ResourceOption) (*ObjectFirewallGtpNoippolicy, error)
public ObjectFirewallGtpNoippolicy(string name, ObjectFirewallGtpNoippolicyArgs args, CustomResourceOptions? opts = null)
public ObjectFirewallGtpNoippolicy(String name, ObjectFirewallGtpNoippolicyArgs args)
public ObjectFirewallGtpNoippolicy(String name, ObjectFirewallGtpNoippolicyArgs args, CustomResourceOptions options)
type: fortimanager:ObjectFirewallGtpNoippolicy
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. ObjectFirewallGtpNoippolicyArgs
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. ObjectFirewallGtpNoippolicyArgs
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. ObjectFirewallGtpNoippolicyArgs
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. ObjectFirewallGtpNoippolicyArgs
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. ObjectFirewallGtpNoippolicyArgs
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 objectFirewallGtpNoippolicyResource = new Fortimanager.ObjectFirewallGtpNoippolicy("objectFirewallGtpNoippolicyResource", new()
{
    Gtp = "string",
    Action = "string",
    Adom = "string",
    End = 0,
    Fosid = 0,
    ObjectFirewallGtpNoippolicyId = "string",
    Scopetype = "string",
    Start = 0,
    Type = "string",
});
Copy
example, err := fortimanager.NewObjectFirewallGtpNoippolicy(ctx, "objectFirewallGtpNoippolicyResource", &fortimanager.ObjectFirewallGtpNoippolicyArgs{
	Gtp:                           pulumi.String("string"),
	Action:                        pulumi.String("string"),
	Adom:                          pulumi.String("string"),
	End:                           pulumi.Float64(0),
	Fosid:                         pulumi.Float64(0),
	ObjectFirewallGtpNoippolicyId: pulumi.String("string"),
	Scopetype:                     pulumi.String("string"),
	Start:                         pulumi.Float64(0),
	Type:                          pulumi.String("string"),
})
Copy
var objectFirewallGtpNoippolicyResource = new ObjectFirewallGtpNoippolicy("objectFirewallGtpNoippolicyResource", ObjectFirewallGtpNoippolicyArgs.builder()
    .gtp("string")
    .action("string")
    .adom("string")
    .end(0)
    .fosid(0)
    .objectFirewallGtpNoippolicyId("string")
    .scopetype("string")
    .start(0)
    .type("string")
    .build());
Copy
object_firewall_gtp_noippolicy_resource = fortimanager.ObjectFirewallGtpNoippolicy("objectFirewallGtpNoippolicyResource",
    gtp="string",
    action="string",
    adom="string",
    end=0,
    fosid=0,
    object_firewall_gtp_noippolicy_id="string",
    scopetype="string",
    start=0,
    type="string")
Copy
const objectFirewallGtpNoippolicyResource = new fortimanager.ObjectFirewallGtpNoippolicy("objectFirewallGtpNoippolicyResource", {
    gtp: "string",
    action: "string",
    adom: "string",
    end: 0,
    fosid: 0,
    objectFirewallGtpNoippolicyId: "string",
    scopetype: "string",
    start: 0,
    type: "string",
});
Copy
type: fortimanager:ObjectFirewallGtpNoippolicy
properties:
    action: string
    adom: string
    end: 0
    fosid: 0
    gtp: string
    objectFirewallGtpNoippolicyId: string
    scopetype: string
    start: 0
    type: string
Copy

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

Gtp This property is required. string
Gtp.
Action string
Action. Valid values: allow, deny.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
End double
End of protocol range (0 - 255).
Fosid double
ID.
ObjectFirewallGtpNoippolicyId string
an identifier for the resource with format {{fosid}}.
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.
Start double
Start of protocol range (0 - 255).
Type string
Protocol field type. Valid values: etsi, ietf.
Gtp This property is required. string
Gtp.
Action string
Action. Valid values: allow, deny.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
End float64
End of protocol range (0 - 255).
Fosid float64
ID.
ObjectFirewallGtpNoippolicyId string
an identifier for the resource with format {{fosid}}.
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.
Start float64
Start of protocol range (0 - 255).
Type string
Protocol field type. Valid values: etsi, ietf.
gtp This property is required. String
Gtp.
action String
Action. Valid values: allow, deny.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
end Double
End of protocol range (0 - 255).
fosid Double
ID.
objectFirewallGtpNoippolicyId String
an identifier for the resource with format {{fosid}}.
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.
start Double
Start of protocol range (0 - 255).
type String
Protocol field type. Valid values: etsi, ietf.
gtp This property is required. string
Gtp.
action string
Action. Valid values: allow, deny.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
end number
End of protocol range (0 - 255).
fosid number
ID.
objectFirewallGtpNoippolicyId string
an identifier for the resource with format {{fosid}}.
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.
start number
Start of protocol range (0 - 255).
type string
Protocol field type. Valid values: etsi, ietf.
gtp This property is required. str
Gtp.
action str
Action. Valid values: allow, deny.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
end float
End of protocol range (0 - 255).
fosid float
ID.
object_firewall_gtp_noippolicy_id str
an identifier for the resource with format {{fosid}}.
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.
start float
Start of protocol range (0 - 255).
type str
Protocol field type. Valid values: etsi, ietf.
gtp This property is required. String
Gtp.
action String
Action. Valid values: allow, deny.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
end Number
End of protocol range (0 - 255).
fosid Number
ID.
objectFirewallGtpNoippolicyId String
an identifier for the resource with format {{fosid}}.
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.
start Number
Start of protocol range (0 - 255).
type String
Protocol field type. Valid values: etsi, ietf.

Outputs

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

Get an existing ObjectFirewallGtpNoippolicy 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?: ObjectFirewallGtpNoippolicyState, opts?: CustomResourceOptions): ObjectFirewallGtpNoippolicy
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        action: Optional[str] = None,
        adom: Optional[str] = None,
        end: Optional[float] = None,
        fosid: Optional[float] = None,
        gtp: Optional[str] = None,
        object_firewall_gtp_noippolicy_id: Optional[str] = None,
        scopetype: Optional[str] = None,
        start: Optional[float] = None,
        type: Optional[str] = None) -> ObjectFirewallGtpNoippolicy
func GetObjectFirewallGtpNoippolicy(ctx *Context, name string, id IDInput, state *ObjectFirewallGtpNoippolicyState, opts ...ResourceOption) (*ObjectFirewallGtpNoippolicy, error)
public static ObjectFirewallGtpNoippolicy Get(string name, Input<string> id, ObjectFirewallGtpNoippolicyState? state, CustomResourceOptions? opts = null)
public static ObjectFirewallGtpNoippolicy get(String name, Output<String> id, ObjectFirewallGtpNoippolicyState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectFirewallGtpNoippolicy    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:
Action string
Action. Valid values: allow, deny.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
End double
End of protocol range (0 - 255).
Fosid double
ID.
Gtp string
Gtp.
ObjectFirewallGtpNoippolicyId string
an identifier for the resource with format {{fosid}}.
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.
Start double
Start of protocol range (0 - 255).
Type string
Protocol field type. Valid values: etsi, ietf.
Action string
Action. Valid values: allow, deny.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
End float64
End of protocol range (0 - 255).
Fosid float64
ID.
Gtp string
Gtp.
ObjectFirewallGtpNoippolicyId string
an identifier for the resource with format {{fosid}}.
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.
Start float64
Start of protocol range (0 - 255).
Type string
Protocol field type. Valid values: etsi, ietf.
action String
Action. Valid values: allow, deny.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
end Double
End of protocol range (0 - 255).
fosid Double
ID.
gtp String
Gtp.
objectFirewallGtpNoippolicyId String
an identifier for the resource with format {{fosid}}.
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.
start Double
Start of protocol range (0 - 255).
type String
Protocol field type. Valid values: etsi, ietf.
action string
Action. Valid values: allow, deny.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
end number
End of protocol range (0 - 255).
fosid number
ID.
gtp string
Gtp.
objectFirewallGtpNoippolicyId string
an identifier for the resource with format {{fosid}}.
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.
start number
Start of protocol range (0 - 255).
type string
Protocol field type. Valid values: etsi, ietf.
action str
Action. Valid values: allow, deny.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
end float
End of protocol range (0 - 255).
fosid float
ID.
gtp str
Gtp.
object_firewall_gtp_noippolicy_id str
an identifier for the resource with format {{fosid}}.
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.
start float
Start of protocol range (0 - 255).
type str
Protocol field type. Valid values: etsi, ietf.
action String
Action. Valid values: allow, deny.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
end Number
End of protocol range (0 - 255).
fosid Number
ID.
gtp String
Gtp.
objectFirewallGtpNoippolicyId String
an identifier for the resource with format {{fosid}}.
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.
start Number
Start of protocol range (0 - 255).
type String
Protocol field type. Valid values: etsi, ietf.

Import

ObjectFirewall GtpNoipPolicy 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/objectFirewallGtpNoippolicy:ObjectFirewallGtpNoippolicy 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.