Skip to content

How can I get/build the an App Service's web hook URL? #3352

Discussion options

You must be logged in to vote

Okay after all of that, list* does work here.

You should be able to use the following to retrieve the scmuri via list.

resource publishingcreds 'Microsoft.Web/sites/config@2021-01-01' existing = {
  name: 'myWebSite/publishingcredentials'
}

output scmuri string = list(publishingcreds.id,'2021-01-01').properties.scmUri

You can then use that to add the webhook in the ACR .. via the serviceURI.

https://docs.microsoft.com/en-us/azure/templates/microsoft.containerregistry/2020-11-01-preview/registries/webhooks?tabs=bicep

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
8 replies
@matthiasguentert
Comment options

@matthiasguentert
Comment options

@brwilkinson
Comment options

@brwilkinson
Comment options

@brwilkinson
Comment options

Comment options

You must be logged in to vote
1 reply
@matthiasguentert
Comment options

Answer selected by alex-frankel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants