databricks.App
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.
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.databricks.App;
import com.pulumi.databricks.AppArgs;
import com.pulumi.databricks.inputs.AppResourceArgs;
import com.pulumi.databricks.inputs.AppResourceJobArgs;
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) {
        var this_ = new App("this", AppArgs.builder()
            .name("my-custom-app")
            .description("My app")
            .resources(            
                AppResourceArgs.builder()
                    .name("sql-warehouse")
                    .sql_warehouse(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                    .build(),
                AppResourceArgs.builder()
                    .name("serving-endpoint")
                    .serving_endpoint(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                    .build(),
                AppResourceArgs.builder()
                    .name("job")
                    .job(AppResourceJobArgs.builder()
                        .id("1234")
                        .permission("CAN_MANAGE")
                        .build())
                    .build())
            .build());
    }
}
resources:
  this:
    type: databricks:App
    properties:
      name: my-custom-app
      description: My app
      resources:
        - name: sql-warehouse
          sql_warehouse:
            id: e9ca293f79a74b5c
            permission: CAN_MANAGE
        - name: serving-endpoint
          serving_endpoint:
            name: databricks-meta-llama-3-1-70b-instruct
            permission: CAN_MANAGE
        - name: job
          job:
            id: '1234'
            permission: CAN_MANAGE
Related Resources
The following resources are used in the same context:
- 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.
Create App Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new App(name: string, args?: AppArgs, opts?: CustomResourceOptions);@overload
def App(resource_name: str,
        args: Optional[AppArgs] = None,
        opts: Optional[ResourceOptions] = None)
@overload
def App(resource_name: str,
        opts: Optional[ResourceOptions] = None,
        budget_policy_id: Optional[str] = None,
        description: Optional[str] = None,
        name: Optional[str] = None,
        no_compute: Optional[bool] = None,
        resources: Optional[Sequence[AppResourceArgs]] = None)func NewApp(ctx *Context, name string, args *AppArgs, opts ...ResourceOption) (*App, error)public App(string name, AppArgs? args = null, CustomResourceOptions? opts = null)type: databricks:App
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AppArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AppArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AppArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AppArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AppArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var appResource = new Databricks.App("appResource", new()
{
    BudgetPolicyId = "string",
    Description = "string",
    Name = "string",
    NoCompute = false,
    Resources = new[]
    {
        new Databricks.Inputs.AppResourceArgs
        {
            Name = "string",
            Description = "string",
            Job = new Databricks.Inputs.AppResourceJobArgs
            {
                Id = "string",
                Permission = "string",
            },
            Secret = new Databricks.Inputs.AppResourceSecretArgs
            {
                Key = "string",
                Permission = "string",
                Scope = "string",
            },
            ServingEndpoint = new Databricks.Inputs.AppResourceServingEndpointArgs
            {
                Name = "string",
                Permission = "string",
            },
            SqlWarehouse = new Databricks.Inputs.AppResourceSqlWarehouseArgs
            {
                Id = "string",
                Permission = "string",
            },
        },
    },
});
example, err := databricks.NewApp(ctx, "appResource", &databricks.AppArgs{
	BudgetPolicyId: pulumi.String("string"),
	Description:    pulumi.String("string"),
	Name:           pulumi.String("string"),
	NoCompute:      pulumi.Bool(false),
	Resources: databricks.AppResourceArray{
		&databricks.AppResourceArgs{
			Name:        pulumi.String("string"),
			Description: pulumi.String("string"),
			Job: &databricks.AppResourceJobArgs{
				Id:         pulumi.String("string"),
				Permission: pulumi.String("string"),
			},
			Secret: &databricks.AppResourceSecretArgs{
				Key:        pulumi.String("string"),
				Permission: pulumi.String("string"),
				Scope:      pulumi.String("string"),
			},
			ServingEndpoint: &databricks.AppResourceServingEndpointArgs{
				Name:       pulumi.String("string"),
				Permission: pulumi.String("string"),
			},
			SqlWarehouse: &databricks.AppResourceSqlWarehouseArgs{
				Id:         pulumi.String("string"),
				Permission: pulumi.String("string"),
			},
		},
	},
})
var appResource = new App("appResource", AppArgs.builder()
    .budgetPolicyId("string")
    .description("string")
    .name("string")
    .noCompute(false)
    .resources(AppResourceArgs.builder()
        .name("string")
        .description("string")
        .job(AppResourceJobArgs.builder()
            .id("string")
            .permission("string")
            .build())
        .secret(AppResourceSecretArgs.builder()
            .key("string")
            .permission("string")
            .scope("string")
            .build())
        .servingEndpoint(AppResourceServingEndpointArgs.builder()
            .name("string")
            .permission("string")
            .build())
        .sqlWarehouse(AppResourceSqlWarehouseArgs.builder()
            .id("string")
            .permission("string")
            .build())
        .build())
    .build());
app_resource = databricks.App("appResource",
    budget_policy_id="string",
    description="string",
    name="string",
    no_compute=False,
    resources=[{
        "name": "string",
        "description": "string",
        "job": {
            "id": "string",
            "permission": "string",
        },
        "secret": {
            "key": "string",
            "permission": "string",
            "scope": "string",
        },
        "serving_endpoint": {
            "name": "string",
            "permission": "string",
        },
        "sql_warehouse": {
            "id": "string",
            "permission": "string",
        },
    }])
const appResource = new databricks.App("appResource", {
    budgetPolicyId: "string",
    description: "string",
    name: "string",
    noCompute: false,
    resources: [{
        name: "string",
        description: "string",
        job: {
            id: "string",
            permission: "string",
        },
        secret: {
            key: "string",
            permission: "string",
            scope: "string",
        },
        servingEndpoint: {
            name: "string",
            permission: "string",
        },
        sqlWarehouse: {
            id: "string",
            permission: "string",
        },
    }],
});
type: databricks:App
properties:
    budgetPolicyId: string
    description: string
    name: string
    noCompute: false
    resources:
        - description: string
          job:
            id: string
            permission: string
          name: string
          secret:
            key: string
            permission: string
            scope: string
          servingEndpoint:
            name: string
            permission: string
          sqlWarehouse:
            id: string
            permission: string
App Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The App resource accepts the following input properties:
- BudgetPolicy stringId 
- The optional Budget Policy ID set for this resource.
- Description string
- The description of the app.
- Name string
- The name of the app. The name must contain only lowercase alphanumeric characters and hyphens. It must be unique within the workspace.
- NoCompute bool
- Resources
List<AppResource> 
- A list of resources that the app have access to.
- BudgetPolicy stringId 
- The optional Budget Policy ID set for this resource.
- Description string
- The description of the app.
- Name string
- The name of the app. The name must contain only lowercase alphanumeric characters and hyphens. It must be unique within the workspace.
- NoCompute bool
- Resources
[]AppResource Args 
- A list of resources that the app have access to.
- budgetPolicy StringId 
- The optional Budget Policy ID set for this resource.
- description String
- The description of the app.
- name String
- The name of the app. The name must contain only lowercase alphanumeric characters and hyphens. It must be unique within the workspace.
- noCompute Boolean
- resources
List<AppResource> 
- A list of resources that the app have access to.
- budgetPolicy stringId 
- The optional Budget Policy ID set for this resource.
- description string
- The description of the app.
- name string
- The name of the app. The name must contain only lowercase alphanumeric characters and hyphens. It must be unique within the workspace.
- noCompute boolean
- resources
AppResource[] 
- A list of resources that the app have access to.
- budget_policy_ strid 
- The optional Budget Policy ID set for this resource.
- description str
- The description of the app.
- name str
- The name of the app. The name must contain only lowercase alphanumeric characters and hyphens. It must be unique within the workspace.
- no_compute bool
- resources
Sequence[AppResource Args] 
- A list of resources that the app have access to.
- budgetPolicy StringId 
- The optional Budget Policy ID set for this resource.
- description String
- The description of the app.
- name String
- The name of the app. The name must contain only lowercase alphanumeric characters and hyphens. It must be unique within the workspace.
- noCompute Boolean
- resources List<Property Map>
- A list of resources that the app have access to.
Outputs
All input properties are implicitly available as output properties. Additionally, the App resource produces the following output properties:
- ActiveDeployment AppActive Deployment 
- AppStatus AppApp Status 
- attribute
- ComputeStatus AppCompute 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
- The provider-assigned unique ID for this managed resource.
- PendingDeployment AppPending 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.
- ActiveDeployment AppActive Deployment 
- AppStatus AppApp Status 
- attribute
- ComputeStatus AppCompute 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
- The provider-assigned unique ID for this managed resource.
- PendingDeployment AppPending 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.
- activeDeployment AppActive Deployment 
- appStatus AppApp Status 
- attribute
- computeStatus AppCompute 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
- The provider-assigned unique ID for this managed resource.
- pendingDeployment AppPending 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.
- activeDeployment AppActive Deployment 
- appStatus AppApp Status 
- attribute
- computeStatus AppCompute 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
- The provider-assigned unique ID for this managed resource.
- pendingDeployment AppPending 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.
- active_deployment AppActive Deployment 
- app_status AppApp Status 
- attribute
- compute_status AppCompute 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
- The provider-assigned unique ID for this managed resource.
- pending_deployment AppPending 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.
- 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
- The provider-assigned unique ID for this managed resource.
- 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.
Look up Existing App Resource
Get an existing App resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AppState, opts?: CustomResourceOptions): App@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        active_deployment: Optional[AppActiveDeploymentArgs] = None,
        app_status: Optional[AppAppStatusArgs] = None,
        budget_policy_id: Optional[str] = None,
        compute_status: Optional[AppComputeStatusArgs] = None,
        create_time: Optional[str] = None,
        creator: Optional[str] = None,
        default_source_code_path: Optional[str] = None,
        description: Optional[str] = None,
        effective_budget_policy_id: Optional[str] = None,
        name: Optional[str] = None,
        no_compute: Optional[bool] = None,
        pending_deployment: Optional[AppPendingDeploymentArgs] = None,
        resources: Optional[Sequence[AppResourceArgs]] = None,
        service_principal_client_id: Optional[str] = None,
        service_principal_id: Optional[int] = None,
        service_principal_name: Optional[str] = None,
        update_time: Optional[str] = None,
        updater: Optional[str] = None,
        url: Optional[str] = None) -> Appfunc GetApp(ctx *Context, name string, id IDInput, state *AppState, opts ...ResourceOption) (*App, error)public static App Get(string name, Input<string> id, AppState? state, CustomResourceOptions? opts = null)public static App get(String name, Output<String> id, AppState state, CustomResourceOptions options)resources:  _:    type: databricks:App    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- ActiveDeployment AppActive Deployment 
