Get-DataGatewayClusterDatasourceStatus

Checks the connectivity status of the specified datasource from the specified cluster

Syntax

Get-DataGatewayClusterDatasourceStatus
   [-Scope <PowerBIUserScope>]
   -GatewayClusterId <Guid>
   -GatewayClusterDatasourceId <Guid>
   [-Environment <PowerBIEnvironmentType>]
   [<CommonParameters>]

Description

Checks the connectivity status of the specified datasource from the specified cluster

Examples

Example 1

PS C:\> Get-DataGatewayClusterDatasourceStatus -GatewayClusterId DC8F2C49-5731-4B27-966B-3DB5094C2E77 -GatewayClusterDatasourceId 64C574B7-86C6-4560-B710-40AC18990804

Gets the status of a Power BI single datasource on the cluster

Parameters

-Environment

Cloud environment to use. Default is Public.

Type:PowerBIEnvironmentType
Accepted values:Public, Germany, USGov, China, USGovHigh, USGovMil
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-GatewayClusterDatasourceId

Power BI Data source for which status is being fetched

Type:Guid
Aliases:DatasourceId, Datasource
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-GatewayClusterId

Gateway cluster where the specific data source exists

Type:Guid
Aliases:Cluster, Id
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Scope

Security Scope to run the command. This would determine if you are running this command in the scope of a Tenant/Service admin or a Gateway Admin. PowerShell for data sources only support the "Individual" value currently.

Type:PowerBIUserScope
Accepted values:Individual, Organization
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

Microsoft.PowerBI.DataMovement.ExternalContracts.API.ClusterDatasourceStatus