Share via


ArmSqlModelFactory.EditionCapability Method

Definition

Initializes a new instance of EditionCapability.

public static Azure.ResourceManager.Sql.Models.EditionCapability EditionCapability (string name = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.Models.ServiceObjectiveCapability> supportedServiceLevelObjectives = default, bool? isZoneRedundant = default, Azure.ResourceManager.Sql.Models.ReadScaleCapability readScale = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.Models.StorageCapability> supportedStorageCapabilities = default, Azure.ResourceManager.Sql.Models.SqlCapabilityStatus? status = default, string reason = default);
static member EditionCapability : string * seq<Azure.ResourceManager.Sql.Models.ServiceObjectiveCapability> * Nullable<bool> * Azure.ResourceManager.Sql.Models.ReadScaleCapability * seq<Azure.ResourceManager.Sql.Models.StorageCapability> * Nullable<Azure.ResourceManager.Sql.Models.SqlCapabilityStatus> * string -> Azure.ResourceManager.Sql.Models.EditionCapability
Public Shared Function EditionCapability (Optional name As String = Nothing, Optional supportedServiceLevelObjectives As IEnumerable(Of ServiceObjectiveCapability) = Nothing, Optional isZoneRedundant As Nullable(Of Boolean) = Nothing, Optional readScale As ReadScaleCapability = Nothing, Optional supportedStorageCapabilities As IEnumerable(Of StorageCapability) = Nothing, Optional status As Nullable(Of SqlCapabilityStatus) = Nothing, Optional reason As String = Nothing) As EditionCapability

Parameters

name
String

The database edition name.

supportedServiceLevelObjectives
IEnumerable<ServiceObjectiveCapability>

The list of supported service objectives for the edition.

isZoneRedundant
Nullable<Boolean>

Whether or not zone redundancy is supported for the edition.

readScale
ReadScaleCapability

The read scale capability for the edition.

supportedStorageCapabilities
IEnumerable<StorageCapability>

The list of supported storage capabilities for this edition.

status
Nullable<SqlCapabilityStatus>

The status of the capability.

reason
String

The reason for the capability not being available.

Returns

A new EditionCapability instance for mocking.

Applies to