All Products
Search
Document Center

Security Center:DescribePropertySoftwareDetail

Last Updated:Nov 13, 2024

Queries the details of a software asset.

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:DescribePropertySoftwareDetailget
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
RemarkstringNo

The name or IP address of the server.

192.168.XX.XX
NamestringNo

The name of the software.

kernel
PathstringNo

The installation path of the software.

/etc/test
SoftwareVersionstringNo

The version of the software.

3.10.0
UuidstringNo

The UUID of the server.

50d213b4-3a35-427a-b8a5-****
CurrentPageintegerNo

The page number. Default value: 1.

1
PageSizeintegerNo

The number of entries per page. Default value: 10.

10
InstallTimeStartlongNo

The timestamp generated when the software update starts. Unit: milliseconds.

1649321495000
InstallTimeEndlongNo

The timestamp generated when the software update ends. Unit: milliseconds.

1650012695000
ExtendstringNo

Specifies whether fuzzy search by software name is supported. If you want to use fuzzy search, set the parameter to 1. If you set the parameter to a different value or leave the parameter empty, fuzzy search is not supported.

1

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

6AEE7412-0065-1135-B790-AE2C38BA68FB
PageInfoobject

The pagination information.

CurrentPageinteger

The page number.

1
PageSizeinteger

The number of entries per page. Default value: 10.

10
TotalCountinteger

The total number of entries returned.

1
Countinteger

The number of entries returned on the current page.

1
Propertysarray<object>

The details of the software asset.

PropertySoftwareobject

The details of the software asset.

InternetIpstring

The public IP address of the server.

192.168.XX.XX
Ipstring

The IP addresses of the server.

192.168.XX.XX
InstanceIdstring

The ID of the server.

i-hp35tftuh52wbp1g****
IntranetIpstring

The private IP address of the server.

100.104.XX.XX
InstallTimestring

The time at which the software is installed.

2022-04-07 10:54:49
Uuidstring

The UUID of the server.

162eb349-c2d9-4f8b-805c-75b43d4c****
Versionstring

The version of the software.

3.10.0
InstanceNamestring

The name of the server.

hc-host-****
Pathstring

The installation path of the software.

/etc/test
Namestring

The name of the software.

aaa_base
CreateTimestamplong

The timestamp generated when the last asset fingerprint collection is performed. Unit: milliseconds.

1649149566000
InstallTimeDtlong

The timestamp generated when the software is installed. Unit: milliseconds.

1649066826000

Examples

Sample success responses

JSONformat

{
  "RequestId": "6AEE7412-0065-1135-B790-AE2C38BA68FB",
  "PageInfo": {
    "CurrentPage": 1,
    "PageSize": 10,
    "TotalCount": 1,
    "Count": 1
  },
  "Propertys": [
    {
      "InternetIp": "192.168.XX.XX",
      "Ip": "192.168.XX.XX",
      "InstanceId": "i-hp35tftuh52wbp1g****",
      "IntranetIp": "100.104.XX.XX",
      "InstallTime": "2022-04-07 10:54:49",
      "Uuid": "162eb349-c2d9-4f8b-805c-75b43d4c****",
      "Version": "3.10.0",
      "InstanceName": "hc-host-****",
      "Path": "/etc/test",
      "Name": "aaa_base",
      "CreateTimestamp": 1649149566000,
      "InstallTimeDt": 1649066826000
    }
  ]
}

Error codes

HTTP status codeError codeError messageDescription
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
2022-01-05The request parameters of the API has changed. The response structure of the API has changedView Change Details