sms
Creates, updates, deletes, gets or lists a sms resource.
Overview
| Name | sms |
| Type | Resource |
| Id | azure.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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
send | exec | endpoint, from, smsRecipients, message | 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. |
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.
| Name | Datatype | Description |
|---|---|---|
endpoint | string | The service endpoint host (no scheme). (default: ) |
Lifecycle Methods
- send
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 }}"
}'
;