RedisCreateOrUpdateContent Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Parameters supplied to the Create Redis operation.
public class RedisCreateOrUpdateContent : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Redis.Models.RedisCreateOrUpdateContent>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Redis.Models.RedisCreateOrUpdateContent>
public class RedisCreateOrUpdateContent
type RedisCreateOrUpdateContent = class
interface IJsonModel<RedisCreateOrUpdateContent>
interface IPersistableModel<RedisCreateOrUpdateContent>
type RedisCreateOrUpdateContent = class
Public Class RedisCreateOrUpdateContent
Implements IJsonModel(Of RedisCreateOrUpdateContent), IPersistableModel(Of RedisCreateOrUpdateContent)
Public Class RedisCreateOrUpdateContent
- Inheritance
-
RedisCreateOrUpdateContent
- Implements
Constructors
RedisCreateOrUpdateContent(AzureLocation, RedisSku) |
Initializes a new instance of RedisCreateOrUpdateContent. |
Properties
EnableNonSslPort |
Specifies whether the non-ssl Redis server port (6379) is enabled. |
Identity |
The identity of the resource. |
IsAccessKeyAuthenticationDisabled |
Authentication to Redis through access keys is disabled when set as true. Default value is false. |
Location |
The geo-location where the resource lives. |
MinimumTlsVersion |
Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2'). |
PublicNetworkAccess |
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'. |
RedisConfiguration |
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 |
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 |
The number of replicas to be created per primary. |
ReplicasPerPrimary |
The number of replicas to be created per primary. |
ShardCount |
The number of shards to be created on a Premium Cluster Cache. |
Sku |
The SKU of the Redis cache to deploy. |
StaticIP |
Static IP address. Optionally, may be specified when deploying a Redis cache inside an existing Azure Virtual Network; auto assigned by default. |
SubnetId |
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 |
Resource tags. |
TenantSettings |
A dictionary of tenant settings. |
UpdateChannel |
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'. |
ZonalAllocationPolicy |
Optional: Specifies how availability zones are allocated to the Redis cache. 'Automatic' enables zone redundancy and Azure will automatically select zones based on regional availability and capacity. 'UserDefined' will select availability zones passed in by you using the 'zones' parameter. 'NoZones' will produce a non-zonal cache. If 'zonalAllocationPolicy' is not passed, it will be set to 'UserDefined' when zones are passed in, otherwise, it will be set to 'Automatic' in regions where zones are supported and 'NoZones' in regions where zones are not supported. |
Zones |
A list of availability zones denoting where the resource needs to come from. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<RedisCreateOrUpdateContent>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<RedisCreateOrUpdateContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<RedisCreateOrUpdateContent>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<RedisCreateOrUpdateContent>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<RedisCreateOrUpdateContent>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET