共用方式為


PublicNetworkAccess Struct

Definition

Whether or not public network traffic can access the Redis cluster. Only 'Enabled' or 'Disabled' can be set. null is returned only for clusters created using an old API version which do not have this property and cannot be set.

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

Fields

Name Description
Disabled
Enabled

Methods

Name Description
CompleteArgument(String, String, String, CommandAst, IDictionary)

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

Equals(Object)

Compares values of enum type PublicNetworkAccess (override for Object)

Equals(PublicNetworkAccess)

Compares values of enum type PublicNetworkAccess

GetHashCode()

Returns hashCode for enum PublicNetworkAccess

ToString()

Returns string representation for PublicNetworkAccess

Operators

Name Description
Equality(PublicNetworkAccess, PublicNetworkAccess)

Overriding == operator for enum PublicNetworkAccess

Implicit(PublicNetworkAccess to String)

Implicit operator to convert PublicNetworkAccess to string

Implicit(String to PublicNetworkAccess)

Implicit operator to convert string to PublicNetworkAccess

Inequality(PublicNetworkAccess, PublicNetworkAccess)

Overriding != operator for enum PublicNetworkAccess

Applies to