| | 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.Network.Models |
| | 12 | | { |
| | 13 | | /// <summary> Gateway SKU name. </summary> |
| | 14 | | public readonly partial struct VirtualNetworkGatewaySkuName : IEquatable<VirtualNetworkGatewaySkuName> |
| | 15 | | { |
| | 16 | | private readonly string _value; |
| | 17 | |
|
| | 18 | | /// <summary> Determines if two <see cref="VirtualNetworkGatewaySkuName"/> values are the same. </summary> |
| | 19 | | public VirtualNetworkGatewaySkuName(string value) |
| | 20 | | { |
| 70 | 21 | | _value = value ?? throw new ArgumentNullException(nameof(value)); |
| 70 | 22 | | } |
| | 23 | |
|
| | 24 | | private const string BasicValue = "Basic"; |
| | 25 | | private const string HighPerformanceValue = "HighPerformance"; |
| | 26 | | private const string StandardValue = "Standard"; |
| | 27 | | private const string UltraPerformanceValue = "UltraPerformance"; |
| | 28 | | private const string VpnGw1Value = "VpnGw1"; |
| | 29 | | private const string VpnGw2Value = "VpnGw2"; |
| | 30 | | private const string VpnGw3Value = "VpnGw3"; |
| | 31 | | private const string VpnGw4Value = "VpnGw4"; |
| | 32 | | private const string VpnGw5Value = "VpnGw5"; |
| | 33 | | private const string VpnGw1AZValue = "VpnGw1AZ"; |
| | 34 | | private const string VpnGw2AZValue = "VpnGw2AZ"; |
| | 35 | | private const string VpnGw3AZValue = "VpnGw3AZ"; |
| | 36 | | private const string VpnGw4AZValue = "VpnGw4AZ"; |
| | 37 | | private const string VpnGw5AZValue = "VpnGw5AZ"; |
| | 38 | | private const string ErGw1AZValue = "ErGw1AZ"; |
| | 39 | | private const string ErGw2AZValue = "ErGw2AZ"; |
| | 40 | | private const string ErGw3AZValue = "ErGw3AZ"; |
| | 41 | |
|
| | 42 | | /// <summary> Basic. </summary> |
| 0 | 43 | | public static VirtualNetworkGatewaySkuName Basic { get; } = new VirtualNetworkGatewaySkuName(BasicValue); |
| | 44 | | /// <summary> HighPerformance. </summary> |
| 0 | 45 | | public static VirtualNetworkGatewaySkuName HighPerformance { get; } = new VirtualNetworkGatewaySkuName(HighPerfo |
| | 46 | | /// <summary> Standard. </summary> |
| 6 | 47 | | public static VirtualNetworkGatewaySkuName Standard { get; } = new VirtualNetworkGatewaySkuName(StandardValue); |
| | 48 | | /// <summary> UltraPerformance. </summary> |
| 0 | 49 | | public static VirtualNetworkGatewaySkuName UltraPerformance { get; } = new VirtualNetworkGatewaySkuName(UltraPer |
| | 50 | | /// <summary> VpnGw1. </summary> |
| 0 | 51 | | public static VirtualNetworkGatewaySkuName VpnGw1 { get; } = new VirtualNetworkGatewaySkuName(VpnGw1Value); |
| | 52 | | /// <summary> VpnGw2. </summary> |
| 0 | 53 | | public static VirtualNetworkGatewaySkuName VpnGw2 { get; } = new VirtualNetworkGatewaySkuName(VpnGw2Value); |
| | 54 | | /// <summary> VpnGw3. </summary> |
| 0 | 55 | | public static VirtualNetworkGatewaySkuName VpnGw3 { get; } = new VirtualNetworkGatewaySkuName(VpnGw3Value); |
| | 56 | | /// <summary> VpnGw4. </summary> |
| 0 | 57 | | public static VirtualNetworkGatewaySkuName VpnGw4 { get; } = new VirtualNetworkGatewaySkuName(VpnGw4Value); |
| | 58 | | /// <summary> VpnGw5. </summary> |
| 0 | 59 | | public static VirtualNetworkGatewaySkuName VpnGw5 { get; } = new VirtualNetworkGatewaySkuName(VpnGw5Value); |
| | 60 | | /// <summary> VpnGw1AZ. </summary> |
| 0 | 61 | | public static VirtualNetworkGatewaySkuName VpnGw1AZ { get; } = new VirtualNetworkGatewaySkuName(VpnGw1AZValue); |
| | 62 | | /// <summary> VpnGw2AZ. </summary> |
| 0 | 63 | | public static VirtualNetworkGatewaySkuName VpnGw2AZ { get; } = new VirtualNetworkGatewaySkuName(VpnGw2AZValue); |
| | 64 | | /// <summary> VpnGw3AZ. </summary> |
| 0 | 65 | | public static VirtualNetworkGatewaySkuName VpnGw3AZ { get; } = new VirtualNetworkGatewaySkuName(VpnGw3AZValue); |
| | 66 | | /// <summary> VpnGw4AZ. </summary> |
| 0 | 67 | | public static VirtualNetworkGatewaySkuName VpnGw4AZ { get; } = new VirtualNetworkGatewaySkuName(VpnGw4AZValue); |
| | 68 | | /// <summary> VpnGw5AZ. </summary> |
| 0 | 69 | | public static VirtualNetworkGatewaySkuName VpnGw5AZ { get; } = new VirtualNetworkGatewaySkuName(VpnGw5AZValue); |
| | 70 | | /// <summary> ErGw1AZ. </summary> |
| 0 | 71 | | public static VirtualNetworkGatewaySkuName ErGw1AZ { get; } = new VirtualNetworkGatewaySkuName(ErGw1AZValue); |
| | 72 | | /// <summary> ErGw2AZ. </summary> |
| 0 | 73 | | public static VirtualNetworkGatewaySkuName ErGw2AZ { get; } = new VirtualNetworkGatewaySkuName(ErGw2AZValue); |
| | 74 | | /// <summary> ErGw3AZ. </summary> |
| 0 | 75 | | public static VirtualNetworkGatewaySkuName ErGw3AZ { get; } = new VirtualNetworkGatewaySkuName(ErGw3AZValue); |
| | 76 | | /// <summary> Determines if two <see cref="VirtualNetworkGatewaySkuName"/> values are the same. </summary> |
| 0 | 77 | | public static bool operator ==(VirtualNetworkGatewaySkuName left, VirtualNetworkGatewaySkuName right) => left.Eq |
| | 78 | | /// <summary> Determines if two <see cref="VirtualNetworkGatewaySkuName"/> values are not the same. </summary> |
| 0 | 79 | | public static bool operator !=(VirtualNetworkGatewaySkuName left, VirtualNetworkGatewaySkuName right) => !left.E |
| | 80 | | /// <summary> Converts a string to a <see cref="VirtualNetworkGatewaySkuName"/>. </summary> |
| 4 | 81 | | public static implicit operator VirtualNetworkGatewaySkuName(string value) => new VirtualNetworkGatewaySkuName(v |
| | 82 | |
|
| | 83 | | /// <inheritdoc /> |
| | 84 | | [EditorBrowsable(EditorBrowsableState.Never)] |
| 0 | 85 | | public override bool Equals(object obj) => obj is VirtualNetworkGatewaySkuName other && Equals(other); |
| | 86 | | /// <inheritdoc /> |
| 0 | 87 | | public bool Equals(VirtualNetworkGatewaySkuName other) => string.Equals(_value, other._value, StringComparison.I |
| | 88 | |
|
| | 89 | | /// <inheritdoc /> |
| | 90 | | [EditorBrowsable(EditorBrowsableState.Never)] |
| 0 | 91 | | public override int GetHashCode() => _value?.GetHashCode() ?? 0; |
| | 92 | | /// <inheritdoc /> |
| 72 | 93 | | public override string ToString() => _value; |
| | 94 | | } |
| | 95 | | } |