Create ObjectDlpLabelEntriesMove Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ObjectDlpLabelEntriesMove(name: string, args: ObjectDlpLabelEntriesMoveArgs, opts?: CustomResourceOptions);@overload
def ObjectDlpLabelEntriesMove(resource_name: str,
args: ObjectDlpLabelEntriesMoveArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ObjectDlpLabelEntriesMove(resource_name: str,
opts: Optional[ResourceOptions] = None,
entries: Optional[str] = None,
label: Optional[str] = None,
option: Optional[str] = None,
target: Optional[str] = None,
adom: Optional[str] = None,
object_dlp_label_entries_move_id: Optional[str] = None,
scopetype: Optional[str] = None,
state_pos: Optional[str] = None)func NewObjectDlpLabelEntriesMove(ctx *Context, name string, args ObjectDlpLabelEntriesMoveArgs, opts ...ResourceOption) (*ObjectDlpLabelEntriesMove, error)public ObjectDlpLabelEntriesMove(string name, ObjectDlpLabelEntriesMoveArgs args, CustomResourceOptions? opts = null)
public ObjectDlpLabelEntriesMove(String name, ObjectDlpLabelEntriesMoveArgs args)
public ObjectDlpLabelEntriesMove(String name, ObjectDlpLabelEntriesMoveArgs args, CustomResourceOptions options)
type: fortimanager:ObjectDlpLabelEntriesMove
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 ObjectDlpLabelEntriesMoveArgs
- 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 ObjectDlpLabelEntriesMoveArgs
- 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 ObjectDlpLabelEntriesMoveArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ObjectDlpLabelEntriesMoveArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ObjectDlpLabelEntriesMoveArgs
- 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 objectDlpLabelEntriesMoveResource = new Fortimanager.ObjectDlpLabelEntriesMove("objectDlpLabelEntriesMoveResource", new()
{
Entries = "string",
Label = "string",
Option = "string",
Target = "string",
Adom = "string",
ObjectDlpLabelEntriesMoveId = "string",
Scopetype = "string",
StatePos = "string",
});
example, err := fortimanager.NewObjectDlpLabelEntriesMove(ctx, "objectDlpLabelEntriesMoveResource", &fortimanager.ObjectDlpLabelEntriesMoveArgs{
Entries: pulumi.String("string"),
Label: pulumi.String("string"),
Option: pulumi.String("string"),
Target: pulumi.String("string"),
Adom: pulumi.String("string"),
ObjectDlpLabelEntriesMoveId: pulumi.String("string"),
Scopetype: pulumi.String("string"),
StatePos: pulumi.String("string"),
})
var objectDlpLabelEntriesMoveResource = new ObjectDlpLabelEntriesMove("objectDlpLabelEntriesMoveResource", ObjectDlpLabelEntriesMoveArgs.builder()
.entries("string")
.label("string")
.option("string")
.target("string")
.adom("string")
.objectDlpLabelEntriesMoveId("string")
.scopetype("string")
.statePos("string")
.build());
object_dlp_label_entries_move_resource = fortimanager.ObjectDlpLabelEntriesMove("objectDlpLabelEntriesMoveResource",
entries="string",
label="string",
option="string",
target="string",
adom="string",
object_dlp_label_entries_move_id="string",
scopetype="string",
state_pos="string")
const objectDlpLabelEntriesMoveResource = new fortimanager.ObjectDlpLabelEntriesMove("objectDlpLabelEntriesMoveResource", {
entries: "string",
label: "string",
option: "string",
target: "string",
adom: "string",
objectDlpLabelEntriesMoveId: "string",
scopetype: "string",
statePos: "string",
});
type: fortimanager:ObjectDlpLabelEntriesMove
properties:
adom: string
entries: string
label: string
objectDlpLabelEntriesMoveId: string
option: string
scopetype: string
statePos: string
target: string
ObjectDlpLabelEntriesMove 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 ObjectDlpLabelEntriesMove resource accepts the following input properties:
- Entries string
- Entries.
- Label string
- Label.
- Option string
- Option. Valid values:
before,after. - 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. - Object
Dlp stringLabel Entries Move Id - an identifier for the resource with format {{fosid}}.
- Scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans 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.
- Entries string
- Entries.
- Label string
- Label.
- Option string
- Option. Valid values:
before,after. - 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. - Object
Dlp stringLabel Entries Move Id - an identifier for the resource with format {{fosid}}.
- Scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans 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.
- entries String
- Entries.
- label String
- Label.
- option String
- Option. Valid values:
before,after. - 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. - object
Dlp StringLabel Entries Move Id - an identifier for the resource with format {{fosid}}.
- scopetype String
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans 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.
- entries string
- Entries.
- label string
- Label.
- option string
- Option. Valid values:
before,after. - 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. - object
Dlp stringLabel Entries Move Id - an identifier for the resource with format {{fosid}}.
- scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans 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.
- entries str
- Entries.
- label str
- Label.
- option str
- Option. Valid values:
before,after. - 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. - object_
dlp_ strlabel_ entries_ move_ id - an identifier for the resource with format {{fosid}}.
- scopetype str
- The scope of application of the resource. Valid values:
inherit,adom,global. 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.
- entries String
- Entries.
- label String
- Label.
- option String
- Option. Valid values:
before,after. - 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. - object
Dlp StringLabel Entries Move Id - an identifier for the resource with format {{fosid}}.
- scopetype String
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans 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 ObjectDlpLabelEntriesMove 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 ObjectDlpLabelEntriesMove Resource
Get an existing ObjectDlpLabelEntriesMove 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?: ObjectDlpLabelEntriesMoveState, opts?: CustomResourceOptions): ObjectDlpLabelEntriesMove@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
adom: Optional[str] = None,
entries: Optional[str] = None,
label: Optional[str] = None,
object_dlp_label_entries_move_id: Optional[str] = None,
option: Optional[str] = None,
scopetype: Optional[str] = None,
state_pos: Optional[str] = None,
target: Optional[str] = None) -> ObjectDlpLabelEntriesMovefunc GetObjectDlpLabelEntriesMove(ctx *Context, name string, id IDInput, state *ObjectDlpLabelEntriesMoveState, opts ...ResourceOption) (*ObjectDlpLabelEntriesMove, error)public static ObjectDlpLabelEntriesMove Get(string name, Input<string> id, ObjectDlpLabelEntriesMoveState? state, CustomResourceOptions? opts = null)public static ObjectDlpLabelEntriesMove get(String name, Output<String> id, ObjectDlpLabelEntriesMoveState state, CustomResourceOptions options)resources: _: type: fortimanager:ObjectDlpLabelEntriesMove 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. - Entries string
- Entries.
- Label string
- Label.
- Object
Dlp stringLabel Entries Move Id - an identifier for the resource with format {{fosid}}.
- Option string
- Option. Valid values:
before,after. - Scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans 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
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - Entries string
- Entries.
- Label string
- Label.
- Object
Dlp stringLabel Entries Move Id - an identifier for the resource with format {{fosid}}.
- Option string
- Option. Valid values:
before,after. - Scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans 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
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - entries String
- Entries.
- label String
- Label.
- object
Dlp StringLabel Entries Move Id - an identifier for the resource with format {{fosid}}.
- option String
- Option. Valid values:
before,after. - scopetype String
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans 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
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - entries string
- Entries.
- label string
- Label.
- object
Dlp stringLabel Entries Move Id - an identifier for the resource with format {{fosid}}.
- option string
- Option. Valid values:
before,after. - scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans 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
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - entries str
- Entries.
- label str
- Label.
- object_
dlp_ strlabel_ entries_ move_ id - an identifier for the resource with format {{fosid}}.
- option str
- Option. Valid values:
before,after. - scopetype str
- The scope of application of the resource. Valid values:
inherit,adom,global. 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. - entries String
- Entries.
- label String
- Label.
- object
Dlp StringLabel Entries Move Id - an identifier for the resource with format {{fosid}}.
- option String
- Option. Valid values:
before,after. - scopetype String
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans 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
fortimanagerTerraform Provider.
