fortimanager.PackagesUserNacpolicyMove
Create PackagesUserNacpolicyMove Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PackagesUserNacpolicyMove(name: string, args: PackagesUserNacpolicyMoveArgs, opts?: CustomResourceOptions);@overload
def PackagesUserNacpolicyMove(resource_name: str,
                              args: PackagesUserNacpolicyMoveArgs,
                              opts: Optional[ResourceOptions] = None)
@overload
def PackagesUserNacpolicyMove(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              nac_policy: Optional[str] = None,
                              option: Optional[str] = None,
                              pkg: Optional[str] = None,
                              target: Optional[str] = None,
                              adom: Optional[str] = None,
                              packages_user_nacpolicy_move_id: Optional[str] = None,
                              pkg_folder_path: Optional[str] = None,
                              scopetype: Optional[str] = None,
                              state_pos: Optional[str] = None)func NewPackagesUserNacpolicyMove(ctx *Context, name string, args PackagesUserNacpolicyMoveArgs, opts ...ResourceOption) (*PackagesUserNacpolicyMove, error)public PackagesUserNacpolicyMove(string name, PackagesUserNacpolicyMoveArgs args, CustomResourceOptions? opts = null)
public PackagesUserNacpolicyMove(String name, PackagesUserNacpolicyMoveArgs args)
public PackagesUserNacpolicyMove(String name, PackagesUserNacpolicyMoveArgs args, CustomResourceOptions options)
type: fortimanager:PackagesUserNacpolicyMove
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args PackagesUserNacpolicyMoveArgs
- 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 PackagesUserNacpolicyMoveArgs
- 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 PackagesUserNacpolicyMoveArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PackagesUserNacpolicyMoveArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PackagesUserNacpolicyMoveArgs
- 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 packagesUserNacpolicyMoveResource = new Fortimanager.PackagesUserNacpolicyMove("packagesUserNacpolicyMoveResource", new()
{
    NacPolicy = "string",
    Option = "string",
    Pkg = "string",
    Target = "string",
    Adom = "string",
    PackagesUserNacpolicyMoveId = "string",
    PkgFolderPath = "string",
    Scopetype = "string",
    StatePos = "string",
});
example, err := fortimanager.NewPackagesUserNacpolicyMove(ctx, "packagesUserNacpolicyMoveResource", &fortimanager.PackagesUserNacpolicyMoveArgs{
	NacPolicy:                   pulumi.String("string"),
	Option:                      pulumi.String("string"),
	Pkg:                         pulumi.String("string"),
	Target:                      pulumi.String("string"),
	Adom:                        pulumi.String("string"),
	PackagesUserNacpolicyMoveId: pulumi.String("string"),
	PkgFolderPath:               pulumi.String("string"),
	Scopetype:                   pulumi.String("string"),
	StatePos:                    pulumi.String("string"),
})
var packagesUserNacpolicyMoveResource = new PackagesUserNacpolicyMove("packagesUserNacpolicyMoveResource", PackagesUserNacpolicyMoveArgs.builder()
    .nacPolicy("string")
    .option("string")
    .pkg("string")
    .target("string")
    .adom("string")
    .packagesUserNacpolicyMoveId("string")
    .pkgFolderPath("string")
    .scopetype("string")
    .statePos("string")
    .build());
packages_user_nacpolicy_move_resource = fortimanager.PackagesUserNacpolicyMove("packagesUserNacpolicyMoveResource",
    nac_policy="string",
    option="string",
    pkg="string",
    target="string",
    adom="string",
    packages_user_nacpolicy_move_id="string",
    pkg_folder_path="string",
    scopetype="string",
    state_pos="string")
const packagesUserNacpolicyMoveResource = new fortimanager.PackagesUserNacpolicyMove("packagesUserNacpolicyMoveResource", {
    nacPolicy: "string",
    option: "string",
    pkg: "string",
    target: "string",
    adom: "string",
    packagesUserNacpolicyMoveId: "string",
    pkgFolderPath: "string",
    scopetype: "string",
    statePos: "string",
});
type: fortimanager:PackagesUserNacpolicyMove
properties:
    adom: string
    nacPolicy: string
    option: string
    packagesUserNacpolicyMoveId: string
    pkg: string
    pkgFolderPath: string
    scopetype: string
    statePos: string
    target: string
