All Products
Search
Document Center

Security Center:GetInstallCodeForUuid

Last Updated:Oct 24, 2025
This topic is generated by a machine translation engine without any human intervention. ALIBABA CLOUD DOES NOT GUARANTEE THE ACCURACY OF MACHINE TRANSLATED CONTENT. To request a human-translated version of this topic or provide feedback on this translation, please include it in the feedback form.

Query Asset Installation Code

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:
    • For mandatory resource types, indicate with a prefix of * .
    • 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:GetInstallCodeForUuidget
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
UuidstringYes

The UUID of the server for which the client installation code is to be queried.

Note Call the DescribeCloudCenterInstances API to obtain this parameter.
eae0b46e-2155-422e-9565-ecc52c69****

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the current request, a unique identifier generated by Alibaba Cloud for troubleshooting and issue localization.

7532B7EE-7CE7-5F4D-BF04-B12447DDCAE1
Codeinteger

API status code.

200
Messagestring

Response message from the request.

successful
HttpStatusCodelong

HTTP status code

200
InstallCodeobject

Client installation code.

CaptchaCodestring

Installation verification code for manually installing the Cloud Security Center client.

AK1W**
ExpiredDatelong

Expiration date of the installation verification code. The format is a 13-digit timestamp.

Note The installation verification code can only be used within its validity period. Expired codes cannot be used.
1723860871689
GroupIdlong

Server group ID.

342710
GroupNamestring

Server group name.

TestGroup
Osstring

Operating system of the server. Values:

  • linux: Linux

  • windows: Windows

linux
VendorNamestring

Name of the server vendor.

ALIYUN
Successboolean

The status of the returned query result. Values: - true: Success - false: Failure

true

Examples

Sample success responses

JSONformat

{
  "RequestId": "7532B7EE-7CE7-5F4D-BF04-B12447DDCAE1",
  "Code": 200,
  "Message": "successful",
  "HttpStatusCode": 200,
  "InstallCode": {
    "CaptchaCode": "AK1W**",
    "ExpiredDate": 1723860871689,
    "GroupId": 342710,
    "GroupName": "TestGroup",
    "Os": "linux",
    "VendorName": "ALIYUN"
  },
  "Success": true
}

Error codes

HTTP status codeError codeError messageDescription
400IllegalParameterIllegal parameter, please check the param.Parameter error, please check the input parameters.
403NoPermissioncaller has no permissionYou are not authorized to do this operation.
500ServerErrorServerError-

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