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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: databricks:index/getApps:getApps
arguments:
# arguments dictionary
getApps Result
The following output properties are available:
- Apps
List<Get
Apps App> - Id string
- The provider-assigned unique ID for this managed resource.
- Apps
[]Get
Apps App - Id string
- The provider-assigned unique ID for this managed resource.
- apps
List<Get
Apps App> - id String
- The provider-assigned unique ID for this managed resource.
- apps
Get
Apps App[] - id string
- The provider-assigned unique ID for this managed resource.
- apps
Sequence[Get
Apps 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
- Active
Deployment GetApps App Active Deployment - App
Status GetApps App App Status - attribute
- Compute
Status GetApps App Compute Status - attribute
- Create
Time string - The creation time of the app.
- Creator string
- The email of the user that created the app.
- Default
Source 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.
- Name string
- Name of the serving endpoint to grant permission on.
- Pending
Deployment GetApps App Pending Deployment - Service
Principal stringClient Id - Service
Principal intId - id of the app service principal
- Service
Principal stringName - name of the app service principal
- Update
Time 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.
- Description string
- The description of the resource.
- Resources
List<Get
Apps 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 string - The creation time of the app.
- Creator string
- The email of the user that created the app.
- Default
Source 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.
- Name string
- Name of the serving endpoint to grant permission on.
- Pending
Deployment GetApps App Pending Deployment - Service
Principal stringClient Id - Service
Principal intId - id of the app service principal
- Service
Principal stringName - name of the app service principal
- Update
Time 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.
- Description string
- The description of the resource.
- Resources
[]Get
Apps 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 String - The creation time of the app.
- creator String
- The email of the user that created the app.
- default
Source 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.
- name String
- Name of the serving endpoint to grant permission on.
- pending
Deployment GetApps App Pending Deployment - service
Principal StringClient Id - service
Principal IntegerId - id of the app service principal
- service
Principal StringName - name of the app service principal
- update
Time 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.
- description String
- The description of the resource.
- resources
List<Get
Apps 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 string - The creation time of the app.
- creator string
- The email of the user that created the app.
- default
Source 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.
- name string
- Name of the serving endpoint to grant permission on.
- pending
Deployment GetApps App Pending Deployment - service
Principal stringClient Id - service
Principal numberId - id of the app service principal
- service
Principal stringName - name of the app service principal
- update
Time 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.
- description string
- The description of the resource.
- resources
Get
Apps 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.
- 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.
- description str
- The description of the resource.
- resources
Sequence[Get
Apps App Resource] - A list of resources that the app have access to.
- active
Deployment Property Map - app
Status Property Map - attribute
- compute
Status Property Map - attribute
- create
Time String - The creation time of the app.
- creator String
- The email of the user that created the app.
- default
Source 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.
- name String
- Name of the serving endpoint to grant permission on.
- pending
Deployment Property Map - service
Principal StringClient Id - service
Principal NumberId - id of the app service principal
- service
Principal StringName - name of the app service principal
- update
Time 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.
- description String
- The description of the resource.
- resources List<Property Map>
- A list of resources that the app have access to.
GetAppsAppActiveDeployment
- Create
Time string - The creation time of the app.
- Creator string
- The email of the user that created the app.
- Deployment
Artifacts GetApps App Active Deployment Deployment Artifacts - Status
Get
Apps App Active Deployment Status - Update
Time string - The update time of the app.
- Deployment
Id string - Mode string
- Source
Code stringPath
- Create
Time string - The creation time of the app.
- Creator string
- The email of the user that created the app.
- Deployment
Artifacts GetApps App Active Deployment Deployment Artifacts - Status
Get
Apps App Active Deployment Status - Update
Time string - The update time of the app.
- Deployment
Id string - Mode string
- Source
Code stringPath
- create
Time String - The creation time of the app.
- creator String
- The email of the user that created the app.
- deployment
Artifacts GetApps App Active Deployment Deployment Artifacts - status
Get
Apps App Active Deployment Status - update
Time String - The update time of the app.
- deployment
Id String - mode String
- source
Code StringPath
- create
Time string - The creation time of the app.
- creator string
- The email of the user that created the app.
- deployment
Artifacts GetApps App Active Deployment Deployment Artifacts - status
Get
Apps App Active Deployment Status - update
Time string - The update time of the app.
- deployment
Id string - mode string
- source
Code 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
Get
Apps App Active Deployment Status - update_
time str - The update time of the app.
- deployment_
id str - mode str
- source_
code_ strpath
- create
Time String - The creation time of the app.
- creator String
- The email of the user that created the app.
- deployment
Artifacts Property Map - status Property Map
- update
Time String - The update time of the app.
- deployment
Id String - mode String
- source
Code StringPath
GetAppsAppActiveDeploymentDeploymentArtifacts
- Source
Code stringPath
- Source
Code stringPath
- source
Code StringPath
- source
Code stringPath
- source_
code_ strpath
- source
Code StringPath
GetAppsAppActiveDeploymentStatus
GetAppsAppAppStatus
GetAppsAppComputeStatus
GetAppsAppPendingDeployment
- Create
Time string - The creation time of the app.
- Creator string
- The email of the user that created the app.
- Deployment
Artifacts GetApps App Pending Deployment Deployment Artifacts - Status
Get
Apps App Pending Deployment Status - Update
Time string - The update time of the app.
- Deployment
Id string - Mode string
- Source
Code stringPath
- Create
Time string - The creation time of the app.
- Creator string
- The email of the user that created the app.
- Deployment
Artifacts GetApps App Pending Deployment Deployment Artifacts - Status
Get
Apps App Pending Deployment Status - Update
Time string - The update time of the app.
- Deployment
Id string - Mode string
- Source
Code stringPath
- create
Time String - The creation time of the app.
- creator String
- The email of the user that created the app.
- deployment
Artifacts GetApps App Pending Deployment Deployment Artifacts - status
Get
Apps App Pending Deployment Status - update
Time String - The update time of the app.
- deployment
Id String - mode String
- source
Code StringPath
- create
Time string - The creation time of the app.
- creator string
- The email of the user that created the app.
- deployment
Artifacts GetApps App Pending Deployment Deployment Artifacts - status
Get
Apps App Pending Deployment Status - update
Time string - The update time of the app.
- deployment
Id string - mode string
- source
Code 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
Get
Apps App Pending Deployment Status - update_
time str - The update time of the app.
- deployment_
id str - mode str
- source_
code_ strpath
- create
Time String - The creation time of the app.
- creator String
- The email of the user that created the app.
- deployment
Artifacts Property Map - status Property Map
- update
Time String - The update time of the app.
- deployment
Id String - mode String
- source
Code StringPath
GetAppsAppPendingDeploymentDeploymentArtifacts
- Source
Code stringPath
- Source
Code stringPath
- source
Code StringPath
- source
Code stringPath
- source_
code_ strpath
- source
Code StringPath
GetAppsAppPendingDeploymentStatus
GetAppsAppResource
- Name string
- Name of the serving endpoint to grant permission on.
- Description string
- The description of the resource.
- Job
Get
Apps App Resource Job - attribute
- Secret
Get
Apps 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
Get
Apps App Resource Job - attribute
- Secret
Get
Apps 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
Get
Apps App Resource Job - attribute
- secret
Get
Apps 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
Get
Apps App Resource Job - attribute
- secret
Get
Apps App Resource Secret - attribute
- serving
Endpoint GetApps App Resource Serving Endpoint - attribute
- sql
Warehouse 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
Get
Apps App Resource Job - attribute
- secret
Get
Apps 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
- serving
Endpoint Property Map - attribute
- sql
Warehouse 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
databricks
Terraform Provider.