ArmSqlModelFactory.ReadScaleCapability 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 ReadScaleCapability.
public static Azure.ResourceManager.Sql.Models.ReadScaleCapability ReadScaleCapability (int? maxNumberOfReplicas = default, Azure.ResourceManager.Sql.Models.SqlCapabilityStatus? status = default, string reason = default);
static member ReadScaleCapability : Nullable<int> * Nullable<Azure.ResourceManager.Sql.Models.SqlCapabilityStatus> * string -> Azure.ResourceManager.Sql.Models.ReadScaleCapability
Public Shared Function ReadScaleCapability (Optional maxNumberOfReplicas As Nullable(Of Integer) = Nothing, Optional status As Nullable(Of SqlCapabilityStatus) = Nothing, Optional reason As String = Nothing) As ReadScaleCapability
Parameters
- status
- Nullable<SqlCapabilityStatus>
The status of the capability.
- reason
- String
The reason for the capability not being available.
Returns
A new ReadScaleCapability instance for mocking.