共用方式為


WorkloadGroup Constructors

Definition

Overloads

WorkloadGroup()

Initializes a new instance of the WorkloadGroup class.

WorkloadGroup(Int32, Int32, Double, String, String, String, Nullable<Double>, String, Nullable<Int32>)

Initializes a new instance of the WorkloadGroup class.

WorkloadGroup()

Initializes a new instance of the WorkloadGroup class.

public WorkloadGroup ();
Public Sub New ()

Applies to

WorkloadGroup(Int32, Int32, Double, String, String, String, Nullable<Double>, String, Nullable<Int32>)

Initializes a new instance of the WorkloadGroup class.

public WorkloadGroup (int minResourcePercent, int maxResourcePercent, double minResourcePercentPerRequest, string id = default, string name = default, string type = default, double? maxResourcePercentPerRequest = default, string importance = default, int? queryExecutionTimeout = default);
new Microsoft.Azure.Management.Sql.Models.WorkloadGroup : int * int * double * string * string * string * Nullable<double> * string * Nullable<int> -> Microsoft.Azure.Management.Sql.Models.WorkloadGroup
Public Sub New (minResourcePercent As Integer, maxResourcePercent As Integer, minResourcePercentPerRequest As Double, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional maxResourcePercentPerRequest As Nullable(Of Double) = Nothing, Optional importance As String = Nothing, Optional queryExecutionTimeout As Nullable(Of Integer) = Nothing)

Parameters

minResourcePercent
Int32

The workload group minimum percentage resource.

maxResourcePercent
Int32

The workload group cap percentage resource.

minResourcePercentPerRequest
Double

The workload group request minimum grant percentage.

id
String

Resource ID.

name
String

Resource name.

type
String

Resource type.

maxResourcePercentPerRequest
Nullable<Double>

The workload group request maximum grant percentage.

importance
String

The workload group importance level.

queryExecutionTimeout
Nullable<Int32>

The workload group query execution timeout.

Applies to