Class RedisArgs


  • public final class RedisArgs
    extends com.pulumi.resources.ResourceArgs
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  RedisArgs.Builder  
      • Nested classes/interfaces inherited from class com.pulumi.resources.InputArgs

        com.pulumi.resources.InputArgs.InputArgsInternal
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static RedisArgs Empty  
    • Field Detail

    • Method Detail

      • enableNonSslPort

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> enableNonSslPort()
        Returns:
        Specifies whether the non-ssl Redis server port (6379) is enabled.
      • identity

        public java.util.Optional<com.pulumi.core.Output<ManagedServiceIdentityArgs>> identity()
        Returns:
        The identity of the resource.
      • location

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> location()
        Returns:
        The geo-location where the resource lives
      • minimumTlsVersion

        public java.util.Optional<com.pulumi.core.Output<com.pulumi.core.Either<java.lang.String,​TlsVersion>>> minimumTlsVersion()
        Returns:
        Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2')
      • name

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
        Returns:
        The name of the Redis cache.
      • publicNetworkAccess

        public java.util.Optional<com.pulumi.core.Output<com.pulumi.core.Either<java.lang.String,​PublicNetworkAccess>>> publicNetworkAccess()
        Returns:
        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'. Note: This setting is important for caches with private endpoints. It has *no effect* on caches that are joined to, or injected into, a virtual network subnet.
      • redisConfiguration

        public java.util.Optional<com.pulumi.core.Output<RedisCommonPropertiesRedisConfigurationArgs>> redisConfiguration()
        Returns:
        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.
      • redisVersion

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> redisVersion()
        Returns:
        Redis version. This should be in the form 'major[.minor]' (only 'major' is required) or the value 'latest' which refers to the latest stable Redis version that is available. Supported versions: 4.0, 6.0 (latest). Default value is 'latest'.
      • replicasPerMaster

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> replicasPerMaster()
        Returns:
        The number of replicas to be created per primary.
      • replicasPerPrimary

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> replicasPerPrimary()
        Returns:
        The number of replicas to be created per primary.
      • resourceGroupName

        public com.pulumi.core.Output<java.lang.String> resourceGroupName()
        Returns:
        The name of the resource group.
      • shardCount

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> shardCount()
        Returns:
        The number of shards to be created on a Premium Cluster Cache.
      • sku

        public com.pulumi.core.Output<SkuArgs> sku()
        Returns:
        The SKU of the Redis cache to deploy.
      • staticIP

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> staticIP()
        Returns:
        Static IP address. Optionally, may be specified when deploying a Redis cache inside an existing Azure Virtual Network; auto assigned by default.
      • subnetId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> subnetId()
        Returns:
        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
      • tags

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tags()
        Returns:
        Resource tags.
      • tenantSettings

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tenantSettings()
        Returns:
        A dictionary of tenant settings
      • zones

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> zones()
        Returns:
        A list of availability zones denoting where the resource needs to come from.