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

fortimanager.ObjectSctpfilterProfilePpidfilters

Explore with Pulumi AI

PPID filters list.

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

Create ObjectSctpfilterProfilePpidfilters Resource

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

Constructor syntax

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

@overload
def ObjectSctpfilterProfilePpidfilters(resource_name: str,
                                       opts: Optional[ResourceOptions] = None,
                                       profile: Optional[str] = None,
                                       action: Optional[str] = None,
                                       adom: Optional[str] = None,
                                       comment: Optional[str] = None,
                                       fosid: Optional[float] = None,
                                       object_sctpfilter_profile_ppidfilters_id: Optional[str] = None,
                                       ppid: Optional[float] = None,
                                       scopetype: Optional[str] = None)
func NewObjectSctpfilterProfilePpidfilters(ctx *Context, name string, args ObjectSctpfilterProfilePpidfiltersArgs, opts ...ResourceOption) (*ObjectSctpfilterProfilePpidfilters, error)
public ObjectSctpfilterProfilePpidfilters(string name, ObjectSctpfilterProfilePpidfiltersArgs args, CustomResourceOptions? opts = null)
public ObjectSctpfilterProfilePpidfilters(String name, ObjectSctpfilterProfilePpidfiltersArgs args)
public ObjectSctpfilterProfilePpidfilters(String name, ObjectSctpfilterProfilePpidfiltersArgs args, CustomResourceOptions options)
type: fortimanager:ObjectSctpfilterProfilePpidfilters
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. ObjectSctpfilterProfilePpidfiltersArgs
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. ObjectSctpfilterProfilePpidfiltersArgs
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. ObjectSctpfilterProfilePpidfiltersArgs
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. ObjectSctpfilterProfilePpidfiltersArgs
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. ObjectSctpfilterProfilePpidfiltersArgs
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 objectSctpfilterProfilePpidfiltersResource = new Fortimanager.ObjectSctpfilterProfilePpidfilters("objectSctpfilterProfilePpidfiltersResource", new()
{
    Profile = "string",
    Action = "string",
    Adom = "string",
    Comment = "string",
    Fosid = 0,
    ObjectSctpfilterProfilePpidfiltersId = "string",
    Ppid = 0,
    Scopetype = "string",
});
Copy
example, err := fortimanager.NewObjectSctpfilterProfilePpidfilters(ctx, "objectSctpfilterProfilePpidfiltersResource", &fortimanager.ObjectSctpfilterProfilePpidfiltersArgs{
Profile: pulumi.String("string"),
Action: pulumi.String("string"),
Adom: pulumi.String("string"),
Comment: pulumi.String("string"),
Fosid: pulumi.Float64(0),
ObjectSctpfilterProfilePpidfiltersId: pulumi.String("string"),
Ppid: pulumi.Float64(0),
Scopetype: pulumi.String("string"),
})
Copy
var objectSctpfilterProfilePpidfiltersResource = new ObjectSctpfilterProfilePpidfilters("objectSctpfilterProfilePpidfiltersResource", ObjectSctpfilterProfilePpidfiltersArgs.builder()
    .profile("string")
    .action("string")
    .adom("string")
    .comment("string")
    .fosid(0)
    .objectSctpfilterProfilePpidfiltersId("string")
    .ppid(0)
    .scopetype("string")
    .build());
Copy
object_sctpfilter_profile_ppidfilters_resource = fortimanager.ObjectSctpfilterProfilePpidfilters("objectSctpfilterProfilePpidfiltersResource",
    profile="string",
    action="string",
    adom="string",
    comment="string",
    fosid=0,
    object_sctpfilter_profile_ppidfilters_id="string",
    ppid=0,
    scopetype="string")
Copy
const objectSctpfilterProfilePpidfiltersResource = new fortimanager.ObjectSctpfilterProfilePpidfilters("objectSctpfilterProfilePpidfiltersResource", {
    profile: "string",
    action: "string",
    adom: "string",
    comment: "string",
    fosid: 0,
    objectSctpfilterProfilePpidfiltersId: "string",
    ppid: 0,
    scopetype: "string",
});
Copy
type: fortimanager:ObjectSctpfilterProfilePpidfilters
properties:
    action: string
    adom: string
    comment: string
    fosid: 0
    objectSctpfilterProfilePpidfiltersId: string
    ppid: 0
    profile: string
    scopetype: string
Copy

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

