ArmSqlModelFactory.SqlServerVersionCapability Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.