Class: Google::Apis::VmmigrationV1alpha1::AwsSourceDetails
- Inherits:
-
Object
- Object
- Google::Apis::VmmigrationV1alpha1::AwsSourceDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/vmmigration_v1alpha1/classes.rb,
lib/google/apis/vmmigration_v1alpha1/representations.rb,
lib/google/apis/vmmigration_v1alpha1/representations.rb
Overview
AwsSourceDetails message describes a specific source details for the AWS source type.
Instance Attribute Summary collapse
-
#access_key_creds ⇒ Google::Apis::VmmigrationV1alpha1::AccessKeyCredentials
Message describing AWS Credentials using access key id and secret.
-
#aws_region ⇒ String
Immutable.
-
#error ⇒ Google::Apis::VmmigrationV1alpha1::Status
The
Status
type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. -
#inventory_security_group_names ⇒ Array<String>
AWS security group names to limit the scope of the source inventory.
-
#inventory_tag_list ⇒ Array<Google::Apis::VmmigrationV1alpha1::Tag>
AWS resource tags to limit the scope of the source inventory.
-
#migration_resources_user_tags ⇒ Hash<String,String>
User specified tags to add to every M2VM generated resource in AWS.
-
#network_insights ⇒ Google::Apis::VmmigrationV1alpha1::NetworkInsights
Information about the network coniguration of the source.
-
#public_ip ⇒ String
Output only.
-
#state ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AwsSourceDetails
constructor
A new instance of AwsSourceDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AwsSourceDetails
Returns a new instance of AwsSourceDetails.
291 292 293 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 291 def initialize(**args) update!(**args) end |
Instance Attribute Details
#access_key_creds ⇒ Google::Apis::VmmigrationV1alpha1::AccessKeyCredentials
Message describing AWS Credentials using access key id and secret.
Corresponds to the JSON property accessKeyCreds
241 242 243 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 241 def access_key_creds @access_key_creds end |
#aws_region ⇒ String
Immutable. The AWS region that the source VMs will be migrated from.
Corresponds to the JSON property awsRegion
246 247 248 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 246 def aws_region @aws_region end |
#error ⇒ Google::Apis::VmmigrationV1alpha1::Status
The Status
type defines a logical error model that is suitable for different
programming environments, including REST APIs and RPC APIs. It is used by
gRPC. Each Status
message contains three pieces of
data: error code, error message, and error details. You can find out more
about this error model and how to work with it in the API Design Guide.
Corresponds to the JSON property error
256 257 258 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 256 def error @error end |
#inventory_security_group_names ⇒ Array<String>
AWS security group names to limit the scope of the source inventory.
Corresponds to the JSON property inventorySecurityGroupNames
261 262 263 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 261 def inventory_security_group_names @inventory_security_group_names end |
#inventory_tag_list ⇒ Array<Google::Apis::VmmigrationV1alpha1::Tag>
AWS resource tags to limit the scope of the source inventory.
Corresponds to the JSON property inventoryTagList
266 267 268 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 266 def inventory_tag_list @inventory_tag_list end |
#migration_resources_user_tags ⇒ Hash<String,String>
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
.
Corresponds to the JSON property migrationResourcesUserTags
273 274 275 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 273 def @migration_resources_user_tags end |
#network_insights ⇒ Google::Apis::VmmigrationV1alpha1::NetworkInsights
Information about the network coniguration of the source.
Corresponds to the JSON property networkInsights
278 279 280 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 278 def network_insights @network_insights end |
#public_ip ⇒ String
Output only. The source's public IP. All communication initiated by this
source will originate from this IP.
Corresponds to the JSON property publicIp
284 285 286 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 284 def public_ip @public_ip end |
#state ⇒ String
Output only. State of the source as determined by the health check.
Corresponds to the JSON property state
289 290 291 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 289 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
296 297 298 299 300 301 302 303 304 305 306 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 296 def update!(**args) @access_key_creds = args[:access_key_creds] if args.key?(:access_key_creds) @aws_region = args[:aws_region] if args.key?(:aws_region) @error = args[:error] if args.key?(:error) @inventory_security_group_names = args[:inventory_security_group_names] if args.key?(:inventory_security_group_names) @inventory_tag_list = args[:inventory_tag_list] if args.key?(:inventory_tag_list) @migration_resources_user_tags = args[:migration_resources_user_tags] if args.key?(:migration_resources_user_tags) @network_insights = args[:network_insights] if args.key?(:network_insights) @public_ip = args[:public_ip] if args.key?(:public_ip) @state = args[:state] if args.key?(:state) end |