external help file | Module Name | online version | schema |
---|---|---|---|
Az.ActionGroup.psm1-help.xml |
Az.Monitor |
2.0.0 |
Create an in-memory object for SmsReceiver.
New-AzActionGroupSmsReceiverObject -CountryCode <String> -Name <String> -PhoneNumber <String>
[<CommonParameters>]
Create an in-memory object for SmsReceiver.
New-AzActionGroupSmsReceiverObject -CountryCode 86 -Name user1 -PhoneNumber '01234567890'
CountryCode Name PhoneNumber Status
----------- ---- ----------- ------
86 user1 01234567890
This command creates action group sms receiver object.
The country code of the SMS receiver.
Type: System.String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The name of the SMS receiver. Names must be unique across all receivers within an action group.
Type: System.String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The phone number of the SMS receiver.
Type: System.String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.