- Resource: Source
- VmwareSourceDetails
- AwsSourceDetails
- AccessKeyCredentials
- State
- Tag
- AzureSourceDetails
- ClientSecretCredentials
- State
- Methods
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, "encryption": { object ( |
Fields | |
---|---|
name |
Output only. The Source name. |
createTime |
Output only. The create time timestamp. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
updateTime |
Output only. The update time timestamp. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
labels |
The labels of the source. An object containing a list of |
description |
User-provided description of the source. |
encryption |
Optional. Immutable. The encryption details of the source data stored by the service. |
error |
Output only. Provides details on the state of the Source in case of an error. |
Union field
|
|
vmware |
Vmware type source details. |
aws |
AWS type source details. |
azure |
Azure 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, "resolvedVcenterHost": string } |
Fields | |
---|---|
username |
The credentials username. |
password |
Input only. The credentials password. This is write only and can not be read in a GET operation. |
vcenterIp |
The ip address of the vcenter this Source represents. |
thumbprint |
The thumbprint representing the certificate for the vcenter. |
resolvedVcenterHost |
The hostname of the vcenter. |
AwsSourceDetails
AwsSourceDetails message describes a specific source details for the AWS source type.
JSON representation |
---|
{ "awsRegion": string, "state": enum ( |
Fields | |
---|---|
awsRegion |
Immutable. The AWS region that the source VMs will be migrated from. |
state |
Output only. State of the source as determined by the health check. |
error |
Output only. Provides details on the state of the Source in case of an error. |
inventoryTagList[] |
AWS resource tags to limit the scope of the source inventory. |
inventorySecurityGroupNames[] |
AWS security group names to limit the scope of the source inventory. |
migrationResourcesUserTags |
User specified tags to add to every M2VM generated resource in AWS. These tags will be set in addition to the default tags that are set as part of the migration process. The tags must not begin with the reserved prefix An object containing a list of |
publicIp |
Output only. The source's public IP. All communication initiated by this source will originate from this IP. |
Union field
|
|
accessKeyCreds |
AWS Credentials using access key id and secret. |
AccessKeyCredentials
Message describing AWS Credentials using access key id and secret.
JSON representation |
---|
{ "accessKeyId": string, "secretAccessKey": string, "sessionToken": string } |
Fields | |
---|---|
accessKeyId |
AWS access key ID. |
secretAccessKey |
Input only. AWS secret access key. |
sessionToken |
Input only. AWS session token. Used only when AWS security token service (STS) is responsible for creating the temporary credentials. |
State
The possible values of the state.
Enums | |
---|---|
STATE_UNSPECIFIED |
The state is unknown. This is used for API compatibility only and is not used by the system. |
PENDING |
The state was not sampled by the health checks yet. |
FAILED |
The source is available but might not be usable yet due to invalid credentials or another reason. The error message will contain further details. |
ACTIVE |
The source exists and its credentials were verified. |
Tag
Tag is an AWS tag representation.
JSON representation |
---|
{ "key": string, "value": string } |
Fields | |
---|---|
key |
Required. Key of tag. |
value |
Required. Value of tag. |
AzureSourceDetails
AzureSourceDetails message describes a specific source details for the Azure source type.
JSON representation |
---|
{ "subscriptionId": string, "azureLocation": string, "state": enum ( |
Fields | |
---|---|
subscriptionId |
Immutable. Azure subscription ID. |
azureLocation |
Immutable. The Azure location (region) that the source VMs will be migrated from. |
state |
Output only. State of the source as determined by the health check. |
error |
Output only. Provides details on the state of the Source in case of an error. |
migrationResourcesUserTags |
User specified tags to add to every M2VM generated resource in Azure. These tags will be set in addition to the default tags that are set as part of the migration process. The tags must not begin with the reserved prefix An object containing a list of |
resourceGroupId |
Output only. The ID of the Azure resource group that contains all resources related to the migration process of this source. |
Union field
|
|
clientSecretCreds |
Azure Credentials using tenant ID, client ID and secret. |
ClientSecretCredentials
Message describing Azure Credentials using tenant ID, client ID and secret.
JSON representation |
---|
{ "tenantId": string, "clientId": string, "clientSecret": string } |
Fields | |
---|---|
tenantId |
Azure tenant ID. |
clientId |
Azure client ID. |
clientSecret |
Input only. Azure client secret. |
State
The possible values of the state.
Enums | |
---|---|
STATE_UNSPECIFIED |
The state is unknown. This is used for API compatibility only and is not used by the system. |
PENDING |
The state was not sampled by the health checks yet. |
FAILED |
The source is available but might not be usable yet due to invalid credentials or another reason. The error message will contain further details. |
ACTIVE |
The source exists and its credentials were verified. |
Methods |
|
---|---|
|
Creates a new Source in a given project and location. |
|
Deletes a single Source. |
|
List remote source's inventory of VMs. |
|
Gets details of a single Source. |
|
Lists Sources in a given project and location. |
|
Updates the parameters of a single Source. |