Dela via


ArmSqlModelFactory.ManagedInstanceVersionCapability Method

Definition

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.

Applies to