Class: Google::Cloud::VMMigration::V1::AzureVmDetails

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/vmmigration/v1/vmmigration.rb

Overview

AzureVmDetails describes a VM in Azure.

Defined Under Namespace

Modules: BootOption, PowerState, VmArchitecture Classes: Disk, OSDescription, OSDisk, TagsEntry

Instance Attribute Summary collapse

Instance Attribute Details

#architecture::Google::Cloud::VMMigration::V1::AzureVmDetails::VmArchitecture

Returns The CPU architecture.



1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1521

class AzureVmDetails
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A message describing the OS disk.
  # @!attribute [rw] type
  #   @return [::String]
  #     The disk's type.
  # @!attribute [rw] name
  #   @return [::String]
  #     The disk's full name.
  # @!attribute [rw] size_gb
  #   @return [::Integer]
  #     The disk's size in GB.
  class OSDisk
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A message describing a data disk.
  # @!attribute [rw] name
  #   @return [::String]
  #     The disk name.
  # @!attribute [rw] size_gb
  #   @return [::Integer]
  #     The disk size in GB.
  # @!attribute [rw] lun
  #   @return [::Integer]
  #     The disk's Logical Unit Number (LUN).
  class Disk
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A message describing the VM's OS. Including OS, Publisher, Offer and Plan
  # if applicable.
  # @!attribute [rw] type
  #   @return [::String]
  #     OS type.
  # @!attribute [rw] publisher
  #   @return [::String]
  #     OS publisher.
  # @!attribute [rw] offer
  #   @return [::String]
  #     OS offer.
  # @!attribute [rw] plan
  #   @return [::String]
  #     OS plan.
  class OSDescription
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class TagsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible values for the power state of the VM.
  module PowerState
    # Power state is not specified.
    POWER_STATE_UNSPECIFIED = 0

    # The VM is starting.
    STARTING = 1

    # The VM is running.
    RUNNING = 2

    # The VM is stopping.
    STOPPING = 3

    # The VM is stopped.
    STOPPED = 4

    # The VM is deallocating.
    DEALLOCATING = 5

    # The VM is deallocated.
    DEALLOCATED = 6

    # The VM's power state is unknown.
    UNKNOWN = 7
  end

  # The possible values for the vm boot option.
  module BootOption
    # The boot option is unknown.
    BOOT_OPTION_UNSPECIFIED = 0

    # The boot option is UEFI.
    EFI = 1

    # The boot option is BIOS.
    BIOS = 2
  end

  # Possible values for the VM architecture.
  module VmArchitecture
    # The architecture is unknown.
    VM_ARCHITECTURE_UNSPECIFIED = 0

    # The architecture is one of the x86 architectures.
    VM_ARCHITECTURE_X86_FAMILY = 1

    # The architecture is ARM64.
    VM_ARCHITECTURE_ARM64 = 2
  end
end

#boot_option::Google::Cloud::VMMigration::V1::AzureVmDetails::BootOption

Returns The VM Boot Option.



1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1521

class AzureVmDetails
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A message describing the OS disk.
  # @!attribute [rw] type
  #   @return [::String]
  #     The disk's type.
  # @!attribute [rw] name
  #   @return [::String]
  #     The disk's full name.
  # @!attribute [rw] size_gb
  #   @return [::Integer]
  #     The disk's size in GB.
  class OSDisk
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A message describing a data disk.
  # @!attribute [rw] name
  #   @return [::String]
  #     The disk name.
  # @!attribute [rw] size_gb
  #   @return [::Integer]
  #     The disk size in GB.
  # @!attribute [rw] lun
  #   @return [::Integer]
  #     The disk's Logical Unit Number (LUN).
  class Disk
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A message describing the VM's OS. Including OS, Publisher, Offer and Plan
  # if applicable.
  # @!attribute [rw] type
  #   @return [::String]
  #     OS type.
  # @!attribute [rw] publisher
  #   @return [::String]
  #     OS publisher.
  # @!attribute [rw] offer
  #   @return [::String]
  #     OS offer.
  # @!attribute [rw] plan
  #   @return [::String]
  #     OS plan.
  class OSDescription
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class TagsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible values for the power state of the VM.
  module PowerState
    # Power state is not specified.
    POWER_STATE_UNSPECIFIED = 0

    # The VM is starting.
    STARTING = 1

    # The VM is running.
    RUNNING = 2

    # The VM is stopping.
    STOPPING = 3

    # The VM is stopped.
    STOPPED = 4

    # The VM is deallocating.
    DEALLOCATING = 5

    # The VM is deallocated.
    DEALLOCATED = 6

    # The VM's power state is unknown.
    UNKNOWN = 7
  end

  # The possible values for the vm boot option.
  module BootOption
    # The boot option is unknown.
    BOOT_OPTION_UNSPECIFIED = 0

    # The boot option is UEFI.
    EFI = 1

    # The boot option is BIOS.
    BIOS = 2
  end

  # Possible values for the VM architecture.
  module VmArchitecture
    # The architecture is unknown.
    VM_ARCHITECTURE_UNSPECIFIED = 0

    # The architecture is one of the x86 architectures.
    VM_ARCHITECTURE_X86_FAMILY = 1

    # The architecture is ARM64.
    VM_ARCHITECTURE_ARM64 = 2
  end
