Skip to main content

sms

Creates, updates, deletes, gets or lists a sms resource.

Overview

Namesms
TypeResource
Idazure.communication_sms.sms

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
sendexecendpoint, from, smsRecipients, messageSends a SMS message from a phone number that belongs to the authenticated account. Sends a SMS message from a phone number that belongs to the authenticated account.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
endpointstringThe service endpoint host (no scheme). (default: )

Lifecycle Methods

Sends a SMS message from a phone number that belongs to the authenticated account. Sends a SMS message from a phone number that belongs to the authenticated account.

EXEC azure.communication_sms.sms.send 
@endpoint='{{ endpoint }}' --required
@@json=
'{
"from": "{{ from }}",
"smsRecipients": "{{ smsRecipients }}",
"message": "{{ message }}",
"smsSendOptions": "{{ smsSendOptions }}"
}'
;