a.settings.personal_compute: Personal Compute Enablement

class databricks.sdk.service.settings.PersonalComputeAPI

The Personal Compute enablement setting lets you control which users can use the Personal Compute default policy to create compute resources. By default all users in all workspaces have access (ON), but you can change the setting to instead let individual workspaces configure access control (DELEGATE).

There is only one instance of this setting per account. Since this setting has a default value, this setting is present on all accounts even though it’s never set on a given account. Deletion reverts the value of the setting back to the default value.

delete([, etag: Optional[str]]) DeletePersonalComputeSettingResponse

Delete Personal Compute setting.

Reverts back the Personal Compute setting value to default (ON)

Parameters:

etag – str (optional) etag used for versioning. The response is at least as fresh as the eTag provided. This is used for optimistic concurrency control as a way to help prevent simultaneous writes of a setting overwriting each other. It is strongly suggested that systems make use of the etag in the read -> delete pattern to perform setting deletions in order to avoid race conditions. That is, get an etag from a GET request, and pass it with the DELETE request to identify the rule set version you are deleting.

Returns:

DeletePersonalComputeSettingResponse

get([, etag: Optional[str]]) PersonalComputeSetting

Get Personal Compute setting.

Gets the value of the Personal Compute setting.

Parameters:

etag – str (optional) etag used for versioning. The response is at least as fresh as the eTag provided. This is used for optimistic concurrency control as a way to help prevent simultaneous writes of a setting overwriting each other. It is strongly suggested that systems make use of the etag in the read -> delete pattern to perform setting deletions in order to avoid race conditions. That is, get an etag from a GET request, and pass it with the DELETE request to identify the rule set version you are deleting.

Returns:

PersonalComputeSetting

update(allow_missing: bool, setting: PersonalComputeSetting, field_mask: str) PersonalComputeSetting

Update Personal Compute setting.

Updates the value of the Personal Compute setting.

Parameters:
  • allow_missing – bool This should always be set to true for Settings API. Added for AIP compliance.

  • settingPersonalComputeSetting

  • field_mask – str Field mask is required to be passed into the PATCH request. Field mask specifies which fields of the setting payload will be updated. The field mask needs to be supplied as single string. To specify multiple fields in the field mask, use comma as the separator (no space).

Returns:

PersonalComputeSetting