/// <summary> /// Initializes a new instance of the VirtualMachineImage class. /// </summary> public VirtualMachineImage(string name, string location, string id = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), PurchasePlan plan = default(PurchasePlan), OSDiskImage osDiskImage = default(OSDiskImage), IList <DataDiskImage> dataDiskImages = default(IList <DataDiskImage>)) : base(name, location, id, tags) { Plan = plan; OsDiskImage = osDiskImage; DataDiskImages = dataDiskImages; }
/// <summary> /// Initializes a new instance of the VirtualMachineImage class. /// </summary> /// <param name="name">The name of the resource.</param> /// <param name="location">The supported Azure location of the /// resource.</param> /// <param name="id">Resource Id</param> /// <param name="tags">Specifies the tags that are assigned to the /// virtual machine. For more information about using tags, see [Using /// tags to organize your Azure /// resources](https://docs.microsoft.com/azure/azure-resource-manager/resource-group-using-tags.md).</param> /// <param name="extendedLocation">The extended location of the Virtual /// Machine.</param> /// <param name="hyperVGeneration">Possible values include: 'V1', /// 'V2'</param> /// <param name="disallowed">Specifies disallowed configuration for the /// VirtualMachine created from the image</param> /// <param name="architecture">Possible values include: 'x64', /// 'Arm64'</param> public VirtualMachineImage(string name, string location, string id = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), ExtendedLocation extendedLocation = default(ExtendedLocation), PurchasePlan plan = default(PurchasePlan), OSDiskImage osDiskImage = default(OSDiskImage), IList <DataDiskImage> dataDiskImages = default(IList <DataDiskImage>), AutomaticOSUpgradeProperties automaticOSUpgradeProperties = default(AutomaticOSUpgradeProperties), string hyperVGeneration = default(string), DisallowedConfiguration disallowed = default(DisallowedConfiguration), IList <VirtualMachineImageFeature> features = default(IList <VirtualMachineImageFeature>), string architecture = default(string)) : base(name, location, id, tags, extendedLocation) { Plan = plan; OsDiskImage = osDiskImage; DataDiskImages = dataDiskImages; AutomaticOSUpgradeProperties = automaticOSUpgradeProperties; HyperVGeneration = hyperVGeneration; Disallowed = disallowed; Features = features; Architecture = architecture; CustomInit(); }