查询系统开关
GET
/nacos/v1/ns/operator/switches查询系统开关
Request
None
Request samples
Responses
成功(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
name
string
required
masters
null
required
adWeightMap
object
required
defaultPushCacheMillis
integer
required
clientBeatInterval
integer
required
defaultCacheMillis
integer
required
distroThreshold
number
required
healthCheckEnabled
boolean
required
distroEnabled
boolean
required
enableStandalone
boolean
required
pushEnabled
boolean
required
checkTimes
integer
required
httpHealthParams
object
required
max
integer
required
min
integer
required
factor
number
required
tcpHealthParams
object
required
max
integer
required
min
integer
required
factor
number
required
mysqlHealthParams
object
required
max
integer
required
min
integer
required
factor
number
required
incrementalList
array[string]
required
serverStatusSynchronizationPeriodMillis
integer
required
serviceStatusSynchronizationPeriodMillis
integer
required
disableAddIP
boolean
required
sendBeatOnly
boolean
required
limitedUrlMap
object
required
distroServerExpiredMillis
integer
required
pushGoVersion
string
required
pushJavaVersion
string
required
pushPythonVersion
string
required
pushCVersion
string
required
enableAuthentication
boolean
required
overriddenServerStatus
string
required
defaultInstanceEphemeral
boolean
required
healthCheckWhiteList
array[string]
required
checksum
null
required
Example
{
name: "00-00---000-NACOS_SWITCH_DOMAIN-000---00-00",
masters: null,
adWeightMap: { },
defaultPushCacheMillis: 10000,
clientBeatInterval: 5000,
defaultCacheMillis: 3000,
distroThreshold: 0.7,
healthCheckEnabled: true,
distroEnabled: true,
enableStandalone: true,
pushEnabled: true,
checkTimes: 3,
httpHealthParams: {
max: 5000,
min: 500,
factor: 0.85
},
tcpHealthParams: {
max: 5000,
min: 1000,
factor: 0.75
},
mysqlHealthParams: {
max: 3000,
min: 2000,
factor: 0.65
},
incrementalList: [ ],
serverStatusSynchronizationPeriodMillis: 15000,
serviceStatusSynchronizationPeriodMillis: 5000,
disableAddIP: false,
sendBeatOnly: false,
limitedUrlMap: { },
distroServerExpiredMillis: 30000,
pushGoVersion: "0.1.0",
pushJavaVersion: "0.1.0",
pushPythonVersion: "0.4.3",
pushCVersion: "1.0.12",
enableAuthentication: false,
overriddenServerStatus: "UP",
defaultInstanceEphemeral: true,
healthCheckWhiteList: [ ],
checksum: null
}
Last modified: 2 年前