Reference documentation and code samples for the Google Cloud Vm Migration V1 Client class AwsSourceDetails.
AwsSourceDetails message describes a specific source details for the AWS source type.
Generated from protobuf message google.cloud.vmmigration.v1.AwsSourceDetails
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ access_key_creds |
Google\Cloud\VMMigration\V1\AwsSourceDetails\AccessKeyCredentials
AWS Credentials using access key id and secret. |
↳ aws_region |
string
Immutable. The AWS region that the source VMs will be migrated from. |
↳ state |
int
Output only. State of the source as determined by the health check. |
↳ error |
Google\Rpc\Status
Output only. Provides details on the state of the Source in case of an error. |
↳ inventory_tag_list |
array<Google\Cloud\VMMigration\V1\AwsSourceDetails\Tag>
AWS resource tags to limit the scope of the source inventory. |
↳ inventory_security_group_names |
array
AWS security group names to limit the scope of the source inventory. |
↳ migration_resources_user_tags |
array|Google\Protobuf\Internal\MapField
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 |
↳ public_ip |
string
Output only. The source's public IP. All communication initiated by this source will originate from this IP. |
getAccessKeyCreds
AWS Credentials using access key id and secret.
Returns | |
---|---|
Type | Description |
Google\Cloud\VMMigration\V1\AwsSourceDetails\AccessKeyCredentials|null |
hasAccessKeyCreds
setAccessKeyCreds
AWS Credentials using access key id and secret.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\VMMigration\V1\AwsSourceDetails\AccessKeyCredentials
|
Returns | |
---|---|
Type | Description |
$this |
getAwsRegion
Immutable. The AWS region that the source VMs will be migrated from.
Returns | |
---|---|
Type | Description |
string |
setAwsRegion
Immutable. The AWS region that the source VMs will be migrated from.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getState
Output only. State of the source as determined by the health check.
Returns | |
---|---|
Type | Description |
int |
setState
Output only. State of the source as determined by the health check.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getError
Output only. Provides details on the state of the Source in case of an error.
Returns | |
---|---|
Type | Description |
Google\Rpc\Status|null |
hasError
clearError
setError
Output only. Provides details on the state of the Source in case of an error.
Parameter | |
---|---|
Name | Description |
var |
Google\Rpc\Status
|
Returns | |
---|---|
Type | Description |
$this |
getInventoryTagList
AWS resource tags to limit the scope of the source inventory.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setInventoryTagList
AWS resource tags to limit the scope of the source inventory.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\VMMigration\V1\AwsSourceDetails\Tag>
|
Returns | |
---|---|
Type | Description |
$this |
getInventorySecurityGroupNames
AWS security group names to limit the scope of the source inventory.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setInventorySecurityGroupNames
AWS security group names to limit the scope of the source inventory.
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |
getMigrationResourcesUserTags
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
m2vm
.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\MapField |
setMigrationResourcesUserTags
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
m2vm
.
Parameter | |
---|---|
Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
Returns | |
---|---|
Type | Description |
$this |
getPublicIp
Output only. The source's public IP. All communication initiated by this source will originate from this IP.
Returns | |
---|---|
Type | Description |
string |
setPublicIp
Output only. The source's public IP. All communication initiated by this source will originate from this IP.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getCredentialsType
Returns | |
---|---|
Type | Description |
string |