ArmPostgreSqlFlexibleServersModelFactory.PostgreSqlFlexibleServerStorage Method

Definition

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

storageSizeInGB
Nullable<Int32>

Size of storage assigned to a server.

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.

tier
Nullable<PostgreSqlManagedDiskPerformanceTier>

Storage tier of a server.

iops
Nullable<Int32>

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

throughput
Nullable<Int32>

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.

Applies to