Partager via


Protocol Struct

Definition

Specifies whether redis clients can connect using TLS-encrypted or plaintext redis protocols. Default is TLS-encrypted.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Support.ProtocolTypeConverter))]
public struct Protocol : IEquatable<Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Support.Protocol>, System.Management.Automation.IArgumentCompleter
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Support.ProtocolTypeConverter))>]
type Protocol = struct
    interface IArgumentCompleter
Public Structure Protocol
Implements IArgumentCompleter, IEquatable(Of Protocol)
Inheritance
Protocol
Attributes
Implements

Fields

Encrypted
Plaintext

Methods

CompleteArgument(String, String, String, CommandAst, IDictionary)

Implementations of this function are called by PowerShell to complete arguments.

Equals(Object)

Compares values of enum type Protocol (override for Object)

Equals(Protocol)

Compares values of enum type Protocol

GetHashCode()

Returns hashCode for enum Protocol

ToString()

Returns string representation for Protocol

Operators

Equality(Protocol, Protocol)

Overriding == operator for enum Protocol

Implicit(Protocol to String)

Implicit operator to convert Protocol to string

Implicit(String to Protocol)

Implicit operator to convert string to Protocol

Inequality(Protocol, Protocol)

Overriding != operator for enum Protocol

Applies to