resources.webhooks.webhook definition | Microsoft Learn

A webhook resource enables you to integrate your pipeline with an external service to automate the workflow.

webhooks:
- webhook: string # Required as first property. Name of the webhook.  ([-_A-Za-z0-9]*)
  connection: string # Required. Name of the connection. In case of offline webhook this will be the type of Incoming Webhook otherwise it will be the type of the webhook extension.. 
  type: string # Name of the webhook extension. leave this empty if its offline webhook.. 
  filters: [ path ]

Properties that use this definition: resources.webhooks

Properties

string


Required as first parameter. Name of the webhook. Acceptable values: [_A-Za-z0-9]*


string


Required. Name of the connection. In case of offline webhook this will be the type of Incoming Webhook otherwise it will be the type of the webhook extension.


string


Name of the webhook extension. leave this empty if its offline webhook.



webhooks:
- webhook: string # Required as first property. Name of the webhook.  ([-_A-Za-z0-9]*)
  connection: string # Required. Name of the connection. In case of offline webhook this will be the type of Incoming Webhook otherwise it will be the type of the webhook extension.. 
  type: string # Name of the webhook extension. leave this empty if its offline webhook.. 
  filters: [ path ]

Properties that use this definition: resources.webhooks

Properties

string


Required as first parameter. Name of the webhook. Acceptable values: [-_A-Za-z0-9]*


string


Required. Name of the connection. In case of offline webhook this will be the type of Incoming Webhook otherwise it will be the type of the webhook extension.


string


Name of the webhook extension. leave this empty if its offline webhook.



webhooks:
- webhook: string # Required as first property. Name of the webhook.  ([-_A-Za-z0-9]*)
  connection: string # Required. Name of the connection. In case of offline webhook this will be the type of Incoming Webhook otherwise it will be the type of the webhook extension.. 
  type: string # Name of the webhook extension. leave this empty if its offline webhook.. 
  filters: [ path ]

Properties that use this definition: resources.webhooks

Properties

string


Required as first parameter. Name of the webhook. Acceptable values: [-_A-Za-z0-9]*


string


Required. Name of the connection. In case of offline webhook this will be the type of Incoming Webhook otherwise it will be the type of the webhook extension.


string


Name of the webhook extension. leave this empty if its offline webhook.




See also

Source Article