| | 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 | | using System.Collections.Generic; |
| | 10 | | using System.Linq; |
| | 11 | |
|
| | 12 | | namespace Azure.ResourceManager.Compute.Models |
| | 13 | | { |
| | 14 | | /// <summary> Specifies a list of virtual machine instance IDs from the VM scale set. </summary> |
| | 15 | | public partial class VirtualMachineScaleSetVMInstanceRequiredIDs |
| | 16 | | { |
| | 17 | | /// <summary> Initializes a new instance of VirtualMachineScaleSetVMInstanceRequiredIDs. </summary> |
| | 18 | | /// <param name="instanceIds"> The virtual machine scale set instance ids. </param> |
| 0 | 19 | | public VirtualMachineScaleSetVMInstanceRequiredIDs(IEnumerable<string> instanceIds) |
| | 20 | | { |
| 0 | 21 | | if (instanceIds == null) |
| | 22 | | { |
| 0 | 23 | | throw new ArgumentNullException(nameof(instanceIds)); |
| | 24 | | } |
| | 25 | |
|
| 0 | 26 | | InstanceIds = instanceIds.ToList(); |
| 0 | 27 | | } |
| | 28 | |
|
| | 29 | | /// <summary> Initializes a new instance of VirtualMachineScaleSetVMInstanceRequiredIDs. </summary> |
| | 30 | | /// <param name="instanceIds"> The virtual machine scale set instance ids. </param> |
| 4 | 31 | | internal VirtualMachineScaleSetVMInstanceRequiredIDs(IList<string> instanceIds) |
| | 32 | | { |
| 4 | 33 | | InstanceIds = instanceIds ?? new List<string>(); |
| 4 | 34 | | } |
| | 35 | |
|
| | 36 | | /// <summary> The virtual machine scale set instance ids. </summary> |
| 16 | 37 | | public IList<string> InstanceIds { get; } |
| | 38 | | } |
| | 39 | | } |