az support tickets communications

Note

This reference is part of the support extension for the Azure CLI (version 2.0.81 or higher). The extension will automatically install the first time you run an az support tickets communications command. Learn more about extensions.

Manage support ticket communications.

Commands

Name Description Type Status
az support tickets communications create

Adds a new customer communication to an Azure support ticket.

Extension GA
az support tickets communications list

Lists all communications (attachments not included) for a support ticket.

Extension GA
az support tickets communications show

Gets communication details for a support ticket.

Extension GA

az support tickets communications create

Adds a new customer communication to an Azure support ticket.

az support tickets communications create --communication-body
                                         --communication-name
                                         --communication-subject
                                         --ticket-name
                                         [--communication-sender]

Examples

Add communication to subscription ticket.

az support tickets communications create \
  --ticket-name "TestTicketName" \
  --communication-name "TestTicketCommunicationName" \
  --communication-body "TicketCommunicationBody" \
  --communication-subject "TicketCommunicationSubject"

Required Parameters

--communication-body

Text of the communication.

--communication-name

Communication name.

--communication-subject

Subject of the communication.

--ticket-name

Support ticket name.

Optional Parameters

--communication-sender

Email address of the sender.

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 support tickets communications list

Lists all communications (attachments not included) for a support ticket.

az support tickets communications list --ticket-name
                                       [--filters]

Examples

List communications for a subscription support ticket.

az support tickets communications list --ticket-name "TestTicketName"

List web communications for a subscription support ticket.

az support tickets communications list \
  --ticket-name "TestTicketName" \
  --filters "communicationType eq 'Web'"

List web communication created on or after a specific date for a subscription support ticket.

az support tickets communications list \
  --ticket-name "TestTicketName" \
  --filters "CreatedDate ge 2020-01-01 and communicationType eq 'Web'"

Required Parameters

--ticket-name

Support ticket name.

Optional Parameters

--filters

The filter to apply on the operation. We support OData v4.0 semtantics. Filter can be specified on "CommunicationType" using eq operator or on "CreatedDate" using gt/ge. To combine both filters, use the logical and operator.

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 support tickets communications show

Gets communication details for a support ticket.

az support tickets communications show --communication-name
                                       --ticket-name

Examples

Get communication details for a subscription support ticket.

az support tickets communications show \
  --ticket-name "TestTicketName" \
  --communication-name "TestTicketCommunicationName"

Required Parameters

--communication-name

Communication name.

--ticket-name

Support ticket name.

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.