Gateways - Get Gateway

傳回指定的閘道。

權限

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

必要範圍

Dataset.ReadWrite.All 或 Dataset.Read.All

限制

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

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

URI 參數

名稱 位於 必要 類型 Description
gatewayId
path True

string

uuid

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

回應

名稱 類型 Description
200 OK

Gateway

確定

範例

Example

Sample Request

GET https://api.powerbi.com/v1.0/myorg/gateways/1f69e798-5852-4fdd-ab01-33bb14b6e934

Sample Response

{
  "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 閘道公開金鑰

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

公開金鑰模數