Share via


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(String, Sku, IList<String>, IDictionary<String, String>, ManagedServiceIdentity, String, RedisCommonPropertiesRedisConfiguration, String, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, IDictionary<String,String>, Nullable<Int32>, String, String, Nullable<Boolean>, String, String)

Initializes a new instance of the RedisCreateParameters class.

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

Initializes a new instance of the RedisCreateParameters class.

Properties

DisableAccessKeyAuthentication

Gets or sets authentication to Redis through access keys is disabled when set as true. Default value is false.

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, aof-backup-enabled, aof-storage-connection-string-0, aof-storage-connection-string-1 etc.

RedisVersion

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

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

UpdateChannel

Gets or sets optional: Specifies the update channel for the monthly Redis updates your Redis Cache will receive. Caches using 'Preview' update channel get latest Redis updates at least 4 weeks ahead of 'Stable' channel caches. Default value is 'Stable'. Possible values include: 'Stable', 'Preview'

Zones

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

Methods

Validate()

Validate the object.

Applies to