Profile This property is required. string
Profile.
Action string
Action taken when PPID is matched. Valid values: pass, reset, replace.
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.
Fosid double
ID.
ObjectSctpfilterProfilePpidfiltersId string
an identifier for the resource with format {{fosid}}.
Ppid double
Payload protocol identifier.
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.
Profile This property is required. string
Profile.
Action string
Action taken when PPID is matched. Valid values: pass, reset, replace.
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.
Fosid float64
ID.
ObjectSctpfilterProfilePpidfiltersId string
an identifier for the resource with format {{fosid}}.
Ppid float64
Payload protocol identifier.
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.
profile This property is required. String
Profile.
action String
Action taken when PPID is matched. Valid values: pass, reset, replace.
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.
fosid Double
ID.
objectSctpfilterProfilePpidfiltersId String
an identifier for the resource with format {{fosid}}.
ppid Double
Payload protocol identifier.
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.
profile This property is required. string
Profile.
action string
Action taken when PPID is matched. Valid values: pass, reset, replace.
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.
fosid number
ID.
objectSctpfilterProfilePpidfiltersId string
an identifier for the resource with format {{fosid}}.
ppid number
Payload protocol identifier.
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.
profile This property is required. str
Profile.
action str
Action taken when PPID is matched. Valid values: pass, reset, replace.
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.
fosid float
ID.
object_sctpfilter_profile_ppidfilters_id str
an identifier for the resource with format {{fosid}}.
ppid float
Payload protocol identifier.
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.
profile This property is required. String
Profile.
action String
Action taken when PPID is matched. Valid values: pass, reset, replace.
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.
fosid Number
ID.
objectSctpfilterProfilePpidfiltersId String
an identifier for the resource with format {{fosid}}.
ppid Number
Payload protocol identifier.
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 ObjectSctpfilterProfilePpidfilters 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 ObjectSctpfilterProfilePpidfilters Resource

Get an existing ObjectSctpfilterProfilePpidfilters 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?: ObjectSctpfilterProfilePpidfiltersState, opts?: CustomResourceOptions): ObjectSctpfilterProfilePpidfilters
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        action: Optional[str] = None,
        adom: Optional[str] = None,
        comment: Optional[str] = None,
        fosid: Optional[float] = None,
        object_sctpfilter_profile_ppidfilters_id: Optional[str] = None,
        ppid: Optional[float] = None,
        profile: Optional[str] = None,
        scopetype: Optional[str] = None) -> ObjectSctpfilterProfilePpidfilters
func GetObjectSctpfilterProfilePpidfilters(ctx *Context, name string, id IDInput, state *ObjectSctpfilterProfilePpidfiltersState, opts ...ResourceOption) (*ObjectSctpfilterProfilePpidfilters, error)
public static ObjectSctpfilterProfilePpidfilters Get(string name, Input<string> id, ObjectSctpfilterProfilePpidfiltersState? state, CustomResourceOptions? opts = null)
public static ObjectSctpfilterProfilePpidfilters get(String name, Output<String> id, ObjectSctpfilterProfilePpidfiltersState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectSctpfilterProfilePpidfilters    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 taken when PPID is matched. Valid values: pass, reset, replace.
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.
Fosid double
ID.
ObjectSctpfilterProfilePpidfiltersId string
an identifier for the resource with format {{fosid}}.
Ppid double
Payload protocol identifier.
Profile string
Profile.
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.
Action string
Action taken when PPID is matched. Valid values: pass, reset, replace.
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.
Fosid float64
ID.
ObjectSctpfilterProfilePpidfiltersId string
an identifier for the resource with format {{fosid}}.
Ppid float64
Payload protocol identifier.
Profile string
Profile.
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.
action String
Action taken when PPID is matched. Valid values: pass, reset, replace.
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.
fosid Double
ID.
objectSctpfilterProfilePpidfiltersId String
an identifier for the resource with format {{fosid}}.
ppid Double
Payload protocol identifier.
profile String
Profile.
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.
action string
Action taken when PPID is matched. Valid values: pass, reset, replace.
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.
fosid number
ID.
objectSctpfilterProfilePpidfiltersId string
an identifier for the resource with format {{fosid}}.
ppid number
Payload protocol identifier.
profile string
Profile.
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.
action str
Action taken when PPID is matched. Valid values: pass, reset, replace.
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.
fosid float
ID.
object_sctpfilter_profile_ppidfilters_id str
an identifier for the resource with format {{fosid}}.
ppid float
Payload protocol identifier.
profile str
Profile.
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.
action String
Action taken when PPID is matched. Valid values: pass, reset, replace.
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.
fosid Number
ID.
objectSctpfilterProfilePpidfiltersId String
an identifier for the resource with format {{fosid}}.
ppid Number
Payload protocol identifier.
profile String
Profile.
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

ObjectSctpFilter ProfilePpidFilters can be imported using any of these accepted formats:

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

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

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