Checks whether Log Service is activated.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DescribeSlsOpenStatus |
The operation that you want to perform. Set the value to DescribeSlsOpenStatus. |
RegionId | String | No | cn-hangzhou |
The region ID of the instance. Valid values:
|
ResourceGroupId | String | No | default |
The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | CF33B4C3-196E-4015-AADD-5CAD00057B80 |
The ID of the request. |
SlsOpenStatus | Boolean | true |
Indicates whether Log Service is activated. Valid values:
|
Examples
Sample requests
http(s)://[Endpoint]/? Action=DescribeSlsOpenStatus
&<Common request parameters>
Sample success responses
XML
format
<DescribeSlsOpenStatusResponse>
<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</RequestId>
<SlsOpenStatus>true</SlsOpenStatus>
</DescribeSlsOpenStatusResponse>
JSON
format
{
"RequestId": "CF33B4C3-196E-4015-AADD-5CAD00057B80",
"SlsOpenStatus": true
}
Error codes
For a list of error codes, visit the API Error Center.