1. Packages
  2. Formal Provider
  3. API Docs
  4. InventoryObjectDataLabelLink
Formal v1.0.3 published on Monday, Aug 18, 2025 by Formal

formal.InventoryObjectDataLabelLink

Explore with Pulumi AI

formal logo
Formal v1.0.3 published on Monday, Aug 18, 2025 by Formal

    Registering a Data Label with Formal.

    Create InventoryObjectDataLabelLink Resource

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

    Constructor syntax

    new InventoryObjectDataLabelLink(name: string, args: InventoryObjectDataLabelLinkArgs, opts?: CustomResourceOptions);
    @overload
    def InventoryObjectDataLabelLink(resource_name: str,
                                     args: InventoryObjectDataLabelLinkArgs,
                                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def InventoryObjectDataLabelLink(resource_name: str,
                                     opts: Optional[ResourceOptions] = None,
                                     data_label: Optional[str] = None,
                                     locked: Optional[bool] = None,
                                     path: Optional[str] = None,
                                     resource_id: Optional[str] = None)
    func NewInventoryObjectDataLabelLink(ctx *Context, name string, args InventoryObjectDataLabelLinkArgs, opts ...ResourceOption) (*InventoryObjectDataLabelLink, error)
    public InventoryObjectDataLabelLink(string name, InventoryObjectDataLabelLinkArgs args, CustomResourceOptions? opts = null)
    public InventoryObjectDataLabelLink(String name, InventoryObjectDataLabelLinkArgs args)
    public InventoryObjectDataLabelLink(String name, InventoryObjectDataLabelLinkArgs args, CustomResourceOptions options)
    
    type: formal:InventoryObjectDataLabelLink
    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 InventoryObjectDataLabelLinkArgs
    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 InventoryObjectDataLabelLinkArgs
    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 InventoryObjectDataLabelLinkArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args InventoryObjectDataLabelLinkArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args InventoryObjectDataLabelLinkArgs
    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 inventoryObjectDataLabelLinkResource = new Pulumi.InventoryObjectDataLabelLink("inventoryObjectDataLabelLinkResource", new()
    {
        DataLabel = "string",
        Locked = false,
        Path = "string",
        ResourceId = "string",
    });
    
    example, err := formal.NewInventoryObjectDataLabelLink(ctx, "inventoryObjectDataLabelLinkResource", &formal.InventoryObjectDataLabelLinkArgs{
    	DataLabel:  pulumi.String("string"),
    	Locked:     pulumi.Bool(false),
    	Path:       pulumi.String("string"),
    	ResourceId: pulumi.String("string"),
    })
    
    var inventoryObjectDataLabelLinkResource = new InventoryObjectDataLabelLink("inventoryObjectDataLabelLinkResource", InventoryObjectDataLabelLinkArgs.builder()
        .dataLabel("string")
        .locked(false)
        .path("string")
        .resourceId("string")
        .build());
    
    inventory_object_data_label_link_resource = formal.InventoryObjectDataLabelLink("inventoryObjectDataLabelLinkResource",
        data_label="string",
        locked=False,
        path="string",
        resource_id="string")
    
    const inventoryObjectDataLabelLinkResource = new formal.InventoryObjectDataLabelLink("inventoryObjectDataLabelLinkResource", {
        dataLabel: "string",
        locked: false,
        path: "string",
        resourceId: "string",
    });
    
    type: formal:InventoryObjectDataLabelLink
    properties:
        dataLabel: string
        locked: false
        path: string
        resourceId: string
    

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

    DataLabel string
    Data label to link to the inventory object.
    Locked bool
    Whether the inventory object is locked.
    Path string
    Path of the inventory object.
    ResourceId string
    Resource ID to which the inventory object belongs.
    DataLabel string
    Data label to link to the inventory object.
    Locked bool
    Whether the inventory object is locked.
    Path string
    Path of the inventory object.
    ResourceId string
    Resource ID to which the inventory object belongs.
    dataLabel String
    Data label to link to the inventory object.
    locked Boolean
    Whether the inventory object is locked.
    path String
    Path of the inventory object.
    resourceId String
    Resource ID to which the inventory object belongs.
    dataLabel string
    Data label to link to the inventory object.
    locked boolean
    Whether the inventory object is locked.
    path string
    Path of the inventory object.
    resourceId string
    Resource ID to which the inventory object belongs.
    data_label str
    Data label to link to the inventory object.
    locked bool
    Whether the inventory object is locked.
    path str
    Path of the inventory object.
    resource_id str
    Resource ID to which the inventory object belongs.
    dataLabel String
    Data label to link to the inventory object.
    locked Boolean
    Whether the inventory object is locked.
    path String
    Path of the inventory object.
    resourceId String
    Resource ID to which the inventory object belongs.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the InventoryObjectDataLabelLink 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 InventoryObjectDataLabelLink Resource

    Get an existing InventoryObjectDataLabelLink 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?: InventoryObjectDataLabelLinkState, opts?: CustomResourceOptions): InventoryObjectDataLabelLink
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            data_label: Optional[str] = None,
            locked: Optional[bool] = None,
            path: Optional[str] = None,
            resource_id: Optional[str] = None) -> InventoryObjectDataLabelLink
    func GetInventoryObjectDataLabelLink(ctx *Context, name string, id IDInput, state *InventoryObjectDataLabelLinkState, opts ...ResourceOption) (*InventoryObjectDataLabelLink, error)
    public static InventoryObjectDataLabelLink Get(string name, Input<string> id, InventoryObjectDataLabelLinkState? state, CustomResourceOptions? opts = null)
    public static InventoryObjectDataLabelLink get(String name, Output<String> id, InventoryObjectDataLabelLinkState state, CustomResourceOptions options)
    resources:  _:    type: formal:InventoryObjectDataLabelLink    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:
    DataLabel string
    Data label to link to the inventory object.
    Locked bool
    Whether the inventory object is locked.
    Path string
    Path of the inventory object.
    ResourceId string
    Resource ID to which the inventory object belongs.
    DataLabel string
    Data label to link to the inventory object.
    Locked bool
    Whether the inventory object is locked.
    Path string
    Path of the inventory object.
    ResourceId string
    Resource ID to which the inventory object belongs.
    dataLabel String
    Data label to link to the inventory object.
    locked Boolean
    Whether the inventory object is locked.
    path String
    Path of the inventory object.
    resourceId String
    Resource ID to which the inventory object belongs.
    dataLabel string
    Data label to link to the inventory object.
    locked boolean
    Whether the inventory object is locked.
    path string
    Path of the inventory object.
    resourceId string
    Resource ID to which the inventory object belongs.
    data_label str
    Data label to link to the inventory object.
    locked bool
    Whether the inventory object is locked.
    path str
    Path of the inventory object.
    resource_id str
    Resource ID to which the inventory object belongs.
    dataLabel String
    Data label to link to the inventory object.
    locked Boolean
    Whether the inventory object is locked.
    path String
    Path of the inventory object.
    resourceId String
    Resource ID to which the inventory object belongs.

    Package Details

    Repository
    formal formalco/pulumi-formal
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the formal Terraform Provider.
    formal logo
    Formal v1.0.3 published on Monday, Aug 18, 2025 by Formal
      AI Agentic Workflows: Register now