| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | // <auto-generated/> |
| | 5 | |
|
| | 6 | | #nullable disable |
| | 7 | |
|
| | 8 | | using System.Collections.Generic; |
| | 9 | |
|
| | 10 | | namespace Azure.ResourceManager.Compute.Models |
| | 11 | | { |
| | 12 | | /// <summary> The source user image virtual hard disk. Only tags may be updated. </summary> |
| | 13 | | public partial class ImageUpdate : UpdateResource |
| | 14 | | { |
| | 15 | | /// <summary> Initializes a new instance of ImageUpdate. </summary> |
| 4 | 16 | | public ImageUpdate() |
| | 17 | | { |
| 4 | 18 | | } |
| | 19 | |
|
| | 20 | | /// <summary> Initializes a new instance of ImageUpdate. </summary> |
| | 21 | | /// <param name="tags"> Resource tags. </param> |
| | 22 | | /// <param name="sourceVirtualMachine"> The source virtual machine from which Image is created. </param> |
| | 23 | | /// <param name="storageProfile"> Specifies the storage settings for the virtual machine disks. </param> |
| | 24 | | /// <param name="provisioningState"> The provisioning state. </param> |
| | 25 | | /// <param name="hyperVGeneration"> Gets the HyperVGenerationType of the VirtualMachine created from the image. |
| 0 | 26 | | internal ImageUpdate(IDictionary<string, string> tags, SubResource sourceVirtualMachine, ImageStorageProfile sto |
| | 27 | | { |
| 0 | 28 | | SourceVirtualMachine = sourceVirtualMachine; |
| 0 | 29 | | StorageProfile = storageProfile; |
| 0 | 30 | | ProvisioningState = provisioningState; |
| 0 | 31 | | HyperVGeneration = hyperVGeneration; |
| 0 | 32 | | } |
| | 33 | |
|
| | 34 | | /// <summary> The source virtual machine from which Image is created. </summary> |
| 0 | 35 | | public SubResource SourceVirtualMachine { get; set; } |
| | 36 | | /// <summary> Specifies the storage settings for the virtual machine disks. </summary> |
| 0 | 37 | | public ImageStorageProfile StorageProfile { get; set; } |
| | 38 | | /// <summary> The provisioning state. </summary> |
| 8 | 39 | | public string ProvisioningState { get; } |
| | 40 | | /// <summary> Gets the HyperVGenerationType of the VirtualMachine created from the image. </summary> |
| 0 | 41 | | public HyperVGenerationTypes? HyperVGeneration { get; set; } |
| | 42 | | } |
| | 43 | | } |