Servers - List Gateway Status
傳回指定之 Analysis Services 伺服器實例的閘道狀態。
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AnalysisServices/servers/{serverName}/listGatewayStatus?api-version=2017-08-01
URI 參數
| 名稱 | 位於 | 必要 | 類型 | Description |
|---|---|---|---|---|
|
resource
|
path | True |
string minLength: 1maxLength: 90 pattern: ^[-\w\._\(\)]+$ |
指定 Analysis Services 伺服器所屬的 Azure 資源群組名稱。 此名稱長度必須至少為1個字元,且不超過90個字元。 |
|
server
|
path | True |
string minLength: 3maxLength: 63 pattern: ^[a-z][a-z0-9]*$ |
Analysis Services 伺服器的名稱。 |
|
subscription
|
path | True |
string |
Microsoft Azure 訂用帳戶的唯一標識符。 訂用帳戶標識碼會形成每個服務呼叫 URI 的一部分。 |
|
api-version
|
query | True |
string |
用戶端 API 版本。 |
回應
| 名稱 | 類型 | Description |
|---|---|---|
| 200 OK |
還行。 |
|
| Other Status Codes |
默認回應做為錯誤 |
安全性
azure_auth
Azure Active Directory OAuth2 流
類型:
oauth2
Flow:
implicit
授權 URL:
https://login.microsoftonline.com/common/oauth2/authorize
範圍
| 名稱 | Description |
|---|---|
| user_impersonation | 模擬您的用戶帳戶 |
範例
Get details of a server
範例要求
POST https://management.azure.com/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.AnalysisServices/servers/azsdktest/listGatewayStatus?api-version=2017-08-01
範例回覆
{
"status": 0
}
定義
| 名稱 | Description |
|---|---|
|
Error |
資源管理錯誤其他資訊。 |
|
Error |
錯誤詳細數據。 |
|
Gateway |
閘道的狀態為錯誤。 |
|
Gateway |
閘道的狀態為即時。 |
| Status |
清單閘道的即時訊息。 狀態:0 - 即時 |
ErrorAdditionalInfo
資源管理錯誤其他資訊。
| 名稱 | 類型 | Description |
|---|---|---|
| info |
object |
其他資訊。 |
| type |
string |
其他信息類型。 |
ErrorDetail
錯誤詳細數據。
| 名稱 | 類型 | Description |
|---|---|---|
| additionalInfo |
錯誤其他資訊。 |
|
| code |
string |
錯誤碼。 |
| details |
錯誤詳細數據。 |
|
| httpStatusCode |
integer (int32) |
HTTP 狀態代碼 |
| message |
string |
錯誤訊息。 |
| subCode |
integer (int32) |
錯誤子程序代碼 |
| target |
string |
錯誤目標。 |
| timeStamp |
string |
錯誤的時間戳。 |
GatewayListStatusError
閘道的狀態為錯誤。
| 名稱 | 類型 | Description |
|---|---|---|
| error |
清單閘道狀態的錯誤。 |
GatewayListStatusLive
閘道的狀態為即時。
| 名稱 | 類型 | Description |
|---|---|---|
| status |
Status (int32) |
清單閘道的即時訊息。 狀態:0 - 即時 |
Status
清單閘道的即時訊息。 狀態:0 - 即時
| 值 | Description |
|---|---|
| 0 |