RedisCreateParameters Class

Definition

Parameters supplied to the Create Redis operation.

[Microsoft.Rest.Serialization.JsonTransformation]
public class RedisCreateParameters
[<Microsoft.Rest.Serialization.JsonTransformation>]
type RedisCreateParameters = class
Public Class RedisCreateParameters
Inheritance
RedisCreateParameters
Attributes

Constructors

RedisCreateParameters()

Initializes a new instance of the RedisCreateParameters class.

RedisCreateParameters(Sku, String, RedisCommonPropertiesRedisConfiguration, String, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, IDictionary<String,String>, Nullable<Int32>, String, String, String, String, IList<String>, IDictionary<String,String>, ManagedServiceIdentity)

Initializes a new instance of the RedisCreateParameters class.

Properties

EnableNonSslPort

Gets or sets specifies whether the non-ssl Redis server port (6379) is enabled.

Identity

Gets or sets the identity of the resource.

Location

Gets or sets the geo-location where the resource lives

MinimumTlsVersion

Gets or sets optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2'). Possible values include: '1.0', '1.1', '1.2'

PublicNetworkAccess

Gets or sets 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'. Possible values include: 'Enabled', 'Disabled'

RedisConfiguration

Gets or sets 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

Gets or sets redis version. Only major version will be used in PUT/PATCH request with current valid values: (4, 6)

ReplicasPerMaster

Gets or sets the number of replicas to be created per primary.

ReplicasPerPrimary

Gets or sets the number of replicas to be created per primary.

ShardCount

Gets or sets the number of shards to be created on a Premium Cluster Cache.

Sku

Gets or sets the SKU of the Redis cache to deploy.

StaticIP

Gets or sets static IP address. Optionally, may be specified when deploying a Redis cache inside an existing Azure Virtual Network; auto assigned by default.

SubnetId

Gets or sets 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

Gets or sets resource tags.

TenantSettings

Gets or sets a dictionary of tenant settings

Zones

Gets or sets a list of availability zones denoting where the resource needs to come from.

Methods

Validate()

Validate the object.

Applies to