public interface InstanceProfilesService
| Modifier and Type | Method and Description |
|---|---|
void |
add(String instanceProfileArn)
Registers an instance profile in Databricks.
|
void |
add(String instanceProfileArn,
boolean skipValidation)
Registers an instance profile in Databricks.
|
boolean |
exists(String instanceProfileArn)
Checks if the instance profile is registered.
|
InstanceProfileDTO[] |
list()
Lists the instance profiles that the calling user can use to launch a cluster.
|
void |
remove(String instanceProfileArn)
Removes the instance profile with the provided ARN.
|
void add(String instanceProfileArn) throws IOException, DatabricksRestException
instanceProfileArn - the AWS ARN of the instance profile to registerIOException - other connection errorsDatabricksRestException - any errors with the requestvoid add(String instanceProfileArn, boolean skipValidation) throws IOException, DatabricksRestException
instanceProfileArn - the AWS ARN of the instance profile to registerskipValidation - skip validation that profile has sufficient permissions to launch instancesIOException - other connection errorsDatabricksRestException - any errors with the requestInstanceProfileDTO[] list() throws IOException, DatabricksRestException
IOException - other connection errorsDatabricksRestException - any errors with the requestvoid remove(String instanceProfileArn) throws IOException, DatabricksRestException
instanceProfileArn - the arn of the instance profile to removeIOException - other connection errorsDatabricksRestException - any errors with the requestboolean exists(String instanceProfileArn) throws IOException, DatabricksRestException
instanceProfileArn - arn of the instance profile to checkIOException - other connection errorsDatabricksRestException - any errors with the requestCopyright © 2023. All rights reserved.