Sdílet prostřednictvím


RedisResource.ZonalAllocationPolicy Property

Definition

Gets or sets 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. Possible values include: 'Automatic', 'UserDefined', 'NoZones'

[Newtonsoft.Json.JsonProperty(PropertyName="properties.zonalAllocationPolicy")]
public string ZonalAllocationPolicy { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="properties.zonalAllocationPolicy")>]
member this.ZonalAllocationPolicy : string with get, set
Public Property ZonalAllocationPolicy As String

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to