Language

Storage Class

Definition

Storage properties of a server.

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

Constructors

Name Description
Storage()

Creates an new Storage instance.

Properties

Name Description
AutoGrow

Flag to enable or disable the automatic growth of storage size of a server when available space is nearing zero and conditions allow for automatically growing storage size.

Iop

Maximum IOPS supported for storage. Required when type of storage is PremiumV2_LRS or UltraSSD_LRS.

SizeGb

Size of storage assigned to a server.

Throughput

Maximum throughput supported for storage. Required when type of storage is PremiumV2_LRS or UltraSSD_LRS.

Tier

Storage tier of a server.

Type

Type of storage assigned to a server. Allowed values are Premium_LRS, PremiumV2_LRS, or UltraSSD_LRS. If not specified, it defaults to Premium_LRS.

Methods

Name Description
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.PostgreSqlFlexibleServer.Models.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.

ToString()

Applies to