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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure PowerShell