To start or stop a managed agent, the client should perform a PUT request on the management service instance, with a JSON state key in the request body. Optionally, the request can include an If-Match header to make the action conditional on the management service instance not having changed. Request syntax (with If-Match option): PUT <service-url> If-Match: "<ETag>" {state:"<new_state>"} where
The response includes an ETag and a task object that can be used to track progress. If the If-Match condition is not met (the management service has changed), the response code is 412: Precondition Failed. |
Comments
0 comments
Please sign in to leave a comment.