end

#committed_storage_mb::Integer

Returns The total size of the storage allocated to the VM in MB.

Returns:

  • (::Integer)

    The total size of the storage allocated to the VM in MB.



1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1521

class AzureVmDetails
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A message describing the OS disk.
  # @!attribute [rw] type
  #   @return [::String]
  #     The disk's type.
  # @!attribute [rw] name
  #   @return [::String]
  #     The disk's full name.
  # @!attribute [rw] size_gb
  #   @return [::Integer]
  #     The disk's size in GB.
  class OSDisk
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A message describing a data disk.
  # @!attribute [rw] name
  #   @return [::String]
  #     The disk name.
  # @!attribute [rw] size_gb
  #   @return [::Integer]
  #     The disk size in GB.
  # @!attribute [rw] lun
  #   @return [::Integer]
  #     The disk's Logical Unit Number (LUN).
  class Disk
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A message describing the VM's OS. Including OS, Publisher, Offer and Plan
  # if applicable.
  # @!attribute [rw] type
  #   @return [::String]
  #     OS type.
  # @!attribute [rw] publisher
  #   @return [::String]
  #     OS publisher.
  # @!attribute [rw] offer
  #   @return [::String]
  #     OS offer.
  # @!attribute [rw] plan
  #   @return [::String]
  #     OS plan.
  class OSDescription
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class TagsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible values for the power state of the VM.
  module PowerState
    # Power state is not specified.
    POWER_STATE_UNSPECIFIED = 0

    # The VM is starting.
    STARTING = 1

    # The VM is running.
    RUNNING = 2

    # The VM is stopping.
    STOPPING = 3

    # The VM is stopped.
    STOPPED = 4

    # The VM is deallocating.
    DEALLOCATING = 5

    # The VM is deallocated.
    DEALLOCATED = 6

    # The VM's power state is unknown.
    UNKNOWN = 7
  end

  # The possible values for the vm boot option.
  module BootOption
    # The boot option is unknown.
    BOOT_OPTION_UNSPECIFIED = 0

    # The boot option is UEFI.
    EFI = 1

    # The boot option is BIOS.
    BIOS = 2
  end

  # Possible values for the VM architecture.
  module VmArchitecture
    # The architecture is unknown.
    VM_ARCHITECTURE_UNSPECIFIED = 0

    # The architecture is one of the x86 architectures.
    VM_ARCHITECTURE_X86_FAMILY = 1

    # The architecture is ARM64.
    VM_ARCHITECTURE_ARM64 = 2
  end
end

#computer_name::String

Returns The VM's ComputerName.

Returns:

  • (::String)

    The VM's ComputerName.



1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1521

