ZonalAllocationPolicy Struct

Definition

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.

public readonly struct ZonalAllocationPolicy : IEquatable<Azure.ResourceManager.Redis.Models.ZonalAllocationPolicy>
type ZonalAllocationPolicy = struct
Public Structure ZonalAllocationPolicy
Implements IEquatable(Of ZonalAllocationPolicy)
Inheritance
ZonalAllocationPolicy
Implements

Constructors

Name Description
ZonalAllocationPolicy(String)

Initializes a new instance of ZonalAllocationPolicy.

Properties

Name Description
Automatic

The zones for the cache will be selected automatically based on availability and capacity.

NoZones

The cache will not use multiple availability zones.

UserDefined

UserDefined means the zones for the cache are manually configured using the 'zones' property, and can not be automatically selected.

Methods

Name Description
Equals(ZonalAllocationPolicy)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Name Description
Equality(ZonalAllocationPolicy, ZonalAllocationPolicy)

Determines if two ZonalAllocationPolicy values are the same.

Implicit(String to Nullable<ZonalAllocationPolicy>)
Implicit(String to ZonalAllocationPolicy)

Converts a string to a ZonalAllocationPolicy.

Inequality(ZonalAllocationPolicy, ZonalAllocationPolicy)

Determines if two ZonalAllocationPolicy values are not the same.

Applies to