1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. ObjectDlpLabelEntries
fortimanager 1.15.0 published on Thursday, Nov 13, 2025 by fortinetdev
fortimanager logo
fortimanager 1.15.0 published on Thursday, Nov 13, 2025 by fortinetdev

    DLP label entries.

    This resource is a sub resource for variable entries of resource fortimanager.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 scopetype is adom, otherwise the value of adom in the provider will be inherited.
    FortidataLabelName string
    Name of FortiData label
    Fosid double
    ID.
    Guid string
    MPIP label guid.
    MpipLabelName string
    Name of MPIP label.
    ObjectDlpLabelEntriesId 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.
    Label string
    Label.
    Adom string
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    FortidataLabelName string
    Name of FortiData label
    Fosid float64
    ID.
    Guid string
    MPIP label guid.
    MpipLabelName string
    Name of MPIP label.
    ObjectDlpLabelEntriesId 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.
    label String
    Label.
    adom String
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    fortidataLabelName String
    Name of FortiData label
    fosid Double
    ID.
    guid String
    MPIP label guid.
    mpipLabelName String
    Name of MPIP label.
    objectDlpLabelEntriesId 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.
    label string
    Label.
    adom string
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    fortidataLabelName string
    Name of FortiData label
    fosid number
    ID.
    guid string
    MPIP label guid.
    mpipLabelName string
    Name of MPIP label.
    objectDlpLabelEntriesId 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.
    label str
    Label.
    adom str
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    fortidata_label_name str
    Name of FortiData label
    fosid float
    ID.
    guid str
    MPIP label guid.
    mpip_label_name str
    Name of MPIP label.
    object_dlp_label_entries_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.
    label String
    Label.
    adom String
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    fortidataLabelName String
    Name of FortiData label
    fosid Number
    ID.
    guid String
    MPIP label guid.
    mpipLabelName String
    Name of MPIP label.
    objectDlpLabelEntriesId 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.

    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) -> ObjectDlpLabelEntries
    func 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.
    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.
    FortidataLabelName string
    Name of FortiData label
    Fosid double
    ID.
    Guid string
    MPIP label guid.
    Label string
    Label.
    MpipLabelName string
    Name of MPIP label.
    ObjectDlpLabelEntriesId 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.
    Adom string
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    FortidataLabelName string
    Name of FortiData label
    Fosid float64
    ID.
    Guid string
    MPIP label guid.
    Label string
    Label.
    MpipLabelName string
    Name of MPIP label.
    ObjectDlpLabelEntriesId 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.
    adom String
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    fortidataLabelName String
    Name of FortiData label
    fosid Double
    ID.
    guid String
    MPIP label guid.
    label String
    Label.
    mpipLabelName String
    Name of MPIP label.
    objectDlpLabelEntriesId 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.
    adom string
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    fortidataLabelName string
    Name of FortiData label
    fosid number
    ID.
    guid string
    MPIP label guid.
    label string
    Label.
    mpipLabelName string
    Name of MPIP label.
    objectDlpLabelEntriesId 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.
    adom str
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    fortidata_label_name str
    Name of FortiData label
    fosid float
    ID.
    guid str
    MPIP label guid.
    label str
    Label.
    mpip_label_name str
    Name of MPIP label.
    object_dlp_label_entries_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.
    adom String
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    fortidataLabelName String
    Name of FortiData label
    fosid Number
    ID.
    guid String
    MPIP label guid.
    label String
    Label.
    mpipLabelName String
    Name of MPIP label.
    objectDlpLabelEntriesId 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.

    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 fortimanager Terraform Provider.
    fortimanager logo
    fortimanager 1.15.0 published on Thursday, Nov 13, 2025 by fortinetdev
      Meet Neo: Your AI Platform Teammate