schemata
Creates, updates, deletes, gets or lists a schemata
resource.
Overview
Name | schemata |
Type | Resource |
Id | azure.log_analytics.schemata |
Fields
The following fields are returned by SELECT
queries:
- get
OK response definition.
Name | Datatype | Description |
---|---|---|
name | string | The name of the schema. |
displayName | string | The display name of the schema. |
facet | boolean | The boolean that indicates whether or not the field is a facet. |
indexed | boolean | The boolean that indicates the field is searchable as free text. |
ownerType | array | The array of workflows containing the field. |
stored | boolean | The boolean that indicates whether or not the field is stored. |
type | string | The type. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | resourceGroupName , workspaceName , subscriptionId | Gets the schema for a given workspace. |
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 |
---|---|---|
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
subscriptionId | string | The ID of the target subscription. |
workspaceName | string | The name of the workspace. |
SELECT
examples
- get
Gets the schema for a given workspace.
SELECT
name,
displayName,
facet,
indexed,
ownerType,
stored,
type
FROM azure.log_analytics.schemata
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND workspaceName = '{{ workspaceName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;