Storage Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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) | |
| 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) | |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |