ArmPostgreSqlFlexibleServersModelFactory.PostgreSqlFlexibleServerStorage Method
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.
public static Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerStorage PostgreSqlFlexibleServerStorage(int? storageSizeInGB = default, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.StorageAutoGrow? autoGrow = default, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlManagedDiskPerformanceTier? tier = default, int? iops = default, int? throughput = default, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServersStorageType? storageType = default);
static member PostgreSqlFlexibleServerStorage : Nullable<int> * Nullable<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.StorageAutoGrow> * Nullable<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlManagedDiskPerformanceTier> * Nullable<int> * Nullable<int> * Nullable<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServersStorageType> -> Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerStorage
Public Shared Function PostgreSqlFlexibleServerStorage (Optional storageSizeInGB As Nullable(Of Integer) = Nothing, Optional autoGrow As Nullable(Of StorageAutoGrow) = Nothing, Optional tier As Nullable(Of PostgreSqlManagedDiskPerformanceTier) = Nothing, Optional iops As Nullable(Of Integer) = Nothing, Optional throughput As Nullable(Of Integer) = Nothing, Optional storageType As Nullable(Of PostgreSqlFlexibleServersStorageType) = Nothing) As PostgreSqlFlexibleServerStorage
Parameters
- autoGrow
- Nullable<StorageAutoGrow>
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.
Storage tier of a server.
Maximum IOPS supported for storage. Required when type of storage is PremiumV2_LRS or UltraSSD_LRS.
Maximum throughput supported for storage. Required when type of storage is PremiumV2_LRS or UltraSSD_LRS.
- storageType
- Nullable<PostgreSqlFlexibleServersStorageType>
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.
Returns
A new PostgreSqlFlexibleServerStorage instance for mocking.