New-AzActionGroupVoiceReceiverObject
Create an in-memory object for VoiceReceiver.
Syntax
New-AzActionGroupVoiceReceiverObject
-CountryCode <String>
-Name <String>
-PhoneNumber <String>
[<CommonParameters>]
Description
Create an in-memory object for VoiceReceiver.
Examples
Example 1: create action group voice receiver
New-AzActionGroupVoiceReceiverObject -CountryCode 86 -Name "sample voice" -PhoneNumber 01234567890
CountryCode Name PhoneNumber
----------- ---- -----------
86 sample voice 01234567890
This command creates action group voice receiver object.
Parameters
-CountryCode
The country code of the voice receiver.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
The name of the voice receiver. Names must be unique across all receivers within an action group.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PhoneNumber
The phone number of the voice receiver.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure PowerShell