Advertisement
Guest User

Untitled

a guest
Jan 16th, 2017
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.45 KB | None | 0 0
  1. "inputs": [
  2. {
  3. "name": "ConnectedServiceName",
  4. "type": "connectedService:AzureRM",
  5. "label": "Azure RM Subscription",
  6. "defaultValue": "",
  7. "required": true,
  8. "helpMarkDown": "Select the Azure Resource Manager subscription for the deployment."
  9. },
  10. {
  11. "name": "ResourceGroupName",
  12. "label": "Resource Group",
  13. "type": "pickList",
  14. "required": true,
  15. "helpMarkDown": "Select resource group which contains the API portal"
  16. },
  17. {
  18. "name": "ApiPortalName",
  19. "type": "pickList",
  20. "label": "API Portals",
  21. "defaultValue": "",
  22. "required": true,
  23. "properties": {
  24. "EditableOptions": "True"
  25. },
  26. "helpMarkDown": "Select the Azure Resource Manager subscription for the deployment."
  27. }
  28. ],
  29. "dataSourceBindings": [
  30. {
  31. "target": "ResourceGroupName",
  32. "endpointId": "$(ConnectedServiceName)",
  33. "dataSourceName": "AzureResourceGroups"
  34. },
  35. {
  36. "name": "ApiPortals",
  37. "target": "ApiPortalName",
  38. "endpointId": "$(ConnectedServiceName)",
  39. "endpointUrl": "https://management.azure.com/subscriptions/$(endpoint.subscriptionId)/resourceGroups/$(ResourceGroupName)/providers/Microsoft.ApiManagement/service?api-version=2016-07-07",
  40. "resultSelector": "jsonpath:$.value[*].name",
  41. "parameters": {
  42. "ResourceGroupName": "$(ResourceGroupName)"
  43. }
  44. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement