published on Friday, Jul 31, 2026 by fortinetdev
published on Friday, Jul 31, 2026 by fortinetdev
Create PackagesPblockFirewallLocalinpolicy6Move Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PackagesPblockFirewallLocalinpolicy6Move(name: string, args: PackagesPblockFirewallLocalinpolicy6MoveArgs, opts?: CustomResourceOptions);@overload
def PackagesPblockFirewallLocalinpolicy6Move(resource_name: str,
args: PackagesPblockFirewallLocalinpolicy6MoveArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PackagesPblockFirewallLocalinpolicy6Move(resource_name: str,
opts: Optional[ResourceOptions] = None,
local_in_policy6: Optional[str] = None,
option: Optional[str] = None,
pblock: Optional[str] = None,
target: Optional[str] = None,
adom: Optional[str] = None,
packages_pblock_firewall_localinpolicy6_move_id: Optional[str] = None,
scopetype: Optional[str] = None,
state_pos: Optional[str] = None)func NewPackagesPblockFirewallLocalinpolicy6Move(ctx *Context, name string, args PackagesPblockFirewallLocalinpolicy6MoveArgs, opts ...ResourceOption) (*PackagesPblockFirewallLocalinpolicy6Move, error)public PackagesPblockFirewallLocalinpolicy6Move(string name, PackagesPblockFirewallLocalinpolicy6MoveArgs args, CustomResourceOptions? opts = null)
public PackagesPblockFirewallLocalinpolicy6Move(String name, PackagesPblockFirewallLocalinpolicy6MoveArgs args)
public PackagesPblockFirewallLocalinpolicy6Move(String name, PackagesPblockFirewallLocalinpolicy6MoveArgs args, CustomResourceOptions options)
type: fortimanager:PackagesPblockFirewallLocalinpolicy6Move
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "fortimanager_packages_pblock_firewall_localinpolicy6_move" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args PackagesPblockFirewallLocalinpolicy6MoveArgs
- 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 PackagesPblockFirewallLocalinpolicy6MoveArgs
- 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 PackagesPblockFirewallLocalinpolicy6MoveArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PackagesPblockFirewallLocalinpolicy6MoveArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PackagesPblockFirewallLocalinpolicy6MoveArgs
- 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 packagesPblockFirewallLocalinpolicy6MoveResource = new Fortimanager.PackagesPblockFirewallLocalinpolicy6Move("packagesPblockFirewallLocalinpolicy6MoveResource", new()
{
LocalInPolicy6 = "string",
Option = "string",
Pblock = "string",
Target = "string",
Adom = "string",
PackagesPblockFirewallLocalinpolicy6MoveId = "string",
Scopetype = "string",
StatePos = "string",
});
example, err := fortimanager.NewPackagesPblockFirewallLocalinpolicy6Move(ctx, "packagesPblockFirewallLocalinpolicy6MoveResource", &fortimanager.PackagesPblockFirewallLocalinpolicy6MoveArgs{
LocalInPolicy6: pulumi.String("string"),
Option: pulumi.String("string"),
Pblock: pulumi.String("string"),
Target: pulumi.String("string"),
Adom: pulumi.String("string"),
PackagesPblockFirewallLocalinpolicy6MoveId: pulumi.String("string"),
Scopetype: pulumi.String("string"),
StatePos: pulumi.String("string"),
})
resource "fortimanager_packages_pblock_firewall_localinpolicy6_move" "packagesPblockFirewallLocalinpolicy6MoveResource" {
lifecycle {
create_before_destroy = true
}
local_in_policy6 = "string"
option = "string"
pblock = "string"
target = "string"
adom = "string"
packages_pblock_firewall_localinpolicy6_move_id = "string"
scopetype = "string"
state_pos = "string"
}
var packagesPblockFirewallLocalinpolicy6MoveResource = new PackagesPblockFirewallLocalinpolicy6Move("packagesPblockFirewallLocalinpolicy6MoveResource", PackagesPblockFirewallLocalinpolicy6MoveArgs.builder()
.localInPolicy6("string")
.option("string")
.pblock("string")
.target("string")
.adom("string")
.packagesPblockFirewallLocalinpolicy6MoveId("string")
.scopetype("string")
.statePos("string")
.build());
packages_pblock_firewall_localinpolicy6_move_resource = fortimanager.PackagesPblockFirewallLocalinpolicy6Move("packagesPblockFirewallLocalinpolicy6MoveResource",
local_in_policy6="string",
option="string",
pblock="string",
target="string",
adom="string",
packages_pblock_firewall_localinpolicy6_move_id="string",
scopetype="string",
state_pos="string")
const packagesPblockFirewallLocalinpolicy6MoveResource = new fortimanager.PackagesPblockFirewallLocalinpolicy6Move("packagesPblockFirewallLocalinpolicy6MoveResource", {
localInPolicy6: "string",
option: "string",
pblock: "string",
target: "string",
adom: "string",
packagesPblockFirewallLocalinpolicy6MoveId: "string",
scopetype: "string",
statePos: "string",
});
type: fortimanager:PackagesPblockFirewallLocalinpolicy6Move
properties:
adom: string
localInPolicy6: string
option: string
packagesPblockFirewallLocalinpolicy6MoveId: string
pblock: string
scopetype: string
statePos: string
target: string
PackagesPblockFirewallLocalinpolicy6Move 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 PackagesPblockFirewallLocalinpolicy6Move resource accepts the following input properties:
- Local
In stringPolicy6 - Local In Policy6.
- 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 Localinpolicy6Move 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 stringPolicy6 - Local In Policy6.
- 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 Localinpolicy6Move 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_ stringpolicy6 - Local In Policy6.
- 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_ localinpolicy6_ 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 StringPolicy6 - Local In Policy6.
- 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 Localinpolicy6Move 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 stringPolicy6 - Local In Policy6.
- 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 Localinpolicy6Move 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_ strpolicy6 - Local In Policy6.
- 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_ localinpolicy6_ 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 StringPolicy6 - Local In Policy6.
- 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 Localinpolicy6Move 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 PackagesPblockFirewallLocalinpolicy6Move 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 PackagesPblockFirewallLocalinpolicy6Move Resource
Get an existing PackagesPblockFirewallLocalinpolicy6Move 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?: PackagesPblockFirewallLocalinpolicy6MoveState, opts?: CustomResourceOptions): PackagesPblockFirewallLocalinpolicy6Move@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
adom: Optional[str] = None,
local_in_policy6: Optional[str] = None,
option: Optional[str] = None,
packages_pblock_firewall_localinpolicy6_move_id: Optional[str] = None,
pblock: Optional[str] = None,
scopetype: Optional[str] = None,
state_pos: Optional[str] = None,
target: Optional[str] = None) -> PackagesPblockFirewallLocalinpolicy6Movefunc GetPackagesPblockFirewallLocalinpolicy6Move(ctx *Context, name string, id IDInput, state *PackagesPblockFirewallLocalinpolicy6MoveState, opts ...ResourceOption) (*PackagesPblockFirewallLocalinpolicy6Move, error)public static PackagesPblockFirewallLocalinpolicy6Move Get(string name, Input<string> id, PackagesPblockFirewallLocalinpolicy6MoveState? state, CustomResourceOptions? opts = null)public static PackagesPblockFirewallLocalinpolicy6Move get(String name, Output<String> id, PackagesPblockFirewallLocalinpolicy6MoveState state, CustomResourceOptions options)resources: _: type: fortimanager:PackagesPblockFirewallLocalinpolicy6Move get: id: ${id}import {
to = fortimanager_packages_pblock_firewall_localinpolicy6_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 stringPolicy6 - Local In Policy6.
- Option string
- Option. Valid values:
before,after. - Packages
Pblock stringFirewall Localinpolicy6Move 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 stringPolicy6 - Local In Policy6.
- Option string
- Option. Valid values:
before,after. - Packages
Pblock stringFirewall Localinpolicy6Move 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_ stringpolicy6 - Local In Policy6.
- option string
- Option. Valid values:
before,after. - packages_
pblock_ stringfirewall_ localinpolicy6_ 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 StringPolicy6 - Local In Policy6.
- option String
- Option. Valid values:
before,after. - packages
Pblock StringFirewall Localinpolicy6Move 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 stringPolicy6 - Local In Policy6.
- option string
- Option. Valid values:
before,after. - packages
Pblock stringFirewall Localinpolicy6Move 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_ strpolicy6 - Local In Policy6.
- option str
- Option. Valid values:
before,after. - packages_
pblock_ strfirewall_ localinpolicy6_ 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 StringPolicy6 - Local In Policy6.
- option String
- Option. Valid values:
before,after. - packages
Pblock StringFirewall Localinpolicy6Move 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