检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
/huaweicloud-sdk-go-v3/core/auth/global" sms "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/sms/v3" "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/sms/v3/model" region "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/sms/v3/region" ) func main() {
This parameter is mandatory for source server registration. MBR: Master Boot Record (MBR) GPT: GUID Partition Table (GPT) The value can be: MBR GPT device_use Yes String The disk function.
Status Codes Status Code Description 200 Obtaining commands from SMS succeeded. 400 Bad request. 401 Unauthorized. 403 Authentication failed. 404 Not found. 500 Internal server error. Error Codes For details, see Error Codes. Parent Topic: Command Management
If you change the default migration project, the source server will be registered under the changed project. Calling Method For details, see Calling APIs.
Status Codes Status Code Description 200 The migration task status of a source server was updated. 403 Authentication failed. Error Codes For details, see Error Codes. Parent Topic: Source Server Management
Status Codes Status Code Description 200 The target server in a specified task was unlocked successfully. 403 Authentication failed. Error Codes For details, see Error Codes. Parent Topic: Historical APIs
Status Codes Status Code Description 200 The target server password was obtained. 403 Authentication failed. Error Codes For details, see Error Codes. Parent Topic: Template Management
Status Codes Status Code Description 200 A summary of source servers was obtained. 403 Authentication failed. Error Codes For details, see Error Codes. Parent Topic: Source Server Management
" sms "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/sms/v3" "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/sms/v3/model" region "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/sms/v3/region" ) func main() { // The AK and SK used for authentication
Status Codes Status Code Description 200 The list of failed source servers was obtained. 403 Authentication failed. Error Codes For details, see Error Codes. Parent Topic: Source Server Management
/huaweicloud-sdk-go-v3/core/auth/global" sms "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/sms/v3" "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/sms/v3/model" region "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/sms/v3/region" ) func main() {
This parameter is mandatory for source server registration. MBR: Master Boot Record (MBR) GPT: GUID Partition Table (GPT) The value can be: MBR GPT device_use String The disk function.
"github.com/huaweicloud/huaweicloud-sdk-go-v3/services/sms/v3" "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/sms/v3/model" region "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/sms/v3/region" ) func main() { // The AK and SK used for authentication are
Status Codes Status Code Description 200 Batch deleting source server records succeeded. 403 Authentication failed. Error Codes For details, see Error Codes. Parent Topic: Source Server Management
(); } catch (ServiceResponseException e) { e.printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getRequestId()); System.out.println(e.getErrorCode()); System.out.println(e.getErrorMsg
} catch (ServiceResponseException e) { e.printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getRequestId()); System.out.println(e.getErrorCode()); System.out.println(e.getErrorMsg()
Build() client := sms.NewSmsClient( sms.SmsClientBuilder(). WithRegion(region.ValueOf("<YOUR REGION>")). WithCredential(auth).
System.out.println(e.getHttpStatusCode()); System.out.println(e.getRequestId()); System.out.println(e.getErrorCode()); System.out.println(e.getErrorMsg()); } } } This example changes the name of the source server with ID dcdbe339-b02d
Status Codes Status Code Description 200 The information about the source server with a specified ID was deleted. 403 Authentication failed. Error Codes For details, see Error Codes. Parent Topic: Source Server Management
This parameter is mandatory for source server registration. MBR: Master Boot Record (MBR) GPT: GUID Partition Table (GPT) The value can be: MBR GPT device_use Yes String The disk function.