华为乾坤-创建TACACS模板:响应参数
响应参数
返回状态码为200:新增成功,返回配置信息。
参数名称 |
类型 |
参数值域 |
默认值 |
参数说明 |
参数示例 |
---|---|---|---|---|---|
errcode |
string |
- |
- |
错误码。 |
"0" |
errmsg |
string |
- |
- |
错误信息。 |
"" |
data |
REFERENCE |
详细请参见表4。 |
- |
- |
参数名称 |
类型 |
参数值域 |
默认值 |
参数说明 |
参数示例 |
---|---|---|---|---|---|
name |
string |
1~32个字符。 |
- |
名称(不支持$&?=+%][^_,#"相关特殊字符, 不支持修改)。 |
"tacacs1" |
description |
string |
0~128个字符。 |
- |
描述。 |
"" |
masterAuthenServerIp |
string |
- |
- |
主认证服务器IP地址。 |
"10.0.0.10" |
masterAuthenServerPort |
integer |
[1-65535] |
- |
主认证服务器端口。 |
20 |
slaveAuthenServerIp |
string |
- |
- |
备认证服务器IP地址。 |
"10.1.1.10" |
slaveAuthenServerPort |
integer |
[1-65535] |
- |
备认证服务器端口。 |
20 |
thirdAuthenServerIp |
string |
0~15个字符。 |
- |
第三认证服务器IP地址。 |
"10.0.0.10" |
thirdAuthenServerPort |
int32 |
[1-65535] |
- |
第三认证服务器端口。 |
20 |
masterAuthorServerIp |
string |
- |
- |
主授权服务器IP地址。 |
"10.0.0.10" |
masterAuthorServerPort |
integer |
[1-65535] |
- |
主授权服务器端口。 |
30 |
slaveAuthorServerIp |
string |
- |
- |
备授权服务器IP地址。 |
"10.1.1.10" |
slaveAuthorServerPort |
integer |
[1-65535] |
- |
备授权服务器端口。 |
30 |
thirdAuthorServerIp |
string |
0~15个字符。 |
- |
第三授权服务器IP地址。 |
"10.0.0.10" |
thirdAuthorServerPort |
int32 |
[1-65535] |
- |
第三授权服务器端口。 |
30 |
masterAccServerIp |
string |
- |
- |
主计费服务器IP地址。 |
"10.0.0.10" |
masterAccServerPort |
integer |
[1-65535] |
- |
主计费服务器端口。 |
40 |
slaveAccServerIp |
string |
- |
- |
备计费服务器IP地址。 |
"10.1.1.10" |
slaveAccServerPort |
integer |
[1-65535] |
- |
备计费服务器端口。 |
40 |
thirdAccServerIp |
string |
0~15个字符。 |
- |
主计费服务器IP地址。 |
"10.0.0.10" |
thirdAccServerPort |
int32 |
[1-65535] |
- |
主计费服务器端口。 |
40 |
includeDomain |
boolean |
|
true |
向Tacacs服务器发起认证的用户名是否包含 域名 。默认值为true。 |
false |
builtInServerEnable |
boolean |
|
false |
是否启用内置服务器。目前还不支持,只用来做查询接口返回值,默认值为false。 |
false |
sourceIpEnable |
boolean |
|
- |
源IP配置使能 |
true |
configName |
string |
0~20个字符。满足正则表达^[a-zA-Z0-9._-]{0,20}$。 |
- |
配置名称标识,用于tacacs-server-name |
"abc" |
id |
uuid |
- |
- |
Tacacs模板ID。 |
"fbb684c8-0d37-496f-bafa-4b06db151e2e" |