1. Registry
  2. Packages
  3. Sonarqube Provider
  4. API Docs
  5. getMeasures
Viewing docs for sonarqube 0.16.22
published on Monday, Sep 7, 2026 by jdamata
Viewing docs for sonarqube 0.16.22
published on Monday, Sep 7, 2026 by jdamata

    Using getMeasures

    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 getMeasures(args: GetMeasuresArgs, opts?: InvokeOptions): Promise<GetMeasuresResult>
    function getMeasuresOutput(args: GetMeasuresOutputArgs, opts?: InvokeOutputOptions): Output<GetMeasuresResult>
    def get_measures(component: Optional[str] = None,
                     id: Optional[str] = None,
                     metric_keys: Optional[Sequence[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> GetMeasuresResult
    def get_measures_output(component: pulumi.Input[Optional[str]] = None,
                     id: pulumi.Input[Optional[str]] = None,
                     metric_keys: pulumi.Input[Optional[Sequence[pulumi.Input[str]]]] = None,
                     opts: Optional[InvokeOutputOptions] = None) -> Output[GetMeasuresResult]
    func GetMeasures(ctx *Context, args *GetMeasuresArgs, opts ...InvokeOption) (*GetMeasuresResult, error)
    func GetMeasuresOutput(ctx *Context, args *GetMeasuresOutputArgs, opts ...InvokeOption) GetMeasuresResultOutput

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

    public static class GetMeasures 
    {
        public static Task<GetMeasuresResult> InvokeAsync(GetMeasuresArgs args, InvokeOptions? opts = null)
        public static Output<GetMeasuresResult> Invoke(GetMeasuresInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetMeasuresResult> Invoke(GetMeasuresInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetMeasuresResult> getMeasures(GetMeasuresArgs args, InvokeOptions options)
    public static Output<GetMeasuresResult> getMeasures(GetMeasuresArgs args, InvokeOptions options)
    public static Output<GetMeasuresResult> getMeasures(GetMeasuresArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: sonarqube:index/getMeasures:getMeasures
      arguments:
        # arguments dictionary
    data "sonarqube_get_measures" "name" {
        # arguments
    }

    The following arguments are supported:

    Component string
    MetricKeys List<string>
    Id string
    Component string
    MetricKeys []string
    Id string
    component string
    metric_keys list(string)
    id string
    component String
    metricKeys List<String>
    id String
    component string
    metricKeys string[]
    id string
    component str
    metric_keys Sequence[str]
    id str
    component String
    metricKeys List<String>
    id String

    getMeasures Result

    The following output properties are available:

    Component string
    Id string
    Measures List<ImmutableDictionary<string, string>>
    MetricKeys List<string>
    Component string
    Id string
    Measures []map[string]string
    MetricKeys []string
    component string
    id string
    measures list(map(string))
    metric_keys list(string)
    component String
    id String
    measures List<Map<String,String>>
    metricKeys List<String>
    component string
    id string
    measures {[key: string]: string}[]
    metricKeys string[]
    component str
    id str
    measures Sequence[Mapping[str, str]]
    metric_keys Sequence[str]
    component String
    id String
    measures List<Map<String>>
    metricKeys List<String>

    Package Details

    Repository
    sonarqube jdamata/terraform-provider-sonarqube
    License
    Notes
    This Pulumi package is based on the sonarqube Terraform Provider.
    Viewing docs for sonarqube 0.16.22
    published on Monday, Sep 7, 2026 by jdamata

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial