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,
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)
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<App
Resource> - 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
[]App
Resource Args - 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<App
Resource> - 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
App
Resource[] - 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[App
Resource Args] - 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:
- Active
Deployment AppActive Deployment - App
Status AppApp Status - attribute
- Compute
Status AppCompute 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- Pending
Deployment AppPending 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.
- Active
Deployment AppActive Deployment - App
Status AppApp Status - attribute
- Compute
Status AppCompute 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- Pending
Deployment AppPending 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.
- active
Deployment AppActive Deployment - app
Status AppApp Status - attribute
- compute
Status AppCompute 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.
- id String
- The provider-assigned unique ID for this managed resource.
- pending
Deployment AppPending 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.
- active
Deployment AppActive Deployment - app
Status AppApp Status - attribute
- compute
Status AppCompute 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.
- id string
- The provider-assigned unique ID for this managed resource.
- pending
Deployment AppPending 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.
- 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.
- 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.
- 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.
- id String
- The provider-assigned unique ID for this managed resource.
- 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.
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.
- Active
Deployment AppActive Deployment - App
Status AppApp Status - attribute
- Compute
Status AppCompute 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.
- 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.
- Pending
Deployment AppPending Deployment - Resources
List<App
Resource> - A list of resources that the app have access to.
- 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.
- Active
Deployment AppActive Deployment Args - App
Status AppApp Status Args - attribute
- Compute
Status AppCompute Status Args - 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.
- 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.
- Pending
Deployment AppPending Deployment Args - Resources
[]App
Resource Args - A list of resources that the app have access to.
- 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.
- active
Deployment AppActive Deployment - app
Status AppApp Status - attribute
- compute
Status AppCompute 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.
- 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.
- pending
Deployment AppPending Deployment - resources
List<App
Resource> - A list of resources that the app have access to.
- 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.
- active
Deployment AppActive Deployment - app
Status AppApp Status - attribute
- compute
Status AppCompute 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.
- 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.
- pending
Deployment AppPending Deployment - resources
App
Resource[] - A list of resources that the app have access to.
- 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.
- active_
deployment AppActive Deployment Args - app_
status AppApp Status Args - attribute
- 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.
- 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 AppPending Deployment Args - resources
Sequence[App
Resource 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.
- 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.
- 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.
- pending
Deployment Property Map - resources List<Property Map>
- A list of resources that the app have access to.
- 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.
Supporting Types
AppActiveDeployment, AppActiveDeploymentArgs
- Create
Time string - The creation time of the app.
- Creator string
- The email of the user that created the app.
- Deployment
Artifacts AppActive Deployment Deployment Artifacts - Deployment
Id string - Mode string
- Source
Code stringPath - Status
App
Active Deployment Status - Update
Time string - The update time of the app.
- Create
Time string - The creation time of the app.
- Creator string
- The email of the user that created the app.
- Deployment
Artifacts AppActive Deployment Deployment Artifacts - Deployment
Id string - Mode string
- Source
Code stringPath - Status
App
Active Deployment Status - Update
Time string - The update time of the app.
- create
Time String - The creation time of the app.
- creator String
- The email of the user that created the app.
- deployment
Artifacts AppActive Deployment Deployment Artifacts - deployment
Id String - mode String
- source
Code StringPath - status
App
Active Deployment Status - update
Time String - The update time of the app.
- create
Time string - The creation time of the app.
- creator string
- The email of the user that created the app.
- deployment
Artifacts AppActive Deployment Deployment Artifacts - deployment
Id string - mode string
- source
Code stringPath - status
App
Active Deployment Status - update
Time 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
App
Active Deployment Status - update_
time str - The update time of the app.
- create
Time String - The creation time of the app.
- creator String
- The email of the user that created the app.
- deployment
Artifacts Property Map - deployment
Id String - mode String
- source
Code StringPath - status Property Map
- update
Time String - The update time of the app.
AppActiveDeploymentDeploymentArtifacts, AppActiveDeploymentDeploymentArtifactsArgs
- Source
Code stringPath
- Source
Code stringPath
- source
Code StringPath
- source
Code stringPath
- source_
code_ strpath
- source
Code StringPath
AppActiveDeploymentStatus, AppActiveDeploymentStatusArgs
AppAppStatus, AppAppStatusArgs
AppComputeStatus, AppComputeStatusArgs
AppPendingDeployment, AppPendingDeploymentArgs
- Create
Time string - The creation time of the app.
- Creator string
- The email of the user that created the app.
- Deployment
Artifacts AppPending Deployment Deployment Artifacts - Deployment
Id string - Mode string
- Source
Code stringPath - Status
App
Pending Deployment Status - Update
Time string - The update time of the app.
- Create
Time string - The creation time of the app.
- Creator string
- The email of the user that created the app.
- Deployment
Artifacts AppPending Deployment Deployment Artifacts - Deployment
Id string - Mode string
- Source
Code stringPath - Status
App
Pending Deployment Status - Update
Time string - The update time of the app.
- create
Time String - The creation time of the app.
- creator String
- The email of the user that created the app.
- deployment
Artifacts AppPending Deployment Deployment Artifacts - deployment
Id String - mode String
- source
Code StringPath - status
App
Pending Deployment Status - update
Time String - The update time of the app.
- create
Time string - The creation time of the app.
- creator string
- The email of the user that created the app.
- deployment
Artifacts AppPending Deployment Deployment Artifacts - deployment
Id string - mode string
- source
Code stringPath - status
App
Pending Deployment Status - update
Time 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
App
Pending Deployment Status - update_
time str - The update time of the app.
- create
Time String - The creation time of the app.
- creator String
- The email of the user that created the app.
- deployment
Artifacts Property Map - deployment
Id String - mode String
- source
Code StringPath - status Property Map
- update
Time String - The update time of the app.
AppPendingDeploymentDeploymentArtifacts, AppPendingDeploymentDeploymentArtifactsArgs
- Source
Code stringPath
- Source
Code stringPath
- source
Code StringPath
- source
Code stringPath
- source_
code_ strpath
- source
Code 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
App
Resource Job - attribute
- Secret
App
Resource 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
App
Resource Job - attribute
- Secret
App
Resource 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
App
Resource Job - attribute
- secret
App
Resource 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
App
Resource Job - attribute
- secret
App
Resource Secret - attribute
- serving
Endpoint AppResource Serving Endpoint - attribute
- sql
Warehouse 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
App
Resource Job - attribute
- secret
App
Resource 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
- serving
Endpoint Property Map - attribute
- sql
Warehouse 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.