class Azure::Migrate::Mgmt::V2018_02_02::Models::AssessedMachine

A machine evaluated as part of an assessment.

Attributes

boot_type[RW]

@return [MachineBootType] Boot type of the machine. Possible values include: 'Unknown', 'EFI', 'BIOS'

created_timestamp[RW]

@return [DateTime] Time when this machine was created. Date-Time represented in ISO-8601 format.

datacenter_container[RW]

@return [String] Container defined in the management solution that this machine is part of in the datacenter.

datacenter_machine_id[RW]

@return [String] ID of the machine as tracked by the datacenter management solution.

datacenter_management_server[RW]

@return [String] Name of the server hosting the datacenter management solution.

datacenter_management_server_id[RW]

@return [String] ID of the server hosting the datacenter management solution.

description[RW]

@return [String] Description of the machine

discovered_timestamp[RW]

@return [DateTime] Time when this machine was discovered by Azure Migrate agent. Date-Time represented in ISO-8601 format.

disks[RW]

@return [Hash{String => AssessedDisk}] Dictionary of disks attached to the machine. Key is ID of disk. Value is a disk object.

display_name[RW]

@return [String] User readable name of the machine as defined by the user in their private datacenter.

e_tag[RW]

@return [String] For optimistic concurrency control.

groups[RW]

@return [Array<String>] List of references to the groups that the machine is member of.

id[RW]

@return [String] Path reference to this assessed machine. /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/projects/{projectName}/groups/{groupName}/assessments/{assessmentName}/assessedMachines/{assessedMachineName}

megabytes_of_memory[RW]

@return [Float] Memory in Megabytes.

monthly_bandwidth_cost[RW]

@return [Float] Monthly network cost estimate for the network adapters that are attached to this machine as a group, for a 31-day month.

monthly_storage_cost[RW]

@return [Float] Monthly storage cost estimate for the disks that are attached to this machine as a group, for a 31-day month.

name[RW]

@return [String] Name of the machine.

network_adapters[RW]

@return [Hash{String => AssessedNetworkAdapter}] Dictionary of network adapters attached to the machine. Key is name of the adapter. Value is a network adapter object.

number_of_cores[RW]

@return [Integer] Processor count.

operating_system[RW]

@return [String] Operating System of the machine.

percentage_cores_utilization[RW]

@return [Float] Utilization percentage of the processor core as observed in the private data center, in the Time Range selected on Assessment, reported as the Percentile value based on the percentile number selected in assessment.

percentage_cores_utilization_data_points_expected[RW]

@return [Integer] Expected data points for percentage of cores utilization.

percentage_cores_utilization_data_points_received[RW]

@return [Integer] Received data points for percentage of cores utilization.

percentage_memory_utilization[RW]

@return [Float] Utilization percentage of the memory as observed in the private data center, in the Time Range selected on Assessment, reported as the Percentile value based on the percentile number selected in assessment.

percentage_memory_utilization_data_points_expected[RW]

@return [Integer] Expected data points for percentage of memory utilization.

percentage_memory_utilization_data_points_received[RW]

@return [Integer] Received data points for percentage of memory utilization.

suitability[RW]

@return [CloudSuitability] Whether machine is suitable for migration to Azure. Possible values include: 'Unknown', 'NotSuitable', 'Suitable', 'ConditionallySuitable', 'ReadinessUnknown'

suitability_explanation[RW]

@return [AzureVmSuitabilityExplanation] If machine is not ready to be migrated, this explains the reasons and mitigation steps. Possible values include: 'Unknown', 'NotApplicable', 'GuestOperatingSystemArchitectureNotSupported', 'GuestOperatingSystemNotSupported', 'BootTypeNotSupported', 'MoreDisksThanSupported', 'NoSuitableVmSizeFound', 'OneOrMoreDisksNotSuitable', 'OneOrMoreAdaptersNotSuitable', 'InternalErrorOccuredDuringComputeEvaluation', 'InternalErrorOccuredDuringStorageEvaluation', 'InternalErrorOccuredDuringNetworkEvaluation', 'NoVmSizeSupportsStoragePerformance', 'NoVmSizeSupportsNetworkPerformance', 'NoVmSizeForSelectedPricingTier', 'NoVmSizeForSelectedAzureLocation', 'CheckRedHatLinuxVersion', 'CheckOpenSuseLinuxVersion', 'CheckWindowsServer2008R2Version', 'CheckCentOsVersion', 'CheckDebianLinuxVersion', 'CheckSuseLinuxVersion', 'CheckOracleLinuxVersion', 'CheckUbuntuLinuxVersion', 'CheckCoreOsLinuxVersion', 'WindowsServerVersionConditionallySupported', 'NoGuestOperatingSystemConditionallySupported', 'WindowsClientVersionsConditionallySupported', 'BootTypeUnknown', 'GuestOperatingSystemUnknown', 'WindowsServerVersionsSupportedWithCaveat', 'WindowsOSNoLongerUnderMSSupport', 'EndorsedWithConditionsLinuxDistributions', 'UnendorsedLinuxDistributions', 'NoVmSizeForStandardPricingTier', 'NoVmSizeForBasicPricingTier'

