Skip to main content

DescribeBaseConfigs

Description

get login security settings.

Request Method

POST

Request Path

/apsara/route/aegis/DescribeBaseConfigs

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
TypeBODYstringYesNo sample value for this parameter.Common logon configuration record types. Valid values: login_common_location: indicates common login place login_common_ip: indicates common login IP login_common_time: indicates common login time login_common_account: indicates a common login account
TargetBODYstringNoNo sample value for this parameter.specifies the host asset. description this parameter needs to be specified when obtaining the login security configuration record of the specified asset. please refer to the request example for the specific format.
PageSizeBODYintegerNoNo sample value for this parameter.specifies the maximum number of records per page in the returned result. default value: 20
CurrentPageBODYintegerNoNo sample value for this parameter.specifies the number of pages currently returned. default value: 1
regionIdBODYstringYesNo sample value for this parameter.region id
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
TargetListarrayno demo valuethe host asset information to which the configuration is applied. see the following parameter description for specific sub-items.
Accountstringno demo valuecommon login account.
RequestIdstringno demo valuerequest ID.
PageSizeintegerno demo valuepage displays the maximum number of records.
EndTimestringno demo valueThe end time of the common login time.
Ipstringno demo valueCommon login IP.
BaseConfigsarrayno demo valuelog on to the security settings record information. see the following parameter description for specific sub-items.
StartTimestringno demo valuethe start time of the common login time.
UuidCountintegerno demo valuethe number of host assets to which this configuration is applied.
TotalCountintegerno demo valuetotal number of host assets.
Targetstringno demo valueasset group ID or host asset UUID.
CurrentPageintegerno demo valuecurrently returns page number.
TargetTypestringno demo valueThe type of Target parameter value: groupId: indicates asset group ID uuid: indicates the host asset UUID
Locationstringno demo valueCommon login place.

Example

Successful Response example

{
"TargetList":"no demo value",
"Account":"no demo value",
"RequestId":"no demo value",
"PageSize":"no demo value",
"EndTime":"no demo value",
"Ip":"no demo value",
"BaseConfigs":"no demo value",
"StartTime":"no demo value",
"UuidCount":"no demo value",
"TotalCount":"no demo value",
"Target":"no demo value",
"CurrentPage":"no demo value",
"TargetType":"no demo value",
"Location":"no demo value"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}