Partilhar via


ArmPostgreSqlModelFactory.PostgreSqlPerformanceTierProperties Method

Definition

Initializes a new instance of PostgreSqlPerformanceTierProperties.

public static Azure.ResourceManager.PostgreSql.Models.PostgreSqlPerformanceTierProperties PostgreSqlPerformanceTierProperties (string id = default, int? maxBackupRetentionDays = default, int? minBackupRetentionDays = default, int? maxStorageInMB = default, int? minLargeStorageInMB = default, int? maxLargeStorageInMB = default, int? minStorageInMB = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.PostgreSql.Models.PostgreSqlPerformanceTierServiceLevelObjectives> serviceLevelObjectives = default);
static member PostgreSqlPerformanceTierProperties : string * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * seq<Azure.ResourceManager.PostgreSql.Models.PostgreSqlPerformanceTierServiceLevelObjectives> -> Azure.ResourceManager.PostgreSql.Models.PostgreSqlPerformanceTierProperties
Public Shared Function PostgreSqlPerformanceTierProperties (Optional id As String = Nothing, Optional maxBackupRetentionDays As Nullable(Of Integer) = Nothing, Optional minBackupRetentionDays As Nullable(Of Integer) = Nothing, Optional maxStorageInMB As Nullable(Of Integer) = Nothing, Optional minLargeStorageInMB As Nullable(Of Integer) = Nothing, Optional maxLargeStorageInMB As Nullable(Of Integer) = Nothing, Optional minStorageInMB As Nullable(Of Integer) = Nothing, Optional serviceLevelObjectives As IEnumerable(Of PostgreSqlPerformanceTierServiceLevelObjectives) = Nothing) As PostgreSqlPerformanceTierProperties

Parameters

id
String

ID of the performance tier.

maxBackupRetentionDays
Nullable<Int32>

Maximum Backup retention in days for the performance tier edition.

minBackupRetentionDays
Nullable<Int32>

Minimum Backup retention in days for the performance tier edition.

maxStorageInMB
Nullable<Int32>

Max storage allowed for a server.

minLargeStorageInMB
Nullable<Int32>

Max storage allowed for a server.

maxLargeStorageInMB
Nullable<Int32>

Max storage allowed for a server.

minStorageInMB
Nullable<Int32>

Max storage allowed for a server.

serviceLevelObjectives
IEnumerable<PostgreSqlPerformanceTierServiceLevelObjectives>

Service level objectives associated with the performance tier.

Returns

A new PostgreSqlPerformanceTierProperties instance for mocking.

Applies to