class AzureVmDetails
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A message describing the OS disk.
  # @!attribute [rw] type
  #   @return [::String]
  #     The disk's type.
  # @!attribute [rw] name
  #   @return [::String]
  #     The disk's full name.
  # @!attribute [rw] size_gb
  #   @return [::Integer]
  #     The disk's size in GB.
  class OSDisk
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A message describing a data disk.
  # @!attribute [rw] name
  #   @return [::String]
  #     The disk name.
  # @!attribute [rw] size_gb
  #   @return [::Integer]
  #     The disk size in GB.
  # @!attribute [rw] lun
  #   @return [::Integer]
  #     The disk's Logical Unit Number (LUN).
  class Disk
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A message describing the VM's OS. Including OS, Publisher, Offer and Plan
  # if applicable.
  # @!attribute [rw] type
  #   @return [::String]
  #     OS type.
  # @!attribute [rw] publisher
  #   @return [::String]
  #     OS publisher.
  # @!attribute [rw] offer
  #   @return [::String]
  #     OS offer.
  # @!attribute [rw] plan
  #   @return [::String]
  #     OS plan.
  class OSDescription
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class TagsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible values for the power state of the VM.
  module PowerState
    # Power state is not specified.
    POWER_STATE_UNSPECIFIED = 0

    # The VM is starting.
    STARTING = 1

    # The VM is running.
    RUNNING = 2

    # The VM is stopping.
    STOPPING = 3

    # The VM is stopped.
    STOPPED = 4

    # The VM is deallocating.
    DEALLOCATING = 5

    # The VM is deallocated.
    DEALLOCATED = 6

    # The VM's power state is unknown.
    UNKNOWN = 7
  end

  # The possible values for the vm boot option.
  module BootOption
    # The boot option is unknown.
    BOOT_OPTION_UNSPECIFIED = 0

    # The boot option is UEFI.
    EFI = 1

    # The boot option is BIOS.
    BIOS = 2
  end

  # Possible values for the VM architecture.
  module VmArchitecture
    # The architecture is unknown.
    VM_ARCHITECTURE_UNSPECIFIED = 0

    # The architecture is one of the x86 architectures.
    VM_ARCHITECTURE_X86_FAMILY = 1

    # The architecture is ARM64.
    VM_ARCHITECTURE_ARM64 = 2
  end
end

#cpu_count::Integer

Returns The number of cpus the VM has.

Returns:

  • (::Integer)

    The number of cpus the VM has.



1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1521

class AzureVmDetails
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A message describing the OS disk.
  # @!attribute [rw] type
  #   @return [::String]
  #     The disk's type.
  # @!attribute [rw] name
  #   @return [::String]
  #     The disk's full name.
  # @!attribute [rw] size_gb
  #   @return [::Integer]
  #     The disk's size in GB.
  class OSDisk
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A message describing a data disk.
  # @!attribute [rw] name
  #   @return [::String]
  #     The disk name.
  # @!attribute [rw] size_gb
  #   @return [::Integer]
  #     The disk size in GB.
  # @!attribute [rw] lun
  #   @return [::Integer]
  #     The disk's Logical Unit Number (LUN).
  class Disk
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A message describing the VM's OS. Including OS, Publisher, Offer and Plan
  # if applicable.
  # @!attribute [rw] type
  #   @return [::String]
  #     OS type.
  # @!attribute [rw] publisher
  #   @return [::String]
  #     OS publisher.
  # @!attribute [rw] offer
  #   @return [::String]
  #     OS offer.
  # @!attribute [rw] plan
  #   @return [::String]
  #     OS plan.
  class OSDescription
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class TagsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible values for the power state of the VM.
  module PowerState
    # Power state is not specified.
    POWER_STATE_UNSPECIFIED = 0

    # The VM is starting.
    STARTING = 1

    # The VM is running.
    RUNNING = 2

    # The VM is stopping.
    STOPPING = 3

    # The VM is stopped.
    STOPPED = 4

    # The VM is deallocating.
    DEALLOCATING = 5

    # The VM is deallocated.
    DEALLOCATED = 6

    # The VM's power state is unknown.
    UNKNOWN = 7
  end

  # The possible values for the vm boot option.
  module BootOption
    # The boot option is unknown.
    BOOT_OPTION_UNSPECIFIED = 0

    # The boot option is UEFI.
    EFI = 1

    # The boot option is BIOS.
    BIOS = 2
  end

  # Possible values for the VM architecture.
  module VmArchitecture
    # The architecture is unknown.
    VM_ARCHITECTURE_UNSPECIFIED = 0

    # The architecture is one of the x86 architectures.
    VM_ARCHITECTURE_X86_FAMILY = 1

    # The architecture is ARM64.
    VM_ARCHITECTURE_ARM64 = 2
  end
end

#disk_count::Integer

Returns The number of disks the VM has, including OS disk.

Returns:

  • (::Integer)

    The number of disks the VM has, including OS disk.



1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1521

