1. Packages
  2. InfluxDB
  3. API Docs
  4. getLabel
InfluxDB v1.5.0 published on Wednesday, Jul 2, 2025 by komminarlabs

influxdb.getLabel

Explore with Pulumi AI

influxdb logo
InfluxDB v1.5.0 published on Wednesday, Jul 2, 2025 by komminarlabs

    Retrieves a label with label ID.

    Using getLabel

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getLabel(args: GetLabelArgs, opts?: InvokeOptions): Promise<GetLabelResult>
    function getLabelOutput(args: GetLabelOutputArgs, opts?: InvokeOptions): Output<GetLabelResult>
    def get_label(id: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetLabelResult
    def get_label_output(id: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetLabelResult]
    func LookupLabel(ctx *Context, args *LookupLabelArgs, opts ...InvokeOption) (*LookupLabelResult, error)
    func LookupLabelOutput(ctx *Context, args *LookupLabelOutputArgs, opts ...InvokeOption) LookupLabelResultOutput

    > Note: This function is named LookupLabel in the Go SDK.

    public static class GetLabel 
    {
        public static Task<GetLabelResult> InvokeAsync(GetLabelArgs args, InvokeOptions? opts = null)
        public static Output<GetLabelResult> Invoke(GetLabelInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetLabelResult> getLabel(GetLabelArgs args, InvokeOptions options)
    public static Output<GetLabelResult> getLabel(GetLabelArgs args, InvokeOptions options)
    
    fn::invoke:
      function: influxdb:index/getLabel:getLabel
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The label ID.
    Id string
    The label ID.
    id String
    The label ID.
    id string
    The label ID.
    id str
    The label ID.
    id String
    The label ID.

    getLabel Result

    The following output properties are available:

    Id string
    The label ID.
    Name string
    The label name.
    OrgId string
    The organization ID.
    Properties Dictionary<string, string>
    The key-value pairs associated with this label.
    Id string
    The label ID.
    Name string
    The label name.
    OrgId string
    The organization ID.
    Properties map[string]string
    The key-value pairs associated with this label.
    id String
    The label ID.
    name String
    The label name.
    orgId String
    The organization ID.
    properties Map<String,String>
    The key-value pairs associated with this label.
    id string
    The label ID.
    name string
    The label name.
    orgId string
    The organization ID.
    properties {[key: string]: string}
    The key-value pairs associated with this label.
    id str
    The label ID.
    name str
    The label name.
    org_id str
    The organization ID.
    properties Mapping[str, str]
    The key-value pairs associated with this label.
    id String
    The label ID.
    name String
    The label name.
    orgId String
    The organization ID.
    properties Map<String>
    The key-value pairs associated with this label.

    Package Details

    Repository
    influxdb komminarlabs/pulumi-influxdb
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the influxdb Terraform Provider.
    influxdb logo
    InfluxDB v1.5.0 published on Wednesday, Jul 2, 2025 by komminarlabs