|
|
@ -550,8 +550,9 @@ class AzureRMAutoScale(AzureRMModuleBase):
|
|
|
|
schedule=(RecurrentSchedule(time_zone=p.get('recurrence_timezone'),
|
|
|
|
schedule=(RecurrentSchedule(time_zone=p.get('recurrence_timezone'),
|
|
|
|
days=p.get('recurrence_days'),
|
|
|
|
days=p.get('recurrence_days'),
|
|
|
|
hours=p.get('recurrence_hours'),
|
|
|
|
hours=p.get('recurrence_hours'),
|
|
|
|
minutes=p.get('recurrence_mins')))
|
|
|
|
minutes=p.get('recurrence_mins'))))
|
|
|
|
if p.get('recurrence_frequency') else None)) for p in self.profiles or []]
|
|
|
|
if p.get('recurrence_frequency') and p['recurrence_frequency'] != 'None' else None)
|
|
|
|
|
|
|
|
for p in self.profiles or []]
|
|
|
|
|
|
|
|
|
|
|
|
notifications = [AutoscaleNotification(email=EmailNotification(**n),
|
|
|
|
notifications = [AutoscaleNotification(email=EmailNotification(**n),
|
|
|
|
webhooks=[WebhookNotification(service_uri=w) for w in n.get('webhooks') or []])
|
|
|
|
webhooks=[WebhookNotification(service_uri=w) for w in n.get('webhooks') or []])
|
|
|
|