| | | 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 Virtual Machine Scale Set List Skus operation response. </summary> |
| | | 15 | | public partial class VirtualMachineScaleSetListSkusResult |
| | | 16 | | { |
| | | 17 | | /// <summary> Initializes a new instance of VirtualMachineScaleSetListSkusResult. </summary> |
| | | 18 | | /// <param name="value"> The list of skus available for the virtual machine scale set. </param> |
| | 0 | 19 | | internal VirtualMachineScaleSetListSkusResult(IEnumerable<VirtualMachineScaleSetSku> 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 VirtualMachineScaleSetListSkusResult. </summary> |
| | | 30 | | /// <param name="value"> The list of skus available for the virtual machine scale set. </param> |
| | | 31 | | /// <param name="nextLink"> The uri to fetch the next page of Virtual Machine Scale Set Skus. Call ListNext() wi |
| | 48 | 32 | | internal VirtualMachineScaleSetListSkusResult(IReadOnlyList<VirtualMachineScaleSetSku> value, string nextLink) |
| | | 33 | | { |
| | 48 | 34 | | Value = value ?? new List<VirtualMachineScaleSetSku>(); |
| | 48 | 35 | | NextLink = nextLink; |
| | 48 | 36 | | } |
| | | 37 | | |
| | | 38 | | /// <summary> The list of skus available for the virtual machine scale set. </summary> |
| | 48 | 39 | | public IReadOnlyList<VirtualMachineScaleSetSku> Value { get; } |
| | | 40 | | /// <summary> The uri to fetch the next page of Virtual Machine Scale Set Skus. Call ListNext() with this to fet |
| | 48 | 41 | | public string NextLink { get; } |
| | | 42 | | } |
| | | 43 | | } |