Open
Description
API Spec link
API Spec version
2023-09-01
Describe the bug
I tried to set registrationTtl while creating/updating Notification Hub but this property doesn't take effect.
request payload:
PUT https://management.azure.com/subscriptions/xxxxxxx/resourceGroups/acctestRGpol-250325143111879778/providers/Microsoft.NotificationHubs/namespaces/acctestnhn-250325143111879778/notificationHubs/acctestnh-250325143111879778
{
"location": "eastus",
"properties": {
"name": "acctestnh-250325143111879778",
"registrationTtl": "P90D"
}
}
API response:
{
"id": "/subscriptions/xxxxxx/resourceGroups/acctestRGpol-250325143111879778/providers/Microsoft.NotificationHubs/namespaces/acctestnhn-250325143111879778/NotificationHubs/acctestnh-250325143111879778",
"location": "East US",
"name": "acctestnh-250325143111879778",
"registrationTtl": "10675199.02:48:05.4775807",
"resourceGroup": "acctestRGpol-250325143111879778",
"type": "Microsoft.NotificationHubs/namespaces/notificationHubs"
}
Expected behavior
The registraionTtl property should be set with the specified value.
Actual behavior
The registraionTtl doesn't take effect and it always returns "10675199.02:48:05.4775807".
Reproduction Steps
- Create resource group
- Create notification hub namespace
- Create notification hub with "registrationTtl=P39D"
Environment
PROD