public class RedisLinkedServerWithPropertiesInner
extends com.azure.core.management.ProxyResource
| Constructor and Description |
|---|
RedisLinkedServerWithPropertiesInner() |
| Modifier and Type | Method and Description |
|---|---|
String |
linkedRedisCacheId()
Get the linkedRedisCacheId property: Fully qualified resourceId of the linked redis cache.
|
String |
linkedRedisCacheLocation()
Get the linkedRedisCacheLocation property: Location of the linked redis cache.
|
String |
provisioningState()
Get the provisioningState property: Terminal state of the link between primary and secondary redis cache.
|
ReplicationRole |
serverRole()
Get the serverRole property: Role of the linked server.
|
void |
validate()
Validates the instance.
|
RedisLinkedServerWithPropertiesInner |
withLinkedRedisCacheId(String linkedRedisCacheId)
Set the linkedRedisCacheId property: Fully qualified resourceId of the linked redis cache.
|
RedisLinkedServerWithPropertiesInner |
withLinkedRedisCacheLocation(String linkedRedisCacheLocation)
Set the linkedRedisCacheLocation property: Location of the linked redis cache.
|
RedisLinkedServerWithPropertiesInner |
withServerRole(ReplicationRole serverRole)
Set the serverRole property: Role of the linked server.
|
public RedisLinkedServerWithPropertiesInner()
public String linkedRedisCacheId()
public RedisLinkedServerWithPropertiesInner withLinkedRedisCacheId(String linkedRedisCacheId)
linkedRedisCacheId - the linkedRedisCacheId value to set.public String linkedRedisCacheLocation()
public RedisLinkedServerWithPropertiesInner withLinkedRedisCacheLocation(String linkedRedisCacheLocation)
linkedRedisCacheLocation - the linkedRedisCacheLocation value to set.public ReplicationRole serverRole()
public RedisLinkedServerWithPropertiesInner withServerRole(ReplicationRole serverRole)
serverRole - the serverRole value to set.public String provisioningState()
public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.