1. Packages
  2. Fortios
  3. API Docs
  4. firewall
  5. SecurityPolicyseq
Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse

fortios.firewall.SecurityPolicyseq

Explore with Pulumi AI

fortios logo
Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse

    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.

    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

    The SecurityPolicyseq resource accepts the following input properties:

    AlterPosition string
    The alter position: should only be "before" or "after"
    PolicyDstId int
    The dest policy id which you want to alter
    PolicySrcId int
    The policy id which you want to alter
    Comment string
    Comment
    EnableStateChecking bool
    StatePolicySrcdstPos string
    Vdomparam string
    AlterPosition string
    The alter position: should only be "before" or "after"
    PolicyDstId int
    The dest policy id which you want to alter
    PolicySrcId int
    The policy id which you want to alter
    Comment string
    Comment
    EnableStateChecking bool
    StatePolicySrcdstPos string
    Vdomparam string
    alterPosition String
    The alter position: should only be "before" or "after"
    policyDstId Integer
    The dest policy id which you want to alter
    policySrcId Integer
    The policy id which you want to alter
    comment String
    Comment
    enableStateChecking Boolean
    statePolicySrcdstPos String
    vdomparam String
    alterPosition string
    The alter position: should only be "before" or "after"
    policyDstId number
    The dest policy id which you want to alter
    policySrcId number
    The policy id which you want to alter
    comment string
    Comment
    enableStateChecking boolean
    statePolicySrcdstPos string
    vdomparam string
    alter_position str
    The alter position: should only be "before" or "after"
    policy_dst_id int
    The dest policy id which you want to alter
    policy_src_id int
    The policy id which you want to alter
    comment str
    Comment
    enable_state_checking bool
    state_policy_srcdst_pos str
    vdomparam str
    alterPosition String
    The alter position: should only be "before" or "after"
    policyDstId Number
    The dest policy id which you want to alter
    policySrcId Number
    The policy id which you want to alter
    comment String
    Comment
    enableStateChecking Boolean
    statePolicySrcdstPos String
    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.
    StatePolicyLists List<Pulumiverse.Fortios.Firewall.Outputs.SecurityPolicyseqStatePolicyList>
    Id string
    The provider-assigned unique ID for this managed resource.
    StatePolicyLists []SecurityPolicyseqStatePolicyList
    id String
    The provider-assigned unique ID for this managed resource.
    statePolicyLists List<SecurityPolicyseqStatePolicyList>
    id string
    The provider-assigned unique ID for this managed resource.
    statePolicyLists SecurityPolicyseqStatePolicyList[]
    id str
    The provider-assigned unique ID for this managed resource.
    state_policy_lists Sequence[SecurityPolicyseqStatePolicyList]
    id String
    The provider-assigned unique ID for this managed resource.
    statePolicyLists List<Property Map>

    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) -> SecurityPolicyseq
    func 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)
    Resource lookup is not supported in YAML
    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.
    The following state arguments are supported:
    AlterPosition string
    The alter position: should only be "before" or "after"
    Comment string
    Comment
    EnableStateChecking bool
    PolicyDstId int
    The dest policy id which you want to alter
    PolicySrcId int
    The policy id which you want to alter
    StatePolicyLists List<Pulumiverse.Fortios.Firewall.Inputs.SecurityPolicyseqStatePolicyList>
    StatePolicySrcdstPos string
    Vdomparam string
    AlterPosition string
    The alter position: should only be "before" or "after"
    Comment string
    Comment
    EnableStateChecking bool
    PolicyDstId int
    The dest policy id which you want to alter
    PolicySrcId int
    The policy id which you want to alter
    StatePolicyLists []SecurityPolicyseqStatePolicyListArgs
    StatePolicySrcdstPos string
    Vdomparam string
    alterPosition String
    The alter position: should only be "before" or "after"
    comment String
    Comment
    enableStateChecking Boolean
    policyDstId Integer
    The dest policy id which you want to alter
    policySrcId Integer
    The policy id which you want to alter
    statePolicyLists List<SecurityPolicyseqStatePolicyList>
    statePolicySrcdstPos String
    vdomparam String
    alterPosition string
    The alter position: should only be "before" or "after"
    comment string
    Comment
    enableStateChecking boolean
    policyDstId number
    The dest policy id which you want to alter
    policySrcId number
    The policy id which you want to alter
    statePolicyLists SecurityPolicyseqStatePolicyList[]
    statePolicySrcdstPos string
    vdomparam string
    alter_position str
    The alter position: should only be "before" or "after"
    comment str
    Comment
    enable_state_checking bool
    policy_dst_id int
    The dest policy id which you want to alter
    policy_src_id int
    The policy id which you want to alter
    state_policy_lists Sequence[SecurityPolicyseqStatePolicyListArgs]
    state_policy_srcdst_pos str
    vdomparam str
    alterPosition String
    The alter position: should only be "before" or "after"
    comment String
    Comment
    enableStateChecking Boolean
    policyDstId Number
    The dest policy id which you want to alter
    policySrcId Number
    The policy id which you want to alter
    statePolicyLists List<Property Map>
    statePolicySrcdstPos String
    vdomparam String

    Supporting Types

    SecurityPolicyseqStatePolicyList, SecurityPolicyseqStatePolicyListArgs

    Action string
    Name string
    Policyid string
    Action string
    Name string
    Policyid string
    action String
    name String
    policyid String
    action string
    name string
    policyid string
    action str
    name str
    policyid str
    action String
    name String
    policyid String

    Package Details

    Repository
    fortios pulumiverse/pulumi-fortios
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the fortios Terraform Provider.
    fortios logo
    Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse