Update-FabricEventhouse
Updates an existing Eventhouse in a specified Microsoft Fabric workspace.
Syntax
Update-FabricEventhouse [-WorkspaceId] <guid> [-EventhouseId] <guid> [-EventhouseName] <string>
[[-EventhouseDescription] <string>] [-WhatIf] [-Confirm] [<CommonParameters>]Description
This function sends a PATCH request to the Microsoft Fabric API to update an existing Eventhouse in the specified workspace. It supports optional parameters for Eventhouse description.
Examples
Example 1
This example updates the Eventhouse with ID "eventhouse-67890" in the workspace with ID "workspace-12345" with a new name and description.
Update-FabricEventhouse -WorkspaceId "workspace-12345" -EventhouseId "eventhouse-67890" -EventhouseName "Updated Eventhouse" -EventhouseDescription "Updated description"Parameters
| Name | Type | Req. | Pos. | Pipeline | Description |
|---|---|---|---|---|---|
| -EventhouseId | guid | ✓Required | 1 | – | The unique identifier of the Eventhouse to be updated. This parameter is mandatory. |
| -EventhouseName | string | ✓Required | 2 | – | The new name of the Eventhouse. This parameter is mandatory. |
| -WorkspaceId | guid | ✓Required | 0 | – | The unique identifier of the workspace where the Eventhouse exists. This parameter is optional. |
| -Confirmalias: cf | switch | Named | – | Prompts you for confirmation before running the cmdlet. |
|
| -EventhouseDescription | string | 3 | – | An optional new description for the Eventhouse. |
|
| -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