1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. PackagesPblockFirewallPolicyMove
fortimanager 1.13.0 published on Thursday, Mar 13, 2025 by fortinetdev

fortimanager.PackagesPblockFirewallPolicyMove

Explore with Pulumi AI

Create PackagesPblockFirewallPolicyMove Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new PackagesPblockFirewallPolicyMove(name: string, args: PackagesPblockFirewallPolicyMoveArgs, opts?: CustomResourceOptions);
@overload
def PackagesPblockFirewallPolicyMove(resource_name: str,
                                     args: PackagesPblockFirewallPolicyMoveArgs,
                                     opts: Optional[ResourceOptions] = None)

@overload
def PackagesPblockFirewallPolicyMove(resource_name: str,
                                     opts: Optional[ResourceOptions] = None,
                                     option: Optional[str] = None,
                                     pblock: Optional[str] = None,
                                     policy: Optional[str] = None,
                                     target: Optional[str] = None,
                                     adom: Optional[str] = None,
                                     packages_pblock_firewall_policy_move_id: Optional[str] = None,
                                     scopetype: Optional[str] = None,
                                     state_pos: Optional[str] = None)
func NewPackagesPblockFirewallPolicyMove(ctx *Context, name string, args PackagesPblockFirewallPolicyMoveArgs, opts ...ResourceOption) (*PackagesPblockFirewallPolicyMove, error)
public PackagesPblockFirewallPolicyMove(string name, PackagesPblockFirewallPolicyMoveArgs args, CustomResourceOptions? opts = null)
public PackagesPblockFirewallPolicyMove(String name, PackagesPblockFirewallPolicyMoveArgs args)
public PackagesPblockFirewallPolicyMove(String name, PackagesPblockFirewallPolicyMoveArgs args, CustomResourceOptions options)
type: fortimanager:PackagesPblockFirewallPolicyMove
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. PackagesPblockFirewallPolicyMoveArgs
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. PackagesPblockFirewallPolicyMoveArgs
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. PackagesPblockFirewallPolicyMoveArgs
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. PackagesPblockFirewallPolicyMoveArgs
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. PackagesPblockFirewallPolicyMoveArgs
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 packagesPblockFirewallPolicyMoveResource = new Fortimanager.PackagesPblockFirewallPolicyMove("packagesPblockFirewallPolicyMoveResource", new()
{
    Option = "string",
    Pblock = "string",
    Policy = "string",
    Target = "string",
    Adom = "string",
    PackagesPblockFirewallPolicyMoveId = "string",
    Scopetype = "string",
    StatePos = "string",
});
Copy
example, err := fortimanager.NewPackagesPblockFirewallPolicyMove(ctx, "packagesPblockFirewallPolicyMoveResource", &fortimanager.PackagesPblockFirewallPolicyMoveArgs{
Option: pulumi.String("string"),
Pblock: pulumi.String("string"),
Policy: pulumi.String("string"),
Target: pulumi.String("string"),
Adom: pulumi.String("string"),
PackagesPblockFirewallPolicyMoveId: pulumi.String("string"),
Scopetype: pulumi.String("string"),
StatePos: pulumi.String("string"),
})
Copy
var packagesPblockFirewallPolicyMoveResource = new PackagesPblockFirewallPolicyMove("packagesPblockFirewallPolicyMoveResource", PackagesPblockFirewallPolicyMoveArgs.builder()
    .option("string")
    .pblock("string")
    .policy("string")
    .target("string")
    .adom("string")
    .packagesPblockFirewallPolicyMoveId("string")
    .scopetype("string")
    .statePos("string")
    .build());
Copy
packages_pblock_firewall_policy_move_resource = fortimanager.PackagesPblockFirewallPolicyMove("packagesPblockFirewallPolicyMoveResource",
    option="string",
    pblock="string",
    policy="string",
    target="string",
    adom="string",
    packages_pblock_firewall_policy_move_id="string",
    scopetype="string",
    state_pos="string")
