All Products
Search
Document Center

Server Migration Center:ModifySourceServerAttribute

Last Updated:Mar 03, 2024

Modifies the name and description of a migration source.

Operation description

Usage notes

You can call this operation regardless of the status of the migration source.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
SourceIdstringYes

The migration source ID.

s-bp17m1vi6x20c6g6****
NamestringNo

The name of the migration source. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with http:// or https://. It can contain letters, digits, colons (:), underscores (_), and hyphens (-).

testSourceServerName
DescriptionstringNo

The description of the migration source. The description can be up to 256 characters in length and cannot start with http:// or https://.

This is a source server.

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E

Examples

Sample success responses

JSONformat

{
  "RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E"
}

Error codes

HTTP status codeError codeError messageDescription
400SourceServerState.InvalidThe specified source server status is invalid.The specified source server status is invalid.
400SourceServerName.DuplicateThe specified source server name already exists. Please modify the source server name.The specified source server name already exists. Please modify the source server name.
500InternalErrorAn error occurred while processing your request. Please try again. If the problem still exists, please submit a ticket.An error occurred while processing your request. Please try again. If the problem still exists, please submit a ticket.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history