class Azure::Migrate::Mgmt::V2018_02_02::Models::Assessment

An assessment created for a group in the Migration project.

Attributes

azure_hybrid_use_benefit[RW]

@return [AzureHybridUseBenefit] AHUB discount on windows virtual machines. Possible values include: 'Unknown', 'Yes', 'No'

azure_location[RW]

@return [AzureLocation] Target Azure location for which the machines should be assessed. These enums are the same as used by Compute API. Possible values include: 'Unknown', 'EastAsia', 'SoutheastAsia', 'AustraliaEast', 'AustraliaSoutheast', 'BrazilSouth', 'CanadaCentral', 'CanadaEast', 'WestEurope', 'NorthEurope', 'CentralIndia', 'SouthIndia', 'WestIndia', 'JapanEast', 'JapanWest', 'KoreaCentral', 'KoreaSouth', 'UkWest', 'UkSouth', 'NorthCentralUs', 'EastUs', 'WestUs2', 'SouthCentralUs', 'CentralUs', 'EastUs2', 'WestUs', 'WestCentralUs', 'GermanyCentral', 'GermanyNortheast', 'ChinaNorth', 'ChinaEast'

azure_offer_code[RW]

@return [AzureOfferCode] Offer code according to which cost estimation is done. Possible values include: 'Unknown', 'MSAZR0003P', 'MSAZR0044P', 'MSAZR0059P', 'MSAZR0060P', 'MSAZR0062P', 'MSAZR0063P', 'MSAZR0064P', 'MSAZR0029P', 'MSAZR0022P', 'MSAZR0023P', 'MSAZR0148P', 'MSAZR0025P', 'MSAZR0036P', 'MSAZR0120P', 'MSAZR0121P', 'MSAZR0122P', 'MSAZR0123P', 'MSAZR0124P', 'MSAZR0125P', 'MSAZR0126P', 'MSAZR0127P', 'MSAZR0128P', 'MSAZR0129P', 'MSAZR0130P', 'MSAZR0111P', 'MSAZR0144P', 'MSAZR0149P', 'MSMCAZR0044P', 'MSMCAZR0059P', 'MSMCAZR0060P', 'MSMCAZR0063P', 'MSMCAZR0120P', 'MSMCAZR0121P', 'MSMCAZR0125P', 'MSMCAZR0128P', 'MSAZRDE0003P', 'MSAZRDE0044P'

azure_pricing_tier[RW]

@return [AzurePricingTier] Pricing tier for Size evaluation. Possible values include: 'Standard', 'Basic'

azure_storage_redundancy[RW]

@return [AzureStorageRedundancy] Storage Redundancy type offered by Azure. Possible values include: 'Unknown', 'LocallyRedundant', 'ZoneRedundant', 'GeoRedundant', 'ReadAccessGeoRedundant'

confidence_rating_in_percentage[RW]

@return [Float] Confidence rating percentage for assessment. Can be in the range [0, 100].

created_timestamp[RW]

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

currency[RW]

@return [Currency] Currency to report prices in. Possible values include: 'Unknown', 'USD', 'DKK', 'CAD', 'IDR', 'JPY', 'KRW', 'NZD', 'NOK', 'RUB', 'SAR', 'ZAR', 'SEK', 'TRY', 'GBP', 'MXN', 'MYR', 'INR', 'HKD', 'BRL', 'TWD', 'EUR', 'CHF', 'ARS', 'AUD', 'CNY'

discount_percentage[RW]

@return [Float] Custom discount percentage to be applied on final costs. Can be in the range [0, 100].

e_tag[RW]

@return [String] For optimistic concurrency control.

id[RW]

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

monthly_bandwidth_cost[RW]

@return [Float] Monthly network cost estimate for the machines that are part of this assessment as a group, for a 31-day month.

monthly_compute_cost[RW]

@return [Float] Monthly compute cost estimate for the machines that are part of this assessment as a group, for a 31-day month.

monthly_storage_cost[RW]

@return [Float] Monthly storage cost estimate for the machines that are part of this assessment as a group, for a 31-day month.

name[RW]

@return [String] Unique name of an assessment.

number_of_machines[RW]

@return [Integer] Number of assessed machines part of this assessment.

percentile[RW]

@return [Percentile] Percentile of performance data used to recommend Azure size. Possible values include: 'Percentile50', 'Percentile90', 'Percentile95', 'Percentile99'

prices_timestamp[RW]

@return [DateTime] Time when the Azure Prices were queried. Date-Time represented in ISO-8601 format.

scaling_factor[RW]

@return [Float] Scaling factor used over utilization data to add a performance buffer for new machines to be created in Azure. Min Value = 1.0, Max value = 1.9, Default = 1.3.

sizing_criterion[RW]

@return [AssessmentSizingCriterion] Assessment sizing criterion. Possible values include: 'PerformanceBased', 'AsOnPremises'

stage[RW]

@return [AssessmentStage] User configurable setting that describes the status of the assessment. Possible values include: 'InProgress', 'UnderReview', 'Approved'

status[RW]

@return [AssessmentStatus] Whether the assessment has been created and is valid. Possible values include: 'Created', 'Updated', 'Running', 'Completed', 'Invalid'

time_range[RW]

@return [TimeRange] Time range of performance data used to recommend a size. Possible values include: 'Day', 'Week', 'Month'

type[RW]

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

updated_timestamp[RW]

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

Private Class Methods

mapper() click to toggle source

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

# File lib/2018-02-02/generated/azure_mgmt_migrate/models/assessment.rb, line 140
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Assessment',
    type: {
      name: 'Composite',
      class_name: 'Assessment',
      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'
          }
        },
        azure_location: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.azureLocation',
          type: {
            name: 'String'
          }
        },
        azure_offer_code: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.azureOfferCode',
          type: {
            name: 'String'
          }
        },
        azure_pricing_tier: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.azurePricingTier',
          type: {
            name: 'String'
          }
        },
        azure_storage_redundancy: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.azureStorageRedundancy',
          type: {
            name: 'String'
          }
        },
        scaling_factor: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.scalingFactor',
          type: {
            name: 'Double'
          }
        },
        percentile: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.percentile',
          type: {
            name: 'String'
          }
        },
        time_range: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.timeRange',
          type: {
            name: 'String'
          }
        },
        stage: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.stage',
          type: {
            name: 'String'
          }
        },
        currency: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.currency',
          type: {
            name: 'String'
          }
        },
        azure_hybrid_use_benefit: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.azureHybridUseBenefit',
          type: {
            name: 'String'
          }
        },
        discount_percentage: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.discountPercentage',
          type: {
            name: 'Double'
          }
        },
        confidence_rating_in_percentage: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.confidenceRatingInPercentage',
          type: {
            name: 'Double'
          }
        },
        sizing_criterion: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.sizingCriterion',
          type: {
            name: 'String'
          }
        },
        prices_timestamp: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.pricesTimestamp',
          type: {
            name: 'DateTime'
          }
        },
        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'
          }
        },
        monthly_compute_cost: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.monthlyComputeCost',
          type: {
            name: 'Double'
          }
        },
        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'
          }
        },
        status: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.status',
          type: {
            name: 'String'
          }
        },
        number_of_machines: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.numberOfMachines',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end