New-AzAutoscaleNotification
Creates an Autoscale email notification.
Syntaxe
Default (Výchozí)
New-AzAutoscaleNotification
[[-Webhook] <WebhookNotification[]>]
[[-CustomEmail] <String[]>]
[-SendEmailToSubscriptionAdministrator]
[-SendEmailToSubscriptionCoAdministrator]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The New-AzAutoscaleNotification cmdlet creates an email notification for Autoscale.
Příklady
Example 1: Create an Autoscale email notification
PS C:\>New-AzAutoscaleNotification -CustomEmail "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-AzAutoscaleNotification -SendEmailToSubscriptionAdministrator
This command creates an Autosacale email notification for the subscription administrator.
Parametry
-CustomEmail
Specifies a comma-separated list of email addresses.
Vlastnosti parametru
Typ: | String[] |
Default value: | None |
Podporuje zástupné znaky: | False |
DontShow: | False |
Sady parametrů
(All)
Position: | 1 |
Povinné: | False |
Hodnota z kanálu: | False |
Hodnota z kanálu podle názvu vlastnosti: | True |
Hodnota ze zbývajících argumentů: | False |
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with azure
Vlastnosti parametru
Typ: | IAzureContextContainer |
Default value: | None |
Podporuje zástupné znaky: | False |
DontShow: | False |
Aliasy: | AzContext, AzureRmContext, AzureCredential |
Sady parametrů
(All)
Position: | Named |
Povinné: | False |
Hodnota z kanálu: | False |
Hodnota z kanálu podle názvu vlastnosti: | False |
Hodnota ze zbývajících argumentů: | False |
-SendEmailToSubscriptionAdministrator
Indicates that this operation sends an email notification to the subscription administrator.
Vlastnosti parametru
Typ: | SwitchParameter |
Default value: | None |
Podporuje zástupné znaky: | False |
DontShow: | False |
Sady parametrů
(All)
Position: | Named |
Povinné: | False |
Hodnota z kanálu: | False |
Hodnota z kanálu podle názvu vlastnosti: | True |
Hodnota ze zbývajících argumentů: | False |
-SendEmailToSubscriptionCoAdministrator
Indicates that this operation sends an email notification to the subscription co-administrators.
Vlastnosti parametru
Typ: | SwitchParameter |
Default value: | None |
Podporuje zástupné znaky: | False |
DontShow: | False |
Sady parametrů
(All)
Position: | Named |
Povinné: | False |
Hodnota z kanálu: | False |
Hodnota z kanálu podle názvu vlastnosti: | True |
Hodnota ze zbývajících argumentů: | False |
-Webhook
Specifies a comma-separated list of Autoscale webhooks.
Vlastnosti parametru
Typ: | |
Default value: | None |
Podporuje zástupné znaky: | False |
DontShow: | False |
Sady parametrů
(All)
Position: | 0 |
Povinné: | False |
Hodnota z kanálu: | False |
Hodnota z kanálu podle názvu vlastnosti: | True |
Hodnota ze zbývajících argumentů: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.