class AzureVmDetails
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A message describing the OS disk.
  # @!attribute [rw] type
  #   @return [::String]
  #     The disk's type.
  # @!attribute [rw] name
  #   @return [::String]
  #     The disk's full name.
  # @!attribute [rw] size_gb
  #   @return [::Integer]
  #     The disk's size in GB.
  class OSDisk
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A message describing a data disk.
  # @!attribute [rw] name
  #   @return [::String]
  #     The disk name.
  # @!attribute [rw] size_gb
  #   @return [::Integer]
  #     The disk size in GB.
  # @!attribute [rw] lun
  #   @return [::Integer]
  #     The disk's Logical Unit Number (LUN).
  class Disk
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A message describing the VM's OS. Including OS, Publisher, Offer and Plan
  # if applicable.
  # @!attribute [rw] type
  #   @return [::String]
  #     OS type.
  # @!attribute [rw] publisher
  #   @return [::String]
  #     OS publisher.
  # @!attribute [rw] offer
  #   @return [::String]
  #     OS offer.
  # @!attribute [rw] plan
  #   @return [::String]
  #     OS plan.
  class OSDescription
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class TagsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible values for the power state of the VM.
  module PowerState
    # Power state is not specified.
    POWER_STATE_UNSPECIFIED = 0

    # The VM is starting.
    STARTING = 1

    # The VM is running.
    RUNNING = 2

    # The VM is stopping.
    STOPPING = 3

    # The VM is stopped.
    STOPPED = 4

    # The VM is deallocating.
    DEALLOCATING = 5

    # The VM is deallocated.
    DEALLOCATED = 6

    # The VM's power state is unknown.
    UNKNOWN = 7
  end

  # The possible values for the vm boot option.
  module BootOption
    # The boot option is unknown.
    BOOT_OPTION_UNSPECIFIED = 0

    # The boot option is UEFI.
    EFI = 1

    # The boot option is BIOS.
    BIOS = 2
  end

  # Possible values for the VM architecture.
  module VmArchitecture
    # The architecture is unknown.
    VM_ARCHITECTURE_UNSPECIFIED = 0

    # The architecture is one of the x86 architectures.
    VM_ARCHITECTURE_X86_FAMILY = 1

    # The architecture is ARM64.
    VM_ARCHITECTURE_ARM64 = 2
  end
end

#disks::Array<::Google::Cloud::VMMigration::V1::AzureVmDetails::Disk>

Returns Description of the data disks.

Returns:



1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1521

class AzureVmDetails
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A message describing the OS disk.
  # @!attribute [rw] type
  #   @return [::String]
  #     The disk's type.
  # @!attribute [rw] name
  #   @return [::String]
  #     The disk's full name.
  # @!attribute [rw] size_gb
  #   @return [::Integer]
  #     The disk's size in GB.
  class OSDisk
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A message describing a data disk.
  # @!attribute [rw] name
  #   @return [::String]
  #     The disk name.
  # @!attribute [rw] size_gb
  #   @return [::Integer]
  #     The disk size in GB.
  # @!attribute [rw] lun
  #   @return [::Integer]
  #     The disk's Logical Unit Number (LUN).
  class Disk
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A message describing the VM's OS. Including OS, Publisher, Offer and Plan
  # if applicable.
  # @!attribute [rw] type
  #   @return [::String]
  #     OS type.
  # @!attribute [rw] publisher
  #   @return [::String]
  #     OS publisher.
  # @!attribute [rw] offer
  #   @return [::String]
  #     OS offer.
  # @!attribute [rw] plan
  #   @return [::String]
  #     OS plan.
  class OSDescription
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class TagsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible values for the power state of the VM.
  module PowerState
    # Power state is not specified.
    POWER_STATE_UNSPECIFIED = 0

    # The VM is starting.
    STARTING = 1

    # The VM is running.
    RUNNING = 2

    # The VM is stopping.
    STOPPING = 3

    # The VM is stopped.
    STOPPED = 4

    # The VM is deallocating.
    DEALLOCATING = 5

    # The VM is deallocated.
    DEALLOCATED = 6

    # The VM's power state is unknown.
    UNKNOWN = 7
  end

  # The possible values for the vm boot option.
  module BootOption
    # The boot option is unknown.
    BOOT_OPTION_UNSPECIFIED = 0

    # The boot option is UEFI.
    EFI = 1

    # The boot option is BIOS.
    BIOS = 2
  end

  # Possible values for the VM architecture.
  module VmArchitecture
    # The architecture is unknown.
    VM_ARCHITECTURE_UNSPECIFIED = 0

    # The architecture is one of the x86 architectures.
    VM_ARCHITECTURE_X86_FAMILY = 1

    # The architecture is ARM64.
    VM_ARCHITECTURE_ARM64 = 2
  end
