fortimanager.PackagesFirewallLocalinpolicyMove
Explore with Pulumi AI
Create PackagesFirewallLocalinpolicyMove Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PackagesFirewallLocalinpolicyMove(name: string, args: PackagesFirewallLocalinpolicyMoveArgs, opts?: CustomResourceOptions);
@overload
def PackagesFirewallLocalinpolicyMove(resource_name: str,
args: PackagesFirewallLocalinpolicyMoveArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PackagesFirewallLocalinpolicyMove(resource_name: str,
opts: Optional[ResourceOptions] = None,
local_in_policy: Optional[str] = None,
option: Optional[str] = None,
pkg: Optional[str] = None,
target: Optional[str] = None,
adom: Optional[str] = None,
packages_firewall_localinpolicy_move_id: Optional[str] = None,
pkg_folder_path: Optional[str] = None,
scopetype: Optional[str] = None,
state_pos: Optional[str] = None)
func NewPackagesFirewallLocalinpolicyMove(ctx *Context, name string, args PackagesFirewallLocalinpolicyMoveArgs, opts ...ResourceOption) (*PackagesFirewallLocalinpolicyMove, error)
public PackagesFirewallLocalinpolicyMove(string name, PackagesFirewallLocalinpolicyMoveArgs args, CustomResourceOptions? opts = null)
public PackagesFirewallLocalinpolicyMove(String name, PackagesFirewallLocalinpolicyMoveArgs args)
public PackagesFirewallLocalinpolicyMove(String name, PackagesFirewallLocalinpolicyMoveArgs args, CustomResourceOptions options)
type: fortimanager:PackagesFirewallLocalinpolicyMove
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. PackagesFirewallLocalinpolicyMoveArgs - 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. PackagesFirewallLocalinpolicyMoveArgs - 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. PackagesFirewallLocalinpolicyMoveArgs - 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. PackagesFirewallLocalinpolicyMoveArgs - 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. PackagesFirewallLocalinpolicyMoveArgs - 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 packagesFirewallLocalinpolicyMoveResource = new Fortimanager.PackagesFirewallLocalinpolicyMove("packagesFirewallLocalinpolicyMoveResource", new()
{
LocalInPolicy = "string",
Option = "string",
Pkg = "string",
Target = "string",
Adom = "string",
PackagesFirewallLocalinpolicyMoveId = "string",
PkgFolderPath = "string",
Scopetype = "string",
StatePos = "string",
});
example, err := fortimanager.NewPackagesFirewallLocalinpolicyMove(ctx, "packagesFirewallLocalinpolicyMoveResource", &fortimanager.PackagesFirewallLocalinpolicyMoveArgs{
LocalInPolicy: pulumi.String("string"),
Option: pulumi.String("string"),
Pkg: pulumi.String("string"),
Target: pulumi.String("string"),
Adom: pulumi.String("string"),
PackagesFirewallLocalinpolicyMoveId: pulumi.String("string"),
PkgFolderPath: pulumi.String("string"),
Scopetype: pulumi.String("string"),
StatePos: pulumi.String("string"),
})
var packagesFirewallLocalinpolicyMoveResource = new PackagesFirewallLocalinpolicyMove("packagesFirewallLocalinpolicyMoveResource", PackagesFirewallLocalinpolicyMoveArgs.builder()
.localInPolicy("string")
.option("string")
.pkg("string")
.target("string")
.adom("string")
.packagesFirewallLocalinpolicyMoveId("string")
.pkgFolderPath("string")
.scopetype("string")
.statePos("string")
.build());
packages_firewall_localinpolicy_move_resource = fortimanager.PackagesFirewallLocalinpolicyMove("packagesFirewallLocalinpolicyMoveResource",
local_in_policy="string",
option="string",
pkg="string",
target="string",
adom="string",
packages_firewall_localinpolicy_move_id="string",
pkg_folder_path="string",
scopetype="string",
state_pos="string")
const packagesFirewallLocalinpolicyMoveResource = new fortimanager.PackagesFirewallLocalinpolicyMove("packagesFirewallLocalinpolicyMoveResource", {
localInPolicy: "string",
option: "string",
pkg: "string",
target: "string",
adom: "string",
packagesFirewallLocalinpolicyMoveId: "string",
pkgFolderPath: "string",
scopetype: "string",
statePos: "string",
});
type: fortimanager:PackagesFirewallLocalinpolicyMove
properties:
adom: string
localInPolicy: string
option: string
packagesFirewallLocalinpolicyMoveId: string
pkg: string
pkgFolderPath: string
scopetype: string
statePos: string
target: string
PackagesFirewallLocalinpolicyMove 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 PackagesFirewallLocalinpolicyMove resource accepts the following input properties:
- Local
In Policy This property is required. string - Local In Policy.
- Option
This property is required. string - Option. Valid values:
before
,after
. - Pkg
This property is required. string - Package.
- Target
This property is required. string - Key to the target entry.
- Adom string
- Adom. This value is valid only when the
scopetype
isadom
, otherwise the value of adom in the provider will be inherited. - Packages
Firewall stringLocalinpolicy Move Id - an identifier for the resource with format {{policyid}}.
- Pkg
Folder stringPath - Pkg Folder Path.
- Scopetype string
- The scope of application of the resource. Valid values:
inherit
,adom
. Theinherit
means 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 Policy This property is required. string - Local In Policy.
- Option
This property is required. string - Option. Valid values:
before
,after
. - Pkg
This property is required. string - Package.
- Target
This property is required. string - Key to the target entry.
- Adom string
- Adom. This value is valid only when the
scopetype
isadom
, otherwise the value of adom in the provider will be inherited. - Packages
Firewall stringLocalinpolicy Move Id - an identifier for the resource with format {{policyid}}.
- Pkg
Folder stringPath - Pkg Folder Path.
- Scopetype string
- The scope of application of the resource. Valid values:
inherit
,adom
. Theinherit
means 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 Policy This property is required. String - Local In Policy.
- option
This property is required. String - Option. Valid values:
before
,after
. - pkg
This property is required. String - Package.
- target
This property is required. String - Key to the target entry.
- adom String
- Adom. This value is valid only when the
scopetype
isadom
, otherwise the value of adom in the provider will be inherited. - packages
Firewall StringLocalinpolicy Move Id - an identifier for the resource with format {{policyid}}.
- pkg
Folder StringPath - Pkg Folder Path.
- scopetype String
- The scope of application of the resource. Valid values:
inherit
,adom
. Theinherit
means 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 Policy This property is required. string - Local In Policy.
- option
This property is required. string - Option. Valid values:
before
,after
. - pkg
This property is required. string - Package.
- target
This property is required. string - Key to the target entry.
- adom string
- Adom. This value is valid only when the
scopetype
isadom
, otherwise the value of adom in the provider will be inherited. - packages
Firewall stringLocalinpolicy Move Id - an identifier for the resource with format {{policyid}}.
- pkg
Folder stringPath - Pkg Folder Path.
- scopetype string
- The scope of application of the resource. Valid values:
inherit
,adom
. Theinherit
means 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_ policy This property is required. str - Local In Policy.
- option
This property is required. str - Option. Valid values:
before
,after
. - pkg
This property is required. str - Package.
- target
This property is required. str - Key to the target entry.
- adom str
- Adom. This value is valid only when the
scopetype
isadom
, otherwise the value of adom in the provider will be inherited. - packages_
firewall_ strlocalinpolicy_ move_ id - an identifier for the resource with format {{policyid}}.
- pkg_
folder_ strpath - Pkg Folder Path.
- scopetype str
- The scope of application of the resource. Valid values:
inherit
,adom
. Theinherit
means 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 Policy This property is required. String - Local In Policy.
- option
This property is required. String - Option. Valid values:
before
,after
. - pkg
This property is required. String - Package.
- target
This property is required. String - Key to the target entry.
- adom String
- Adom. This value is valid only when the
scopetype
isadom
, otherwise the value of adom in the provider will be inherited. - packages
Firewall StringLocalinpolicy Move Id - an identifier for the resource with format {{policyid}}.
- pkg
Folder StringPath - Pkg Folder Path.
- scopetype String
- The scope of application of the resource. Valid values:
inherit
,adom
. Theinherit
means 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 PackagesFirewallLocalinpolicyMove 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 PackagesFirewallLocalinpolicyMove Resource
Get an existing PackagesFirewallLocalinpolicyMove 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?: PackagesFirewallLocalinpolicyMoveState, opts?: CustomResourceOptions): PackagesFirewallLocalinpolicyMove
@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_firewall_localinpolicy_move_id: Optional[str] = None,
pkg: Optional[str] = None,
pkg_folder_path: Optional[str] = None,
scopetype: Optional[str] = None,
state_pos: Optional[str] = None,
target: Optional[str] = None) -> PackagesFirewallLocalinpolicyMove
func GetPackagesFirewallLocalinpolicyMove(ctx *Context, name string, id IDInput, state *PackagesFirewallLocalinpolicyMoveState, opts ...ResourceOption) (*PackagesFirewallLocalinpolicyMove, error)
public static PackagesFirewallLocalinpolicyMove Get(string name, Input<string> id, PackagesFirewallLocalinpolicyMoveState? state, CustomResourceOptions? opts = null)
public static PackagesFirewallLocalinpolicyMove get(String name, Output<String> id, PackagesFirewallLocalinpolicyMoveState state, CustomResourceOptions options)
resources: _: type: fortimanager:PackagesFirewallLocalinpolicyMove 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.
- Adom string
- Adom. This value is valid only when the
scopetype
isadom
, otherwise the value of adom in the provider will be inherited. - Local
In stringPolicy - Local In Policy.
- Option string
- Option. Valid values:
before
,after
. - Packages
Firewall stringLocalinpolicy Move Id - an identifier for the resource with format {{policyid}}.
- Pkg string
- Package.
- Pkg
Folder stringPath - Pkg Folder Path.
- Scopetype string
- The scope of application of the resource. Valid values:
inherit
,adom
. Theinherit
means 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
scopetype
isadom
, otherwise the value of adom in the provider will be inherited. - Local
In stringPolicy - Local In Policy.
- Option string
- Option. Valid values:
before
,after
. - Packages
Firewall stringLocalinpolicy Move Id - an identifier for the resource with format {{policyid}}.
- Pkg string
- Package.
- Pkg
Folder stringPath - Pkg Folder Path.
- Scopetype string
- The scope of application of the resource. Valid values:
inherit
,adom
. Theinherit
means 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
scopetype
isadom
, otherwise the value of adom in the provider will be inherited. - local
In StringPolicy - Local In Policy.
- option String
- Option. Valid values:
before
,after
. - packages
Firewall StringLocalinpolicy Move Id - an identifier for the resource with format {{policyid}}.
- pkg String
- Package.
- pkg
Folder StringPath - Pkg Folder Path.
- scopetype String
- The scope of application of the resource. Valid values:
inherit
,adom
. Theinherit
means 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
scopetype
isadom
, otherwise the value of adom in the provider will be inherited. - local
In stringPolicy - Local In Policy.
- option string
- Option. Valid values:
before
,after
. - packages
Firewall stringLocalinpolicy Move Id - an identifier for the resource with format {{policyid}}.
- pkg string
- Package.
- pkg
Folder stringPath - Pkg Folder Path.
- scopetype string
- The scope of application of the resource. Valid values:
inherit
,adom
. Theinherit
means 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
scopetype
isadom
, otherwise the value of adom in the provider will be inherited. - local_
in_ strpolicy - Local In Policy.
- option str
- Option. Valid values:
before
,after
. - packages_
firewall_ strlocalinpolicy_ move_ id - an identifier for the resource with format {{policyid}}.
- pkg str
- Package.
- pkg_
folder_ strpath - Pkg Folder Path.
- scopetype str
- The scope of application of the resource. Valid values:
inherit
,adom
. Theinherit
means 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
scopetype
isadom
, otherwise the value of adom in the provider will be inherited. - local
In StringPolicy - Local In Policy.
- option String
- Option. Valid values:
before
,after
. - packages
Firewall StringLocalinpolicy Move Id - an identifier for the resource with format {{policyid}}.
- pkg String
- Package.
- pkg
Folder StringPath - Pkg Folder Path.
- scopetype String
- The scope of application of the resource. Valid values:
inherit
,adom
. Theinherit
means 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
fortimanager
Terraform Provider.