fortios.firewall.SecurityPolicyseq
Explore with Pulumi AI
Create SecurityPolicyseq Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SecurityPolicyseq(name: string, args: SecurityPolicyseqArgs, opts?: CustomResourceOptions);@overload
def SecurityPolicyseq(resource_name: str,
                      args: SecurityPolicyseqArgs,
                      opts: Optional[ResourceOptions] = None)
@overload
def SecurityPolicyseq(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      alter_position: Optional[str] = None,
                      policy_dst_id: Optional[int] = None,
                      policy_src_id: Optional[int] = None,
                      comment: Optional[str] = None,
                      enable_state_checking: Optional[bool] = None,
                      state_policy_srcdst_pos: Optional[str] = None,
                      vdomparam: Optional[str] = None)func NewSecurityPolicyseq(ctx *Context, name string, args SecurityPolicyseqArgs, opts ...ResourceOption) (*SecurityPolicyseq, error)public SecurityPolicyseq(string name, SecurityPolicyseqArgs args, CustomResourceOptions? opts = null)
public SecurityPolicyseq(String name, SecurityPolicyseqArgs args)
public SecurityPolicyseq(String name, SecurityPolicyseqArgs args, CustomResourceOptions options)
type: fortios:firewall:SecurityPolicyseq
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args SecurityPolicyseqArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SecurityPolicyseqArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SecurityPolicyseqArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SecurityPolicyseqArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SecurityPolicyseqArgs
- 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 securityPolicyseqResource = new Fortios.Firewall.SecurityPolicyseq("securityPolicyseqResource", new()
{
    AlterPosition = "string",
    PolicyDstId = 0,
    PolicySrcId = 0,
    Comment = "string",
    EnableStateChecking = false,
    StatePolicySrcdstPos = "string",
    Vdomparam = "string",
});
example, err := firewall.NewSecurityPolicyseq(ctx, "securityPolicyseqResource", &firewall.SecurityPolicyseqArgs{
	AlterPosition:        pulumi.String("string"),
	PolicyDstId:          pulumi.Int(0),
	PolicySrcId:          pulumi.Int(0),
	Comment:              pulumi.String("string"),
	EnableStateChecking:  pulumi.Bool(false),
	StatePolicySrcdstPos: pulumi.String("string"),
	Vdomparam:            pulumi.String("string"),
})
var securityPolicyseqResource = new SecurityPolicyseq("securityPolicyseqResource", SecurityPolicyseqArgs.builder()
    .alterPosition("string")
    .policyDstId(0)
    .policySrcId(0)
    .comment("string")
    .enableStateChecking(false)
    .statePolicySrcdstPos("string")
    .vdomparam("string")
    .build());
security_policyseq_resource = fortios.firewall.SecurityPolicyseq("securityPolicyseqResource",
    alter_position="string",
    policy_dst_id=0,
    policy_src_id=0,
    comment="string",
    enable_state_checking=False,
    state_policy_srcdst_pos="string",
    vdomparam="string")
const securityPolicyseqResource = new fortios.firewall.SecurityPolicyseq("securityPolicyseqResource", {
    alterPosition: "string",
    policyDstId: 0,
    policySrcId: 0,
    comment: "string",
    enableStateChecking: false,
    statePolicySrcdstPos: "string",
    vdomparam: "string",
});
type: fortios:firewall:SecurityPolicyseq
properties:
    alterPosition: string
    comment: string
    enableStateChecking: false
    policyDstId: 0
    policySrcId: 0
    statePolicySrcdstPos: string
    vdomparam: string
