Class: Google::Apis::VmmigrationV1::AwsSourceVmDetails

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/vmmigration_v1/classes.rb,
lib/google/apis/vmmigration_v1/representations.rb,
lib/google/apis/vmmigration_v1/representations.rb

Overview

Represent the source AWS VM details.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AwsSourceVmDetails

Returns a new instance of AwsSourceVmDetails.



397
398
399
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 397

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#architectureString

Output only. The VM architecture. Corresponds to the JSON property architecture

Returns:

  • (String)


374
375
376
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 374

def architecture
  @architecture
end

#committed_storage_bytesFixnum

Output only. The total size of the disks being migrated in bytes. Corresponds to the JSON property committedStorageBytes

Returns:

  • (Fixnum)


379
380
381
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 379

def committed_storage_bytes
  @committed_storage_bytes
end

#disksArray<Google::Apis::VmmigrationV1::AwsDiskDetails>

Output only. The disks attached to the source VM. Corresponds to the JSON property disks



384
385
386
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 384

def disks
  @disks
end

#firmwareString

Output only. The firmware type of the source VM. Corresponds to the JSON property firmware

Returns:

  • (String)


389
390
391
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 389

def firmware
  @firmware
end

#vm_capabilities_infoGoogle::Apis::VmmigrationV1::VmCapabilities

Migrating VM source information about the VM capabilities needed for some Compute Engine features. Corresponds to the JSON property vmCapabilitiesInfo



395
396
397
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 395

def vm_capabilities_info
  @vm_capabilities_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



402
403
404
405
406
407
408
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 402

def update!(**args)
  @architecture = args[:architecture] if args.key?(:architecture)
  @committed_storage_bytes = args[:committed_storage_bytes] if args.key?(:committed_storage_bytes)
  @disks = args[:disks] if args.key?(:disks)
  @firmware = args[:firmware] if args.key?(:firmware)
  @vm_capabilities_info = args[:vm_capabilities_info] if args.key?(:vm_capabilities_info)
end