public class RedisCreateProperties extends RedisCommonProperties
| Constructor and Description |
|---|
RedisCreateProperties() |
| Modifier and Type | Method and Description |
|---|---|
Sku |
sku()
Get the sku property: The SKU of the Redis cache to deploy.
|
String |
staticIp()
Get the staticIp property: Static IP address.
|
String |
subnetId()
Get the subnetId property: The full resource ID of a subnet in a virtual network to deploy the Redis cache in.
|
void |
validate()
Validates the instance.
|
RedisCreateProperties |
withSku(Sku sku)
Set the sku property: The SKU of the Redis cache to deploy.
|
RedisCreateProperties |
withStaticIp(String staticIp)
Set the staticIp property: Static IP address.
|
RedisCreateProperties |
withSubnetId(String subnetId)
Set the subnetId property: The full resource ID of a subnet in a virtual network to deploy the Redis cache in.
|
enableNonSslPort, minimumTlsVersion, redisConfiguration, shardCount, tenantSettings, withEnableNonSslPort, withMinimumTlsVersion, withRedisConfiguration, withShardCount, withTenantSettingspublic Sku sku()
public RedisCreateProperties withSku(Sku sku)
sku - the sku value to set.public String subnetId()
public RedisCreateProperties withSubnetId(String subnetId)
subnetId - the subnetId value to set.public String staticIp()
public RedisCreateProperties withStaticIp(String staticIp)
staticIp - the staticIp value to set.public void validate()
validate in class RedisCommonPropertiesIllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.