SecurityPolicyseq 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 SecurityPolicyseq resource accepts the following input properties:
- AlterPosition string
- The alter position: should only be "before" or "after"
- PolicyDst intId 
- The dest policy id which you want to alter
- PolicySrc intId 
- The policy id which you want to alter
- Comment string
- Comment
- EnableState boolChecking 
- StatePolicy stringSrcdst Pos 
- Vdomparam string
- AlterPosition string
- The alter position: should only be "before" or "after"
- PolicyDst intId 
- The dest policy id which you want to alter
- PolicySrc intId 
- The policy id which you want to alter
- Comment string
- Comment
- EnableState boolChecking 
- StatePolicy stringSrcdst Pos 
- Vdomparam string
- alterPosition String
- The alter position: should only be "before" or "after"
- policyDst IntegerId 
- The dest policy id which you want to alter
- policySrc IntegerId 
- The policy id which you want to alter
- comment String
- Comment
- enableState BooleanChecking 
- statePolicy StringSrcdst Pos 
- vdomparam String
- alterPosition string
- The alter position: should only be "before" or "after"
- policyDst numberId 
- The dest policy id which you want to alter
- policySrc numberId 
- The policy id which you want to alter
- comment string
- Comment
- enableState booleanChecking 
- statePolicy stringSrcdst Pos 
- vdomparam string
- alter_position str
- The alter position: should only be "before" or "after"
- policy_dst_ intid 
- The dest policy id which you want to alter
- policy_src_ intid 
- The policy id which you want to alter
- comment str
- Comment
- enable_state_ boolchecking 
- state_policy_ strsrcdst_ pos 
- vdomparam str
- alterPosition String
- The alter position: should only be "before" or "after"
- policyDst NumberId 
- The dest policy id which you want to alter
- policySrc NumberId 
- The policy id which you want to alter
- comment String
- Comment
- enableState BooleanChecking 
- statePolicy StringSrcdst Pos 
- vdomparam String
Outputs
All input properties are implicitly available as output properties. Additionally, the SecurityPolicyseq resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- StatePolicy List<Pulumiverse.Lists Fortios. Firewall. Outputs. Security Policyseq State Policy List> 
- Id string
- The provider-assigned unique ID for this managed resource.
- StatePolicy []SecurityLists Policyseq State Policy List 
- id String
- The provider-assigned unique ID for this managed resource.
- statePolicy List<SecurityLists Policyseq State Policy List> 
- id string
- The provider-assigned unique ID for this managed resource.
- statePolicy SecurityLists Policyseq State Policy List[] 
- id str
- The provider-assigned unique ID for this managed resource.
- state_policy_ Sequence[Securitylists Policyseq State Policy List] 
- id String
- The provider-assigned unique ID for this managed resource.
- statePolicy List<Property Map>Lists 
Look up Existing SecurityPolicyseq Resource
Get an existing SecurityPolicyseq 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?: SecurityPolicyseqState, opts?: CustomResourceOptions): SecurityPolicyseq@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        alter_position: Optional[str] = None,
        comment: Optional[str] = None,
        enable_state_checking: Optional[bool] = None,
        policy_dst_id: Optional[int] = None,
        policy_src_id: Optional[int] = None,
        state_policy_lists: Optional[Sequence[SecurityPolicyseqStatePolicyListArgs]] = None,
        state_policy_srcdst_pos: Optional[str] = None,
        vdomparam: Optional[str] = None) -> SecurityPolicyseqfunc GetSecurityPolicyseq(ctx *Context, name string, id IDInput, state *SecurityPolicyseqState, opts ...ResourceOption) (*SecurityPolicyseq, error)public static SecurityPolicyseq Get(string name, Input<string> id, SecurityPolicyseqState? state, CustomResourceOptions? opts = null)public static SecurityPolicyseq get(String name, Output<String> id, SecurityPolicyseqState state, CustomResourceOptions options)resources:  _:    type: fortios:firewall:SecurityPolicyseq    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
- AlterPosition string
- The alter position: should only be "before" or "after"
- Comment string
- Comment
- EnableState boolChecking 
- PolicyDst intId 
- The dest policy id which you want to alter
- PolicySrc intId 
- The policy id which you want to alter
- StatePolicy List<Pulumiverse.Lists Fortios. Firewall. Inputs. Security Policyseq State Policy List> 
- StatePolicy stringSrcdst Pos 
- Vdomparam string
- AlterPosition string
- The alter position: should only be "before" or "after"
- Comment string
- Comment
- EnableState boolChecking 
- PolicyDst intId 
- The dest policy id which you want to alter
- PolicySrc intId 
- The policy id which you want to alter
- StatePolicy []SecurityLists Policyseq State Policy List Args 
- StatePolicy stringSrcdst Pos 
- Vdomparam string
- alterPosition String
- The alter position: should only be "before" or "after"
- comment String
- Comment
- enableState BooleanChecking 
- policyDst IntegerId 
- The dest policy id which you want to alter
- policySrc IntegerId 
- The policy id which you want to alter
- statePolicy List<SecurityLists Policyseq State Policy List> 
- statePolicy StringSrcdst Pos 
- vdomparam String
- alterPosition string
- The alter position: should only be "before" or "after"
- comment string
- Comment
- enableState booleanChecking 
- policyDst numberId 
- The dest policy id which you want to alter
- policySrc numberId 
- The policy id which you want to alter
- statePolicy SecurityLists Policyseq State Policy List[] 
- statePolicy stringSrcdst Pos 
- vdomparam string
- alter_position str
- The alter position: should only be "before" or "after"
- comment str
- Comment
- enable_state_ boolchecking 
- policy_dst_ intid 
- The dest policy id which you want to alter
- policy_src_ intid 
- The policy id which you want to alter
- state_policy_ Sequence[Securitylists Policyseq State Policy List Args] 
- state_policy_ strsrcdst_ pos 
- vdomparam str
- alterPosition String
- The alter position: should only be "before" or "after"
- comment String
- Comment
- enableState BooleanChecking 
- policyDst NumberId 
- The dest policy id which you want to alter
- policySrc NumberId 
- The policy id which you want to alter
- statePolicy List<Property Map>Lists 
- statePolicy StringSrcdst Pos 
- vdomparam String
Supporting Types
SecurityPolicyseqStatePolicyList, SecurityPolicyseqStatePolicyListArgs          
Package Details
- Repository
- fortios pulumiverse/pulumi-fortios
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the fortiosTerraform Provider.
