All Products
Search
Document Center

Security Center:ListUninstallAegisMachines

Last Updated:Nov 25, 2024

Queries the information about the servers whose Security Center agent is not installed.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
yundun-sas:ListUninstallAegisMachinesget
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
SourceIpstringNo

The source IP address of the request.

180.113.XX.XX
PageSizeintegerNo

The number of entries to return on each page. Default value: 5.

5
CurrentPageintegerNo

The number of the page to return. Default value: 1.

4
RegionNostringNo

The region in which the server resides.

Note The value of this parameter is the value of the Values parameter that is returned by calling the DescribeCriteria operation. If the value of the Name parameter in the response is regionId, the value of the Values parameter indicates a region ID.
cn-hangzhou
OsstringNo

The operating system of the server.

Note The value of this parameter is the value of the Values parameter that is returned by calling the DescribeCriteria operation. If the value of the Name parameter in the response is osType, the value of the Values parameter indicates an operating system.
linux
RemarkstringNo

The information about the server that you want to query. The value can be the name or the public IP address of the server.

172.20.XX.XX
VendorintegerNo

The source of the server. Valid values:

  • 0: an asset provided by Alibaba Cloud.
  • 1: a third-party cloud server
  • 2: a server in a data center
  • 3, 4, 5, and 7: other cloud asset
  • 8: a lightweight asset
0
RegionIdStrstringNo

The region in which the server resides.

Note The value of this parameter is the value of the Values parameter that is returned by calling the DescribeCriteria operation. If the value of the Name parameter in the response is regionId, the value of the Values parameter indicates a region ID.
cn-hangzhou

Response parameters

ParameterTypeDescriptionExample
object

The returned data.

CurrentPageinteger

The page number of the returned page.

1
RequestIdstring

The ID of the request, which is used to locate and troubleshoot issues.

151F6EB6-D5F3-417A-AF7B-4D84975DB586
PageSizeinteger

The number of entries returned per page.

5
TotalCountinteger

The total number of entries returned.

44
MachineListarray<object>

An array that consists of the information about servers.

Machineobject

The information about the server.

Uuidstring

The UUID of the server.

6d5b361f-958d-48a8-a9d2-d6e82c1****
MachineRegionstring

The region in which the server resides.

cn-hangzhou
InternetIpstring

The public IP address of the server.

120.79.XX.XX
VendorNamestring

The name of the service provider (SP) for the server.

Valid values:

  • ALIYUN: Alibaba Cloud
  • OUT: a third-party service provider
  • IDC: a data center
  • TENCENT: Tencent Cloud
  • HUAWEICLOUD: Huawei Cloud
  • Microsoft: Microsoft
  • AWS: Amazon Web Services (AWS)
  • TRIPARTITE: a lightweight server
ALIYUN
InstanceNamestring

The name of the server.

sql-test-001
Osstring

The operating system of the server. Valid values:

  • linux
  • windows
  • windows-2003
linux
InstanceIdstring

The ID of the server.

sas-bdrvxb4b****
IntranetIpstring

The private IP address of the server.

192.168.XX.XX
Vendorinteger

The source of the server. Valid values:

  • 0: an asset provided by Alibaba Cloud
  • 1: a third-party cloud server
  • 2: a server in a data center
  • 3, 4, 5, and 7: other cloud asset
  • 8: a lightweight asset
0
RegionIdstring

The ID of the region in which the server resides.

cn-shanghai

Examples

Sample success responses

JSONformat

{
  "CurrentPage": 1,
  "RequestId": "151F6EB6-D5F3-417A-AF7B-4D84975DB586",
  "PageSize": 5,
  "TotalCount": 44,
  "MachineList": [
    {
      "Uuid": "6d5b361f-958d-48a8-a9d2-d6e82c1****",
      "MachineRegion": "cn-hangzhou",
      "InternetIp": "120.79.XX.XX",
      "VendorName": "ALIYUN",
      "InstanceName": "sql-test-001",
      "Os": "linux",
      "InstanceId": "sas-bdrvxb4b****",
      "IntranetIp": "192.168.XX.XX",
      "Vendor": 0,
      "RegionId": "cn-shanghai"
    }
  ]
}

Error codes

HTTP status codeError codeError messageDescription
400IllegalParamIllegal param-
403NoPermissioncaller has no permissionYou are not authorized to do this operation.
500ServerErrorServerError-

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history