ArmMigrationAssessmentModelFactory.MigrationAssessmentOptionData 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 MigrationAssessmentOptionData.
public static Azure.ResourceManager.Migration.Assessment.MigrationAssessmentOptionData MigrationAssessmentOptionData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Migration.Assessment.Models.AssessmentVmFamilyConfig> vmFamilies = default, System.Collections.Generic.IEnumerable<string> reservedInstanceVmFamilies = default, System.Collections.Generic.IEnumerable<string> reservedInstanceSupportedLocations = default, System.Collections.Generic.IEnumerable<string> reservedInstanceSupportedCurrencies = default, System.Collections.Generic.IEnumerable<string> reservedInstanceSupportedOffers = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Migration.Assessment.Models.UltraDiskAssessmentConfig> ultraDiskVmFamilies = default, System.Collections.Generic.IEnumerable<string> premiumDiskVmFamilies = default, System.Collections.Generic.IEnumerable<string> savingsPlanVmFamilies = default, System.Collections.Generic.IEnumerable<string> savingsPlanSupportedLocations = default);
static member MigrationAssessmentOptionData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * seq<Azure.ResourceManager.Migration.Assessment.Models.AssessmentVmFamilyConfig> * seq<string> * seq<string> * seq<string> * seq<string> * seq<Azure.ResourceManager.Migration.Assessment.Models.UltraDiskAssessmentConfig> * seq<string> * seq<string> * seq<string> -> Azure.ResourceManager.Migration.Assessment.MigrationAssessmentOptionData
Public Shared Function MigrationAssessmentOptionData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional vmFamilies As IEnumerable(Of AssessmentVmFamilyConfig) = Nothing, Optional reservedInstanceVmFamilies As IEnumerable(Of String) = Nothing, Optional reservedInstanceSupportedLocations As IEnumerable(Of String) = Nothing, Optional reservedInstanceSupportedCurrencies As IEnumerable(Of String) = Nothing, Optional reservedInstanceSupportedOffers As IEnumerable(Of String) = Nothing, Optional ultraDiskVmFamilies As IEnumerable(Of UltraDiskAssessmentConfig) = Nothing, Optional premiumDiskVmFamilies As IEnumerable(Of String) = Nothing, Optional savingsPlanVmFamilies As IEnumerable(Of String) = Nothing, Optional savingsPlanSupportedLocations As IEnumerable(Of String) = Nothing) As MigrationAssessmentOptionData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- vmFamilies
- IEnumerable<AssessmentVmFamilyConfig>
Dictionary of VM families grouped by vm family name describing the targeted azure locations of VM family and the category of the family.
- reservedInstanceVmFamilies
- IEnumerable<String>
List of supported VM Families.
- reservedInstanceSupportedLocations
- IEnumerable<String>
List of supported Azure regions for reserved instances.
- reservedInstanceSupportedCurrencies
- IEnumerable<String>
List of supported currencies for reserved instances.
- reservedInstanceSupportedOffers
- IEnumerable<String>
List of supported Azure offer codes for reserved instances.
- ultraDiskVmFamilies
- IEnumerable<UltraDiskAssessmentConfig>
Ultra disk related assessment options.
- premiumDiskVmFamilies
- IEnumerable<String>
List of VM Families that support premium disks for assessments.
- savingsPlanVmFamilies
- IEnumerable<String>
List of VM Families that support Savings plan offer for assessments.
- savingsPlanSupportedLocations
- IEnumerable<String>
List of Azure locations that support Savings plan offer for assessments.
Returns
A new MigrationAssessmentOptionData instance for mocking.