Version 5.0

REST Resource: projects.locations.sources

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,
    ...
  },
  "type": enum (SourceType),
  "description": string,
  "error": {
    object (Status)
  },
  "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" }.

type

enum (SourceType)

The type of source.

description

string

User-provided description of the source.

error

object (Status)

Output only. Provides details on the state of the Source in case of an error.

vmware

object (VmwareSourceDetails)

Vmware type source details.

SourceType

The possible types of the source.

Enums
SOURCE_TYPE_UNSPECIFIED An unknown source type - this type is not supported and indicates an error. New Source resources can not be created with this type.
VMWARE A vSphere on-prem source.

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.