共用方式為


LocationCapabilities Constructors

Definition

Overloads

LocationCapabilities()

Initializes a new instance of the LocationCapabilities class.

LocationCapabilities(String, IList<ServerVersionCapability>, IList<ManagedInstanceVersionCapability>, Nullable<CapabilityStatus>, String)

Initializes a new instance of the LocationCapabilities class.

LocationCapabilities()

Initializes a new instance of the LocationCapabilities class.

public LocationCapabilities ();
Public Sub New ()

Applies to

LocationCapabilities(String, IList<ServerVersionCapability>, IList<ManagedInstanceVersionCapability>, Nullable<CapabilityStatus>, String)

Initializes a new instance of the LocationCapabilities class.

public LocationCapabilities (string name = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Sql.Models.ServerVersionCapability> supportedServerVersions = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Sql.Models.ManagedInstanceVersionCapability> supportedManagedInstanceVersions = default, Microsoft.Azure.Management.Sql.Models.CapabilityStatus? status = default, string reason = default);
new Microsoft.Azure.Management.Sql.Models.LocationCapabilities : string * System.Collections.Generic.IList<Microsoft.Azure.Management.Sql.Models.ServerVersionCapability> * System.Collections.Generic.IList<Microsoft.Azure.Management.Sql.Models.ManagedInstanceVersionCapability> * Nullable<Microsoft.Azure.Management.Sql.Models.CapabilityStatus> * string -> Microsoft.Azure.Management.Sql.Models.LocationCapabilities
Public Sub New (Optional name As String = Nothing, Optional supportedServerVersions As IList(Of ServerVersionCapability) = Nothing, Optional supportedManagedInstanceVersions As IList(Of ManagedInstanceVersionCapability) = Nothing, Optional status As Nullable(Of CapabilityStatus) = Nothing, Optional reason As String = Nothing)

Parameters

name
String

The location name.

supportedServerVersions
IList<ServerVersionCapability>

The list of supported server versions.

supportedManagedInstanceVersions
IList<ManagedInstanceVersionCapability>

The list of supported managed instance versions.

status
Nullable<CapabilityStatus>

The status of the capability. Possible values include: 'Visible', 'Available', 'Default', 'Disabled'

reason
String

The reason for the capability not being available.

Applies to