Share via


Storage Class

Definition

The Storage config of AzureStackHCI Cluster.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api20240401.StorageTypeConverter))]
public class Storage : Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api20240401.IStorage
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api20240401.StorageTypeConverter))>]
type Storage = class
    interface IStorage
    interface IJsonSerializable
Public Class Storage
Implements IStorage
Inheritance
Storage
Attributes
Implements

Constructors

Storage()

Creates an new Storage instance.

Properties

ConfigurationMode

By default, this mode is set to Express and your storage is configured as per best practices based on the number of nodes in the cluster. Allowed values are 'Express','InfraOnly', 'KeepStorage'

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Storage.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Storage.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api20240401.IStorage.

FromJsonString(String)

Creates a new instance of Storage, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of Storage into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to