diff --git a/Commands/notification-hub/_check-availability.md b/Commands/notification-hub/_check-availability.md new file mode 100644 index 000000000..4c22809b5 --- /dev/null +++ b/Commands/notification-hub/_check-availability.md @@ -0,0 +1,16 @@ +# [Command] _notification-hub check-availability_ + +Checks the availability of the given notification hub in a namespace. + +## Versions + +### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vY2hlY2tub3RpZmljYXRpb25odWJhdmFpbGFiaWxpdHk=/2017-04-01.xml) **Experimental** + + + +#### examples + +- Check the availability of the given notification hub name + ```bash + notification-hub check-availability --resource-group MyResourceGroup --namespace-name "locp-newns" --name my-hub + ``` diff --git a/Commands/notification-hub/_create.md b/Commands/notification-hub/_create.md new file mode 100644 index 000000000..93c07d766 --- /dev/null +++ b/Commands/notification-hub/_create.md @@ -0,0 +1,16 @@ +# [Command] _notification-hub create_ + +Create a notification hub in a namespace. + +## Versions + +### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fQ==/2017-04-01.xml) **Experimental** + + + +#### examples + +- Create a notification hub + ```bash + notification-hub create --resource-group MyResourceGroup --namespace-name my-namespace --name my-hub --location "South Central US" + ``` diff --git a/Commands/notification-hub/_delete.md b/Commands/notification-hub/_delete.md new file mode 100644 index 000000000..6c8467338 --- /dev/null +++ b/Commands/notification-hub/_delete.md @@ -0,0 +1,16 @@ +# [Command] _notification-hub delete_ + +Delete a notification hub associated with a namespace. + +## Versions + +### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fQ==/2017-04-01.xml) **Experimental** + + + +#### examples + +- Delete a notification hub + ```bash + notification-hub delete --resource-group MyResourceGroup --namespace-name my-namespace --name my-hub + ``` diff --git a/Commands/notification-hub/_list.md b/Commands/notification-hub/_list.md new file mode 100644 index 000000000..85be903e9 --- /dev/null +++ b/Commands/notification-hub/_list.md @@ -0,0 +1,16 @@ +# [Command] _notification-hub list_ + +List the notification hubs associated with a namespace. + +## Versions + +### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicw==/2017-04-01.xml) **Experimental** + + + +#### examples + +- List the notification hubs + ```bash + notification-hub list --resource-group MyResourceGroup --namespace-name my-namespace + ``` diff --git a/Commands/notification-hub/_show.md b/Commands/notification-hub/_show.md new file mode 100644 index 000000000..fe9c1497d --- /dev/null +++ b/Commands/notification-hub/_show.md @@ -0,0 +1,9 @@ +# [Command] _notification-hub show_ + +Show the notification hub information. + +## Versions + +### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fQ==/2017-04-01.xml) **Experimental** + + diff --git a/Commands/notification-hub/_test-send.md b/Commands/notification-hub/_test-send.md new file mode 100644 index 000000000..8edd5b7e4 --- /dev/null +++ b/Commands/notification-hub/_test-send.md @@ -0,0 +1,16 @@ +# [Command] _notification-hub test-send_ + +Test send a push notification. + +## Versions + +### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fS9kZWJ1Z3NlbmQ=/2017-04-01.xml) **Experimental** + + + +#### examples + +- Test send notification + ```bash + notification-hub test-send --resource-group MyResourceGroup --namespace-name my-namespace --notification-hub-name my-hub + ``` diff --git a/Commands/notification-hub/_update.md b/Commands/notification-hub/_update.md new file mode 100644 index 000000000..d9ec787a9 --- /dev/null +++ b/Commands/notification-hub/_update.md @@ -0,0 +1,16 @@ +# [Command] _notification-hub update_ + +Update a notification hub in a namespace. + +## Versions + +### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fQ==/2017-04-01.xml) **Experimental** + + + +#### examples + +- Update the notification hub + ```bash + notification-hub update --resource-group MyResourceGroup --namespace-name my-namespace --name "sdk-notificationHubs-8708" + ``` diff --git a/Commands/notification-hub/authorization-rule/_create.md b/Commands/notification-hub/authorization-rule/_create.md new file mode 100644 index 000000000..a7d153d95 --- /dev/null +++ b/Commands/notification-hub/authorization-rule/_create.md @@ -0,0 +1,16 @@ +# [Command] _notification-hub authorization-rule create_ + +Create an authorization rule for a notification hub. + +## Versions + +### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fS9hdXRob3JpemF0aW9ucnVsZXMve30=/2017-04-01.xml) **Experimental** + + + +#### examples + +- Create an authorization rule + ```bash + notification-hub authorization-rule create --resource-group MyResourceGroup --namespace-name my-namespace --notification-hub-name my-hub --name DefaultListenSharedAccessSignature --rights Listen Send + ``` diff --git a/Commands/notification-hub/authorization-rule/_delete.md b/Commands/notification-hub/authorization-rule/_delete.md new file mode 100644 index 000000000..5ac647b77 --- /dev/null +++ b/Commands/notification-hub/authorization-rule/_delete.md @@ -0,0 +1,16 @@ +# [Command] _notification-hub authorization-rule delete_ + +Delete a notificationHub authorization rule. + +## Versions + +### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fS9hdXRob3JpemF0aW9ucnVsZXMve30=/2017-04-01.xml) **Experimental** + + + +#### examples + +- Delete a notificationHub authorization rule + ```bash + notification-hub authorization-rule delete --resource-group MyResourceGroup --namespace-name my-namespace --notification-hub-name my-hub --name DefaultListenSharedAccessSignature + ``` diff --git a/Commands/notification-hub/authorization-rule/_list-keys.md b/Commands/notification-hub/authorization-rule/_list-keys.md new file mode 100644 index 000000000..9eecf7a3b --- /dev/null +++ b/Commands/notification-hub/authorization-rule/_list-keys.md @@ -0,0 +1,16 @@ +# [Command] _notification-hub authorization-rule list-keys_ + +List the primary and secondary connection strings to the notification hub. + +## Versions + +### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fS9hdXRob3JpemF0aW9ucnVsZXMve30vbGlzdGtleXM=/2017-04-01.xml) **Experimental** + + + +#### examples + +- List connection strings of the authorization rule + ```bash + notification-hub authorization-rule list-keys --resource-group MyResourceGroup --namespace-name my-namespace --notification-hub-name my-hub --name "sdk-AuthRules-5800" + ``` diff --git a/Commands/notification-hub/authorization-rule/_list.md b/Commands/notification-hub/authorization-rule/_list.md new file mode 100644 index 000000000..7e9f8420f --- /dev/null +++ b/Commands/notification-hub/authorization-rule/_list.md @@ -0,0 +1,16 @@ +# [Command] _notification-hub authorization-rule list_ + +List the authorization rules for a notification hub. + +## Versions + +### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fS9hdXRob3JpemF0aW9ucnVsZXM=/2017-04-01.xml) **Experimental** + + + +#### examples + +- List the authorization rules for a notification hub. + ```bash + notification-hub authorization-rule list --resource-group MyResourceGroup --namespace-name my-namespace --notification-hub-name my-hub + ``` diff --git a/Commands/notification-hub/authorization-rule/_regenerate-keys.md b/Commands/notification-hub/authorization-rule/_regenerate-keys.md new file mode 100644 index 000000000..d4c73fc08 --- /dev/null +++ b/Commands/notification-hub/authorization-rule/_regenerate-keys.md @@ -0,0 +1,16 @@ +# [Command] _notification-hub authorization-rule regenerate-keys_ + +Regenerates the primary/secondary keys to the notification hub authorization rule. + +## Versions + +### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fS9hdXRob3JpemF0aW9ucnVsZXMve30vcmVnZW5lcmF0ZWtleXM=/2017-04-01.xml) **Experimental** + + + +#### examples + +- Regenerate the notification hub authorization rule + ```bash + notification-hub authorization-rule regenerate-keys --resource-group MyResourceGroup --namespace-name my-namespace --notification-hub-name my-hub --name DefaultListenSharedAccessSignature --policy-key "Secondary Key" + ``` diff --git a/Commands/notification-hub/authorization-rule/_show.md b/Commands/notification-hub/authorization-rule/_show.md new file mode 100644 index 000000000..0a958df28 --- /dev/null +++ b/Commands/notification-hub/authorization-rule/_show.md @@ -0,0 +1,16 @@ +# [Command] _notification-hub authorization-rule show_ + +Show an authorization rule for a notification hub by name. + +## Versions + +### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fS9hdXRob3JpemF0aW9ucnVsZXMve30=/2017-04-01.xml) **Experimental** + + + +#### examples + +- Show the authorization rule information + ```bash + notification-hub authorization-rule show --resource-group MyResourceGroup --namespace-name my-namespace --notification-hub-name my-hub --name DefaultListenSharedAccessSignature + ``` diff --git a/Commands/notification-hub/authorization-rule/_update.md b/Commands/notification-hub/authorization-rule/_update.md new file mode 100644 index 000000000..15a26f5cd --- /dev/null +++ b/Commands/notification-hub/authorization-rule/_update.md @@ -0,0 +1,9 @@ +# [Command] _notification-hub authorization-rule update_ + +Update an authorization rule for a notification hub. + +## Versions + +### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fS9hdXRob3JpemF0aW9ucnVsZXMve30=/2017-04-01.xml) **Experimental** + + diff --git a/Commands/notification-hub/authorization-rule/readme.md b/Commands/notification-hub/authorization-rule/readme.md new file mode 100644 index 000000000..2396dadb0 --- /dev/null +++ b/Commands/notification-hub/authorization-rule/readme.md @@ -0,0 +1,26 @@ +# [Group] _notification-hub authorization-rule_ + +Commands to manage notification hubs authorization rule. + +## Commands + +- [create](/Commands/notification-hub/authorization-rule/_create.md) +: Create an authorization rule for a notification hub. + +- [delete](/Commands/notification-hub/authorization-rule/_delete.md) +: Delete a notificationHub authorization rule. + +- [list](/Commands/notification-hub/authorization-rule/_list.md) +: List the authorization rules for a notification hub. + +- [list-keys](/Commands/notification-hub/authorization-rule/_list-keys.md) +: List the primary and secondary connection strings to the notification hub. + +- [regenerate-keys](/Commands/notification-hub/authorization-rule/_regenerate-keys.md) +: Regenerates the primary/secondary keys to the notification hub authorization rule. + +- [show](/Commands/notification-hub/authorization-rule/_show.md) +: Show an authorization rule for a notification hub by name. + +- [update](/Commands/notification-hub/authorization-rule/_update.md) +: Update an authorization rule for a notification hub. diff --git a/Commands/notification-hub/credential/_list.md b/Commands/notification-hub/credential/_list.md new file mode 100644 index 000000000..c421a42fb --- /dev/null +++ b/Commands/notification-hub/credential/_list.md @@ -0,0 +1,16 @@ +# [Command] _notification-hub credential list_ + +Lists the PNS credentials associated with a notification hub. + +## Versions + +### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fS9wbnNjcmVkZW50aWFscw==/2017-04-01.xml) **Experimental** + + + +#### examples + +- List the PNS credentials associated with a notification hub . + ```bash + notification-hub credential list --resource-group MyResourceGroup --namespace-name my-namespace --notification-hub-name my-hub + ``` diff --git a/Commands/notification-hub/credential/adm/_create.md b/Commands/notification-hub/credential/adm/_create.md new file mode 100644 index 000000000..ccdd56678 --- /dev/null +++ b/Commands/notification-hub/credential/adm/_create.md @@ -0,0 +1,9 @@ +# [Command] _notification-hub credential adm create_ + +Update credential for Amazon(ADM). + +## Versions + +### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fQ==/2017-04-01.xml) **Experimental** + + diff --git a/Commands/notification-hub/credential/adm/_delete.md b/Commands/notification-hub/credential/adm/_delete.md new file mode 100644 index 000000000..c0ed836b6 --- /dev/null +++ b/Commands/notification-hub/credential/adm/_delete.md @@ -0,0 +1,9 @@ +# [Command] _notification-hub credential adm delete_ + +None + +## Versions + +### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fQ==/2017-04-01.xml) **Experimental** + + diff --git a/Commands/notification-hub/credential/adm/_show.md b/Commands/notification-hub/credential/adm/_show.md new file mode 100644 index 000000000..345a378c7 --- /dev/null +++ b/Commands/notification-hub/credential/adm/_show.md @@ -0,0 +1,9 @@ +# [Command] _notification-hub credential adm show_ + +None + +## Versions + +### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fQ==/2017-04-01.xml) **Experimental** + + diff --git a/Commands/notification-hub/credential/adm/_update.md b/Commands/notification-hub/credential/adm/_update.md new file mode 100644 index 000000000..3f62bdd9b --- /dev/null +++ b/Commands/notification-hub/credential/adm/_update.md @@ -0,0 +1,9 @@ +# [Command] _notification-hub credential adm update_ + +None + +## Versions + +### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fQ==/2017-04-01.xml) **Experimental** + + diff --git a/Commands/notification-hub/credential/adm/readme.md b/Commands/notification-hub/credential/adm/readme.md new file mode 100644 index 000000000..397c92c82 --- /dev/null +++ b/Commands/notification-hub/credential/adm/readme.md @@ -0,0 +1,17 @@ +# [Group] _notification-hub credential adm_ + +Commands to manage notification hub credential for Amazon(ADM). + +## Commands + +- [create](/Commands/notification-hub/credential/adm/_create.md) +: Update credential for Amazon(ADM). + +- [delete](/Commands/notification-hub/credential/adm/_delete.md) +: None + +- [show](/Commands/notification-hub/credential/adm/_show.md) +: None + +- [update](/Commands/notification-hub/credential/adm/_update.md) +: None diff --git a/Commands/notification-hub/credential/apns/_create.md b/Commands/notification-hub/credential/apns/_create.md new file mode 100644 index 000000000..9db3bc99f --- /dev/null +++ b/Commands/notification-hub/credential/apns/_create.md @@ -0,0 +1,16 @@ +# [Command] _notification-hub credential apns create_ + +Update credential for Apple(APNS). + +## Versions + +### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fQ==/2017-04-01.xml) **Experimental** + + + +#### examples + +- Update APNS certificate + ```bash + notification-hub credential apns update --namespace-name my-namespace --notification-hub-name my-hub --apns-certificate "/path/to/certificate" --certificate-key "xxxxxx" --resource-group MyResourceGroup + ``` diff --git a/Commands/notification-hub/credential/apns/_delete.md b/Commands/notification-hub/credential/apns/_delete.md new file mode 100644 index 000000000..3c3290cd8 --- /dev/null +++ b/Commands/notification-hub/credential/apns/_delete.md @@ -0,0 +1,9 @@ +# [Command] _notification-hub credential apns delete_ + +None + +## Versions + +### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fQ==/2017-04-01.xml) **Experimental** + + diff --git a/Commands/notification-hub/credential/apns/_show.md b/Commands/notification-hub/credential/apns/_show.md new file mode 100644 index 000000000..e2e84590a --- /dev/null +++ b/Commands/notification-hub/credential/apns/_show.md @@ -0,0 +1,9 @@ +# [Command] _notification-hub credential apns show_ + +None + +## Versions + +### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fQ==/2017-04-01.xml) **Experimental** + + diff --git a/Commands/notification-hub/credential/apns/_update.md b/Commands/notification-hub/credential/apns/_update.md new file mode 100644 index 000000000..75f5b7d21 --- /dev/null +++ b/Commands/notification-hub/credential/apns/_update.md @@ -0,0 +1,9 @@ +# [Command] _notification-hub credential apns update_ + +None + +## Versions + +### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fQ==/2017-04-01.xml) **Experimental** + + diff --git a/Commands/notification-hub/credential/apns/readme.md b/Commands/notification-hub/credential/apns/readme.md new file mode 100644 index 000000000..6cee86b7f --- /dev/null +++ b/Commands/notification-hub/credential/apns/readme.md @@ -0,0 +1,17 @@ +# [Group] _notification-hub credential apns_ + +Commands to manage notification hub credential for Apple(APNS). + +## Commands + +- [create](/Commands/notification-hub/credential/apns/_create.md) +: Update credential for Apple(APNS). + +- [delete](/Commands/notification-hub/credential/apns/_delete.md) +: None + +- [show](/Commands/notification-hub/credential/apns/_show.md) +: None + +- [update](/Commands/notification-hub/credential/apns/_update.md) +: None diff --git a/Commands/notification-hub/credential/baidu/_create.md b/Commands/notification-hub/credential/baidu/_create.md new file mode 100644 index 000000000..6f7df85cb --- /dev/null +++ b/Commands/notification-hub/credential/baidu/_create.md @@ -0,0 +1,9 @@ +# [Command] _notification-hub credential baidu create_ + +Update credential for Baidu(Andrioid China). + +## Versions + +### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fQ==/2017-04-01.xml) **Experimental** + + diff --git a/Commands/notification-hub/credential/baidu/_delete.md b/Commands/notification-hub/credential/baidu/_delete.md new file mode 100644 index 000000000..a296455ad --- /dev/null +++ b/Commands/notification-hub/credential/baidu/_delete.md @@ -0,0 +1,9 @@ +# [Command] _notification-hub credential baidu delete_ + +None + +## Versions + +### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fQ==/2017-04-01.xml) **Experimental** + + diff --git a/Commands/notification-hub/credential/baidu/_show.md b/Commands/notification-hub/credential/baidu/_show.md new file mode 100644 index 000000000..ca45a7790 --- /dev/null +++ b/Commands/notification-hub/credential/baidu/_show.md @@ -0,0 +1,9 @@ +# [Command] _notification-hub credential baidu show_ + +None + +## Versions + +### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fQ==/2017-04-01.xml) **Experimental** + + diff --git a/Commands/notification-hub/credential/baidu/_update.md b/Commands/notification-hub/credential/baidu/_update.md new file mode 100644 index 000000000..eb5b0c3eb --- /dev/null +++ b/Commands/notification-hub/credential/baidu/_update.md @@ -0,0 +1,9 @@ +# [Command] _notification-hub credential baidu update_ + +None + +## Versions + +### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fQ==/2017-04-01.xml) **Experimental** + + diff --git a/Commands/notification-hub/credential/baidu/readme.md b/Commands/notification-hub/credential/baidu/readme.md new file mode 100644 index 000000000..4a34be38e --- /dev/null +++ b/Commands/notification-hub/credential/baidu/readme.md @@ -0,0 +1,17 @@ +# [Group] _notification-hub credential baidu_ + +Commands to manage notification hub credential for Baidu(Andrioid China). + +## Commands + +- [create](/Commands/notification-hub/credential/baidu/_create.md) +: Update credential for Baidu(Andrioid China). + +- [delete](/Commands/notification-hub/credential/baidu/_delete.md) +: None + +- [show](/Commands/notification-hub/credential/baidu/_show.md) +: None + +- [update](/Commands/notification-hub/credential/baidu/_update.md) +: None diff --git a/Commands/notification-hub/credential/gcm/_create.md b/Commands/notification-hub/credential/gcm/_create.md new file mode 100644 index 000000000..92fe38814 --- /dev/null +++ b/Commands/notification-hub/credential/gcm/_create.md @@ -0,0 +1,16 @@ +# [Command] _notification-hub credential gcm create_ + +Update the Google GCM/FCM API key. + +## Versions + +### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fQ==/2017-04-01.xml) **Experimental** + + + +#### examples + +- Update Android push API key + ```bash + notification-hub credential gcm update --resource-group groupName --namespace-name spaceName --notification-hub-name hubName --google-api-key keyValue + ``` diff --git a/Commands/notification-hub/credential/gcm/_delete.md b/Commands/notification-hub/credential/gcm/_delete.md new file mode 100644 index 000000000..abceddffd --- /dev/null +++ b/Commands/notification-hub/credential/gcm/_delete.md @@ -0,0 +1,9 @@ +# [Command] _notification-hub credential gcm delete_ + +None + +## Versions + +### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fQ==/2017-04-01.xml) **Experimental** + + diff --git a/Commands/notification-hub/credential/gcm/_show.md b/Commands/notification-hub/credential/gcm/_show.md new file mode 100644 index 000000000..92c2c35ce --- /dev/null +++ b/Commands/notification-hub/credential/gcm/_show.md @@ -0,0 +1,9 @@ +# [Command] _notification-hub credential gcm show_ + +None + +## Versions + +### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fQ==/2017-04-01.xml) **Experimental** + + diff --git a/Commands/notification-hub/credential/gcm/_update.md b/Commands/notification-hub/credential/gcm/_update.md new file mode 100644 index 000000000..599b7584b --- /dev/null +++ b/Commands/notification-hub/credential/gcm/_update.md @@ -0,0 +1,9 @@ +# [Command] _notification-hub credential gcm update_ + +None + +## Versions + +### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fQ==/2017-04-01.xml) **Experimental** + + diff --git a/Commands/notification-hub/credential/gcm/readme.md b/Commands/notification-hub/credential/gcm/readme.md new file mode 100644 index 000000000..7e76f3e16 --- /dev/null +++ b/Commands/notification-hub/credential/gcm/readme.md @@ -0,0 +1,17 @@ +# [Group] _notification-hub credential gcm_ + +Commands to manage notification hub credential for Google(GCM/FCM). + +## Commands + +- [create](/Commands/notification-hub/credential/gcm/_create.md) +: Update the Google GCM/FCM API key. + +- [delete](/Commands/notification-hub/credential/gcm/_delete.md) +: None + +- [show](/Commands/notification-hub/credential/gcm/_show.md) +: None + +- [update](/Commands/notification-hub/credential/gcm/_update.md) +: None diff --git a/Commands/notification-hub/credential/mpns/_create.md b/Commands/notification-hub/credential/mpns/_create.md new file mode 100644 index 000000000..ce1a22212 --- /dev/null +++ b/Commands/notification-hub/credential/mpns/_create.md @@ -0,0 +1,9 @@ +# [Command] _notification-hub credential mpns create_ + +Update credential for Windows Phone(MPNS). + +## Versions + +### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fQ==/2017-04-01.xml) **Experimental** + + diff --git a/Commands/notification-hub/credential/mpns/_delete.md b/Commands/notification-hub/credential/mpns/_delete.md new file mode 100644 index 000000000..44f552f5b --- /dev/null +++ b/Commands/notification-hub/credential/mpns/_delete.md @@ -0,0 +1,9 @@ +# [Command] _notification-hub credential mpns delete_ + +None + +## Versions + +### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fQ==/2017-04-01.xml) **Experimental** + + diff --git a/Commands/notification-hub/credential/mpns/_show.md b/Commands/notification-hub/credential/mpns/_show.md new file mode 100644 index 000000000..d7beec000 --- /dev/null +++ b/Commands/notification-hub/credential/mpns/_show.md @@ -0,0 +1,9 @@ +# [Command] _notification-hub credential mpns show_ + +None + +## Versions + +### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fQ==/2017-04-01.xml) **Experimental** + + diff --git a/Commands/notification-hub/credential/mpns/_update.md b/Commands/notification-hub/credential/mpns/_update.md new file mode 100644 index 000000000..92310fdf5 --- /dev/null +++ b/Commands/notification-hub/credential/mpns/_update.md @@ -0,0 +1,9 @@ +# [Command] _notification-hub credential mpns update_ + +None + +## Versions + +### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fQ==/2017-04-01.xml) **Experimental** + + diff --git a/Commands/notification-hub/credential/mpns/readme.md b/Commands/notification-hub/credential/mpns/readme.md new file mode 100644 index 000000000..a397a2ca0 --- /dev/null +++ b/Commands/notification-hub/credential/mpns/readme.md @@ -0,0 +1,17 @@ +# [Group] _notification-hub credential mpns_ + +Commands to manage notification hub credential for Windows Phone(MPNS). + +## Commands + +- [create](/Commands/notification-hub/credential/mpns/_create.md) +: Update credential for Windows Phone(MPNS). + +- [delete](/Commands/notification-hub/credential/mpns/_delete.md) +: None + +- [show](/Commands/notification-hub/credential/mpns/_show.md) +: None + +- [update](/Commands/notification-hub/credential/mpns/_update.md) +: None diff --git a/Commands/notification-hub/credential/readme.md b/Commands/notification-hub/credential/readme.md new file mode 100644 index 000000000..52f4bd60b --- /dev/null +++ b/Commands/notification-hub/credential/readme.md @@ -0,0 +1,28 @@ +# [Group] _notification-hub credential_ + +Commands to manage notification hub credential. + +## Subgroups + +- [adm](/Commands/notification-hub/credential/adm/readme.md) +: Commands to manage notification hub credential for Amazon(ADM). + +- [apns](/Commands/notification-hub/credential/apns/readme.md) +: Commands to manage notification hub credential for Apple(APNS). + +- [baidu](/Commands/notification-hub/credential/baidu/readme.md) +: Commands to manage notification hub credential for Baidu(Andrioid China). + +- [gcm](/Commands/notification-hub/credential/gcm/readme.md) +: Commands to manage notification hub credential for Google(GCM/FCM). + +- [mpns](/Commands/notification-hub/credential/mpns/readme.md) +: Commands to manage notification hub credential for Windows Phone(MPNS). + +- [wns](/Commands/notification-hub/credential/wns/readme.md) +: Commands to manage notification hub credential for Windows(WNS). + +## Commands + +- [list](/Commands/notification-hub/credential/_list.md) +: Lists the PNS credentials associated with a notification hub. diff --git a/Commands/notification-hub/credential/wns/_create.md b/Commands/notification-hub/credential/wns/_create.md new file mode 100644 index 000000000..3dcaf7ca9 --- /dev/null +++ b/Commands/notification-hub/credential/wns/_create.md @@ -0,0 +1,9 @@ +# [Command] _notification-hub credential wns create_ + +Update credential for Windows(WNS). + +## Versions + +### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fQ==/2017-04-01.xml) **Experimental** + + diff --git a/Commands/notification-hub/credential/wns/_delete.md b/Commands/notification-hub/credential/wns/_delete.md new file mode 100644 index 000000000..eb15d6f2b --- /dev/null +++ b/Commands/notification-hub/credential/wns/_delete.md @@ -0,0 +1,9 @@ +# [Command] _notification-hub credential wns delete_ + +None + +## Versions + +### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fQ==/2017-04-01.xml) **Experimental** + + diff --git a/Commands/notification-hub/credential/wns/_show.md b/Commands/notification-hub/credential/wns/_show.md new file mode 100644 index 000000000..1d89df937 --- /dev/null +++ b/Commands/notification-hub/credential/wns/_show.md @@ -0,0 +1,9 @@ +# [Command] _notification-hub credential wns show_ + +None + +## Versions + +### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fQ==/2017-04-01.xml) **Experimental** + + diff --git a/Commands/notification-hub/credential/wns/_update.md b/Commands/notification-hub/credential/wns/_update.md new file mode 100644 index 000000000..e380bb593 --- /dev/null +++ b/Commands/notification-hub/credential/wns/_update.md @@ -0,0 +1,9 @@ +# [Command] _notification-hub credential wns update_ + +None + +## Versions + +### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fQ==/2017-04-01.xml) **Experimental** + + diff --git a/Commands/notification-hub/credential/wns/readme.md b/Commands/notification-hub/credential/wns/readme.md new file mode 100644 index 000000000..3da8b1c98 --- /dev/null +++ b/Commands/notification-hub/credential/wns/readme.md @@ -0,0 +1,17 @@ +# [Group] _notification-hub credential wns_ + +Commands to manage notification hub credential for Windows(WNS). + +## Commands + +- [create](/Commands/notification-hub/credential/wns/_create.md) +: Update credential for Windows(WNS). + +- [delete](/Commands/notification-hub/credential/wns/_delete.md) +: None + +- [show](/Commands/notification-hub/credential/wns/_show.md) +: None + +- [update](/Commands/notification-hub/credential/wns/_update.md) +: None diff --git a/Commands/notification-hub/namespace/_check-availability.md b/Commands/notification-hub/namespace/_check-availability.md new file mode 100644 index 000000000..000883708 --- /dev/null +++ b/Commands/notification-hub/namespace/_check-availability.md @@ -0,0 +1,16 @@ +# [Command] _notification-hub namespace check-availability_ + +Checks the availability of the given service namespace across all Azure subscriptions. This is useful because the domain name is created based on the service namespace name. + +## Versions + +### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL2NoZWNrbmFtZXNwYWNlYXZhaWxhYmlsaXR5/2017-04-01.xml) **Experimental** + + + +#### examples + +- Check name availability of namespace + ```bash + notification-hub namespace check-availability --name "my-test-space" + ``` diff --git a/Commands/notification-hub/namespace/_create.md b/Commands/notification-hub/namespace/_create.md new file mode 100644 index 000000000..bc482f2c3 --- /dev/null +++ b/Commands/notification-hub/namespace/_create.md @@ -0,0 +1,16 @@ +# [Command] _notification-hub namespace create_ + +Create a service namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent. + +## Versions + +### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30=/2017-04-01.xml) **Experimental** + + + +#### examples + +- Create a namespace + ```bash + notification-hub namespace create --resource-group MyResourceGroup --name my-namespace --location "South Central US" --sku Standard + ``` diff --git a/Commands/notification-hub/namespace/_delete.md b/Commands/notification-hub/namespace/_delete.md new file mode 100644 index 000000000..aa647f6f2 --- /dev/null +++ b/Commands/notification-hub/namespace/_delete.md @@ -0,0 +1,16 @@ +# [Command] _notification-hub namespace delete_ + +Delete an existing namespace. This operation also removes all associated notificationHubs under the namespace. + +## Versions + +### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30=/2017-04-01.xml) **Experimental** + + + +#### examples + +- Delete the namespace + ```bash + notification-hub namespace delete --resource-group MyResourceGroup --name my-namespace + ``` diff --git a/Commands/notification-hub/namespace/_list.md b/Commands/notification-hub/namespace/_list.md new file mode 100644 index 000000000..b059f043d --- /dev/null +++ b/Commands/notification-hub/namespace/_list.md @@ -0,0 +1,22 @@ +# [Command] _notification-hub namespace list_ + +List available namespaces. + +## Versions + +### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXM=/2017-04-01.xml) **Experimental** + + + + +#### examples + +- List available namespaces within a resource group + ```bash + notification-hub namespace list --resource-group MyResourceGroup + ``` + +- List all the available namespaces within the subscription irrespective of the resource groups + ```bash + notification-hub namespace list + ``` diff --git a/Commands/notification-hub/namespace/_show.md b/Commands/notification-hub/namespace/_show.md new file mode 100644 index 000000000..6ceae867b --- /dev/null +++ b/Commands/notification-hub/namespace/_show.md @@ -0,0 +1,16 @@ +# [Command] _notification-hub namespace show_ + +Return the description for the specified namespace. + +## Versions + +### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30=/2017-04-01.xml) **Experimental** + + + +#### examples + +- Show namespace info + ```bash + notification-hub namespace show --resource-group MyResourceGroup --name my-namespace + ``` diff --git a/Commands/notification-hub/namespace/_update.md b/Commands/notification-hub/namespace/_update.md new file mode 100644 index 000000000..4b1079675 --- /dev/null +++ b/Commands/notification-hub/namespace/_update.md @@ -0,0 +1,16 @@ +# [Command] _notification-hub namespace update_ + +Update a service namespace. The namespace's resource manifest is immutable and cannot be modified. + +## Versions + +### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30=/2017-04-01.xml) **Experimental** + + + +#### examples + +- Update the namespace + ```bash + notification-hub namespace update --resource-group MyResourceGroup --name my-namespace --sku Standard + ``` diff --git a/Commands/notification-hub/namespace/authorization-rule/_create.md b/Commands/notification-hub/namespace/authorization-rule/_create.md new file mode 100644 index 000000000..a048e7c07 --- /dev/null +++ b/Commands/notification-hub/namespace/authorization-rule/_create.md @@ -0,0 +1,16 @@ +# [Command] _notification-hub namespace authorization-rule create_ + +Create an authorization rule for a namespace. + +## Versions + +### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vYXV0aG9yaXphdGlvbnJ1bGVzL3t9/2017-04-01.xml) **Experimental** + + + +#### examples + +- Create a namespace authorization rule + ```bash + notification-hub namespace authorization-rule create --resource-group MyResourceGroup --namespace-name my-namespace --name "sdk-AuthRules-1788" --rights Listen Send + ``` diff --git a/Commands/notification-hub/namespace/authorization-rule/_delete.md b/Commands/notification-hub/namespace/authorization-rule/_delete.md new file mode 100644 index 000000000..f07032ec9 --- /dev/null +++ b/Commands/notification-hub/namespace/authorization-rule/_delete.md @@ -0,0 +1,16 @@ +# [Command] _notification-hub namespace authorization-rule delete_ + +Delete a namespace authorization rule. + +## Versions + +### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vYXV0aG9yaXphdGlvbnJ1bGVzL3t9/2017-04-01.xml) **Experimental** + + + +#### examples + +- Delete a namespace authorization rule + ```bash + notification-hub namespace authorization-rule delete --resource-group MyResourceGroup --namespace-name my-namespace --name "RootManageSharedAccessKey" + ``` diff --git a/Commands/notification-hub/namespace/authorization-rule/_list-keys.md b/Commands/notification-hub/namespace/authorization-rule/_list-keys.md new file mode 100644 index 000000000..3742b14e4 --- /dev/null +++ b/Commands/notification-hub/namespace/authorization-rule/_list-keys.md @@ -0,0 +1,16 @@ +# [Command] _notification-hub namespace authorization-rule list-keys_ + +List the primary and secondary connection strings to the namespace. + +## Versions + +### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vYXV0aG9yaXphdGlvbnJ1bGVzL3t9L2xpc3RrZXlz/2017-04-01.xml) **Experimental** + + + +#### examples + +- List keys of the namesapce authorization rule + ```bash + notification-hub namespace authorization-rule list-keys --resource-group MyResourceGroup --namespace-name my-namespace --name "RootManageSharedAccessKey" + ``` diff --git a/Commands/notification-hub/namespace/authorization-rule/_list.md b/Commands/notification-hub/namespace/authorization-rule/_list.md new file mode 100644 index 000000000..ee8fc45a7 --- /dev/null +++ b/Commands/notification-hub/namespace/authorization-rule/_list.md @@ -0,0 +1,16 @@ +# [Command] _notification-hub namespace authorization-rule list_ + +List the authorization rules for a namespace. + +## Versions + +### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vYXV0aG9yaXphdGlvbnJ1bGVz/2017-04-01.xml) **Experimental** + + + +#### examples + +- List authorization rules of the namespace + ```bash + notification-hub namespace authorization-rule list --resource-group MyResourceGroup --namespace-name my-namespace + ``` diff --git a/Commands/notification-hub/namespace/authorization-rule/_regenerate-keys.md b/Commands/notification-hub/namespace/authorization-rule/_regenerate-keys.md new file mode 100644 index 000000000..8c04c54ef --- /dev/null +++ b/Commands/notification-hub/namespace/authorization-rule/_regenerate-keys.md @@ -0,0 +1,16 @@ +# [Command] _notification-hub namespace authorization-rule regenerate-keys_ + +Regenerate the primary/secondary keys to the namespace authorization rule. + +## Versions + +### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vYXV0aG9yaXphdGlvbnJ1bGVzL3t9L3JlZ2VuZXJhdGVrZXlz/2017-04-01.xml) **Experimental** + + + +#### examples + +- Regenerate keys of the namesapce authorization rule + ```bash + notification-hub namespace authorization-rule regenerate-keys --resource-group MyResourceGroup --namespace-name my-namespace --name "RootManageSharedAccessKey" --policy-key "Secondary Key" + ``` diff --git a/Commands/notification-hub/namespace/authorization-rule/_show.md b/Commands/notification-hub/namespace/authorization-rule/_show.md new file mode 100644 index 000000000..4c84d0387 --- /dev/null +++ b/Commands/notification-hub/namespace/authorization-rule/_show.md @@ -0,0 +1,16 @@ +# [Command] _notification-hub namespace authorization-rule show_ + +Get an authorization rule for a namespace by name. + +## Versions + +### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vYXV0aG9yaXphdGlvbnJ1bGVzL3t9/2017-04-01.xml) **Experimental** + + + +#### examples + +- Show namespace authorization rule info + ```bash + notification-hub namespace authorization-rule show --resource-group MyResourceGroup --namespace-name my-namespace --name "RootManageSharedAccessKey" + ``` diff --git a/Commands/notification-hub/namespace/authorization-rule/_update.md b/Commands/notification-hub/namespace/authorization-rule/_update.md new file mode 100644 index 000000000..a98300c6e --- /dev/null +++ b/Commands/notification-hub/namespace/authorization-rule/_update.md @@ -0,0 +1,9 @@ +# [Command] _notification-hub namespace authorization-rule update_ + +Update an authorization rule for a namespace. + +## Versions + +### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vYXV0aG9yaXphdGlvbnJ1bGVzL3t9/2017-04-01.xml) **Experimental** + + diff --git a/Commands/notification-hub/namespace/authorization-rule/readme.md b/Commands/notification-hub/namespace/authorization-rule/readme.md new file mode 100644 index 000000000..0f05c14c1 --- /dev/null +++ b/Commands/notification-hub/namespace/authorization-rule/readme.md @@ -0,0 +1,26 @@ +# [Group] _notification-hub namespace authorization-rule_ + +Commands to manage notification hubs namespace authorization rule. + +## Commands + +- [create](/Commands/notification-hub/namespace/authorization-rule/_create.md) +: Create an authorization rule for a namespace. + +- [delete](/Commands/notification-hub/namespace/authorization-rule/_delete.md) +: Delete a namespace authorization rule. + +- [list](/Commands/notification-hub/namespace/authorization-rule/_list.md) +: List the authorization rules for a namespace. + +- [list-keys](/Commands/notification-hub/namespace/authorization-rule/_list-keys.md) +: List the primary and secondary connection strings to the namespace. + +- [regenerate-keys](/Commands/notification-hub/namespace/authorization-rule/_regenerate-keys.md) +: Regenerate the primary/secondary keys to the namespace authorization rule. + +- [show](/Commands/notification-hub/namespace/authorization-rule/_show.md) +: Get an authorization rule for a namespace by name. + +- [update](/Commands/notification-hub/namespace/authorization-rule/_update.md) +: Update an authorization rule for a namespace. diff --git a/Commands/notification-hub/namespace/readme.md b/Commands/notification-hub/namespace/readme.md new file mode 100644 index 000000000..2643fe05c --- /dev/null +++ b/Commands/notification-hub/namespace/readme.md @@ -0,0 +1,28 @@ +# [Group] _notification-hub namespace_ + +Commands to manage notification hub namespace. + +## Subgroups + +- [authorization-rule](/Commands/notification-hub/namespace/authorization-rule/readme.md) +: Commands to manage notification hubs namespace authorization rule. + +## Commands + +- [check-availability](/Commands/notification-hub/namespace/_check-availability.md) +: Checks the availability of the given service namespace across all Azure subscriptions. This is useful because the domain name is created based on the service namespace name. + +- [create](/Commands/notification-hub/namespace/_create.md) +: Create a service namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent. + +- [delete](/Commands/notification-hub/namespace/_delete.md) +: Delete an existing namespace. This operation also removes all associated notificationHubs under the namespace. + +- [list](/Commands/notification-hub/namespace/_list.md) +: List available namespaces. + +- [show](/Commands/notification-hub/namespace/_show.md) +: Return the description for the specified namespace. + +- [update](/Commands/notification-hub/namespace/_update.md) +: Update a service namespace. The namespace's resource manifest is immutable and cannot be modified. diff --git a/Commands/notification-hub/readme.md b/Commands/notification-hub/readme.md new file mode 100644 index 000000000..25a0eea02 --- /dev/null +++ b/Commands/notification-hub/readme.md @@ -0,0 +1,37 @@ +# [Group] _notification-hub_ + +Manage notification hubs. + +## Subgroups + +- [authorization-rule](/Commands/notification-hub/authorization-rule/readme.md) +: Commands to manage notification hubs authorization rule. + +- [credential](/Commands/notification-hub/credential/readme.md) +: Commands to manage notification hub credential. + +- [namespace](/Commands/notification-hub/namespace/readme.md) +: Commands to manage notification hub namespace. + +## Commands + +- [check-availability](/Commands/notification-hub/_check-availability.md) +: Checks the availability of the given notification hub in a namespace. + +- [create](/Commands/notification-hub/_create.md) +: Create a notification hub in a namespace. + +- [delete](/Commands/notification-hub/_delete.md) +: Delete a notification hub associated with a namespace. + +- [list](/Commands/notification-hub/_list.md) +: List the notification hubs associated with a namespace. + +- [show](/Commands/notification-hub/_show.md) +: Show the notification hub information. + +- [test-send](/Commands/notification-hub/_test-send.md) +: Test send a push notification. + +- [update](/Commands/notification-hub/_update.md) +: Update a notification hub in a namespace. diff --git a/Commands/readme.md b/Commands/readme.md index bea43bd2e..27d565667 100644 --- a/Commands/readme.md +++ b/Commands/readme.md @@ -95,6 +95,9 @@ - [nginx](/Commands/nginx/readme.md) : Manage NGINX deployment resources +- [notification-hub](/Commands/notification-hub/readme.md) +: Manage notification hubs. + - [orbital](/Commands/orbital/readme.md) : Azure Orbital Ground Station as-a-Service (GSaaS). diff --git a/Commands/tree.json b/Commands/tree.json index 4e487db1e..147704aa8 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -68324,6 +68324,1610 @@ "nginx" ] }, + "notification-hub": { + "commandGroups": { + "authorization-rule": { + "commands": { + "create": { + "help": { + "short": "Create an authorization rule for a notification hub." + }, + "names": [ + "notification-hub", + "authorization-rule", + "create" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "notification-hub authorization-rule create --resource-group MyResourceGroup --namespace-name my-namespace --notification-hub-name my-hub --name DefaultListenSharedAccessSignature --rights Listen Send" + ], + "name": "Create an authorization rule" + } + ], + "name": "2017-04-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}/authorizationrules/{}", + "plane": "mgmt-plane", + "version": "2017-04-01" + } + ], + "stage": "Experimental" + } + ] + }, + "delete": { + "help": { + "short": "Delete a notificationHub authorization rule." + }, + "names": [ + "notification-hub", + "authorization-rule", + "delete" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "notification-hub authorization-rule delete --resource-group MyResourceGroup --namespace-name my-namespace --notification-hub-name my-hub --name DefaultListenSharedAccessSignature" + ], + "name": "Delete a notificationHub authorization rule" + } + ], + "name": "2017-04-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}/authorizationrules/{}", + "plane": "mgmt-plane", + "version": "2017-04-01" + } + ], + "stage": "Experimental" + } + ] + }, + "list": { + "help": { + "short": "List the authorization rules for a notification hub." + }, + "names": [ + "notification-hub", + "authorization-rule", + "list" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "notification-hub authorization-rule list --resource-group MyResourceGroup --namespace-name my-namespace --notification-hub-name my-hub" + ], + "name": "List the authorization rules for a notification hub." + } + ], + "name": "2017-04-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}/authorizationrules", + "plane": "mgmt-plane", + "version": "2017-04-01" + } + ], + "stage": "Experimental" + } + ] + }, + "list-keys": { + "help": { + "short": "List the primary and secondary connection strings to the notification hub." + }, + "names": [ + "notification-hub", + "authorization-rule", + "list-keys" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "notification-hub authorization-rule list-keys --resource-group MyResourceGroup --namespace-name my-namespace --notification-hub-name my-hub --name \"sdk-AuthRules-5800\"" + ], + "name": "List connection strings of the authorization rule" + } + ], + "name": "2017-04-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}/authorizationrules/{}/listkeys", + "plane": "mgmt-plane", + "version": "2017-04-01" + } + ], + "stage": "Experimental" + } + ] + }, + "regenerate-keys": { + "help": { + "short": "Regenerates the primary/secondary keys to the notification hub authorization rule." + }, + "names": [ + "notification-hub", + "authorization-rule", + "regenerate-keys" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "notification-hub authorization-rule regenerate-keys --resource-group MyResourceGroup --namespace-name my-namespace --notification-hub-name my-hub --name DefaultListenSharedAccessSignature --policy-key \"Secondary Key\"" + ], + "name": "Regenerate the notification hub authorization rule" + } + ], + "name": "2017-04-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}/authorizationrules/{}/regeneratekeys", + "plane": "mgmt-plane", + "version": "2017-04-01" + } + ], + "stage": "Experimental" + } + ] + }, + "show": { + "help": { + "short": "Show an authorization rule for a notification hub by name." + }, + "names": [ + "notification-hub", + "authorization-rule", + "show" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "notification-hub authorization-rule show --resource-group MyResourceGroup --namespace-name my-namespace --notification-hub-name my-hub --name DefaultListenSharedAccessSignature" + ], + "name": "Show the authorization rule information" + } + ], + "name": "2017-04-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}/authorizationrules/{}", + "plane": "mgmt-plane", + "version": "2017-04-01" + } + ], + "stage": "Experimental" + } + ] + }, + "update": { + "help": { + "short": "Update an authorization rule for a notification hub." + }, + "names": [ + "notification-hub", + "authorization-rule", + "update" + ], + "versions": [ + { + "name": "2017-04-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}/authorizationrules/{}", + "plane": "mgmt-plane", + "version": "2017-04-01" + } + ], + "stage": "Experimental" + } + ] + } + }, + "help": { + "short": "Commands to manage notification hubs authorization rule." + }, + "names": [ + "notification-hub", + "authorization-rule" + ] + }, + "credential": { + "commandGroups": { + "adm": { + "commands": { + "create": { + "help": { + "short": "Update credential for Amazon(ADM)." + }, + "names": [ + "notification-hub", + "credential", + "adm", + "create" + ], + "versions": [ + { + "name": "2017-04-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", + "plane": "mgmt-plane", + "subresource": "properties.admCredential", + "version": "2017-04-01" + } + ], + "stage": "Experimental" + } + ] + }, + "delete": { + "help": { + "short": "None" + }, + "names": [ + "notification-hub", + "credential", + "adm", + "delete" + ], + "versions": [ + { + "name": "2017-04-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", + "plane": "mgmt-plane", + "subresource": "properties.admCredential", + "version": "2017-04-01" + } + ], + "stage": "Experimental" + } + ] + }, + "show": { + "help": { + "short": "None" + }, + "names": [ + "notification-hub", + "credential", + "adm", + "show" + ], + "versions": [ + { + "name": "2017-04-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", + "plane": "mgmt-plane", + "subresource": "properties.admCredential", + "version": "2017-04-01" + } + ], + "stage": "Experimental" + } + ] + }, + "update": { + "help": { + "short": "None" + }, + "names": [ + "notification-hub", + "credential", + "adm", + "update" + ], + "versions": [ + { + "name": "2017-04-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", + "plane": "mgmt-plane", + "subresource": "properties.admCredential", + "version": "2017-04-01" + } + ], + "stage": "Experimental" + } + ] + } + }, + "help": { + "short": "Commands to manage notification hub credential for Amazon(ADM)." + }, + "names": [ + "notification-hub", + "credential", + "adm" + ] + }, + "apns": { + "commands": { + "create": { + "help": { + "short": "Update credential for Apple(APNS)." + }, + "names": [ + "notification-hub", + "credential", + "apns", + "create" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "notification-hub credential apns update --namespace-name my-namespace --notification-hub-name my-hub --apns-certificate \"/path/to/certificate\" --certificate-key \"xxxxxx\" --resource-group MyResourceGroup" + ], + "name": "Update APNS certificate" + } + ], + "name": "2017-04-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", + "plane": "mgmt-plane", + "subresource": "properties.apnsCredential", + "version": "2017-04-01" + } + ], + "stage": "Experimental" + } + ] + }, + "delete": { + "help": { + "short": "None" + }, + "names": [ + "notification-hub", + "credential", + "apns", + "delete" + ], + "versions": [ + { + "name": "2017-04-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", + "plane": "mgmt-plane", + "subresource": "properties.apnsCredential", + "version": "2017-04-01" + } + ], + "stage": "Experimental" + } + ] + }, + "show": { + "help": { + "short": "None" + }, + "names": [ + "notification-hub", + "credential", + "apns", + "show" + ], + "versions": [ + { + "name": "2017-04-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", + "plane": "mgmt-plane", + "subresource": "properties.apnsCredential", + "version": "2017-04-01" + } + ], + "stage": "Experimental" + } + ] + }, + "update": { + "help": { + "short": "None" + }, + "names": [ + "notification-hub", + "credential", + "apns", + "update" + ], + "versions": [ + { + "name": "2017-04-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", + "plane": "mgmt-plane", + "subresource": "properties.apnsCredential", + "version": "2017-04-01" + } + ], + "stage": "Experimental" + } + ] + } + }, + "help": { + "short": "Commands to manage notification hub credential for Apple(APNS)." + }, + "names": [ + "notification-hub", + "credential", + "apns" + ] + }, + "baidu": { + "commands": { + "create": { + "help": { + "short": "Update credential for Baidu(Andrioid China)." + }, + "names": [ + "notification-hub", + "credential", + "baidu", + "create" + ], + "versions": [ + { + "name": "2017-04-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", + "plane": "mgmt-plane", + "subresource": "properties.baiduCredential", + "version": "2017-04-01" + } + ], + "stage": "Experimental" + } + ] + }, + "delete": { + "help": { + "short": "None" + }, + "names": [ + "notification-hub", + "credential", + "baidu", + "delete" + ], + "versions": [ + { + "name": "2017-04-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", + "plane": "mgmt-plane", + "subresource": "properties.baiduCredential", + "version": "2017-04-01" + } + ], + "stage": "Experimental" + } + ] + }, + "show": { + "help": { + "short": "None" + }, + "names": [ + "notification-hub", + "credential", + "baidu", + "show" + ], + "versions": [ + { + "name": "2017-04-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", + "plane": "mgmt-plane", + "subresource": "properties.baiduCredential", + "version": "2017-04-01" + } + ], + "stage": "Experimental" + } + ] + }, + "update": { + "help": { + "short": "None" + }, + "names": [ + "notification-hub", + "credential", + "baidu", + "update" + ], + "versions": [ + { + "name": "2017-04-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", + "plane": "mgmt-plane", + "subresource": "properties.baiduCredential", + "version": "2017-04-01" + } + ], + "stage": "Experimental" + } + ] + } + }, + "help": { + "short": "Commands to manage notification hub credential for Baidu(Andrioid China)." + }, + "names": [ + "notification-hub", + "credential", + "baidu" + ] + }, + "gcm": { + "commands": { + "create": { + "help": { + "short": "Update the Google GCM/FCM API key." + }, + "names": [ + "notification-hub", + "credential", + "gcm", + "create" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "notification-hub credential gcm update --resource-group groupName --namespace-name spaceName --notification-hub-name hubName --google-api-key keyValue" + ], + "name": "Update Android push API key" + } + ], + "name": "2017-04-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", + "plane": "mgmt-plane", + "subresource": "properties.gcmCredential", + "version": "2017-04-01" + } + ], + "stage": "Experimental" + } + ] + }, + "delete": { + "help": { + "short": "None" + }, + "names": [ + "notification-hub", + "credential", + "gcm", + "delete" + ], + "versions": [ + { + "name": "2017-04-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", + "plane": "mgmt-plane", + "subresource": "properties.gcmCredential", + "version": "2017-04-01" + } + ], + "stage": "Experimental" + } + ] + }, + "show": { + "help": { + "short": "None" + }, + "names": [ + "notification-hub", + "credential", + "gcm", + "show" + ], + "versions": [ + { + "name": "2017-04-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", + "plane": "mgmt-plane", + "subresource": "properties.gcmCredential", + "version": "2017-04-01" + } + ], + "stage": "Experimental" + } + ] + }, + "update": { + "help": { + "short": "None" + }, + "names": [ + "notification-hub", + "credential", + "gcm", + "update" + ], + "versions": [ + { + "name": "2017-04-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", + "plane": "mgmt-plane", + "subresource": "properties.gcmCredential", + "version": "2017-04-01" + } + ], + "stage": "Experimental" + } + ] + } + }, + "help": { + "short": "Commands to manage notification hub credential for Google(GCM/FCM)." + }, + "names": [ + "notification-hub", + "credential", + "gcm" + ] + }, + "mpns": { + "commands": { + "create": { + "help": { + "short": "Update credential for Windows Phone(MPNS)." + }, + "names": [ + "notification-hub", + "credential", + "mpns", + "create" + ], + "versions": [ + { + "name": "2017-04-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", + "plane": "mgmt-plane", + "subresource": "properties.mpnsCredential", + "version": "2017-04-01" + } + ], + "stage": "Experimental" + } + ] + }, + "delete": { + "help": { + "short": "None" + }, + "names": [ + "notification-hub", + "credential", + "mpns", + "delete" + ], + "versions": [ + { + "name": "2017-04-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", + "plane": "mgmt-plane", + "subresource": "properties.mpnsCredential", + "version": "2017-04-01" + } + ], + "stage": "Experimental" + } + ] + }, + "show": { + "help": { + "short": "None" + }, + "names": [ + "notification-hub", + "credential", + "mpns", + "show" + ], + "versions": [ + { + "name": "2017-04-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", + "plane": "mgmt-plane", + "subresource": "properties.mpnsCredential", + "version": "2017-04-01" + } + ], + "stage": "Experimental" + } + ] + }, + "update": { + "help": { + "short": "None" + }, + "names": [ + "notification-hub", + "credential", + "mpns", + "update" + ], + "versions": [ + { + "name": "2017-04-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", + "plane": "mgmt-plane", + "subresource": "properties.mpnsCredential", + "version": "2017-04-01" + } + ], + "stage": "Experimental" + } + ] + } + }, + "help": { + "short": "Commands to manage notification hub credential for Windows Phone(MPNS)." + }, + "names": [ + "notification-hub", + "credential", + "mpns" + ] + }, + "wns": { + "commands": { + "create": { + "help": { + "short": "Update credential for Windows(WNS)." + }, + "names": [ + "notification-hub", + "credential", + "wns", + "create" + ], + "versions": [ + { + "name": "2017-04-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", + "plane": "mgmt-plane", + "subresource": "properties.wnsCredential", + "version": "2017-04-01" + } + ], + "stage": "Experimental" + } + ] + }, + "delete": { + "help": { + "short": "None" + }, + "names": [ + "notification-hub", + "credential", + "wns", + "delete" + ], + "versions": [ + { + "name": "2017-04-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", + "plane": "mgmt-plane", + "subresource": "properties.wnsCredential", + "version": "2017-04-01" + } + ], + "stage": "Experimental" + } + ] + }, + "show": { + "help": { + "short": "None" + }, + "names": [ + "notification-hub", + "credential", + "wns", + "show" + ], + "versions": [ + { + "name": "2017-04-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", + "plane": "mgmt-plane", + "subresource": "properties.wnsCredential", + "version": "2017-04-01" + } + ], + "stage": "Experimental" + } + ] + }, + "update": { + "help": { + "short": "None" + }, + "names": [ + "notification-hub", + "credential", + "wns", + "update" + ], + "versions": [ + { + "name": "2017-04-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", + "plane": "mgmt-plane", + "subresource": "properties.wnsCredential", + "version": "2017-04-01" + } + ], + "stage": "Experimental" + } + ] + } + }, + "help": { + "short": "Commands to manage notification hub credential for Windows(WNS)." + }, + "names": [ + "notification-hub", + "credential", + "wns" + ] + } + }, + "commands": { + "list": { + "help": { + "short": "Lists the PNS credentials associated with a notification hub." + }, + "names": [ + "notification-hub", + "credential", + "list" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "notification-hub credential list --resource-group MyResourceGroup --namespace-name my-namespace --notification-hub-name my-hub" + ], + "name": "List the PNS credentials associated with a notification hub ." + } + ], + "name": "2017-04-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}/pnscredentials", + "plane": "mgmt-plane", + "version": "2017-04-01" + } + ], + "stage": "Experimental" + } + ] + } + }, + "help": { + "short": "Commands to manage notification hub credential." + }, + "names": [ + "notification-hub", + "credential" + ] + }, + "namespace": { + "commandGroups": { + "authorization-rule": { + "commands": { + "create": { + "help": { + "short": "Create an authorization rule for a namespace." + }, + "names": [ + "notification-hub", + "namespace", + "authorization-rule", + "create" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "notification-hub namespace authorization-rule create --resource-group MyResourceGroup --namespace-name my-namespace --name \"sdk-AuthRules-1788\" --rights Listen Send" + ], + "name": "Create a namespace authorization rule" + } + ], + "name": "2017-04-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/authorizationrules/{}", + "plane": "mgmt-plane", + "version": "2017-04-01" + } + ], + "stage": "Experimental" + } + ] + }, + "delete": { + "help": { + "short": "Delete a namespace authorization rule." + }, + "names": [ + "notification-hub", + "namespace", + "authorization-rule", + "delete" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "notification-hub namespace authorization-rule delete --resource-group MyResourceGroup --namespace-name my-namespace --name \"RootManageSharedAccessKey\"" + ], + "name": "Delete a namespace authorization rule" + } + ], + "name": "2017-04-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/authorizationrules/{}", + "plane": "mgmt-plane", + "version": "2017-04-01" + } + ], + "stage": "Experimental" + } + ] + }, + "list": { + "help": { + "short": "List the authorization rules for a namespace." + }, + "names": [ + "notification-hub", + "namespace", + "authorization-rule", + "list" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "notification-hub namespace authorization-rule list --resource-group MyResourceGroup --namespace-name my-namespace" + ], + "name": "List authorization rules of the namespace" + } + ], + "name": "2017-04-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/authorizationrules", + "plane": "mgmt-plane", + "version": "2017-04-01" + } + ], + "stage": "Experimental" + } + ] + }, + "list-keys": { + "help": { + "short": "List the primary and secondary connection strings to the namespace." + }, + "names": [ + "notification-hub", + "namespace", + "authorization-rule", + "list-keys" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "notification-hub namespace authorization-rule list-keys --resource-group MyResourceGroup --namespace-name my-namespace --name \"RootManageSharedAccessKey\"" + ], + "name": "List keys of the namesapce authorization rule" + } + ], + "name": "2017-04-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/authorizationrules/{}/listkeys", + "plane": "mgmt-plane", + "version": "2017-04-01" + } + ], + "stage": "Experimental" + } + ] + }, + "regenerate-keys": { + "help": { + "short": "Regenerate the primary/secondary keys to the namespace authorization rule." + }, + "names": [ + "notification-hub", + "namespace", + "authorization-rule", + "regenerate-keys" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "notification-hub namespace authorization-rule regenerate-keys --resource-group MyResourceGroup --namespace-name my-namespace --name \"RootManageSharedAccessKey\" --policy-key \"Secondary Key\"" + ], + "name": "Regenerate keys of the namesapce authorization rule" + } + ], + "name": "2017-04-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/authorizationrules/{}/regeneratekeys", + "plane": "mgmt-plane", + "version": "2017-04-01" + } + ], + "stage": "Experimental" + } + ] + }, + "show": { + "help": { + "short": "Get an authorization rule for a namespace by name." + }, + "names": [ + "notification-hub", + "namespace", + "authorization-rule", + "show" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "notification-hub namespace authorization-rule show --resource-group MyResourceGroup --namespace-name my-namespace --name \"RootManageSharedAccessKey\"" + ], + "name": "Show namespace authorization rule info" + } + ], + "name": "2017-04-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/authorizationrules/{}", + "plane": "mgmt-plane", + "version": "2017-04-01" + } + ], + "stage": "Experimental" + } + ] + }, + "update": { + "help": { + "short": "Update an authorization rule for a namespace." + }, + "names": [ + "notification-hub", + "namespace", + "authorization-rule", + "update" + ], + "versions": [ + { + "name": "2017-04-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/authorizationrules/{}", + "plane": "mgmt-plane", + "version": "2017-04-01" + } + ], + "stage": "Experimental" + } + ] + } + }, + "help": { + "short": "Commands to manage notification hubs namespace authorization rule." + }, + "names": [ + "notification-hub", + "namespace", + "authorization-rule" + ] + } + }, + "commands": { + "check-availability": { + "help": { + "short": "Checks the availability of the given service namespace across all Azure subscriptions. This is useful because the domain name is created based on the service namespace name." + }, + "names": [ + "notification-hub", + "namespace", + "check-availability" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "notification-hub namespace check-availability --name \"my-test-space\"" + ], + "name": "Check name availability of namespace" + } + ], + "name": "2017-04-01", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.notificationhubs/checknamespaceavailability", + "plane": "mgmt-plane", + "version": "2017-04-01" + } + ], + "stage": "Experimental" + } + ] + }, + "create": { + "help": { + "short": "Create a service namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent." + }, + "names": [ + "notification-hub", + "namespace", + "create" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "notification-hub namespace create --resource-group MyResourceGroup --name my-namespace --location \"South Central US\" --sku Standard" + ], + "name": "Create a namespace" + } + ], + "name": "2017-04-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}", + "plane": "mgmt-plane", + "version": "2017-04-01" + } + ], + "stage": "Experimental" + } + ] + }, + "delete": { + "help": { + "short": "Delete an existing namespace. This operation also removes all associated notificationHubs under the namespace." + }, + "names": [ + "notification-hub", + "namespace", + "delete" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "notification-hub namespace delete --resource-group MyResourceGroup --name my-namespace" + ], + "name": "Delete the namespace" + } + ], + "name": "2017-04-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}", + "plane": "mgmt-plane", + "version": "2017-04-01" + } + ], + "stage": "Experimental" + } + ] + }, + "list": { + "help": { + "short": "List available namespaces." + }, + "names": [ + "notification-hub", + "namespace", + "list" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "notification-hub namespace list --resource-group MyResourceGroup" + ], + "name": "List available namespaces within a resource group" + }, + { + "commands": [ + "notification-hub namespace list" + ], + "name": "List all the available namespaces within the subscription irrespective of the resource groups" + } + ], + "name": "2017-04-01", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.notificationhubs/namespaces", + "plane": "mgmt-plane", + "version": "2017-04-01" + }, + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces", + "plane": "mgmt-plane", + "version": "2017-04-01" + } + ], + "stage": "Experimental" + } + ] + }, + "show": { + "help": { + "short": "Return the description for the specified namespace." + }, + "names": [ + "notification-hub", + "namespace", + "show" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "notification-hub namespace show --resource-group MyResourceGroup --name my-namespace" + ], + "name": "Show namespace info" + } + ], + "name": "2017-04-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}", + "plane": "mgmt-plane", + "version": "2017-04-01" + } + ], + "stage": "Experimental" + } + ] + }, + "update": { + "help": { + "short": "Update a service namespace. The namespace's resource manifest is immutable and cannot be modified." + }, + "names": [ + "notification-hub", + "namespace", + "update" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "notification-hub namespace update --resource-group MyResourceGroup --name my-namespace --sku Standard" + ], + "name": "Update the namespace" + } + ], + "name": "2017-04-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}", + "plane": "mgmt-plane", + "version": "2017-04-01" + } + ], + "stage": "Experimental" + } + ] + } + }, + "help": { + "short": "Commands to manage notification hub namespace." + }, + "names": [ + "notification-hub", + "namespace" + ] + } + }, + "commands": { + "check-availability": { + "help": { + "short": "Checks the availability of the given notification hub in a namespace." + }, + "names": [ + "notification-hub", + "check-availability" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "notification-hub check-availability --resource-group MyResourceGroup --namespace-name \"locp-newns\" --name my-hub" + ], + "name": "Check the availability of the given notification hub name" + } + ], + "name": "2017-04-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/checknotificationhubavailability", + "plane": "mgmt-plane", + "version": "2017-04-01" + } + ], + "stage": "Experimental" + } + ] + }, + "create": { + "help": { + "short": "Create a notification hub in a namespace." + }, + "names": [ + "notification-hub", + "create" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "notification-hub create --resource-group MyResourceGroup --namespace-name my-namespace --name my-hub --location \"South Central US\"" + ], + "name": "Create a notification hub" + } + ], + "name": "2017-04-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", + "plane": "mgmt-plane", + "version": "2017-04-01" + } + ], + "stage": "Experimental" + } + ] + }, + "delete": { + "help": { + "short": "Delete a notification hub associated with a namespace." + }, + "names": [ + "notification-hub", + "delete" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "notification-hub delete --resource-group MyResourceGroup --namespace-name my-namespace --name my-hub" + ], + "name": "Delete a notification hub" + } + ], + "name": "2017-04-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", + "plane": "mgmt-plane", + "version": "2017-04-01" + } + ], + "stage": "Experimental" + } + ] + }, + "list": { + "help": { + "short": "List the notification hubs associated with a namespace." + }, + "names": [ + "notification-hub", + "list" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "notification-hub list --resource-group MyResourceGroup --namespace-name my-namespace" + ], + "name": "List the notification hubs" + } + ], + "name": "2017-04-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs", + "plane": "mgmt-plane", + "version": "2017-04-01" + } + ], + "stage": "Experimental" + } + ] + }, + "show": { + "help": { + "short": "Show the notification hub information." + }, + "names": [ + "notification-hub", + "show" + ], + "versions": [ + { + "name": "2017-04-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", + "plane": "mgmt-plane", + "version": "2017-04-01" + } + ], + "stage": "Experimental" + } + ] + }, + "test-send": { + "help": { + "short": "Test send a push notification." + }, + "names": [ + "notification-hub", + "test-send" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "notification-hub test-send --resource-group MyResourceGroup --namespace-name my-namespace --notification-hub-name my-hub" + ], + "name": "Test send notification" + } + ], + "name": "2017-04-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}/debugsend", + "plane": "mgmt-plane", + "version": "2017-04-01" + } + ], + "stage": "Experimental" + } + ] + }, + "update": { + "help": { + "short": "Update a notification hub in a namespace." + }, + "names": [ + "notification-hub", + "update" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "notification-hub update --resource-group MyResourceGroup --namespace-name my-namespace --name \"sdk-notificationHubs-8708\"" + ], + "name": "Update the notification hub" + } + ], + "name": "2017-04-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", + "plane": "mgmt-plane", + "version": "2017-04-01" + } + ], + "stage": "Experimental" + } + ] + } + }, + "help": { + "short": "Manage notification hubs." + }, + "names": [ + "notification-hub" + ] + }, "orbital": { "commandGroups": { "available-ground-station": { diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXM=/2017-04-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXM=/2017-04-01.json new file mode 100644 index 000000000..cf11fc958 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXM=/2017-04-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.notificationhubs/namespaces", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0Lk5vdGlmaWNhdGlvbkh1YnMvbmFtZXNwYWNlcw==/V/MjAxNy0wNC0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2Vz/V/MjAxNy0wNC0wMQ=="}], "commandGroups": [{"name": "notification-hub namespace", "commands": [{"name": "list", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/providers/microsoft.notificationhubs/namespaces", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0Lk5vdGlmaWNhdGlvbkh1YnMvbmFtZXNwYWNlcw==/V/MjAxNy0wNC0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2Vz/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "conditions": [{"var": "$Condition_Namespaces_List", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.resourceGroupName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}, {"var": "$Condition_Namespaces_ListAll", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.resourceGroupName"}}]}}], "operations": [{"when": ["$Condition_Namespaces_List"], "operationId": "Namespaces_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.NotificationHubs/namespaces/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "boolean", "name": "critical"}, {"type": "string", "name": "dataCenter"}, {"type": "boolean", "name": "enabled"}, {"readOnly": true, "type": "string", "name": "metricId"}, {"type": "string", "name": "name"}, {"type": "string", "name": "namespaceType", "enum": {"items": [{"value": "Messaging"}, {"value": "NotificationHub"}]}}, {"type": "string", "name": "provisioningState"}, {"type": "string", "name": "region"}, {"type": "string", "name": "scaleUnit"}, {"type": "string", "name": "serviceBusEndpoint"}, {"type": "string", "name": "status"}, {"type": "string", "name": "subscriptionId"}, {"type": "dateTime", "name": "updatedAt"}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"when": ["$Condition_Namespaces_ListAll"], "operationId": "Namespaces_ListAll", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.NotificationHubs/namespaces", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.NotificationHubs/namespaces/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "boolean", "name": "critical"}, {"type": "string", "name": "dataCenter"}, {"type": "boolean", "name": "enabled"}, {"readOnly": true, "type": "string", "name": "metricId"}, {"type": "string", "name": "name"}, {"type": "string", "name": "namespaceType", "enum": {"items": [{"value": "Messaging"}, {"value": "NotificationHub"}]}}, {"type": "string", "name": "provisioningState"}, {"type": "string", "name": "region"}, {"type": "string", "name": "scaleUnit"}, {"type": "string", "name": "serviceBusEndpoint"}, {"type": "string", "name": "status"}, {"type": "string", "name": "subscriptionId"}, {"type": "dateTime", "name": "updatedAt"}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXM=/2017-04-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXM=/2017-04-01.xml new file mode 100644 index 000000000..9772f6c7c --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXM=/2017-04-01.xml @@ -0,0 +1,189 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL2NoZWNrbmFtZXNwYWNlYXZhaWxhYmlsaXR5/2017-04-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL2NoZWNrbmFtZXNwYWNlYXZhaWxhYmlsaXR5/2017-04-01.json new file mode 100644 index 000000000..132ce0ed7 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL2NoZWNrbmFtZXNwYWNlYXZhaWxhYmlsaXR5/2017-04-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.notificationhubs/checknamespaceavailability", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0Lk5vdGlmaWNhdGlvbkh1YnMvY2hlY2tOYW1lc3BhY2VBdmFpbGFiaWxpdHk=/V/MjAxNy0wNC0wMQ=="}], "commandGroups": [{"name": "notification-hub namespace", "commands": [{"name": "check-availability", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/providers/microsoft.notificationhubs/checknamespaceavailability", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0Lk5vdGlmaWNhdGlvbkh1YnMvY2hlY2tOYW1lc3BhY2VBdmFpbGFiaWxpdHk=/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Parameters", "args": [{"type": "boolean", "var": "$parameters.isAvailiable", "options": ["is-availiable"], "hide": true, "group": "Parameters", "help": {"short": "True if the name is available and can be used to create new Namespace/NotificationHub. Otherwise false."}}, {"type": "string", "var": "$parameters.location", "options": ["location"], "hide": true, "group": "Parameters", "help": {"short": "Resource location"}}, {"type": "string", "var": "$parameters.name", "options": ["n", "name"], "required": true, "group": "Parameters", "help": {"short": "Resource name"}}, {"type": "object", "var": "$parameters.sku", "options": ["sku"], "hide": true, "group": "Parameters", "help": {"short": "The sku of the created namespace"}, "args": [{"type": "integer", "var": "$parameters.sku.capacity", "options": ["capacity"], "hide": true, "group": "Sku", "help": {"short": "The capacity of the resource"}}, {"type": "string", "var": "$parameters.sku.family", "options": ["family"], "hide": true, "group": "Sku", "help": {"short": "The Sku Family"}}, {"type": "string", "var": "$parameters.sku.name", "options": ["name"], "required": true, "help": {"short": "Name of the notification hub sku"}, "enum": {"items": [{"name": "Basic", "value": "Basic"}, {"name": "Free", "value": "Free"}, {"name": "Standard", "value": "Standard"}]}}, {"type": "string", "var": "$parameters.sku.size", "options": ["size"], "hide": true, "group": "Sku", "help": {"short": "The Sku size"}}, {"type": "string", "var": "$parameters.sku.tier", "options": ["tier"], "hide": true, "group": "Sku", "help": {"short": "The tier of particular sku"}}]}, {"type": "object", "var": "$parameters.tags", "options": ["tags"], "hide": true, "group": "Parameters", "help": {"short": "Resource tags"}, "additionalProps": {"item": {"type": "string"}}}]}], "operations": [{"operationId": "Namespaces_CheckAvailability", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.NotificationHubs/checkNamespaceAvailability", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "boolean", "name": "isAvailiable", "arg": "$parameters.isAvailiable"}, {"type": "string", "name": "location", "arg": "$parameters.location"}, {"type": "string", "name": "name", "arg": "$parameters.name", "required": true}, {"type": "object", "name": "sku", "arg": "$parameters.sku", "props": [{"type": "integer", "name": "capacity", "arg": "$parameters.sku.capacity"}, {"type": "string", "name": "family", "arg": "$parameters.sku.family"}, {"type": "string", "name": "name", "arg": "$parameters.sku.name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size", "arg": "$parameters.sku.size"}, {"type": "string", "name": "tier", "arg": "$parameters.sku.tier"}]}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "id"}, {"type": "boolean", "name": "isAvailiable"}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL2NoZWNrbmFtZXNwYWNlYXZhaWxhYmlsaXR5/2017-04-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL2NoZWNrbmFtZXNwYWNlYXZhaWxhYmlsaXR5/2017-04-01.xml new file mode 100644 index 000000000..ccf3d4551 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL2NoZWNrbmFtZXNwYWNlYXZhaWxhYmlsaXR5/2017-04-01.xml @@ -0,0 +1,132 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXM=/2017-04-01.md b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXM=/2017-04-01.md new file mode 100644 index 000000000..364360f57 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXM=/2017-04-01.md @@ -0,0 +1 @@ +Reference [/subscriptions/{}/providers/microsoft.notificationhubs/namespaces 2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXM=/2017-04-01.xml) diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30=/2017-04-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30=/2017-04-01.json new file mode 100644 index 000000000..07b19f9b7 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30=/2017-04-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfQ==/V/MjAxNy0wNC0wMQ=="}], "commandGroups": [{"name": "notification-hub namespace", "commands": [{"name": "show", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfQ==/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The namespace name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "Namespaces_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.NotificationHubs/namespaces/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "boolean", "name": "critical"}, {"type": "string", "name": "dataCenter"}, {"type": "boolean", "name": "enabled"}, {"readOnly": true, "type": "string", "name": "metricId"}, {"type": "string", "name": "name"}, {"type": "string", "name": "namespaceType", "enum": {"items": [{"value": "Messaging"}, {"value": "NotificationHub"}]}}, {"type": "string", "name": "provisioningState"}, {"type": "string", "name": "region"}, {"type": "string", "name": "scaleUnit"}, {"type": "string", "name": "serviceBusEndpoint"}, {"type": "string", "name": "status"}, {"type": "string", "name": "subscriptionId"}, {"type": "dateTime", "name": "updatedAt"}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "delete", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfQ==/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The namespace name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Namespaces_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfQ==/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The namespace name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Parameters", "args": [{"type": "ResourceLocation", "var": "$parameters.location", "options": ["l", "location"], "required": true, "group": "Parameters", "help": {"short": "Resource location"}}, {"type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "Parameters", "help": {"short": "Resource tags"}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Properties", "args": [{"type": "dateTime", "var": "$parameters.properties.createdAt", "options": ["created-at"], "hide": true, "group": "Properties", "help": {"short": "The time the namespace was created."}}, {"type": "boolean", "var": "$parameters.properties.critical", "options": ["critical"], "hide": true, "group": "Properties", "help": {"short": "Whether or not the namespace is set as Critical."}}, {"type": "string", "var": "$parameters.properties.dataCenter", "options": ["data-center"], "hide": true, "group": "Properties", "help": {"short": "Data center for the namespace"}}, {"type": "boolean", "var": "$parameters.properties.enabled", "options": ["enabled"], "hide": true, "group": "Properties", "help": {"short": "Whether or not the namespace is currently enabled."}}, {"type": "string", "var": "$parameters.properties.namespaceType", "options": ["namespace-type"], "hide": true, "group": "Properties", "help": {"short": "The namespace type."}, "enum": {"items": [{"name": "Messaging", "value": "Messaging"}, {"name": "NotificationHub", "value": "NotificationHub"}]}}, {"type": "string", "var": "$parameters.properties.provisioningState", "options": ["provisioning-state"], "hide": true, "group": "Properties", "help": {"short": "Provisioning state of the Namespace."}}, {"type": "string", "var": "$parameters.properties.region", "options": ["region"], "hide": true, "group": "Properties", "help": {"short": "Specifies the targeted region in which the namespace should be created. It can be any of the following values: Australia East, Australia Southeast, Central US, East US, East US 2, West US, North Central US, South Central US, East Asia, Southeast Asia, Brazil South, Japan East, Japan West, North Europe, West Europe"}}, {"type": "string", "var": "$parameters.properties.scaleUnit", "options": ["scale-unit"], "hide": true, "group": "Properties", "help": {"short": "ScaleUnit where the namespace gets created"}}, {"type": "string", "var": "$parameters.properties.serviceBusEndpoint", "options": ["service-bus-endpoint"], "hide": true, "group": "Properties", "help": {"short": "Endpoint you can use to perform NotificationHub operations."}}, {"type": "string", "var": "$parameters.properties.status", "options": ["status"], "hide": true, "group": "Properties", "help": {"short": "Status of the namespace. It can be any of these values:1 = Created/Active2 = Creating3 = Suspended4 = Deleting"}}, {"type": "string", "var": "$parameters.properties.subscriptionId", "options": ["subscription-id"], "hide": true, "group": "Properties", "help": {"short": "The Id of the Azure subscription associated with the namespace."}}, {"type": "dateTime", "var": "$parameters.properties.updatedAt", "options": ["updated-at"], "hide": true, "group": "Properties", "help": {"short": "The time the namespace was updated."}}]}, {"name": "Sku", "args": [{"type": "integer", "var": "$parameters.sku.capacity", "options": ["capacity"], "hide": true, "group": "Sku", "help": {"short": "The capacity of the resource"}}, {"type": "string", "var": "$parameters.sku.family", "options": ["family"], "hide": true, "group": "Sku", "help": {"short": "The Sku Family"}}, {"type": "string", "var": "$parameters.sku.name", "options": ["sku"], "group": "Sku", "help": {"short": "Name of the notification hub sku"}, "enum": {"items": [{"name": "Basic", "value": "Basic"}, {"name": "Free", "value": "Free"}, {"name": "Standard", "value": "Standard"}]}}, {"type": "string", "var": "$parameters.sku.size", "options": ["size"], "hide": true, "group": "Sku", "help": {"short": "The Sku size"}}, {"type": "string", "var": "$parameters.sku.tier", "options": ["tier"], "hide": true, "group": "Sku", "help": {"short": "The tier of particular sku"}}]}], "operations": [{"operationId": "Namespaces_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "ResourceLocation", "name": "location", "arg": "$parameters.location", "required": true}, {"type": "object", "name": "properties", "props": [{"type": "dateTime", "name": "createdAt", "arg": "$parameters.properties.createdAt"}, {"type": "boolean", "name": "critical", "arg": "$parameters.properties.critical"}, {"type": "string", "name": "dataCenter", "arg": "$parameters.properties.dataCenter"}, {"type": "boolean", "name": "enabled", "arg": "$parameters.properties.enabled"}, {"type": "string", "name": "name", "arg": "$Path.namespaceName"}, {"type": "string", "name": "namespaceType", "arg": "$parameters.properties.namespaceType", "enum": {"items": [{"value": "Messaging"}, {"value": "NotificationHub"}]}}, {"type": "string", "name": "provisioningState", "arg": "$parameters.properties.provisioningState"}, {"type": "string", "name": "region", "arg": "$parameters.properties.region"}, {"type": "string", "name": "scaleUnit", "arg": "$parameters.properties.scaleUnit"}, {"type": "string", "name": "serviceBusEndpoint", "arg": "$parameters.properties.serviceBusEndpoint"}, {"type": "string", "name": "status", "arg": "$parameters.properties.status"}, {"type": "string", "name": "subscriptionId", "arg": "$parameters.properties.subscriptionId"}, {"type": "dateTime", "name": "updatedAt", "arg": "$parameters.properties.updatedAt"}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity", "arg": "$parameters.sku.capacity"}, {"type": "string", "name": "family", "arg": "$parameters.sku.family"}, {"type": "string", "name": "name", "arg": "$parameters.sku.name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size", "arg": "$parameters.sku.size"}, {"type": "string", "name": "tier", "arg": "$parameters.sku.tier"}]}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.NotificationHubs/namespaces/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "boolean", "name": "critical"}, {"type": "string", "name": "dataCenter"}, {"type": "boolean", "name": "enabled"}, {"readOnly": true, "type": "string", "name": "metricId"}, {"type": "string", "name": "name"}, {"type": "string", "name": "namespaceType", "enum": {"items": [{"value": "Messaging"}, {"value": "NotificationHub"}]}}, {"type": "string", "name": "provisioningState"}, {"type": "string", "name": "region"}, {"type": "string", "name": "scaleUnit"}, {"type": "string", "name": "serviceBusEndpoint"}, {"type": "string", "name": "status"}, {"type": "string", "name": "subscriptionId"}, {"type": "dateTime", "name": "updatedAt"}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfQ==/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The namespace name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Parameters", "args": [{"type": "ResourceLocation", "var": "$parameters.location", "options": ["l", "location"], "group": "Parameters", "help": {"short": "Resource location"}}, {"nullable": true, "type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "Parameters", "help": {"short": "Resource tags"}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "dateTime", "var": "$parameters.properties.createdAt", "options": ["created-at"], "hide": true, "group": "Properties", "help": {"short": "The time the namespace was created."}}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.critical", "options": ["critical"], "hide": true, "group": "Properties", "help": {"short": "Whether or not the namespace is set as Critical."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.dataCenter", "options": ["data-center"], "hide": true, "group": "Properties", "help": {"short": "Data center for the namespace"}}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.enabled", "options": ["enabled"], "hide": true, "group": "Properties", "help": {"short": "Whether or not the namespace is currently enabled."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.namespaceType", "options": ["namespace-type"], "hide": true, "group": "Properties", "help": {"short": "The namespace type."}, "enum": {"items": [{"name": "Messaging", "value": "Messaging"}, {"name": "NotificationHub", "value": "NotificationHub"}]}}, {"nullable": true, "type": "string", "var": "$parameters.properties.provisioningState", "options": ["provisioning-state"], "hide": true, "group": "Properties", "help": {"short": "Provisioning state of the Namespace."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.region", "options": ["region"], "hide": true, "group": "Properties", "help": {"short": "Specifies the targeted region in which the namespace should be created. It can be any of the following values: Australia East, Australia Southeast, Central US, East US, East US 2, West US, North Central US, South Central US, East Asia, Southeast Asia, Brazil South, Japan East, Japan West, North Europe, West Europe"}}, {"nullable": true, "type": "string", "var": "$parameters.properties.scaleUnit", "options": ["scale-unit"], "hide": true, "group": "Properties", "help": {"short": "ScaleUnit where the namespace gets created"}}, {"nullable": true, "type": "string", "var": "$parameters.properties.serviceBusEndpoint", "options": ["service-bus-endpoint"], "hide": true, "group": "Properties", "help": {"short": "Endpoint you can use to perform NotificationHub operations."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.status", "options": ["status"], "hide": true, "group": "Properties", "help": {"short": "Status of the namespace. It can be any of these values:1 = Created/Active2 = Creating3 = Suspended4 = Deleting"}}, {"nullable": true, "type": "string", "var": "$parameters.properties.subscriptionId", "options": ["subscription-id"], "hide": true, "group": "Properties", "help": {"short": "The Id of the Azure subscription associated with the namespace."}}, {"nullable": true, "type": "dateTime", "var": "$parameters.properties.updatedAt", "options": ["updated-at"], "hide": true, "group": "Properties", "help": {"short": "The time the namespace was updated."}}]}, {"name": "Sku", "args": [{"nullable": true, "type": "integer", "var": "$parameters.sku.capacity", "options": ["capacity"], "hide": true, "group": "Sku", "help": {"short": "The capacity of the resource"}}, {"nullable": true, "type": "string", "var": "$parameters.sku.family", "options": ["family"], "hide": true, "group": "Sku", "help": {"short": "The Sku Family"}}, {"type": "string", "var": "$parameters.sku.name", "options": ["sku"], "group": "Sku", "help": {"short": "Name of the notification hub sku"}, "enum": {"items": [{"name": "Basic", "value": "Basic"}, {"name": "Free", "value": "Free"}, {"name": "Standard", "value": "Standard"}]}}, {"nullable": true, "type": "string", "var": "$parameters.sku.size", "options": ["size"], "hide": true, "group": "Sku", "help": {"short": "The Sku size"}}, {"nullable": true, "type": "string", "var": "$parameters.sku.tier", "options": ["tier"], "hide": true, "group": "Sku", "help": {"short": "The tier of particular sku"}}]}], "operations": [{"operationId": "Namespaces_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.NotificationHubs/namespaces/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "boolean", "name": "critical"}, {"type": "string", "name": "dataCenter"}, {"type": "boolean", "name": "enabled"}, {"readOnly": true, "type": "string", "name": "metricId"}, {"type": "string", "name": "name"}, {"type": "string", "name": "namespaceType", "enum": {"items": [{"value": "Messaging"}, {"value": "NotificationHub"}]}}, {"type": "string", "name": "provisioningState"}, {"type": "string", "name": "region"}, {"type": "string", "name": "scaleUnit"}, {"type": "string", "name": "serviceBusEndpoint"}, {"type": "string", "name": "status"}, {"type": "string", "name": "subscriptionId"}, {"type": "dateTime", "name": "updatedAt"}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "NamespaceResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "ResourceLocation", "name": "location", "arg": "$parameters.location", "required": true}, {"type": "object", "name": "properties", "props": [{"type": "dateTime", "name": "createdAt", "arg": "$parameters.properties.createdAt"}, {"type": "boolean", "name": "critical", "arg": "$parameters.properties.critical"}, {"type": "string", "name": "dataCenter", "arg": "$parameters.properties.dataCenter"}, {"type": "boolean", "name": "enabled", "arg": "$parameters.properties.enabled"}, {"type": "string", "name": "name", "arg": "$Path.namespaceName"}, {"type": "string", "name": "namespaceType", "arg": "$parameters.properties.namespaceType", "enum": {"items": [{"value": "Messaging"}, {"value": "NotificationHub"}]}}, {"type": "string", "name": "provisioningState", "arg": "$parameters.properties.provisioningState"}, {"type": "string", "name": "region", "arg": "$parameters.properties.region"}, {"type": "string", "name": "scaleUnit", "arg": "$parameters.properties.scaleUnit"}, {"type": "string", "name": "serviceBusEndpoint", "arg": "$parameters.properties.serviceBusEndpoint"}, {"type": "string", "name": "status", "arg": "$parameters.properties.status"}, {"type": "string", "name": "subscriptionId", "arg": "$parameters.properties.subscriptionId"}, {"type": "dateTime", "name": "updatedAt", "arg": "$parameters.properties.updatedAt"}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity", "arg": "$parameters.sku.capacity"}, {"type": "string", "name": "family", "arg": "$parameters.sku.family"}, {"type": "string", "name": "name", "arg": "$parameters.sku.name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size", "arg": "$parameters.sku.size"}, {"type": "string", "name": "tier", "arg": "$parameters.sku.tier"}]}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"operationId": "Namespaces_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@NamespaceResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30=/2017-04-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30=/2017-04-01.xml new file mode 100644 index 000000000..1ee3f0dfa --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30=/2017-04-01.xml @@ -0,0 +1,579 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vY2hlY2tub3RpZmljYXRpb25odWJhdmFpbGFiaWxpdHk=/2017-04-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vY2hlY2tub3RpZmljYXRpb25odWJhdmFpbGFiaWxpdHk=/2017-04-01.json new file mode 100644 index 000000000..58aae0cc7 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vY2hlY2tub3RpZmljYXRpb25odWJhdmFpbGFiaWxpdHk=/2017-04-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/checknotificationhubavailability", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9jaGVja05vdGlmaWNhdGlvbkh1YkF2YWlsYWJpbGl0eQ==/V/MjAxNy0wNC0wMQ=="}], "commandGroups": [{"name": "notification-hub", "commands": [{"name": "check-availability", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/checknotificationhubavailability", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9jaGVja05vdGlmaWNhdGlvbkh1YkF2YWlsYWJpbGl0eQ==/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Parameters", "args": [{"type": "boolean", "var": "$parameters.isAvailiable", "options": ["is-availiable"], "hide": true, "group": "Parameters", "help": {"short": "True if the name is available and can be used to create new Namespace/NotificationHub. Otherwise false."}}, {"type": "string", "var": "$parameters.location", "options": ["location"], "hide": true, "group": "Parameters", "help": {"short": "Resource location"}}, {"type": "string", "var": "$parameters.name", "options": ["n", "name"], "required": true, "group": "Parameters", "help": {"short": "Resource name"}}, {"type": "object", "var": "$parameters.sku", "options": ["sku"], "hide": true, "group": "Parameters", "help": {"short": "The sku of the created namespace"}, "args": [{"type": "integer", "var": "$parameters.sku.capacity", "options": ["capacity"], "hide": true, "group": "Sku", "help": {"short": "The capacity of the resource"}}, {"type": "string", "var": "$parameters.sku.family", "options": ["family"], "hide": true, "group": "Sku", "help": {"short": "The Sku Family"}}, {"type": "string", "var": "$parameters.sku.name", "options": ["name"], "required": true, "help": {"short": "Name of the notification hub sku"}, "enum": {"items": [{"name": "Basic", "value": "Basic"}, {"name": "Free", "value": "Free"}, {"name": "Standard", "value": "Standard"}]}}, {"type": "string", "var": "$parameters.sku.size", "options": ["size"], "hide": true, "group": "Sku", "help": {"short": "The Sku size"}}, {"type": "string", "var": "$parameters.sku.tier", "options": ["tier"], "hide": true, "group": "Sku", "help": {"short": "The tier of particular sku"}}]}, {"type": "object", "var": "$parameters.tags", "options": ["tags"], "hide": true, "group": "Parameters", "help": {"short": "Resource tags"}, "additionalProps": {"item": {"type": "string"}}}]}], "operations": [{"operationId": "NotificationHubs_CheckNotificationHubAvailability", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/checkNotificationHubAvailability", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "boolean", "name": "isAvailiable", "arg": "$parameters.isAvailiable"}, {"type": "string", "name": "location", "arg": "$parameters.location"}, {"type": "string", "name": "name", "arg": "$parameters.name", "required": true}, {"type": "object", "name": "sku", "arg": "$parameters.sku", "props": [{"type": "integer", "name": "capacity", "arg": "$parameters.sku.capacity"}, {"type": "string", "name": "family", "arg": "$parameters.sku.family"}, {"type": "string", "name": "name", "arg": "$parameters.sku.name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size", "arg": "$parameters.sku.size"}, {"type": "string", "name": "tier", "arg": "$parameters.sku.tier"}]}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "id"}, {"type": "boolean", "name": "isAvailiable"}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vY2hlY2tub3RpZmljYXRpb25odWJhdmFpbGFiaWxpdHk=/2017-04-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vY2hlY2tub3RpZmljYXRpb25odWJhdmFpbGFiaWxpdHk=/2017-04-01.xml new file mode 100644 index 000000000..b3ccf4ab8 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vY2hlY2tub3RpZmljYXRpb25odWJhdmFpbGFiaWxpdHk=/2017-04-01.xml @@ -0,0 +1,138 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vYXV0aG9yaXphdGlvbnJ1bGVz/2017-04-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vYXV0aG9yaXphdGlvbnJ1bGVz/2017-04-01.json new file mode 100644 index 000000000..ea3b319c0 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vYXV0aG9yaXphdGlvbnJ1bGVz/2017-04-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/authorizationrules", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9BdXRob3JpemF0aW9uUnVsZXM=/V/MjAxNy0wNC0wMQ=="}], "commandGroups": [{"name": "notification-hub namespace authorization-rule", "commands": [{"name": "list", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/authorizationrules", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9BdXRob3JpemF0aW9uUnVsZXM=/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "Namespaces_ListAuthorizationRules", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/AuthorizationRules", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "claimType"}, {"readOnly": true, "type": "string", "name": "claimValue"}, {"readOnly": true, "type": "string", "name": "createdTime"}, {"readOnly": true, "type": "string", "name": "keyName"}, {"readOnly": true, "type": "string", "name": "modifiedTime"}, {"readOnly": true, "type": "string", "name": "primaryKey"}, {"readOnly": true, "type": "integer", "name": "revision"}, {"type": "array", "name": "rights", "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}, {"readOnly": true, "type": "string", "name": "secondaryKey"}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vYXV0aG9yaXphdGlvbnJ1bGVz/2017-04-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vYXV0aG9yaXphdGlvbnJ1bGVz/2017-04-01.xml new file mode 100644 index 000000000..80220ec95 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vYXV0aG9yaXphdGlvbnJ1bGVz/2017-04-01.xml @@ -0,0 +1,94 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vYXV0aG9yaXphdGlvbnJ1bGVzL3t9/2017-04-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vYXV0aG9yaXphdGlvbnJ1bGVzL3t9/2017-04-01.json new file mode 100644 index 000000000..90993b968 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vYXV0aG9yaXphdGlvbnJ1bGVzL3t9/2017-04-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/authorizationrules/{}", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9BdXRob3JpemF0aW9uUnVsZXMve2F1dGhvcml6YXRpb25SdWxlTmFtZX0=/V/MjAxNy0wNC0wMQ=="}], "commandGroups": [{"name": "notification-hub namespace authorization-rule", "commands": [{"name": "show", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/authorizationrules/{}", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9BdXRob3JpemF0aW9uUnVsZXMve2F1dGhvcml6YXRpb25SdWxlTmFtZX0=/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.authorizationRuleName", "options": ["n", "name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "Authorization Rule Name."}}, {"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "Namespaces_GetAuthorizationRule", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/AuthorizationRules/{authorizationRuleName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "authorizationRuleName", "arg": "$Path.authorizationRuleName", "required": true}, {"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "claimType"}, {"readOnly": true, "type": "string", "name": "claimValue"}, {"readOnly": true, "type": "string", "name": "createdTime"}, {"readOnly": true, "type": "string", "name": "keyName"}, {"readOnly": true, "type": "string", "name": "modifiedTime"}, {"readOnly": true, "type": "string", "name": "primaryKey"}, {"readOnly": true, "type": "integer", "name": "revision"}, {"type": "array", "name": "rights", "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}, {"readOnly": true, "type": "string", "name": "secondaryKey"}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "delete", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/authorizationrules/{}", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9BdXRob3JpemF0aW9uUnVsZXMve2F1dGhvcml6YXRpb25SdWxlTmFtZX0=/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.authorizationRuleName", "options": ["n", "name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "Authorization Rule Name."}}, {"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "Namespaces_DeleteAuthorizationRule", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/AuthorizationRules/{authorizationRuleName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "authorizationRuleName", "arg": "$Path.authorizationRuleName", "required": true}, {"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/authorizationrules/{}", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9BdXRob3JpemF0aW9uUnVsZXMve2F1dGhvcml6YXRpb25SdWxlTmFtZX0=/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.authorizationRuleName", "options": ["n", "name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "Authorization Rule Name."}}, {"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"type": "array", "var": "$parameters.properties.rights", "options": ["rights"], "group": "Properties", "help": {"short": "The rights associated with the rule."}, "item": {"type": "string", "enum": {"items": [{"name": "Listen", "value": "Listen"}, {"name": "Manage", "value": "Manage"}, {"name": "Send", "value": "Send"}]}}}]}], "operations": [{"operationId": "Namespaces_CreateOrUpdateAuthorizationRule", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/AuthorizationRules/{authorizationRuleName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "authorizationRuleName", "arg": "$Path.authorizationRuleName", "required": true}, {"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "object", "name": "properties", "required": true, "props": [{"type": "array", "name": "rights", "arg": "$parameters.properties.rights", "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}]}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "claimType"}, {"readOnly": true, "type": "string", "name": "claimValue"}, {"readOnly": true, "type": "string", "name": "createdTime"}, {"readOnly": true, "type": "string", "name": "keyName"}, {"readOnly": true, "type": "string", "name": "modifiedTime"}, {"readOnly": true, "type": "string", "name": "primaryKey"}, {"readOnly": true, "type": "integer", "name": "revision"}, {"type": "array", "name": "rights", "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}, {"readOnly": true, "type": "string", "name": "secondaryKey"}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/authorizationrules/{}", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9BdXRob3JpemF0aW9uUnVsZXMve2F1dGhvcml6YXRpb25SdWxlTmFtZX0=/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.authorizationRuleName", "options": ["n", "name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "Authorization Rule Name."}}, {"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"nullable": true, "type": "array", "var": "$parameters.properties.rights", "options": ["rights"], "group": "Properties", "help": {"short": "The rights associated with the rule."}, "item": {"nullable": true, "type": "string", "enum": {"items": [{"name": "Listen", "value": "Listen"}, {"name": "Manage", "value": "Manage"}, {"name": "Send", "value": "Send"}]}}}]}], "operations": [{"operationId": "Namespaces_GetAuthorizationRule", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/AuthorizationRules/{authorizationRuleName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "authorizationRuleName", "arg": "$Path.authorizationRuleName", "required": true}, {"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "claimType"}, {"readOnly": true, "type": "string", "name": "claimValue"}, {"readOnly": true, "type": "string", "name": "createdTime"}, {"readOnly": true, "type": "string", "name": "keyName"}, {"readOnly": true, "type": "string", "name": "modifiedTime"}, {"readOnly": true, "type": "string", "name": "primaryKey"}, {"readOnly": true, "type": "integer", "name": "revision"}, {"type": "array", "name": "rights", "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}, {"readOnly": true, "type": "string", "name": "secondaryKey"}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "SharedAccessAuthorizationRuleResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "object", "name": "properties", "required": true, "props": [{"type": "array", "name": "rights", "arg": "$parameters.properties.rights", "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}]}], "clientFlatten": true}}}}, {"operationId": "Namespaces_CreateOrUpdateAuthorizationRule", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/AuthorizationRules/{authorizationRuleName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "authorizationRuleName", "arg": "$Path.authorizationRuleName", "required": true}, {"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "@SharedAccessAuthorizationRuleResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vYXV0aG9yaXphdGlvbnJ1bGVzL3t9/2017-04-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vYXV0aG9yaXphdGlvbnJ1bGVzL3t9/2017-04-01.xml new file mode 100644 index 000000000..bc1a7d21b --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vYXV0aG9yaXphdGlvbnJ1bGVzL3t9/2017-04-01.xml @@ -0,0 +1,400 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vYXV0aG9yaXphdGlvbnJ1bGVzL3t9L2xpc3RrZXlz/2017-04-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vYXV0aG9yaXphdGlvbnJ1bGVzL3t9L2xpc3RrZXlz/2017-04-01.json new file mode 100644 index 000000000..e457730bc --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vYXV0aG9yaXphdGlvbnJ1bGVzL3t9L2xpc3RrZXlz/2017-04-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/authorizationrules/{}/listkeys", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9BdXRob3JpemF0aW9uUnVsZXMve2F1dGhvcml6YXRpb25SdWxlTmFtZX0vbGlzdEtleXM=/V/MjAxNy0wNC0wMQ=="}], "commandGroups": [{"name": "notification-hub namespace authorization-rule", "commands": [{"name": "list-keys", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/authorizationrules/{}/listkeys", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9BdXRob3JpemF0aW9uUnVsZXMve2F1dGhvcml6YXRpb25SdWxlTmFtZX0vbGlzdEtleXM=/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.authorizationRuleName", "options": ["n", "name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The connection string of the namespace for the specified authorizationRule."}}, {"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "Namespaces_ListKeys", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/AuthorizationRules/{authorizationRuleName}/listKeys", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "authorizationRuleName", "arg": "$Path.authorizationRuleName", "required": true}, {"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "keyName"}, {"type": "string", "name": "primaryConnectionString"}, {"type": "string", "name": "primaryKey"}, {"type": "string", "name": "secondaryConnectionString"}, {"type": "string", "name": "secondaryKey"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vYXV0aG9yaXphdGlvbnJ1bGVzL3t9L2xpc3RrZXlz/2017-04-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vYXV0aG9yaXphdGlvbnJ1bGVzL3t9L2xpc3RrZXlz/2017-04-01.xml new file mode 100644 index 000000000..3bf66cc11 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vYXV0aG9yaXphdGlvbnJ1bGVzL3t9L2xpc3RrZXlz/2017-04-01.xml @@ -0,0 +1,57 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vYXV0aG9yaXphdGlvbnJ1bGVzL3t9L3JlZ2VuZXJhdGVrZXlz/2017-04-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vYXV0aG9yaXphdGlvbnJ1bGVzL3t9L3JlZ2VuZXJhdGVrZXlz/2017-04-01.json new file mode 100644 index 000000000..24a1d74d5 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vYXV0aG9yaXphdGlvbnJ1bGVzL3t9L3JlZ2VuZXJhdGVrZXlz/2017-04-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/authorizationrules/{}/regeneratekeys", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9BdXRob3JpemF0aW9uUnVsZXMve2F1dGhvcml6YXRpb25SdWxlTmFtZX0vcmVnZW5lcmF0ZUtleXM=/V/MjAxNy0wNC0wMQ=="}], "commandGroups": [{"name": "notification-hub namespace authorization-rule", "commands": [{"name": "regenerate-keys", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/authorizationrules/{}/regeneratekeys", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9BdXRob3JpemF0aW9uUnVsZXMve2F1dGhvcml6YXRpb25SdWxlTmFtZX0vcmVnZW5lcmF0ZUtleXM=/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.authorizationRuleName", "options": ["n", "name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The connection string of the namespace for the specified authorizationRule."}}, {"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Parameters", "args": [{"type": "string", "var": "$parameters.policyKey", "options": ["policy-key"], "group": "Parameters", "help": {"short": "Name of the key that has to be regenerated for the Namespace/Notification Hub Authorization Rule. The value can be Primary Key/Secondary Key."}}]}], "operations": [{"operationId": "Namespaces_RegenerateKeys", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/AuthorizationRules/{authorizationRuleName}/regenerateKeys", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "authorizationRuleName", "arg": "$Path.authorizationRuleName", "required": true}, {"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "string", "name": "policyKey", "arg": "$parameters.policyKey"}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "keyName"}, {"type": "string", "name": "primaryConnectionString"}, {"type": "string", "name": "primaryKey"}, {"type": "string", "name": "secondaryConnectionString"}, {"type": "string", "name": "secondaryKey"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vYXV0aG9yaXphdGlvbnJ1bGVzL3t9L3JlZ2VuZXJhdGVrZXlz/2017-04-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vYXV0aG9yaXphdGlvbnJ1bGVzL3t9L3JlZ2VuZXJhdGVrZXlz/2017-04-01.xml new file mode 100644 index 000000000..a5bab5f1e --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vYXV0aG9yaXphdGlvbnJ1bGVzL3t9L3JlZ2VuZXJhdGVrZXlz/2017-04-01.xml @@ -0,0 +1,69 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicw==/2017-04-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicw==/2017-04-01.json new file mode 100644 index 000000000..e52927c4b --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicw==/2017-04-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9ub3RpZmljYXRpb25IdWJz/V/MjAxNy0wNC0wMQ=="}], "commandGroups": [{"name": "notification-hub", "commands": [{"name": "list", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9ub3RpZmljYXRpb25IdWJz/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "NotificationHubs_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.NotificationHubs/namespaces/{}/notificationHubs/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "admCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "authTokenUrl"}, {"type": "string", "name": "clientId"}, {"type": "string", "name": "clientSecret"}], "clientFlatten": true}]}, {"type": "object", "name": "apnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "apnsCertificate"}, {"type": "string", "name": "appId"}, {"type": "string", "name": "appName"}, {"type": "string", "name": "certificateKey"}, {"type": "string", "name": "endpoint"}, {"type": "string", "name": "keyId"}, {"type": "string", "name": "thumbprint"}, {"type": "string", "name": "token"}], "clientFlatten": true}]}, {"type": "array", "name": "authorizationRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "claimType"}, {"readOnly": true, "type": "string", "name": "claimValue"}, {"readOnly": true, "type": "string", "name": "createdTime"}, {"readOnly": true, "type": "string", "name": "keyName"}, {"readOnly": true, "type": "string", "name": "modifiedTime"}, {"readOnly": true, "type": "string", "name": "primaryKey"}, {"readOnly": true, "type": "integer", "name": "revision"}, {"type": "array", "name": "rights", "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}, {"readOnly": true, "type": "string", "name": "secondaryKey"}]}}, {"type": "object", "name": "baiduCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "baiduApiKey"}, {"type": "string", "name": "baiduEndPoint"}, {"type": "string", "name": "baiduSecretKey"}], "clientFlatten": true}]}, {"type": "object", "name": "gcmCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "gcmEndpoint"}, {"type": "string", "name": "googleApiKey"}], "clientFlatten": true}]}, {"type": "object", "name": "mpnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "certificateKey"}, {"type": "string", "name": "mpnsCertificate"}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}, {"type": "string", "name": "name"}, {"type": "string", "name": "registrationTtl"}, {"type": "object", "name": "wnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "packageSid"}, {"type": "string", "name": "secretKey"}, {"type": "string", "name": "windowsLiveEndpoint"}], "clientFlatten": true}]}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicw==/2017-04-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicw==/2017-04-01.xml new file mode 100644 index 000000000..1bde55d84 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicw==/2017-04-01.xml @@ -0,0 +1,148 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fQ==/2017-04-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fQ==/2017-04-01.json new file mode 100644 index 000000000..b8eed5c71 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fQ==/2017-04-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9ub3RpZmljYXRpb25IdWJzL3tub3RpZmljYXRpb25IdWJOYW1lfQ==/V/MjAxNy0wNC0wMQ=="}], "commandGroups": [{"name": "notification-hub", "commands": [{"name": "show", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9ub3RpZmljYXRpb25IdWJzL3tub3RpZmljYXRpb25IdWJOYW1lfQ==/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name."}}, {"type": "string", "var": "$Path.notificationHubName", "options": ["n", "name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The notification hub name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "NotificationHubs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.NotificationHubs/namespaces/{}/notificationHubs/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "admCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "authTokenUrl"}, {"type": "string", "name": "clientId"}, {"type": "string", "name": "clientSecret"}], "clientFlatten": true}]}, {"type": "object", "name": "apnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "apnsCertificate"}, {"type": "string", "name": "appId"}, {"type": "string", "name": "appName"}, {"type": "string", "name": "certificateKey"}, {"type": "string", "name": "endpoint"}, {"type": "string", "name": "keyId"}, {"type": "string", "name": "thumbprint"}, {"type": "string", "name": "token"}], "clientFlatten": true}]}, {"type": "array", "name": "authorizationRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "claimType"}, {"readOnly": true, "type": "string", "name": "claimValue"}, {"readOnly": true, "type": "string", "name": "createdTime"}, {"readOnly": true, "type": "string", "name": "keyName"}, {"readOnly": true, "type": "string", "name": "modifiedTime"}, {"readOnly": true, "type": "string", "name": "primaryKey"}, {"readOnly": true, "type": "integer", "name": "revision"}, {"type": "array", "name": "rights", "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}, {"readOnly": true, "type": "string", "name": "secondaryKey"}]}}, {"type": "object", "name": "baiduCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "baiduApiKey"}, {"type": "string", "name": "baiduEndPoint"}, {"type": "string", "name": "baiduSecretKey"}], "clientFlatten": true}]}, {"type": "object", "name": "gcmCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "gcmEndpoint"}, {"type": "string", "name": "googleApiKey"}], "clientFlatten": true}]}, {"type": "object", "name": "mpnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "certificateKey"}, {"type": "string", "name": "mpnsCertificate"}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}, {"type": "string", "name": "name"}, {"type": "string", "name": "registrationTtl"}, {"type": "object", "name": "wnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "packageSid"}, {"type": "string", "name": "secretKey"}, {"type": "string", "name": "windowsLiveEndpoint"}], "clientFlatten": true}]}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "delete", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9ub3RpZmljYXRpb25IdWJzL3tub3RpZmljYXRpb25IdWJOYW1lfQ==/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name."}}, {"type": "string", "var": "$Path.notificationHubName", "options": ["n", "name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The notification hub name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "NotificationHubs_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9ub3RpZmljYXRpb25IdWJzL3tub3RpZmljYXRpb25IdWJOYW1lfQ==/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name."}}, {"type": "string", "var": "$Path.notificationHubName", "options": ["n", "name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The notification hub name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Parameters", "args": [{"type": "ResourceLocation", "var": "$parameters.location", "options": ["l", "location"], "group": "Parameters", "help": {"short": "Resource location"}}, {"type": "object", "var": "$parameters.sku", "options": ["sku"], "hide": true, "group": "Parameters", "help": {"short": "The sku of the created namespace"}, "args": [{"type": "integer", "var": "$parameters.sku.capacity", "options": ["capacity"], "hide": true, "group": "Sku", "help": {"short": "The capacity of the resource"}}, {"type": "string", "var": "$parameters.sku.family", "options": ["family"], "hide": true, "group": "Sku", "help": {"short": "The Sku Family"}}, {"type": "string", "var": "$parameters.sku.name", "options": ["name"], "required": true, "help": {"short": "Name of the notification hub sku"}, "enum": {"items": [{"name": "Basic", "value": "Basic"}, {"name": "Free", "value": "Free"}, {"name": "Standard", "value": "Standard"}]}}, {"type": "string", "var": "$parameters.sku.size", "options": ["size"], "hide": true, "group": "Sku", "help": {"short": "The Sku size"}}, {"type": "string", "var": "$parameters.sku.tier", "options": ["tier"], "hide": true, "group": "Sku", "help": {"short": "The tier of particular sku"}}]}, {"type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "Parameters", "help": {"short": "Resource tags"}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$parameters.properties.admCredential", "options": ["adm-credential"], "hide": true, "group": "Properties", "help": {"short": "The AdmCredential of the created NotificationHub"}, "args": [{"type": "string", "var": "$parameters.properties.admCredential.properties.authTokenUrl", "options": ["auth-token-url"], "group": "Properties", "help": {"short": "The URL of the authorization token."}}, {"type": "string", "var": "$parameters.properties.admCredential.properties.clientId", "options": ["client-id"], "group": "Properties", "help": {"short": "The client identifier."}}, {"type": "string", "var": "$parameters.properties.admCredential.properties.clientSecret", "options": ["client-secret"], "group": "Properties", "help": {"short": "The credential secret access key."}}]}, {"type": "object", "var": "$parameters.properties.apnsCredential", "options": ["apns-credential"], "hide": true, "group": "Properties", "help": {"short": "The ApnsCredential of the created NotificationHub"}, "args": [{"type": "string", "var": "$parameters.properties.apnsCredential.properties.apnsCertificate", "options": ["apns-certificate"], "group": "Properties", "help": {"short": "The APNS certificate. Specify if using Certificate Authentication Mode."}}, {"type": "string", "var": "$parameters.properties.apnsCredential.properties.appId", "options": ["app-id"], "group": "Properties", "help": {"short": "The issuer (iss) registered claim key. The value is a 10-character TeamId, obtained from your developer account. Specify if using Token Authentication Mode."}}, {"type": "string", "var": "$parameters.properties.apnsCredential.properties.appName", "options": ["app-name"], "group": "Properties", "help": {"short": "The name of the application or BundleId. Specify if using Token Authentication Mode."}}, {"type": "string", "var": "$parameters.properties.apnsCredential.properties.certificateKey", "options": ["certificate-key"], "group": "Properties", "help": {"short": "The APNS certificate password if it exists."}}, {"type": "string", "var": "$parameters.properties.apnsCredential.properties.endpoint", "options": ["endpoint"], "group": "Properties", "help": {"short": "The APNS endpoint of this credential. If using Certificate Authentication Mode and Sandbox specify 'gateway.sandbox.push.apple.com'. If using Certificate Authentication Mode and Production specify 'gateway.push.apple.com'. If using Token Authentication Mode and Sandbox specify 'https://api.development.push.apple.com:443/3/device'. If using Token Authentication Mode and Production specify 'https://api.push.apple.com:443/3/device'."}}, {"type": "string", "var": "$parameters.properties.apnsCredential.properties.keyId", "options": ["key-id"], "group": "Properties", "help": {"short": "A 10-character key identifier (kid) key, obtained from your developer account. Specify if using Token Authentication Mode."}}, {"type": "string", "var": "$parameters.properties.apnsCredential.properties.thumbprint", "options": ["thumbprint"], "group": "Properties", "help": {"short": "The APNS certificate thumbprint. Specify if using Certificate Authentication Mode."}}, {"type": "string", "var": "$parameters.properties.apnsCredential.properties.token", "options": ["token"], "group": "Properties", "help": {"short": "Provider Authentication Token, obtained through your developer account. Specify if using Token Authentication Mode."}}]}, {"type": "array", "var": "$parameters.properties.authorizationRules", "options": ["authorization-rules"], "hide": true, "group": "Properties", "help": {"short": "The AuthorizationRules of the created NotificationHub"}, "item": {"type": "object", "args": [{"type": "array", "var": "$parameters.properties.authorizationRules[].rights", "options": ["rights"], "help": {"short": "The rights associated with the rule."}, "item": {"type": "string", "enum": {"items": [{"name": "Listen", "value": "Listen"}, {"name": "Manage", "value": "Manage"}, {"name": "Send", "value": "Send"}]}}}]}}, {"type": "object", "var": "$parameters.properties.baiduCredential", "options": ["baidu-credential"], "hide": true, "group": "Properties", "help": {"short": "The BaiduCredential of the created NotificationHub"}, "args": [{"type": "string", "var": "$parameters.properties.baiduCredential.properties.baiduApiKey", "options": ["baidu-api-key"], "group": "Properties", "help": {"short": "Baidu Api Key."}}, {"type": "string", "var": "$parameters.properties.baiduCredential.properties.baiduEndPoint", "options": ["baidu-end-point"], "group": "Properties", "help": {"short": "Baidu Endpoint."}}, {"type": "string", "var": "$parameters.properties.baiduCredential.properties.baiduSecretKey", "options": ["baidu-secret-key"], "group": "Properties", "help": {"short": "Baidu Secret Key"}}]}, {"type": "object", "var": "$parameters.properties.gcmCredential", "options": ["gcm-credential"], "hide": true, "group": "Properties", "help": {"short": "The GcmCredential of the created NotificationHub"}, "args": [{"type": "string", "var": "$parameters.properties.gcmCredential.properties.gcmEndpoint", "options": ["gcm-endpoint"], "group": "Properties", "help": {"short": "The FCM legacy endpoint. Default value is 'https://fcm.googleapis.com/fcm/send'"}}, {"type": "string", "var": "$parameters.properties.gcmCredential.properties.googleApiKey", "options": ["google-api-key"], "group": "Properties", "help": {"short": "The Google API key."}}]}, {"type": "object", "var": "$parameters.properties.mpnsCredential", "options": ["mpns-credential"], "hide": true, "group": "Properties", "help": {"short": "The MpnsCredential of the created NotificationHub"}, "args": [{"type": "string", "var": "$parameters.properties.mpnsCredential.properties.certificateKey", "options": ["certificate-key"], "group": "Properties", "help": {"short": "The certificate key for this credential."}}, {"type": "string", "var": "$parameters.properties.mpnsCredential.properties.mpnsCertificate", "options": ["mpns-certificate"], "group": "Properties", "help": {"short": "The MPNS certificate."}}, {"type": "string", "var": "$parameters.properties.mpnsCredential.properties.thumbprint", "options": ["thumbprint"], "group": "Properties", "help": {"short": "The MPNS certificate Thumbprint"}}]}, {"type": "string", "var": "$parameters.properties.registrationTtl", "options": ["registration-ttl"], "group": "Properties", "help": {"short": "The RegistrationTtl of the created NotificationHub"}}, {"type": "object", "var": "$parameters.properties.wnsCredential", "options": ["wns-credential"], "hide": true, "group": "Properties", "help": {"short": "The WnsCredential of the created NotificationHub"}, "args": [{"type": "string", "var": "$parameters.properties.wnsCredential.properties.packageSid", "options": ["package-sid"], "group": "Properties", "help": {"short": "The package ID for this credential."}}, {"type": "string", "var": "$parameters.properties.wnsCredential.properties.secretKey", "options": ["secret-key"], "group": "Properties", "help": {"short": "The secret key."}}, {"type": "string", "var": "$parameters.properties.wnsCredential.properties.windowsLiveEndpoint", "options": ["windows-live-endpoint"], "group": "Properties", "help": {"short": "The Windows Live endpoint."}}]}]}], "operations": [{"operationId": "NotificationHubs_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "ResourceLocation", "name": "location", "arg": "$parameters.location"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "admCredential", "arg": "$parameters.properties.admCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "authTokenUrl", "arg": "$parameters.properties.admCredential.properties.authTokenUrl"}, {"type": "string", "name": "clientId", "arg": "$parameters.properties.admCredential.properties.clientId"}, {"type": "string", "name": "clientSecret", "arg": "$parameters.properties.admCredential.properties.clientSecret"}], "clientFlatten": true}]}, {"type": "object", "name": "apnsCredential", "arg": "$parameters.properties.apnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "apnsCertificate", "arg": "$parameters.properties.apnsCredential.properties.apnsCertificate"}, {"type": "string", "name": "appId", "arg": "$parameters.properties.apnsCredential.properties.appId"}, {"type": "string", "name": "appName", "arg": "$parameters.properties.apnsCredential.properties.appName"}, {"type": "string", "name": "certificateKey", "arg": "$parameters.properties.apnsCredential.properties.certificateKey"}, {"type": "string", "name": "endpoint", "arg": "$parameters.properties.apnsCredential.properties.endpoint"}, {"type": "string", "name": "keyId", "arg": "$parameters.properties.apnsCredential.properties.keyId"}, {"type": "string", "name": "thumbprint", "arg": "$parameters.properties.apnsCredential.properties.thumbprint"}, {"type": "string", "name": "token", "arg": "$parameters.properties.apnsCredential.properties.token"}], "clientFlatten": true}]}, {"type": "array", "name": "authorizationRules", "arg": "$parameters.properties.authorizationRules", "item": {"type": "object", "props": [{"type": "array", "name": "rights", "arg": "$parameters.properties.authorizationRules[].rights", "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}]}}, {"type": "object", "name": "baiduCredential", "arg": "$parameters.properties.baiduCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "baiduApiKey", "arg": "$parameters.properties.baiduCredential.properties.baiduApiKey"}, {"type": "string", "name": "baiduEndPoint", "arg": "$parameters.properties.baiduCredential.properties.baiduEndPoint"}, {"type": "string", "name": "baiduSecretKey", "arg": "$parameters.properties.baiduCredential.properties.baiduSecretKey"}], "clientFlatten": true}]}, {"type": "object", "name": "gcmCredential", "arg": "$parameters.properties.gcmCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "gcmEndpoint", "arg": "$parameters.properties.gcmCredential.properties.gcmEndpoint"}, {"type": "string", "name": "googleApiKey", "arg": "$parameters.properties.gcmCredential.properties.googleApiKey"}], "clientFlatten": true}]}, {"type": "object", "name": "mpnsCredential", "arg": "$parameters.properties.mpnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "certificateKey", "arg": "$parameters.properties.mpnsCredential.properties.certificateKey"}, {"type": "string", "name": "mpnsCertificate", "arg": "$parameters.properties.mpnsCredential.properties.mpnsCertificate"}, {"type": "string", "name": "thumbprint", "arg": "$parameters.properties.mpnsCredential.properties.thumbprint"}], "clientFlatten": true}]}, {"type": "string", "name": "name", "arg": "$Path.notificationHubName"}, {"type": "string", "name": "registrationTtl", "arg": "$parameters.properties.registrationTtl"}, {"type": "object", "name": "wnsCredential", "arg": "$parameters.properties.wnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "packageSid", "arg": "$parameters.properties.wnsCredential.properties.packageSid"}, {"type": "string", "name": "secretKey", "arg": "$parameters.properties.wnsCredential.properties.secretKey"}, {"type": "string", "name": "windowsLiveEndpoint", "arg": "$parameters.properties.wnsCredential.properties.windowsLiveEndpoint"}], "clientFlatten": true}]}], "clientFlatten": true}, {"type": "object", "name": "sku", "arg": "$parameters.sku", "props": [{"type": "integer", "name": "capacity", "arg": "$parameters.sku.capacity"}, {"type": "string", "name": "family", "arg": "$parameters.sku.family"}, {"type": "string", "name": "name", "arg": "$parameters.sku.name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size", "arg": "$parameters.sku.size"}, {"type": "string", "name": "tier", "arg": "$parameters.sku.tier"}]}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.NotificationHubs/namespaces/{}/notificationHubs/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "admCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "authTokenUrl"}, {"type": "string", "name": "clientId"}, {"type": "string", "name": "clientSecret"}], "clientFlatten": true}]}, {"type": "object", "name": "apnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "apnsCertificate"}, {"type": "string", "name": "appId"}, {"type": "string", "name": "appName"}, {"type": "string", "name": "certificateKey"}, {"type": "string", "name": "endpoint"}, {"type": "string", "name": "keyId"}, {"type": "string", "name": "thumbprint"}, {"type": "string", "name": "token"}], "clientFlatten": true}]}, {"type": "array", "name": "authorizationRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "claimType"}, {"readOnly": true, "type": "string", "name": "claimValue"}, {"readOnly": true, "type": "string", "name": "createdTime"}, {"readOnly": true, "type": "string", "name": "keyName"}, {"readOnly": true, "type": "string", "name": "modifiedTime"}, {"readOnly": true, "type": "string", "name": "primaryKey"}, {"readOnly": true, "type": "integer", "name": "revision"}, {"type": "array", "name": "rights", "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}, {"readOnly": true, "type": "string", "name": "secondaryKey"}]}}, {"type": "object", "name": "baiduCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "baiduApiKey"}, {"type": "string", "name": "baiduEndPoint"}, {"type": "string", "name": "baiduSecretKey"}], "clientFlatten": true}]}, {"type": "object", "name": "gcmCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "gcmEndpoint"}, {"type": "string", "name": "googleApiKey"}], "clientFlatten": true}]}, {"type": "object", "name": "mpnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "certificateKey"}, {"type": "string", "name": "mpnsCertificate"}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}, {"type": "string", "name": "name"}, {"type": "string", "name": "registrationTtl"}, {"type": "object", "name": "wnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "packageSid"}, {"type": "string", "name": "secretKey"}, {"type": "string", "name": "windowsLiveEndpoint"}], "clientFlatten": true}]}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9ub3RpZmljYXRpb25IdWJzL3tub3RpZmljYXRpb25IdWJOYW1lfQ==/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name."}}, {"type": "string", "var": "$Path.notificationHubName", "options": ["n", "name", "notification-hub-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The notification hub name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Parameters", "args": [{"nullable": true, "type": "ResourceLocation", "var": "$parameters.location", "options": ["l", "location"], "group": "Parameters", "help": {"short": "Resource location"}}, {"nullable": true, "type": "object", "var": "$parameters.sku", "options": ["sku"], "hide": true, "group": "Parameters", "help": {"short": "The sku of the created namespace"}, "args": [{"nullable": true, "type": "integer", "var": "$parameters.sku.capacity", "options": ["capacity"], "help": {"short": "The capacity of the resource"}}, {"nullable": true, "type": "string", "var": "$parameters.sku.family", "options": ["family"], "help": {"short": "The Sku Family"}}, {"type": "string", "var": "$parameters.sku.name", "options": ["name"], "help": {"short": "Name of the notification hub sku"}, "enum": {"items": [{"name": "Basic", "value": "Basic"}, {"name": "Free", "value": "Free"}, {"name": "Standard", "value": "Standard"}]}}, {"nullable": true, "type": "string", "var": "$parameters.sku.size", "options": ["size"], "help": {"short": "The Sku size"}}, {"nullable": true, "type": "string", "var": "$parameters.sku.tier", "options": ["tier"], "help": {"short": "The tier of particular sku"}}]}, {"nullable": true, "type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "Parameters", "help": {"short": "Resource tags"}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "object", "var": "$parameters.properties.admCredential", "options": ["adm-credential"], "group": "Properties", "help": {"short": "The AdmCredential of the created NotificationHub"}, "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.admCredential.properties.authTokenUrl", "options": ["auth-token-url"], "group": "Properties", "help": {"short": "The URL of the authorization token."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.admCredential.properties.clientId", "options": ["client-id"], "group": "Properties", "help": {"short": "The client identifier."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.admCredential.properties.clientSecret", "options": ["client-secret"], "group": "Properties", "help": {"short": "The credential secret access key."}}]}, {"nullable": true, "type": "object", "var": "$parameters.properties.apnsCredential", "options": ["apns-credential"], "group": "Properties", "help": {"short": "The ApnsCredential of the created NotificationHub"}, "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.apnsCredential.properties.apnsCertificate", "options": ["apns-certificate"], "group": "Properties", "help": {"short": "The APNS certificate. Specify if using Certificate Authentication Mode."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.apnsCredential.properties.appId", "options": ["app-id"], "group": "Properties", "help": {"short": "The issuer (iss) registered claim key. The value is a 10-character TeamId, obtained from your developer account. Specify if using Token Authentication Mode."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.apnsCredential.properties.appName", "options": ["app-name"], "group": "Properties", "help": {"short": "The name of the application or BundleId. Specify if using Token Authentication Mode."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.apnsCredential.properties.certificateKey", "options": ["certificate-key"], "group": "Properties", "help": {"short": "The APNS certificate password if it exists."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.apnsCredential.properties.endpoint", "options": ["endpoint"], "group": "Properties", "help": {"short": "The APNS endpoint of this credential. If using Certificate Authentication Mode and Sandbox specify 'gateway.sandbox.push.apple.com'. If using Certificate Authentication Mode and Production specify 'gateway.push.apple.com'. If using Token Authentication Mode and Sandbox specify 'https://api.development.push.apple.com:443/3/device'. If using Token Authentication Mode and Production specify 'https://api.push.apple.com:443/3/device'."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.apnsCredential.properties.keyId", "options": ["key-id"], "group": "Properties", "help": {"short": "A 10-character key identifier (kid) key, obtained from your developer account. Specify if using Token Authentication Mode."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.apnsCredential.properties.thumbprint", "options": ["thumbprint"], "group": "Properties", "help": {"short": "The APNS certificate thumbprint. Specify if using Certificate Authentication Mode."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.apnsCredential.properties.token", "options": ["token"], "group": "Properties", "help": {"short": "Provider Authentication Token, obtained through your developer account. Specify if using Token Authentication Mode."}}]}, {"nullable": true, "type": "array", "var": "$parameters.properties.authorizationRules", "options": ["authorization-rules"], "hide": true, "group": "Properties", "help": {"short": "The AuthorizationRules of the created NotificationHub"}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "array", "var": "$parameters.properties.authorizationRules[].rights", "options": ["rights"], "help": {"short": "The rights associated with the rule."}, "item": {"nullable": true, "type": "string", "enum": {"items": [{"name": "Listen", "value": "Listen"}, {"name": "Manage", "value": "Manage"}, {"name": "Send", "value": "Send"}]}}}]}}, {"nullable": true, "type": "object", "var": "$parameters.properties.baiduCredential", "options": ["baidu-credential"], "group": "Properties", "help": {"short": "The BaiduCredential of the created NotificationHub"}, "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.baiduCredential.properties.baiduApiKey", "options": ["baidu-api-key"], "group": "Properties", "help": {"short": "Baidu Api Key."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.baiduCredential.properties.baiduEndPoint", "options": ["baidu-end-point"], "group": "Properties", "help": {"short": "Baidu Endpoint."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.baiduCredential.properties.baiduSecretKey", "options": ["baidu-secret-key"], "group": "Properties", "help": {"short": "Baidu Secret Key"}}]}, {"nullable": true, "type": "object", "var": "$parameters.properties.gcmCredential", "options": ["gcm-credential"], "group": "Properties", "help": {"short": "The GcmCredential of the created NotificationHub"}, "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.gcmCredential.properties.gcmEndpoint", "options": ["gcm-endpoint"], "group": "Properties", "help": {"short": "The FCM legacy endpoint. Default value is 'https://fcm.googleapis.com/fcm/send'"}}, {"nullable": true, "type": "string", "var": "$parameters.properties.gcmCredential.properties.googleApiKey", "options": ["google-api-key"], "group": "Properties", "help": {"short": "The Google API key."}}]}, {"nullable": true, "type": "object", "var": "$parameters.properties.mpnsCredential", "options": ["mpns-credential"], "group": "Properties", "help": {"short": "The MpnsCredential of the created NotificationHub"}, "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.mpnsCredential.properties.certificateKey", "options": ["certificate-key"], "group": "Properties", "help": {"short": "The certificate key for this credential."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.mpnsCredential.properties.mpnsCertificate", "options": ["mpns-certificate"], "group": "Properties", "help": {"short": "The MPNS certificate."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.mpnsCredential.properties.thumbprint", "options": ["thumbprint"], "group": "Properties", "help": {"short": "The MPNS certificate Thumbprint"}}]}, {"nullable": true, "type": "string", "var": "$parameters.properties.registrationTtl", "options": ["registration-ttl"], "hide": true, "group": "Properties", "help": {"short": "The RegistrationTtl of the created NotificationHub"}}, {"nullable": true, "type": "object", "var": "$parameters.properties.wnsCredential", "options": ["wns-credential"], "group": "Properties", "help": {"short": "The WnsCredential of the created NotificationHub"}, "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.wnsCredential.properties.packageSid", "options": ["package-sid"], "group": "Properties", "help": {"short": "The package ID for this credential."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.wnsCredential.properties.secretKey", "options": ["secret-key"], "group": "Properties", "help": {"short": "The secret key."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.wnsCredential.properties.windowsLiveEndpoint", "options": ["windows-live-endpoint"], "group": "Properties", "help": {"short": "The Windows Live endpoint."}}]}]}], "operations": [{"operationId": "NotificationHubs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.NotificationHubs/namespaces/{}/notificationHubs/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "admCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "authTokenUrl"}, {"type": "string", "name": "clientId"}, {"type": "string", "name": "clientSecret"}], "clientFlatten": true}]}, {"type": "object", "name": "apnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "apnsCertificate"}, {"type": "string", "name": "appId"}, {"type": "string", "name": "appName"}, {"type": "string", "name": "certificateKey"}, {"type": "string", "name": "endpoint"}, {"type": "string", "name": "keyId"}, {"type": "string", "name": "thumbprint"}, {"type": "string", "name": "token"}], "clientFlatten": true}]}, {"type": "array", "name": "authorizationRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "claimType"}, {"readOnly": true, "type": "string", "name": "claimValue"}, {"readOnly": true, "type": "string", "name": "createdTime"}, {"readOnly": true, "type": "string", "name": "keyName"}, {"readOnly": true, "type": "string", "name": "modifiedTime"}, {"readOnly": true, "type": "string", "name": "primaryKey"}, {"readOnly": true, "type": "integer", "name": "revision"}, {"type": "array", "name": "rights", "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}, {"readOnly": true, "type": "string", "name": "secondaryKey"}]}}, {"type": "object", "name": "baiduCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "baiduApiKey"}, {"type": "string", "name": "baiduEndPoint"}, {"type": "string", "name": "baiduSecretKey"}], "clientFlatten": true}]}, {"type": "object", "name": "gcmCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "gcmEndpoint"}, {"type": "string", "name": "googleApiKey"}], "clientFlatten": true}]}, {"type": "object", "name": "mpnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "certificateKey"}, {"type": "string", "name": "mpnsCertificate"}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}, {"type": "string", "name": "name"}, {"type": "string", "name": "registrationTtl"}, {"type": "object", "name": "wnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "packageSid"}, {"type": "string", "name": "secretKey"}, {"type": "string", "name": "windowsLiveEndpoint"}], "clientFlatten": true}]}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "NotificationHubResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "ResourceLocation", "name": "location", "arg": "$parameters.location"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "admCredential", "arg": "$parameters.properties.admCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "authTokenUrl", "arg": "$parameters.properties.admCredential.properties.authTokenUrl"}, {"type": "string", "name": "clientId", "arg": "$parameters.properties.admCredential.properties.clientId"}, {"type": "string", "name": "clientSecret", "arg": "$parameters.properties.admCredential.properties.clientSecret"}], "clientFlatten": true}]}, {"type": "object", "name": "apnsCredential", "arg": "$parameters.properties.apnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "apnsCertificate", "arg": "$parameters.properties.apnsCredential.properties.apnsCertificate"}, {"type": "string", "name": "appId", "arg": "$parameters.properties.apnsCredential.properties.appId"}, {"type": "string", "name": "appName", "arg": "$parameters.properties.apnsCredential.properties.appName"}, {"type": "string", "name": "certificateKey", "arg": "$parameters.properties.apnsCredential.properties.certificateKey"}, {"type": "string", "name": "endpoint", "arg": "$parameters.properties.apnsCredential.properties.endpoint"}, {"type": "string", "name": "keyId", "arg": "$parameters.properties.apnsCredential.properties.keyId"}, {"type": "string", "name": "thumbprint", "arg": "$parameters.properties.apnsCredential.properties.thumbprint"}, {"type": "string", "name": "token", "arg": "$parameters.properties.apnsCredential.properties.token"}], "clientFlatten": true}]}, {"type": "array", "name": "authorizationRules", "arg": "$parameters.properties.authorizationRules", "item": {"type": "object", "props": [{"type": "array", "name": "rights", "arg": "$parameters.properties.authorizationRules[].rights", "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}]}}, {"type": "object", "name": "baiduCredential", "arg": "$parameters.properties.baiduCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "baiduApiKey", "arg": "$parameters.properties.baiduCredential.properties.baiduApiKey"}, {"type": "string", "name": "baiduEndPoint", "arg": "$parameters.properties.baiduCredential.properties.baiduEndPoint"}, {"type": "string", "name": "baiduSecretKey", "arg": "$parameters.properties.baiduCredential.properties.baiduSecretKey"}], "clientFlatten": true}]}, {"type": "object", "name": "gcmCredential", "arg": "$parameters.properties.gcmCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "gcmEndpoint", "arg": "$parameters.properties.gcmCredential.properties.gcmEndpoint"}, {"type": "string", "name": "googleApiKey", "arg": "$parameters.properties.gcmCredential.properties.googleApiKey"}], "clientFlatten": true}]}, {"type": "object", "name": "mpnsCredential", "arg": "$parameters.properties.mpnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "certificateKey", "arg": "$parameters.properties.mpnsCredential.properties.certificateKey"}, {"type": "string", "name": "mpnsCertificate", "arg": "$parameters.properties.mpnsCredential.properties.mpnsCertificate"}, {"type": "string", "name": "thumbprint", "arg": "$parameters.properties.mpnsCredential.properties.thumbprint"}], "clientFlatten": true}]}, {"type": "string", "name": "name", "arg": "$Path.notificationHubName"}, {"type": "string", "name": "registrationTtl", "arg": "$parameters.properties.registrationTtl"}, {"type": "object", "name": "wnsCredential", "arg": "$parameters.properties.wnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "packageSid", "arg": "$parameters.properties.wnsCredential.properties.packageSid"}, {"type": "string", "name": "secretKey", "arg": "$parameters.properties.wnsCredential.properties.secretKey"}, {"type": "string", "name": "windowsLiveEndpoint", "arg": "$parameters.properties.wnsCredential.properties.windowsLiveEndpoint"}], "clientFlatten": true}]}], "clientFlatten": true}, {"type": "object", "name": "sku", "arg": "$parameters.sku", "props": [{"type": "integer", "name": "capacity", "arg": "$parameters.sku.capacity"}, {"type": "string", "name": "family", "arg": "$parameters.sku.family"}, {"type": "string", "name": "name", "arg": "$parameters.sku.name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size", "arg": "$parameters.sku.size"}, {"type": "string", "name": "tier", "arg": "$parameters.sku.tier"}]}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"operationId": "NotificationHubs_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@NotificationHubResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}], "commandGroups": [{"name": "credential", "commandGroups": [{"name": "adm", "commands": [{"name": "create", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", "version": "2017-04-01", "subresource": "properties.admCredential", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9ub3RpZmljYXRpb25IdWJzL3tub3RpZmljYXRpb25IdWJOYW1lfQ==/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name."}}, {"type": "string", "var": "$Path.notificationHubName", "options": ["n", "name", "notification-hub-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The notification hub name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"type": "string", "var": "$parameters.properties.admCredential.properties.authTokenUrl", "options": ["auth-token-url"], "hide": true, "group": "Properties", "help": {"short": "The URL of the authorization token."}}, {"type": "string", "var": "$parameters.properties.admCredential.properties.clientId", "options": ["client-id"], "group": "Properties", "help": {"short": "The client identifier."}}, {"type": "string", "var": "$parameters.properties.admCredential.properties.clientSecret", "options": ["client-secret"], "group": "Properties", "help": {"short": "The credential secret access key."}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "object", "name": "properties.admCredential"}}}, "operations": [{"operationId": "NotificationHubs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.NotificationHubs/namespaces/{}/notificationHubs/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "admCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "authTokenUrl"}, {"type": "string", "name": "clientId"}, {"type": "string", "name": "clientSecret"}], "clientFlatten": true}]}, {"type": "object", "name": "apnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "apnsCertificate"}, {"type": "string", "name": "appId"}, {"type": "string", "name": "appName"}, {"type": "string", "name": "certificateKey"}, {"type": "string", "name": "endpoint"}, {"type": "string", "name": "keyId"}, {"type": "string", "name": "thumbprint"}, {"type": "string", "name": "token"}], "clientFlatten": true}]}, {"type": "array", "name": "authorizationRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "claimType"}, {"readOnly": true, "type": "string", "name": "claimValue"}, {"readOnly": true, "type": "string", "name": "createdTime"}, {"readOnly": true, "type": "string", "name": "keyName"}, {"readOnly": true, "type": "string", "name": "modifiedTime"}, {"readOnly": true, "type": "string", "name": "primaryKey"}, {"readOnly": true, "type": "integer", "name": "revision"}, {"type": "array", "name": "rights", "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}, {"readOnly": true, "type": "string", "name": "secondaryKey"}]}}, {"type": "object", "name": "baiduCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "baiduApiKey"}, {"type": "string", "name": "baiduEndPoint"}, {"type": "string", "name": "baiduSecretKey"}], "clientFlatten": true}]}, {"type": "object", "name": "gcmCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "gcmEndpoint"}, {"type": "string", "name": "googleApiKey"}], "clientFlatten": true}]}, {"type": "object", "name": "mpnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "certificateKey"}, {"type": "string", "name": "mpnsCertificate"}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}, {"type": "string", "name": "name"}, {"type": "string", "name": "registrationTtl"}, {"type": "object", "name": "wnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "packageSid"}, {"type": "string", "name": "secretKey"}, {"type": "string", "name": "windowsLiveEndpoint"}], "clientFlatten": true}]}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "NotificationHubResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceCreate": {"ref": "$Subresource", "json": {"schema": {"type": "object", "name": "parameters.properties.admCredential", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "authTokenUrl", "arg": "$parameters.properties.admCredential.properties.authTokenUrl"}, {"type": "string", "name": "clientId", "arg": "$parameters.properties.admCredential.properties.clientId"}, {"type": "string", "name": "clientSecret", "arg": "$parameters.properties.admCredential.properties.clientSecret"}], "clientFlatten": true}]}}}}, {"operationId": "NotificationHubs_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@NotificationHubResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", "version": "2017-04-01", "subresource": "properties.admCredential", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9ub3RpZmljYXRpb25IdWJzL3tub3RpZmljYXRpb25IdWJOYW1lfQ==/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name."}}, {"type": "string", "var": "$Path.notificationHubName", "options": ["notification-hub-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The notification hub name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.admCredential.properties.authTokenUrl", "options": ["auth-token-url"], "group": "Properties", "help": {"short": "The URL of the authorization token."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.admCredential.properties.clientId", "options": ["client-id"], "group": "Properties", "help": {"short": "The client identifier."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.admCredential.properties.clientSecret", "options": ["client-secret"], "group": "Properties", "help": {"short": "The credential secret access key."}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "object", "name": "properties.admCredential"}}}, "operations": [{"operationId": "NotificationHubs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.NotificationHubs/namespaces/{}/notificationHubs/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "admCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "authTokenUrl"}, {"type": "string", "name": "clientId"}, {"type": "string", "name": "clientSecret"}], "clientFlatten": true}]}, {"type": "object", "name": "apnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "apnsCertificate"}, {"type": "string", "name": "appId"}, {"type": "string", "name": "appName"}, {"type": "string", "name": "certificateKey"}, {"type": "string", "name": "endpoint"}, {"type": "string", "name": "keyId"}, {"type": "string", "name": "thumbprint"}, {"type": "string", "name": "token"}], "clientFlatten": true}]}, {"type": "array", "name": "authorizationRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "claimType"}, {"readOnly": true, "type": "string", "name": "claimValue"}, {"readOnly": true, "type": "string", "name": "createdTime"}, {"readOnly": true, "type": "string", "name": "keyName"}, {"readOnly": true, "type": "string", "name": "modifiedTime"}, {"readOnly": true, "type": "string", "name": "primaryKey"}, {"readOnly": true, "type": "integer", "name": "revision"}, {"type": "array", "name": "rights", "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}, {"readOnly": true, "type": "string", "name": "secondaryKey"}]}}, {"type": "object", "name": "baiduCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "baiduApiKey"}, {"type": "string", "name": "baiduEndPoint"}, {"type": "string", "name": "baiduSecretKey"}], "clientFlatten": true}]}, {"type": "object", "name": "gcmCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "gcmEndpoint"}, {"type": "string", "name": "googleApiKey"}], "clientFlatten": true}]}, {"type": "object", "name": "mpnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "certificateKey"}, {"type": "string", "name": "mpnsCertificate"}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}, {"type": "string", "name": "name"}, {"type": "string", "name": "registrationTtl"}, {"type": "object", "name": "wnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "packageSid"}, {"type": "string", "name": "secretKey"}, {"type": "string", "name": "windowsLiveEndpoint"}], "clientFlatten": true}]}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "NotificationHubResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Subresource", "json": {"schema": {"type": "object", "name": "parameters.properties.admCredential", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "authTokenUrl", "arg": "$parameters.properties.admCredential.properties.authTokenUrl"}, {"type": "string", "name": "clientId", "arg": "$parameters.properties.admCredential.properties.clientId"}, {"type": "string", "name": "clientSecret", "arg": "$parameters.properties.admCredential.properties.clientSecret"}], "clientFlatten": true}]}}}}, {"operationId": "NotificationHubs_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@NotificationHubResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}, {"name": "delete", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", "version": "2017-04-01", "subresource": "properties.admCredential", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9ub3RpZmljYXRpb25IdWJzL3tub3RpZmljYXRpb25IdWJOYW1lfQ==/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name."}}, {"type": "string", "var": "$Path.notificationHubName", "options": ["notification-hub-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The notification hub name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "object", "name": "properties.admCredential"}}}, "operations": [{"operationId": "NotificationHubs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.NotificationHubs/namespaces/{}/notificationHubs/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "admCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "authTokenUrl"}, {"type": "string", "name": "clientId"}, {"type": "string", "name": "clientSecret"}], "clientFlatten": true}]}, {"type": "object", "name": "apnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "apnsCertificate"}, {"type": "string", "name": "appId"}, {"type": "string", "name": "appName"}, {"type": "string", "name": "certificateKey"}, {"type": "string", "name": "endpoint"}, {"type": "string", "name": "keyId"}, {"type": "string", "name": "thumbprint"}, {"type": "string", "name": "token"}], "clientFlatten": true}]}, {"type": "array", "name": "authorizationRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "claimType"}, {"readOnly": true, "type": "string", "name": "claimValue"}, {"readOnly": true, "type": "string", "name": "createdTime"}, {"readOnly": true, "type": "string", "name": "keyName"}, {"readOnly": true, "type": "string", "name": "modifiedTime"}, {"readOnly": true, "type": "string", "name": "primaryKey"}, {"readOnly": true, "type": "integer", "name": "revision"}, {"type": "array", "name": "rights", "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}, {"readOnly": true, "type": "string", "name": "secondaryKey"}]}}, {"type": "object", "name": "baiduCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "baiduApiKey"}, {"type": "string", "name": "baiduEndPoint"}, {"type": "string", "name": "baiduSecretKey"}], "clientFlatten": true}]}, {"type": "object", "name": "gcmCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "gcmEndpoint"}, {"type": "string", "name": "googleApiKey"}], "clientFlatten": true}]}, {"type": "object", "name": "mpnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "certificateKey"}, {"type": "string", "name": "mpnsCertificate"}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}, {"type": "string", "name": "name"}, {"type": "string", "name": "registrationTtl"}, {"type": "object", "name": "wnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "packageSid"}, {"type": "string", "name": "secretKey"}, {"type": "string", "name": "windowsLiveEndpoint"}], "clientFlatten": true}]}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "NotificationHubResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceDelete": {"ref": "$Subresource", "json": {}}}, {"operationId": "NotificationHubs_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@NotificationHubResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "show", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", "version": "2017-04-01", "subresource": "properties.admCredential", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9ub3RpZmljYXRpb25IdWJzL3tub3RpZmljYXRpb25IdWJOYW1lfQ==/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name."}}, {"type": "string", "var": "$Path.notificationHubName", "options": ["notification-hub-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The notification hub name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "object", "name": "properties.admCredential"}}}, "operations": [{"operationId": "NotificationHubs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.NotificationHubs/namespaces/{}/notificationHubs/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "admCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "authTokenUrl"}, {"type": "string", "name": "clientId"}, {"type": "string", "name": "clientSecret"}], "clientFlatten": true}]}, {"type": "object", "name": "apnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "apnsCertificate"}, {"type": "string", "name": "appId"}, {"type": "string", "name": "appName"}, {"type": "string", "name": "certificateKey"}, {"type": "string", "name": "endpoint"}, {"type": "string", "name": "keyId"}, {"type": "string", "name": "thumbprint"}, {"type": "string", "name": "token"}], "clientFlatten": true}]}, {"type": "array", "name": "authorizationRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "claimType"}, {"readOnly": true, "type": "string", "name": "claimValue"}, {"readOnly": true, "type": "string", "name": "createdTime"}, {"readOnly": true, "type": "string", "name": "keyName"}, {"readOnly": true, "type": "string", "name": "modifiedTime"}, {"readOnly": true, "type": "string", "name": "primaryKey"}, {"readOnly": true, "type": "integer", "name": "revision"}, {"type": "array", "name": "rights", "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}, {"readOnly": true, "type": "string", "name": "secondaryKey"}]}}, {"type": "object", "name": "baiduCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "baiduApiKey"}, {"type": "string", "name": "baiduEndPoint"}, {"type": "string", "name": "baiduSecretKey"}], "clientFlatten": true}]}, {"type": "object", "name": "gcmCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "gcmEndpoint"}, {"type": "string", "name": "googleApiKey"}], "clientFlatten": true}]}, {"type": "object", "name": "mpnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "certificateKey"}, {"type": "string", "name": "mpnsCertificate"}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}, {"type": "string", "name": "name"}, {"type": "string", "name": "registrationTtl"}, {"type": "object", "name": "wnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "packageSid"}, {"type": "string", "name": "secretKey"}, {"type": "string", "name": "windowsLiveEndpoint"}], "clientFlatten": true}]}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "NotificationHubResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}]}, {"name": "apns", "commands": [{"name": "create", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", "version": "2017-04-01", "subresource": "properties.apnsCredential", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9ub3RpZmljYXRpb25IdWJzL3tub3RpZmljYXRpb25IdWJOYW1lfQ==/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name."}}, {"type": "string", "var": "$Path.notificationHubName", "options": ["n", "name", "notification-hub-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The notification hub name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"type": "string", "var": "$parameters.properties.apnsCredential.properties.apnsCertificate", "options": ["apns-certificate-org"], "group": "Properties", "help": {"short": "The APNS certificate. Specify if using Certificate Authentication Mode."}}, {"type": "string", "var": "$parameters.properties.apnsCredential.properties.appId", "options": ["app-id"], "group": "Properties", "help": {"short": "The issuer (iss) registered claim key. The value is a 10-character TeamId, obtained from your developer account. Specify if using Token Authentication Mode."}}, {"type": "string", "var": "$parameters.properties.apnsCredential.properties.appName", "options": ["app-name"], "group": "Properties", "help": {"short": "The name of the application or BundleId. Specify if using Token Authentication Mode."}}, {"type": "string", "var": "$parameters.properties.apnsCredential.properties.certificateKey", "options": ["certificate-key"], "group": "Properties", "help": {"short": "The APNS certificate password if it exists."}}, {"type": "string", "var": "$parameters.properties.apnsCredential.properties.endpoint", "options": ["endpoint"], "group": "Properties", "help": {"short": "The APNS endpoint of this credential. If using Certificate Authentication Mode and Sandbox specify 'gateway.sandbox.push.apple.com'. If using Certificate Authentication Mode and Production specify 'gateway.push.apple.com'. If using Token Authentication Mode and Sandbox specify 'https://api.development.push.apple.com:443/3/device'. If using Token Authentication Mode and Production specify 'https://api.push.apple.com:443/3/device'."}, "default": {"value": "gateway.push.apple.com"}}, {"type": "string", "var": "$parameters.properties.apnsCredential.properties.keyId", "options": ["key-id"], "group": "Properties", "help": {"short": "A 10-character key identifier (kid) key, obtained from your developer account. Specify if using Token Authentication Mode."}}, {"type": "string", "var": "$parameters.properties.apnsCredential.properties.thumbprint", "options": ["thumbprint"], "hide": true, "group": "Properties", "help": {"short": "The APNS certificate thumbprint. Specify if using Certificate Authentication Mode."}}, {"type": "string", "var": "$parameters.properties.apnsCredential.properties.token", "options": ["token"], "group": "Properties", "help": {"short": "Provider Authentication Token, obtained through your developer account. Specify if using Token Authentication Mode."}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "object", "name": "properties.apnsCredential"}}}, "operations": [{"operationId": "NotificationHubs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.NotificationHubs/namespaces/{}/notificationHubs/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "admCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "authTokenUrl"}, {"type": "string", "name": "clientId"}, {"type": "string", "name": "clientSecret"}], "clientFlatten": true}]}, {"type": "object", "name": "apnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "apnsCertificate"}, {"type": "string", "name": "appId"}, {"type": "string", "name": "appName"}, {"type": "string", "name": "certificateKey"}, {"type": "string", "name": "endpoint"}, {"type": "string", "name": "keyId"}, {"type": "string", "name": "thumbprint"}, {"type": "string", "name": "token"}], "clientFlatten": true}]}, {"type": "array", "name": "authorizationRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "claimType"}, {"readOnly": true, "type": "string", "name": "claimValue"}, {"readOnly": true, "type": "string", "name": "createdTime"}, {"readOnly": true, "type": "string", "name": "keyName"}, {"readOnly": true, "type": "string", "name": "modifiedTime"}, {"readOnly": true, "type": "string", "name": "primaryKey"}, {"readOnly": true, "type": "integer", "name": "revision"}, {"type": "array", "name": "rights", "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}, {"readOnly": true, "type": "string", "name": "secondaryKey"}]}}, {"type": "object", "name": "baiduCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "baiduApiKey"}, {"type": "string", "name": "baiduEndPoint"}, {"type": "string", "name": "baiduSecretKey"}], "clientFlatten": true}]}, {"type": "object", "name": "gcmCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "gcmEndpoint"}, {"type": "string", "name": "googleApiKey"}], "clientFlatten": true}]}, {"type": "object", "name": "mpnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "certificateKey"}, {"type": "string", "name": "mpnsCertificate"}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}, {"type": "string", "name": "name"}, {"type": "string", "name": "registrationTtl"}, {"type": "object", "name": "wnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "packageSid"}, {"type": "string", "name": "secretKey"}, {"type": "string", "name": "windowsLiveEndpoint"}], "clientFlatten": true}]}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "NotificationHubResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceCreate": {"ref": "$Subresource", "json": {"schema": {"type": "object", "name": "parameters.properties.apnsCredential", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "apnsCertificate", "arg": "$parameters.properties.apnsCredential.properties.apnsCertificate"}, {"type": "string", "name": "appId", "arg": "$parameters.properties.apnsCredential.properties.appId"}, {"type": "string", "name": "appName", "arg": "$parameters.properties.apnsCredential.properties.appName"}, {"type": "string", "name": "certificateKey", "arg": "$parameters.properties.apnsCredential.properties.certificateKey"}, {"type": "string", "name": "endpoint", "arg": "$parameters.properties.apnsCredential.properties.endpoint"}, {"type": "string", "name": "keyId", "arg": "$parameters.properties.apnsCredential.properties.keyId"}, {"type": "string", "name": "thumbprint", "arg": "$parameters.properties.apnsCredential.properties.thumbprint"}, {"type": "string", "name": "token", "arg": "$parameters.properties.apnsCredential.properties.token"}], "clientFlatten": true}]}}}}, {"operationId": "NotificationHubs_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@NotificationHubResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", "version": "2017-04-01", "subresource": "properties.apnsCredential", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9ub3RpZmljYXRpb25IdWJzL3tub3RpZmljYXRpb25IdWJOYW1lfQ==/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name."}}, {"type": "string", "var": "$Path.notificationHubName", "options": ["notification-hub-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The notification hub name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.apnsCredential.properties.apnsCertificate", "options": ["apns-certificate"], "group": "Properties", "help": {"short": "The APNS certificate. Specify if using Certificate Authentication Mode."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.apnsCredential.properties.appId", "options": ["app-id"], "group": "Properties", "help": {"short": "The issuer (iss) registered claim key. The value is a 10-character TeamId, obtained from your developer account. Specify if using Token Authentication Mode."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.apnsCredential.properties.appName", "options": ["app-name"], "group": "Properties", "help": {"short": "The name of the application or BundleId. Specify if using Token Authentication Mode."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.apnsCredential.properties.certificateKey", "options": ["certificate-key"], "group": "Properties", "help": {"short": "The APNS certificate password if it exists."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.apnsCredential.properties.endpoint", "options": ["endpoint"], "group": "Properties", "help": {"short": "The APNS endpoint of this credential. If using Certificate Authentication Mode and Sandbox specify 'gateway.sandbox.push.apple.com'. If using Certificate Authentication Mode and Production specify 'gateway.push.apple.com'. If using Token Authentication Mode and Sandbox specify 'https://api.development.push.apple.com:443/3/device'. If using Token Authentication Mode and Production specify 'https://api.push.apple.com:443/3/device'."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.apnsCredential.properties.keyId", "options": ["key-id"], "group": "Properties", "help": {"short": "A 10-character key identifier (kid) key, obtained from your developer account. Specify if using Token Authentication Mode."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.apnsCredential.properties.thumbprint", "options": ["thumbprint"], "group": "Properties", "help": {"short": "The APNS certificate thumbprint. Specify if using Certificate Authentication Mode."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.apnsCredential.properties.token", "options": ["token"], "group": "Properties", "help": {"short": "Provider Authentication Token, obtained through your developer account. Specify if using Token Authentication Mode."}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "object", "name": "properties.apnsCredential"}}}, "operations": [{"operationId": "NotificationHubs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.NotificationHubs/namespaces/{}/notificationHubs/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "admCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "authTokenUrl"}, {"type": "string", "name": "clientId"}, {"type": "string", "name": "clientSecret"}], "clientFlatten": true}]}, {"type": "object", "name": "apnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "apnsCertificate"}, {"type": "string", "name": "appId"}, {"type": "string", "name": "appName"}, {"type": "string", "name": "certificateKey"}, {"type": "string", "name": "endpoint"}, {"type": "string", "name": "keyId"}, {"type": "string", "name": "thumbprint"}, {"type": "string", "name": "token"}], "clientFlatten": true}]}, {"type": "array", "name": "authorizationRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "claimType"}, {"readOnly": true, "type": "string", "name": "claimValue"}, {"readOnly": true, "type": "string", "name": "createdTime"}, {"readOnly": true, "type": "string", "name": "keyName"}, {"readOnly": true, "type": "string", "name": "modifiedTime"}, {"readOnly": true, "type": "string", "name": "primaryKey"}, {"readOnly": true, "type": "integer", "name": "revision"}, {"type": "array", "name": "rights", "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}, {"readOnly": true, "type": "string", "name": "secondaryKey"}]}}, {"type": "object", "name": "baiduCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "baiduApiKey"}, {"type": "string", "name": "baiduEndPoint"}, {"type": "string", "name": "baiduSecretKey"}], "clientFlatten": true}]}, {"type": "object", "name": "gcmCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "gcmEndpoint"}, {"type": "string", "name": "googleApiKey"}], "clientFlatten": true}]}, {"type": "object", "name": "mpnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "certificateKey"}, {"type": "string", "name": "mpnsCertificate"}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}, {"type": "string", "name": "name"}, {"type": "string", "name": "registrationTtl"}, {"type": "object", "name": "wnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "packageSid"}, {"type": "string", "name": "secretKey"}, {"type": "string", "name": "windowsLiveEndpoint"}], "clientFlatten": true}]}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "NotificationHubResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Subresource", "json": {"schema": {"type": "object", "name": "parameters.properties.apnsCredential", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "apnsCertificate", "arg": "$parameters.properties.apnsCredential.properties.apnsCertificate"}, {"type": "string", "name": "appId", "arg": "$parameters.properties.apnsCredential.properties.appId"}, {"type": "string", "name": "appName", "arg": "$parameters.properties.apnsCredential.properties.appName"}, {"type": "string", "name": "certificateKey", "arg": "$parameters.properties.apnsCredential.properties.certificateKey"}, {"type": "string", "name": "endpoint", "arg": "$parameters.properties.apnsCredential.properties.endpoint"}, {"type": "string", "name": "keyId", "arg": "$parameters.properties.apnsCredential.properties.keyId"}, {"type": "string", "name": "thumbprint", "arg": "$parameters.properties.apnsCredential.properties.thumbprint"}, {"type": "string", "name": "token", "arg": "$parameters.properties.apnsCredential.properties.token"}], "clientFlatten": true}]}}}}, {"operationId": "NotificationHubs_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@NotificationHubResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}, {"name": "delete", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", "version": "2017-04-01", "subresource": "properties.apnsCredential", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9ub3RpZmljYXRpb25IdWJzL3tub3RpZmljYXRpb25IdWJOYW1lfQ==/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name."}}, {"type": "string", "var": "$Path.notificationHubName", "options": ["notification-hub-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The notification hub name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "object", "name": "properties.apnsCredential"}}}, "operations": [{"operationId": "NotificationHubs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.NotificationHubs/namespaces/{}/notificationHubs/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "admCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "authTokenUrl"}, {"type": "string", "name": "clientId"}, {"type": "string", "name": "clientSecret"}], "clientFlatten": true}]}, {"type": "object", "name": "apnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "apnsCertificate"}, {"type": "string", "name": "appId"}, {"type": "string", "name": "appName"}, {"type": "string", "name": "certificateKey"}, {"type": "string", "name": "endpoint"}, {"type": "string", "name": "keyId"}, {"type": "string", "name": "thumbprint"}, {"type": "string", "name": "token"}], "clientFlatten": true}]}, {"type": "array", "name": "authorizationRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "claimType"}, {"readOnly": true, "type": "string", "name": "claimValue"}, {"readOnly": true, "type": "string", "name": "createdTime"}, {"readOnly": true, "type": "string", "name": "keyName"}, {"readOnly": true, "type": "string", "name": "modifiedTime"}, {"readOnly": true, "type": "string", "name": "primaryKey"}, {"readOnly": true, "type": "integer", "name": "revision"}, {"type": "array", "name": "rights", "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}, {"readOnly": true, "type": "string", "name": "secondaryKey"}]}}, {"type": "object", "name": "baiduCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "baiduApiKey"}, {"type": "string", "name": "baiduEndPoint"}, {"type": "string", "name": "baiduSecretKey"}], "clientFlatten": true}]}, {"type": "object", "name": "gcmCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "gcmEndpoint"}, {"type": "string", "name": "googleApiKey"}], "clientFlatten": true}]}, {"type": "object", "name": "mpnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "certificateKey"}, {"type": "string", "name": "mpnsCertificate"}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}, {"type": "string", "name": "name"}, {"type": "string", "name": "registrationTtl"}, {"type": "object", "name": "wnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "packageSid"}, {"type": "string", "name": "secretKey"}, {"type": "string", "name": "windowsLiveEndpoint"}], "clientFlatten": true}]}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "NotificationHubResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceDelete": {"ref": "$Subresource", "json": {}}}, {"operationId": "NotificationHubs_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@NotificationHubResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "show", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", "version": "2017-04-01", "subresource": "properties.apnsCredential", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9ub3RpZmljYXRpb25IdWJzL3tub3RpZmljYXRpb25IdWJOYW1lfQ==/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name."}}, {"type": "string", "var": "$Path.notificationHubName", "options": ["notification-hub-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The notification hub name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "object", "name": "properties.apnsCredential"}}}, "operations": [{"operationId": "NotificationHubs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.NotificationHubs/namespaces/{}/notificationHubs/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "admCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "authTokenUrl"}, {"type": "string", "name": "clientId"}, {"type": "string", "name": "clientSecret"}], "clientFlatten": true}]}, {"type": "object", "name": "apnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "apnsCertificate"}, {"type": "string", "name": "appId"}, {"type": "string", "name": "appName"}, {"type": "string", "name": "certificateKey"}, {"type": "string", "name": "endpoint"}, {"type": "string", "name": "keyId"}, {"type": "string", "name": "thumbprint"}, {"type": "string", "name": "token"}], "clientFlatten": true}]}, {"type": "array", "name": "authorizationRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "claimType"}, {"readOnly": true, "type": "string", "name": "claimValue"}, {"readOnly": true, "type": "string", "name": "createdTime"}, {"readOnly": true, "type": "string", "name": "keyName"}, {"readOnly": true, "type": "string", "name": "modifiedTime"}, {"readOnly": true, "type": "string", "name": "primaryKey"}, {"readOnly": true, "type": "integer", "name": "revision"}, {"type": "array", "name": "rights", "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}, {"readOnly": true, "type": "string", "name": "secondaryKey"}]}}, {"type": "object", "name": "baiduCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "baiduApiKey"}, {"type": "string", "name": "baiduEndPoint"}, {"type": "string", "name": "baiduSecretKey"}], "clientFlatten": true}]}, {"type": "object", "name": "gcmCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "gcmEndpoint"}, {"type": "string", "name": "googleApiKey"}], "clientFlatten": true}]}, {"type": "object", "name": "mpnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "certificateKey"}, {"type": "string", "name": "mpnsCertificate"}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}, {"type": "string", "name": "name"}, {"type": "string", "name": "registrationTtl"}, {"type": "object", "name": "wnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "packageSid"}, {"type": "string", "name": "secretKey"}, {"type": "string", "name": "windowsLiveEndpoint"}], "clientFlatten": true}]}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "NotificationHubResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}]}, {"name": "baidu", "commands": [{"name": "create", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", "version": "2017-04-01", "subresource": "properties.baiduCredential", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9ub3RpZmljYXRpb25IdWJzL3tub3RpZmljYXRpb25IdWJOYW1lfQ==/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name."}}, {"type": "string", "var": "$Path.notificationHubName", "options": ["n", "name", "notification-hub-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The notification hub name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"type": "string", "var": "$parameters.properties.baiduCredential.properties.baiduApiKey", "options": ["baidu-api-key"], "group": "Properties", "help": {"short": "Baidu Api Key."}}, {"type": "string", "var": "$parameters.properties.baiduCredential.properties.baiduEndPoint", "options": ["baidu-end-point"], "hide": true, "group": "Properties", "help": {"short": "Baidu Endpoint."}}, {"type": "string", "var": "$parameters.properties.baiduCredential.properties.baiduSecretKey", "options": ["baidu-secret-key"], "group": "Properties", "help": {"short": "Baidu Secret Key"}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "object", "name": "properties.baiduCredential"}}}, "operations": [{"operationId": "NotificationHubs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.NotificationHubs/namespaces/{}/notificationHubs/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "admCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "authTokenUrl"}, {"type": "string", "name": "clientId"}, {"type": "string", "name": "clientSecret"}], "clientFlatten": true}]}, {"type": "object", "name": "apnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "apnsCertificate"}, {"type": "string", "name": "appId"}, {"type": "string", "name": "appName"}, {"type": "string", "name": "certificateKey"}, {"type": "string", "name": "endpoint"}, {"type": "string", "name": "keyId"}, {"type": "string", "name": "thumbprint"}, {"type": "string", "name": "token"}], "clientFlatten": true}]}, {"type": "array", "name": "authorizationRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "claimType"}, {"readOnly": true, "type": "string", "name": "claimValue"}, {"readOnly": true, "type": "string", "name": "createdTime"}, {"readOnly": true, "type": "string", "name": "keyName"}, {"readOnly": true, "type": "string", "name": "modifiedTime"}, {"readOnly": true, "type": "string", "name": "primaryKey"}, {"readOnly": true, "type": "integer", "name": "revision"}, {"type": "array", "name": "rights", "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}, {"readOnly": true, "type": "string", "name": "secondaryKey"}]}}, {"type": "object", "name": "baiduCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "baiduApiKey"}, {"type": "string", "name": "baiduEndPoint"}, {"type": "string", "name": "baiduSecretKey"}], "clientFlatten": true}]}, {"type": "object", "name": "gcmCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "gcmEndpoint"}, {"type": "string", "name": "googleApiKey"}], "clientFlatten": true}]}, {"type": "object", "name": "mpnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "certificateKey"}, {"type": "string", "name": "mpnsCertificate"}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}, {"type": "string", "name": "name"}, {"type": "string", "name": "registrationTtl"}, {"type": "object", "name": "wnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "packageSid"}, {"type": "string", "name": "secretKey"}, {"type": "string", "name": "windowsLiveEndpoint"}], "clientFlatten": true}]}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "NotificationHubResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceCreate": {"ref": "$Subresource", "json": {"schema": {"type": "object", "name": "parameters.properties.baiduCredential", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "baiduApiKey", "arg": "$parameters.properties.baiduCredential.properties.baiduApiKey"}, {"type": "string", "name": "baiduEndPoint", "arg": "$parameters.properties.baiduCredential.properties.baiduEndPoint"}, {"type": "string", "name": "baiduSecretKey", "arg": "$parameters.properties.baiduCredential.properties.baiduSecretKey"}], "clientFlatten": true}]}}}}, {"operationId": "NotificationHubs_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@NotificationHubResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", "version": "2017-04-01", "subresource": "properties.baiduCredential", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9ub3RpZmljYXRpb25IdWJzL3tub3RpZmljYXRpb25IdWJOYW1lfQ==/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name."}}, {"type": "string", "var": "$Path.notificationHubName", "options": ["notification-hub-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The notification hub name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.baiduCredential.properties.baiduApiKey", "options": ["baidu-api-key"], "group": "Properties", "help": {"short": "Baidu Api Key."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.baiduCredential.properties.baiduEndPoint", "options": ["baidu-end-point"], "group": "Properties", "help": {"short": "Baidu Endpoint."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.baiduCredential.properties.baiduSecretKey", "options": ["baidu-secret-key"], "group": "Properties", "help": {"short": "Baidu Secret Key"}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "object", "name": "properties.baiduCredential"}}}, "operations": [{"operationId": "NotificationHubs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.NotificationHubs/namespaces/{}/notificationHubs/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "admCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "authTokenUrl"}, {"type": "string", "name": "clientId"}, {"type": "string", "name": "clientSecret"}], "clientFlatten": true}]}, {"type": "object", "name": "apnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "apnsCertificate"}, {"type": "string", "name": "appId"}, {"type": "string", "name": "appName"}, {"type": "string", "name": "certificateKey"}, {"type": "string", "name": "endpoint"}, {"type": "string", "name": "keyId"}, {"type": "string", "name": "thumbprint"}, {"type": "string", "name": "token"}], "clientFlatten": true}]}, {"type": "array", "name": "authorizationRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "claimType"}, {"readOnly": true, "type": "string", "name": "claimValue"}, {"readOnly": true, "type": "string", "name": "createdTime"}, {"readOnly": true, "type": "string", "name": "keyName"}, {"readOnly": true, "type": "string", "name": "modifiedTime"}, {"readOnly": true, "type": "string", "name": "primaryKey"}, {"readOnly": true, "type": "integer", "name": "revision"}, {"type": "array", "name": "rights", "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}, {"readOnly": true, "type": "string", "name": "secondaryKey"}]}}, {"type": "object", "name": "baiduCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "baiduApiKey"}, {"type": "string", "name": "baiduEndPoint"}, {"type": "string", "name": "baiduSecretKey"}], "clientFlatten": true}]}, {"type": "object", "name": "gcmCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "gcmEndpoint"}, {"type": "string", "name": "googleApiKey"}], "clientFlatten": true}]}, {"type": "object", "name": "mpnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "certificateKey"}, {"type": "string", "name": "mpnsCertificate"}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}, {"type": "string", "name": "name"}, {"type": "string", "name": "registrationTtl"}, {"type": "object", "name": "wnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "packageSid"}, {"type": "string", "name": "secretKey"}, {"type": "string", "name": "windowsLiveEndpoint"}], "clientFlatten": true}]}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "NotificationHubResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Subresource", "json": {"schema": {"type": "object", "name": "parameters.properties.baiduCredential", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "baiduApiKey", "arg": "$parameters.properties.baiduCredential.properties.baiduApiKey"}, {"type": "string", "name": "baiduEndPoint", "arg": "$parameters.properties.baiduCredential.properties.baiduEndPoint"}, {"type": "string", "name": "baiduSecretKey", "arg": "$parameters.properties.baiduCredential.properties.baiduSecretKey"}], "clientFlatten": true}]}}}}, {"operationId": "NotificationHubs_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@NotificationHubResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}, {"name": "delete", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", "version": "2017-04-01", "subresource": "properties.baiduCredential", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9ub3RpZmljYXRpb25IdWJzL3tub3RpZmljYXRpb25IdWJOYW1lfQ==/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name."}}, {"type": "string", "var": "$Path.notificationHubName", "options": ["notification-hub-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The notification hub name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "object", "name": "properties.baiduCredential"}}}, "operations": [{"operationId": "NotificationHubs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.NotificationHubs/namespaces/{}/notificationHubs/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "admCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "authTokenUrl"}, {"type": "string", "name": "clientId"}, {"type": "string", "name": "clientSecret"}], "clientFlatten": true}]}, {"type": "object", "name": "apnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "apnsCertificate"}, {"type": "string", "name": "appId"}, {"type": "string", "name": "appName"}, {"type": "string", "name": "certificateKey"}, {"type": "string", "name": "endpoint"}, {"type": "string", "name": "keyId"}, {"type": "string", "name": "thumbprint"}, {"type": "string", "name": "token"}], "clientFlatten": true}]}, {"type": "array", "name": "authorizationRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "claimType"}, {"readOnly": true, "type": "string", "name": "claimValue"}, {"readOnly": true, "type": "string", "name": "createdTime"}, {"readOnly": true, "type": "string", "name": "keyName"}, {"readOnly": true, "type": "string", "name": "modifiedTime"}, {"readOnly": true, "type": "string", "name": "primaryKey"}, {"readOnly": true, "type": "integer", "name": "revision"}, {"type": "array", "name": "rights", "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}, {"readOnly": true, "type": "string", "name": "secondaryKey"}]}}, {"type": "object", "name": "baiduCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "baiduApiKey"}, {"type": "string", "name": "baiduEndPoint"}, {"type": "string", "name": "baiduSecretKey"}], "clientFlatten": true}]}, {"type": "object", "name": "gcmCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "gcmEndpoint"}, {"type": "string", "name": "googleApiKey"}], "clientFlatten": true}]}, {"type": "object", "name": "mpnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "certificateKey"}, {"type": "string", "name": "mpnsCertificate"}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}, {"type": "string", "name": "name"}, {"type": "string", "name": "registrationTtl"}, {"type": "object", "name": "wnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "packageSid"}, {"type": "string", "name": "secretKey"}, {"type": "string", "name": "windowsLiveEndpoint"}], "clientFlatten": true}]}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "NotificationHubResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceDelete": {"ref": "$Subresource", "json": {}}}, {"operationId": "NotificationHubs_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@NotificationHubResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "show", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", "version": "2017-04-01", "subresource": "properties.baiduCredential", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9ub3RpZmljYXRpb25IdWJzL3tub3RpZmljYXRpb25IdWJOYW1lfQ==/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name."}}, {"type": "string", "var": "$Path.notificationHubName", "options": ["notification-hub-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The notification hub name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "object", "name": "properties.baiduCredential"}}}, "operations": [{"operationId": "NotificationHubs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.NotificationHubs/namespaces/{}/notificationHubs/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "admCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "authTokenUrl"}, {"type": "string", "name": "clientId"}, {"type": "string", "name": "clientSecret"}], "clientFlatten": true}]}, {"type": "object", "name": "apnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "apnsCertificate"}, {"type": "string", "name": "appId"}, {"type": "string", "name": "appName"}, {"type": "string", "name": "certificateKey"}, {"type": "string", "name": "endpoint"}, {"type": "string", "name": "keyId"}, {"type": "string", "name": "thumbprint"}, {"type": "string", "name": "token"}], "clientFlatten": true}]}, {"type": "array", "name": "authorizationRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "claimType"}, {"readOnly": true, "type": "string", "name": "claimValue"}, {"readOnly": true, "type": "string", "name": "createdTime"}, {"readOnly": true, "type": "string", "name": "keyName"}, {"readOnly": true, "type": "string", "name": "modifiedTime"}, {"readOnly": true, "type": "string", "name": "primaryKey"}, {"readOnly": true, "type": "integer", "name": "revision"}, {"type": "array", "name": "rights", "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}, {"readOnly": true, "type": "string", "name": "secondaryKey"}]}}, {"type": "object", "name": "baiduCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "baiduApiKey"}, {"type": "string", "name": "baiduEndPoint"}, {"type": "string", "name": "baiduSecretKey"}], "clientFlatten": true}]}, {"type": "object", "name": "gcmCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "gcmEndpoint"}, {"type": "string", "name": "googleApiKey"}], "clientFlatten": true}]}, {"type": "object", "name": "mpnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "certificateKey"}, {"type": "string", "name": "mpnsCertificate"}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}, {"type": "string", "name": "name"}, {"type": "string", "name": "registrationTtl"}, {"type": "object", "name": "wnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "packageSid"}, {"type": "string", "name": "secretKey"}, {"type": "string", "name": "windowsLiveEndpoint"}], "clientFlatten": true}]}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "NotificationHubResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}]}, {"name": "gcm", "commands": [{"name": "create", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", "version": "2017-04-01", "subresource": "properties.gcmCredential", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9ub3RpZmljYXRpb25IdWJzL3tub3RpZmljYXRpb25IdWJOYW1lfQ==/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name."}}, {"type": "string", "var": "$Path.notificationHubName", "options": ["n", "name", "notification-hub-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The notification hub name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"type": "string", "var": "$parameters.properties.gcmCredential.properties.gcmEndpoint", "options": ["gcm-endpoint"], "hide": true, "group": "Properties", "help": {"short": "The FCM legacy endpoint. Default value is 'https://fcm.googleapis.com/fcm/send'"}}, {"type": "string", "var": "$parameters.properties.gcmCredential.properties.googleApiKey", "options": ["google-api-key"], "group": "Properties", "help": {"short": "The Google API key."}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "object", "name": "properties.gcmCredential"}}}, "operations": [{"operationId": "NotificationHubs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.NotificationHubs/namespaces/{}/notificationHubs/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "admCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "authTokenUrl"}, {"type": "string", "name": "clientId"}, {"type": "string", "name": "clientSecret"}], "clientFlatten": true}]}, {"type": "object", "name": "apnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "apnsCertificate"}, {"type": "string", "name": "appId"}, {"type": "string", "name": "appName"}, {"type": "string", "name": "certificateKey"}, {"type": "string", "name": "endpoint"}, {"type": "string", "name": "keyId"}, {"type": "string", "name": "thumbprint"}, {"type": "string", "name": "token"}], "clientFlatten": true}]}, {"type": "array", "name": "authorizationRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "claimType"}, {"readOnly": true, "type": "string", "name": "claimValue"}, {"readOnly": true, "type": "string", "name": "createdTime"}, {"readOnly": true, "type": "string", "name": "keyName"}, {"readOnly": true, "type": "string", "name": "modifiedTime"}, {"readOnly": true, "type": "string", "name": "primaryKey"}, {"readOnly": true, "type": "integer", "name": "revision"}, {"type": "array", "name": "rights", "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}, {"readOnly": true, "type": "string", "name": "secondaryKey"}]}}, {"type": "object", "name": "baiduCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "baiduApiKey"}, {"type": "string", "name": "baiduEndPoint"}, {"type": "string", "name": "baiduSecretKey"}], "clientFlatten": true}]}, {"type": "object", "name": "gcmCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "gcmEndpoint"}, {"type": "string", "name": "googleApiKey"}], "clientFlatten": true}]}, {"type": "object", "name": "mpnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "certificateKey"}, {"type": "string", "name": "mpnsCertificate"}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}, {"type": "string", "name": "name"}, {"type": "string", "name": "registrationTtl"}, {"type": "object", "name": "wnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "packageSid"}, {"type": "string", "name": "secretKey"}, {"type": "string", "name": "windowsLiveEndpoint"}], "clientFlatten": true}]}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "NotificationHubResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceCreate": {"ref": "$Subresource", "json": {"schema": {"type": "object", "name": "parameters.properties.gcmCredential", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "gcmEndpoint", "arg": "$parameters.properties.gcmCredential.properties.gcmEndpoint"}, {"type": "string", "name": "googleApiKey", "arg": "$parameters.properties.gcmCredential.properties.googleApiKey"}], "clientFlatten": true}]}}}}, {"operationId": "NotificationHubs_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@NotificationHubResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", "version": "2017-04-01", "subresource": "properties.gcmCredential", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9ub3RpZmljYXRpb25IdWJzL3tub3RpZmljYXRpb25IdWJOYW1lfQ==/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name."}}, {"type": "string", "var": "$Path.notificationHubName", "options": ["n", "name", "notification-hub-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The notification hub name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.gcmCredential.properties.gcmEndpoint", "options": ["gcm-endpoint"], "group": "Properties", "help": {"short": "The FCM legacy endpoint. Default value is 'https://fcm.googleapis.com/fcm/send'"}}, {"nullable": true, "type": "string", "var": "$parameters.properties.gcmCredential.properties.googleApiKey", "options": ["google-api-key"], "group": "Properties", "help": {"short": "The Google API key."}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "object", "name": "properties.gcmCredential"}}}, "operations": [{"operationId": "NotificationHubs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.NotificationHubs/namespaces/{}/notificationHubs/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "admCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "authTokenUrl"}, {"type": "string", "name": "clientId"}, {"type": "string", "name": "clientSecret"}], "clientFlatten": true}]}, {"type": "object", "name": "apnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "apnsCertificate"}, {"type": "string", "name": "appId"}, {"type": "string", "name": "appName"}, {"type": "string", "name": "certificateKey"}, {"type": "string", "name": "endpoint"}, {"type": "string", "name": "keyId"}, {"type": "string", "name": "thumbprint"}, {"type": "string", "name": "token"}], "clientFlatten": true}]}, {"type": "array", "name": "authorizationRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "claimType"}, {"readOnly": true, "type": "string", "name": "claimValue"}, {"readOnly": true, "type": "string", "name": "createdTime"}, {"readOnly": true, "type": "string", "name": "keyName"}, {"readOnly": true, "type": "string", "name": "modifiedTime"}, {"readOnly": true, "type": "string", "name": "primaryKey"}, {"readOnly": true, "type": "integer", "name": "revision"}, {"type": "array", "name": "rights", "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}, {"readOnly": true, "type": "string", "name": "secondaryKey"}]}}, {"type": "object", "name": "baiduCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "baiduApiKey"}, {"type": "string", "name": "baiduEndPoint"}, {"type": "string", "name": "baiduSecretKey"}], "clientFlatten": true}]}, {"type": "object", "name": "gcmCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "gcmEndpoint"}, {"type": "string", "name": "googleApiKey"}], "clientFlatten": true}]}, {"type": "object", "name": "mpnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "certificateKey"}, {"type": "string", "name": "mpnsCertificate"}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}, {"type": "string", "name": "name"}, {"type": "string", "name": "registrationTtl"}, {"type": "object", "name": "wnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "packageSid"}, {"type": "string", "name": "secretKey"}, {"type": "string", "name": "windowsLiveEndpoint"}], "clientFlatten": true}]}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "NotificationHubResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Subresource", "json": {"schema": {"type": "object", "name": "parameters.properties.gcmCredential", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "gcmEndpoint", "arg": "$parameters.properties.gcmCredential.properties.gcmEndpoint"}, {"type": "string", "name": "googleApiKey", "arg": "$parameters.properties.gcmCredential.properties.googleApiKey"}], "clientFlatten": true}]}}}}, {"operationId": "NotificationHubs_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@NotificationHubResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}, {"name": "delete", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", "version": "2017-04-01", "subresource": "properties.gcmCredential", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9ub3RpZmljYXRpb25IdWJzL3tub3RpZmljYXRpb25IdWJOYW1lfQ==/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name."}}, {"type": "string", "var": "$Path.notificationHubName", "options": ["notification-hub-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The notification hub name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "object", "name": "properties.gcmCredential"}}}, "operations": [{"operationId": "NotificationHubs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.NotificationHubs/namespaces/{}/notificationHubs/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "admCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "authTokenUrl"}, {"type": "string", "name": "clientId"}, {"type": "string", "name": "clientSecret"}], "clientFlatten": true}]}, {"type": "object", "name": "apnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "apnsCertificate"}, {"type": "string", "name": "appId"}, {"type": "string", "name": "appName"}, {"type": "string", "name": "certificateKey"}, {"type": "string", "name": "endpoint"}, {"type": "string", "name": "keyId"}, {"type": "string", "name": "thumbprint"}, {"type": "string", "name": "token"}], "clientFlatten": true}]}, {"type": "array", "name": "authorizationRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "claimType"}, {"readOnly": true, "type": "string", "name": "claimValue"}, {"readOnly": true, "type": "string", "name": "createdTime"}, {"readOnly": true, "type": "string", "name": "keyName"}, {"readOnly": true, "type": "string", "name": "modifiedTime"}, {"readOnly": true, "type": "string", "name": "primaryKey"}, {"readOnly": true, "type": "integer", "name": "revision"}, {"type": "array", "name": "rights", "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}, {"readOnly": true, "type": "string", "name": "secondaryKey"}]}}, {"type": "object", "name": "baiduCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "baiduApiKey"}, {"type": "string", "name": "baiduEndPoint"}, {"type": "string", "name": "baiduSecretKey"}], "clientFlatten": true}]}, {"type": "object", "name": "gcmCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "gcmEndpoint"}, {"type": "string", "name": "googleApiKey"}], "clientFlatten": true}]}, {"type": "object", "name": "mpnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "certificateKey"}, {"type": "string", "name": "mpnsCertificate"}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}, {"type": "string", "name": "name"}, {"type": "string", "name": "registrationTtl"}, {"type": "object", "name": "wnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "packageSid"}, {"type": "string", "name": "secretKey"}, {"type": "string", "name": "windowsLiveEndpoint"}], "clientFlatten": true}]}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "NotificationHubResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceDelete": {"ref": "$Subresource", "json": {}}}, {"operationId": "NotificationHubs_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@NotificationHubResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "show", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", "version": "2017-04-01", "subresource": "properties.gcmCredential", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9ub3RpZmljYXRpb25IdWJzL3tub3RpZmljYXRpb25IdWJOYW1lfQ==/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name."}}, {"type": "string", "var": "$Path.notificationHubName", "options": ["notification-hub-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The notification hub name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "object", "name": "properties.gcmCredential"}}}, "operations": [{"operationId": "NotificationHubs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.NotificationHubs/namespaces/{}/notificationHubs/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "admCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "authTokenUrl"}, {"type": "string", "name": "clientId"}, {"type": "string", "name": "clientSecret"}], "clientFlatten": true}]}, {"type": "object", "name": "apnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "apnsCertificate"}, {"type": "string", "name": "appId"}, {"type": "string", "name": "appName"}, {"type": "string", "name": "certificateKey"}, {"type": "string", "name": "endpoint"}, {"type": "string", "name": "keyId"}, {"type": "string", "name": "thumbprint"}, {"type": "string", "name": "token"}], "clientFlatten": true}]}, {"type": "array", "name": "authorizationRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "claimType"}, {"readOnly": true, "type": "string", "name": "claimValue"}, {"readOnly": true, "type": "string", "name": "createdTime"}, {"readOnly": true, "type": "string", "name": "keyName"}, {"readOnly": true, "type": "string", "name": "modifiedTime"}, {"readOnly": true, "type": "string", "name": "primaryKey"}, {"readOnly": true, "type": "integer", "name": "revision"}, {"type": "array", "name": "rights", "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}, {"readOnly": true, "type": "string", "name": "secondaryKey"}]}}, {"type": "object", "name": "baiduCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "baiduApiKey"}, {"type": "string", "name": "baiduEndPoint"}, {"type": "string", "name": "baiduSecretKey"}], "clientFlatten": true}]}, {"type": "object", "name": "gcmCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "gcmEndpoint"}, {"type": "string", "name": "googleApiKey"}], "clientFlatten": true}]}, {"type": "object", "name": "mpnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "certificateKey"}, {"type": "string", "name": "mpnsCertificate"}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}, {"type": "string", "name": "name"}, {"type": "string", "name": "registrationTtl"}, {"type": "object", "name": "wnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "packageSid"}, {"type": "string", "name": "secretKey"}, {"type": "string", "name": "windowsLiveEndpoint"}], "clientFlatten": true}]}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "NotificationHubResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}]}, {"name": "mpns", "commands": [{"name": "create", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", "version": "2017-04-01", "subresource": "properties.mpnsCredential", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9ub3RpZmljYXRpb25IdWJzL3tub3RpZmljYXRpb25IdWJOYW1lfQ==/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name."}}, {"type": "string", "var": "$Path.notificationHubName", "options": ["n", "name", "notification-hub-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The notification hub name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"type": "string", "var": "$parameters.properties.mpnsCredential.properties.certificateKey", "options": ["certificate-key"], "group": "Properties", "help": {"short": "The certificate key for this credential."}}, {"type": "string", "var": "$parameters.properties.mpnsCredential.properties.mpnsCertificate", "options": ["mpns-certificate-org"], "group": "Properties", "help": {"short": "The MPNS certificate."}}, {"type": "string", "var": "$parameters.properties.mpnsCredential.properties.thumbprint", "options": ["thumbprint"], "hide": true, "group": "Properties", "help": {"short": "The MPNS certificate Thumbprint"}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "object", "name": "properties.mpnsCredential"}}}, "operations": [{"operationId": "NotificationHubs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.NotificationHubs/namespaces/{}/notificationHubs/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "admCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "authTokenUrl"}, {"type": "string", "name": "clientId"}, {"type": "string", "name": "clientSecret"}], "clientFlatten": true}]}, {"type": "object", "name": "apnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "apnsCertificate"}, {"type": "string", "name": "appId"}, {"type": "string", "name": "appName"}, {"type": "string", "name": "certificateKey"}, {"type": "string", "name": "endpoint"}, {"type": "string", "name": "keyId"}, {"type": "string", "name": "thumbprint"}, {"type": "string", "name": "token"}], "clientFlatten": true}]}, {"type": "array", "name": "authorizationRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "claimType"}, {"readOnly": true, "type": "string", "name": "claimValue"}, {"readOnly": true, "type": "string", "name": "createdTime"}, {"readOnly": true, "type": "string", "name": "keyName"}, {"readOnly": true, "type": "string", "name": "modifiedTime"}, {"readOnly": true, "type": "string", "name": "primaryKey"}, {"readOnly": true, "type": "integer", "name": "revision"}, {"type": "array", "name": "rights", "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}, {"readOnly": true, "type": "string", "name": "secondaryKey"}]}}, {"type": "object", "name": "baiduCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "baiduApiKey"}, {"type": "string", "name": "baiduEndPoint"}, {"type": "string", "name": "baiduSecretKey"}], "clientFlatten": true}]}, {"type": "object", "name": "gcmCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "gcmEndpoint"}, {"type": "string", "name": "googleApiKey"}], "clientFlatten": true}]}, {"type": "object", "name": "mpnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "certificateKey"}, {"type": "string", "name": "mpnsCertificate"}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}, {"type": "string", "name": "name"}, {"type": "string", "name": "registrationTtl"}, {"type": "object", "name": "wnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "packageSid"}, {"type": "string", "name": "secretKey"}, {"type": "string", "name": "windowsLiveEndpoint"}], "clientFlatten": true}]}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "NotificationHubResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceCreate": {"ref": "$Subresource", "json": {"schema": {"type": "object", "name": "parameters.properties.mpnsCredential", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "certificateKey", "arg": "$parameters.properties.mpnsCredential.properties.certificateKey"}, {"type": "string", "name": "mpnsCertificate", "arg": "$parameters.properties.mpnsCredential.properties.mpnsCertificate"}, {"type": "string", "name": "thumbprint", "arg": "$parameters.properties.mpnsCredential.properties.thumbprint"}], "clientFlatten": true}]}}}}, {"operationId": "NotificationHubs_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@NotificationHubResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", "version": "2017-04-01", "subresource": "properties.mpnsCredential", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9ub3RpZmljYXRpb25IdWJzL3tub3RpZmljYXRpb25IdWJOYW1lfQ==/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name."}}, {"type": "string", "var": "$Path.notificationHubName", "options": ["notification-hub-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The notification hub name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.mpnsCredential.properties.certificateKey", "options": ["certificate-key"], "group": "Properties", "help": {"short": "The certificate key for this credential."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.mpnsCredential.properties.mpnsCertificate", "options": ["mpns-certificate"], "group": "Properties", "help": {"short": "The MPNS certificate."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.mpnsCredential.properties.thumbprint", "options": ["thumbprint"], "group": "Properties", "help": {"short": "The MPNS certificate Thumbprint"}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "object", "name": "properties.mpnsCredential"}}}, "operations": [{"operationId": "NotificationHubs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.NotificationHubs/namespaces/{}/notificationHubs/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "admCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "authTokenUrl"}, {"type": "string", "name": "clientId"}, {"type": "string", "name": "clientSecret"}], "clientFlatten": true}]}, {"type": "object", "name": "apnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "apnsCertificate"}, {"type": "string", "name": "appId"}, {"type": "string", "name": "appName"}, {"type": "string", "name": "certificateKey"}, {"type": "string", "name": "endpoint"}, {"type": "string", "name": "keyId"}, {"type": "string", "name": "thumbprint"}, {"type": "string", "name": "token"}], "clientFlatten": true}]}, {"type": "array", "name": "authorizationRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "claimType"}, {"readOnly": true, "type": "string", "name": "claimValue"}, {"readOnly": true, "type": "string", "name": "createdTime"}, {"readOnly": true, "type": "string", "name": "keyName"}, {"readOnly": true, "type": "string", "name": "modifiedTime"}, {"readOnly": true, "type": "string", "name": "primaryKey"}, {"readOnly": true, "type": "integer", "name": "revision"}, {"type": "array", "name": "rights", "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}, {"readOnly": true, "type": "string", "name": "secondaryKey"}]}}, {"type": "object", "name": "baiduCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "baiduApiKey"}, {"type": "string", "name": "baiduEndPoint"}, {"type": "string", "name": "baiduSecretKey"}], "clientFlatten": true}]}, {"type": "object", "name": "gcmCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "gcmEndpoint"}, {"type": "string", "name": "googleApiKey"}], "clientFlatten": true}]}, {"type": "object", "name": "mpnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "certificateKey"}, {"type": "string", "name": "mpnsCertificate"}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}, {"type": "string", "name": "name"}, {"type": "string", "name": "registrationTtl"}, {"type": "object", "name": "wnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "packageSid"}, {"type": "string", "name": "secretKey"}, {"type": "string", "name": "windowsLiveEndpoint"}], "clientFlatten": true}]}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "NotificationHubResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Subresource", "json": {"schema": {"type": "object", "name": "parameters.properties.mpnsCredential", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "certificateKey", "arg": "$parameters.properties.mpnsCredential.properties.certificateKey"}, {"type": "string", "name": "mpnsCertificate", "arg": "$parameters.properties.mpnsCredential.properties.mpnsCertificate"}, {"type": "string", "name": "thumbprint", "arg": "$parameters.properties.mpnsCredential.properties.thumbprint"}], "clientFlatten": true}]}}}}, {"operationId": "NotificationHubs_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@NotificationHubResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}, {"name": "delete", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", "version": "2017-04-01", "subresource": "properties.mpnsCredential", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9ub3RpZmljYXRpb25IdWJzL3tub3RpZmljYXRpb25IdWJOYW1lfQ==/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name."}}, {"type": "string", "var": "$Path.notificationHubName", "options": ["notification-hub-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The notification hub name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "object", "name": "properties.mpnsCredential"}}}, "operations": [{"operationId": "NotificationHubs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.NotificationHubs/namespaces/{}/notificationHubs/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "admCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "authTokenUrl"}, {"type": "string", "name": "clientId"}, {"type": "string", "name": "clientSecret"}], "clientFlatten": true}]}, {"type": "object", "name": "apnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "apnsCertificate"}, {"type": "string", "name": "appId"}, {"type": "string", "name": "appName"}, {"type": "string", "name": "certificateKey"}, {"type": "string", "name": "endpoint"}, {"type": "string", "name": "keyId"}, {"type": "string", "name": "thumbprint"}, {"type": "string", "name": "token"}], "clientFlatten": true}]}, {"type": "array", "name": "authorizationRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "claimType"}, {"readOnly": true, "type": "string", "name": "claimValue"}, {"readOnly": true, "type": "string", "name": "createdTime"}, {"readOnly": true, "type": "string", "name": "keyName"}, {"readOnly": true, "type": "string", "name": "modifiedTime"}, {"readOnly": true, "type": "string", "name": "primaryKey"}, {"readOnly": true, "type": "integer", "name": "revision"}, {"type": "array", "name": "rights", "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}, {"readOnly": true, "type": "string", "name": "secondaryKey"}]}}, {"type": "object", "name": "baiduCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "baiduApiKey"}, {"type": "string", "name": "baiduEndPoint"}, {"type": "string", "name": "baiduSecretKey"}], "clientFlatten": true}]}, {"type": "object", "name": "gcmCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "gcmEndpoint"}, {"type": "string", "name": "googleApiKey"}], "clientFlatten": true}]}, {"type": "object", "name": "mpnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "certificateKey"}, {"type": "string", "name": "mpnsCertificate"}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}, {"type": "string", "name": "name"}, {"type": "string", "name": "registrationTtl"}, {"type": "object", "name": "wnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "packageSid"}, {"type": "string", "name": "secretKey"}, {"type": "string", "name": "windowsLiveEndpoint"}], "clientFlatten": true}]}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "NotificationHubResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceDelete": {"ref": "$Subresource", "json": {}}}, {"operationId": "NotificationHubs_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@NotificationHubResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "show", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", "version": "2017-04-01", "subresource": "properties.mpnsCredential", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9ub3RpZmljYXRpb25IdWJzL3tub3RpZmljYXRpb25IdWJOYW1lfQ==/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name."}}, {"type": "string", "var": "$Path.notificationHubName", "options": ["notification-hub-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The notification hub name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "object", "name": "properties.mpnsCredential"}}}, "operations": [{"operationId": "NotificationHubs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.NotificationHubs/namespaces/{}/notificationHubs/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "admCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "authTokenUrl"}, {"type": "string", "name": "clientId"}, {"type": "string", "name": "clientSecret"}], "clientFlatten": true}]}, {"type": "object", "name": "apnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "apnsCertificate"}, {"type": "string", "name": "appId"}, {"type": "string", "name": "appName"}, {"type": "string", "name": "certificateKey"}, {"type": "string", "name": "endpoint"}, {"type": "string", "name": "keyId"}, {"type": "string", "name": "thumbprint"}, {"type": "string", "name": "token"}], "clientFlatten": true}]}, {"type": "array", "name": "authorizationRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "claimType"}, {"readOnly": true, "type": "string", "name": "claimValue"}, {"readOnly": true, "type": "string", "name": "createdTime"}, {"readOnly": true, "type": "string", "name": "keyName"}, {"readOnly": true, "type": "string", "name": "modifiedTime"}, {"readOnly": true, "type": "string", "name": "primaryKey"}, {"readOnly": true, "type": "integer", "name": "revision"}, {"type": "array", "name": "rights", "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}, {"readOnly": true, "type": "string", "name": "secondaryKey"}]}}, {"type": "object", "name": "baiduCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "baiduApiKey"}, {"type": "string", "name": "baiduEndPoint"}, {"type": "string", "name": "baiduSecretKey"}], "clientFlatten": true}]}, {"type": "object", "name": "gcmCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "gcmEndpoint"}, {"type": "string", "name": "googleApiKey"}], "clientFlatten": true}]}, {"type": "object", "name": "mpnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "certificateKey"}, {"type": "string", "name": "mpnsCertificate"}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}, {"type": "string", "name": "name"}, {"type": "string", "name": "registrationTtl"}, {"type": "object", "name": "wnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "packageSid"}, {"type": "string", "name": "secretKey"}, {"type": "string", "name": "windowsLiveEndpoint"}], "clientFlatten": true}]}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "NotificationHubResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}]}, {"name": "wns", "commands": [{"name": "create", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", "version": "2017-04-01", "subresource": "properties.wnsCredential", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9ub3RpZmljYXRpb25IdWJzL3tub3RpZmljYXRpb25IdWJOYW1lfQ==/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name."}}, {"type": "string", "var": "$Path.notificationHubName", "options": ["n", "name", "notification-hub-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The notification hub name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"type": "string", "var": "$parameters.properties.wnsCredential.properties.packageSid", "options": ["package-sid"], "group": "Properties", "help": {"short": "The package ID for this credential."}}, {"type": "string", "var": "$parameters.properties.wnsCredential.properties.secretKey", "options": ["secret-key"], "group": "Properties", "help": {"short": "The secret key."}}, {"type": "string", "var": "$parameters.properties.wnsCredential.properties.windowsLiveEndpoint", "options": ["windows-live-endpoint"], "hide": true, "group": "Properties", "help": {"short": "The Windows Live endpoint."}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "object", "name": "properties.wnsCredential"}}}, "operations": [{"operationId": "NotificationHubs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.NotificationHubs/namespaces/{}/notificationHubs/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "admCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "authTokenUrl"}, {"type": "string", "name": "clientId"}, {"type": "string", "name": "clientSecret"}], "clientFlatten": true}]}, {"type": "object", "name": "apnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "apnsCertificate"}, {"type": "string", "name": "appId"}, {"type": "string", "name": "appName"}, {"type": "string", "name": "certificateKey"}, {"type": "string", "name": "endpoint"}, {"type": "string", "name": "keyId"}, {"type": "string", "name": "thumbprint"}, {"type": "string", "name": "token"}], "clientFlatten": true}]}, {"type": "array", "name": "authorizationRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "claimType"}, {"readOnly": true, "type": "string", "name": "claimValue"}, {"readOnly": true, "type": "string", "name": "createdTime"}, {"readOnly": true, "type": "string", "name": "keyName"}, {"readOnly": true, "type": "string", "name": "modifiedTime"}, {"readOnly": true, "type": "string", "name": "primaryKey"}, {"readOnly": true, "type": "integer", "name": "revision"}, {"type": "array", "name": "rights", "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}, {"readOnly": true, "type": "string", "name": "secondaryKey"}]}}, {"type": "object", "name": "baiduCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "baiduApiKey"}, {"type": "string", "name": "baiduEndPoint"}, {"type": "string", "name": "baiduSecretKey"}], "clientFlatten": true}]}, {"type": "object", "name": "gcmCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "gcmEndpoint"}, {"type": "string", "name": "googleApiKey"}], "clientFlatten": true}]}, {"type": "object", "name": "mpnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "certificateKey"}, {"type": "string", "name": "mpnsCertificate"}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}, {"type": "string", "name": "name"}, {"type": "string", "name": "registrationTtl"}, {"type": "object", "name": "wnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "packageSid"}, {"type": "string", "name": "secretKey"}, {"type": "string", "name": "windowsLiveEndpoint"}], "clientFlatten": true}]}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "NotificationHubResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceCreate": {"ref": "$Subresource", "json": {"schema": {"type": "object", "name": "parameters.properties.wnsCredential", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "packageSid", "arg": "$parameters.properties.wnsCredential.properties.packageSid"}, {"type": "string", "name": "secretKey", "arg": "$parameters.properties.wnsCredential.properties.secretKey"}, {"type": "string", "name": "windowsLiveEndpoint", "arg": "$parameters.properties.wnsCredential.properties.windowsLiveEndpoint"}], "clientFlatten": true}]}}}}, {"operationId": "NotificationHubs_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@NotificationHubResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", "version": "2017-04-01", "subresource": "properties.wnsCredential", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9ub3RpZmljYXRpb25IdWJzL3tub3RpZmljYXRpb25IdWJOYW1lfQ==/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name."}}, {"type": "string", "var": "$Path.notificationHubName", "options": ["notification-hub-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The notification hub name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.wnsCredential.properties.packageSid", "options": ["package-sid"], "group": "Properties", "help": {"short": "The package ID for this credential."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.wnsCredential.properties.secretKey", "options": ["secret-key"], "group": "Properties", "help": {"short": "The secret key."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.wnsCredential.properties.windowsLiveEndpoint", "options": ["windows-live-endpoint"], "group": "Properties", "help": {"short": "The Windows Live endpoint."}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "object", "name": "properties.wnsCredential"}}}, "operations": [{"operationId": "NotificationHubs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.NotificationHubs/namespaces/{}/notificationHubs/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "admCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "authTokenUrl"}, {"type": "string", "name": "clientId"}, {"type": "string", "name": "clientSecret"}], "clientFlatten": true}]}, {"type": "object", "name": "apnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "apnsCertificate"}, {"type": "string", "name": "appId"}, {"type": "string", "name": "appName"}, {"type": "string", "name": "certificateKey"}, {"type": "string", "name": "endpoint"}, {"type": "string", "name": "keyId"}, {"type": "string", "name": "thumbprint"}, {"type": "string", "name": "token"}], "clientFlatten": true}]}, {"type": "array", "name": "authorizationRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "claimType"}, {"readOnly": true, "type": "string", "name": "claimValue"}, {"readOnly": true, "type": "string", "name": "createdTime"}, {"readOnly": true, "type": "string", "name": "keyName"}, {"readOnly": true, "type": "string", "name": "modifiedTime"}, {"readOnly": true, "type": "string", "name": "primaryKey"}, {"readOnly": true, "type": "integer", "name": "revision"}, {"type": "array", "name": "rights", "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}, {"readOnly": true, "type": "string", "name": "secondaryKey"}]}}, {"type": "object", "name": "baiduCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "baiduApiKey"}, {"type": "string", "name": "baiduEndPoint"}, {"type": "string", "name": "baiduSecretKey"}], "clientFlatten": true}]}, {"type": "object", "name": "gcmCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "gcmEndpoint"}, {"type": "string", "name": "googleApiKey"}], "clientFlatten": true}]}, {"type": "object", "name": "mpnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "certificateKey"}, {"type": "string", "name": "mpnsCertificate"}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}, {"type": "string", "name": "name"}, {"type": "string", "name": "registrationTtl"}, {"type": "object", "name": "wnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "packageSid"}, {"type": "string", "name": "secretKey"}, {"type": "string", "name": "windowsLiveEndpoint"}], "clientFlatten": true}]}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "NotificationHubResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Subresource", "json": {"schema": {"type": "object", "name": "parameters.properties.wnsCredential", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "packageSid", "arg": "$parameters.properties.wnsCredential.properties.packageSid"}, {"type": "string", "name": "secretKey", "arg": "$parameters.properties.wnsCredential.properties.secretKey"}, {"type": "string", "name": "windowsLiveEndpoint", "arg": "$parameters.properties.wnsCredential.properties.windowsLiveEndpoint"}], "clientFlatten": true}]}}}}, {"operationId": "NotificationHubs_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@NotificationHubResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}, {"name": "delete", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", "version": "2017-04-01", "subresource": "properties.wnsCredential", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9ub3RpZmljYXRpb25IdWJzL3tub3RpZmljYXRpb25IdWJOYW1lfQ==/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name."}}, {"type": "string", "var": "$Path.notificationHubName", "options": ["notification-hub-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The notification hub name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "object", "name": "properties.wnsCredential"}}}, "operations": [{"operationId": "NotificationHubs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.NotificationHubs/namespaces/{}/notificationHubs/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "admCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "authTokenUrl"}, {"type": "string", "name": "clientId"}, {"type": "string", "name": "clientSecret"}], "clientFlatten": true}]}, {"type": "object", "name": "apnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "apnsCertificate"}, {"type": "string", "name": "appId"}, {"type": "string", "name": "appName"}, {"type": "string", "name": "certificateKey"}, {"type": "string", "name": "endpoint"}, {"type": "string", "name": "keyId"}, {"type": "string", "name": "thumbprint"}, {"type": "string", "name": "token"}], "clientFlatten": true}]}, {"type": "array", "name": "authorizationRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "claimType"}, {"readOnly": true, "type": "string", "name": "claimValue"}, {"readOnly": true, "type": "string", "name": "createdTime"}, {"readOnly": true, "type": "string", "name": "keyName"}, {"readOnly": true, "type": "string", "name": "modifiedTime"}, {"readOnly": true, "type": "string", "name": "primaryKey"}, {"readOnly": true, "type": "integer", "name": "revision"}, {"type": "array", "name": "rights", "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}, {"readOnly": true, "type": "string", "name": "secondaryKey"}]}}, {"type": "object", "name": "baiduCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "baiduApiKey"}, {"type": "string", "name": "baiduEndPoint"}, {"type": "string", "name": "baiduSecretKey"}], "clientFlatten": true}]}, {"type": "object", "name": "gcmCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "gcmEndpoint"}, {"type": "string", "name": "googleApiKey"}], "clientFlatten": true}]}, {"type": "object", "name": "mpnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "certificateKey"}, {"type": "string", "name": "mpnsCertificate"}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}, {"type": "string", "name": "name"}, {"type": "string", "name": "registrationTtl"}, {"type": "object", "name": "wnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "packageSid"}, {"type": "string", "name": "secretKey"}, {"type": "string", "name": "windowsLiveEndpoint"}], "clientFlatten": true}]}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "NotificationHubResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceDelete": {"ref": "$Subresource", "json": {}}}, {"operationId": "NotificationHubs_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@NotificationHubResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "show", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}", "version": "2017-04-01", "subresource": "properties.wnsCredential", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9ub3RpZmljYXRpb25IdWJzL3tub3RpZmljYXRpb25IdWJOYW1lfQ==/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name."}}, {"type": "string", "var": "$Path.notificationHubName", "options": ["notification-hub-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The notification hub name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "object", "name": "properties.wnsCredential"}}}, "operations": [{"operationId": "NotificationHubs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.NotificationHubs/namespaces/{}/notificationHubs/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "admCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "authTokenUrl"}, {"type": "string", "name": "clientId"}, {"type": "string", "name": "clientSecret"}], "clientFlatten": true}]}, {"type": "object", "name": "apnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "apnsCertificate"}, {"type": "string", "name": "appId"}, {"type": "string", "name": "appName"}, {"type": "string", "name": "certificateKey"}, {"type": "string", "name": "endpoint"}, {"type": "string", "name": "keyId"}, {"type": "string", "name": "thumbprint"}, {"type": "string", "name": "token"}], "clientFlatten": true}]}, {"type": "array", "name": "authorizationRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "claimType"}, {"readOnly": true, "type": "string", "name": "claimValue"}, {"readOnly": true, "type": "string", "name": "createdTime"}, {"readOnly": true, "type": "string", "name": "keyName"}, {"readOnly": true, "type": "string", "name": "modifiedTime"}, {"readOnly": true, "type": "string", "name": "primaryKey"}, {"readOnly": true, "type": "integer", "name": "revision"}, {"type": "array", "name": "rights", "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}, {"readOnly": true, "type": "string", "name": "secondaryKey"}]}}, {"type": "object", "name": "baiduCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "baiduApiKey"}, {"type": "string", "name": "baiduEndPoint"}, {"type": "string", "name": "baiduSecretKey"}], "clientFlatten": true}]}, {"type": "object", "name": "gcmCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "gcmEndpoint"}, {"type": "string", "name": "googleApiKey"}], "clientFlatten": true}]}, {"type": "object", "name": "mpnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "certificateKey"}, {"type": "string", "name": "mpnsCertificate"}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}, {"type": "string", "name": "name"}, {"type": "string", "name": "registrationTtl"}, {"type": "object", "name": "wnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "packageSid"}, {"type": "string", "name": "secretKey"}, {"type": "string", "name": "windowsLiveEndpoint"}], "clientFlatten": true}]}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "NotificationHubResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}]}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fQ==/2017-04-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fQ==/2017-04-01.xml new file mode 100644 index 000000000..558784e19 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fQ==/2017-04-01.xml @@ -0,0 +1,5430 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fS9hdXRob3JpemF0aW9ucnVsZXM=/2017-04-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fS9hdXRob3JpemF0aW9ucnVsZXM=/2017-04-01.json new file mode 100644 index 000000000..dc14cbd17 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fS9hdXRob3JpemF0aW9ucnVsZXM=/2017-04-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}/authorizationrules", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9ub3RpZmljYXRpb25IdWJzL3tub3RpZmljYXRpb25IdWJOYW1lfS9BdXRob3JpemF0aW9uUnVsZXM=/V/MjAxNy0wNC0wMQ=="}], "commandGroups": [{"name": "notification-hub authorization-rule", "commands": [{"name": "list", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}/authorizationrules", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9ub3RpZmljYXRpb25IdWJzL3tub3RpZmljYXRpb25IdWJOYW1lfS9BdXRob3JpemF0aW9uUnVsZXM=/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name"}}, {"type": "string", "var": "$Path.notificationHubName", "options": ["notification-hub-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The notification hub name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "NotificationHubs_ListAuthorizationRules", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/AuthorizationRules", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "claimType"}, {"readOnly": true, "type": "string", "name": "claimValue"}, {"readOnly": true, "type": "string", "name": "createdTime"}, {"readOnly": true, "type": "string", "name": "keyName"}, {"readOnly": true, "type": "string", "name": "modifiedTime"}, {"readOnly": true, "type": "string", "name": "primaryKey"}, {"readOnly": true, "type": "integer", "name": "revision"}, {"type": "array", "name": "rights", "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}, {"readOnly": true, "type": "string", "name": "secondaryKey"}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fS9hdXRob3JpemF0aW9ucnVsZXM=/2017-04-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fS9hdXRob3JpemF0aW9ucnVsZXM=/2017-04-01.xml new file mode 100644 index 000000000..7e82f90b6 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fS9hdXRob3JpemF0aW9ucnVsZXM=/2017-04-01.xml @@ -0,0 +1,98 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fS9hdXRob3JpemF0aW9ucnVsZXMve30=/2017-04-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fS9hdXRob3JpemF0aW9ucnVsZXMve30=/2017-04-01.json new file mode 100644 index 000000000..8fed52e19 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fS9hdXRob3JpemF0aW9ucnVsZXMve30=/2017-04-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}/authorizationrules/{}", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9ub3RpZmljYXRpb25IdWJzL3tub3RpZmljYXRpb25IdWJOYW1lfS9BdXRob3JpemF0aW9uUnVsZXMve2F1dGhvcml6YXRpb25SdWxlTmFtZX0=/V/MjAxNy0wNC0wMQ=="}], "commandGroups": [{"name": "notification-hub authorization-rule", "commands": [{"name": "show", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}/authorizationrules/{}", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9ub3RpZmljYXRpb25IdWJzL3tub3RpZmljYXRpb25IdWJOYW1lfS9BdXRob3JpemF0aW9uUnVsZXMve2F1dGhvcml6YXRpb25SdWxlTmFtZX0=/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.authorizationRuleName", "options": ["n", "name"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "Authorization Rule Name."}}, {"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name"}}, {"type": "string", "var": "$Path.notificationHubName", "options": ["notification-hub-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The notification hub name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "NotificationHubs_GetAuthorizationRule", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/AuthorizationRules/{authorizationRuleName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "authorizationRuleName", "arg": "$Path.authorizationRuleName", "required": true}, {"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "claimType"}, {"readOnly": true, "type": "string", "name": "claimValue"}, {"readOnly": true, "type": "string", "name": "createdTime"}, {"readOnly": true, "type": "string", "name": "keyName"}, {"readOnly": true, "type": "string", "name": "modifiedTime"}, {"readOnly": true, "type": "string", "name": "primaryKey"}, {"readOnly": true, "type": "integer", "name": "revision"}, {"type": "array", "name": "rights", "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}, {"readOnly": true, "type": "string", "name": "secondaryKey"}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "delete", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}/authorizationrules/{}", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9ub3RpZmljYXRpb25IdWJzL3tub3RpZmljYXRpb25IdWJOYW1lfS9BdXRob3JpemF0aW9uUnVsZXMve2F1dGhvcml6YXRpb25SdWxlTmFtZX0=/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.authorizationRuleName", "options": ["n", "name"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "Authorization Rule Name."}}, {"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name."}}, {"type": "string", "var": "$Path.notificationHubName", "options": ["notification-hub-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The notification hub name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "NotificationHubs_DeleteAuthorizationRule", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/AuthorizationRules/{authorizationRuleName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "authorizationRuleName", "arg": "$Path.authorizationRuleName", "required": true}, {"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}/authorizationrules/{}", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9ub3RpZmljYXRpb25IdWJzL3tub3RpZmljYXRpb25IdWJOYW1lfS9BdXRob3JpemF0aW9uUnVsZXMve2F1dGhvcml6YXRpb25SdWxlTmFtZX0=/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.authorizationRuleName", "options": ["n", "name"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "Authorization Rule Name."}}, {"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name."}}, {"type": "string", "var": "$Path.notificationHubName", "options": ["notification-hub-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The notification hub name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"type": "array", "var": "$parameters.properties.rights", "options": ["rights"], "group": "Properties", "help": {"short": "The rights associated with the rule."}, "item": {"type": "string", "enum": {"items": [{"name": "Listen", "value": "Listen"}, {"name": "Manage", "value": "Manage"}, {"name": "Send", "value": "Send"}]}}}]}], "operations": [{"operationId": "NotificationHubs_CreateOrUpdateAuthorizationRule", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/AuthorizationRules/{authorizationRuleName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "authorizationRuleName", "arg": "$Path.authorizationRuleName", "required": true}, {"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "object", "name": "properties", "required": true, "props": [{"type": "array", "name": "rights", "arg": "$parameters.properties.rights", "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}]}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "claimType"}, {"readOnly": true, "type": "string", "name": "claimValue"}, {"readOnly": true, "type": "string", "name": "createdTime"}, {"readOnly": true, "type": "string", "name": "keyName"}, {"readOnly": true, "type": "string", "name": "modifiedTime"}, {"readOnly": true, "type": "string", "name": "primaryKey"}, {"readOnly": true, "type": "integer", "name": "revision"}, {"type": "array", "name": "rights", "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}, {"readOnly": true, "type": "string", "name": "secondaryKey"}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}/authorizationrules/{}", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9ub3RpZmljYXRpb25IdWJzL3tub3RpZmljYXRpb25IdWJOYW1lfS9BdXRob3JpemF0aW9uUnVsZXMve2F1dGhvcml6YXRpb25SdWxlTmFtZX0=/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.authorizationRuleName", "options": ["n", "name"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "Authorization Rule Name."}}, {"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name"}}, {"type": "string", "var": "$Path.notificationHubName", "options": ["notification-hub-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The notification hub name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"nullable": true, "type": "array", "var": "$parameters.properties.rights", "options": ["rights"], "group": "Properties", "help": {"short": "The rights associated with the rule."}, "item": {"nullable": true, "type": "string", "enum": {"items": [{"name": "Listen", "value": "Listen"}, {"name": "Manage", "value": "Manage"}, {"name": "Send", "value": "Send"}]}}}]}], "operations": [{"operationId": "NotificationHubs_GetAuthorizationRule", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/AuthorizationRules/{authorizationRuleName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "authorizationRuleName", "arg": "$Path.authorizationRuleName", "required": true}, {"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "claimType"}, {"readOnly": true, "type": "string", "name": "claimValue"}, {"readOnly": true, "type": "string", "name": "createdTime"}, {"readOnly": true, "type": "string", "name": "keyName"}, {"readOnly": true, "type": "string", "name": "modifiedTime"}, {"readOnly": true, "type": "string", "name": "primaryKey"}, {"readOnly": true, "type": "integer", "name": "revision"}, {"type": "array", "name": "rights", "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}, {"readOnly": true, "type": "string", "name": "secondaryKey"}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "SharedAccessAuthorizationRuleResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "object", "name": "properties", "required": true, "props": [{"type": "array", "name": "rights", "arg": "$parameters.properties.rights", "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}]}], "clientFlatten": true}}}}, {"operationId": "NotificationHubs_CreateOrUpdateAuthorizationRule", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/AuthorizationRules/{authorizationRuleName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "authorizationRuleName", "arg": "$Path.authorizationRuleName", "required": true}, {"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "@SharedAccessAuthorizationRuleResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fS9hdXRob3JpemF0aW9ucnVsZXMve30=/2017-04-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fS9hdXRob3JpemF0aW9ucnVsZXMve30=/2017-04-01.xml new file mode 100644 index 000000000..c4f366363 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fS9hdXRob3JpemF0aW9ucnVsZXMve30=/2017-04-01.xml @@ -0,0 +1,417 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fS9hdXRob3JpemF0aW9ucnVsZXMve30vbGlzdGtleXM=/2017-04-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fS9hdXRob3JpemF0aW9ucnVsZXMve30vbGlzdGtleXM=/2017-04-01.json new file mode 100644 index 000000000..b260499d1 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fS9hdXRob3JpemF0aW9ucnVsZXMve30vbGlzdGtleXM=/2017-04-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}/authorizationrules/{}/listkeys", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9ub3RpZmljYXRpb25IdWJzL3tub3RpZmljYXRpb25IdWJOYW1lfS9BdXRob3JpemF0aW9uUnVsZXMve2F1dGhvcml6YXRpb25SdWxlTmFtZX0vbGlzdEtleXM=/V/MjAxNy0wNC0wMQ=="}], "commandGroups": [{"name": "notification-hub authorization-rule", "commands": [{"name": "list-keys", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}/authorizationrules/{}/listkeys", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9ub3RpZmljYXRpb25IdWJzL3tub3RpZmljYXRpb25IdWJOYW1lfS9BdXRob3JpemF0aW9uUnVsZXMve2F1dGhvcml6YXRpb25SdWxlTmFtZX0vbGlzdEtleXM=/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.authorizationRuleName", "options": ["n", "name"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The connection string of the NotificationHub for the specified authorizationRule."}}, {"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name."}}, {"type": "string", "var": "$Path.notificationHubName", "options": ["notification-hub-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The notification hub name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "NotificationHubs_ListKeys", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/AuthorizationRules/{authorizationRuleName}/listKeys", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "authorizationRuleName", "arg": "$Path.authorizationRuleName", "required": true}, {"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "keyName"}, {"type": "string", "name": "primaryConnectionString"}, {"type": "string", "name": "primaryKey"}, {"type": "string", "name": "secondaryConnectionString"}, {"type": "string", "name": "secondaryKey"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fS9hdXRob3JpemF0aW9ucnVsZXMve30vbGlzdGtleXM=/2017-04-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fS9hdXRob3JpemF0aW9ucnVsZXMve30vbGlzdGtleXM=/2017-04-01.xml new file mode 100644 index 000000000..b15493b40 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fS9hdXRob3JpemF0aW9ucnVsZXMve30vbGlzdGtleXM=/2017-04-01.xml @@ -0,0 +1,61 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fS9hdXRob3JpemF0aW9ucnVsZXMve30vcmVnZW5lcmF0ZWtleXM=/2017-04-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fS9hdXRob3JpemF0aW9ucnVsZXMve30vcmVnZW5lcmF0ZWtleXM=/2017-04-01.json new file mode 100644 index 000000000..c043b599d --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fS9hdXRob3JpemF0aW9ucnVsZXMve30vcmVnZW5lcmF0ZWtleXM=/2017-04-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}/authorizationrules/{}/regeneratekeys", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9ub3RpZmljYXRpb25IdWJzL3tub3RpZmljYXRpb25IdWJOYW1lfS9BdXRob3JpemF0aW9uUnVsZXMve2F1dGhvcml6YXRpb25SdWxlTmFtZX0vcmVnZW5lcmF0ZUtleXM=/V/MjAxNy0wNC0wMQ=="}], "commandGroups": [{"name": "notification-hub authorization-rule", "commands": [{"name": "regenerate-keys", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}/authorizationrules/{}/regeneratekeys", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9ub3RpZmljYXRpb25IdWJzL3tub3RpZmljYXRpb25IdWJOYW1lfS9BdXRob3JpemF0aW9uUnVsZXMve2F1dGhvcml6YXRpb25SdWxlTmFtZX0vcmVnZW5lcmF0ZUtleXM=/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.authorizationRuleName", "options": ["n", "name"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The connection string of the NotificationHub for the specified authorizationRule."}}, {"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name."}}, {"type": "string", "var": "$Path.notificationHubName", "options": ["notification-hub-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The notification hub name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Parameters", "args": [{"type": "string", "var": "$parameters.policyKey", "options": ["policy-key"], "group": "Parameters", "help": {"short": "Name of the key that has to be regenerated for the Namespace/Notification Hub Authorization Rule. The value can be Primary Key/Secondary Key."}}]}], "operations": [{"operationId": "NotificationHubs_RegenerateKeys", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/AuthorizationRules/{authorizationRuleName}/regenerateKeys", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "authorizationRuleName", "arg": "$Path.authorizationRuleName", "required": true}, {"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "string", "name": "policyKey", "arg": "$parameters.policyKey"}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "keyName"}, {"type": "string", "name": "primaryConnectionString"}, {"type": "string", "name": "primaryKey"}, {"type": "string", "name": "secondaryConnectionString"}, {"type": "string", "name": "secondaryKey"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fS9hdXRob3JpemF0aW9ucnVsZXMve30vcmVnZW5lcmF0ZWtleXM=/2017-04-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fS9hdXRob3JpemF0aW9ucnVsZXMve30vcmVnZW5lcmF0ZWtleXM=/2017-04-01.xml new file mode 100644 index 000000000..b4d9aeaa0 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fS9hdXRob3JpemF0aW9ucnVsZXMve30vcmVnZW5lcmF0ZWtleXM=/2017-04-01.xml @@ -0,0 +1,73 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fS9kZWJ1Z3NlbmQ=/2017-04-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fS9kZWJ1Z3NlbmQ=/2017-04-01.json new file mode 100644 index 000000000..be9859935 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fS9kZWJ1Z3NlbmQ=/2017-04-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}/debugsend", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9ub3RpZmljYXRpb25IdWJzL3tub3RpZmljYXRpb25IdWJOYW1lfS9kZWJ1Z3NlbmQ=/V/MjAxNy0wNC0wMQ=="}], "commandGroups": [{"name": "notification-hub", "commands": [{"name": "test-send", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}/debugsend", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9ub3RpZmljYXRpb25IdWJzL3tub3RpZmljYXRpb25IdWJOYW1lfS9kZWJ1Z3NlbmQ=/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name."}}, {"type": "string", "var": "$Path.notificationHubName", "options": ["notification-hub-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The notification hub name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "NotificationHubs_DebugSend", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/debugsend", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "id"}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "float", "name": "failure"}, {"type": "float", "name": "success"}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fS9kZWJ1Z3NlbmQ=/2017-04-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fS9kZWJ1Z3NlbmQ=/2017-04-01.xml new file mode 100644 index 000000000..94d2cd36c --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fS9kZWJ1Z3NlbmQ=/2017-04-01.xml @@ -0,0 +1,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fS9wbnNjcmVkZW50aWFscw==/2017-04-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fS9wbnNjcmVkZW50aWFscw==/2017-04-01.json new file mode 100644 index 000000000..8599f1d3e --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fS9wbnNjcmVkZW50aWFscw==/2017-04-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}/pnscredentials", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9ub3RpZmljYXRpb25IdWJzL3tub3RpZmljYXRpb25IdWJOYW1lfS9wbnNDcmVkZW50aWFscw==/V/MjAxNy0wNC0wMQ=="}], "commandGroups": [{"name": "notification-hub credential", "commands": [{"name": "list", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs/{}/pnscredentials", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9ub3RpZmljYXRpb25IdWJzL3tub3RpZmljYXRpb25IdWJOYW1lfS9wbnNDcmVkZW50aWFscw==/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name."}}, {"type": "string", "var": "$Path.notificationHubName", "options": ["notification-hub-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The notification hub name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "NotificationHubs_GetPnsCredentials", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/pnsCredentials", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "notificationHubName", "arg": "$Path.notificationHubName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "id"}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "admCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "authTokenUrl"}, {"type": "string", "name": "clientId"}, {"type": "string", "name": "clientSecret"}], "clientFlatten": true}]}, {"type": "object", "name": "apnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "apnsCertificate"}, {"type": "string", "name": "appId"}, {"type": "string", "name": "appName"}, {"type": "string", "name": "certificateKey"}, {"type": "string", "name": "endpoint"}, {"type": "string", "name": "keyId"}, {"type": "string", "name": "thumbprint"}, {"type": "string", "name": "token"}], "clientFlatten": true}]}, {"type": "object", "name": "baiduCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "baiduApiKey"}, {"type": "string", "name": "baiduEndPoint"}, {"type": "string", "name": "baiduSecretKey"}], "clientFlatten": true}]}, {"type": "object", "name": "gcmCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "gcmEndpoint"}, {"type": "string", "name": "googleApiKey"}], "clientFlatten": true}]}, {"type": "object", "name": "mpnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "certificateKey"}, {"type": "string", "name": "mpnsCertificate"}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}, {"type": "object", "name": "wnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "packageSid"}, {"type": "string", "name": "secretKey"}, {"type": "string", "name": "windowsLiveEndpoint"}], "clientFlatten": true}]}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fS9wbnNjcmVkZW50aWFscw==/2017-04-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fS9wbnNjcmVkZW50aWFscw==/2017-04-01.xml new file mode 100644 index 000000000..83a6f938b --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicy97fS9wbnNjcmVkZW50aWFscw==/2017-04-01.xml @@ -0,0 +1,122 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +