azure-powershell
azure-powershell copied to clipboard
Set-AzAutomationWebhook: Add parameter to set ExpiryTime
Please add -ExpiryTime parameter to Set-AzAutomationWebhook
Below is one example of HTTP GET. According to spec, it is not supported by API https://github.com/Azure/azure-rest-api-specs/blob/2b6274e2c029298c8ac17980fa2ea705f202b4b8/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/webhook.json. Need service team's confirmation.
Body:
{
"id": "/subscriptions/xxxxxx/resourceGroups/dixue/providers/Microsoft.Automation/automationAccounts/xdm-auto-account/webhooks/xdm-webhook",
"name": "xdm-webhook",
"type": "Microsoft.Automation/AutomationAccounts/Webhooks",
"properties": {
"isEnabled": false,
"expiryTime": "2020-12-07T23:33:17+08:00",
"runbook": {
"name": "AzureAutomationTutorial"
},
"lastInvokedTime": null,
"runOn": null,
"parameters": {},
"uri": "",
"creationTime": "2019-12-06T23:33:46.7015726+08:00",
"lastModifiedBy": "",
"lastModifiedTime": "2019-12-07T00:16:19.8440722+08:00"
}
}
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @zjalexander
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @zjalexander
Should be added to API and cmdlet for parity - it can be set from the portal. Will assign.
Jeff, Vikram - please assign.
Product team is aware of this issue, and unfortunately because of other priorities were not able to pick this up. Please expect an update in Q4CY20.
Currently, team is busy with other high priority items and this would be picked up in CY2021 Q1.
@ApbBeach Thanks for reporting the issue. We will look into this issue and get back to you.
@vikram-m Could you please update this thread once you get a chance?
I am following up with the engineering team regarding this issue. This thread will be updated once we have more details.
Hi,
Any updates for this? This issue was opened 5 years ago. We can update the WebHook ExpiryTime via Azure Portal but not via Azure PowerShell and I doubt that it cab be done via API