Condividi tramite


StorageAccountStrategy Struct

Definition

Specifies the strategy to be used when selecting the storage account type. Cannot be specified along with storageAccountType, but can be overridden per region by specifying targetRegions[].storageAccountType. This property is not updatable.

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

Constructors

Name Description
StorageAccountStrategy(String)

Initializes a new instance of StorageAccountStrategy.

Properties

Name Description
DefaultStandardLrs

Choose Standard_LRS storage unless overridden by specifying regional storageAccountType.

PreferStandardZrs

Choose Standard_ZRS storage if the region supports it, else choose Standard_LRS storage, unless overridden by specifying regional storageAccountType. If no storageAccountStrategy is specified, this is the default strategy (from API version 2025-03-03 onwards).

Methods

Name Description
Equals(StorageAccountStrategy)

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(StorageAccountStrategy, StorageAccountStrategy)

Determines if two StorageAccountStrategy values are the same.

Implicit(String to StorageAccountStrategy)

Converts a String to a StorageAccountStrategy.

Inequality(StorageAccountStrategy, StorageAccountStrategy)

Determines if two StorageAccountStrategy values are not the same.

Applies to