ArmSqlModelFactory.ReadScaleCapability Method

Definition

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

maxNumberOfReplicas
Nullable<Int32>

The maximum number of read scale replicas.

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.

Applies to