Skip to content

NotificationHub API cannot set the registrationTtl property anymore #17899

Open
@neil-yechenwei

Description

@neil-yechenwei

After tested, seems NotificationHub API cannot set the registrationTtl property anymore.

PUT https://management.azure.com/subscriptions/xx-xx-xx-xx/resourceGroups/acctestRGpol-test012/providers/Microsoft.NotificationHubs/namespaces/acctestnhn-test012/notificationHubs/acctestnh-test013?api-version=2017-04-01

Request body:

{
    "location": "westeurope",
    "sku": {
        "name": "Free"
    },
    "properties": {
        "registrationTtl": "PT1H"
    }
}

Response:

{
  "properties": {
    "registrationTtl": "10675199.02:48:05.4775807",
    "authorizationRules": [],
    "dailyMaxActiveDevices": 0
  },
  "id": "/subscriptions/xx-xx-xx-xx/resourceGroups/acctestRGpol-test012/providers/Microsoft.NotificationHubs/namespaces/acctestnhn-test012/NotificationHubs/acctestnh-test013",
  "name": "acctestnh-test013",
  "type": "Microsoft.NotificationHubs/namespaces/notificationHubs",
  "location": "West Europe"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions