Class QueueScaleRule
java.lang.Object
com.azure.resourcemanager.appservice.models.QueueScaleRule
Container App container Azure Queue based scaling rule.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionauth()
Get the auth property: Authentication secrets for the queue scale rule.Get the queueLength property: Queue length.Get the queueName property: Queue name.void
validate()
Validates the instance.withAuth
(List<ScaleRuleAuth> auth) Set the auth property: Authentication secrets for the queue scale rule.withQueueLength
(Integer queueLength) Set the queueLength property: Queue length.withQueueName
(String queueName) Set the queueName property: Queue name.
-
Constructor Details
-
QueueScaleRule
public QueueScaleRule()
-
-
Method Details
-
queueName
Get the queueName property: Queue name.- Returns:
- the queueName value.
-
withQueueName
Set the queueName property: Queue name.- Parameters:
queueName
- the queueName value to set.- Returns:
- the QueueScaleRule object itself.
-
queueLength
Get the queueLength property: Queue length.- Returns:
- the queueLength value.
-
withQueueLength
Set the queueLength property: Queue length.- Parameters:
queueLength
- the queueLength value to set.- Returns:
- the QueueScaleRule object itself.
-
auth
Get the auth property: Authentication secrets for the queue scale rule.- Returns:
- the auth value.
-
withAuth
Set the auth property: Authentication secrets for the queue scale rule.- Parameters:
auth
- the auth value to set.- Returns:
- the QueueScaleRule object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-