| | 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; |
| | 9 | |
|
| | 10 | | namespace Azure.ResourceManager.Compute.Models |
| | 11 | | { |
| | 12 | | /// <summary> The source image used for creating the disk. </summary> |
| | 13 | | public partial class ImageDiskReference |
| | 14 | | { |
| | 15 | | /// <summary> Initializes a new instance of ImageDiskReference. </summary> |
| | 16 | | /// <param name="id"> A relative uri containing either a Platform Image Repository or user image reference. </pa |
| 0 | 17 | | public ImageDiskReference(string id) |
| | 18 | | { |
| 0 | 19 | | if (id == null) |
| | 20 | | { |
| 0 | 21 | | throw new ArgumentNullException(nameof(id)); |
| | 22 | | } |
| | 23 | |
|
| 0 | 24 | | Id = id; |
| 0 | 25 | | } |
| | 26 | |
|
| | 27 | | /// <summary> Initializes a new instance of ImageDiskReference. </summary> |
| | 28 | | /// <param name="id"> A relative uri containing either a Platform Image Repository or user image reference. </pa |
| | 29 | | /// <param name="lun"> If the disk is created from an image's data disk, this is an index that indicates wh |
| 4 | 30 | | internal ImageDiskReference(string id, int? lun) |
| | 31 | | { |
| 4 | 32 | | Id = id; |
| 4 | 33 | | Lun = lun; |
| 4 | 34 | | } |
| | 35 | |
|
| | 36 | | /// <summary> A relative uri containing either a Platform Image Repository or user image reference. </summary> |
| 0 | 37 | | public string Id { get; set; } |
| | 38 | | /// <summary> If the disk is created from an image's data disk, this is an index that indicates which of th |
| 0 | 39 | | public int? Lun { get; set; } |
| | 40 | | } |
| | 41 | | } |