You are now viewing Migrate to Virtual Machines (formerly Migrate for Compute Engine). For Migrate for Compute Engine versions 4.x, see the 4.x documentation.

REST Resource: projects.locations.sources

Stay organized with collections Save and categorize content based on your preferences.

Resource: Source

Source message describes a specific vm migration Source resource. It contains the source environment information.

JSON representation
{
  "name": string,
  "createTime": string,
  "updateTime": string,
  "labels": {
    string: string,
    ...
  },
  "description": string,
  "vmware": {
    object (VmwareSourceDetails)
  }
}
Fields
name

string

Output only. The Source name.

createTime

string (Timestamp format)

Output only. The create time timestamp.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

updateTime

string (Timestamp format)

Output only. The update time timestamp.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

labels

map (key: string, value: string)

The labels of the source.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

description

string

User-provided description of the source.

vmware

object (VmwareSourceDetails)

Vmware type source details.

VmwareSourceDetails

VmwareSourceDetails message describes a specific source details for the vmware source type.

JSON representation
{
  "username": string,
  "password": string,
  "vcenterIp": string,
  "thumbprint": string
}
Fields
username

string

The credentials username.

password

string

Input only. The credentials password. This is write only and can not be read in a GET operation.

vcenterIp

string

The ip address of the vcenter this Source represents.

thumbprint

string

The thumbprint representing the certificate for the vcenter.

Methods

create

Creates a new Source in a given project and location.

delete

Deletes a single Source.

fetchInventory

List remote source's inventory of VMs.

get

Gets details of a single Source.

list

Lists Sources in a given project and location.

patch

Updates the parameters of a single Source.