Dela via


ArmSqlModelFactory.SqlServerVersionCapability Method

Definition

Initializes a new instance of SqlServerVersionCapability.

public static Azure.ResourceManager.Sql.Models.SqlServerVersionCapability SqlServerVersionCapability (string name = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.Models.EditionCapability> supportedEditions = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.Models.ElasticPoolEditionCapability> supportedElasticPoolEditions = default, Azure.ResourceManager.Sql.Models.SqlCapabilityStatus? status = default, string reason = default);
static member SqlServerVersionCapability : string * seq<Azure.ResourceManager.Sql.Models.EditionCapability> * seq<Azure.ResourceManager.Sql.Models.ElasticPoolEditionCapability> * Nullable<Azure.ResourceManager.Sql.Models.SqlCapabilityStatus> * string -> Azure.ResourceManager.Sql.Models.SqlServerVersionCapability
Public Shared Function SqlServerVersionCapability (Optional name As String = Nothing, Optional supportedEditions As IEnumerable(Of EditionCapability) = Nothing, Optional supportedElasticPoolEditions As IEnumerable(Of ElasticPoolEditionCapability) = Nothing, Optional status As Nullable(Of SqlCapabilityStatus) = Nothing, Optional reason As String = Nothing) As SqlServerVersionCapability

Parameters

name
String

The server version name.

supportedEditions
IEnumerable<EditionCapability>

The list of supported database editions.

supportedElasticPoolEditions
IEnumerable<ElasticPoolEditionCapability>

The list of supported elastic pool editions.

status
Nullable<SqlCapabilityStatus>

The status of the capability.

reason
String

The reason for the capability not being available.

Returns

A new SqlServerVersionCapability instance for mocking.

Applies to