az communication phonenumbers
Note
This reference is part of the communication extension for the Azure CLI (version 2.59.0 or higher). The extension will automatically install the first time you run an az communication phonenumbers command. Learn more about extensions.
This command group has been deprecated and will be removed in a future release. Use 'phonenumber' instead.
Commands to manage phone numbers for a Communication Service resource.
Commands
Name | Description | Type | Status |
---|---|---|---|
az communication phonenumbers list-phonenumbers |
Lists all phone numbers associated with the Communication Service resource. |
Extension | Deprecated |
az communication phonenumbers show-phonenumber |
Shows the details for a phone number associated with the Communication Service resource. |
Extension | Deprecated |
az communication phonenumbers list-phonenumbers
This command is implicitly deprecated because command group 'communication phonenumbers' is deprecated and will be removed in a future release. Use 'phonenumber' instead.
Lists all phone numbers associated with the Communication Service resource.
az communication phonenumbers list-phonenumbers [--connection-string]
Examples
List phonenumbers
az communication phonenumbers list-phonenumbers
Optional Parameters
Communication connection string. Environment variable: AZURE_COMMUNICATION_CONNECTION_STRING.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az communication phonenumbers show-phonenumber
This command is implicitly deprecated because command group 'communication phonenumbers' is deprecated and will be removed in a future release. Use 'phonenumber' instead.
Shows the details for a phone number associated with the Communication Service resource.
az communication phonenumbers show-phonenumber --phonenumber
[--connection-string]
Examples
Show phonenumber
az communication phonenumbers show-phonenumber --phonenumber "+1833xxxxxxx"
Required Parameters
Phone number to get information about.
Optional Parameters
Communication connection string. Environment variable: AZURE_COMMUNICATION_CONNECTION_STRING.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.