New-​Azure​Rm​Autoscale​Notification

Creates an Autoscale email notification.

Syntax

New-AzureRmAutoscaleNotification
   [[-Webhooks] <WebhookNotification[]>]
   [[-CustomEmails] <String[]>]
   [-SendEmailToSubscriptionAdministrator]
   [-SendEmailToSubscriptionCoAdministrators]
   [<CommonParameters>]

Description

The New-AzureRmAutoscaleNotification cmdlet creates an email notification for Autoscale.

Examples

Example 1: Create an Autoscale email notification

PS C:\>New-AzureRmAutoscaleNotification -CustomEmails "pattif@contoso.com, davidchew@contoso.net"

This command creates an Autosacale email notification for two specified addresses.

Example 2: Create an Autoscale email notification for the subscription administrator

PS C:\>New-AzureRmAutoscaleNotification -SendEmailToSubscriptionAdministrator

This command creates an Autosacale email notification for the subscription administrator.

Optional Parameters

-CustomEmails

Specifies a comma-separated list of email addresses.

Type:String[]
Position:1
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-SendEmailToSubscriptionAdministrator

Indicates that this operation sends an email notification to the subscription administrator.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-SendEmailToSubscriptionCoAdministrators

Indicates that this operation sends an email notification to the subscription co-administrators.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Webhooks

Specifies a comma-separated list of Autoscale webhooks.

Type:WebhookNotification[]
Position:0
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False