memory_store_self_permission
Creates, updates, deletes, gets or lists a memory_store_self_permission resource.
Overview​
| Name | memory_store_self_permission |
| Type | Resource |
| Id | databricks_workspace.agentkit.memory_store_self_permission |
Fields​
The following fields are returned by SELECT queries:
- get
| Name | Datatype | Description |
|---|---|---|
permission | string | The permission level. WRITE includes READ; PERMISSION_LEVEL_UNSPECIFIED means neither is available. (READ, WRITE) |
principal | object | The principal whose permission is reported. |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | managed_memory_store_id, deployment_name, workspace_domain | Retrieves the current caller's effective memory store permission. Returns PERMISSION_LEVEL_UNSPECIFIED |
Parameters​
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
deployment_name | string | The Databricks workspace deployment name: the host prefix of the workspace URL (dbc-abcd0123-a1bc on AWS, adb-1234567890123456.7 on Azure, 1234567890123456.7 on GCP). Set DATABRICKS_DEPLOYMENT_NAME to default it for the session. (default: dbc-abcd0123-a1bc, x-stackQL-envVar: DATABRICKS_DEPLOYMENT_NAME) |
managed_memory_store_id | string | The managed_memory_store_id segment of the name resource name (memory-stores/{managed_memory_store_id}). Resource name in the form memory-stores/{managed_memory_store_id}. |
workspace_domain | string | The Databricks workspace domain suffix for the cloud. Selected by DATABRICKS_CLOUD (aws, azure or gcp; default aws). (default: cloud.databricks.com, x-stackQL-envVarSelector: {"envVar":"DATABRICKS_CLOUD","default":"aws","values":{"aws":"cloud.databricks.com","azure":"azuredatabricks.net","gcp":"gcp.databricks.com"}}) |
SELECT examples​
- get
Retrieves the current caller's effective memory store permission. Returns PERMISSION_LEVEL_UNSPECIFIED
SELECT
permission,
principal
FROM databricks_workspace.agentkit.memory_store_self_permission
WHERE managed_memory_store_id = '{{ managed_memory_store_id }}' -- required
AND deployment_name = '{{ deployment_name }}' -- required
AND workspace_domain = '{{ workspace_domain }}' -- required
;