All Products
Search
Document Center

Security Center:DescribeHcExportInfo

Last Updated:Feb 20, 2024

Queries the information about baseline export, including the name of the file to which baselines are exported and the download URL for the file.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

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

Request parameters

ParameterTypeRequiredDescriptionExample
ExportIdlongNo

The ID of the export task.

Note You can call the ExportWarning operation to query the IDs of export tasks.
443285

Response parameters

ParameterTypeDescriptionExample
object

The information about the baseline export task.

RequestIdstring

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

3C2C94CF-ED08-50C0-BC72-C5029251****
FileNamestring

The name of the exported file.

health_check_export_2022****
CurrentCountinteger

The number of exported entries.

148
Progressinteger

The progress percentage of the export task.

89
Idlong

The ID of the export task.

1082278
TotalCountinteger

The total number of exported entries.

624
GmtCreatelong

The time when the export task was created.

2022-11-03T15:15Z
ResultStatusstring

The status of the export task. Valid values:

  • exporting: The task is in progress.
  • success: The task is complete.
exporting

Examples

Sample success responses

JSONformat

{
  "RequestId": "3C2C94CF-ED08-50C0-BC72-C5029251****",
  "FileName": "health_check_export_2022****",
  "CurrentCount": 148,
  "Link": "https://hc-export.oss-cn-shanghai.aliyuncs.com/export_hc/health_check_export_20221222_1671699255808.zip?Expires=1672304056&OSSAccessKeyId=****&Signature=****",
  "Progress": 89,
  "Id": 1082278,
  "TotalCount": 624,
  "GmtCreate": 0,
  "ResultStatus": "exporting"
}

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
No change history