Update-FabricKQLQueryset
Updates the properties of a Fabric KQLQueryset.
Syntax
Update-FabricKQLQueryset [-WorkspaceId] <guid> [-KQLQuerysetId] <guid> [-KQLQuerysetName] <string>
[[-KQLQuerysetDescription] <string>] [-WhatIf] [-Confirm] [<CommonParameters>]Description
The Update-FabricKQLQueryset function updates the name and/or description of a specified Fabric KQLQueryset by making a PATCH request to the API.
Examples
Example 1
Updates the name of the KQLQueryset with the ID "KQLQueryset123" to "NewKQLQuerysetName".
Update-FabricKQLQueryset -KQLQuerysetId "KQLQueryset123" -KQLQuerysetName "NewKQLQuerysetName"Example 2
Updates both the name and description of the KQLQueryset "KQLQueryset123".
Update-FabricKQLQueryset -KQLQuerysetId "KQLQueryset123" -KQLQuerysetName "NewName" -KQLQuerysetDescription "Updated description"Parameters
| Name | Type | Req. | Pos. | Pipeline | Description |
|---|---|---|---|---|---|
| -KQLQuerysetId | guid | ✓Required | 1 | – | The unique identifier of the KQLQueryset to be updated. |
| -KQLQuerysetName | string | ✓Required | 2 | – | The new name for the KQLQueryset. |
| -WorkspaceId | guid | ✓Required | 0 | – | The unique identifier of the workspace where the KQLQueryset exists. |
| -Confirmalias: cf | switch | Named | – | Prompts you for confirmation before running the cmdlet. |
|
| -KQLQuerysetDescription | string | 3 | – | (Optional) The new description for the KQLQueryset. |
|
| -WhatIfalias: wi | switch | Named | – | Runs the command in a mode that only reports what would happen without performing the actions. |
This cmdlet also supports the common parameters, such as -Verbose and -ErrorAction. See about_CommonParameters.
Notes
- Calls
Confirm-TokenStateto ensure token validity before making the API request.
Author: Tiago Balabuch, Kamil Nowinski