end

#memory_mb::Integer

Returns The memory size of the VM in MB.

Returns:

  • (::Integer)

    The memory size of the VM in MB.



1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1521

class AzureVmDetails
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A message describing the OS disk.
  # @!attribute [rw] type
  #   @return [::String]
  #     The disk's type.
  # @!attribute [rw] name
  #   @return [::String]
  #     The disk's full name.
  # @!attribute [rw] size_gb
  #   @return [::Integer]
  #     The disk's size in GB.
  class OSDisk
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A message describing a data disk.
  # @!attribute [rw] name
  #   @return [::String]
  #     The disk name.
  # @!attribute [rw] size_gb
  #   @return [::Integer]
  #     The disk size in GB.
  # @!attribute [rw] lun
  #   @return [::Integer]
  #     The disk's Logical Unit Number (LUN).
  class Disk
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A message describing the VM's OS. Including OS, Publisher, Offer and Plan
  # if applicable.
  # @!attribute [rw] type
  #   @return [::String]
  #     OS type.
  # @!attribute [rw] publisher
  #   @return [::String]
  #     OS publisher.
  # @!attribute [rw] offer
  #   @return [::String]
  #     OS offer.
  # @!attribute [rw] plan
  #   @return [::String]
  #     OS plan.
  class OSDescription
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class TagsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible values for the power state of the VM.
  module PowerState
    # Power state is not specified.
    POWER_STATE_UNSPECIFIED = 0

    # The VM is starting.
    STARTING = 1

    # The VM is running.
    RUNNING = 2

    # The VM is stopping.
    STOPPING = 3

    # The VM is stopped.
    STOPPED = 4

    # The VM is deallocating.
    DEALLOCATING = 5

    # The VM is deallocated.
    DEALLOCATED = 6

    # The VM's power state is unknown.
    UNKNOWN = 7
  end

  # The possible values for the vm boot option.
  module BootOption
    # The boot option is unknown.
    BOOT_OPTION_UNSPECIFIED = 0

    # The boot option is UEFI.
    EFI = 1

    # The boot option is BIOS.
    BIOS = 2
  end

  # Possible values for the VM architecture.
  module VmArchitecture
    # The architecture is unknown.
    VM_ARCHITECTURE_UNSPECIFIED = 0

    # The architecture is one of the x86 architectures.
    VM_ARCHITECTURE_X86_FAMILY = 1

    # The architecture is ARM64.
    VM_ARCHITECTURE_ARM64 = 2
  end
end

#os_description::Google::Cloud::VMMigration::V1::AzureVmDetails::OSDescription

Returns Description of the OS.



1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1521

class AzureVmDetails
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A message describing the OS disk.
  # @!attribute [rw] type
  #   @return [::String]
  #     The disk's type.
  # @!attribute [rw] name
  #   @return [::String]
  #     The disk's full name.
  # @!attribute [rw] size_gb
  #   @return [::Integer]
  #     The disk's size in GB.
  class OSDisk
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A message describing a data disk.
  # @!attribute [rw] name
  #   @return [::String]
  #     The disk name.
  # @!attribute [rw] size_gb
  #   @return [::Integer]
  #     The disk size in GB.
  # @!attribute [rw] lun
  #   @return [::Integer]
  #     The disk's Logical Unit Number (LUN).
  class Disk
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A message describing the VM's OS. Including OS, Publisher, Offer and Plan
  # if applicable.
  # @!attribute [rw] type
  #   @return [::String]
  #     OS type.
  # @!attribute [rw] publisher
  #   @return [::String]
  #     OS publisher.
  # @!attribute [rw] offer
  #   @return [::String]
  #     OS offer.
  # @!attribute [rw] plan
  #   @return [::String]
  #     OS plan.
  class OSDescription
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class TagsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible values for the power state of the VM.
  module PowerState
    # Power state is not specified.
    POWER_STATE_UNSPECIFIED = 0

    # The VM is starting.
    STARTING = 1

    # The VM is running.
    RUNNING = 2

    # The VM is stopping.
    STOPPING = 3

    # The VM is stopped.
    STOPPED = 4

    # The VM is deallocating.
    DEALLOCATING = 5

    # The VM is deallocated.
    DEALLOCATED = 6

    # The VM's power state is unknown.
    UNKNOWN = 7
  end

  # The possible values for the vm boot option.
  module BootOption
    # The boot option is unknown.
    BOOT_OPTION_UNSPECIFIED = 0

    # The boot option is UEFI.
    EFI = 1

    # The boot option is BIOS.
    BIOS = 2
  end

  # Possible values for the VM architecture.
  module VmArchitecture
    # The architecture is unknown.
    VM_ARCHITECTURE_UNSPECIFIED = 0

    # The architecture is one of the x86 architectures.
    VM_ARCHITECTURE_X86_FAMILY = 1

    # The architecture is ARM64.
    VM_ARCHITECTURE_ARM64 = 2
  end
