DLP label entries.
This resource is a sub resource for variable
entriesof resourcefortimanager.ObjectDlpLabel. Conflict and overwrite may occur if use both of them.
Create ObjectDlpLabelEntries Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ObjectDlpLabelEntries(name: string, args: ObjectDlpLabelEntriesArgs, opts?: CustomResourceOptions);@overload
def ObjectDlpLabelEntries(resource_name: str,
args: ObjectDlpLabelEntriesArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ObjectDlpLabelEntries(resource_name: str,
opts: Optional[ResourceOptions] = None,
label: Optional[str] = None,
adom: Optional[str] = None,
fortidata_label_name: Optional[str] = None,
fosid: Optional[float] = None,
guid: Optional[str] = None,
mpip_label_name: Optional[str] = None,
object_dlp_label_entries_id: Optional[str] = None,
scopetype: Optional[str] = None)func NewObjectDlpLabelEntries(ctx *Context, name string, args ObjectDlpLabelEntriesArgs, opts ...ResourceOption) (*ObjectDlpLabelEntries, error)public ObjectDlpLabelEntries(string name, ObjectDlpLabelEntriesArgs args, CustomResourceOptions? opts = null)
public ObjectDlpLabelEntries(String name, ObjectDlpLabelEntriesArgs args)
public ObjectDlpLabelEntries(String name, ObjectDlpLabelEntriesArgs args, CustomResourceOptions options)
type: fortimanager:ObjectDlpLabelEntries
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 ObjectDlpLabelEntriesArgs
- 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 ObjectDlpLabelEntriesArgs
- 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 ObjectDlpLabelEntriesArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ObjectDlpLabelEntriesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ObjectDlpLabelEntriesArgs
- 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 objectDlpLabelEntriesResource = new Fortimanager.ObjectDlpLabelEntries("objectDlpLabelEntriesResource", new()
{
Label = "string",
Adom = "string",
FortidataLabelName = "string",
Fosid = 0,
Guid = "string",
MpipLabelName = "string",
ObjectDlpLabelEntriesId = "string",
Scopetype = "string",
});
example, err := fortimanager.NewObjectDlpLabelEntries(ctx, "objectDlpLabelEntriesResource", &fortimanager.ObjectDlpLabelEntriesArgs{
Label: pulumi.String("string"),
Adom: pulumi.String("string"),
FortidataLabelName: pulumi.String("string"),
Fosid: pulumi.Float64(0),
Guid: pulumi.String("string"),
MpipLabelName: pulumi.String("string"),
ObjectDlpLabelEntriesId: pulumi.String("string"),
Scopetype: pulumi.String("string"),
})
var objectDlpLabelEntriesResource = new ObjectDlpLabelEntries("objectDlpLabelEntriesResource", ObjectDlpLabelEntriesArgs.builder()
.label("string")
.adom("string")
.fortidataLabelName("string")
.fosid(0.0)
.guid("string")
.mpipLabelName("string")
.objectDlpLabelEntriesId("string")
.scopetype("string")
.build());
object_dlp_label_entries_resource = fortimanager.ObjectDlpLabelEntries("objectDlpLabelEntriesResource",
label="string",
adom="string",
fortidata_label_name="string",
fosid=0,
guid="string",
mpip_label_name="string",
object_dlp_label_entries_id="string",
scopetype="string")
const objectDlpLabelEntriesResource = new fortimanager.ObjectDlpLabelEntries("objectDlpLabelEntriesResource", {
label: "string",
adom: "string",
fortidataLabelName: "string",
fosid: 0,
guid: "string",
mpipLabelName: "string",
objectDlpLabelEntriesId: "string",
scopetype: "string",
});
type: fortimanager:ObjectDlpLabelEntries
properties:
adom: string
fortidataLabelName: string
fosid: 0
guid: string
label: string
mpipLabelName: string
objectDlpLabelEntriesId: string
scopetype: string
ObjectDlpLabelEntries 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 ObjectDlpLabelEntries resource accepts the following input properties:
- Label string
- Label.
- Adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - Fortidata
Label stringName - Name of FortiData label
- Fosid double
- ID.
- Guid string
- MPIP label guid.
- Mpip
Label stringName - Name of MPIP label.
- Object
Dlp stringLabel Entries 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.
- Label string
- Label.
- Adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - Fortidata
Label stringName - Name of FortiData label
- Fosid float64
- ID.
- Guid string
- MPIP label guid.
- Mpip
Label stringName - Name of MPIP label.
- Object
Dlp stringLabel Entries 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.
- label String
- Label.
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - fortidata
Label StringName - Name of FortiData label
- fosid Double
- ID.
- guid String
- MPIP label guid.
- mpip
Label StringName - Name of MPIP label.
- object
Dlp StringLabel Entries 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.
- label string
- Label.
- adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - fortidata
Label stringName - Name of FortiData label
- fosid number
- ID.
- guid string
- MPIP label guid.
- mpip
Label stringName - Name of MPIP label.
- object
Dlp stringLabel Entries 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.
- label str
- Label.
- adom str
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - fortidata_
label_ strname - Name of FortiData label
- fosid float
- ID.
- guid str
- MPIP label guid.
- mpip_
label_ strname - Name of MPIP label.
- object_
dlp_ strlabel_ entries_ 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.
- label String
- Label.
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - fortidata
Label StringName - Name of FortiData label
- fosid Number
- ID.
- guid String
- MPIP label guid.
- mpip
Label StringName - Name of MPIP label.
- object
Dlp StringLabel Entries 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the ObjectDlpLabelEntries 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 ObjectDlpLabelEntries Resource
Get an existing ObjectDlpLabelEntries 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?: ObjectDlpLabelEntriesState, opts?: CustomResourceOptions): ObjectDlpLabelEntries@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
adom: Optional[str] = None,
fortidata_label_name: Optional[str] = None,
fosid: Optional[float] = None,
guid: Optional[str] = None,
label: Optional[str] = None,
mpip_label_name: Optional[str] = None,
object_dlp_label_entries_id: Optional[str] = None,
scopetype: Optional[str] = None) -> ObjectDlpLabelEntriesfunc GetObjectDlpLabelEntries(ctx *Context, name string, id IDInput, state *ObjectDlpLabelEntriesState, opts ...ResourceOption) (*ObjectDlpLabelEntries, error)public static ObjectDlpLabelEntries Get(string name, Input<string> id, ObjectDlpLabelEntriesState? state, CustomResourceOptions? opts = null)public static ObjectDlpLabelEntries get(String name, Output<String> id, ObjectDlpLabelEntriesState state, CustomResourceOptions options)resources: _: type: fortimanager:ObjectDlpLabelEntries 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. - Fortidata
Label stringName - Name of FortiData label
- Fosid double
- ID.
- Guid string
- MPIP label guid.
- Label string
- Label.
- Mpip
Label stringName - Name of MPIP label.
- Object
Dlp stringLabel Entries 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.
- Adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - Fortidata
Label stringName - Name of FortiData label
- Fosid float64
- ID.
- Guid string
- MPIP label guid.
- Label string
- Label.
- Mpip
Label stringName - Name of MPIP label.
- Object
Dlp stringLabel Entries 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.
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - fortidata
Label StringName - Name of FortiData label
- fosid Double
- ID.
- guid String
- MPIP label guid.
- label String
- Label.
- mpip
Label StringName - Name of MPIP label.
- object
Dlp StringLabel Entries 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.
- adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - fortidata
Label stringName - Name of FortiData label
- fosid number
- ID.
- guid string
- MPIP label guid.
- label string
- Label.
- mpip
Label stringName - Name of MPIP label.
- object
Dlp stringLabel Entries 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.
- adom str
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - fortidata_
label_ strname - Name of FortiData label
- fosid float
- ID.
- guid str
- MPIP label guid.
- label str
- Label.
- mpip_
label_ strname - Name of MPIP label.
- object_
dlp_ strlabel_ entries_ 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.
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - fortidata
Label StringName - Name of FortiData label
- fosid Number
- ID.
- guid String
- MPIP label guid.
- label String
- Label.
- mpip
Label StringName - Name of MPIP label.
- object
Dlp StringLabel Entries 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.
Import
ObjectDlp LabelEntries can be imported using any of these accepted formats:
Set import_options = [“label=YOUR_VALUE”] in the provider section.
$ export “FORTIMANAGER_IMPORT_TABLE”=“true”
$ pulumi import fortimanager:index/objectDlpLabelEntries:ObjectDlpLabelEntries labelname {{fosid}}
$ unset “FORTIMANAGER_IMPORT_TABLE”
-> Hint: The scopetype and adom for import will directly inherit the scopetype and adom configuration of the provider.
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- fortimanager fortinetdev/terraform-provider-fortimanager
- License
- Notes
- This Pulumi package is based on the
fortimanagerTerraform Provider.
