1. Packages
  2. Strata Cloud Manager Provider
  3. API Docs
  4. getLabel
Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
scm logo
Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi

    Label data source

    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,
                  name: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetLabelResult
    def get_label_output(id: Optional[pulumi.Input[str]] = None,
                  name: 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: scm:index/getLabel:getLabel
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The UUID of the label
    Name string
    The name of the label
    Id string
    The UUID of the label
    Name string
    The name of the label
    id String
    The UUID of the label
    name String
    The name of the label
    id string
    The UUID of the label
    name string
    The name of the label
    id str
    The UUID of the label
    name str
    The name of the label
    id String
    The UUID of the label
    name String
    The name of the label

    getLabel Result

    The following output properties are available:

    Description string
    The description of the label
    Id string
    The UUID of the label
    Name string
    The name of the label
    Tfid string
    Description string
    The description of the label
    Id string
    The UUID of the label
    Name string
    The name of the label
    Tfid string
    description String
    The description of the label
    id String
    The UUID of the label
    name String
    The name of the label
    tfid String
    description string
    The description of the label
    id string
    The UUID of the label
    name string
    The name of the label
    tfid string
    description str
    The description of the label
    id str
    The UUID of the label
    name str
    The name of the label
    tfid str
    description String
    The description of the label
    id String
    The UUID of the label
    name String
    The name of the label
    tfid String

    Package Details

    Repository
    scm pulumi/pulumi-scm
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the scm Terraform Provider.
    scm logo
    Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate