Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive

Querying Details About a Source Server

Updated on 2025-02-13 GMT+08:00

Function

After the migration Agent reports the source server information to SMS, SMS checks the migration feasibility. This API returns the basic information and check results of the source server.

Calling Method

For details, see Calling APIs.

URI

GET /v3/sources/{source_id}

Table 1 Path parameter

Parameter

Mandatory

Type

Description

source_id

Yes

String

The ID of the source server in SMS.

Minimum length: 0 characters

Maximum length: 255 characters

Request

Table 2 Request header parameter

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

The user token. The token can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token.

Minimum length: 1 character

Maximum length: 16,384 characters

Response

Status code: 200

Table 3 Response body parameters

Parameter

Type

Description

id

String

The source server ID.

Minimum length: 0 characters

Maximum length: 255 characters

ip

String

The IP address of the source server.

Minimum length: 0 characters

Maximum length: 255 characters

name

String

The source server name in SMS.

Minimum length: 0 characters

Maximum length: 255 characters

hostname

String

The hostname of the source server. This parameter is mandatory for registering the source server with SMS and optional for updating the information about the source server.

Minimum length: 0 characters

Maximum length: 255 characters

enterprise_project_id

String

The enterprise project ID.

Minimum length: 1 character

Maximum length: 255 characters

add_date

Long

The time when the source is registered.

Minimum value: 0

Maximum value: 9223372036854775807

os_type

String

The OS type of the source server. This parameter is mandatory for registering the source server with SMS and optional for updating the information about the source server.

Minimum length: 0 characters

Maximum length: 255 characters

os_version

String

The OS version. This parameter is mandatory for registration and optional for update.

Minimum length: 0 characters

Maximum length: 255 characters

oem_system

Boolean

Indicates whether the OS is an OEM version (Windows).

state

String

The source server status.

unavailable: The source server fails the environment check.

waiting: The source server is waiting for migration.

initialize: The migration of the source server is being initialized.

replicate: The source server is being replicated.

syncing: The source server is being synchronized.

stopping: The migration of the source server is being stopped.

stopped: The migration of the source server is stopped.

deleting: The source server record is being deleted.

error: An error occurs during the migration of the source server.

cloning: The target server for the source server is being cloned.

testing: The test is in progress.

finished: The target server for the source server is launched.

The value can be:

  • unavailable

  • waiting

  • initialize

  • replicate

  • syncing

  • stopping

  • stopped

  • deleting

  • error

  • cloning

  • testing

  • finished

connected

Boolean

Indicate whether the Agent installed on the source server is connected to SMS.

firmware

String

The boot mode.

The value can be:

  • BIOS

  • UEFI

init_target_server

InitTargetServer object

The recommended configuration for the target server.

cpu_quantity

Integer

The number of CPUs on the source server.

Minimum value: 0

Maximum value: 65535

memory

Long

The physical memory size (MB) of the source server.

Minimum value: 0

Maximum value: 9223372036854775807

current_task

TaskByServerSource object

The migration task associated with the source server.

disks

Array of ServerDisk objects

The disk information of the source server.

Array length: 0 to 65,535

volume_groups

Array of VolumeGroups objects

The volume group information of the source server. If there are no volume groups, the value is an empty array [].

Array length: 0 to 65,535

btrfs_list

Array of BtrfsFileSystem objects

The Btrfs information on the source server. This parameter is mandatory for Linux. If there are no Btrfs file systems on the source server, the value is an empty array [].

Array length: 0 to 65,535

networks

Array of NetWork objects

The NIC information of the source server.

Array length: 0 to 65,535

checks

Array of EnvironmentCheck objects

The environment check information for the source server.

Array length: 0 to 65,535

migration_cycle

String

The current migration stage of the source server.

cutovering: The target server for the source server is being launched.

cutovered: The target server for the source server is launched.

checking: The check is in progress.

setting: The configuration is in progress.

replicating: The data is being replicated.

syncing: The incremental data is being synchronized.

Minimum length: 0 characters

Maximum length: 255 characters

The value can be:

  • cutovering

  • cutovered

  • checking

  • setting

  • replicating

  • syncing

state_action_time

Long

The time (in timestamp) when the status of the source server last changed.

Minimum value: 0

Maximum value: 9223372036854775807

replicatesize

Long

The volume of data that has been migrated, in bytes.

Minimum value: 0

Maximum value: 9223372036854775807

totalsize

Long

The volume of data to be migrated, in bytes.

Minimum value: 0

Maximum value: 9223372036854775807

last_visit_time

Long

The time (in timestamp) when the Agent connection status last changed.

Minimum value: 0

Maximum value: 9223372036854775807

stage_action_time

Long

The time (in timestamp) when the migration stage of the source server last changed. The migration stage is defined by migration_cycle.

Minimum value: 0

Maximum value: 9223372036854775807

agent_version

String

The Agent version.

Minimum length: 0 characters

Maximum length: 255 characters

has_tc

Boolean

Indicates whether TC is installed. This parameter is mandatory for Linux.

Table 4 InitTargetServer field description

Parameter

Type

Description

disks

Array of DiskIntargetServer objects

The information about the recommended target server disks.

Array length: 0 to 65,535

volume_groups

Array of VolumeGroups objects

This parameter is mandatory for Linux. If there are no volume groups, the value is an empty array [].

Array length: 0 to 65,535

Table 5 DiskIntargetServer field description

Parameter

Type

Description

name

String

The disk name.

Minimum length: 0 characters

Maximum length: 255 characters

size

Long

The disk size, in bytes.

Minimum value: 0

Maximum value: 9223372036854775807

device_use

String

The disk function.

BOOT: boot device

OS: system device

NORMAL: general device

Minimum length: 0 characters

Maximum length: 255 characters

The value can be:

  • BOOT

  • OS

  • NORMAL

used_size

Long

The used disk space, in bytes.

Minimum value: 0

Maximum value: 9223372036854775807

physical_volumes

Array of PhysicalVolumes objects

The physical volume information.

Array length: 0 to 65,535

Table 6 PhysicalVolumes field description

Parameter

Type

Description

device_use

String

The partition function. The partition can be a general, boot or OS partition.

Minimum length: 0 characters

Maximum length: 255 characters

file_system

String

The file system type.

Minimum length: 0 characters

Maximum length: 255 characters

index

Integer

The serial number.

Minimum value: 0

Maximum value: 2147483647

mount_point

String

The mount point.

Minimum length: 0 characters

Maximum length: 255 characters

name

String

The volume name. In Windows, it indicates the drive letter, and in Linux, it indicates the device ID.

Minimum length: 0 characters

Maximum length: 255 characters

size

Long

The size.

Minimum value: 0

Maximum value: 9223372036854775807

inode_size

Long

The number of inodes.

Minimum value: 0

Maximum value: 9223372036854775807

used_size

Long

The used space.

Minimum value: 0

Maximum value: 9223372036854775807

uuid

String

The GUID, which can be obtained from the source server.

Minimum length: 0 characters

Maximum length: 255 characters

Table 7 TaskByServerSource field description

Parameter

Type

Description

id

String

The task ID.

Minimum length: 0 characters

Maximum length: 255 characters

name

String

The task name.

Minimum length: 0 characters

Maximum length: 255 characters

type

String

The task type.

Minimum length: 0 characters

Maximum length: 255 characters

state

String

The task status.

Minimum length: 0 characters

Maximum length: 255 characters

start_date

Long

The start time.

Minimum value: 0

Maximum value: 9223372036854775807

speed_limit

Integer

The migration rate limit.

Minimum value: 0

Maximum value: 10000

migrate_speed

Double

The migration rate.

Minimum value: 0

Maximum value: 10000

start_target_server

Boolean

Indicates whether the target server is started.

vm_template_id

String

The server template ID.

Minimum length: 0 characters

Maximum length: 255 characters

region_id

String

region_id

Minimum length: 0 characters

Maximum length: 255 characters

project_name

String

The project name.

Minimum length: 0 characters

Maximum length: 255 characters

project_id

String

The project ID.

Minimum length: 0 characters

Maximum length: 255 characters

target_server

TargetServerById object

The information about the target server.

log_collect_status

String

The log collection status.

Minimum length: 0 characters

Maximum length: 255 characters

exist_server

Boolean

Indicates whether an existing ECS is used as the target server.

use_public_ip

Boolean

Indicates whether a public IP address is used for migration.

clone_server

CloneServer object

The information about the cloned server.

Table 8 TargetServerById field description

Parameter

Type

Description

vm_id

String

The target server ID.

Minimum length: 0 characters

Maximum length: 255 characters

name

String

The name of the target server.

Minimum length: 0 characters

Maximum length: 255 characters

Table 9 CloneServer field description

Parameter

Type

Description

vm_id

String

The cloned server ID.

Minimum length: 0 characters

Maximum length: 255 characters

name

String

The name of the cloned server.

Minimum length: 0 characters

Maximum length: 255 characters

clone_error

String

The error returned for a clone failure.

Minimum length: 0 characters

Maximum length: 255 characters

clone_state

String

The clone status.

Minimum length: 0 characters

Maximum length: 255 characters

error_msg

String

The error returned for a clone failure.

Minimum length: 0 characters

Maximum length: 1,024 characters

Table 10 ServerDisk field description

Parameter

Type

Description

name

String

The disk name.

Minimum length: 0 characters

Maximum length: 255 characters

partition_style

String

The disk partition type. 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.

BOOT: boot device

OS: system device

The value can be:

  • BOOT

  • OS

size

Long

The disk size, in bytes.

Minimum value: 0

Maximum value: 9223372036854775807

used_size

Long

The used disk space, in bytes.

Minimum value: 0

Maximum value: 9223372036854775807

physical_volumes

Array of PhysicalVolume objects

The physical partition information of the disk.

Array length: 0 to 65,535

os_disk

Boolean

Indicates whether the disk is the system disk.

relation_name

String

The name of the corresponding disk on the target server running Linux.

Minimum length: 0 characters

Maximum length: 255 characters

inode_size

Integer

The number of inodes.

Minimum value: 0

Maximum value: 2147483647

Table 11 PhysicalVolume field description

Parameter

Type

Description

device_use

String

The partition function. The partition can be a general, boot or OS partition.

Minimum length: 0 characters

Maximum length: 255 characters

file_system

String

The file system type.

Minimum length: 0 characters

Maximum length: 255 characters

index

Integer

The serial number.

Minimum value: 0

Maximum value: 2147483647

mount_point

String

The mount point.

Minimum length: 0 characters

Maximum length: 255 characters

name

String

The volume name. In Windows, it indicates the drive letter, and in Linux, it indicates the device ID.

Minimum length: 0 characters

Maximum length: 255 characters

size

Long

The size.

Minimum value: 0

Maximum value: 9223372036854775807

used_size

Long

The used space.

Minimum value: 0

Maximum value: 9223372036854775807

inode_size

Integer

The number of inodes.

Minimum value: 0

Maximum value: 2147483647

inode_nums

Long

The number of inodes.

Minimum value: 0

Maximum value: 9223372036854775807

uuid

String

The GUID, which can be obtained from the source server.

Minimum length: 0 characters

Maximum length: 255 characters

size_per_cluster

Integer

The size of each cluster.

Minimum value: 0

Maximum value: 2147483647

Table 12 VolumeGroups field description

Parameter

Type

Description

components

String

The physical volume information.

Minimum length: 0 characters

Maximum length: 255 characters

free_size

Long

The available space.

Minimum value: 0

Maximum value: 9223372036854775807

logical_volumes

Array of LogicalVolumes objects

The logical volume information.

Array length: 0 to 255

name

String

The name.

Minimum length: 0 characters

Maximum length: 255 characters

size

Long

The size.

Minimum value: 0

Maximum value: 9223372036854775807

Table 13 LogicalVolumes field description

Parameter

Type

Description

block_count

Integer

The number of blocks.

Minimum value: 0

Maximum value: 2147483647

Default value: 0

block_size

Long

The block size.

Minimum value: 0

Maximum value: 1048576

Default value: 0

file_system

String

The file system.

Minimum length: 0 characters

Maximum length: 255 characters

inode_size

Integer

The number of inodes.

Minimum value: 0

Maximum value: 2147483647

inode_nums

Long

The number of inodes.

Minimum value: 0

Maximum value: 9223372036854775807

device_use

String

The partition function. The partition can be a general, boot or OS partition.

Minimum length: 0 characters

Maximum length: 255 characters

mount_point

String

The mount point.

Minimum length: 0 characters

Maximum length: 256 characters

name

String

The name.

Minimum length: 0 characters

Maximum length: 1,024 characters

size

Long

The size.

Minimum value: 0

Maximum value: 9223372036854775807

used_size

Long

The used space.

Minimum value: 0

Maximum value: 9223372036854775807

free_size

Long

The available space.

Minimum value: 0

Maximum value: 9223372036854775807

Table 14 BtrfsFileSystem field description

Parameter

Type

Description

name

String

The file system name.

Minimum length: 0 characters

Maximum length: 255 characters

label

String

The file system tag. If no tag exists, the value is an empty string.

Minimum length: 0 characters

Maximum length: 255 characters

uuid

String

The UUID of the file system.

Minimum length: 0 characters

Maximum length: 255 characters

device

String

The device name in the Btrfs.

Minimum length: 0 characters

Maximum length: 255 characters

size

Long

The space occupied by the file system.

Minimum value: 0

Maximum value: 9223372036854775807

nodesize

Long

The size of the Btrfs node.

Minimum value: 0

Maximum value: 9223372036854775807

sectorsize

Integer

The sector size.

Minimum value: 0

Maximum value: 2147483647

data_profile

String

The data profile (RAD).

Minimum length: 0 characters

Maximum length: 255 characters

system_profile

String

The file system profile (RAD).

Minimum length: 0 characters

Maximum length: 255 characters

metadata_profile

String

The metadata profile (RAD).

Minimum length: 0 characters

Maximum length: 255 characters

global_reserve1

String

The Btrfs file system information.

Minimum length: 0 characters

Maximum length: 255 characters

g_vol_used_size

Long

The used space of the Btrfs volume.

Minimum value: 0

Maximum value: 9223372036854775807

default_subvolid

String

The ID of the default subvolume.

Minimum length: 0 characters

Maximum length: 255 characters

default_subvol_name

String

The name of the default subvolume.

Minimum length: 0 characters

Maximum length: 255 characters

default_subvol_mountpath

String

The mount path of the default subvolume or Btrfs file system.

Minimum length: 0 characters

Maximum length: 255 characters

subvolume

Array of BtrfsSubvolumn objects

The subvolume information.

Array length: 0 to 65,535

Table 15 BtrfsSubvolumn field description

Parameter

Type

Description

uuid

String

The UUID of the parent volume.

Minimum length: 0 characters

Maximum length: 255 characters

is_snapshot

String

Indicates whether the subvolume is a snapshot.

Minimum length: 0 characters

Maximum length: 255 characters

subvol_id

String

The subvolume ID.

Minimum length: 0 characters

Maximum length: 255 characters

parent_id

String

The parent volume ID.

Minimum length: 0 characters

Maximum length: 255 characters

subvol_name

String

The subvolume name.

Minimum length: 0 characters

Maximum length: 255 characters

subvol_mount_path

String

The mount path of the subvolume.

Minimum length: 0 characters

Maximum length: 255 characters

Table 16 NetWork field description

Parameter

Type

Description

name

String

The NIC name.

Minimum length: 0 characters

Maximum length: 255 characters

ip

String

The IP address bound to the NIC.

Minimum length: 0 characters

Maximum length: 255 characters

ipv6

String

The IPv6 address.

Minimum length: 0 characters

Maximum length: 255 characters

netmask

String

The subnet mask.

Minimum length: 0 characters

Maximum length: 255 characters

gateway

String

The gateway.

Minimum length: 0 characters

Maximum length: 255 characters

mtu

Integer

The NIC MTU. This parameter is mandatory for Linux.

Minimum value: 0

Maximum value: 2147483647

mac

String

The MAC address.

Minimum length: 0 characters

Maximum length: 255 characters

id

String

The database ID.

Minimum length: 0 characters

Maximum length: 255 characters

Table 17 EnvironmentCheck field description

Parameter

Type

Description

id

Long

The check item ID.

Minimum value: 0

Maximum value: 9223372036854775807

params

Array of strings

The parameters.

Minimum length: 0 characters

Maximum length: 255 characters

Array length: 0 to 65,535

name

String

The check item name.

Minimum length: 0 characters

Maximum length: 255 characters

result

String

The check result.

OK: The check is passed.

WARN: A warning is generated.

ERROR: The check fails.

Minimum length: 0 characters

Maximum length: 255 characters

The value can be:

  • OK

  • WARN

  • ERROR

error_code

String

The returned error code.

Minimum length: 0 characters

Maximum length: 255 characters

error_or_warn

String

The error or warning.

Minimum length: 0 characters

Maximum length: 255 characters

error_params

String

The parameters that failed the check.

Minimum length: 0 characters

Maximum length: 255 characters

Status code: 403

Table 18 Response body parameters

Parameter

Type

Description

error_code

String

The error code.

Minimum length: 0 characters

Maximum length: 255 characters

error_msg

String

The error message.

Minimum length: 0 characters

Maximum length: 255 characters

encoded_authorization_message

String

Encrypted authorization information.

Minimum length: 0 characters

Maximum length: 65,535 characters

error_param

Array of strings

Invalid parameter.

Minimum length: 0 characters

Maximum length: 65,535 characters

Array length: 1 to 20

details

Array of details objects

The error message.

Array length: 1 to 20

Table 19 details field description

Parameter

Type

Description

error_code

String

The SMS error code.

Minimum length: 0 characters

Maximum length: 65,535 characters

error_msg

String

The SMS error message.

Minimum length: 0 characters

Maximum length: 65,535 characters

Example Request

This example queries the information about the source server with ID 211d7878-d7ba-4cac-acf1-a02ccfb8xxxx.

GET https://{endpoint}/v3/sources/211d7878-d7ba-4cac-acf1-a02ccfb8xxxx

Example Response

Status code: 200

The details about a source server were obtained.

