Class AutoscaleNotification
java.lang.Object
com.microsoft.azure.management.monitor.AutoscaleNotification
Autoscale notification.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionemail()
Get the email notification.Get the operation associated with the notification and its value must be "scale".webhooks()
Get the collection of webhook notifications.withEmail
(EmailNotification email) Set the email notification.withOperation
(String operation) Set the operation associated with the notification and its value must be "scale".withWebhooks
(List<WebhookNotification> webhooks) Set the collection of webhook notifications.
-
Constructor Details
-
AutoscaleNotification
public AutoscaleNotification()Creates an instance of AutoscaleNotification class.
-
-
Method Details
-
operation
Get the operation associated with the notification and its value must be "scale".- Returns:
- the operation value
-
withOperation
Set the operation associated with the notification and its value must be "scale".- Parameters:
operation
- the operation value to set- Returns:
- the AutoscaleNotification object itself.
-
email
Get the email notification.- Returns:
- the email value
-
withEmail
Set the email notification.- Parameters:
email
- the email value to set- Returns:
- the AutoscaleNotification object itself.
-
webhooks
Get the collection of webhook notifications.- Returns:
- the webhooks value
-
withWebhooks
Set the collection of webhook notifications.- Parameters:
webhooks
- the webhooks value to set- Returns:
- the AutoscaleNotification object itself.
-