DescribeSagUserDns_智能接入网关_API文档

插件下载了解更多
VS Code 插件
安装插件之前,确保已安装 VS Code安装插件之前,确保已安装 VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains 插件
安装插件之前,确保已安装 JetBrains IDE安装插件之前,确保已安装 JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

流控信息

当前云产品API请求速率暂未透出。

授权信息

当前云产品暂无权限信息透出。

请求参数

字段名称字段详情
RegionIdstring

智能接入网关实例地域 ID。

示例值:cn-shanghai参考取值来源:
    DescribeRegions
SmartAGIdstring

智能接入网关实例 ID。

示例值:sag-whfn****参考取值来源:
    AddSnatEntry
    BindSmartAccessGateway
    CreateSmartAccessGateway
    ListSmartAGByAccessPoint
SmartAGSnstring

绑定的智能接入网关设备序列号。

示例值:sag32a30****参考取值来源:
    ListSmartAGByAccessPoint

返回参数

字段名称字段详情
RequestIdstring

请求 ID。

示例值:0937DEA0-AB4B-42F4-9314-07B97D30282B
SlaveDnsstring

备 DNS 服务器 IP 地址。

示例值:192.XX.XX.2
TaskStatesarray<object>

查询任务信息状态。

MasterDnsstring

主 DNS 服务器 IP 地址。

示例值:192.XX.XX.1

返回示例

错误码

全局错误码
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.诊断
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.诊断
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.诊断

变更历史

暂无变更历史

相关示例