1. Packages
  2. Databricks Provider
  3. API Docs
  4. App
Databricks v1.57.1 published on Friday, Jan 10, 2025 by Pulumi

databricks.App

Explore with Pulumi AI

databricks logo
Databricks v1.57.1 published on Friday, Jan 10, 2025 by Pulumi

    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
    

    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,
            description: Optional[str] = None,
            name: Optional[str] = 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)
    public App(String name, AppArgs args)
    public App(String name, AppArgs args, CustomResourceOptions options)
    
    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()
    {
        Description = "string",
        Name = "string",
        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{
    	Description: pulumi.String("string"),
    	Name:        pulumi.String("string"),
    	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()
        .description("string")
        .name("string")
        .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",
        description="string",
        name="string",
        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", {
        description: "string",
        name: "string",
        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:
        description: string
        name: string
        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:

    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.
    Resources List<AppResource>
    A list of resources that the app have access to.
    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.
    Resources []AppResourceArgs
    A list of resources that the app have access to.
    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.
    resources List<AppResource>
    A list of resources that the app have access to.
    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.
    resources AppResource[]
    A list of resources that the app have access to.
    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.
    resources Sequence[AppResourceArgs]
    A list of resources that the app have access to.
    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.
    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 AppActiveDeployment
    AppStatus AppAppStatus
    attribute
    ComputeStatus AppComputeStatus
    attribute
    CreateTime string
    The creation time of the app.
    Creator string
    The email of the user that created the app.
    DefaultSourceCodePath string
    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.
    Id string
    The provider-assigned unique ID for this managed resource.
    PendingDeployment AppPendingDeployment
    ServicePrincipalClientId string
    ServicePrincipalId int
    id of the app service principal
    ServicePrincipalName string
    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 AppActiveDeployment
    AppStatus AppAppStatus
    attribute
    ComputeStatus AppComputeStatus
    attribute
    CreateTime string
    The creation time of the app.
    Creator string
    The email of the user that created the app.
    DefaultSourceCodePath string
    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.
    Id string
    The provider-assigned unique ID for this managed resource.
    PendingDeployment AppPendingDeployment
    ServicePrincipalClientId string
    ServicePrincipalId int
    id of the app service principal
    ServicePrincipalName string
    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 AppActiveDeployment
    appStatus AppAppStatus
    attribute
    computeStatus AppComputeStatus
    attribute
    createTime String
    The creation time of the app.
    creator String
    The email of the user that created the app.
    defaultSourceCodePath String
    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.
    id String
    The provider-assigned unique ID for this managed resource.
    pendingDeployment AppPendingDeployment
    servicePrincipalClientId String
    servicePrincipalId Integer
    id of the app service principal
    servicePrincipalName String
    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 AppActiveDeployment
    appStatus AppAppStatus
    attribute
    computeStatus AppComputeStatus
    attribute
    createTime string
    The creation time of the app.
    creator string
    The email of the user that created the app.
    defaultSourceCodePath string
    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.
    id string
    The provider-assigned unique ID for this managed resource.
    pendingDeployment AppPendingDeployment
    servicePrincipalClientId string
    servicePrincipalId number
    id of the app service principal
    servicePrincipalName string
    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 AppActiveDeployment
    app_status AppAppStatus
    attribute
    compute_status AppComputeStatus
    attribute
    create_time str
    The creation time of the app.
    creator str
    The email of the user that created the app.
    default_source_code_path str
    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.
    id str
    The provider-assigned unique ID for this managed resource.
    pending_deployment AppPendingDeployment
    service_principal_client_id str
    service_principal_id int
    id of the app service principal
    service_principal_name str
    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.
    defaultSourceCodePath String
    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.
    id String
    The provider-assigned unique ID for this managed resource.
    pendingDeployment Property Map
    servicePrincipalClientId String
    servicePrincipalId Number
    id of the app service principal
    servicePrincipalName String
    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,
            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,
            name: Optional[str] = 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) -> App
    func 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)
    Resource lookup is not supported in YAML
    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.
    The following state arguments are supported:
    ActiveDeployment AppActiveDeployment
    AppStatus AppAppStatus
    attribute
    ComputeStatus AppComputeStatus
    attribute
    CreateTime string
    The creation time of the app.
    Creator string
    The email of the user that created the app.
    DefaultSourceCodePath string
    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.
    Name string
    The name of the app. The name must contain only lowercase alphanumeric characters and hyphens. It must be unique within the workspace.
    PendingDeployment AppPendingDeployment
    Resources List<AppResource>
    A list of resources that the app have access to.
    ServicePrincipalClientId string
    ServicePrincipalId int
    id of the app service principal
    ServicePrincipalName string
    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 AppActiveDeploymentArgs
    AppStatus AppAppStatusArgs
    attribute
    ComputeStatus AppComputeStatusArgs
    attribute
    CreateTime string
    The creation time of the app.
    Creator string
    The email of the user that created the app.
    DefaultSourceCodePath string
    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.
    Name string
    The name of the app. The name must contain only lowercase alphanumeric characters and hyphens. It must be unique within the workspace.
    PendingDeployment AppPendingDeploymentArgs
    Resources []AppResourceArgs
    A list of resources that the app have access to.
    ServicePrincipalClientId string
    ServicePrincipalId int
    id of the app service principal
    ServicePrincipalName string
    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 AppActiveDeployment
    appStatus AppAppStatus
    attribute
    computeStatus AppComputeStatus
    attribute
    createTime String
    The creation time of the app.
    creator String
    The email of the user that created the app.
    defaultSourceCodePath String
    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.
    name String
    The name of the app. The name must contain only lowercase alphanumeric characters and hyphens. It must be unique within the workspace.
    pendingDeployment AppPendingDeployment
    resources List<AppResource>
    A list of resources that the app have access to.
    servicePrincipalClientId String
    servicePrincipalId Integer
    id of the app service principal
    servicePrincipalName String
    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 AppActiveDeployment
    appStatus AppAppStatus
    attribute
    computeStatus AppComputeStatus
    attribute
    createTime string
    The creation time of the app.
    creator string
    The email of the user that created the app.
    defaultSourceCodePath string
    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.
    name string
    The name of the app. The name must contain only lowercase alphanumeric characters and hyphens. It must be unique within the workspace.
    pendingDeployment AppPendingDeployment
    resources AppResource[]
    A list of resources that the app have access to.
    servicePrincipalClientId string
    servicePrincipalId number
    id of the app service principal
    servicePrincipalName string
    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 AppActiveDeploymentArgs
    app_status AppAppStatusArgs
    attribute
    compute_status AppComputeStatusArgs
    attribute
    create_time str
    The creation time of the app.
    creator str
    The email of the user that created the app.
    default_source_code_path str
    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.
    name str
    The name of the app. The name must contain only lowercase alphanumeric characters and hyphens. It must be unique within the workspace.
    pending_deployment AppPendingDeploymentArgs
    resources Sequence[AppResourceArgs]
    A list of resources that the app have access to.
    service_principal_client_id str
    service_principal_id int
    id of the app service principal
    service_principal_name str
    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.
    defaultSourceCodePath String
    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.
    name String
    The name of the app. The name must contain only lowercase alphanumeric characters and hyphens. It must be unique within the workspace.
    pendingDeployment Property Map
    resources List<Property Map>
    A list of resources that the app have access to.
    servicePrincipalClientId String
    servicePrincipalId Number
    id of the app service principal
    servicePrincipalName String
    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 AppActiveDeploymentDeploymentArtifacts
    DeploymentId string
    Mode string
    SourceCodePath string
    Status AppActiveDeploymentStatus
    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 AppActiveDeploymentDeploymentArtifacts
    DeploymentId string
    Mode string
    SourceCodePath string
    Status AppActiveDeploymentStatus
    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 AppActiveDeploymentDeploymentArtifacts
    deploymentId String
    mode String
    sourceCodePath String
    status AppActiveDeploymentStatus
    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 AppActiveDeploymentDeploymentArtifacts
    deploymentId string
    mode string
    sourceCodePath string
    status AppActiveDeploymentStatus
    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 AppActiveDeploymentDeploymentArtifacts
    deployment_id str
    mode str
    source_code_path str
    status AppActiveDeploymentStatus
    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
    sourceCodePath String
    status Property Map
    updateTime String
    The update time of the app.

    AppActiveDeploymentDeploymentArtifacts, AppActiveDeploymentDeploymentArtifactsArgs

    AppActiveDeploymentStatus, AppActiveDeploymentStatusArgs

    Message string
    Application status message
    State string
    State of the application.
    Message string
    Application status message
    State string
    State of the application.
    message String
    Application status message
    state String
    State of the application.
    message string
    Application status message
    state string
    State of the application.
    message str
    Application status message
    state str
    State of the application.
    message String
    Application status message
    state String
    State of the application.

    AppAppStatus, AppAppStatusArgs

    Message string
    Application status message
    State string
    State of the application.
    Message string
    Application status message
    State string
    State of the application.
    message String
    Application status message
    state String
    State of the application.
    message string
    Application status message
    state string
    State of the application.
    message str
    Application status message
    state str
    State of the application.
    message String
    Application status message
    state String
    State of the application.

    AppComputeStatus, AppComputeStatusArgs

    Message string
    Application status message
    State string
    State of the application.
    Message string
    Application status message
    State string
    State of the application.
    message String
    Application status message
    state String
    State of the application.
    message string
    Application status message
    state string
    State of the application.
    message str
    Application status message
    state str
    State of the application.
    message String
    Application status message
    state String
    State of the application.

    AppPendingDeployment, AppPendingDeploymentArgs

    CreateTime string
    The creation time of the app.
    Creator string
    The email of the user that created the app.
    DeploymentArtifacts AppPendingDeploymentDeploymentArtifacts
    DeploymentId string
    Mode string
    SourceCodePath string
    Status AppPendingDeploymentStatus
    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 AppPendingDeploymentDeploymentArtifacts
    DeploymentId string
    Mode string
    SourceCodePath string
    Status AppPendingDeploymentStatus
    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 AppPendingDeploymentDeploymentArtifacts
    deploymentId String
    mode String
    sourceCodePath String
    status AppPendingDeploymentStatus
    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 AppPendingDeploymentDeploymentArtifacts
    deploymentId string
    mode string
    sourceCodePath string
    status AppPendingDeploymentStatus
    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 AppPendingDeploymentDeploymentArtifacts
    deployment_id str
    mode str
    source_code_path str
    status AppPendingDeploymentStatus
    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
    sourceCodePath String
    status Property Map
    updateTime String
    The update time of the app.

    AppPendingDeploymentDeploymentArtifacts, AppPendingDeploymentDeploymentArtifactsArgs

    AppPendingDeploymentStatus, AppPendingDeploymentStatusArgs

    Message string
    Application status message
    State string
    State of the application.
    Message string
    Application status message
    State string
    State of the application.
    message String
    Application status message
    state String
    State of the application.
    message string
    Application status message
    state string
    State of the application.
    message str
    Application status message
    state str
    State of the application.
    message String
    Application status message
    state String
    State of the application.

    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 AppResourceJob
    attribute
    Secret AppResourceSecret
    attribute
    ServingEndpoint AppResourceServingEndpoint
    attribute
    SqlWarehouse AppResourceSqlWarehouse
    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 AppResourceJob
    attribute
    Secret AppResourceSecret
    attribute
    ServingEndpoint AppResourceServingEndpoint
    attribute
    SqlWarehouse AppResourceSqlWarehouse
    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 AppResourceJob
    attribute
    secret AppResourceSecret
    attribute
    servingEndpoint AppResourceServingEndpoint
    attribute
    sqlWarehouse AppResourceSqlWarehouse
    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 AppResourceJob
    attribute
    secret AppResourceSecret
    attribute
    servingEndpoint AppResourceServingEndpoint
    attribute
    sqlWarehouse AppResourceSqlWarehouse
    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 AppResourceJob
    attribute
    secret AppResourceSecret
    attribute
    serving_endpoint AppResourceServingEndpoint
    attribute
    sql_warehouse AppResourceSqlWarehouse
    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 databricks Terraform Provider.
    databricks logo
    Databricks v1.57.1 published on Friday, Jan 10, 2025 by Pulumi