RedisTlsVersion Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2').
public readonly struct RedisTlsVersion : IEquatable<Azure.ResourceManager.Redis.Models.RedisTlsVersion>
type RedisTlsVersion = struct
Public Structure RedisTlsVersion
Implements IEquatable(Of RedisTlsVersion)
- Inheritance
-
RedisTlsVersion
- Implements
Constructors
| Name | Description |
|---|---|
| RedisTlsVersion(String) |
Initializes a new instance of RedisTlsVersion. |
Properties
| Name | Description |
|---|---|
| Tls1_0 |
TLS protocol version 1.0 -- deprecated for security reasons. Do not use this value for new caches. |
| Tls1_1 |
TLS protocol version 1.1 -- deprecated for security reasons. Do not use this value for new caches. |
| Tls1_2 |
TLS protocol version 1.2 -- use this value, or higher, for new caches. Or do not specify, so that your cache uses the recommended default value. |
Methods
| Name | Description |
|---|---|
| Equals(RedisTlsVersion) |
Indicates whether the current object is equal to another object of the same type. |
| ToString() |
Returns the fully qualified type name of this instance. |
Operators
| Name | Description |
|---|---|
| Equality(RedisTlsVersion, RedisTlsVersion) |
Determines if two RedisTlsVersion values are the same. |
| Implicit(String to Nullable<RedisTlsVersion>) | |
| Implicit(String to RedisTlsVersion) |
Converts a string to a RedisTlsVersion. |
| Inequality(RedisTlsVersion, RedisTlsVersion) |
Determines if two RedisTlsVersion values are not the same. |