StartTrafficControlTask

Updated at:

Starts a traffic control task with a specified ID for instances in different environments.

Operation description

Request details

  • This operation starts the traffic control task identified by TrafficControlTaskId.

  • InstanceId specifies the target instance.

  • Environment specifies the target environment. Valid values: Daily, Pre, and Prod.

  • Ensure that all required parameters are set correctly before you call this operation. The specified TrafficControlTaskId must exist in the system.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

POST /api/v1/trafficcontroltasks/{TrafficControlTaskId}/action/start HTTP/1.1

Path Parameters

Parameter

Type

Required

Description

Example

TrafficControlTaskId

string

Yes

The traffic control task ID.

1

Request parameters

Parameter

Type

Required

Description

Example

body

object

No

The request body.

InstanceId

string

No

The instance ID.

pairec-123***

Environment

string

No

The target environment. Valid values:

Pre

Response elements

Element

Type

Description

Example

object

The response object.

RequestId

string

The request ID.

728C5E01-ABF6-5AA8-B9FC-B3BA05DECC77

Examples

Success response

JSON format

{
  "RequestId": "728C5E01-ABF6-5AA8-B9FC-B3BA05DECC77"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.