共用方式為


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

ZonalAllocationPolicy(String)

Initializes a new instance of ZonalAllocationPolicy.

Properties

Automatic

Automatic.

NoZones

NoZones.

UserDefined

UserDefined.

Methods

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

Equality(ZonalAllocationPolicy, ZonalAllocationPolicy)

Determines if two ZonalAllocationPolicy values are the same.

Implicit(String to ZonalAllocationPolicy)

Converts a String to a ZonalAllocationPolicy.

Inequality(ZonalAllocationPolicy, ZonalAllocationPolicy)

Determines if two ZonalAllocationPolicy values are not the same.

Applies to