Class RedisPropertiesInner

    • Constructor Detail

      • RedisPropertiesInner

        public RedisPropertiesInner()
    • Method Detail

      • provisioningState

        public ProvisioningState provisioningState()
        Get the provisioningState property: Redis instance provisioning status.
        Returns:
        the provisioningState value.
      • hostname

        public String hostname()
        Get the hostname property: Redis host name.
        Returns:
        the hostname value.
      • port

        public Integer port()
        Get the port property: Redis non-SSL port.
        Returns:
        the port value.
      • sslPort

        public Integer sslPort()
        Get the sslPort property: Redis SSL port.
        Returns:
        the sslPort value.
      • accessKeys

        public RedisAccessKeysInner accessKeys()
        Get the accessKeys property: The keys of the Redis cache - not set if this object is not the response to Create or Update redis cache.
        Returns:
        the accessKeys value.
      • linkedServers

        public List<RedisLinkedServer> linkedServers()
        Get the linkedServers property: List of the linked servers associated with the cache.
        Returns:
        the linkedServers value.
      • instances

        public List<RedisInstanceDetails> instances()
        Get the instances property: List of the Redis instances associated with the cache.
        Returns:
        the instances value.
      • privateEndpointConnections

        public List<PrivateEndpointConnectionInner> privateEndpointConnections()
        Get the privateEndpointConnections property: List of private endpoint connection associated with the specified redis cache.
        Returns:
        the privateEndpointConnections value.
      • withSku

        public RedisPropertiesInner withSku​(Sku sku)
        Set the sku property: The SKU of the Redis cache to deploy.
        Overrides:
        withSku in class RedisCreateProperties
        Parameters:
        sku - the sku value to set.
        Returns:
        the RedisCreateProperties object itself.
      • withSubnetId

        public RedisPropertiesInner withSubnetId​(String subnetId)
        Set the subnetId property: The full resource ID of a subnet in a virtual network to deploy the Redis cache in. Example format: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/Microsoft.{Network|ClassicNetwork}/VirtualNetworks/vnet1/subnets/subnet1.
        Overrides:
        withSubnetId in class RedisCreateProperties
        Parameters:
        subnetId - the subnetId value to set.
        Returns:
        the RedisCreateProperties object itself.
      • withStaticIp

        public RedisPropertiesInner withStaticIp​(String staticIp)
        Set the staticIp property: Static IP address. Optionally, may be specified when deploying a Redis cache inside an existing Azure Virtual Network; auto assigned by default.
        Overrides:
        withStaticIp in class RedisCreateProperties
        Parameters:
        staticIp - the staticIp value to set.
        Returns:
        the RedisCreateProperties object itself.
      • withRedisConfiguration

        public RedisPropertiesInner withRedisConfiguration​(RedisConfiguration redisConfiguration)
        Set the redisConfiguration property: All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,maxmemory-policy,notify-keyspace-events,maxmemory-samples,slowlog-log-slower-than,slowlog-max-len,list-max-ziplist-entries,list-max-ziplist-value,hash-max-ziplist-entries,hash-max-ziplist-value,set-max-intset-entries,zset-max-ziplist-entries,zset-max-ziplist-value etc.
        Overrides:
        withRedisConfiguration in class RedisCreateProperties
        Parameters:
        redisConfiguration - the redisConfiguration value to set.
        Returns:
        the RedisCommonProperties object itself.
      • withRedisVersion

        public RedisPropertiesInner withRedisVersion​(String redisVersion)
        Set the redisVersion property: Redis version. Only major version will be used in PUT/PATCH request with current valid values: (4, 6).
        Overrides:
        withRedisVersion in class RedisCreateProperties
        Parameters:
        redisVersion - the redisVersion value to set.
        Returns:
        the RedisCommonProperties object itself.
      • withEnableNonSslPort

        public RedisPropertiesInner withEnableNonSslPort​(Boolean enableNonSslPort)
        Set the enableNonSslPort property: Specifies whether the non-ssl Redis server port (6379) is enabled.
        Overrides:
        withEnableNonSslPort in class RedisCreateProperties
        Parameters:
        enableNonSslPort - the enableNonSslPort value to set.
        Returns:
        the RedisCommonProperties object itself.
      • withReplicasPerMaster

        public RedisPropertiesInner withReplicasPerMaster​(Integer replicasPerMaster)
        Set the replicasPerMaster property: The number of replicas to be created per primary.
        Overrides:
        withReplicasPerMaster in class RedisCreateProperties
        Parameters:
        replicasPerMaster - the replicasPerMaster value to set.
        Returns:
        the RedisCommonProperties object itself.
      • withReplicasPerPrimary

        public RedisPropertiesInner withReplicasPerPrimary​(Integer replicasPerPrimary)
        Set the replicasPerPrimary property: The number of replicas to be created per primary.
        Overrides:
        withReplicasPerPrimary in class RedisCreateProperties
        Parameters:
        replicasPerPrimary - the replicasPerPrimary value to set.
        Returns:
        the RedisCommonProperties object itself.
      • withShardCount

        public RedisPropertiesInner withShardCount​(Integer shardCount)
        Set the shardCount property: The number of shards to be created on a Premium Cluster Cache.
        Overrides:
        withShardCount in class RedisCreateProperties
        Parameters:
        shardCount - the shardCount value to set.
        Returns:
        the RedisCommonProperties object itself.
      • withMinimumTlsVersion

        public RedisPropertiesInner withMinimumTlsVersion​(TlsVersion minimumTlsVersion)
        Set the minimumTlsVersion property: Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2').
        Overrides:
        withMinimumTlsVersion in class RedisCreateProperties
        Parameters:
        minimumTlsVersion - the minimumTlsVersion value to set.
        Returns:
        the RedisCommonProperties object itself.
      • withPublicNetworkAccess

        public RedisPropertiesInner withPublicNetworkAccess​(PublicNetworkAccess publicNetworkAccess)
        Set the publicNetworkAccess property: Whether or not public endpoint access is allowed for this cache. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. If 'Disabled', private endpoints are the exclusive access method. Default value is 'Enabled'.
        Overrides:
        withPublicNetworkAccess in class RedisCreateProperties
        Parameters:
        publicNetworkAccess - the publicNetworkAccess value to set.
        Returns:
        the RedisCommonProperties object itself.