ArmSqlModelFactory.SqlLocationCapabilities 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 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.