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

fortimanager.PackagesFirewallConsolidatedPolicyMove

Explore with Pulumi AI

Create PackagesFirewallConsolidatedPolicyMove Resource

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

Constructor syntax

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

@overload
def PackagesFirewallConsolidatedPolicyMove(resource_name: str,
                                           opts: Optional[ResourceOptions] = None,
                                           option: Optional[str] = None,
                                           pkg: Optional[str] = None,
                                           policy: Optional[str] = None,
                                           target: Optional[str] = None,
                                           adom: Optional[str] = None,
                                           packages_firewall_consolidated_policy_move_id: Optional[str] = None,
                                           pkg_folder_path: Optional[str] = None,
                                           scopetype: Optional[str] = None,
                                           state_pos: Optional[str] = None)
func NewPackagesFirewallConsolidatedPolicyMove(ctx *Context, name string, args PackagesFirewallConsolidatedPolicyMoveArgs, opts ...ResourceOption) (*PackagesFirewallConsolidatedPolicyMove, error)
public PackagesFirewallConsolidatedPolicyMove(string name, PackagesFirewallConsolidatedPolicyMoveArgs args, CustomResourceOptions? opts = null)
public PackagesFirewallConsolidatedPolicyMove(String name, PackagesFirewallConsolidatedPolicyMoveArgs args)
public PackagesFirewallConsolidatedPolicyMove(String name, PackagesFirewallConsolidatedPolicyMoveArgs args, CustomResourceOptions options)
type: fortimanager:PackagesFirewallConsolidatedPolicyMove
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. PackagesFirewallConsolidatedPolicyMoveArgs
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. PackagesFirewallConsolidatedPolicyMoveArgs
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. PackagesFirewallConsolidatedPolicyMoveArgs
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. PackagesFirewallConsolidatedPolicyMoveArgs
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. PackagesFirewallConsolidatedPolicyMoveArgs
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 packagesFirewallConsolidatedPolicyMoveResource = new Fortimanager.PackagesFirewallConsolidatedPolicyMove("packagesFirewallConsolidatedPolicyMoveResource", new()
{
    Option = "string",
    Pkg = "string",
    Policy = "string",
    Target = "string",
    Adom = "string",
    PackagesFirewallConsolidatedPolicyMoveId = "string",
    PkgFolderPath = "string",
    Scopetype = "string",
    StatePos = "string",
});
Copy
example, err := fortimanager.NewPackagesFirewallConsolidatedPolicyMove(ctx, "packagesFirewallConsolidatedPolicyMoveResource", &fortimanager.PackagesFirewallConsolidatedPolicyMoveArgs{
Option: pulumi.String("string"),
Pkg: pulumi.String("string"),
Policy: pulumi.String("string"),
Target: pulumi.String("string"),
Adom: pulumi.String("string"),
PackagesFirewallConsolidatedPolicyMoveId: pulumi.String("string"),
PkgFolderPath: pulumi.String("string"),
Scopetype: pulumi.String("string"),
StatePos: pulumi.String("string"),
})
Copy
var packagesFirewallConsolidatedPolicyMoveResource = new PackagesFirewallConsolidatedPolicyMove("packagesFirewallConsolidatedPolicyMoveResource", PackagesFirewallConsolidatedPolicyMoveArgs.builder()
    .option("string")
    .pkg("string")
    .policy("string")
    .target("string")
    .adom("string")
    .packagesFirewallConsolidatedPolicyMoveId("string")
    .pkgFolderPath("string")
    .scopetype("string")
    .statePos("string")
    .build());
Copy
packages_firewall_consolidated_policy_move_resource = fortimanager.PackagesFirewallConsolidatedPolicyMove("packagesFirewallConsolidatedPolicyMoveResource",
    option="string",
    pkg="string",
    policy="string",
    target="string",
    adom="string",
    packages_firewall_consolidated_policy_move_id="string",
    pkg_folder_path="string",
    scopetype="string",
    state_pos="string")