{
  "id" : "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx0001",
  "ip" : "192.168.0.154",
  "name" : "sms-win16",
  "hostname" : "sms-win16",
  "add_date" : 1598435769000,
  "os_type" : "WINDOWS",
  "os_version" : "WINDOWS2016_64BIT",
  "oem_system" : false,
  "state" : "initialize",
  "connected" : true,
  "firmware" : "BIOS",
  "cpu_quantity" : 1,
  "memory" : 2146553856,
  "current_task" : {
    "id" : "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx0001",
    "name" : "MigrationTask",
    "type" : "MIGRATE_BLOCK",
    "state" : "RUNNING",
    "speed_limit" : 0,
    "start_target_server" : true,
    "vm_template_id" : "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx0001",
    "region_id" : "region_id",
    "project_name" : "project_name",
    "project_id" : "xxxxxxxxxxxxxxxxxxxxxxxx00000001",
    "target_server" : {
      "vm_id" : "",
      "name" : ""
    },
    "log_collect_status" : "INIT",
    "exist_server" : false,
    "use_public_ip" : true,
    "clone_server" : null
  },
  "disks" : [ {
    "name" : "Disk 0",
    "relation_name" : null,
    "partition_style" : "MBR",
    "size" : 42949672960,
    "used_size" : 42947575808,
    "device_use" : "BOOT",
    "os_disk" : false,
    "physical_volumes" : [ {
      "uuid" : "\\\\?\\Volume{586b7157-0000-0000-0000-100000000000}\\",
      "index" : 1,
      "name" : "(Reserved)",
      "device_use" : "BOOT",
      "file_system" : "NTFS",
      "mount_point" : null,
      "size" : 524288000,
      "used_size" : 410275840
    }, {
      "uuid" : "\\\\?\\Volume{586b7157-0000-0000-0000-501f00000000}\\",
      "index" : 2,
      "name" : "C:\\",
      "device_use" : "OS",
      "file_system" : "NTFS",
      "mount_point" : null,
      "size" : 42423287808,
      "used_size" : 23170301952
    } ]
  } ],
  "volume_groups" : [ ],
  "networks" : [ {
    "name" : null,
    "ip" : null,
    "netmask" : null,
    "gateway" : null,
    "mtu" : 0,
    "mac" : "dac20cd4f6318ca6458673b0046ddcc89e936df292d0806cb868ba63a817853c"
  } ],
  "checks" : [ {
    "id" : 524146,
    "params" : [ "" ],
    "name" : "OS_VERSION",
    "result" : "OK",
    "error_code" : null,
    "error_or_warn" : null,
    "error_params" : ""
  }, {
    "id" : 524147,
    "params" : [ "" ],
    "name" : "FIRMWARE",
    "result" : "OK",
    "error_code" : null,
    "error_or_warn" : null,
    "error_params" : ""
  }, {
    "id" : 524148,
    "params" : [ "" ],
    "name" : "CPU",
    "result" : "OK",
    "error_code" : null,
    "error_or_warn" : null,
    "error_params" : ""
  }, {
    "id" : 524149,
    "params" : [ "" ],
    "name" : "MEMORY",
    "result" : "OK",
    "error_code" : null,
    "error_or_warn" : null,
    "error_params" : ""
  }, {
    "id" : 524150,
    "params" : [ "" ],
    "name" : "SYSTEM_ROOT",
    "result" : "OK",
    "error_code" : null,
    "error_or_warn" : null,
    "error_params" : ""
  }, {
    "id" : 524151,
    "params" : [ "" ],
    "name" : "PARTITION_STYLE",
    "result" : "OK",
    "error_code" : null,
    "error_or_warn" : null,
    "error_params" : ""
  }, {
    "id" : 524152,
    "params" : [ "" ],
    "name" : "FILE_SYSTEM",
    "result" : "OK",
    "error_code" : null,
    "error_or_warn" : null,
    "error_params" : ""
  }, {
    "id" : 524153,
    "params" : [ "" ],
    "name" : "FREE_SPACE",
    "result" : "OK",
    "error_code" : null,
    "error_or_warn" : null,
    "error_params" : ""
  }, {
    "id" : 524154,
    "params" : [ "" ],
    "name" : "OEM_SYSTEM",
    "result" : "OK",
    "error_code" : null,
    "error_or_warn" : null,
    "error_params" : ""
  }, {
    "id" : 524155,
    "params" : [ "" ],
    "name" : "DRIVER_FILE",
    "result" : "OK",
    "error_code" : null,
    "error_or_warn" : null,
    "error_params" : ""
  }, {
    "id" : 524156,
    "params" : [ "" ],
    "name" : "SERVICE",
    "result" : "OK",
    "error_code" : null,
    "error_or_warn" : null,
    "error_params" : ""
  }, {
    "id" : 524157,
    "params" : [ "" ],
    "name" : "ACCOUNT_RIGHTS",
    "result" : "OK",
    "error_code" : null,
    "error_or_warn" : null,
    "error_params" : ""
  } ],
  "init_target_server" : {
    "disks" : [ {
      "name" : "Disk 0",
      "size" : 42949672960,
      "used_size" : 42947575808,
      "device_use" : "OS",
      "physical_volumes" : [ {
        "uuid" : "\\\\?\\Volume{586b7157-0000-0000-0000-100000000000}\\",
        "index" : 1,
        "name" : "(Reserved)",
        "device_use" : "BOOT",
        "file_system" : "NTFS",
        "mount_point" : null,
        "size" : 524288000,
        "used_size" : 410275840
      }, {
        "uuid" : "\\\\?\\Volume{586b7157-0000-0000-0000-501f00000000}\\",
        "index" : 2,
        "name" : "C:\\",
        "device_use" : "OS",
        "file_system" : "NTFS",
        "mount_point" : null,
        "size" : 42423287808,
        "used_size" : 23170301952
      } ]
    } ],
    "volume_groups" : [ ]
  },
  "replicatesize" : 0,
  "stage_action_time" : 1598435768945,
  "totalsize" : 0,
  "last_visit_time" : 1598435801422,
  "agent_version" : "6.1.8",
  "migration_cycle" : "replicating",
  "state_action_time" : 1598435783569
}

Status code: 403

Authentication failed.

{
  "error_code" : "SMS.9004",
  "error_msg" : "The current account does not have the permission to execute policy You do not have permission to perform action XXX on resource XXX.",
  "encoded_authorization_message" : "XXXXXX",
  "error_param" : [ "You do not have permission to perform action XXX on resource XXX." ],
  "details" : [ {
    "error_code" : "SMS.9004",
    "error_msg" : "You do not have permission to perform action XXX on resource XXX."
  } ]
}

Status Codes

Status Code

Description

200

The details about a source server were obtained.

403

Authentication failed.

Error Codes

For details, see Error Codes.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback