Queries health check logging.

Debugging

You can click here to debug in OpenAPI Explorer. OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Description
Action String Yes The operation that you want to perform. Set the value to

DescribeLogsDownloadAttribute

RegionId String Yes The region where health check logging is configured.

Response parameters

Parameter Type Description
RequestId String The ID of the request.
OSSBucketName String The OSS bucket to which log data is written.
LogType String The type of log data that you want to store.
RoleName String The name of the Resource Access Management (RAM) role that SLB is allowed to assume.

Examples

Sample requests


https://slb.aliyuncs.com/?Action=DescribeLogsDownloadAttribute
&RegionId=cn-hangzhou
&<Common request parameters>

https://slb.aliyuncs.com/?Action=DescribeLogsDownloadAttribute
&RegionId=cn-hangzhou
&<Common request parameters>
Sample success responses
  • XML format
    <? xml version="1.0" encoding="UTF-8"? >
          <DescribeLogsDownloadAttributeResponse>
              <RequestId>365F4154-92F6-4AE4-92F8-7FF34B540710</RequestId>
              <RoleName>acs:ram::165592860:role/aliyunslbdefaultrole</RoleName>
              <OSSBucketName>test-report</OSSBucketName>
              <LogType>HealthLog</LogType>
          </DescribeLogsDownloadAttributeResponse>
  • JSON format
    
    {
    "RequestId":"365F4154-92F6-4AE4-92F8-7FF34B540710",
    "RoleName":"acs:ram::165592860xxxxx:role/aliyunslbdefaultrole",
    "OSSBucketName":"test-report",
    "LogType":"HealthLog"
    }