| | 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> The List Virtual Machine operation response. </summary> |
| | 15 | | public partial class VirtualMachineScaleSetListResult |
| | 16 | | { |
| | 17 | | /// <summary> Initializes a new instance of VirtualMachineScaleSetListResult. </summary> |
| | 18 | | /// <param name="value"> The list of virtual machine scale sets. </param> |
| 0 | 19 | | internal VirtualMachineScaleSetListResult(IEnumerable<VirtualMachineScaleSet> value) |
| | 20 | | { |
| 0 | 21 | | if (value == null) |
| | 22 | | { |
| 0 | 23 | | throw new ArgumentNullException(nameof(value)); |
| | 24 | | } |
| | 25 | |
|
| 0 | 26 | | Value = value.ToArray(); |
| 0 | 27 | | } |
| | 28 | |
|
| | 29 | | /// <summary> Initializes a new instance of VirtualMachineScaleSetListResult. </summary> |
| | 30 | | /// <param name="value"> The list of virtual machine scale sets. </param> |
| | 31 | | /// <param name="nextLink"> The uri to fetch the next page of Virtual Machine Scale Sets. Call ListNext() with t |
| 48 | 32 | | internal VirtualMachineScaleSetListResult(IReadOnlyList<VirtualMachineScaleSet> value, string nextLink) |
| | 33 | | { |
| 48 | 34 | | Value = value ?? new List<VirtualMachineScaleSet>(); |
| 48 | 35 | | NextLink = nextLink; |
| 48 | 36 | | } |
| | 37 | |
|
| | 38 | | /// <summary> The list of virtual machine scale sets. </summary> |
| 48 | 39 | | public IReadOnlyList<VirtualMachineScaleSet> Value { get; } |
| | 40 | | /// <summary> The uri to fetch the next page of Virtual Machine Scale Sets. Call ListNext() with this to fetch t |
| 48 | 41 | | public string NextLink { get; } |
| | 42 | | } |
| | 43 | | } |