-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing debugsend and patch operation for NotificationHub resource (
#3215) * Add suppressions for linting errors. Approved by Gaurav * Add debugsend and NH patch operation * Fix build error due to missing parameterId * Fix build errors * Fix more errors * Fix build errors due to mismatch parameters * Fix error with missing parameters value for DebugSend * Change DebugSendResult from string to object * Fix DebugSend build errors
- Loading branch information
1 parent
ffb011f
commit 289cf40
Showing
5 changed files
with
233 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
...otificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubDebugSend.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"parameters": { | ||
"namespaceName": "nh-sdk-ns", | ||
"resourceGroupName": "5ktrial", | ||
"notificationHubName": "nh-sdk-hub", | ||
"api-version": "2017-04-01", | ||
"subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40", | ||
"parameters": { | ||
"data": { | ||
"message": "Hello" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/sdkresourceGroup/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/notificationHubs/nh-sdk-hub", | ||
"name": "nh-sdk-hub", | ||
"type": "Microsoft.NotificationHubs/namespaces/notificationHubs", | ||
"location": "South Central US", | ||
"tags": null, | ||
"properties": { | ||
"success": 1, | ||
"failure": 0, | ||
"results": null | ||
} | ||
} | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...ft.NotificationHubs/stable/2017-04-01/examples/NotificationHubs/NotificationHubPatch.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"parameters": { | ||
"namespaceName": "nh-sdk-ns", | ||
"resourceGroupName": "sdkresourceGroup", | ||
"notificationHubName": "sdk-notificationHubs-8708", | ||
"api-version": "2017-04-01", | ||
"subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40", | ||
"parameters": { | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/sdkresourceGroup/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/notificationHubs/nh-sdk-hub", | ||
"name": "nh-sdk-hub", | ||
"type": "Microsoft.NotificationHubs/namespaces/notificationHubs", | ||
"location": "South Central US", | ||
"tags": null, | ||
"properties": { | ||
"registrationTtl": "10675199.02:48:05.4775807", | ||
"authorizationRules": [] | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters