Freigeben über


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, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.Models.JobAgentVersionCapability> supportedJobAgentVersions = default, bool? isZoneResilientProvisioningAllowed = 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> * seq<Azure.ResourceManager.Sql.Models.JobAgentVersionCapability> * Nullable<bool> * 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 supportedJobAgentVersions As IEnumerable(Of JobAgentVersionCapability) = Nothing, Optional isZoneResilientProvisioningAllowed As Nullable(Of Boolean) = 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.

supportedJobAgentVersions
IEnumerable<JobAgentVersionCapability>

The list of supported job agent versions.

isZoneResilientProvisioningAllowed
Nullable<Boolean>

Whether or not the subscription is allowed to provision zone resilient resources.

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