| | 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.ComponentModel; |
| | 10 | |
|
| | 11 | | namespace Azure.ResourceManager.Compute.Models |
| | 12 | | { |
| | 13 | | /// <summary> Size of agent VMs. </summary> |
| | 14 | | public readonly partial struct ContainerServiceVMSizeTypes : IEquatable<ContainerServiceVMSizeTypes> |
| | 15 | | { |
| | 16 | | private readonly string _value; |
| | 17 | |
|
| | 18 | | /// <summary> Determines if two <see cref="ContainerServiceVMSizeTypes"/> values are the same. </summary> |
| | 19 | | public ContainerServiceVMSizeTypes(string value) |
| | 20 | | { |
| 0 | 21 | | _value = value ?? throw new ArgumentNullException(nameof(value)); |
| 0 | 22 | | } |
| | 23 | |
|
| | 24 | | private const string StandardA0Value = "Standard_A0"; |
| | 25 | | private const string StandardA1Value = "Standard_A1"; |
| | 26 | | private const string StandardA2Value = "Standard_A2"; |
| | 27 | | private const string StandardA3Value = "Standard_A3"; |
| | 28 | | private const string StandardA4Value = "Standard_A4"; |
| | 29 | | private const string StandardA5Value = "Standard_A5"; |
| | 30 | | private const string StandardA6Value = "Standard_A6"; |
| | 31 | | private const string StandardA7Value = "Standard_A7"; |
| | 32 | | private const string StandardA8Value = "Standard_A8"; |
| | 33 | | private const string StandardA9Value = "Standard_A9"; |
| | 34 | | private const string StandardA10Value = "Standard_A10"; |
| | 35 | | private const string StandardA11Value = "Standard_A11"; |
| | 36 | | private const string StandardD1Value = "Standard_D1"; |
| | 37 | | private const string StandardD2Value = "Standard_D2"; |
| | 38 | | private const string StandardD3Value = "Standard_D3"; |
| | 39 | | private const string StandardD4Value = "Standard_D4"; |
| | 40 | | private const string StandardD11Value = "Standard_D11"; |
| | 41 | | private const string StandardD12Value = "Standard_D12"; |
| | 42 | | private const string StandardD13Value = "Standard_D13"; |
| | 43 | | private const string StandardD14Value = "Standard_D14"; |
| | 44 | | private const string StandardD1V2Value = "Standard_D1_v2"; |
| | 45 | | private const string StandardD2V2Value = "Standard_D2_v2"; |
| | 46 | | private const string StandardD3V2Value = "Standard_D3_v2"; |
| | 47 | | private const string StandardD4V2Value = "Standard_D4_v2"; |
| | 48 | | private const string StandardD5V2Value = "Standard_D5_v2"; |
| | 49 | | private const string StandardD11V2Value = "Standard_D11_v2"; |
| | 50 | | private const string StandardD12V2Value = "Standard_D12_v2"; |
| | 51 | | private const string StandardD13V2Value = "Standard_D13_v2"; |
| | 52 | | private const string StandardD14V2Value = "Standard_D14_v2"; |
| | 53 | | private const string StandardG1Value = "Standard_G1"; |
| | 54 | | private const string StandardG2Value = "Standard_G2"; |
| | 55 | | private const string StandardG3Value = "Standard_G3"; |
| | 56 | | private const string StandardG4Value = "Standard_G4"; |
| | 57 | | private const string StandardG5Value = "Standard_G5"; |
| | 58 | | private const string StandardDS1Value = "Standard_DS1"; |
| | 59 | | private const string StandardDS2Value = "Standard_DS2"; |
| | 60 | | private const string StandardDS3Value = "Standard_DS3"; |
| | 61 | | private const string StandardDS4Value = "Standard_DS4"; |
| | 62 | | private const string StandardDS11Value = "Standard_DS11"; |
| | 63 | | private const string StandardDS12Value = "Standard_DS12"; |
| | 64 | | private const string StandardDS13Value = "Standard_DS13"; |
| | 65 | | private const string StandardDS14Value = "Standard_DS14"; |
| | 66 | | private const string StandardGS1Value = "Standard_GS1"; |
| | 67 | | private const string StandardGS2Value = "Standard_GS2"; |
| | 68 | | private const string StandardGS3Value = "Standard_GS3"; |
| | 69 | | private const string StandardGS4Value = "Standard_GS4"; |
| | 70 | | private const string StandardGS5Value = "Standard_GS5"; |
| | 71 | |
|
| | 72 | | /// <summary> Standard_A0. </summary> |
| 0 | 73 | | public static ContainerServiceVMSizeTypes StandardA0 { get; } = new ContainerServiceVMSizeTypes(StandardA0Value) |
| | 74 | | /// <summary> Standard_A1. </summary> |
| 0 | 75 | | public static ContainerServiceVMSizeTypes StandardA1 { get; } = new ContainerServiceVMSizeTypes(StandardA1Value) |
| | 76 | | /// <summary> Standard_A2. </summary> |
| 0 | 77 | | public static ContainerServiceVMSizeTypes StandardA2 { get; } = new ContainerServiceVMSizeTypes(StandardA2Value) |
| | 78 | | /// <summary> Standard_A3. </summary> |
| 0 | 79 | | public static ContainerServiceVMSizeTypes StandardA3 { get; } = new ContainerServiceVMSizeTypes(StandardA3Value) |
| | 80 | | /// <summary> Standard_A4. </summary> |
| 0 | 81 | | public static ContainerServiceVMSizeTypes StandardA4 { get; } = new ContainerServiceVMSizeTypes(StandardA4Value) |
| | 82 | | /// <summary> Standard_A5. </summary> |
| 0 | 83 | | public static ContainerServiceVMSizeTypes StandardA5 { get; } = new ContainerServiceVMSizeTypes(StandardA5Value) |
| | 84 | | /// <summary> Standard_A6. </summary> |
| 0 | 85 | | public static ContainerServiceVMSizeTypes StandardA6 { get; } = new ContainerServiceVMSizeTypes(StandardA6Value) |
| | 86 | | /// <summary> Standard_A7. </summary> |
| 0 | 87 | | public static ContainerServiceVMSizeTypes StandardA7 { get; } = new ContainerServiceVMSizeTypes(StandardA7Value) |
| | 88 | | /// <summary> Standard_A8. </summary> |
| 0 | 89 | | public static ContainerServiceVMSizeTypes StandardA8 { get; } = new ContainerServiceVMSizeTypes(StandardA8Value) |
| | 90 | | /// <summary> Standard_A9. </summary> |
| 0 | 91 | | public static ContainerServiceVMSizeTypes StandardA9 { get; } = new ContainerServiceVMSizeTypes(StandardA9Value) |
| | 92 | | /// <summary> Standard_A10. </summary> |
| 0 | 93 | | public static ContainerServiceVMSizeTypes StandardA10 { get; } = new ContainerServiceVMSizeTypes(StandardA10Valu |
| | 94 | | /// <summary> Standard_A11. </summary> |
| 0 | 95 | | public static ContainerServiceVMSizeTypes StandardA11 { get; } = new ContainerServiceVMSizeTypes(StandardA11Valu |
| | 96 | | /// <summary> Standard_D1. </summary> |
| 0 | 97 | | public static ContainerServiceVMSizeTypes StandardD1 { get; } = new ContainerServiceVMSizeTypes(StandardD1Value) |
| | 98 | | /// <summary> Standard_D2. </summary> |
| 0 | 99 | | public static ContainerServiceVMSizeTypes StandardD2 { get; } = new ContainerServiceVMSizeTypes(StandardD2Value) |
| | 100 | | /// <summary> Standard_D3. </summary> |
| 0 | 101 | | public static ContainerServiceVMSizeTypes StandardD3 { get; } = new ContainerServiceVMSizeTypes(StandardD3Value) |
| | 102 | | /// <summary> Standard_D4. </summary> |
| 0 | 103 | | public static ContainerServiceVMSizeTypes StandardD4 { get; } = new ContainerServiceVMSizeTypes(StandardD4Value) |
| | 104 | | /// <summary> Standard_D11. </summary> |
| 0 | 105 | | public static ContainerServiceVMSizeTypes StandardD11 { get; } = new ContainerServiceVMSizeTypes(StandardD11Valu |
| | 106 | | /// <summary> Standard_D12. </summary> |
| 0 | 107 | | public static ContainerServiceVMSizeTypes StandardD12 { get; } = new ContainerServiceVMSizeTypes(StandardD12Valu |
| | 108 | | /// <summary> Standard_D13. </summary> |
| 0 | 109 | | public static ContainerServiceVMSizeTypes StandardD13 { get; } = new ContainerServiceVMSizeTypes(StandardD13Valu |
| | 110 | | /// <summary> Standard_D14. </summary> |
| 0 | 111 | | public static ContainerServiceVMSizeTypes StandardD14 { get; } = new ContainerServiceVMSizeTypes(StandardD14Valu |
| | 112 | | /// <summary> Standard_D1_v2. </summary> |
| 0 | 113 | | public static ContainerServiceVMSizeTypes StandardD1V2 { get; } = new ContainerServiceVMSizeTypes(StandardD1V2Va |
| | 114 | | /// <summary> Standard_D2_v2. </summary> |
| 0 | 115 | | public static ContainerServiceVMSizeTypes StandardD2V2 { get; } = new ContainerServiceVMSizeTypes(StandardD2V2Va |
| | 116 | | /// <summary> Standard_D3_v2. </summary> |
| 0 | 117 | | public static ContainerServiceVMSizeTypes StandardD3V2 { get; } = new ContainerServiceVMSizeTypes(StandardD3V2Va |
| | 118 | | /// <summary> Standard_D4_v2. </summary> |
| 0 | 119 | | public static ContainerServiceVMSizeTypes StandardD4V2 { get; } = new ContainerServiceVMSizeTypes(StandardD4V2Va |
| | 120 | | /// <summary> Standard_D5_v2. </summary> |
| 0 | 121 | | public static ContainerServiceVMSizeTypes StandardD5V2 { get; } = new ContainerServiceVMSizeTypes(StandardD5V2Va |
| | 122 | | /// <summary> Standard_D11_v2. </summary> |
| 0 | 123 | | public static ContainerServiceVMSizeTypes StandardD11V2 { get; } = new ContainerServiceVMSizeTypes(StandardD11V2 |
| | 124 | | /// <summary> Standard_D12_v2. </summary> |
| 0 | 125 | | public static ContainerServiceVMSizeTypes StandardD12V2 { get; } = new ContainerServiceVMSizeTypes(StandardD12V2 |
| | 126 | | /// <summary> Standard_D13_v2. </summary> |
| 0 | 127 | | public static ContainerServiceVMSizeTypes StandardD13V2 { get; } = new ContainerServiceVMSizeTypes(StandardD13V2 |
| | 128 | | /// <summary> Standard_D14_v2. </summary> |
| 0 | 129 | | public static ContainerServiceVMSizeTypes StandardD14V2 { get; } = new ContainerServiceVMSizeTypes(StandardD14V2 |
| | 130 | | /// <summary> Standard_G1. </summary> |
| 0 | 131 | | public static ContainerServiceVMSizeTypes StandardG1 { get; } = new ContainerServiceVMSizeTypes(StandardG1Value) |
| | 132 | | /// <summary> Standard_G2. </summary> |
| 0 | 133 | | public static ContainerServiceVMSizeTypes StandardG2 { get; } = new ContainerServiceVMSizeTypes(StandardG2Value) |
| | 134 | | /// <summary> Standard_G3. </summary> |
| 0 | 135 | | public static ContainerServiceVMSizeTypes StandardG3 { get; } = new ContainerServiceVMSizeTypes(StandardG3Value) |
| | 136 | | /// <summary> Standard_G4. </summary> |
| 0 | 137 | | public static ContainerServiceVMSizeTypes StandardG4 { get; } = new ContainerServiceVMSizeTypes(StandardG4Value) |
| | 138 | | /// <summary> Standard_G5. </summary> |
| 0 | 139 | | public static ContainerServiceVMSizeTypes StandardG5 { get; } = new ContainerServiceVMSizeTypes(StandardG5Value) |
| | 140 | | /// <summary> Standard_DS1. </summary> |
| 0 | 141 | | public static ContainerServiceVMSizeTypes StandardDS1 { get; } = new ContainerServiceVMSizeTypes(StandardDS1Valu |
| | 142 | | /// <summary> Standard_DS2. </summary> |
| 0 | 143 | | public static ContainerServiceVMSizeTypes StandardDS2 { get; } = new ContainerServiceVMSizeTypes(StandardDS2Valu |
| | 144 | | /// <summary> Standard_DS3. </summary> |
| 0 | 145 | | public static ContainerServiceVMSizeTypes StandardDS3 { get; } = new ContainerServiceVMSizeTypes(StandardDS3Valu |
| | 146 | | /// <summary> Standard_DS4. </summary> |
| 0 | 147 | | public static ContainerServiceVMSizeTypes StandardDS4 { get; } = new ContainerServiceVMSizeTypes(StandardDS4Valu |
| | 148 | | /// <summary> Standard_DS11. </summary> |
| 0 | 149 | | public static ContainerServiceVMSizeTypes StandardDS11 { get; } = new ContainerServiceVMSizeTypes(StandardDS11Va |
| | 150 | | /// <summary> Standard_DS12. </summary> |
| 0 | 151 | | public static ContainerServiceVMSizeTypes StandardDS12 { get; } = new ContainerServiceVMSizeTypes(StandardDS12Va |
| | 152 | | /// <summary> Standard_DS13. </summary> |
| 0 | 153 | | public static ContainerServiceVMSizeTypes StandardDS13 { get; } = new ContainerServiceVMSizeTypes(StandardDS13Va |
| | 154 | | /// <summary> Standard_DS14. </summary> |
| 0 | 155 | | public static ContainerServiceVMSizeTypes StandardDS14 { get; } = new ContainerServiceVMSizeTypes(StandardDS14Va |
| | 156 | | /// <summary> Standard_GS1. </summary> |
| 0 | 157 | | public static ContainerServiceVMSizeTypes StandardGS1 { get; } = new ContainerServiceVMSizeTypes(StandardGS1Valu |
| | 158 | | /// <summary> Standard_GS2. </summary> |
| 0 | 159 | | public static ContainerServiceVMSizeTypes StandardGS2 { get; } = new ContainerServiceVMSizeTypes(StandardGS2Valu |
| | 160 | | /// <summary> Standard_GS3. </summary> |
| 0 | 161 | | public static ContainerServiceVMSizeTypes StandardGS3 { get; } = new ContainerServiceVMSizeTypes(StandardGS3Valu |
| | 162 | | /// <summary> Standard_GS4. </summary> |
| 0 | 163 | | public static ContainerServiceVMSizeTypes StandardGS4 { get; } = new ContainerServiceVMSizeTypes(StandardGS4Valu |
| | 164 | | /// <summary> Standard_GS5. </summary> |
| 0 | 165 | | public static ContainerServiceVMSizeTypes StandardGS5 { get; } = new ContainerServiceVMSizeTypes(StandardGS5Valu |
| | 166 | | /// <summary> Determines if two <see cref="ContainerServiceVMSizeTypes"/> values are the same. </summary> |
| 0 | 167 | | public static bool operator ==(ContainerServiceVMSizeTypes left, ContainerServiceVMSizeTypes right) => left.Equa |
| | 168 | | /// <summary> Determines if two <see cref="ContainerServiceVMSizeTypes"/> values are not the same. </summary> |
| 0 | 169 | | public static bool operator !=(ContainerServiceVMSizeTypes left, ContainerServiceVMSizeTypes right) => !left.Equ |
| | 170 | | /// <summary> Converts a string to a <see cref="ContainerServiceVMSizeTypes"/>. </summary> |
| 0 | 171 | | public static implicit operator ContainerServiceVMSizeTypes(string value) => new ContainerServiceVMSizeTypes(val |
| | 172 | |
|
| | 173 | | /// <inheritdoc /> |
| | 174 | | [EditorBrowsable(EditorBrowsableState.Never)] |
| 0 | 175 | | public override bool Equals(object obj) => obj is ContainerServiceVMSizeTypes other && Equals(other); |
| | 176 | | /// <inheritdoc /> |
| 0 | 177 | | public bool Equals(ContainerServiceVMSizeTypes other) => string.Equals(_value, other._value, StringComparison.In |
| | 178 | |
|
| | 179 | | /// <inheritdoc /> |
| | 180 | | [EditorBrowsable(EditorBrowsableState.Never)] |
| 0 | 181 | | public override int GetHashCode() => _value?.GetHashCode() ?? 0; |
| | 182 | | /// <inheritdoc /> |
| 0 | 183 | | public override string ToString() => _value; |
| | 184 | | } |
| | 185 | | } |