Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to: ✅ Azure Data Explorer
Alters an existing entity group and stores it inside the database metadata. For more information, see Entity groups.
Permissions
You must have at least Database Admin permissions to run this command.
Syntax
.alter
entity_group
EntityGroupName (
EntityReference [,
...])
Learn more about syntax conventions.
Parameters
Name | Type | Required | Description |
---|---|---|---|
EntityGroupName | string |
✔️ | The name of the entity group. |
EntityReference | string |
✔️ | An entity included in the entity group. |
Returns
This command returns a table with the following columns:
Output parameter | Type | Description |
---|---|---|
Name | string |
The name of the entity group. |
Entities | array |
An array which includes one or more entities. If the entity group doesn't exist, and the ifnotexists flag isn't specified, an error is returned. |
Examples
The following example alters MyEntityGroup
to include the entity, cluster('c1').database('d1')
.
.alter entity_group MyEntityGroup (cluster('c1').database('d1'))
Output
Name | Entities |
---|---|
MyEntityGroup | ["cluster('c1').database('d1')"] |