- AppStatus AppApp Status 
- attribute
- BudgetPolicy stringId 
- The optional Budget Policy ID set for this resource.
- ComputeStatus AppCompute 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.
- Description string
- The description of the app.
- EffectiveBudget stringPolicy Id 
- The effective budget policy ID.
- Name string
- The name of the app. The name must contain only lowercase alphanumeric characters and hyphens. It must be unique within the workspace.
- NoCompute bool
- PendingDeployment AppPending Deployment 
- Resources
List<AppResource> 
- A list of resources that the app have access to.
- 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.
- ActiveDeployment AppActive Deployment Args 
- AppStatus AppApp Status Args 
- attribute
- BudgetPolicy stringId 
- The optional Budget Policy ID set for this resource.
- ComputeStatus AppCompute Status Args 
- 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.
- Description string
- The description of the app.
- EffectiveBudget stringPolicy Id 
- The effective budget policy ID.
- Name string
- The name of the app. The name must contain only lowercase alphanumeric characters and hyphens. It must be unique within the workspace.
- NoCompute bool
- PendingDeployment AppPending Deployment Args 
- Resources
[]AppResource Args 
- A list of resources that the app have access to.
- 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.
- activeDeployment AppActive Deployment 
- appStatus AppApp Status 
- attribute
- budgetPolicy StringId 
- The optional Budget Policy ID set for this resource.
- computeStatus AppCompute 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.
- description String
- The description of the app.
- effectiveBudget StringPolicy Id 
- The effective budget policy ID.
- name String
- The name of the app. The name must contain only lowercase alphanumeric characters and hyphens. It must be unique within the workspace.
- noCompute Boolean
- pendingDeployment AppPending Deployment 
- resources
List<AppResource> 
- A list of resources that the app have access to.
- 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.
- activeDeployment AppActive Deployment 
- appStatus AppApp Status 
- attribute
- budgetPolicy stringId 
- The optional Budget Policy ID set for this resource.
- computeStatus AppCompute 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.
- description string
- The description of the app.
- effectiveBudget stringPolicy Id 
- The effective budget policy ID.
- name string
- The name of the app. The name must contain only lowercase alphanumeric characters and hyphens. It must be unique within the workspace.
- noCompute boolean
- pendingDeployment AppPending Deployment 
- resources
AppResource[] 
- A list of resources that the app have access to.
- 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.
- active_deployment AppActive Deployment Args 
- app_status AppApp Status Args 
- attribute
- budget_policy_ strid 
- The optional Budget Policy ID set for this resource.
- compute_status AppCompute Status Args 
- 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.
- description str
- The description of the app.
- effective_budget_ strpolicy_ id 
- The effective budget policy ID.
- name str
- The name of the app. The name must contain only lowercase alphanumeric characters and hyphens. It must be unique within the workspace.
- no_compute bool
- pending_deployment AppPending Deployment Args 
- resources
Sequence[AppResource Args] 
- A list of resources that the app have access to.
- 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.
- activeDeployment Property Map
- appStatus Property Map
- attribute
- budgetPolicy StringId 
- The optional Budget Policy ID set for this resource.
- 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.
- description String
- The description of the app.
- effectiveBudget StringPolicy Id 
- The effective budget policy ID.
- name String
- The name of the app. The name must contain only lowercase alphanumeric characters and hyphens. It must be unique within the workspace.
- noCompute Boolean
- pendingDeployment Property Map
- resources List<Property Map>
- A list of resources that the app have access to.
- 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.
Supporting Types
AppActiveDeployment, AppActiveDeploymentArgs      
- CreateTime string
- The creation time of the app.
- Creator string
- The email of the user that created the app.
- DeploymentArtifacts AppActive Deployment Deployment Artifacts 
- DeploymentId string
- Mode string
- SourceCode stringPath 
- Status
AppActive Deployment Status 
- UpdateTime string
- The update time of the app.
- CreateTime string
- The creation time of the app.
- Creator string
- The email of the user that created the app.
- DeploymentArtifacts AppActive Deployment Deployment Artifacts 
- DeploymentId string
- Mode string
- SourceCode stringPath 
- Status
AppActive Deployment Status 
- UpdateTime string
- The update time of the app.
- createTime String
- The creation time of the app.
- creator String
- The email of the user that created the app.
- deploymentArtifacts AppActive Deployment Deployment Artifacts 
- deploymentId String
- mode String
- sourceCode StringPath 
- status
AppActive Deployment Status 
- updateTime String
- The update time of the app.
- createTime string
- The creation time of the app.
- creator string
- The email of the user that created the app.
- deploymentArtifacts AppActive Deployment Deployment Artifacts 
- deploymentId string
- mode string
- sourceCode stringPath 
- status
AppActive Deployment Status 
- updateTime string
- The update time of the app.
- create_time str
- The creation time of the app.
- creator str
- The email of the user that created the app.
- deployment_artifacts AppActive Deployment Deployment Artifacts 
- deployment_id str
- mode str
- source_code_ strpath 
- status
AppActive Deployment Status 
- update_time str
- The update time of the app.
- createTime String
- The creation time of the app.
- creator String
- The email of the user that created the app.
- deploymentArtifacts Property Map
- deploymentId String
- mode String
- sourceCode StringPath 
- status Property Map
- updateTime String
- The update time of the app.
AppActiveDeploymentDeploymentArtifacts, AppActiveDeploymentDeploymentArtifactsArgs          
- SourceCode stringPath 
- SourceCode stringPath 
- sourceCode StringPath 
- sourceCode stringPath 
- source_code_ strpath 
- sourceCode StringPath 
AppActiveDeploymentStatus, AppActiveDeploymentStatusArgs        
AppAppStatus, AppAppStatusArgs      
AppComputeStatus, AppComputeStatusArgs      
AppPendingDeployment, AppPendingDeploymentArgs      
- CreateTime string
- The creation time of the app.
- Creator string
- The email of the user that created the app.
- DeploymentArtifacts AppPending Deployment Deployment Artifacts 
- DeploymentId string
- Mode string
- SourceCode stringPath 
- Status
AppPending Deployment Status 
- UpdateTime string
- The update time of the app.
- CreateTime string
- The creation time of the app.
- Creator string
- The email of the user that created the app.
- DeploymentArtifacts AppPending Deployment Deployment Artifacts 
- DeploymentId string
- Mode string
- SourceCode stringPath 
- Status
AppPending Deployment Status 
- UpdateTime string
- The update time of the app.
- createTime String
- The creation time of the app.
- creator String
- The email of the user that created the app.
- deploymentArtifacts AppPending Deployment Deployment Artifacts 
- deploymentId String
- mode String
- sourceCode StringPath 
- status
AppPending Deployment Status 
- updateTime String
- The update time of the app.
- createTime string
- The creation time of the app.
- creator string
- The email of the user that created the app.
- deploymentArtifacts AppPending Deployment Deployment Artifacts 
- deploymentId string
- mode string
- sourceCode stringPath 
- status
AppPending Deployment Status 
- updateTime string
- The update time of the app.
- create_time str
- The creation time of the app.
- creator str
- The email of the user that created the app.
- deployment_artifacts AppPending Deployment Deployment Artifacts 
- deployment_id str
- mode str
- source_code_ strpath 
- status
AppPending Deployment Status 
- update_time str
- The update time of the app.
- createTime String
- The creation time of the app.
- creator String
- The email of the user that created the app.
- deploymentArtifacts Property Map
- deploymentId String
- mode String
- sourceCode StringPath 
- status Property Map
- updateTime String
- The update time of the app.
AppPendingDeploymentDeploymentArtifacts, AppPendingDeploymentDeploymentArtifactsArgs          
- SourceCode stringPath 
- SourceCode stringPath 
- sourceCode StringPath 
- sourceCode stringPath 
- source_code_ strpath 
- sourceCode StringPath 
AppPendingDeploymentStatus, AppPendingDeploymentStatusArgs        
AppResource, AppResourceArgs    
- Name string
- The name of the resource.
- Description string
- The description of the resource. - Exactly one of the following attributes must be provided: 
- Job
AppResource Job 
- attribute
- Secret
AppResource Secret 
- attribute
- ServingEndpoint AppResource Serving Endpoint 
- attribute
- SqlWarehouse AppResource Sql Warehouse 
- attribute
- Name string
- The name of the resource.
- Description string
- The description of the resource. - Exactly one of the following attributes must be provided: 
- Job
AppResource Job 
- attribute
- Secret
AppResource Secret 
- attribute
- ServingEndpoint AppResource Serving Endpoint 
- attribute
- SqlWarehouse AppResource Sql Warehouse 
- attribute
- name String
- The name of the resource.
- description String
- The description of the resource. - Exactly one of the following attributes must be provided: 
- job
AppResource Job 
- attribute
- secret
AppResource Secret 
- attribute
- servingEndpoint AppResource Serving Endpoint 
- attribute
- sqlWarehouse AppResource Sql Warehouse 
- attribute
- name string
- The name of the resource.
- description string
- The description of the resource. - Exactly one of the following attributes must be provided: 
- job
AppResource Job 
- attribute
- secret
AppResource Secret 
- attribute
- servingEndpoint AppResource Serving Endpoint 
- attribute
- sqlWarehouse AppResource Sql Warehouse 
- attribute
- name str
- The name of the resource.
- description str
- The description of the resource. - Exactly one of the following attributes must be provided: 
- job
AppResource Job 
- attribute
- secret
AppResource Secret 
- attribute
- serving_endpoint AppResource Serving Endpoint 
- attribute
- sql_warehouse AppResource Sql Warehouse 
- attribute
- name String
- The name of the resource.
- description String
- The description of the resource. - Exactly one of the following attributes must be provided: 
- job Property Map
- attribute
- secret Property Map
- attribute
- servingEndpoint Property Map
- attribute
- sqlWarehouse Property Map
- attribute
AppResourceJob, AppResourceJobArgs      
- 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.
AppResourceSecret, AppResourceSecretArgs      
- Key string
- Key of the secret to grant permission on.
- Permission string
- Permission to grant on the secret scope. For secrets, only one permission is allowed. Permission must be one of: READ,WRITE,MANAGE.
- Scope string
- Scope of the secret to grant permission on.
- Key string
- Key of the secret to grant permission on.
- Permission string
- Permission to grant on the secret scope. For secrets, only one permission is allowed. Permission must be one of: READ,WRITE,MANAGE.
- Scope string
- Scope of the secret to grant permission on.
- key String
- Key of the secret to grant permission on.
- permission String
- Permission to grant on the secret scope. For secrets, only one permission is allowed. Permission must be one of: READ,WRITE,MANAGE.
- scope String
- Scope of the secret to grant permission on.
- key string
- Key of the secret to grant permission on.
- permission string
- Permission to grant on the secret scope. For secrets, only one permission is allowed. Permission must be one of: READ,WRITE,MANAGE.
- scope string
- Scope of the secret to grant permission on.
- key str
- Key of the secret to grant permission on.
- permission str
- Permission to grant on the secret scope. For secrets, only one permission is allowed. Permission must be one of: READ,WRITE,MANAGE.
- scope str
- Scope of the secret to grant permission on.
- key String
- Key of the secret to grant permission on.
- permission String
- Permission to grant on the secret scope. For secrets, only one permission is allowed. Permission must be one of: READ,WRITE,MANAGE.
- scope String
- Scope of the secret to grant permission on.
AppResourceServingEndpoint, AppResourceServingEndpointArgs        
- Name string
- Name of the serving endpoint to grant permission on.
- Permission string
- Permission to grant on the serving endpoint. Supported permissions are: CAN_MANAGE,CAN_QUERY,CAN_VIEW.
- Name string
- Name of the serving endpoint to grant permission on.
- Permission string
- Permission to grant on the serving endpoint. Supported permissions are: CAN_MANAGE,CAN_QUERY,CAN_VIEW.
- name String
- Name of the serving endpoint to grant permission on.
- permission String
- Permission to grant on the serving endpoint. Supported permissions are: CAN_MANAGE,CAN_QUERY,CAN_VIEW.
- name string
- Name of the serving endpoint to grant permission on.
- permission string
- Permission to grant on the serving endpoint. Supported permissions are: CAN_MANAGE,CAN_QUERY,CAN_VIEW.
- name str
- Name of the serving endpoint to grant permission on.
- permission str
- Permission to grant on the serving endpoint. Supported permissions are: CAN_MANAGE,CAN_QUERY,CAN_VIEW.
- name String
- Name of the serving endpoint to grant permission on.
- permission String
- Permission to grant on the serving endpoint. Supported permissions are: CAN_MANAGE,CAN_QUERY,CAN_VIEW.
AppResourceSqlWarehouse, AppResourceSqlWarehouseArgs        
- Id string
- Id of the SQL warehouse to grant permission on.
- Permission string
- Permission to grant on the SQL warehouse. Supported permissions are: CAN_MANAGE,CAN_USE,IS_OWNER.
- Id string
- Id of the SQL warehouse to grant permission on.
- Permission string
- Permission to grant on the SQL warehouse. Supported permissions are: CAN_MANAGE,CAN_USE,IS_OWNER.
- id String
- Id of the SQL warehouse to grant permission on.
- permission String
- Permission to grant on the SQL warehouse. Supported permissions are: CAN_MANAGE,CAN_USE,IS_OWNER.
- id string
- Id of the SQL warehouse to grant permission on.
- permission string
- Permission to grant on the SQL warehouse. Supported permissions are: CAN_MANAGE,CAN_USE,IS_OWNER.
- id str
- Id of the SQL warehouse to grant permission on.
- permission str
- Permission to grant on the SQL warehouse. Supported permissions are: CAN_MANAGE,CAN_USE,IS_OWNER.
- id String
- Id of the SQL warehouse to grant permission on.
- permission String
- Permission to grant on the SQL warehouse. Supported permissions are: CAN_MANAGE,CAN_USE,IS_OWNER.
Import
This resource can be imported by name:
hcl
import {
to = databricks_app.this
id = “<app_name>”
}
or using the terraform CLI:
bash
$ pulumi import databricks:index/app:App this <app_name>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- databricks pulumi/pulumi-databricks
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the databricksTerraform Provider.