|
| 1 | +``w.settings.disable_legacy_access``: Disable Legacy Access |
| 2 | +=========================================================== |
| 3 | +.. currentmodule:: databricks.sdk.service.settings |
| 4 | + |
| 5 | +.. py:class:: DisableLegacyAccessAPI |
| 6 | +
|
| 7 | + 'Disabling legacy access' has the following impacts: |
| 8 | + |
| 9 | + 1. Disables direct access to the Hive Metastore. However, you can still access Hive Metastore through HMS |
| 10 | + Federation. 2. Disables Fallback Mode (docs link) on any External Location access from the workspace. 3. |
| 11 | + Alters DBFS path access to use External Location permissions in place of legacy credentials. 4. Enforces |
| 12 | + Unity Catalog access on all path based access. |
| 13 | + |
| 14 | + .. py:method:: delete( [, etag: Optional[str]]) -> DeleteDisableLegacyAccessResponse |
| 15 | +
|
| 16 | + Delete Legacy Access Disablement Status. |
| 17 | + |
| 18 | + Deletes legacy access disablement status. |
| 19 | + |
| 20 | + :param etag: str (optional) |
| 21 | + etag used for versioning. The response is at least as fresh as the eTag provided. This is used for |
| 22 | + optimistic concurrency control as a way to help prevent simultaneous writes of a setting overwriting |
| 23 | + each other. It is strongly suggested that systems make use of the etag in the read -> delete pattern |
| 24 | + to perform setting deletions in order to avoid race conditions. That is, get an etag from a GET |
| 25 | + request, and pass it with the DELETE request to identify the rule set version you are deleting. |
| 26 | + |
| 27 | + :returns: :class:`DeleteDisableLegacyAccessResponse` |
| 28 | + |
| 29 | + |
| 30 | + .. py:method:: get( [, etag: Optional[str]]) -> DisableLegacyAccess |
| 31 | +
|
| 32 | + Retrieve Legacy Access Disablement Status. |
| 33 | + |
| 34 | + Retrieves legacy access disablement Status. |
| 35 | + |
| 36 | + :param etag: str (optional) |
| 37 | + etag used for versioning. The response is at least as fresh as the eTag provided. This is used for |
| 38 | + optimistic concurrency control as a way to help prevent simultaneous writes of a setting overwriting |
| 39 | + each other. It is strongly suggested that systems make use of the etag in the read -> delete pattern |
| 40 | + to perform setting deletions in order to avoid race conditions. That is, get an etag from a GET |
| 41 | + request, and pass it with the DELETE request to identify the rule set version you are deleting. |
| 42 | + |
| 43 | + :returns: :class:`DisableLegacyAccess` |
| 44 | + |
| 45 | + |
| 46 | + .. py:method:: update(allow_missing: bool, setting: DisableLegacyAccess, field_mask: str) -> DisableLegacyAccess |
| 47 | +
|
| 48 | + Update Legacy Access Disablement Status. |
| 49 | + |
| 50 | + Updates legacy access disablement status. |
| 51 | + |
| 52 | + :param allow_missing: bool |
| 53 | + This should always be set to true for Settings API. Added for AIP compliance. |
| 54 | + :param setting: :class:`DisableLegacyAccess` |
| 55 | + :param field_mask: str |
| 56 | + Field mask is required to be passed into the PATCH request. Field mask specifies which fields of the |
| 57 | + setting payload will be updated. The field mask needs to be supplied as single string. To specify |
| 58 | + multiple fields in the field mask, use comma as the separator (no space). |
| 59 | + |
| 60 | + :returns: :class:`DisableLegacyAccess` |
| 61 | + |
0 commit comments