azure-powershell icon indicating copy to clipboard operation
azure-powershell copied to clipboard

Set-AzAutomationWebhook: Add parameter to set ExpiryTime

Open ApbBeach opened this issue 5 years ago • 10 comments
trafficstars

Please add -ExpiryTime parameter to Set-AzAutomationWebhook

ApbBeach avatar Dec 05 '19 17:12 ApbBeach

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"
  }
}

dingmeng-xue avatar Dec 07 '19 02:12 dingmeng-xue

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @zjalexander

ghost avatar Dec 07 '19 02:12 ghost

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @zjalexander

ghost avatar Dec 07 '19 02:12 ghost

Should be added to API and cmdlet for parity - it can be set from the portal. Will assign.

andyw248 avatar Dec 21 '19 00:12 andyw248

Jeff, Vikram - please assign.

andyw248 avatar Dec 27 '19 17:12 andyw248

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.

vikram-m avatar Aug 16 '20 12:08 vikram-m

Currently, team is busy with other high priority items and this would be picked up in CY2021 Q1.

vikram-m avatar Nov 13 '20 12:11 vikram-m

@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?

navba-MSFT avatar Jan 28 '22 11:01 navba-MSFT

I am following up with the engineering team regarding this issue. This thread will be updated once we have more details.

navba-MSFT avatar Feb 02 '22 06:02 navba-MSFT

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

Soruk avatar Aug 22 '24 12:08 Soruk