-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
RedisTlsVersion.cs
39 lines (36 loc) · 1.25 KB
/
RedisTlsVersion.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#nullable disable
using System;
using System.ComponentModel;
using Azure.Core;
namespace Azure.ResourceManager.Redis.Models
{
/// <summary>
/// Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2')
/// Serialized Name: TlsVersion
/// </summary>
public readonly partial struct RedisTlsVersion : IEquatable<RedisTlsVersion>
{
#pragma warning disable CA1707
/// <summary>
/// 1.0
/// Serialized Name: TlsVersion.1.0
/// </summary>
[CodeGenMember("One0")]
public static RedisTlsVersion Tls1_0 { get; } = new RedisTlsVersion(Tls1_0Value);
/// <summary>
/// 1.1
/// Serialized Name: TlsVersion.1.1
/// </summary>
[CodeGenMember("One1")]
public static RedisTlsVersion Tls1_1 { get; } = new RedisTlsVersion(Tls1_1Value);
/// <summary>
/// 1.2
/// Serialized Name: TlsVersion.1.2
/// </summary>
[CodeGenMember("One2")]
public static RedisTlsVersion Tls1_2 { get; } = new RedisTlsVersion(Tls1_2Value);
#pragma warning restore CA1707
}
}