Skip to content

Commit

Permalink
Updated the PNS Credential to the Resource (#465)
Browse files Browse the repository at this point in the history
* Typo fix and removing if-match

* NH : New api version to make SAS keys optional

* NH : New api version to make SAS keys optional

* NH : Incorportated the comments

* Adding Kind property to the resource

* NH : updated the PNS Credentials class
  • Loading branch information
SmithaB authored and amarzavery committed Aug 12, 2016
1 parent 8c0d4ff commit d2ec62b
Showing 1 changed file with 49 additions and 6 deletions.
55 changes: 49 additions & 6 deletions arm-notificationhubs/2016-03-01/swagger/notificationhubs.json
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/AuthorizationRules": {
"post": {
"get": {
"tags": [
"Namespaces"
],
Expand Down Expand Up @@ -982,7 +982,7 @@
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/AuthorizationRules": {
"post": {
"get": {
"tags": [
"NotificationHubs"
],
Expand Down Expand Up @@ -1191,7 +1191,7 @@
"200": {
"description": "Gets all the NotificationHub PNS credentials",
"schema": {
"$ref": "#/definitions/NotificationHubResource"
"$ref": "#/definitions/PnsCredentialsResource"
}
}
}
Expand Down Expand Up @@ -1306,8 +1306,7 @@
}
},
"required": [
"location",
"properties"
"location"
],
"allOf": [
{
Expand Down Expand Up @@ -1444,7 +1443,7 @@
},
"PolicykeyResource": {
"properties": {
"Policykey": {
"policyKey": {
"type": "string",
"description": "Name of the key that has to be regenerated for the Namespace/Notification Hub Authorization Rule. The value can be Primary Key/Secondary Key."
}
Expand Down Expand Up @@ -1691,6 +1690,50 @@
],
"description": "Description of a NotificationHub Resource."
},
"PnsCredentialsResource": {
"properties": {
"properties": {
"x-ms-client-flatten": true,
"$ref": "#/definitions/PnsCredentialsProperties",
"description": "NotificationHub PNS Credentials."
}
},
"allOf": [
{
"$ref": "#/definitions/Resource"
}
],
"description": "Description of a NotificationHub PNS Credentials."
},
"PnsCredentialsProperties": {
"properties": {
"apnsCredential": {
"$ref": "#/definitions/ApnsCredential",
"description": "The ApnsCredential of the created NotificationHub"
},
"wnsCredential": {
"$ref": "#/definitions/WnsCredential",
"description": "The WnsCredential of the created NotificationHub"
},
"gcmCredential": {
"$ref": "#/definitions/GcmCredential",
"description": "The GcmCredential of the created NotificationHub"
},
"mpnsCredential": {
"$ref": "#/definitions/MpnsCredential",
"description": "The MpnsCredential of the created NotificationHub"
},
"admCredential": {
"$ref": "#/definitions/AdmCredential",
"description": "The AdmCredential of the created NotificationHub"
},
"baiduCredential": {
"$ref": "#/definitions/BaiduCredential",
"description": "The BaiduCredential of the created NotificationHub"
}
},
"description": "Description of a NotificationHub PNS Credentials."
},
"NotificationHubListResult": {
"properties": {
"value": {
Expand Down

0 comments on commit d2ec62b

Please sign in to comment.