Get-FabricReflex
Retrieves Reflex details from a specified Microsoft Fabric workspace.
Syntax
Get-FabricReflex [-WorkspaceId] <guid> [[-ReflexId] <guid>] [[-ReflexName] <string>]
[<CommonParameters>]Description
This function retrieves Reflex details from a specified workspace using either the provided ReflexId or ReflexName. It handles token validation, constructs the API URL, makes the API request, and processes the response.
Aliases: Get-FabricActivator
Examples
Example 1
This example retrieves the Reflex details for the Reflex with ID "Reflex-67890" in the workspace with ID "workspace-12345".
Get-FabricReflex -WorkspaceId "workspace-12345" -ReflexId "Reflex-67890"Example 2
This example retrieves the Reflex details for the Reflex named "My Reflex" in the workspace with ID "workspace-12345".
Get-FabricReflex -WorkspaceId "workspace-12345" -ReflexName "My Reflex"Parameters
| Name | Type | Req. | Pos. | Pipeline | Description |
|---|---|---|---|---|---|
| -WorkspaceId | guid | ✓Required | 0 | – | The unique identifier of the workspace where the Reflex exists. This parameter is mandatory. |
| -ReflexId | guid | 1 | – | The unique identifier of the Reflex to retrieve. This parameter is optional. |
|
| -ReflexName | string | 2 | – | The name of the Reflex to retrieve. This parameter is optional. |
This cmdlet also supports the common parameters, such as -Verbose and -ErrorAction. See about_CommonParameters.
Notes
- Requires
$FabricConfigglobal configuration, includingBaseUrlandFabricHeaders. - Calls
Confirm-TokenStateto ensure token validity before making the API request.
Author: Tiago Balabuch, Kamil Nowinski