fortios.firewall.CentralsnatmapMove
Explore with Pulumi AI
Create CentralsnatmapMove Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CentralsnatmapMove(name: string, args: CentralsnatmapMoveArgs, opts?: CustomResourceOptions);
@overload
def CentralsnatmapMove(resource_name: str,
args: CentralsnatmapMoveArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CentralsnatmapMove(resource_name: str,
opts: Optional[ResourceOptions] = None,
move: Optional[str] = None,
policyid_dst: Optional[int] = None,
policyid_src: Optional[int] = None,
comment: Optional[str] = None,
state_policy_srcdst_pos: Optional[str] = None,
vdomparam: Optional[str] = None)
func NewCentralsnatmapMove(ctx *Context, name string, args CentralsnatmapMoveArgs, opts ...ResourceOption) (*CentralsnatmapMove, error)
public CentralsnatmapMove(string name, CentralsnatmapMoveArgs args, CustomResourceOptions? opts = null)
public CentralsnatmapMove(String name, CentralsnatmapMoveArgs args)
public CentralsnatmapMove(String name, CentralsnatmapMoveArgs args, CustomResourceOptions options)
type: fortios:firewall:CentralsnatmapMove
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. CentralsnatmapMoveArgs - 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. CentralsnatmapMoveArgs - 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. CentralsnatmapMoveArgs - 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. CentralsnatmapMoveArgs - 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. CentralsnatmapMoveArgs - 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 centralsnatmapMoveResource = new Fortios.Firewall.CentralsnatmapMove("centralsnatmapMoveResource", new()
{
Move = "string",
PolicyidDst = 0,
PolicyidSrc = 0,
Comment = "string",
StatePolicySrcdstPos = "string",
Vdomparam = "string",
});
example, err := firewall.NewCentralsnatmapMove(ctx, "centralsnatmapMoveResource", &firewall.CentralsnatmapMoveArgs{
Move: pulumi.String("string"),
PolicyidDst: pulumi.Int(0),
PolicyidSrc: pulumi.Int(0),
Comment: pulumi.String("string"),
StatePolicySrcdstPos: pulumi.String("string"),
Vdomparam: pulumi.String("string"),
})
var centralsnatmapMoveResource = new CentralsnatmapMove("centralsnatmapMoveResource", CentralsnatmapMoveArgs.builder()
.move("string")
.policyidDst(0)
.policyidSrc(0)
.comment("string")
.statePolicySrcdstPos("string")
.vdomparam("string")
.build());
centralsnatmap_move_resource = fortios.firewall.CentralsnatmapMove("centralsnatmapMoveResource",
move="string",
policyid_dst=0,
policyid_src=0,
comment="string",
state_policy_srcdst_pos="string",
vdomparam="string")
const centralsnatmapMoveResource = new fortios.firewall.CentralsnatmapMove("centralsnatmapMoveResource", {
move: "string",
policyidDst: 0,
policyidSrc: 0,
comment: "string",
statePolicySrcdstPos: "string",
vdomparam: "string",
});
type: fortios:firewall:CentralsnatmapMove
properties:
comment: string
move: string
policyidDst: 0
policyidSrc: 0
statePolicySrcdstPos: string
vdomparam: string
CentralsnatmapMove 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 CentralsnatmapMove resource accepts the following input properties:
- Move
This property is required. string - Policyid
Dst This property is required. int - Policyid
Src This property is required. int - Comment string
- State
Policy stringSrcdst Pos - Vdomparam
Changes to this property will trigger replacement.
- Move
This property is required. string - Policyid
Dst This property is required. int - Policyid
Src This property is required. int - Comment string
- State
Policy stringSrcdst Pos - Vdomparam
Changes to this property will trigger replacement.
- move
This property is required. String - policyid
Dst This property is required. Integer - policyid
Src This property is required. Integer - comment String
- state
Policy StringSrcdst Pos - vdomparam
Changes to this property will trigger replacement.
- move
This property is required. string - policyid
Dst This property is required. number - policyid
Src This property is required. number - comment string
- state
Policy stringSrcdst Pos - vdomparam
Changes to this property will trigger replacement.
- move
This property is required. str - policyid_
dst This property is required. int - policyid_
src This property is required. int - comment str
- state_
policy_ strsrcdst_ pos - vdomparam
Changes to this property will trigger replacement.
- move
This property is required. String - policyid
Dst This property is required. Number - policyid
Src This property is required. Number - comment String
- state
Policy StringSrcdst Pos - vdomparam
Changes to this property will trigger replacement.
Outputs
All input properties are implicitly available as output properties. Additionally, the CentralsnatmapMove 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 CentralsnatmapMove Resource
Get an existing CentralsnatmapMove 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?: CentralsnatmapMoveState, opts?: CustomResourceOptions): CentralsnatmapMove
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
comment: Optional[str] = None,
move: Optional[str] = None,
policyid_dst: Optional[int] = None,
policyid_src: Optional[int] = None,
state_policy_srcdst_pos: Optional[str] = None,
vdomparam: Optional[str] = None) -> CentralsnatmapMove
func GetCentralsnatmapMove(ctx *Context, name string, id IDInput, state *CentralsnatmapMoveState, opts ...ResourceOption) (*CentralsnatmapMove, error)
public static CentralsnatmapMove Get(string name, Input<string> id, CentralsnatmapMoveState? state, CustomResourceOptions? opts = null)
public static CentralsnatmapMove get(String name, Output<String> id, CentralsnatmapMoveState state, CustomResourceOptions options)
resources: _: type: fortios:firewall:CentralsnatmapMove 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.
- Comment string
- Move string
- Policyid
Dst int - Policyid
Src int - State
Policy stringSrcdst Pos - Vdomparam
Changes to this property will trigger replacement.
- Comment string
- Move string
- Policyid
Dst int - Policyid
Src int - State
Policy stringSrcdst Pos - Vdomparam
Changes to this property will trigger replacement.
- comment String
- move String
- policyid
Dst Integer - policyid
Src Integer - state
Policy StringSrcdst Pos - vdomparam
Changes to this property will trigger replacement.
- comment string
- move string
- policyid
Dst number - policyid
Src number - state
Policy stringSrcdst Pos - vdomparam
Changes to this property will trigger replacement.
- comment str
- move str
- policyid_
dst int - policyid_
src int - state_
policy_ strsrcdst_ pos - vdomparam
Changes to this property will trigger replacement.
- comment String
- move String
- policyid
Dst Number - policyid
Src Number - state
Policy StringSrcdst Pos - vdomparam
Changes to this property will trigger replacement.
Package Details
- Repository
- fortios pulumiverse/pulumi-fortios
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
fortios
Terraform Provider.