ArmSqlModelFactory.ManagedInstanceVersionCapability 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 ManagedInstanceVersionCapability.
public static Azure.ResourceManager.Sql.Models.ManagedInstanceVersionCapability ManagedInstanceVersionCapability (string name = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.Models.ManagedInstanceEditionCapability> supportedEditions = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.Models.InstancePoolEditionCapability> supportedInstancePoolEditions = default, Azure.ResourceManager.Sql.Models.SqlCapabilityStatus? status = default, string reason = default);
static member ManagedInstanceVersionCapability : string * seq<Azure.ResourceManager.Sql.Models.ManagedInstanceEditionCapability> * seq<Azure.ResourceManager.Sql.Models.InstancePoolEditionCapability> * Nullable<Azure.ResourceManager.Sql.Models.SqlCapabilityStatus> * string -> Azure.ResourceManager.Sql.Models.ManagedInstanceVersionCapability
Public Shared Function ManagedInstanceVersionCapability (Optional name As String = Nothing, Optional supportedEditions As IEnumerable(Of ManagedInstanceEditionCapability) = Nothing, Optional supportedInstancePoolEditions As IEnumerable(Of InstancePoolEditionCapability) = Nothing, Optional status As Nullable(Of SqlCapabilityStatus) = Nothing, Optional reason As String = Nothing) As ManagedInstanceVersionCapability
Parameters
- name
- String
The server version name.
- supportedEditions
- IEnumerable<ManagedInstanceEditionCapability>
The list of supported managed instance editions.
- supportedInstancePoolEditions
- IEnumerable<InstancePoolEditionCapability>
The list of supported instance pool editions.
- status
- Nullable<SqlCapabilityStatus>
The status of the capability.
- reason
- String
The reason for the capability not being available.
Returns
A new ManagedInstanceVersionCapability instance for mocking.