databricks.getApps
Explore with Pulumi AI
This feature is in Public Preview.
Databricks Apps run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on. This resource creates the application but does not handle app deployment, which should be handled separately as part of your CI/CD pipeline.
This data source allows you to fetch information about all Databricks Apps within a workspace.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as databricks from "@pulumi/databricks";
const allApps = databricks.getApps({});
import pulumi
import pulumi_databricks as databricks
all_apps = databricks.get_apps()
package main
import (
	"github.com/pulumi/pulumi-databricks/sdk/go/databricks"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := databricks.GetApps(ctx, map[string]interface{}{}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Databricks = Pulumi.Databricks;
return await Deployment.RunAsync(() => 
{
    var allApps = Databricks.GetApps.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.databricks.DatabricksFunctions;
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 allApps = DatabricksFunctions.getApps();
    }
}
variables:
  allApps:
    fn::invoke:
      function: databricks:getApps
      arguments: {}
Related Resources
The following resources are used in the same context:
- databricks.App to manage Databricks Apps.
- databricks.SqlEndpoint to manage Databricks SQL Endpoints.
- databricks.ModelServing to serve this model on a Databricks serving endpoint.
- databricks.Secret to manage secrets in Databricks workspace.
- databricks.Job to manage Databricks Jobs to run non-interactive code.
Using getApps
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 getApps(opts?: InvokeOptions): Promise<GetAppsResult>
function getAppsOutput(opts?: InvokeOptions): Output<GetAppsResult>def get_apps(opts: Optional[InvokeOptions] = None) -> GetAppsResult
def get_apps_output(opts: Optional[InvokeOptions] = None) -> Output[GetAppsResult]func GetApps(ctx *Context, opts ...InvokeOption) (*GetAppsResult, error)
func GetAppsOutput(ctx *Context, opts ...InvokeOption) GetAppsResultOutput> Note: This function is named GetApps in the Go SDK.
public static class GetApps 
{
    public static Task<GetAppsResult> InvokeAsync(InvokeOptions? opts = null)
    public static Output<GetAppsResult> Invoke(InvokeOptions? opts = null)
}public static CompletableFuture<GetAppsResult> getApps(InvokeOptions options)
public static Output<GetAppsResult> getApps(InvokeOptions options)
fn::invoke:
  function: databricks:index/getApps:getApps
  arguments:
    # arguments dictionarygetApps Result
The following output properties are available:
- Apps
List<GetApps App> 
- Id string
- The provider-assigned unique ID for this managed resource.
- Apps
[]GetApps App 
- Id string
- The provider-assigned unique ID for this managed resource.
- apps
List<GetApps App> 
- id String
- The provider-assigned unique ID for this managed resource.
- apps
GetApps App[] 
- id string
- The provider-assigned unique ID for this managed resource.
- apps
Sequence[GetApps App] 
- id str
- The provider-assigned unique ID for this managed resource.
- apps List<Property Map>
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
GetAppsApp  
- ActiveDeployment GetApps App Active Deployment 
- AppStatus GetApps App App Status 
- attribute
- ComputeStatus GetApps App Compute Status 
- attribute
- CreateTime string
- The creation time of the app.
- Creator string
- The email of the user that created the app.
- DefaultSource stringCode Path 
- The default workspace file system path of the source code from which app deployment are created. This field tracks the workspace source code path of the last active deployment.
- EffectiveBudget stringPolicy Id 
- The effective budget policy ID.
- Id string
- Id of the job to grant permission on.
- Name string
- Name of the serving endpoint to grant permission on.
- PendingDeployment GetApps App Pending Deployment 
- ServicePrincipal stringClient Id 
- ServicePrincipal intId 
- id of the app service principal
- ServicePrincipal stringName 
- name of the app service principal
- UpdateTime string
- The update time of the app.
- Updater string
- The email of the user that last updated the app.
- Url string
- The URL of the app once it is deployed.
- BudgetPolicy stringId 
- The Budget Policy ID set for this resource.
- Description string
- The description of the resource.
- Resources
List<GetApps App Resource> 
- A list of resources that the app have access to.
- ActiveDeployment GetApps App Active Deployment 
- AppStatus GetApps App App Status 
- attribute
- ComputeStatus GetApps App Compute Status 
- attribute
- CreateTime string
- The creation time of the app.
- Creator string
- The email of the user that created the app.
- DefaultSource stringCode Path 
- The default workspace file system path of the source code from which app deployment are created. This field tracks the workspace source code path of the last active deployment.
- EffectiveBudget stringPolicy Id 
- The effective budget policy ID.
- Id string
- Id of the job to grant permission on.
- Name string
- Name of the serving endpoint to grant permission on.
- PendingDeployment GetApps App Pending Deployment 
- ServicePrincipal stringClient Id 
- ServicePrincipal intId 
- id of the app service principal
- ServicePrincipal stringName 
- name of the app service principal
- UpdateTime string
- The update time of the app.
- Updater string
- The email of the user that last updated the app.
- Url string
- The URL of the app once it is deployed.
- BudgetPolicy stringId 
- The Budget Policy ID set for this resource.
- Description string
- The description of the resource.
- Resources
[]GetApps App Resource 
- A list of resources that the app have access to.
- activeDeployment GetApps App Active Deployment 
- appStatus GetApps App App Status 
- attribute
- computeStatus GetApps App Compute Status 
- attribute
- createTime String
- The creation time of the app.
- creator String
- The email of the user that created the app.
- defaultSource StringCode Path 
- The default workspace file system path of the source code from which app deployment are created. This field tracks the workspace source code path of the last active deployment.
- effectiveBudget StringPolicy Id 
- The effective budget policy ID.
- id String
- Id of the job to grant permission on.
- name String
- Name of the serving endpoint to grant permission on.
- pendingDeployment GetApps App Pending Deployment 
- servicePrincipal StringClient Id 
- servicePrincipal IntegerId 
- id of the app service principal
- servicePrincipal StringName 
- name of the app service principal
- updateTime String
- The update time of the app.
- updater String
- The email of the user that last updated the app.
- url String
- The URL of the app once it is deployed.
- budgetPolicy StringId 
- The Budget Policy ID set for this resource.
- description String
- The description of the resource.
- resources
List<GetApps App Resource> 
- A list of resources that the app have access to.
- activeDeployment GetApps App Active Deployment 
- appStatus GetApps App App Status 
- attribute
- computeStatus GetApps App Compute Status 
- attribute
- createTime string
- The creation time of the app.
- creator string
- The email of the user that created the app.
- defaultSource stringCode Path 
- The default workspace file system path of the source code from which app deployment are created. This field tracks the workspace source code path of the last active deployment.
- effectiveBudget stringPolicy Id 
- The effective budget policy ID.
- id string
- Id of the job to grant permission on.
- name string
- Name of the serving endpoint to grant permission on.
- pendingDeployment GetApps App Pending Deployment 
- servicePrincipal stringClient Id 
- servicePrincipal numberId 
- id of the app service principal
- servicePrincipal stringName 
- name of the app service principal
- updateTime string
- The update time of the app.
- updater string
- The email of the user that last updated the app.
- url string
- The URL of the app once it is deployed.
- budgetPolicy stringId 
- The Budget Policy ID set for this resource.
- description string
- The description of the resource.
- resources
GetApps App Resource[] 
- A list of resources that the app have access to.
- active_deployment GetApps App Active Deployment 
- app_status GetApps App App Status 
- attribute
- compute_status GetApps App Compute Status 
- attribute
- create_time str
- The creation time of the app.
- creator str
- The email of the user that created the app.
- default_source_ strcode_ path 
- The default workspace file system path of the source code from which app deployment are created. This field tracks the workspace source code path of the last active deployment.
- effective_budget_ strpolicy_ id 
- The effective budget policy ID.
- id str
- Id of the job to grant permission on.
- name str
- Name of the serving endpoint to grant permission on.
- pending_deployment GetApps App Pending Deployment 
- service_principal_ strclient_ id 
- service_principal_ intid 
- id of the app service principal
- service_principal_ strname 
- name of the app service principal
- update_time str
- The update time of the app.
- updater str
- The email of the user that last updated the app.
- url str
- The URL of the app once it is deployed.
- budget_policy_ strid 
- The Budget Policy ID set for this resource.
- description str
- The description of the resource.
- resources
Sequence[GetApps App Resource] 
- A list of resources that the app have access to.
- activeDeployment Property Map
- appStatus Property Map
- attribute
- computeStatus Property Map
- attribute
- createTime String
- The creation time of the app.
- creator String
- The email of the user that created the app.
- defaultSource StringCode Path 
- The default workspace file system path of the source code from which app deployment are created. This field tracks the workspace source code path of the last active deployment.
- effectiveBudget StringPolicy Id 
- The effective budget policy ID.
- id String
- Id of the job to grant permission on.
- name String
- Name of the serving endpoint to grant permission on.
- pendingDeployment Property Map
- servicePrincipal StringClient Id 
- servicePrincipal NumberId 
- id of the app service principal
- servicePrincipal StringName 
- name of the app service principal
- updateTime String
- The update time of the app.
- updater String
- The email of the user that last updated the app.
- url String
- The URL of the app once it is deployed.
- budgetPolicy StringId 
- The Budget Policy ID set for this resource.
- description String
- The description of the resource.
- resources List<Property Map>
- A list of resources that the app have access to.
GetAppsAppActiveDeployment    
- CreateTime string
- The creation time of the app.
- Creator string
- The email of the user that created the app.
- DeploymentArtifacts GetApps App Active Deployment Deployment Artifacts 
- Status
GetApps App Active Deployment Status 
- UpdateTime string
- The update time of the app.
- DeploymentId string
- Mode string
- SourceCode stringPath 
- CreateTime string
- The creation time of the app.
- Creator string
- The email of the user that created the app.
- DeploymentArtifacts GetApps App Active Deployment Deployment Artifacts 
- Status
GetApps App Active Deployment Status 
- UpdateTime string
- The update time of the app.
- DeploymentId string
- Mode string
- SourceCode stringPath 
- createTime String
- The creation time of the app.
- creator String
- The email of the user that created the app.
- deploymentArtifacts GetApps App Active Deployment Deployment Artifacts 
- status
GetApps App Active Deployment Status 
- updateTime String
- The update time of the app.
- deploymentId String
- mode String
- sourceCode StringPath 
- createTime string
- The creation time of the app.
- creator string
- The email of the user that created the app.
- deploymentArtifacts GetApps App Active Deployment Deployment Artifacts 
- status
GetApps App Active Deployment Status 
- updateTime string
- The update time of the app.
- deploymentId string
- mode string
- sourceCode stringPath 
- create_time str
- The creation time of the app.
- creator str
- The email of the user that created the app.
- deployment_artifacts GetApps App Active Deployment Deployment Artifacts 
- status
GetApps App Active Deployment Status 
- update_time str
- The update time of the app.
- deployment_id str
- mode str
- source_code_ strpath 
- createTime String
- The creation time of the app.
- creator String
- The email of the user that created the app.
- deploymentArtifacts Property Map
- status Property Map
- updateTime String
- The update time of the app.
- deploymentId String
- mode String
- sourceCode StringPath 
GetAppsAppActiveDeploymentDeploymentArtifacts      
- SourceCode stringPath 
- SourceCode stringPath 
- sourceCode StringPath 
- sourceCode stringPath 
- source_code_ strpath 
- sourceCode StringPath 
GetAppsAppActiveDeploymentStatus     
GetAppsAppAppStatus    
GetAppsAppComputeStatus    
GetAppsAppPendingDeployment    
- CreateTime string
- The creation time of the app.
- Creator string
- The email of the user that created the app.
- DeploymentArtifacts GetApps App Pending Deployment Deployment Artifacts 
- Status
GetApps App Pending Deployment Status 
- UpdateTime string
- The update time of the app.
- DeploymentId string
- Mode string
- SourceCode stringPath 
- CreateTime string
- The creation time of the app.
- Creator string
- The email of the user that created the app.
- DeploymentArtifacts GetApps App Pending Deployment Deployment Artifacts 
- Status
GetApps App Pending Deployment Status 
- UpdateTime string
- The update time of the app.
- DeploymentId string
- Mode string
- SourceCode stringPath 
- createTime String
- The creation time of the app.
- creator String
- The email of the user that created the app.
- deploymentArtifacts GetApps App Pending Deployment Deployment Artifacts 
- status
GetApps App Pending Deployment Status 
- updateTime String
- The update time of the app.
- deploymentId String
- mode String
- sourceCode StringPath 
- createTime string
- The creation time of the app.
- creator string
- The email of the user that created the app.
- deploymentArtifacts GetApps App Pending Deployment Deployment Artifacts 
- status
GetApps App Pending Deployment Status 
- updateTime string
- The update time of the app.
- deploymentId string
- mode string
- sourceCode stringPath 
- create_time str
- The creation time of the app.
- creator str
- The email of the user that created the app.
- deployment_artifacts GetApps App Pending Deployment Deployment Artifacts 
- status
GetApps App Pending Deployment Status 
- update_time str
- The update time of the app.
- deployment_id str
- mode str
- source_code_ strpath 
- createTime String
- The creation time of the app.
- creator String
- The email of the user that created the app.
- deploymentArtifacts Property Map
- status Property Map
- updateTime String
- The update time of the app.
- deploymentId String
- mode String
- sourceCode StringPath 
GetAppsAppPendingDeploymentDeploymentArtifacts      
- SourceCode stringPath 
- SourceCode stringPath 
- sourceCode StringPath 
- sourceCode stringPath 
- source_code_ strpath 
- sourceCode StringPath 
GetAppsAppPendingDeploymentStatus     
GetAppsAppResource   
- Name string
- Name of the serving endpoint to grant permission on.
- Description string
- The description of the resource.
- Job
GetApps App Resource Job 
- attribute
- Secret
GetApps App Resource Secret 
- attribute
- ServingEndpoint GetApps App Resource Serving Endpoint 
- attribute
- SqlWarehouse GetApps App Resource Sql Warehouse 
- attribute
- Name string
- Name of the serving endpoint to grant permission on.
- Description string
- The description of the resource.
- Job
GetApps App Resource Job 
- attribute
- Secret
GetApps App Resource Secret 
- attribute
- ServingEndpoint GetApps App Resource Serving Endpoint 
- attribute
- SqlWarehouse GetApps App Resource Sql Warehouse 
- attribute
- name String
- Name of the serving endpoint to grant permission on.
- description String
- The description of the resource.
- job
GetApps App Resource Job 
- attribute
- secret
GetApps App Resource Secret 
- attribute
- servingEndpoint GetApps App Resource Serving Endpoint 
- attribute
- sqlWarehouse GetApps App Resource Sql Warehouse 
- attribute
- name string
- Name of the serving endpoint to grant permission on.
- description string
- The description of the resource.
- job
GetApps App Resource Job 
- attribute
- secret
GetApps App Resource Secret 
- attribute
- servingEndpoint GetApps App Resource Serving Endpoint 
- attribute
- sqlWarehouse GetApps App Resource Sql Warehouse 
- attribute
- name str
- Name of the serving endpoint to grant permission on.
- description str
- The description of the resource.
- job
GetApps App Resource Job 
- attribute
- secret
GetApps App Resource Secret 
- attribute
- serving_endpoint GetApps App Resource Serving Endpoint 
- attribute
- sql_warehouse GetApps App Resource Sql Warehouse 
- attribute
- name String
- Name of the serving endpoint to grant permission on.
- description String
- The description of the resource.
- job Property Map
- attribute
- secret Property Map
- attribute
- servingEndpoint Property Map
- attribute
- sqlWarehouse Property Map
- attribute
GetAppsAppResourceJob    
- Id string
- Id of the job to grant permission on.
- Permission string
- Permissions to grant on the Job. Supported permissions are: CAN_MANAGE,IS_OWNER,CAN_MANAGE_RUN,CAN_VIEW.
- Id string
- Id of the job to grant permission on.
- Permission string
- Permissions to grant on the Job. Supported permissions are: CAN_MANAGE,IS_OWNER,CAN_MANAGE_RUN,CAN_VIEW.
- id String
- Id of the job to grant permission on.
- permission String
- Permissions to grant on the Job. Supported permissions are: CAN_MANAGE,IS_OWNER,CAN_MANAGE_RUN,CAN_VIEW.
- id string
- Id of the job to grant permission on.
- permission string
- Permissions to grant on the Job. Supported permissions are: CAN_MANAGE,IS_OWNER,CAN_MANAGE_RUN,CAN_VIEW.
- id str
- Id of the job to grant permission on.
- permission str
- Permissions to grant on the Job. Supported permissions are: CAN_MANAGE,IS_OWNER,CAN_MANAGE_RUN,CAN_VIEW.
- id String
- Id of the job to grant permission on.
- permission String
- Permissions to grant on the Job. Supported permissions are: CAN_MANAGE,IS_OWNER,CAN_MANAGE_RUN,CAN_VIEW.
GetAppsAppResourceSecret    
- Key string
- Key of the secret to grant permission on.
- Permission string
- Permissions to grant on the Job. Supported permissions are: CAN_MANAGE,IS_OWNER,CAN_MANAGE_RUN,CAN_VIEW.
- Scope string
- Scope of the secret to grant permission on.
- Key string
- Key of the secret to grant permission on.
- Permission string
- Permissions to grant on the Job. Supported permissions are: CAN_MANAGE,IS_OWNER,CAN_MANAGE_RUN,CAN_VIEW.
- Scope string
- Scope of the secret to grant permission on.
- key String
- Key of the secret to grant permission on.
- permission String
- Permissions to grant on the Job. Supported permissions are: CAN_MANAGE,IS_OWNER,CAN_MANAGE_RUN,CAN_VIEW.
- scope String
- Scope of the secret to grant permission on.
- key string
- Key of the secret to grant permission on.
- permission string
- Permissions to grant on the Job. Supported permissions are: CAN_MANAGE,IS_OWNER,CAN_MANAGE_RUN,CAN_VIEW.
- scope string
- Scope of the secret to grant permission on.
- key str
- Key of the secret to grant permission on.
- permission str
- Permissions to grant on the Job. Supported permissions are: CAN_MANAGE,IS_OWNER,CAN_MANAGE_RUN,CAN_VIEW.
- scope str
- Scope of the secret to grant permission on.
- key String
- Key of the secret to grant permission on.
- permission String
- Permissions to grant on the Job. Supported permissions are: CAN_MANAGE,IS_OWNER,CAN_MANAGE_RUN,CAN_VIEW.
- scope String
- Scope of the secret to grant permission on.
GetAppsAppResourceServingEndpoint     
- Name string
- Name of the serving endpoint to grant permission on.
- Permission string
- Permissions to grant on the Job. Supported permissions are: CAN_MANAGE,IS_OWNER,CAN_MANAGE_RUN,CAN_VIEW.
- Name string
- Name of the serving endpoint to grant permission on.
- Permission string
- Permissions to grant on the Job. Supported permissions are: CAN_MANAGE,IS_OWNER,CAN_MANAGE_RUN,CAN_VIEW.
- name String
- Name of the serving endpoint to grant permission on.
- permission String
- Permissions to grant on the Job. Supported permissions are: CAN_MANAGE,IS_OWNER,CAN_MANAGE_RUN,CAN_VIEW.
- name string
- Name of the serving endpoint to grant permission on.
- permission string
- Permissions to grant on the Job. Supported permissions are: CAN_MANAGE,IS_OWNER,CAN_MANAGE_RUN,CAN_VIEW.
- name str
- Name of the serving endpoint to grant permission on.
- permission str
- Permissions to grant on the Job. Supported permissions are: CAN_MANAGE,IS_OWNER,CAN_MANAGE_RUN,CAN_VIEW.
- name String
- Name of the serving endpoint to grant permission on.
- permission String
- Permissions to grant on the Job. Supported permissions are: CAN_MANAGE,IS_OWNER,CAN_MANAGE_RUN,CAN_VIEW.
GetAppsAppResourceSqlWarehouse     
- Id string
- Id of the job to grant permission on.
- Permission string
- Permissions to grant on the Job. Supported permissions are: CAN_MANAGE,IS_OWNER,CAN_MANAGE_RUN,CAN_VIEW.
- Id string
- Id of the job to grant permission on.
- Permission string
- Permissions to grant on the Job. Supported permissions are: CAN_MANAGE,IS_OWNER,CAN_MANAGE_RUN,CAN_VIEW.
- id String
- Id of the job to grant permission on.
- permission String
- Permissions to grant on the Job. Supported permissions are: CAN_MANAGE,IS_OWNER,CAN_MANAGE_RUN,CAN_VIEW.
- id string
- Id of the job to grant permission on.
- permission string
- Permissions to grant on the Job. Supported permissions are: CAN_MANAGE,IS_OWNER,CAN_MANAGE_RUN,CAN_VIEW.
- id str
- Id of the job to grant permission on.
- permission str
- Permissions to grant on the Job. Supported permissions are: CAN_MANAGE,IS_OWNER,CAN_MANAGE_RUN,CAN_VIEW.
- id String
- Id of the job to grant permission on.
- permission String
- Permissions to grant on the Job. Supported permissions are: CAN_MANAGE,IS_OWNER,CAN_MANAGE_RUN,CAN_VIEW.
Package Details
- Repository
- databricks pulumi/pulumi-databricks
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the databricksTerraform Provider.