Copy
const packagesPblockFirewallPolicyMoveResource = new fortimanager.PackagesPblockFirewallPolicyMove("packagesPblockFirewallPolicyMoveResource", {
    option: "string",
    pblock: "string",
    policy: "string",
    target: "string",
    adom: "string",
    packagesPblockFirewallPolicyMoveId: "string",
    scopetype: "string",
    statePos: "string",
});
Copy
type: fortimanager:PackagesPblockFirewallPolicyMove
properties:
    adom: string
    option: string
    packagesPblockFirewallPolicyMoveId: string
    pblock: string
    policy: string
    scopetype: string
    statePos: string
    target: string
Copy

PackagesPblockFirewallPolicyMove 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 PackagesPblockFirewallPolicyMove resource accepts the following input properties:

Option This property is required. string
Option. Valid values: before, after.
Pblock This property is required. string
Pblock.
Policy This property is required. string
Policy.
Target This property is required. 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.
PackagesPblockFirewallPolicyMoveId 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.
Option This property is required. string
Option. Valid values: before, after.
Pblock This property is required. string
Pblock.
Policy This property is required. string
Policy.
Target This property is required. 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.
PackagesPblockFirewallPolicyMoveId 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.
option This property is required. String
Option. Valid values: before, after.
pblock This property is required. String
Pblock.
policy This property is required. String
Policy.
target This property is required. 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.
packagesPblockFirewallPolicyMoveId 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.
option This property is required. string
Option. Valid values: before, after.
pblock This property is required. string
Pblock.
policy This property is required. string
Policy.
target This property is required. 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.
packagesPblockFirewallPolicyMoveId 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.
option This property is required. str
Option. Valid values: before, after.
pblock This property is required. str
Pblock.
policy This property is required. str
Policy.
target This property is required. 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_policy_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.
option This property is required. String
Option. Valid values: before, after.
pblock This property is required. String
Pblock.
policy This property is required. String
Policy.
target This property is required. 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.
packagesPblockFirewallPolicyMoveId 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 PackagesPblockFirewallPolicyMove 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 PackagesPblockFirewallPolicyMove Resource

Get an existing PackagesPblockFirewallPolicyMove 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?: PackagesPblockFirewallPolicyMoveState, opts?: CustomResourceOptions): PackagesPblockFirewallPolicyMove
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        option: Optional[str] = None,
        packages_pblock_firewall_policy_move_id: Optional[str] = None,
        pblock: Optional[str] = None,
        policy: Optional[str] = None,
        scopetype: Optional[str] = None,
        state_pos: Optional[str] = None,
        target: Optional[str] = None) -> PackagesPblockFirewallPolicyMove
func GetPackagesPblockFirewallPolicyMove(ctx *Context, name string, id IDInput, state *PackagesPblockFirewallPolicyMoveState, opts ...ResourceOption) (*PackagesPblockFirewallPolicyMove, error)
public static PackagesPblockFirewallPolicyMove Get(string name, Input<string> id, PackagesPblockFirewallPolicyMoveState? state, CustomResourceOptions? opts = null)
public static PackagesPblockFirewallPolicyMove get(String name, Output<String> id, PackagesPblockFirewallPolicyMoveState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:PackagesPblockFirewallPolicyMove    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.
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.
Option string
Option. Valid values: before, after.
PackagesPblockFirewallPolicyMoveId string
an identifier for the resource with format {{policyid}}.
Pblock string
Pblock.
Policy string
Policy.
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.
Option string
Option. Valid values: before, after.
PackagesPblockFirewallPolicyMoveId string
an identifier for the resource with format {{policyid}}.
Pblock string
Pblock.
Policy string
Policy.
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.
option String
Option. Valid values: before, after.
packagesPblockFirewallPolicyMoveId String
an identifier for the resource with format {{policyid}}.
pblock String
Pblock.
policy String
Policy.
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.
option string
Option. Valid values: before, after.
packagesPblockFirewallPolicyMoveId string
an identifier for the resource with format {{policyid}}.
pblock string
Pblock.
policy string
Policy.
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.
option str
Option. Valid values: before, after.
packages_pblock_firewall_policy_move_id str
an identifier for the resource with format {{policyid}}.
pblock str
Pblock.
policy str
Policy.
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.
option String
Option. Valid values: before, after.
packagesPblockFirewallPolicyMoveId String
an identifier for the resource with format {{policyid}}.
pblock String
Pblock.
policy String
Policy.
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.