< Back

New-AzureRmAutoscaleNotification

Tue Jan 29, 2019 9:49 pm

NAME New-AzureRmAutoscaleNotification



SYNOPSIS

Creates an Autoscale email notification.





SYNTAX

New-AzureRmAutoscaleNotification [[-Webhook] <WebhookNotification[]>] [[-CustomEmail] <String[]>] [-DefaultProfile <IAzureContextContainer>]

[-SendEmailToSubscriptionAdministrator] [-SendEmailToSubscriptionCoAdministrator] [<CommonParameters>]





DESCRIPTION

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





PARAMETERS

-CustomEmail <String[]>

Specifies a comma-separated list of email addresses.



Required? false

Position? 1

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-SendEmailToSubscriptionAdministrator [<SwitchParameter>]

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



Required? false

Position? named

Default value False

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-SendEmailToSubscriptionCoAdministrator [<SwitchParameter>]

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



Required? false

Position? named

Default value False

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Webhook <WebhookNotification[]>

Specifies a comma-separated list of Autoscale webhooks.



Required? false

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None

This cmdlet does not accept any input.





OUTPUTS

Microsoft.Azure.Management.Monitor.Management.Models.AutoscaleNotification







NOTES









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.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... tification

New-AzureRmAutoscaleWebhook