Set-DataGatewayCluster

Set attributes of an existing gateway cluster

语法

Default (默认值)

Set-DataGatewayCluster
    [-Scope <PowerBIUserScope>]
    -GatewayClusterId <Guid>
    [-Name <String>]
    [-Department <String>]
    [-Description <String>]
    [-ContactInformation <String>]
    [-AllowCloudDatasourceRefresh <Boolean>]
    [-AllowCustomConnectors <Boolean>]
    [-LoadBalancingSelectorType <String>]
    [-RegionKey <String>]
    [<CommonParameters>]

说明

Set attributes of an existing gateway cluster

示例

Example 1

PS C:\> Set-DataGatewayCluster -GatewayClusterId DC8F2C49-5731-4B27-966B-3DB5094C2E77 -AllowCloudDatasourceRefresh $true

Allow Power BI cloud datasource refresh on the cluster with ID DC8F2C49-5731-4B27-966B-3DB5094C2E77

Example 2

PS C:\> Set-DataGatewayCluster -GatewayClusterId DC8F2C49-5731-4B27-966B-3DB5094C2E77 -AllowCloudDatasourceRefresh $true -RegionKey brazilsouth

Allow Power BI cloud datasource refresh on the cluster with ID DC8F2C49-5731-4B27-966B-3DB5094C2E77 This command is run in the Brazil south region, so the gateway cluster ID provided should be in that region.

参数

-AllowCloudDatasourceRefresh

If set to true, Power BI cloud datasource refresh is allowed on this cluster.

参数属性

类型:Boolean
默认值:None
支持通配符:False
不显示:False

参数集

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

-AllowCustomConnectors

If set to true, Power BI custom connector based refreshes are allowed on this gateway cluster.

参数属性

类型:Boolean
默认值:None
支持通配符:False
不显示:False

参数集

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

-ContactInformation

Contact information for this gateway cluster.

参数属性

类型:String
默认值:None
支持通配符:False
不显示:False

参数集

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

-Department

Department attribute for this gateway cluster

参数属性

类型:String
默认值:None
支持通配符:False
不显示:False

参数集

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

-Description

Description of this gateway cluster.

参数属性

类型:String
默认值:None
支持通配符:False
不显示:False

参数集

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

-GatewayClusterId

Gateway cluster for which attributes need to be updated

参数属性

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

参数集

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

-LoadBalancingSelectorType

Load-balancing type for this cluster. Values could either be failover or random which would mean the following: failover = roundrobin random = random If either nothing was passed or anything else was passed, it would be roundrobin

参数属性

类型:String
默认值:None
接受的值:Failover, Random
支持通配符:False
不显示:False

参数集

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

-Name

Name of the gateway cluster.

参数属性

类型:String
默认值:None
支持通配符:False
不显示:False

参数集

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

-RegionKey

The region associated with the specified gateway cluster. Not providing a -RegionKey will run the command in the default region for your tenant. To get the list of available region parameters run the Get-DataGatewayRegion command

参数属性

类型:String
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值: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

参数属性

类型:PowerBIUserScope
默认值:Individual
接受的值:Individual, Organization
支持通配符:False
不显示:False

参数集

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

输入

None

输出

System.Void