end

#os_disk::Google::Cloud::VMMigration::V1::AzureVmDetails::OSDisk

Returns Description of the OS disk.

Returns:



1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1521

class AzureVmDetails
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A message describing the OS disk.
  # @!attribute [rw] type
  #   @return [::String]
  #     The disk's type.
  # @!attribute [rw] name
  #   @return [::String]
  #     The disk's full name.
  # @!attribute [rw] size_gb
  #   @return [::Integer]
  #     The disk's size in GB.
  class OSDisk
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A message describing a data disk.
  # @!attribute [rw] name
  #   @return [::String]
  #     The disk name.
  # @!attribute [rw] size_gb
  #   @return [::Integer]
  #     The disk size in GB.
  # @!attribute [rw] lun
  #   @return [::Integer]
  #     The disk's Logical Unit Number (LUN).
  class Disk
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A message describing the VM's OS. Including OS, Publisher, Offer and Plan
  # if applicable.
  # @!attribute [rw] type
  #   @return [::String]
  #     OS type.
  # @!attribute [rw] publisher
  #   @return [::String]
  #     OS publisher.
  # @!attribute [rw] offer
  #   @return [::String]
  #     OS offer.
  # @!attribute [rw] plan
  #   @return [::String]
  #     OS plan.
  class OSDescription
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class TagsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible values for the power state of the VM.
  module PowerState
    # Power state is not specified.
    POWER_STATE_UNSPECIFIED = 0

    # The VM is starting.
    STARTING = 1

    # The VM is running.
    RUNNING = 2

    # The VM is stopping.
    STOPPING = 3

    # The VM is stopped.
    STOPPED = 4

    # The VM is deallocating.
    DEALLOCATING = 5

    # The VM is deallocated.
    DEALLOCATED = 6

    # The VM's power state is unknown.
    UNKNOWN = 7
  end

  # The possible values for the vm boot option.
  module BootOption
    # The boot option is unknown.
    BOOT_OPTION_UNSPECIFIED = 0

    # The boot option is UEFI.
    EFI = 1

    # The boot option is BIOS.
    BIOS = 2
  end

  # Possible values for the VM architecture.
  module VmArchitecture
    # The architecture is unknown.
    VM_ARCHITECTURE_UNSPECIFIED = 0

    # The architecture is one of the x86 architectures.
    VM_ARCHITECTURE_X86_FAMILY = 1

    # The architecture is ARM64.
    VM_ARCHITECTURE_ARM64 = 2
  end
end

#power_state::Google::Cloud::VMMigration::V1::AzureVmDetails::PowerState

Returns The power state of the VM at the moment list was taken.

Returns:



1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1521

