published on Friday, Jul 31, 2026 by fortinetdev
published on Friday, Jul 31, 2026 by fortinetdev
Create PackagesPblockFirewallLocalinpolicyMove Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PackagesPblockFirewallLocalinpolicyMove(name: string, args: PackagesPblockFirewallLocalinpolicyMoveArgs, opts?: CustomResourceOptions);@overload
def PackagesPblockFirewallLocalinpolicyMove(resource_name: str,
args: PackagesPblockFirewallLocalinpolicyMoveArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PackagesPblockFirewallLocalinpolicyMove(resource_name: str,
opts: Optional[ResourceOptions] = None,
local_in_policy: Optional[str] = None,
option: Optional[str] = None,
pblock: Optional[str] = None,
target: Optional[str] = None,
adom: Optional[str] = None,
packages_pblock_firewall_localinpolicy_move_id: Optional[str] = None,
scopetype: Optional[str] = None,
state_pos: Optional[str] = None)func NewPackagesPblockFirewallLocalinpolicyMove(ctx *Context, name string, args PackagesPblockFirewallLocalinpolicyMoveArgs, opts ...ResourceOption) (*PackagesPblockFirewallLocalinpolicyMove, error)public PackagesPblockFirewallLocalinpolicyMove(string name, PackagesPblockFirewallLocalinpolicyMoveArgs args, CustomResourceOptions? opts = null)
public PackagesPblockFirewallLocalinpolicyMove(String name, PackagesPblockFirewallLocalinpolicyMoveArgs args)
public PackagesPblockFirewallLocalinpolicyMove(String name, PackagesPblockFirewallLocalinpolicyMoveArgs args, CustomResourceOptions options)
type: fortimanager:PackagesPblockFirewallLocalinpolicyMove
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "fortimanager_packages_pblock_firewall_localinpolicy_move" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args PackagesPblockFirewallLocalinpolicyMoveArgs
- 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 PackagesPblockFirewallLocalinpolicyMoveArgs
- 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 PackagesPblockFirewallLocalinpolicyMoveArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PackagesPblockFirewallLocalinpolicyMoveArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PackagesPblockFirewallLocalinpolicyMoveArgs
- 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 packagesPblockFirewallLocalinpolicyMoveResource = new Fortimanager.PackagesPblockFirewallLocalinpolicyMove("packagesPblockFirewallLocalinpolicyMoveResource", new()
{
LocalInPolicy = "string",
Option = "string",
Pblock = "string",
Target = "string",
Adom = "string",
PackagesPblockFirewallLocalinpolicyMoveId = "string",
Scopetype = "string",
StatePos = "string",
});
example, err := fortimanager.NewPackagesPblockFirewallLocalinpolicyMove(ctx, "packagesPblockFirewallLocalinpolicyMoveResource", &fortimanager.PackagesPblockFirewallLocalinpolicyMoveArgs{
LocalInPolicy: pulumi.String("string"),
Option: pulumi.String("string"),
Pblock: pulumi.String("string"),
Target: pulumi.String("string"),
Adom: pulumi.String("string"),
PackagesPblockFirewallLocalinpolicyMoveId: pulumi.String("string"),
Scopetype: pulumi.String("string"),
StatePos: pulumi.String("string"),
})
resource "fortimanager_packages_pblock_firewall_localinpolicy_move" "packagesPblockFirewallLocalinpolicyMoveResource" {
lifecycle {
create_before_destroy = true
}
local_in_policy = "string"
option = "string"
pblock = "string"
target = "string"
adom = "string"
packages_pblock_firewall_localinpolicy_move_id = "string"
scopetype = "string"
state_pos = "string"
}
var packagesPblockFirewallLocalinpolicyMoveResource = new PackagesPblockFirewallLocalinpolicyMove("packagesPblockFirewallLocalinpolicyMoveResource", PackagesPblockFirewallLocalinpolicyMoveArgs.builder()
.localInPolicy("string")
.option("string")
.pblock("string")
.target("string")
.adom("string")
.packagesPblockFirewallLocalinpolicyMoveId("string")
.scopetype("string")
.statePos("string")
.build());
packages_pblock_firewall_localinpolicy_move_resource = fortimanager.PackagesPblockFirewallLocalinpolicyMove("packagesPblockFirewallLocalinpolicyMoveResource",
local_in_policy="string",
option="string",
pblock="string",
target="string",
adom="string",
packages_pblock_firewall_localinpolicy_move_id="string",
scopetype="string",
state_pos="string")
const packagesPblockFirewallLocalinpolicyMoveResource = new fortimanager.PackagesPblockFirewallLocalinpolicyMove("packagesPblockFirewallLocalinpolicyMoveResource", {
localInPolicy: "string",
option: "string",
pblock: "string",
target: "string",
adom: "string",
packagesPblockFirewallLocalinpolicyMoveId: "string",
scopetype: "string",
statePos: "string",
});
type: fortimanager:PackagesPblockFirewallLocalinpolicyMove
properties:
adom: string
localInPolicy: string
option: string
packagesPblockFirewallLocalinpolicyMoveId: string
pblock: string
scopetype: string
statePos: string
target: string
PackagesPblockFirewallLocalinpolicyMove 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 PackagesPblockFirewallLocalinpolicyMove resource accepts the following input properties:
- Local
In stringPolicy - Local In Policy.
- Option string
- Option. Valid values:
before,after. - Pblock string
- Pblock.
- Target string
- Key to the target entry.
- Adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - Packages
Pblock stringFirewall Localinpolicy Move Id - an identifier for the resource with format {{policyid}}.
- Scopetype string
- The scope of application of the resource. Valid values:
inherit,adom. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - State
Pos string - The parameter is read-only, it is used to get the lastest relative position of the two items. This can help check whether the latest relative position of the two items matches the configuration, and help check whether they have been deleted. If the latest relative position of the two items matches the configuration, the value of state_pos is an empty string.
- Local
In stringPolicy - Local In Policy.
- Option string
- Option. Valid values:
before,after. - Pblock string
- Pblock.
- Target string
- Key to the target entry.
- Adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - Packages
Pblock stringFirewall Localinpolicy Move Id - an identifier for the resource with format {{policyid}}.
- Scopetype string
- The scope of application of the resource. Valid values:
inherit,adom. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - State
Pos string - The parameter is read-only, it is used to get the lastest relative position of the two items. This can help check whether the latest relative position of the two items matches the configuration, and help check whether they have been deleted. If the latest relative position of the two items matches the configuration, the value of state_pos is an empty string.
- local_
in_ stringpolicy - Local In Policy.
- option string
- Option. Valid values:
before,after. - pblock string
- Pblock.
- target string
- Key to the target entry.
- adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - packages_
pblock_ stringfirewall_ localinpolicy_ move_ id - an identifier for the resource with format {{policyid}}.
- scopetype string
- The scope of application of the resource. Valid values:
inherit,adom. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - state_
pos string - The parameter is read-only, it is used to get the lastest relative position of the two items. This can help check whether the latest relative position of the two items matches the configuration, and help check whether they have been deleted. If the latest relative position of the two items matches the configuration, the value of state_pos is an empty string.
- local
In StringPolicy - Local In Policy.
- option String
- Option. Valid values:
before,after. - pblock String
- Pblock.
- target String
- Key to the target entry.
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - packages
Pblock StringFirewall Localinpolicy Move Id - an identifier for the resource with format {{policyid}}.
- scopetype String
- The scope of application of the resource. Valid values:
inherit,adom. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - state
Pos String - The parameter is read-only, it is used to get the lastest relative position of the two items. This can help check whether the latest relative position of the two items matches the configuration, and help check whether they have been deleted. If the latest relative position of the two items matches the configuration, the value of state_pos is an empty string.
- local
In stringPolicy - Local In Policy.
- option string
- Option. Valid values:
before,after. - pblock string
- Pblock.
- target string
- Key to the target entry.
- adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - packages
Pblock stringFirewall Localinpolicy Move Id - an identifier for the resource with format {{policyid}}.
- scopetype string
- The scope of application of the resource. Valid values:
inherit,adom. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - state
Pos string - The parameter is read-only, it is used to get the lastest relative position of the two items. This can help check whether the latest relative position of the two items matches the configuration, and help check whether they have been deleted. If the latest relative position of the two items matches the configuration, the value of state_pos is an empty string.
- local_
in_ strpolicy - Local In Policy.
- option str
- Option. Valid values:
before,after. - pblock str
- Pblock.
- target str
- Key to the target entry.
- adom str
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - packages_
pblock_ strfirewall_ localinpolicy_ move_ id - an identifier for the resource with format {{policyid}}.
- scopetype str
- The scope of application of the resource. Valid values:
inherit,adom. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - state_
pos str - The parameter is read-only, it is used to get the lastest relative position of the two items. This can help check whether the latest relative position of the two items matches the configuration, and help check whether they have been deleted. If the latest relative position of the two items matches the configuration, the value of state_pos is an empty string.
- local
In StringPolicy - Local In Policy.
- option String
- Option. Valid values:
before,after. - pblock String
- Pblock.
- target String
- Key to the target entry.
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - packages
Pblock StringFirewall Localinpolicy Move Id - an identifier for the resource with format {{policyid}}.
- scopetype String
- The scope of application of the resource. Valid values:
inherit,adom. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - state
Pos String - The parameter is read-only, it is used to get the lastest relative position of the two items. This can help check whether the latest relative position of the two items matches the configuration, and help check whether they have been deleted. If the latest relative position of the two items matches the configuration, the value of state_pos is an empty string.
Outputs
All input properties are implicitly available as output properties. Additionally, the PackagesPblockFirewallLocalinpolicyMove 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 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 PackagesPblockFirewallLocalinpolicyMove Resource
Get an existing PackagesPblockFirewallLocalinpolicyMove 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?: PackagesPblockFirewallLocalinpolicyMoveState, opts?: CustomResourceOptions): PackagesPblockFirewallLocalinpolicyMove@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
adom: Optional[str] = None,
local_in_policy: Optional[str] = None,
option: Optional[str] = None,
packages_pblock_firewall_localinpolicy_move_id: Optional[str] = None,
pblock: Optional[str] = None,
scopetype: Optional[str] = None,
state_pos: Optional[str] = None,
target: Optional[str] = None) -> PackagesPblockFirewallLocalinpolicyMovefunc GetPackagesPblockFirewallLocalinpolicyMove(ctx *Context, name string, id IDInput, state *PackagesPblockFirewallLocalinpolicyMoveState, opts ...ResourceOption) (*PackagesPblockFirewallLocalinpolicyMove, error)public static PackagesPblockFirewallLocalinpolicyMove Get(string name, Input<string> id, PackagesPblockFirewallLocalinpolicyMoveState? state, CustomResourceOptions? opts = null)public static PackagesPblockFirewallLocalinpolicyMove get(String name, Output<String> id, PackagesPblockFirewallLocalinpolicyMoveState state, CustomResourceOptions options)resources: _: type: fortimanager:PackagesPblockFirewallLocalinpolicyMove get: id: ${id}import {
to = fortimanager_packages_pblock_firewall_localinpolicy_move.example
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.
- Adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - Local
In stringPolicy - Local In Policy.
- Option string
- Option. Valid values:
before,after. - Packages
Pblock stringFirewall Localinpolicy Move Id - an identifier for the resource with format {{policyid}}.
- Pblock string
- Pblock.
- Scopetype string
- The scope of application of the resource. Valid values:
inherit,adom. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - State
Pos string - The parameter is read-only, it is used to get the lastest relative position of the two items. This can help check whether the latest relative position of the two items matches the configuration, and help check whether they have been deleted. If the latest relative position of the two items matches the configuration, the value of state_pos is an empty string.
- Target string
- Key to the target entry.
- Adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - Local
In stringPolicy - Local In Policy.
- Option string
- Option. Valid values:
before,after. - Packages
Pblock stringFirewall Localinpolicy Move Id - an identifier for the resource with format {{policyid}}.
- Pblock string
- Pblock.
- Scopetype string
- The scope of application of the resource. Valid values:
inherit,adom. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - State
Pos string - The parameter is read-only, it is used to get the lastest relative position of the two items. This can help check whether the latest relative position of the two items matches the configuration, and help check whether they have been deleted. If the latest relative position of the two items matches the configuration, the value of state_pos is an empty string.
- Target string
- Key to the target entry.
- adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - local_
in_ stringpolicy - Local In Policy.
- option string
- Option. Valid values:
before,after. - packages_
pblock_ stringfirewall_ localinpolicy_ move_ id - an identifier for the resource with format {{policyid}}.
- pblock string
- Pblock.
- scopetype string
- The scope of application of the resource. Valid values:
inherit,adom. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - state_
pos string - The parameter is read-only, it is used to get the lastest relative position of the two items. This can help check whether the latest relative position of the two items matches the configuration, and help check whether they have been deleted. If the latest relative position of the two items matches the configuration, the value of state_pos is an empty string.
- target string
- Key to the target entry.
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - local
In StringPolicy - Local In Policy.
- option String
- Option. Valid values:
before,after. - packages
Pblock StringFirewall Localinpolicy Move Id - an identifier for the resource with format {{policyid}}.
- pblock String
- Pblock.
- scopetype String
- The scope of application of the resource. Valid values:
inherit,adom. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - state
Pos String - The parameter is read-only, it is used to get the lastest relative position of the two items. This can help check whether the latest relative position of the two items matches the configuration, and help check whether they have been deleted. If the latest relative position of the two items matches the configuration, the value of state_pos is an empty string.
- target String
- Key to the target entry.
- adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - local
In stringPolicy - Local In Policy.
- option string
- Option. Valid values:
before,after. - packages
Pblock stringFirewall Localinpolicy Move Id - an identifier for the resource with format {{policyid}}.
- pblock string
- Pblock.
- scopetype string
- The scope of application of the resource. Valid values:
inherit,adom. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - state
Pos string - The parameter is read-only, it is used to get the lastest relative position of the two items. This can help check whether the latest relative position of the two items matches the configuration, and help check whether they have been deleted. If the latest relative position of the two items matches the configuration, the value of state_pos is an empty string.
- target string
- Key to the target entry.
- adom str
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - local_
in_ strpolicy - Local In Policy.
- option str
- Option. Valid values:
before,after. - packages_
pblock_ strfirewall_ localinpolicy_ move_ id - an identifier for the resource with format {{policyid}}.
- pblock str
- Pblock.
- scopetype str
- The scope of application of the resource. Valid values:
inherit,adom. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - state_
pos str - The parameter is read-only, it is used to get the lastest relative position of the two items. This can help check whether the latest relative position of the two items matches the configuration, and help check whether they have been deleted. If the latest relative position of the two items matches the configuration, the value of state_pos is an empty string.
- target str
- Key to the target entry.
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - local
In StringPolicy - Local In Policy.
- option String
- Option. Valid values:
before,after. - packages
Pblock StringFirewall Localinpolicy Move Id - an identifier for the resource with format {{policyid}}.
- pblock String
- Pblock.
- scopetype String
- The scope of application of the resource. Valid values:
inherit,adom. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - state
Pos String - The parameter is read-only, it is used to get the lastest relative position of the two items. This can help check whether the latest relative position of the two items matches the configuration, and help check whether they have been deleted. If the latest relative position of the two items matches the configuration, the value of state_pos is an empty string.
- target String
- Key to the target entry.
Package Details
- Repository
- fortimanager fortinetdev/terraform-provider-fortimanager
- License
- Notes
- This Pulumi package is based on the
fortimanagerTerraform Provider.
published on Friday, Jul 31, 2026 by fortinetdev