ArmMigrationAssessmentModelFactory.MigrationAssessmentData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of MigrationAssessmentData.
public static Azure.ResourceManager.Migration.Assessment.MigrationAssessmentData MigrationAssessmentData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.Migration.Assessment.Models.MigrationAssessmentProvisioningState? provisioningState = default, System.Collections.Generic.IReadOnlyDictionary<string,int> assessmentErrorSummary = default, double? monthlyUltraStorageCost = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Migration.Assessment.Models.AssessmentCostComponent> costComponents = default, string eaSubscriptionId = default, Azure.ResourceManager.Migration.Assessment.Models.AssessmentPricingTier? azurePricingTier = default, Azure.ResourceManager.Migration.Assessment.Models.AssessmentStorageRedundancy? azureStorageRedundancy = default, Azure.ResourceManager.Migration.Assessment.Models.AssessmentReservedInstance? reservedInstance = default, Azure.ResourceManager.Migration.Assessment.Models.AssessmentHybridUseBenefit? azureHybridUseBenefit = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Migration.Assessment.Models.AssessmentDiskType> azureDiskTypes = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Migration.Assessment.Models.AssessmentVmFamily> azureVmFamilies = default, System.Collections.Generic.IReadOnlyDictionary<string,int> distributionBySupportStatus = default, System.Collections.Generic.IReadOnlyDictionary<string,int> distributionByServicePackInsight = default, System.Collections.Generic.IReadOnlyDictionary<string,int> distributionByOSName = default, double? monthlyComputeCost = default, double? monthlyBandwidthCost = default, double? monthlyStorageCost = default, double? monthlyPremiumStorageCost = default, double? monthlyStandardSsdStorageCost = default, System.Collections.Generic.IReadOnlyDictionary<string,int> suitabilitySummary = default, int? numberOfMachines = default, Azure.ResourceManager.Migration.Assessment.Models.AssessmentVmUptime vmUptime = default, Azure.ResourceManager.Migration.Assessment.Models.MigrationAssessmentGroupType? groupType = default, Azure.ResourceManager.Migration.Assessment.Models.MigrationAssessmentType? assessmentType = default, Azure.Core.AzureLocation? azureLocation = default, Azure.ResourceManager.Migration.Assessment.Models.AssessmentOfferCode? azureOfferCode = default, Azure.ResourceManager.Migration.Assessment.Models.AssessmentCurrency? currency = default, double? scalingFactor = default, Azure.ResourceManager.Migration.Assessment.Models.PercentileOfUtilization? percentile = default, Azure.ResourceManager.Migration.Assessment.Models.AssessmentTimeRange? timeRange = default, DateTimeOffset? perfDataStartOn = default, DateTimeOffset? perfDataEndOn = default, Azure.ResourceManager.Migration.Assessment.Models.MigrationAssessmentStage? stage = default, double? discountPercentage = default, Azure.ResourceManager.Migration.Assessment.Models.AssessmentSizingCriterion? sizingCriterion = default, double? confidenceRatingInPercentage = default, DateTimeOffset? pricesQueriedOn = default, DateTimeOffset? createdOn = default, DateTimeOffset? updatedOn = default, Azure.ResourceManager.Migration.Assessment.Models.MigrationAssessmentStatus? status = default, string schemaVersion = default);
static member MigrationAssessmentData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.Migration.Assessment.Models.MigrationAssessmentProvisioningState> * System.Collections.Generic.IReadOnlyDictionary<string, int> * Nullable<double> * seq<Azure.ResourceManager.Migration.Assessment.Models.AssessmentCostComponent> * string * Nullable<Azure.ResourceManager.Migration.Assessment.Models.AssessmentPricingTier> * Nullable<Azure.ResourceManager.Migration.Assessment.Models.AssessmentStorageRedundancy> * Nullable<Azure.ResourceManager.Migration.Assessment.Models.AssessmentReservedInstance> * Nullable<Azure.ResourceManager.Migration.Assessment.Models.AssessmentHybridUseBenefit> * seq<Azure.ResourceManager.Migration.Assessment.Models.AssessmentDiskType> * seq<Azure.ResourceManager.Migration.Assessment.Models.AssessmentVmFamily> * System.Collections.Generic.IReadOnlyDictionary<string, int> * System.Collections.Generic.IReadOnlyDictionary<string, int> * System.Collections.Generic.IReadOnlyDictionary<string, int> * Nullable<double> * Nullable<double> * Nullable<double> * Nullable<double> * Nullable<double> * System.Collections.Generic.IReadOnlyDictionary<string, int> * Nullable<int> * Azure.ResourceManager.Migration.Assessment.Models.AssessmentVmUptime * Nullable<Azure.ResourceManager.Migration.Assessment.Models.MigrationAssessmentGroupType> * Nullable<Azure.ResourceManager.Migration.Assessment.Models.MigrationAssessmentType> * Nullable<Azure.Core.AzureLocation> * Nullable<Azure.ResourceManager.Migration.Assessment.Models.AssessmentOfferCode> * Nullable<Azure.ResourceManager.Migration.Assessment.Models.AssessmentCurrency> * Nullable<double> * Nullable<Azure.ResourceManager.Migration.Assessment.Models.PercentileOfUtilization> * Nullable<Azure.ResourceManager.Migration.Assessment.Models.AssessmentTimeRange> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.Migration.Assessment.Models.MigrationAssessmentStage> * Nullable<double> * Nullable<Azure.ResourceManager.Migration.Assessment.Models.AssessmentSizingCriterion> * Nullable<double> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.Migration.Assessment.Models.MigrationAssessmentStatus> * string -> Azure.ResourceManager.Migration.Assessment.MigrationAssessmentData
Public Shared Function MigrationAssessmentData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional provisioningState As Nullable(Of MigrationAssessmentProvisioningState) = Nothing, Optional assessmentErrorSummary As IReadOnlyDictionary(Of String, Integer) = Nothing, Optional monthlyUltraStorageCost As Nullable(Of Double) = Nothing, Optional costComponents As IEnumerable(Of AssessmentCostComponent) = Nothing, Optional eaSubscriptionId As String = Nothing, Optional azurePricingTier As Nullable(Of AssessmentPricingTier) = Nothing, Optional azureStorageRedundancy As Nullable(Of AssessmentStorageRedundancy) = Nothing, Optional reservedInstance As Nullable(Of AssessmentReservedInstance) = Nothing, Optional azureHybridUseBenefit As Nullable(Of AssessmentHybridUseBenefit) = Nothing, Optional azureDiskTypes As IEnumerable(Of AssessmentDiskType) = Nothing, Optional azureVmFamilies As IEnumerable(Of AssessmentVmFamily) = Nothing, Optional distributionBySupportStatus As IReadOnlyDictionary(Of String, Integer) = Nothing, Optional distributionByServicePackInsight As IReadOnlyDictionary(Of String, Integer) = Nothing, Optional distributionByOSName As IReadOnlyDictionary(Of String, Integer) = Nothing, Optional monthlyComputeCost As Nullable(Of Double) = Nothing, Optional monthlyBandwidthCost As Nullable(Of Double) = Nothing, Optional monthlyStorageCost As Nullable(Of Double) = Nothing, Optional monthlyPremiumStorageCost As Nullable(Of Double) = Nothing, Optional monthlyStandardSsdStorageCost As Nullable(Of Double) = Nothing, Optional suitabilitySummary As IReadOnlyDictionary(Of String, Integer) = Nothing, Optional numberOfMachines As Nullable(Of Integer) = Nothing, Optional vmUptime As AssessmentVmUptime = Nothing, Optional groupType As Nullable(Of MigrationAssessmentGroupType) = Nothing, Optional assessmentType As Nullable(Of MigrationAssessmentType) = Nothing, Optional azureLocation As Nullable(Of AzureLocation) = Nothing, Optional azureOfferCode As Nullable(Of AssessmentOfferCode) = Nothing, Optional currency As Nullable(Of AssessmentCurrency) = Nothing, Optional scalingFactor As Nullable(Of Double) = Nothing, Optional percentile As Nullable(Of PercentileOfUtilization) = Nothing, Optional timeRange As Nullable(Of AssessmentTimeRange) = Nothing, Optional perfDataStartOn As Nullable(Of DateTimeOffset) = Nothing, Optional perfDataEndOn As Nullable(Of DateTimeOffset) = Nothing, Optional stage As Nullable(Of MigrationAssessmentStage) = Nothing, Optional discountPercentage As Nullable(Of Double) = Nothing, Optional sizingCriterion As Nullable(Of AssessmentSizingCriterion) = Nothing, Optional confidenceRatingInPercentage As Nullable(Of Double) = Nothing, Optional pricesQueriedOn As Nullable(Of DateTimeOffset) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional updatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional status As Nullable(Of MigrationAssessmentStatus) = Nothing, Optional schemaVersion As String = Nothing) As MigrationAssessmentData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- provisioningState
- Nullable<MigrationAssessmentProvisioningState>
The status of the last operation.
- assessmentErrorSummary
- IReadOnlyDictionary<String,Int32>
Gets or sets the assessment error summary. This is the number of machines affected by each type of error in this assessment.
Gets or sets the aggregate ultra storage cost for all machines in the assessment.
- costComponents
- IEnumerable<AssessmentCostComponent>
Gets the collection of cost components.
- eaSubscriptionId
- String
Gets or sets enterprise agreement subscription id.
- azurePricingTier
- Nullable<AssessmentPricingTier>
Gets or sets Azure Pricing Tier - Free, Basic, etc.
- azureStorageRedundancy
- Nullable<AssessmentStorageRedundancy>
Gets or sets the Azure Storage Redundancy. Example: Locally Redundant Storage.
- reservedInstance
- Nullable<AssessmentReservedInstance>
Gets or sets the Azure Reserved Instance - 1-Year, 3-Year.
- azureHybridUseBenefit
- Nullable<AssessmentHybridUseBenefit>
Gets or sets the user configurable setting to display the azure hybrid use benefit.
- azureDiskTypes
- IEnumerable<AssessmentDiskType>
Gets or sets the azure storage type. Premium, Standard etc.
- azureVmFamilies
- IEnumerable<AssessmentVmFamily>
Gets or sets the Azure VM families.
- distributionBySupportStatus
- IReadOnlyDictionary<String,Int32>
Gets the distribution of sqlInstances by support status.
- distributionByServicePackInsight
- IReadOnlyDictionary<String,Int32>
Gets the distribution distribution of sqlInstances by service pack insight.
- distributionByOSName
- IReadOnlyDictionary<String,Int32>
Gets the distribution by os name.
Gets or sets the aggregate Compute Cost for all machines in the assessment.
Gets or sets the aggregate Bandwidth Cost for all machines in the assessment.
Gets or sets the aggregate Storage Cost for all machines in the assessment.
Gets or sets the aggregate premium storage cost for all machines in the assessment.
Gets or sets the aggregate standard SSD storage cost for all the machines in the assessment.
- suitabilitySummary
- IReadOnlyDictionary<String,Int32>
Gets or sets the Cloud suitability summary for all the machines in the assessment.
- vmUptime
- AssessmentVmUptime
Gets or sets the duration for which the VMs are up in the on-premises environment.
- groupType
- Nullable<MigrationAssessmentGroupType>
Gets the group type for the assessment.
- assessmentType
- Nullable<MigrationAssessmentType>
Assessment type of the assessment.
- azureLocation
- Nullable<AzureLocation>
Azure Location or Azure region where to which the machines will be migrated.
- azureOfferCode
- Nullable<AssessmentOfferCode>
Azure Offer Code.
- currency
- Nullable<AssessmentCurrency>
Currency in which prices should be reported.
Percentage of buffer that user wants on performance metrics when recommending Azure sizes.
- percentile
- Nullable<PercentileOfUtilization>
Percentile of the utilization data values to be considered while assessing machines.
- timeRange
- Nullable<AssessmentTimeRange>
Time Range for which the historic utilization data should be considered for assessment.
- perfDataStartOn
- Nullable<DateTimeOffset>
Gets or sets the start time to consider performance data for assessment.
- perfDataEndOn
- Nullable<DateTimeOffset>
Gets or sets the end time to consider performance data for assessment.
- stage
- Nullable<MigrationAssessmentStage>
User configurable setting to display the Stage of Assessment.
- sizingCriterion
- Nullable<AssessmentSizingCriterion>
Assessment sizing criterion.
- pricesQueriedOn
- Nullable<DateTimeOffset>
Last time when rates were queried.
- createdOn
- Nullable<DateTimeOffset>
Date and Time when assessment was created.
- updatedOn
- Nullable<DateTimeOffset>
Date and Time when assessment was last updated.
- status
- Nullable<MigrationAssessmentStatus>
Whether assessment is in valid state and all machines have been assessed.
- schemaVersion
- String
Schema version.
Returns
A new MigrationAssessmentData instance for mocking.