PackagesUserNacpolicyMove 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 PackagesUserNacpolicyMove resource accepts the following input properties:
- NacPolicy string
- Nac Policy.
- Option string
- Option. Valid values: before,after.
- Pkg string
- Package.
- Target string
- Key to the target entry.
- Adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- PackagesUser stringNacpolicy Move Id 
- an identifier for the resource with format {{name}}.
- PkgFolder stringPath 
- Pkg Folder Path.
- Scopetype string
- The scope of application of the resource. Valid values: inherit,adom. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- 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.
- NacPolicy string
- Nac Policy.
- Option string
- Option. Valid values: before,after.
- Pkg string
- Package.
- Target string
- Key to the target entry.
- Adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- PackagesUser stringNacpolicy Move Id 
- an identifier for the resource with format {{name}}.
- PkgFolder stringPath 
- Pkg Folder Path.
- Scopetype string
- The scope of application of the resource. Valid values: inherit,adom. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- 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.
- nacPolicy String
- Nac Policy.
- option String
- Option. Valid values: before,after.
- pkg String
- Package.
- target String
- Key to the target entry.
- adom String
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- packagesUser StringNacpolicy Move Id 
- an identifier for the resource with format {{name}}.
- pkgFolder StringPath 
- Pkg Folder Path.
- scopetype String
- The scope of application of the resource. Valid values: inherit,adom. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- 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.
- nacPolicy string
- Nac Policy.
- option string
- Option. Valid values: before,after.
- pkg string
- Package.
- target string
- Key to the target entry.
- adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- packagesUser stringNacpolicy Move Id 
- an identifier for the resource with format {{name}}.
- pkgFolder stringPath 
- Pkg Folder Path.
- scopetype string
- The scope of application of the resource. Valid values: inherit,adom. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- 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.
- nac_policy str
- Nac Policy.
- option str
- Option. Valid values: before,after.
- pkg str
- Package.
- target str
- Key to the target entry.
- adom str
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- packages_user_ strnacpolicy_ move_ id 
- an identifier for the resource with format {{name}}.
- pkg_folder_ strpath 
- Pkg Folder Path.
- scopetype str
- The scope of application of the resource. Valid values: inherit,adom. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- state_pos str
- The parameter is read-only, it is used to get the lastest relative position of the two items. This can help check whether the latest relative position of the two items matches the configuration, and help check whether they have been deleted. If the latest relative position of the two items matches the configuration, the value of state_pos is an empty string.
- nacPolicy String
- Nac Policy.
- option String
- Option. Valid values: before,after.
- pkg String
- Package.
- target String
- Key to the target entry.
- adom String
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- packagesUser StringNacpolicy Move Id 
- an identifier for the resource with format {{name}}.
- pkgFolder StringPath 
- Pkg Folder Path.
- scopetype String
- The scope of application of the resource. Valid values: inherit,adom. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- 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 PackagesUserNacpolicyMove 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 PackagesUserNacpolicyMove Resource
Get an existing PackagesUserNacpolicyMove 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?: PackagesUserNacpolicyMoveState, opts?: CustomResourceOptions): PackagesUserNacpolicyMove@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        nac_policy: Optional[str] = None,
        option: Optional[str] = None,
        packages_user_nacpolicy_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) -> PackagesUserNacpolicyMovefunc GetPackagesUserNacpolicyMove(ctx *Context, name string, id IDInput, state *PackagesUserNacpolicyMoveState, opts ...ResourceOption) (*PackagesUserNacpolicyMove, error)public static PackagesUserNacpolicyMove Get(string name, Input<string> id, PackagesUserNacpolicyMoveState? state, CustomResourceOptions? opts = null)public static PackagesUserNacpolicyMove get(String name, Output<String> id, PackagesUserNacpolicyMoveState state, CustomResourceOptions options)resources:  _:    type: fortimanager:PackagesUserNacpolicyMove    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- NacPolicy string
- Nac Policy.
- Option string
- Option. Valid values: before,after.
- PackagesUser stringNacpolicy Move Id 
- an identifier for the resource with format {{name}}.
- Pkg string
- Package.
- PkgFolder stringPath 
- Pkg Folder Path.
- Scopetype string
- The scope of application of the resource. Valid values: inherit,adom. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- 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 scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- NacPolicy string
- Nac Policy.
- Option string
- Option. Valid values: before,after.
- PackagesUser stringNacpolicy Move Id 
- an identifier for the resource with format {{name}}.
- Pkg string
- Package.
- PkgFolder stringPath 
- Pkg Folder Path.
- Scopetype string
- The scope of application of the resource. Valid values: inherit,adom. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- 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 scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- nacPolicy String
- Nac Policy.
- option String
- Option. Valid values: before,after.
- packagesUser StringNacpolicy Move Id 
- an identifier for the resource with format {{name}}.
- pkg String
- Package.
- pkgFolder StringPath 
- Pkg Folder Path.
- scopetype String
- The scope of application of the resource. Valid values: inherit,adom. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- 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 scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- nacPolicy string
- Nac Policy.
- option string
- Option. Valid values: before,after.
- packagesUser stringNacpolicy Move Id 
- an identifier for the resource with format {{name}}.
- pkg string
- Package.
- pkgFolder stringPath 
- Pkg Folder Path.
- scopetype string
- The scope of application of the resource. Valid values: inherit,adom. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- 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 scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- nac_policy str
- Nac Policy.
- option str
- Option. Valid values: before,after.
- packages_user_ strnacpolicy_ move_ id 
- an identifier for the resource with format {{name}}.
- pkg str
- Package.
- pkg_folder_ strpath 
- Pkg Folder Path.
- scopetype str
- The scope of application of the resource. Valid values: inherit,adom. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- state_pos str
- The parameter is read-only, it is used to get the lastest relative position of the two items. This can help check whether the latest relative position of the two items matches the configuration, and help check whether they have been deleted. If the latest relative position of the two items matches the configuration, the value of state_pos is an empty string.
- target str
- Key to the target entry.
- adom String
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- nacPolicy String
- Nac Policy.
- option String
- Option. Valid values: before,after.
- packagesUser StringNacpolicy Move Id 
- an identifier for the resource with format {{name}}.
- pkg String
- Package.
- pkgFolder StringPath 
- Pkg Folder Path.
- scopetype String
- The scope of application of the resource. Valid values: inherit,adom. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- 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 fortimanagerTerraform Provider.
