Skip to content

Commit

Permalink
Add data content type and encoding example in d2c command help (#649)
Browse files Browse the repository at this point in the history
  • Loading branch information
Elsie4ever authored Mar 29, 2023
1 parent 41dc11d commit 6c47545
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions azext_iot/_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -954,6 +954,8 @@
text: az iot device send-d2c-message -n {iothub_name} -d {device_id} --props 'key0=value0;key1=value1'
- name: Send system properties (Message Id and Correlation Id)
text: az iot device send-d2c-message -n {iothub_name} -d {device_id} --props '$.mid=<id>;$.cid=<id>'
- name: Send custom data by specifying content-type and content-encoding in system properties
text: az iot device send-d2c-message -n {iothub_name} -d {device_id} --props '$.ct=<content-type>;$.ce=<content-encoding>' --data {message_body}
"""

helps[
Expand Down

0 comments on commit 6c47545

Please sign in to comment.