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
| Name | Type | Req. | Pos. | Pipeline | Description |
|---|---|---|---|---|---|
| -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-TokenStateto validate the token before making API calls.
Author: Tiago Balabuch, Kamil Nowinski