FabricTools v0.33.0 Public Preview

Get-FabricEnvironmentStagingSparkCompute

Retrieves staging Spark compute details for a specific environment in a Microsoft Fabric workspace.

Syntax

Get-FabricEnvironmentStagingSparkCompute [-WorkspaceId] <guid> [-EnvironmentId] <guid>
 [<CommonParameters>]

Description

The Get-FabricEnvironmentStagingSparkCompute function interacts with the Microsoft Fabric API to fetch information about staging Spark compute configurations for a specified environment. It ensures token validity and handles API errors gracefully.

Examples

Example 1

Retrieves the staging Spark compute configurations for the specified environment in the given workspace.

Get-FabricEnvironmentStagingSparkCompute -WorkspaceId "workspace-12345" -EnvironmentId "environment-67890"

Parameters

NameTypeReq.Pos.PipelineDescription
-EnvironmentId guid ✓Required 1 –

The unique identifier of the environment for which staging Spark compute details are being retrieved.

-WorkspaceId guid ✓Required 0 –

The unique identifier of the workspace containing the target environment.

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

Notes

  • Uses Confirm-TokenState to validate the token before making API calls.

Author: Tiago Balabuch, Kamil Nowinski