class AzureVmDetails
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A message describing the OS disk.
  # @!attribute [rw] type
  #   @return [::String]
  #     The disk's type.
  # @!attribute [rw] name
  #   @return [::String]
  #     The disk's full name.
  # @!attribute [rw] size_gb
  #   @return [::Integer]
  #     The disk's size in GB.
  class OSDisk
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A message describing a data disk.
  # @!attribute [rw] name
  #   @return [::String]
  #     The disk name.
  # @!attribute [rw] size_gb
  #   @return [::Integer]
  #     The disk size in GB.
  # @!attribute [rw] lun
  #   @return [::Integer]
  #     The disk's Logical Unit Number (LUN).
  class Disk
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A message describing the VM's OS. Including OS, Publisher, Offer and Plan
  # if applicable.
  # @!attribute [rw] type
  #   @return [::String]
  #     OS type.
  # @!attribute [rw] publisher
  #   @return [::String]
  #     OS publisher.
  # @!attribute [rw] offer
  #   @return [::String]
  #     OS offer.
  # @!attribute [rw] plan
  #   @return [::String]
  #     OS plan.
  class OSDescription
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class TagsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible values for the power state of the VM.
  module PowerState
    # Power state is not specified.
    POWER_STATE_UNSPECIFIED = 0

    # The VM is starting.
    STARTING = 1

    # The VM is running.
    RUNNING = 2

    # The VM is stopping.
    STOPPING = 3

    # The VM is stopped.
    STOPPED = 4

    # The VM is deallocating.
    DEALLOCATING = 5

    # The VM is deallocated.
    DEALLOCATED = 6

    # The VM's power state is unknown.
    UNKNOWN = 7
  end

  # The possible values for the vm boot option.
  module BootOption
    # The boot option is unknown.
    BOOT_OPTION_UNSPECIFIED = 0

    # The boot option is UEFI.
    EFI = 1

    # The boot option is BIOS.
    BIOS = 2
  end

  # Possible values for the VM architecture.
  module VmArchitecture
    # The architecture is unknown.
    VM_ARCHITECTURE_UNSPECIFIED = 0

    # The architecture is one of the x86 architectures.
    VM_ARCHITECTURE_X86_FAMILY = 1

    # The architecture is ARM64.
    VM_ARCHITECTURE_ARM64 = 2
  end
end

#tags::Google::Protobuf::Map{::String => ::String}

Returns The tags of the VM.

Returns:

  • (::Google::Protobuf::Map{::String => ::String})

    The tags of the VM.



1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1521

class AzureVmDetails
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A message describing the OS disk.
  # @!attribute [rw] type
  #   @return [::String]
  #     The disk's type.
  # @!attribute [rw] name
  #   @return [::String]
  #     The disk's full name.
  # @!attribute [rw] size_gb
  #   @return [::Integer]
  #     The disk's size in GB.
  class OSDisk
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A message describing a data disk.
  # @!attribute [rw] name
  #   @return [::String]
  #     The disk name.
  # @!attribute [rw] size_gb
  #   @return [::Integer]
  #     The disk size in GB.
  # @!attribute [rw] lun
  #   @return [::Integer]
  #     The disk's Logical Unit Number (LUN).
  class Disk
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A message describing the VM's OS. Including OS, Publisher, Offer and Plan
  # if applicable.
  # @!attribute [rw] type
  #   @return [::String]
  #     OS type.
  # @!attribute [rw] publisher
  #   @return [::String]
  #     OS publisher.
  # @!attribute [rw] offer
  #   @return [::String]
  #     OS offer.
  # @!attribute [rw] plan
  #   @return [::String]
  #     OS plan.
  class OSDescription
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class TagsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible values for the power state of the VM.
  module PowerState
    # Power state is not specified.
    POWER_STATE_UNSPECIFIED = 0

    # The VM is starting.
    STARTING = 1

    # The VM is running.
    RUNNING = 2

    # The VM is stopping.
    STOPPING = 3

    # The VM is stopped.
    STOPPED = 4

    # The VM is deallocating.
    DEALLOCATING = 5

    # The VM is deallocated.
    DEALLOCATED = 6

    # The VM's power state is unknown.
    UNKNOWN = 7
  end

  # The possible values for the vm boot option.
  module BootOption
    # The boot option is unknown.
    BOOT_OPTION_UNSPECIFIED = 0

    # The boot option is UEFI.
    EFI = 1

    # The boot option is BIOS.
    BIOS = 2
  end

  # Possible values for the VM architecture.
  module VmArchitecture
    # The architecture is unknown.
    VM_ARCHITECTURE_UNSPECIFIED = 0

    # The architecture is one of the x86 architectures.
    VM_ARCHITECTURE_X86_FAMILY = 1

    # The architecture is ARM64.
    VM_ARCHITECTURE_ARM64 = 2
  end
end

#vm_id::String

Returns The VM full path in Azure.

Returns:

  • (::String)

    The VM full path in Azure.



1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1521

