要创建新的通知集线器,我需要按照我提供的链接建议使用JSON输入文件,我无法在任何地方找到示例。只需要部署即可。
答案 0 :(得分:0)
Hi Callum,
The JSON file can be in the following format. Below is the example for WNS and APNS Credential
Hub with WNS Credential
{
"Location": "South Central US",
"Tags": {
"abc": "efg"
},
"Properties": {
"WnsCredential": {
"Properties": {
"PackageSid": "ms-app://s-1-15-2-1817505189-427745171-3213743798-2985869298-800724128-1004923984-4143860699",
"SecretKey": "w7TBprR-9tJxn9mUOdK4PPHLCAzSYFhp",
"WindowsLiveEndpoint": "http://pushtestservice.cloudapp.net/LiveID/accesstoken.srf"
}
}
}
}
Hub with APNS Credential
{
"Location": "South Central US",
"Tags": {
"abc": "efg"
},
"Properties": {
"ApnsCredential": {
"Properties": {
"KeyId": "XXX",
"Token": "XXX",
"AppName": "Sample",
"AppId": "XXX",
"Endpoint":"localhost"
}
}
}
}