1. Packages
  2. Datadog Provider
  3. API Docs
  4. getAppBuilderApp
Datadog v4.49.1 published on Saturday, Apr 26, 2025 by Pulumi

datadog.getAppBuilderApp

Explore with Pulumi AI

datadog logo
Datadog v4.49.1 published on Saturday, Apr 26, 2025 by Pulumi

    This data source retrieves the definition of an existing Datadog App from App Builder for use in other resources, such as embedding Apps in Dashboards.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as datadog from "@pulumi/datadog";
    
    const myApp = datadog.getAppBuilderApp({
        id: "11111111-2222-3333-4444-555555555555",
    });
    
    import pulumi
    import pulumi_datadog as datadog
    
    my_app = datadog.get_app_builder_app(id="11111111-2222-3333-4444-555555555555")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := datadog.LookupAppBuilderApp(ctx, &datadog.LookupAppBuilderAppArgs{
    			Id: "11111111-2222-3333-4444-555555555555",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Datadog = Pulumi.Datadog;
    
    return await Deployment.RunAsync(() => 
    {
        var myApp = Datadog.GetAppBuilderApp.Invoke(new()
        {
            Id = "11111111-2222-3333-4444-555555555555",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.datadog.DatadogFunctions;
    import com.pulumi.datadog.inputs.GetAppBuilderAppArgs;
    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 myApp = DatadogFunctions.getAppBuilderApp(GetAppBuilderAppArgs.builder()
                .id("11111111-2222-3333-4444-555555555555")
                .build());
    
        }
    }
    
    variables:
      myApp:
        fn::invoke:
          function: datadog:getAppBuilderApp
          arguments:
            id: 11111111-2222-3333-4444-555555555555
    

    Using getAppBuilderApp

    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 getAppBuilderApp(args: GetAppBuilderAppArgs, opts?: InvokeOptions): Promise<GetAppBuilderAppResult>
    function getAppBuilderAppOutput(args: GetAppBuilderAppOutputArgs, opts?: InvokeOptions): Output<GetAppBuilderAppResult>
    def get_app_builder_app(id: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetAppBuilderAppResult
    def get_app_builder_app_output(id: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetAppBuilderAppResult]
    func LookupAppBuilderApp(ctx *Context, args *LookupAppBuilderAppArgs, opts ...InvokeOption) (*LookupAppBuilderAppResult, error)
    func LookupAppBuilderAppOutput(ctx *Context, args *LookupAppBuilderAppOutputArgs, opts ...InvokeOption) LookupAppBuilderAppResultOutput

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

    public static class GetAppBuilderApp 
    {
        public static Task<GetAppBuilderAppResult> InvokeAsync(GetAppBuilderAppArgs args, InvokeOptions? opts = null)
        public static Output<GetAppBuilderAppResult> Invoke(GetAppBuilderAppInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAppBuilderAppResult> getAppBuilderApp(GetAppBuilderAppArgs args, InvokeOptions options)
    public static Output<GetAppBuilderAppResult> getAppBuilderApp(GetAppBuilderAppArgs args, InvokeOptions options)
    
    fn::invoke:
      function: datadog:index/getAppBuilderApp:getAppBuilderApp
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    ID for the App.
    Id string
    ID for the App.
    id String
    ID for the App.
    id string
    ID for the App.
    id str
    ID for the App.
    id String
    ID for the App.

    getAppBuilderApp Result

    The following output properties are available:

    ActionQueryNamesToConnectionIds Dictionary<string, string>
    A map of the App's Action Query Names to Action Connection IDs.
    AppJson string
    The JSON representation of the App.
    Description string
    The human-readable description of the App.
    Id string
    ID for the App.
    Name string
    The name of the App.
    Published bool
    Whether the app is published or unpublished. Published apps are available to other users. To ensure the app is accessible to the correct users, you also need to set a Restriction Policy on the app if a policy does not yet exist.
    RootInstanceName string
    The name of the root component of the app. This is a grid component that contains all other components.
    ActionQueryNamesToConnectionIds map[string]string
    A map of the App's Action Query Names to Action Connection IDs.
    AppJson string
    The JSON representation of the App.
    Description string
    The human-readable description of the App.
    Id string
    ID for the App.
    Name string
    The name of the App.
    Published bool
    Whether the app is published or unpublished. Published apps are available to other users. To ensure the app is accessible to the correct users, you also need to set a Restriction Policy on the app if a policy does not yet exist.
    RootInstanceName string
    The name of the root component of the app. This is a grid component that contains all other components.
    actionQueryNamesToConnectionIds Map<String,String>
    A map of the App's Action Query Names to Action Connection IDs.
    appJson String
    The JSON representation of the App.
    description String
    The human-readable description of the App.
    id String
    ID for the App.
    name String
    The name of the App.
    published Boolean
    Whether the app is published or unpublished. Published apps are available to other users. To ensure the app is accessible to the correct users, you also need to set a Restriction Policy on the app if a policy does not yet exist.
    rootInstanceName String
    The name of the root component of the app. This is a grid component that contains all other components.
    actionQueryNamesToConnectionIds {[key: string]: string}
    A map of the App's Action Query Names to Action Connection IDs.
    appJson string
    The JSON representation of the App.
    description string
    The human-readable description of the App.
    id string
    ID for the App.
    name string
    The name of the App.
    published boolean
    Whether the app is published or unpublished. Published apps are available to other users. To ensure the app is accessible to the correct users, you also need to set a Restriction Policy on the app if a policy does not yet exist.
    rootInstanceName string
    The name of the root component of the app. This is a grid component that contains all other components.
    action_query_names_to_connection_ids Mapping[str, str]
    A map of the App's Action Query Names to Action Connection IDs.
    app_json str
    The JSON representation of the App.
    description str
    The human-readable description of the App.
    id str
    ID for the App.
    name str
    The name of the App.
    published bool
    Whether the app is published or unpublished. Published apps are available to other users. To ensure the app is accessible to the correct users, you also need to set a Restriction Policy on the app if a policy does not yet exist.
    root_instance_name str
    The name of the root component of the app. This is a grid component that contains all other components.
    actionQueryNamesToConnectionIds Map<String>
    A map of the App's Action Query Names to Action Connection IDs.
    appJson String
    The JSON representation of the App.
    description String
    The human-readable description of the App.
    id String
    ID for the App.
    name String
    The name of the App.
    published Boolean
    Whether the app is published or unpublished. Published apps are available to other users. To ensure the app is accessible to the correct users, you also need to set a Restriction Policy on the app if a policy does not yet exist.
    rootInstanceName String
    The name of the root component of the app. This is a grid component that contains all other components.

    Package Details

    Repository
    Datadog pulumi/pulumi-datadog
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the datadog Terraform Provider.
    datadog logo
    Datadog v4.49.1 published on Saturday, Apr 26, 2025 by Pulumi