CommunicationsNoSubscription interface

Interface representing a CommunicationsNoSubscription.

Methods

beginCreate(string, string, CommunicationDetails, CommunicationsNoSubscriptionCreateOptionalParams)

Adds a new customer communication to an Azure support ticket.

beginCreateAndWait(string, string, CommunicationDetails, CommunicationsNoSubscriptionCreateOptionalParams)

Adds a new customer communication to an Azure support ticket.

checkNameAvailability(string, CheckNameAvailabilityInput, CommunicationsNoSubscriptionCheckNameAvailabilityOptionalParams)

Check the availability of a resource name. This API should be used to check the uniqueness of the name for adding a new communication to the support ticket.

get(string, string, CommunicationsNoSubscriptionGetOptionalParams)

Returns communication details for a support ticket.

list(string, CommunicationsNoSubscriptionListOptionalParams)

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

You can also filter support ticket communications by CreatedDate or CommunicationType using the $filter parameter. The only type of communication supported today is Web. Output will be a paged result with nextLink, using which you can retrieve the next set of Communication results.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.

Method Details

beginCreate(string, string, CommunicationDetails, CommunicationsNoSubscriptionCreateOptionalParams)

Adds a new customer communication to an Azure support ticket.

function beginCreate(supportTicketName: string, communicationName: string, createCommunicationParameters: CommunicationDetails, options?: CommunicationsNoSubscriptionCreateOptionalParams): Promise<SimplePollerLike<OperationState<CommunicationDetails>, CommunicationDetails>>

Parameters

supportTicketName

string

Support ticket name.

communicationName

string

Communication name.

createCommunicationParameters
CommunicationDetails

Communication object.

options
CommunicationsNoSubscriptionCreateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<CommunicationDetails>, CommunicationDetails>>

beginCreateAndWait(string, string, CommunicationDetails, CommunicationsNoSubscriptionCreateOptionalParams)

Adds a new customer communication to an Azure support ticket.

function beginCreateAndWait(supportTicketName: string, communicationName: string, createCommunicationParameters: CommunicationDetails, options?: CommunicationsNoSubscriptionCreateOptionalParams): Promise<CommunicationDetails>

Parameters

supportTicketName

string

Support ticket name.

communicationName

string

Communication name.

createCommunicationParameters
CommunicationDetails

Communication object.

options
CommunicationsNoSubscriptionCreateOptionalParams

The options parameters.

Returns

checkNameAvailability(string, CheckNameAvailabilityInput, CommunicationsNoSubscriptionCheckNameAvailabilityOptionalParams)

Check the availability of a resource name. This API should be used to check the uniqueness of the name for adding a new communication to the support ticket.

function checkNameAvailability(supportTicketName: string, checkNameAvailabilityInput: CheckNameAvailabilityInput, options?: CommunicationsNoSubscriptionCheckNameAvailabilityOptionalParams): Promise<CheckNameAvailabilityOutput>

Parameters

supportTicketName

string

Support ticket name.

checkNameAvailabilityInput
CheckNameAvailabilityInput

Input to check.

Returns

get(string, string, CommunicationsNoSubscriptionGetOptionalParams)

Returns communication details for a support ticket.

function get(supportTicketName: string, communicationName: string, options?: CommunicationsNoSubscriptionGetOptionalParams): Promise<CommunicationDetails>

Parameters

supportTicketName

string

Support ticket name.

communicationName

string

Communication name.

options
CommunicationsNoSubscriptionGetOptionalParams

The options parameters.

Returns

list(string, CommunicationsNoSubscriptionListOptionalParams)

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

You can also filter support ticket communications by CreatedDate or CommunicationType using the $filter parameter. The only type of communication supported today is Web. Output will be a paged result with nextLink, using which you can retrieve the next set of Communication results.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.

function list(supportTicketName: string, options?: CommunicationsNoSubscriptionListOptionalParams): PagedAsyncIterableIterator<CommunicationDetails, CommunicationDetails[], PageSettings>

Parameters

supportTicketName

string

Support ticket name

options
CommunicationsNoSubscriptionListOptionalParams

The options parameters.

Returns