az communication phonenumber
Note
This reference is part of the communication extension for the Azure CLI (version 2.67.0 or higher). The extension will automatically install the first time you run an az communication phonenumber command. Learn more about extensions.
This command group is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Commands to manage phone numbers for a Communication Service resource.
Commands
| Name | Description | Type | Status |
|---|---|---|---|
| az communication phonenumber list |
Lists all phone numbers associated with the Communication Service resource. |
Extension | Preview |
| az communication phonenumber show |
Shows the details for a phone number associated with the Communication Service resource. |
Extension | Preview |
az communication phonenumber list
Command group 'communication phonenumber' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Lists all phone numbers associated with the Communication Service resource.
az communication phonenumber list [--connection-string]
Examples
List phonenumbers
az communication phonenumber list
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Communication connection string. Environment variable: AZURE_COMMUNICATION_CONNECTION_STRING.
| Property | Value |
|---|---|
| Parameter group: | Communication Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
| Property | Value |
|---|---|
| Default value: | False |
az communication phonenumber show
Command group 'communication phonenumber' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Shows the details for a phone number associated with the Communication Service resource.
az communication phonenumber show --phonenumber
[--connection-string]
Examples
Show phonenumber
az communication phonenumber show --phonenumber "+1833xxxxxxx"
Required Parameters
Phone number to get information about.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Communication connection string. Environment variable: AZURE_COMMUNICATION_CONNECTION_STRING.
| Property | Value |
|---|---|
| Parameter group: | Communication Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
| Property | Value |
|---|---|
| Default value: | False |