discovery
Creates, updates, deletes, gets or lists a discovery resource.
Overview
| Name | discovery |
| Type | Resource |
| Id | azure.purview_data_map.discovery |
Fields
The following fields are returned by SELECT queries:
- query
| Name | Datatype | Description |
|---|---|---|
@search | object | |
continuationToken | string | The token used to get next batch of data. Absent if there's no more data. |
value | array | Search result value. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
query | select | endpoint | Get data using search. | |
suggest | exec | endpoint | Get search suggestions by query criteria. | |
auto_complete | exec | endpoint | Get auto complete options. |
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 |
|---|---|---|
endpoint | string | The service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client endpoint parameter. (default: ) |
SELECT examples
- query
Get data using search.
SELECT
@search,
continuationToken,
value
FROM azure.purview_data_map.discovery
WHERE endpoint = '{{ endpoint }}' -- required
;
Lifecycle Methods
- suggest
- auto_complete
Get search suggestions by query criteria.
EXEC azure.purview_data_map.discovery.suggest
@endpoint='{{ endpoint }}' --required
@@json=
'{
"keywords": "{{ keywords }}",
"limit": {{ limit }},
"filter": "{{ filter }}"
}'
;
Get auto complete options.
EXEC azure.purview_data_map.discovery.auto_complete
@endpoint='{{ endpoint }}' --required
@@json=
'{
"keywords": "{{ keywords }}",
"limit": {{ limit }},
"filter": "{{ filter }}"
}'
;