QueueScaleRule Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. QueueScaleRule
- com.
Implements
public final class QueueScaleRule
implements JsonSerializable<QueueScaleRule>
Container App container Azure Queue based scaling rule.
Constructor Summary
Constructor | Description |
---|---|
QueueScaleRule() |
Creates an instance of Queue |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Scale |
auth()
Get the auth property: Authentication secrets for the queue scale rule. |
static
Queue |
fromJson(JsonReader jsonReader)
Reads an instance of Queue |
Integer |
queueLength()
Get the queue |
String |
queueName()
Get the queue |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Queue |
withAuth(List<ScaleRuleAuth> auth)
Set the auth property: Authentication secrets for the queue scale rule. |
Queue |
withQueueLength(Integer queueLength)
Set the queue |
Queue |
withQueueName(String queueName)
Set the queue |
Methods inherited from java.lang.Object
Constructor Details
QueueScaleRule
public QueueScaleRule()
Creates an instance of QueueScaleRule class.
Method Details
auth
public List
Get the auth property: Authentication secrets for the queue scale rule.
Returns:
fromJson
public static QueueScaleRule fromJson(JsonReader jsonReader)
Reads an instance of QueueScaleRule from the JsonReader.
Parameters:
Returns:
Throws:
queueLength
public Integer queueLength()
Get the queueLength property: Queue length.
Returns:
queueName
public String queueName()
Get the queueName property: Queue name.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAuth
public QueueScaleRule withAuth(List
Set the auth property: Authentication secrets for the queue scale rule.
Parameters:
Returns:
withQueueLength
public QueueScaleRule withQueueLength(Integer queueLength)
Set the queueLength property: Queue length.
Parameters:
Returns:
withQueueName
public QueueScaleRule withQueueName(String queueName)
Set the queueName property: Queue name.
Parameters:
Returns:
Applies to
Azure SDK for Java