1. Registry
  2. Packages
  3. Fortimanager Provider
  4. API Docs
  5. PackagesPblockFirewallLocalinpolicyMove
Viewing docs for fortimanager 1.18.0
published on Friday, Jul 31, 2026 by fortinetdev
Viewing docs for fortimanager 1.18.0
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:

    LocalInPolicy string
    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 scopetype is adom, otherwise the value of adom in the provider will be inherited.
    PackagesPblockFirewallLocalinpolicyMoveId string
    an identifier for the resource with format {{policyid}}.
    Scopetype string
    The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    StatePos 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.
    LocalInPolicy string
    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 scopetype is adom, otherwise the value of adom in the provider will be inherited.
    PackagesPblockFirewallLocalinpolicyMoveId string
    an identifier for the resource with format {{policyid}}.
    Scopetype string
    The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    StatePos 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_policy string
    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 scopetype is adom, otherwise the value of adom in the provider will be inherited.
    packages_pblock_firewall_localinpolicy_move_id string
    an identifier for the resource with format {{policyid}}.
    scopetype string
    The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    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.
    localInPolicy String
    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 scopetype is adom, otherwise the value of adom in the provider will be inherited.
    packagesPblockFirewallLocalinpolicyMoveId String
    an identifier for the resource with format {{policyid}}.
    scopetype String
    The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    statePos 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.
    localInPolicy string
    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 scopetype is adom, otherwise the value of adom in the provider will be inherited.
    packagesPblockFirewallLocalinpolicyMoveId string
    an identifier for the resource with format {{policyid}}.
    scopetype string
    The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    statePos 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_policy str
    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 scopetype is adom, otherwise the value of adom in the provider will be inherited.
    packages_pblock_firewall_localinpolicy_move_id str
    an identifier for the resource with format {{policyid}}.
    scopetype str
    The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    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.
    localInPolicy String
    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 scopetype is adom, otherwise the value of adom in the provider will be inherited.
    packagesPblockFirewallLocalinpolicyMoveId String
    an identifier for the resource with format {{policyid}}.
    scopetype String
    The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    statePos 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) -> PackagesPblockFirewallLocalinpolicyMove
    func 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.
    The following state arguments are supported:
    Adom string
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    LocalInPolicy string
    Local In Policy.
    Option string
    Option. Valid values: before, after.
    PackagesPblockFirewallLocalinpolicyMoveId string
    an identifier for the resource with format {{policyid}}.
    Pblock string
    Pblock.
    Scopetype string
    The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    StatePos 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 scopetype is adom, otherwise the value of adom in the provider will be inherited.
    LocalInPolicy string
    Local In Policy.
    Option string
    Option. Valid values: before, after.
    PackagesPblockFirewallLocalinpolicyMoveId string
    an identifier for the resource with format {{policyid}}.
    Pblock string
    Pblock.
    Scopetype string
    The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    StatePos 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 scopetype is adom, otherwise the value of adom in the provider will be inherited.
    local_in_policy string
    Local In Policy.
    option string
    Option. Valid values: before, after.
    packages_pblock_firewall_localinpolicy_move_id string
    an identifier for the resource with format {{policyid}}.
    pblock string
    Pblock.
    scopetype string
    The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    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 scopetype is adom, otherwise the value of adom in the provider will be inherited.
    localInPolicy String
    Local In Policy.
    option String
    Option. Valid values: before, after.
    packagesPblockFirewallLocalinpolicyMoveId String
    an identifier for the resource with format {{policyid}}.
    pblock String
    Pblock.
    scopetype String
    The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    statePos 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 scopetype is adom, otherwise the value of adom in the provider will be inherited.
    localInPolicy string
    Local In Policy.
    option string
    Option. Valid values: before, after.
    packagesPblockFirewallLocalinpolicyMoveId string
    an identifier for the resource with format {{policyid}}.
    pblock string
    Pblock.
    scopetype string
    The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    statePos 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 scopetype is adom, otherwise the value of adom in the provider will be inherited.
    local_in_policy str
    Local In Policy.
    option str
    Option. Valid values: before, after.
    packages_pblock_firewall_localinpolicy_move_id str
    an identifier for the resource with format {{policyid}}.
    pblock str
    Pblock.
    scopetype str
    The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    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 scopetype is adom, otherwise the value of adom in the provider will be inherited.
    localInPolicy String
    Local In Policy.
    option String
    Option. Valid values: before, after.
    packagesPblockFirewallLocalinpolicyMoveId String
    an identifier for the resource with format {{policyid}}.
    pblock String
    Pblock.
    scopetype String
    The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    statePos 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 fortimanager Terraform Provider.
    Viewing docs for fortimanager 1.18.0
    published on Friday, Jul 31, 2026 by fortinetdev

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial