Gateways - Get Gateways

傳回使用者為系統管理員的閘道清單。

權限

使用者必須具有閘道管理員許可權。

必要範圍

Dataset.ReadWrite.All 或 Dataset.Read.All

限制

不支援虛擬網路 (VNet) 閘道。

GET https://api.powerbi.com/v1.0/myorg/gateways

回應

名稱 類型 Description
200 OK

Gateways

確定

範例

Example

Sample Request

GET https://api.powerbi.com/v1.0/myorg/gateways

Sample Response

{
  "value": [
    {
      "id": "1f69e798-5852-4fdd-ab01-33bb14b6e934",
      "name": "My_Sample_Gateway",
      "type": "Resource",
      "publicKey": {
        "exponent": "AQAB",
        "modulus": "o6j2....cLk="
      }
    }
  ]
}

定義

名稱 Description
Gateway

Power BI 閘道

GatewayPublicKey

Power BI 閘道公開金鑰

Gateways

Power BI 閘道清單的 OData 回應包裝函式

Gateway

Power BI 閘道

名稱 類型 Description
gatewayAnnotation

string

JSON 格式的閘道中繼資料

gatewayStatus

string

閘道線上狀態

id

string

閘道識別碼。 使用閘道叢集時,閘道識別碼是指叢集中第一個) 閘道的主要 (,類似于閘道叢集識別碼。

name

string

閘道名稱

publicKey

GatewayPublicKey

閘道公開金鑰

type

string

閘道類型

GatewayPublicKey

Power BI 閘道公開金鑰

名稱 類型 Description
exponent

string

公開金鑰指數

modulus

string

公開金鑰模數

Gateways

Power BI 閘道清單的 OData 回應包裝函式

名稱 類型 Description
odata.context

string

value

Gateway[]

閘道清單