public final class RedisInstanceDetails extends Object
| Constructor and Description |
|---|
RedisInstanceDetails() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
isMaster()
Get the isMaster property: Specifies whether the instance is a master node.
|
Integer |
nonSslPort()
Get the nonSslPort property: If enableNonSslPort is true, provides Redis instance Non-SSL port.
|
Integer |
shardId()
Get the shardId property: If clustering is enabled, the Shard ID of Redis Instance.
|
Integer |
sslPort()
Get the sslPort property: Redis instance SSL port.
|
void |
validate()
Validates the instance.
|
String |
zone()
Get the zone property: If the Cache uses availability zones, specifies availability zone where this instance is
located.
|
public Integer sslPort()
public Integer nonSslPort()
public String zone()
public Integer shardId()
public Boolean isMaster()
public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.