1. Packages
  2. Sonarqube Provider
  3. API Docs
  4. getAlmAzure
Viewing docs for sonarqube 0.16.19
published on Friday, Mar 20, 2026 by jdamata
sonarqube logo
Viewing docs for sonarqube 0.16.19
published on Friday, Mar 20, 2026 by jdamata

    Use this data source to get an Azure DevOps ALM definition.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as sonarqube from "@pulumi/sonarqube";
    
    const example = sonarqube.getAlmAzure({
        key: "my-azure-key",
    });
    
    import pulumi
    import pulumi_sonarqube as sonarqube
    
    example = sonarqube.get_alm_azure(key="my-azure-key")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/sonarqube/sonarqube"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := sonarqube.LookupAlmAzure(ctx, &sonarqube.LookupAlmAzureArgs{
    			Key: "my-azure-key",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Sonarqube = Pulumi.Sonarqube;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Sonarqube.GetAlmAzure.Invoke(new()
        {
            Key = "my-azure-key",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.sonarqube.SonarqubeFunctions;
    import com.pulumi.sonarqube.inputs.GetAlmAzureArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var example = SonarqubeFunctions.getAlmAzure(GetAlmAzureArgs.builder()
                .key("my-azure-key")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: sonarqube:getAlmAzure
          arguments:
            key: my-azure-key
    

    Using getAlmAzure

    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 getAlmAzure(args: GetAlmAzureArgs, opts?: InvokeOptions): Promise<GetAlmAzureResult>
    function getAlmAzureOutput(args: GetAlmAzureOutputArgs, opts?: InvokeOptions): Output<GetAlmAzureResult>
    def get_alm_azure(id: Optional[str] = None,
                      key: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetAlmAzureResult
    def get_alm_azure_output(id: Optional[pulumi.Input[str]] = None,
                      key: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetAlmAzureResult]
    func LookupAlmAzure(ctx *Context, args *LookupAlmAzureArgs, opts ...InvokeOption) (*LookupAlmAzureResult, error)
    func LookupAlmAzureOutput(ctx *Context, args *LookupAlmAzureOutputArgs, opts ...InvokeOption) LookupAlmAzureResultOutput

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

    public static class GetAlmAzure 
    {
        public static Task<GetAlmAzureResult> InvokeAsync(GetAlmAzureArgs args, InvokeOptions? opts = null)
        public static Output<GetAlmAzureResult> Invoke(GetAlmAzureInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAlmAzureResult> getAlmAzure(GetAlmAzureArgs args, InvokeOptions options)
    public static Output<GetAlmAzureResult> getAlmAzure(GetAlmAzureArgs args, InvokeOptions options)
    
    fn::invoke:
      function: sonarqube:index/getAlmAzure:getAlmAzure
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Key string
    Unique key of the Azure DevOps instance setting.
    Id string
    The ID of this resource.
    Key string
    Unique key of the Azure DevOps instance setting.
    Id string
    The ID of this resource.
    key String
    Unique key of the Azure DevOps instance setting.
    id String
    The ID of this resource.
    key string
    Unique key of the Azure DevOps instance setting.
    id string
    The ID of this resource.
    key str
    Unique key of the Azure DevOps instance setting.
    id str
    The ID of this resource.
    key String
    Unique key of the Azure DevOps instance setting.
    id String
    The ID of this resource.

    getAlmAzure Result

    The following output properties are available:

    Id string
    The ID of this resource.
    Key string
    Unique key of the Azure DevOps instance setting.
    Url string
    Azure API URL.
    Id string
    The ID of this resource.
    Key string
    Unique key of the Azure DevOps instance setting.
    Url string
    Azure API URL.
    id String
    The ID of this resource.
    key String
    Unique key of the Azure DevOps instance setting.
    url String
    Azure API URL.
    id string
    The ID of this resource.
    key string
    Unique key of the Azure DevOps instance setting.
    url string
    Azure API URL.
    id str
    The ID of this resource.
    key str
    Unique key of the Azure DevOps instance setting.
    url str
    Azure API URL.
    id String
    The ID of this resource.
    key String
    Unique key of the Azure DevOps instance setting.
    url String
    Azure API URL.

    Package Details

    Repository
    sonarqube jdamata/terraform-provider-sonarqube
    License
    Notes
    This Pulumi package is based on the sonarqube Terraform Provider.
    sonarqube logo
    Viewing docs for sonarqube 0.16.19
    published on Friday, Mar 20, 2026 by jdamata
      Try Pulumi Cloud free. Your team will thank you.