Get-DataGatewayClusterDatasource

获取用户作为管理员的网关群集的 Power BI 数据源。

语法

Default (默认值)

Get-DataGatewayClusterDatasource
    -GatewayClusterId <Guid>
    [-GatewayClusterDatasourceId <Guid>]
    [<CommonParameters>]

说明

从指定的网关群集获取指定 Power BI 数据源的详细信息

示例

示例 1

PS C:\> Get-DataGatewayClusterDatasource -GatewayClusterId DC8F2C49-5731-4B27-966B-3DB5094C2E77

获取指定网关群集上的所有数据源DC8F2C49-5731-4B27-966B-3DB5094C2E77

示例 2

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

获取网关群集 64C574B7-86C6-86C6-4560-4560-40AC18990804 上指定数据源 ID DC8F2C49-5731-4B27-966B-3DB5094C2E77 的详细信息

示例 3

PS C:\> Get-DataGatewayCluster | Get-DataGatewayClusterDatasource

获取用户所属的所有网关群集中所有数据源的列表。

参数

-GatewayClusterDatasourceId

正在提取详细信息的数据源

参数属性

类型:Guid
默认值:None
支持通配符:False
不显示:False
别名:数据源ID (DatasourceId), Datasource

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-GatewayClusterId

要为其提取特定数据源或所有数据源的网关群集

参数属性

类型:Guid
默认值:None
支持通配符:False
不显示:False
别名:集群, Id

参数集

(All)
Position:Named
必需:True
来自管道的值:False
来自管道的值(按属性名称):True
来自剩余参数的值:False

CommonParameters

此 cmdlet 支持通用参数:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 有关详细信息,请参阅 about_CommonParameters

输入

None

输出

Microsoft.DataMovement.Powershell.GatewayClient.Gateways.Entities.GatewayClusterDatasource