Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse
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
The SecurityPolicyseq resource accepts the following input properties:
- Alter
Position string - 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 string
- Comment
- Enable
State boolChecking - State
Policy stringSrcdst Pos - Vdomparam string
- Alter
Position string - 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 string
- Comment
- Enable
State boolChecking - State
Policy stringSrcdst Pos - Vdomparam string
- alter
Position String - The alter position: should only be "before" or "after"
- policy
Dst IntegerId - The dest policy id which you want to alter
- policy
Src IntegerId - The policy id which you want to alter
- comment String
- Comment
- enable
State BooleanChecking - state
Policy StringSrcdst Pos - vdomparam String
- alter
Position string - The alter position: should only be "before" or "after"
- policy
Dst numberId - The dest policy id which you want to alter
- policy
Src numberId - The policy id which you want to alter
- comment string
- Comment
- enable
State booleanChecking - state
Policy 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
- alter
Position String - The alter position: should only be "before" or "after"
- policy
Dst NumberId - The dest policy id which you want to alter
- policy
Src NumberId - The policy id which you want to alter
- comment String
- Comment
- enable
State BooleanChecking - state
Policy 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.
- State
Policy List<Pulumiverse.Lists Fortios. Firewall. Outputs. Security Policyseq State Policy List>
- Id string
- The provider-assigned unique ID for this managed resource.
- State
Policy []SecurityLists Policyseq State Policy List
- id String
- The provider-assigned unique ID for this managed resource.
- state
Policy List<SecurityLists Policyseq State Policy List>
- id string
- The provider-assigned unique ID for this managed resource.
- state
Policy 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.
- state
Policy 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) -> 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.
- Alter
Position string - The alter position: should only be "before" or "after"
- Comment string
- 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 List<Pulumiverse.Lists Fortios. Firewall. Inputs. Security Policyseq State Policy List> - State
Policy stringSrcdst Pos - Vdomparam string
- Alter
Position string - The alter position: should only be "before" or "after"
- Comment string
- 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 []SecurityLists Policyseq State Policy List Args - State
Policy stringSrcdst Pos - Vdomparam string
- alter
Position String - The alter position: should only be "before" or "after"
- comment String
- Comment
- enable
State BooleanChecking - policy
Dst IntegerId - The dest policy id which you want to alter
- policy
Src IntegerId - The policy id which you want to alter
- state
Policy List<SecurityLists Policyseq State Policy List> - state
Policy StringSrcdst Pos - vdomparam String
- alter
Position string - The alter position: should only be "before" or "after"
- comment string
- Comment
- enable
State booleanChecking - policy
Dst numberId - The dest policy id which you want to alter
- policy
Src numberId - The policy id which you want to alter
- state
Policy SecurityLists Policyseq State Policy List[] - state
Policy 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
- alter
Position String - The alter position: should only be "before" or "after"
- comment String
- Comment
- enable
State BooleanChecking - policy
Dst NumberId - The dest policy id which you want to alter
- policy
Src NumberId - The policy id which you want to alter
- state
Policy List<Property Map>Lists - state
Policy 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
fortios
Terraform Provider.