Copy
const packagesFirewallConsolidatedPolicyMoveResource = new fortimanager.PackagesFirewallConsolidatedPolicyMove("packagesFirewallConsolidatedPolicyMoveResource", {
    option: "string",
    pkg: "string",
    policy: "string",
    target: "string",
    adom: "string",
    packagesFirewallConsolidatedPolicyMoveId: "string",
    pkgFolderPath: "string",
    scopetype: "string",
    statePos: "string",
});
Copy
type: fortimanager:PackagesFirewallConsolidatedPolicyMove
properties:
    adom: string
    option: string
    packagesFirewallConsolidatedPolicyMoveId: string
    pkg: string
    pkgFolderPath: string
    policy: string
    scopetype: string
    statePos: string
    target: string
Copy

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

Option This property is required. string
Option. Valid values: before, after.
Pkg This property is required. string
Package.
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.
PackagesFirewallConsolidatedPolicyMoveId string
an identifier for the resource with format {{policyid}}.
PkgFolderPath string
Pkg Folder Path.
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.
Pkg This property is required. string
Package.
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.
PackagesFirewallConsolidatedPolicyMoveId string
an identifier for the resource with format {{policyid}}.
PkgFolderPath string
Pkg Folder Path.
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.
pkg This property is required. String
Package.
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.
packagesFirewallConsolidatedPolicyMoveId String
an identifier for the resource with format {{policyid}}.
pkgFolderPath String
Pkg Folder Path.
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.
pkg This property is required. string
Package.
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.
packagesFirewallConsolidatedPolicyMoveId string
an identifier for the resource with format {{policyid}}.
pkgFolderPath string
Pkg Folder Path.
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.
pkg This property is required. str
Package.
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_firewall_consolidated_policy_move_id str
an identifier for the resource with format {{policyid}}.
pkg_folder_path str
Pkg Folder Path.
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.
pkg This property is required. String
Package.
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.
packagesFirewallConsolidatedPolicyMoveId String
an identifier for the resource with format {{policyid}}.
pkgFolderPath String
Pkg Folder Path.
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 PackagesFirewallConsolidatedPolicyMove 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 PackagesFirewallConsolidatedPolicyMove Resource

Get an existing PackagesFirewallConsolidatedPolicyMove 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?: PackagesFirewallConsolidatedPolicyMoveState, opts?: CustomResourceOptions): PackagesFirewallConsolidatedPolicyMove
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        option: Optional[str] = None,
        packages_firewall_consolidated_policy_move_id: Optional[str] = None,
        pkg: Optional[str] = None,
        pkg_folder_path: Optional[str] = None,
        policy: Optional[str] = None,
        scopetype: Optional[str] = None,
        state_pos: Optional[str] = None,
        target: Optional[str] = None) -> PackagesFirewallConsolidatedPolicyMove
func GetPackagesFirewallConsolidatedPolicyMove(ctx *Context, name string, id IDInput, state *PackagesFirewallConsolidatedPolicyMoveState, opts ...ResourceOption) (*PackagesFirewallConsolidatedPolicyMove, error)
public static PackagesFirewallConsolidatedPolicyMove Get(string name, Input<string> id, PackagesFirewallConsolidatedPolicyMoveState? state, CustomResourceOptions? opts = null)
public static PackagesFirewallConsolidatedPolicyMove get(String name, Output<String> id, PackagesFirewallConsolidatedPolicyMoveState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:PackagesFirewallConsolidatedPolicyMove    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.
PackagesFirewallConsolidatedPolicyMoveId string
an identifier for the resource with format {{policyid}}.
Pkg string
Package.
PkgFolderPath string
Pkg Folder Path.
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.
PackagesFirewallConsolidatedPolicyMoveId string
an identifier for the resource with format {{policyid}}.
Pkg string
Package.
PkgFolderPath string
Pkg Folder Path.
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.
packagesFirewallConsolidatedPolicyMoveId String
an identifier for the resource with format {{policyid}}.
pkg String
Package.
pkgFolderPath String
Pkg Folder Path.
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.
packagesFirewallConsolidatedPolicyMoveId string
an identifier for the resource with format {{policyid}}.
pkg string
Package.
pkgFolderPath string
Pkg Folder Path.
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_firewall_consolidated_policy_move_id str
an identifier for the resource with format {{policyid}}.
pkg str
Package.
pkg_folder_path str
Pkg Folder Path.
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.
packagesFirewallConsolidatedPolicyMoveId String
an identifier for the resource with format {{policyid}}.
pkg String
Package.
pkgFolderPath String
Pkg Folder Path.
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.