1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. ObjectDlpProfileRuleMove
fortimanager 1.14.0 published on Tuesday, Apr 15, 2025 by fortinetdev

fortimanager.ObjectDlpProfileRuleMove

Explore with Pulumi AI

Create ObjectDlpProfileRuleMove Resource

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

Constructor syntax

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

@overload
def ObjectDlpProfileRuleMove(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             option: Optional[str] = None,
                             profile: Optional[str] = None,
                             rule: Optional[str] = None,
                             target: Optional[str] = None,
                             adom: Optional[str] = None,
                             object_dlp_profile_rule_move_id: Optional[str] = None,
                             scopetype: Optional[str] = None,
                             state_pos: Optional[str] = None)
func NewObjectDlpProfileRuleMove(ctx *Context, name string, args ObjectDlpProfileRuleMoveArgs, opts ...ResourceOption) (*ObjectDlpProfileRuleMove, error)
public ObjectDlpProfileRuleMove(string name, ObjectDlpProfileRuleMoveArgs args, CustomResourceOptions? opts = null)
public ObjectDlpProfileRuleMove(String name, ObjectDlpProfileRuleMoveArgs args)
public ObjectDlpProfileRuleMove(String name, ObjectDlpProfileRuleMoveArgs args, CustomResourceOptions options)
type: fortimanager:ObjectDlpProfileRuleMove
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. ObjectDlpProfileRuleMoveArgs
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. ObjectDlpProfileRuleMoveArgs
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. ObjectDlpProfileRuleMoveArgs
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. ObjectDlpProfileRuleMoveArgs
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. ObjectDlpProfileRuleMoveArgs
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 objectDlpProfileRuleMoveResource = new Fortimanager.ObjectDlpProfileRuleMove("objectDlpProfileRuleMoveResource", new()
{
    Option = "string",
    Profile = "string",
    Rule = "string",
    Target = "string",
    Adom = "string",
    ObjectDlpProfileRuleMoveId = "string",
    Scopetype = "string",
    StatePos = "string",
});
Copy
example, err := fortimanager.NewObjectDlpProfileRuleMove(ctx, "objectDlpProfileRuleMoveResource", &fortimanager.ObjectDlpProfileRuleMoveArgs{
	Option:                     pulumi.String("string"),
	Profile:                    pulumi.String("string"),
	Rule:                       pulumi.String("string"),
	Target:                     pulumi.String("string"),
	Adom:                       pulumi.String("string"),
	ObjectDlpProfileRuleMoveId: pulumi.String("string"),
	Scopetype:                  pulumi.String("string"),
	StatePos:                   pulumi.String("string"),
})
Copy
var objectDlpProfileRuleMoveResource = new ObjectDlpProfileRuleMove("objectDlpProfileRuleMoveResource", ObjectDlpProfileRuleMoveArgs.builder()
    .option("string")
    .profile("string")
    .rule("string")
    .target("string")
    .adom("string")
    .objectDlpProfileRuleMoveId("string")
    .scopetype("string")
    .statePos("string")
    .build());
Copy
object_dlp_profile_rule_move_resource = fortimanager.ObjectDlpProfileRuleMove("objectDlpProfileRuleMoveResource",
    option="string",
    profile="string",
    rule="string",
    target="string",
    adom="string",
    object_dlp_profile_rule_move_id="string",
    scopetype="string",
    state_pos="string")
Copy
const objectDlpProfileRuleMoveResource = new fortimanager.ObjectDlpProfileRuleMove("objectDlpProfileRuleMoveResource", {
    option: "string",
    profile: "string",
    rule: "string",
    target: "string",
    adom: "string",
    objectDlpProfileRuleMoveId: "string",
    scopetype: "string",
    statePos: "string",
});
Copy
type: fortimanager:ObjectDlpProfileRuleMove
properties:
    adom: string
    objectDlpProfileRuleMoveId: string
    option: string
    profile: string
    rule: string
    scopetype: string
    statePos: string
    target: string
Copy

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

Option This property is required. string
Option. Valid values: before, after.
Profile This property is required. string
Profile.
Rule This property is required. string
Rule.
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.
ObjectDlpProfileRuleMoveId string
an identifier for the resource with format {{fosid}}.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. 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.
Profile This property is required. string
Profile.
Rule This property is required. string
Rule.
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.
ObjectDlpProfileRuleMoveId string
an identifier for the resource with format {{fosid}}.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. 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.
profile This property is required. String
Profile.
rule This property is required. String
Rule.
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.
objectDlpProfileRuleMoveId String
an identifier for the resource with format {{fosid}}.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. 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.
profile This property is required. string
Profile.
rule This property is required. string
Rule.
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.
objectDlpProfileRuleMoveId string
an identifier for the resource with format {{fosid}}.
scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. 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.
profile This property is required. str
Profile.
rule This property is required. str
Rule.
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.
object_dlp_profile_rule_move_id str
an identifier for the resource with format {{fosid}}.
scopetype str
The scope of application of the resource. Valid values: inherit, adom, global. 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.
profile This property is required. String
Profile.
rule This property is required. String
Rule.
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.
objectDlpProfileRuleMoveId String
an identifier for the resource with format {{fosid}}.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. 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 ObjectDlpProfileRuleMove 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 ObjectDlpProfileRuleMove Resource

Get an existing ObjectDlpProfileRuleMove 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?: ObjectDlpProfileRuleMoveState, opts?: CustomResourceOptions): ObjectDlpProfileRuleMove
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        object_dlp_profile_rule_move_id: Optional[str] = None,
        option: Optional[str] = None,
        profile: Optional[str] = None,
        rule: Optional[str] = None,
        scopetype: Optional[str] = None,
        state_pos: Optional[str] = None,
        target: Optional[str] = None) -> ObjectDlpProfileRuleMove
func GetObjectDlpProfileRuleMove(ctx *Context, name string, id IDInput, state *ObjectDlpProfileRuleMoveState, opts ...ResourceOption) (*ObjectDlpProfileRuleMove, error)
public static ObjectDlpProfileRuleMove Get(string name, Input<string> id, ObjectDlpProfileRuleMoveState? state, CustomResourceOptions? opts = null)
public static ObjectDlpProfileRuleMove get(String name, Output<String> id, ObjectDlpProfileRuleMoveState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectDlpProfileRuleMove    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.
ObjectDlpProfileRuleMoveId string
an identifier for the resource with format {{fosid}}.
Option string
Option. Valid values: before, after.
Profile string
Profile.
Rule string
Rule.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. 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.
ObjectDlpProfileRuleMoveId string
an identifier for the resource with format {{fosid}}.
Option string
Option. Valid values: before, after.
Profile string
Profile.
Rule string
Rule.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. 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.
objectDlpProfileRuleMoveId String
an identifier for the resource with format {{fosid}}.
option String
Option. Valid values: before, after.
profile String
Profile.
rule String
Rule.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. 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.
objectDlpProfileRuleMoveId string
an identifier for the resource with format {{fosid}}.
option string
Option. Valid values: before, after.
profile string
Profile.
rule string
Rule.
scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. 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.
object_dlp_profile_rule_move_id str
an identifier for the resource with format {{fosid}}.
option str
Option. Valid values: before, after.
profile str
Profile.
rule str
Rule.
scopetype str
The scope of application of the resource. Valid values: inherit, adom, global. 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.
objectDlpProfileRuleMoveId String
an identifier for the resource with format {{fosid}}.
option String
Option. Valid values: before, after.
profile String
Profile.
rule String
Rule.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. 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.