com.databricks.sdk.service.apps.AppsService Maven / Gradle / Ivy
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
package com.databricks.sdk.service.apps;
import com.databricks.sdk.support.Generated;
/**
* 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 is the high-level interface, that contains generated methods.
*
*
Evolving: this interface is under development. Method signatures may change.
*/
@Generated
public interface AppsService {
/**
* Create an app.
*
*
Creates a new app.
*/
App create(CreateAppRequest createAppRequest);
/**
* Delete an app.
*
*
Deletes an app.
*/
void delete(DeleteAppRequest deleteAppRequest);
/**
* Create an app deployment.
*
*
Creates an app deployment for the app with the supplied name.
*/
AppDeployment deploy(CreateAppDeploymentRequest createAppDeploymentRequest);
/**
* Get an app.
*
*
Retrieves information for the app with the supplied name.
*/
App get(GetAppRequest getAppRequest);
/**
* Get an app deployment.
*
*
Retrieves information for the app deployment with the supplied name and deployment id.
*/
AppDeployment getDeployment(GetAppDeploymentRequest getAppDeploymentRequest);
/**
* Get app permission levels.
*
*
Gets the permission levels that a user can have on an object.
*/
GetAppPermissionLevelsResponse getPermissionLevels(
GetAppPermissionLevelsRequest getAppPermissionLevelsRequest);
/**
* Get app permissions.
*
*
Gets the permissions of an app. Apps can inherit permissions from their root object.
*/
AppPermissions getPermissions(GetAppPermissionsRequest getAppPermissionsRequest);
/**
* List apps.
*
*
Lists all apps in the workspace.
*/
ListAppsResponse list(ListAppsRequest listAppsRequest);
/**
* List app deployments.
*
*
Lists all app deployments for the app with the supplied name.
*/
ListAppDeploymentsResponse listDeployments(ListAppDeploymentsRequest listAppDeploymentsRequest);
/**
* Set app permissions.
*
*
Sets permissions on an app. Apps can inherit permissions from their root object.
*/
AppPermissions setPermissions(AppPermissionsRequest appPermissionsRequest);
/**
* Start an app.
*
*
Start the last active deployment of the app in the workspace.
*/
AppDeployment start(StartAppRequest startAppRequest);
/**
* Stop an app.
*
*
Stops the active deployment of the app in the workspace.
*/
void stop(StopAppRequest stopAppRequest);
/**
* Update an app.
*
*
Updates the app with the supplied name.
*/
App update(UpdateAppRequest updateAppRequest);
/**
* Update app permissions.
*
*
Updates the permissions on an app. Apps can inherit permissions from their root object.
*/
AppPermissions updatePermissions(AppPermissionsRequest appPermissionsRequest);
}