FabricTools v0.33.0 Public Preview

Get-FabricReflexDefinition

Retrieves the definition of an Reflex from a specified Microsoft Fabric workspace.

Syntax

Get-FabricReflexDefinition [-WorkspaceId] <guid> [[-ReflexId] <guid>] [[-ReflexFormat] <string>]
 [<CommonParameters>]

Description

This function retrieves the definition of an Reflex from a specified workspace using the provided ReflexId. It handles token validation, constructs the API URL, makes the API request, and processes the response.

Aliases: Get-FabricActivatorDefinition

Examples

Example 1

This example retrieves the definition of the Reflex with ID "Reflex-67890" in the workspace with ID "workspace-12345".

Get-FabricReflexDefinition -WorkspaceId "workspace-12345" -ReflexId "Reflex-67890"

Example 2

This example retrieves the definition of the Reflex with ID "Reflex-67890" in the workspace with ID "workspace-12345" in JSON format.

Get-FabricReflexDefinition -WorkspaceId "workspace-12345" -ReflexId "Reflex-67890" -ReflexFormat "json"

Parameters

NameTypeReq.Pos.PipelineDescription
-WorkspaceId guid ✓Required 0 –

The unique identifier of the workspace where the Reflex exists. This parameter is mandatory.

-ReflexFormat string 2 –

The format in which to retrieve the Reflex definition. This parameter is optional.

-ReflexId guid 1 –

The unique identifier of the Reflex to retrieve the definition for. This parameter is optional.

This cmdlet also supports the common parameters, such as -Verbose and -ErrorAction. See about_CommonParameters.

Notes

  • Requires $FabricConfig global configuration, including BaseUrl and FabricHeaders.
  • Calls Confirm-TokenState to ensure token validity before making the API request.

Author: Tiago Balabuch, Kamil Nowinski