class AzureVmDetails
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A message describing the OS disk.
  # @!attribute [rw] type
  #   @return [::String]
  #     The disk's type.
  # @!attribute [rw] name
  #   @return [::String]
  #     The disk's full name.
  # @!attribute [rw] size_gb
  #   @return [::Integer]
  #     The disk's size in GB.
  class OSDisk
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A message describing a data disk.
  # @!attribute [rw] name
  #   @return [::String]
  #     The disk name.
  # @!attribute [rw] size_gb
  #   @return [::Integer]
  #     The disk size in GB.
  # @!attribute [rw] lun
  #   @return [::Integer]
  #     The disk's Logical Unit Number (LUN).
  class Disk
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A message describing the VM's OS. Including OS, Publisher, Offer and Plan
  # if applicable.
  # @!attribute [rw] type
  #   @return [::String]
  #     OS type.
  # @!attribute [rw] publisher
  #   @return [::String]
  #     OS publisher.
  # @!attribute [rw] offer
  #   @return [::String]
  #     OS offer.
  # @!attribute [rw] plan
  #   @return [::String]
  #     OS plan.
  class OSDescription
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class TagsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible values for the power state of the VM.
  module PowerState
    # Power state is not specified.
    POWER_STATE_UNSPECIFIED = 0

    # The VM is starting.
    STARTING = 1

    # The VM is running.
    RUNNING = 2

    # The VM is stopping.
    STOPPING = 3

    # The VM is stopped.
    STOPPED = 4

    # The VM is deallocating.
    DEALLOCATING = 5

    # The VM is deallocated.
    DEALLOCATED = 6

    # The VM's power state is unknown.
    UNKNOWN = 7
  end

  # The possible values for the vm boot option.
  module BootOption
    # The boot option is unknown.
    BOOT_OPTION_UNSPECIFIED = 0

    # The boot option is UEFI.
    EFI = 1

    # The boot option is BIOS.
    BIOS = 2
  end

  # Possible values for the VM architecture.
  module VmArchitecture
    # The architecture is unknown.
    VM_ARCHITECTURE_UNSPECIFIED = 0

    # The architecture is one of the x86 architectures.
    VM_ARCHITECTURE_X86_FAMILY = 1

    # The architecture is ARM64.
    VM_ARCHITECTURE_ARM64 = 2
  end
end

#vm_size::String

Returns VM size as configured in Azure. Determines the VM's hardware spec.

Returns:

  • (::String)

    VM size as configured in Azure. Determines the VM's hardware spec.



1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1521

class AzureVmDetails
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A message describing the OS disk.
  # @!attribute [rw] type
  #   @return [::String]
  #     The disk's type.
  # @!attribute [rw] name
  #   @return [::String]
  #     The disk's full name.
  # @!attribute [rw] size_gb
  #   @return [::Integer]
  #     The disk's size in GB.
  class OSDisk
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A message describing a data disk.
  # @!attribute [rw] name
  #   @return [::String]
  #     The disk name.
  # @!attribute [rw] size_gb
  #   @return [::Integer]
  #     The disk size in GB.
  # @!attribute [rw] lun
  #   @return [::Integer]
  #     The disk's Logical Unit Number (LUN).
  class Disk
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A message describing the VM's OS. Including OS, Publisher, Offer and Plan
  # if applicable.
  # @!attribute [rw] type
  #   @return [::String]
  #     OS type.
  # @!attribute [rw] publisher
  #   @return [::String]
  #     OS publisher.
  # @!attribute [rw] offer
  #   @return [::String]
  #     OS offer.
  # @!attribute [rw] plan
  #   @return [::String]
  #     OS plan.
  class OSDescription
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class TagsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible values for the power state of the VM.
  module PowerState
    # Power state is not specified.
    POWER_STATE_UNSPECIFIED = 0

    # The VM is starting.
    STARTING = 1

    # The VM is running.
    RUNNING = 2

    # The VM is stopping.
    STOPPING = 3

    # The VM is stopped.
    STOPPED = 4

    # The VM is deallocating.
    DEALLOCATING = 5

    # The VM is deallocated.
    DEALLOCATED = 6

    # The VM's power state is unknown.
    UNKNOWN = 7
  end

  # The possible values for the vm boot option.
  module BootOption
    # The boot option is unknown.
    BOOT_OPTION_UNSPECIFIED = 0

    # The boot option is UEFI.
    EFI = 1

    # The boot option is BIOS.
    BIOS = 2
  end

  # Possible values for the VM architecture.
  module VmArchitecture
    # The architecture is unknown.
    VM_ARCHITECTURE_UNSPECIFIED = 0

    # The architecture is one of the x86 architectures.
    VM_ARCHITECTURE_X86_FAMILY = 1

    # The architecture is ARM64.
    VM_ARCHITECTURE_ARM64 = 2
  end
end