| | 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> Ssl cipher suites enums. </summary> |
| | 14 | | public readonly partial struct ApplicationGatewaySslCipherSuite : IEquatable<ApplicationGatewaySslCipherSuite> |
| | 15 | | { |
| | 16 | | private readonly string _value; |
| | 17 | |
|
| | 18 | | /// <summary> Determines if two <see cref="ApplicationGatewaySslCipherSuite"/> values are the same. </summary> |
| | 19 | | public ApplicationGatewaySslCipherSuite(string value) |
| | 20 | | { |
| 0 | 21 | | _value = value ?? throw new ArgumentNullException(nameof(value)); |
| 0 | 22 | | } |
| | 23 | |
|
| | 24 | | private const string TLSEcdheRSAWithAES256CBCSHA384Value = "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384"; |
| | 25 | | private const string TLSEcdheRSAWithAES128CBCSHA256Value = "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256"; |
| | 26 | | private const string TLSEcdheRSAWithAES256CBCSHAValue = "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA"; |
| | 27 | | private const string TLSEcdheRSAWithAES128CBCSHAValue = "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA"; |
| | 28 | | private const string TLSDHERSAWithAES256GCMSHA384Value = "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384"; |
| | 29 | | private const string TLSDHERSAWithAES128GCMSHA256Value = "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256"; |
| | 30 | | private const string TLSDHERSAWithAES256CBCSHAValue = "TLS_DHE_RSA_WITH_AES_256_CBC_SHA"; |
| | 31 | | private const string TLSDHERSAWithAES128CBCSHAValue = "TLS_DHE_RSA_WITH_AES_128_CBC_SHA"; |
| | 32 | | private const string TLSRSAWithAES256GCMSHA384Value = "TLS_RSA_WITH_AES_256_GCM_SHA384"; |
| | 33 | | private const string TLSRSAWithAES128GCMSHA256Value = "TLS_RSA_WITH_AES_128_GCM_SHA256"; |
| | 34 | | private const string TLSRSAWithAES256CBCSHA256Value = "TLS_RSA_WITH_AES_256_CBC_SHA256"; |
| | 35 | | private const string TLSRSAWithAES128CBCSHA256Value = "TLS_RSA_WITH_AES_128_CBC_SHA256"; |
| | 36 | | private const string TLSRSAWithAES256CBCSHAValue = "TLS_RSA_WITH_AES_256_CBC_SHA"; |
| | 37 | | private const string TLSRSAWithAES128CBCSHAValue = "TLS_RSA_WITH_AES_128_CBC_SHA"; |
| | 38 | | private const string TLSEcdheEcdsaWithAES256GCMSHA384Value = "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384"; |
| | 39 | | private const string TLSEcdheEcdsaWithAES128GCMSHA256Value = "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256"; |
| | 40 | | private const string TLSEcdheEcdsaWithAES256CBCSHA384Value = "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384"; |
| | 41 | | private const string TLSEcdheEcdsaWithAES128CBCSHA256Value = "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256"; |
| | 42 | | private const string TLSEcdheEcdsaWithAES256CBCSHAValue = "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA"; |
| | 43 | | private const string TLSEcdheEcdsaWithAES128CBCSHAValue = "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA"; |
| | 44 | | private const string TLSDHEDSSWithAES256CBCSHA256Value = "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256"; |
| | 45 | | private const string TLSDHEDSSWithAES128CBCSHA256Value = "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256"; |
| | 46 | | private const string TLSDHEDSSWithAES256CBCSHAValue = "TLS_DHE_DSS_WITH_AES_256_CBC_SHA"; |
| | 47 | | private const string TLSDHEDSSWithAES128CBCSHAValue = "TLS_DHE_DSS_WITH_AES_128_CBC_SHA"; |
| | 48 | | private const string TLSRSAWith3DESEDECBCSHAValue = "TLS_RSA_WITH_3DES_EDE_CBC_SHA"; |
| | 49 | | private const string TLSDHEDSSWith3DESEDECBCSHAValue = "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA"; |
| | 50 | | private const string TLSEcdheRSAWithAES128GCMSHA256Value = "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256"; |
| | 51 | | private const string TLSEcdheRSAWithAES256GCMSHA384Value = "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384"; |
| | 52 | |
|
| | 53 | | /// <summary> TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384. </summary> |
| 0 | 54 | | public static ApplicationGatewaySslCipherSuite TLSEcdheRSAWithAES256CBCSHA384 { get; } = new ApplicationGatewayS |
| | 55 | | /// <summary> TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256. </summary> |
| 0 | 56 | | public static ApplicationGatewaySslCipherSuite TLSEcdheRSAWithAES128CBCSHA256 { get; } = new ApplicationGatewayS |
| | 57 | | /// <summary> TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA. </summary> |
| 0 | 58 | | public static ApplicationGatewaySslCipherSuite TLSEcdheRSAWithAES256CBCSHA { get; } = new ApplicationGatewaySslC |
| | 59 | | /// <summary> TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA. </summary> |
| 0 | 60 | | public static ApplicationGatewaySslCipherSuite TLSEcdheRSAWithAES128CBCSHA { get; } = new ApplicationGatewaySslC |
| | 61 | | /// <summary> TLS_DHE_RSA_WITH_AES_256_GCM_SHA384. </summary> |
| 0 | 62 | | public static ApplicationGatewaySslCipherSuite TLSDHERSAWithAES256GCMSHA384 { get; } = new ApplicationGatewaySsl |
| | 63 | | /// <summary> TLS_DHE_RSA_WITH_AES_128_GCM_SHA256. </summary> |
| 0 | 64 | | public static ApplicationGatewaySslCipherSuite TLSDHERSAWithAES128GCMSHA256 { get; } = new ApplicationGatewaySsl |
| | 65 | | /// <summary> TLS_DHE_RSA_WITH_AES_256_CBC_SHA. </summary> |
| 0 | 66 | | public static ApplicationGatewaySslCipherSuite TLSDHERSAWithAES256CBCSHA { get; } = new ApplicationGatewaySslCip |
| | 67 | | /// <summary> TLS_DHE_RSA_WITH_AES_128_CBC_SHA. </summary> |
| 0 | 68 | | public static ApplicationGatewaySslCipherSuite TLSDHERSAWithAES128CBCSHA { get; } = new ApplicationGatewaySslCip |
| | 69 | | /// <summary> TLS_RSA_WITH_AES_256_GCM_SHA384. </summary> |
| 0 | 70 | | public static ApplicationGatewaySslCipherSuite TLSRSAWithAES256GCMSHA384 { get; } = new ApplicationGatewaySslCip |
| | 71 | | /// <summary> TLS_RSA_WITH_AES_128_GCM_SHA256. </summary> |
| 0 | 72 | | public static ApplicationGatewaySslCipherSuite TLSRSAWithAES128GCMSHA256 { get; } = new ApplicationGatewaySslCip |
| | 73 | | /// <summary> TLS_RSA_WITH_AES_256_CBC_SHA256. </summary> |
| 0 | 74 | | public static ApplicationGatewaySslCipherSuite TLSRSAWithAES256CBCSHA256 { get; } = new ApplicationGatewaySslCip |
| | 75 | | /// <summary> TLS_RSA_WITH_AES_128_CBC_SHA256. </summary> |
| 0 | 76 | | public static ApplicationGatewaySslCipherSuite TLSRSAWithAES128CBCSHA256 { get; } = new ApplicationGatewaySslCip |
| | 77 | | /// <summary> TLS_RSA_WITH_AES_256_CBC_SHA. </summary> |
| 0 | 78 | | public static ApplicationGatewaySslCipherSuite TLSRSAWithAES256CBCSHA { get; } = new ApplicationGatewaySslCipher |
| | 79 | | /// <summary> TLS_RSA_WITH_AES_128_CBC_SHA. </summary> |
| 0 | 80 | | public static ApplicationGatewaySslCipherSuite TLSRSAWithAES128CBCSHA { get; } = new ApplicationGatewaySslCipher |
| | 81 | | /// <summary> TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384. </summary> |
| 0 | 82 | | public static ApplicationGatewaySslCipherSuite TLSEcdheEcdsaWithAES256GCMSHA384 { get; } = new ApplicationGatewa |
| | 83 | | /// <summary> TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256. </summary> |
| 0 | 84 | | public static ApplicationGatewaySslCipherSuite TLSEcdheEcdsaWithAES128GCMSHA256 { get; } = new ApplicationGatewa |
| | 85 | | /// <summary> TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384. </summary> |
| 0 | 86 | | public static ApplicationGatewaySslCipherSuite TLSEcdheEcdsaWithAES256CBCSHA384 { get; } = new ApplicationGatewa |
| | 87 | | /// <summary> TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256. </summary> |
| 0 | 88 | | public static ApplicationGatewaySslCipherSuite TLSEcdheEcdsaWithAES128CBCSHA256 { get; } = new ApplicationGatewa |
| | 89 | | /// <summary> TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA. </summary> |
| 0 | 90 | | public static ApplicationGatewaySslCipherSuite TLSEcdheEcdsaWithAES256CBCSHA { get; } = new ApplicationGatewaySs |
| | 91 | | /// <summary> TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA. </summary> |
| 0 | 92 | | public static ApplicationGatewaySslCipherSuite TLSEcdheEcdsaWithAES128CBCSHA { get; } = new ApplicationGatewaySs |
| | 93 | | /// <summary> TLS_DHE_DSS_WITH_AES_256_CBC_SHA256. </summary> |
| 0 | 94 | | public static ApplicationGatewaySslCipherSuite TLSDHEDSSWithAES256CBCSHA256 { get; } = new ApplicationGatewaySsl |
| | 95 | | /// <summary> TLS_DHE_DSS_WITH_AES_128_CBC_SHA256. </summary> |
| 0 | 96 | | public static ApplicationGatewaySslCipherSuite TLSDHEDSSWithAES128CBCSHA256 { get; } = new ApplicationGatewaySsl |
| | 97 | | /// <summary> TLS_DHE_DSS_WITH_AES_256_CBC_SHA. </summary> |
| 0 | 98 | | public static ApplicationGatewaySslCipherSuite TLSDHEDSSWithAES256CBCSHA { get; } = new ApplicationGatewaySslCip |
| | 99 | | /// <summary> TLS_DHE_DSS_WITH_AES_128_CBC_SHA. </summary> |
| 0 | 100 | | public static ApplicationGatewaySslCipherSuite TLSDHEDSSWithAES128CBCSHA { get; } = new ApplicationGatewaySslCip |
| | 101 | | /// <summary> TLS_RSA_WITH_3DES_EDE_CBC_SHA. </summary> |
| 0 | 102 | | public static ApplicationGatewaySslCipherSuite TLSRSAWith3DESEDECBCSHA { get; } = new ApplicationGatewaySslCiphe |
| | 103 | | /// <summary> TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA. </summary> |
| 0 | 104 | | public static ApplicationGatewaySslCipherSuite TLSDHEDSSWith3DESEDECBCSHA { get; } = new ApplicationGatewaySslCi |
| | 105 | | /// <summary> TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256. </summary> |
| 0 | 106 | | public static ApplicationGatewaySslCipherSuite TLSEcdheRSAWithAES128GCMSHA256 { get; } = new ApplicationGatewayS |
| | 107 | | /// <summary> TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384. </summary> |
| 0 | 108 | | public static ApplicationGatewaySslCipherSuite TLSEcdheRSAWithAES256GCMSHA384 { get; } = new ApplicationGatewayS |
| | 109 | | /// <summary> Determines if two <see cref="ApplicationGatewaySslCipherSuite"/> values are the same. </summary> |
| 0 | 110 | | public static bool operator ==(ApplicationGatewaySslCipherSuite left, ApplicationGatewaySslCipherSuite right) => |
| | 111 | | /// <summary> Determines if two <see cref="ApplicationGatewaySslCipherSuite"/> values are not the same. </summar |
| 0 | 112 | | public static bool operator !=(ApplicationGatewaySslCipherSuite left, ApplicationGatewaySslCipherSuite right) => |
| | 113 | | /// <summary> Converts a string to a <see cref="ApplicationGatewaySslCipherSuite"/>. </summary> |
| 0 | 114 | | public static implicit operator ApplicationGatewaySslCipherSuite(string value) => new ApplicationGatewaySslCiphe |
| | 115 | |
|
| | 116 | | /// <inheritdoc /> |
| | 117 | | [EditorBrowsable(EditorBrowsableState.Never)] |
| 0 | 118 | | public override bool Equals(object obj) => obj is ApplicationGatewaySslCipherSuite other && Equals(other); |
| | 119 | | /// <inheritdoc /> |
| 0 | 120 | | public bool Equals(ApplicationGatewaySslCipherSuite other) => string.Equals(_value, other._value, StringComparis |
| | 121 | |
|
| | 122 | | /// <inheritdoc /> |
| | 123 | | [EditorBrowsable(EditorBrowsableState.Never)] |
| 0 | 124 | | public override int GetHashCode() => _value?.GetHashCode() ?? 0; |
| | 125 | | /// <inheritdoc /> |
| 0 | 126 | | public override string ToString() => _value; |
| | 127 | | } |
| | 128 | | } |