Package com.databricks.sdk.service.iam
Interface AccountServicePrincipalsService
-
@Generated public interface AccountServicePrincipalsService
Identities for use with jobs, automated tools, and systems such as scripts, apps, and CI/CD platforms. Databricks recommends creating service principals to run production jobs or modify production data. If all processes that act on production data run with service principals, interactive users do not need any write, delete, or modify privileges in production. This eliminates the risk of a user overwriting production data by accident.This is the high-level interface, that contains generated methods.
Evolving: this interface is under development. Method signatures may change.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ServicePrincipal
create(ServicePrincipal servicePrincipal)
Create a service principal.void
delete(DeleteAccountServicePrincipalRequest deleteAccountServicePrincipalRequest)
Delete a service principal.ServicePrincipal
get(GetAccountServicePrincipalRequest getAccountServicePrincipalRequest)
Get service principal details.ListServicePrincipalResponse
list(ListAccountServicePrincipalsRequest listAccountServicePrincipalsRequest)
List service principals.void
patch(PartialUpdate partialUpdate)
Update service principal details.void
update(ServicePrincipal servicePrincipal)
Replace service principal.
-
-
-
Method Detail
-
create
ServicePrincipal create(ServicePrincipal servicePrincipal)
Create a service principal.Creates a new service principal in the Databricks Account.
-
delete
void delete(DeleteAccountServicePrincipalRequest deleteAccountServicePrincipalRequest)
Delete a service principal.Delete a single service principal in the Databricks Account.
-
get
ServicePrincipal get(GetAccountServicePrincipalRequest getAccountServicePrincipalRequest)
Get service principal details.Gets the details for a single service principal define in the Databricks Account.
-
list
ListServicePrincipalResponse list(ListAccountServicePrincipalsRequest listAccountServicePrincipalsRequest)
List service principals.Gets the set of service principals associated with a Databricks Account.
-
patch
void patch(PartialUpdate partialUpdate)
Update service principal details.Partially updates the details of a single service principal in the Databricks Account.
-
update
void update(ServicePrincipal servicePrincipal)
Replace service principal.Updates the details of a single service principal.
This action replaces the existing service principal with the same name.
-
-