Share via


ArmSqlModelFactory.ElasticPoolPerformanceLevelCapability Method

Definition

Initializes a new instance of ElasticPoolPerformanceLevelCapability.

public static Azure.ResourceManager.Sql.Models.ElasticPoolPerformanceLevelCapability ElasticPoolPerformanceLevelCapability (Azure.ResourceManager.Sql.Models.PerformanceLevelCapability performanceLevel = default, Azure.ResourceManager.Sql.Models.SqlSku sku = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.Models.LicenseTypeCapability> supportedLicenseTypes = default, int? maxDatabaseCount = default, Azure.ResourceManager.Sql.Models.MaxSizeCapability includedMaxSize = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.Models.MaxSizeRangeCapability> supportedMaxSizes = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.Models.MaxSizeRangeCapability> supportedPerDatabaseMaxSizes = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.Models.ElasticPoolPerDatabaseMaxPerformanceLevelCapability> supportedPerDatabaseMaxPerformanceLevels = default, bool? isZoneRedundant = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.Models.MaintenanceConfigurationCapability> supportedMaintenanceConfigurations = default, Azure.ResourceManager.Sql.Models.SqlCapabilityStatus? status = default, string reason = default);
static member ElasticPoolPerformanceLevelCapability : Azure.ResourceManager.Sql.Models.PerformanceLevelCapability * Azure.ResourceManager.Sql.Models.SqlSku * seq<Azure.ResourceManager.Sql.Models.LicenseTypeCapability> * Nullable<int> * Azure.ResourceManager.Sql.Models.MaxSizeCapability * seq<Azure.ResourceManager.Sql.Models.MaxSizeRangeCapability> * seq<Azure.ResourceManager.Sql.Models.MaxSizeRangeCapability> * seq<Azure.ResourceManager.Sql.Models.ElasticPoolPerDatabaseMaxPerformanceLevelCapability> * Nullable<bool> * seq<Azure.ResourceManager.Sql.Models.MaintenanceConfigurationCapability> * Nullable<Azure.ResourceManager.Sql.Models.SqlCapabilityStatus> * string -> Azure.ResourceManager.Sql.Models.ElasticPoolPerformanceLevelCapability
Public Shared Function ElasticPoolPerformanceLevelCapability (Optional performanceLevel As PerformanceLevelCapability = Nothing, Optional sku As SqlSku = Nothing, Optional supportedLicenseTypes As IEnumerable(Of LicenseTypeCapability) = Nothing, Optional maxDatabaseCount As Nullable(Of Integer) = Nothing, Optional includedMaxSize As MaxSizeCapability = Nothing, Optional supportedMaxSizes As IEnumerable(Of MaxSizeRangeCapability) = Nothing, Optional supportedPerDatabaseMaxSizes As IEnumerable(Of MaxSizeRangeCapability) = Nothing, Optional supportedPerDatabaseMaxPerformanceLevels As IEnumerable(Of ElasticPoolPerDatabaseMaxPerformanceLevelCapability) = Nothing, Optional isZoneRedundant As Nullable(Of Boolean) = Nothing, Optional supportedMaintenanceConfigurations As IEnumerable(Of MaintenanceConfigurationCapability) = Nothing, Optional status As Nullable(Of SqlCapabilityStatus) = Nothing, Optional reason As String = Nothing) As ElasticPoolPerformanceLevelCapability

Parameters

performanceLevel
PerformanceLevelCapability

The performance level for the pool.

sku
SqlSku

The sku.

supportedLicenseTypes
IEnumerable<LicenseTypeCapability>

List of supported license types.

maxDatabaseCount
Nullable<Int32>

The maximum number of databases supported.

includedMaxSize
MaxSizeCapability

The included (free) max size for this performance level.

supportedMaxSizes
IEnumerable<MaxSizeRangeCapability>

The list of supported max sizes.

supportedPerDatabaseMaxSizes
IEnumerable<MaxSizeRangeCapability>

The list of supported per database max sizes.

supportedPerDatabaseMaxPerformanceLevels
IEnumerable<ElasticPoolPerDatabaseMaxPerformanceLevelCapability>

The list of supported per database max performance levels.

isZoneRedundant
Nullable<Boolean>

Whether or not zone redundancy is supported for the performance level.

supportedMaintenanceConfigurations
IEnumerable<MaintenanceConfigurationCapability>

List of supported maintenance configurations.

status
Nullable<SqlCapabilityStatus>

The status of the capability.

reason
String

The reason for the capability not being available.

Returns

A new ElasticPoolPerformanceLevelCapability instance for mocking.

Applies to