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

influxdb.getLabels

Explore with Pulumi AI

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

    List all labels.

    Using getLabels

    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 getLabels(opts?: InvokeOptions): Promise<GetLabelsResult>
    function getLabelsOutput(opts?: InvokeOptions): Output<GetLabelsResult>
    def get_labels(opts: Optional[InvokeOptions] = None) -> GetLabelsResult
    def get_labels_output(opts: Optional[InvokeOptions] = None) -> Output[GetLabelsResult]
    func GetLabels(ctx *Context, opts ...InvokeOption) (*GetLabelsResult, error)
    func GetLabelsOutput(ctx *Context, opts ...InvokeOption) GetLabelsResultOutput

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

    public static class GetLabels 
    {
        public static Task<GetLabelsResult> InvokeAsync(InvokeOptions? opts = null)
        public static Output<GetLabelsResult> Invoke(InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetLabelsResult> getLabels(InvokeOptions options)
    public static Output<GetLabelsResult> getLabels(InvokeOptions options)
    
    fn::invoke:
      function: influxdb:index/getLabels:getLabels
      arguments:
        # arguments dictionary

    getLabels Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Labels List<KomminarLabs.InfluxDB.Outputs.GetLabelsLabel>
    Id string
    The provider-assigned unique ID for this managed resource.
    Labels []GetLabelsLabel
    id String
    The provider-assigned unique ID for this managed resource.
    labels List<GetLabelsLabel>
    id string
    The provider-assigned unique ID for this managed resource.
    labels GetLabelsLabel[]
    id str
    The provider-assigned unique ID for this managed resource.
    labels Sequence[GetLabelsLabel]
    id String
    The provider-assigned unique ID for this managed resource.
    labels List<Property Map>

    Supporting Types

    GetLabelsLabel

    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