@Generated public enum DataSecurityMode extends Enum<DataSecurityMode>
* `NONE`: No security isolation for multiple users sharing the cluster. Data governance features are not available in this mode. * `SINGLE_USER`: A secure cluster that can only be exclusively used by a single user specified in `single_user_name`. Most programming languages, cluster features and data governance features are available in this mode. * `USER_ISOLATION`: A secure cluster that can be shared by multiple users. Cluster users are fully isolated so that they cannot see each other's data and credentials. Most data governance features are supported in this mode. But programming languages and cluster features might be limited.
The following modes are deprecated starting with Databricks Runtime 15.0 and will be removed for future Databricks Runtime versions:
* `LEGACY_TABLE_ACL`: This mode is for users migrating from legacy Table ACL clusters. * `LEGACY_PASSTHROUGH`: This mode is for users migrating from legacy Passthrough on high concurrency clusters. * `LEGACY_SINGLE_USER`: This mode is for users migrating from legacy Passthrough on standard clusters.
Enum Constant and Description |
---|
LEGACY_PASSTHROUGH |
LEGACY_SINGLE_USER |
LEGACY_TABLE_ACL |
NONE |
SINGLE_USER |
USER_ISOLATION |
Modifier and Type | Method and Description |
---|---|
static DataSecurityMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataSecurityMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataSecurityMode LEGACY_PASSTHROUGH
public static final DataSecurityMode LEGACY_SINGLE_USER
public static final DataSecurityMode LEGACY_TABLE_ACL
public static final DataSecurityMode NONE
public static final DataSecurityMode SINGLE_USER
public static final DataSecurityMode USER_ISOLATION
public static DataSecurityMode[] values()
for (DataSecurityMode c : DataSecurityMode.values()) System.out.println(c);
public static DataSecurityMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2024. All rights reserved.