Smart Access Gateway (SAG) デバイスが使用する DNS サーバを照会します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
smartag:DescribeSagCurrentDns |
get |
*SmartAccessGateway
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| RegionId |
string |
必須 |
SAG インスタンスがデプロイされているリージョンの ID。 |
cn-shanghai |
| SmartAGId |
string |
必須 |
SAG インスタンスの ID。 |
sag-whfn**** |
| SmartAGSn |
string |
必須 |
SAG インスタンスに関連付けられている SAG デバイスのシリアル番号。 |
sag32a30**** |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| RequestId |
string |
リクエストの ID。 |
0937DEA0-AB4B-42F4-9314-07B97D30282B |
| SlaveDns |
string |
セカンダリ DNS サーバの IP アドレス。 |
114.XX.XX.114 |
| MasterDns |
string |
プライマリ DNS サーバの IP アドレス。 |
223.XX.XX.5 |
例
成功レスポンス
JSONJSON
{
"RequestId": "0937DEA0-AB4B-42F4-9314-07B97D30282B",
"SlaveDns": "114.XX.XX.114",
"MasterDns": "223.XX.XX.5"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | SAG.InstanceNoFound | The specified SAG instance does not exist. | |
| 400 | SAG.SoftwareNotSupport | The specified SAG software edition instance does not support ACL. | |
| 400 | InstanceNotExit | The specified instance does not exist. | |
| 400 | ConfigUnsynchronized | The network configuration is not synchronized. | |
| 500 | SmartAccessGatewayInArrears | The specified Smart Access Gateway has expired. | |
| 500 | SmartAccessGatewayNotActivated | The specified Smart Access Gateway has not been activated. | |
| 500 | SmartAccessGatewayOffline | The request cannot be completed. The Smart Access Gateway is offline. | |
| 403 | SmartAccessGatewayNotOnline | The specified smart access gateway is not online. | |
| 403 | FeatureNotSupport | The current edition of the smart access gateway does not support this feature. | |
| 403 | FeatureNotSupportForActiveSmartAG | The current edition of the active smart access gateway does not support this feature. | |
| 403 | FeatureNotSupportForStandBySmartAG | The current edition of the standby smart access gateway does not support this feature. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。