Dijeli putem


az communication phonenumber

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 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

Preview

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

--connection-string

Communication connection string. Environment variable: AZURE_COMMUNICATION_CONNECTION_STRING.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az communication phonenumber show

Preview

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

--phonenumber

Phone number to get information about.

Optional Parameters

--connection-string

Communication connection string. Environment variable: AZURE_COMMUNICATION_CONNECTION_STRING.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.