type[RW]

@return [String] Type of the object = [Microsoft.Migrate/projects/groups/assessments/assessedMachines].

updated_timestamp[RW]

@return [DateTime] Time when this machine was last updated. Date-Time represented in ISO-8601 format.

Private Class Methods

mapper() click to toggle source

Mapper for AssessedMachine class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2018-02-02/generated/azure_mgmt_migrate/models/assessed_machine.rb, line 201
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AssessedMachine',
    type: {
      name: 'Composite',
      class_name: 'AssessedMachine',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        e_tag: {
          client_side_validation: true,
          required: false,
          serialized_name: 'eTag',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        groups: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.groups',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        discovered_timestamp: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.discoveredTimestamp',
          type: {
            name: 'DateTime'
          }
        },
        boot_type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.bootType',
          type: {
            name: 'String'
          }
        },
        datacenter_container: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.datacenterContainer',
          type: {
            name: 'String'
          }
        },
        datacenter_management_server: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.datacenterManagementServer',
          type: {
            name: 'String'
          }
        },
        datacenter_machine_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.datacenterMachineId',
          type: {
            name: 'String'
          }
        },
        datacenter_management_server_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.datacenterManagementServerId',
          type: {
            name: 'String'
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.description',
          type: {
            name: 'String'
          }
        },
        display_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.displayName',
          type: {
            name: 'String'
          }
        },
        megabytes_of_memory: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.megabytesOfMemory',
          type: {
            name: 'Double'
          }
        },
        number_of_cores: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.numberOfCores',
          type: {
            name: 'Number'
          }
        },
        operating_system: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.operatingSystem',
          type: {
            name: 'String'
          }
        },
        monthly_bandwidth_cost: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.monthlyBandwidthCost',
          type: {
            name: 'Double'
          }
        },
        monthly_storage_cost: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.monthlyStorageCost',
          type: {
            name: 'Double'
          }
        },
        disks: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.disks',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'AssessedDiskElementType',
                type: {
                  name: 'Composite',
                  class_name: 'AssessedDisk'
                }
            }
          }
        },
        network_adapters: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.networkAdapters',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'AssessedNetworkAdapterElementType',
                type: {
                  name: 'Composite',
                  class_name: 'AssessedNetworkAdapter'
                }
            }
          }
        },
        recommended_size: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.recommendedSize',
          type: {
            name: 'String'
          }
        },
        number_of_cores_for_recommended_size: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.numberOfCoresForRecommendedSize',
          type: {
            name: 'Number'
          }
        },
        megabytes_of_memory_for_recommended_size: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.megabytesOfMemoryForRecommendedSize',
          type: {
            name: 'Double'
          }
        },
        monthly_compute_cost_for_recommended_size: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.monthlyComputeCostForRecommendedSize',
          type: {
            name: 'Double'
          }
        },
        percentage_cores_utilization: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.percentageCoresUtilization',
          type: {
            name: 'Double'
          }
        },
        percentage_memory_utilization: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.percentageMemoryUtilization',
          type: {
            name: 'Double'
          }
        },
        percentage_cores_utilization_data_points_expected: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.percentageCoresUtilizationDataPointsExpected',
          type: {
            name: 'Number'
          }
        },
        percentage_cores_utilization_data_points_received: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.percentageCoresUtilizationDataPointsReceived',
          type: {
            name: 'Number'
          }
        },
        percentage_memory_utilization_data_points_expected: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.percentageMemoryUtilizationDataPointsExpected',
          type: {
            name: 'Number'
          }
        },
        percentage_memory_utilization_data_points_received: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.percentageMemoryUtilizationDataPointsReceived',
          type: {
            name: 'Number'
          }
        },
        suitability: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.suitability',
          type: {
            name: 'String'
          }
        },
        suitability_explanation: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.suitabilityExplanation',
          type: {
            name: 'String'
          }
        },
        created_timestamp: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.createdTimestamp',
          type: {
            name: 'DateTime'
          }
        },
        updated_timestamp: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.updatedTimestamp',
          type: {
            name: 'DateTime'
          }
        }
      }
    }
  }
end