Dela via


ArmSqlModelFactory.SqlLocationCapabilities Method

Definition

Initializes a new instance of SqlLocationCapabilities.

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

Parameters

name
String

The location name.

supportedServerVersions
IEnumerable<SqlServerVersionCapability>

The list of supported server versions.

supportedManagedInstanceVersions
IEnumerable<ManagedInstanceVersionCapability>

The list of supported managed instance versions.

status
Nullable<SqlCapabilityStatus>

The status of the capability.

reason
String

The reason for the capability not being available.

Returns

A new SqlLocationCapabilities instance for mocking.

Applies to