すべてのプロダクト
Search
ドキュメントセンター

CloudOps Orchestration Service:ACS::Notify::DingTalkWebhook

最終更新日:Jan 17, 2025

説明

Webhook URL を使用して DingTalk に通知を送信します。詳細については、「アプリケーションタイプ」をご参照ください。

構文

Action: ACS::Notify::DingTalkWebhook
Properties:
 webhook: String
 msgtype: String
 text: Json
 link: Json
 markdown: Json
 at: Json

属性

属性

説明

タイプ

必須

デフォルト値

制限

webhook

DingTalk の Webhook URL。

String

はい

msgtype

メッセージタイプ。

String

いいえ

text

text

テキストタイプのメッセージの内容。 msgtype 属性が text に設定されている場合、この属性は必須です。

Json

いいえ

{'content': 'I am what I am. I am fireworks of a different color.'}

link

リンクタイプのメッセージの内容。 msgtype 属性が link に設定されている場合、この属性は必須です。

Json

いいえ

{'text': 'This is a link message.', 'title': 'This is a link message.', 'picUrl': 'https://img.alicdn.com/tfs/TB1NwmBEL9TBuNjy1zbXXXpepXa-2400-1218.png

', 'messageUrl': 'https://open.dingtalk.com/document/

'}

markdown

Markdown タイプのメッセージの内容。 msgtype 属性が markdown に設定されている場合、この属性は必須です。

Json

いいえ

{'title': 'Hangzhou weather', 'text': '#### Hangzhou weather \n> 9 degrees. Northwest wind: level 1. Air quality index (AQI): 89. Relative temperature: 73%\n> \n> ###### The weather was released at 10:20.

\n'}

at

通知されるユーザー。

Json

いいえ

{'atMobiles': ['150XXXXXXXX'], 'atUserIds': ['user123'], 'isAtAll': False}

出力

なし

参照

詳細については、GitHub の ACS::Notify::DingTalkWebhook.yml をご参照ください。