Queries the status of the traffic mirroring feature.


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

Request parameters

Parameter Type Required Example Description
Action String Yes GetTrafficMirrorServiceStatus

The operation that you want to perform. Set the value to GetTrafficMirrorServiceStatus.

Response parameters

Parameter Type Example Description
Enabled Boolean true

Indicates whether the traffic mirroring feature is enabled. Valid values:

  • true: enabled
  • false: disabled
RequestId String 37626066-2C6C-4B62-ADD3-498920C409C5

The ID of the request.


Sample requests

&<Common request parameters>

Sample success responses

XML format


JSON format

    "RequestId": "37626066-2C6C-4B62-ADD3-498920C409C5",
    "Enabled": true

Error codes

HttpCode Error code Error message Description
400 OperationDenied.AccountTypeRestricted The operation is denied because your account type is not supported. The error message returned because your account type does not support this transaction.

For a list of error codes, visit the API Error Center.