Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- "inputs": [
- {
- "name": "ConnectedServiceName",
- "type": "connectedService:AzureRM",
- "label": "Azure RM Subscription",
- "defaultValue": "",
- "required": true,
- "helpMarkDown": "Select the Azure Resource Manager subscription for the deployment."
- },
- {
- "name": "ResourceGroupName",
- "label": "Resource Group",
- "type": "pickList",
- "required": true,
- "helpMarkDown": "Select resource group which contains the API portal"
- },
- {
- "name": "ApiPortalName",
- "type": "pickList",
- "label": "API Portals",
- "defaultValue": "",
- "required": true,
- "properties": {
- "EditableOptions": "True"
- },
- "helpMarkDown": "Select the Azure Resource Manager subscription for the deployment."
- }
- ],
- "dataSourceBindings": [
- {
- "target": "ResourceGroupName",
- "endpointId": "$(ConnectedServiceName)",
- "dataSourceName": "AzureResourceGroups"
- },
- {
- "name": "ApiPortals",
- "target": "ApiPortalName",
- "endpointId": "$(ConnectedServiceName)",
- "endpointUrl": "https://management.azure.com/subscriptions/$(endpoint.subscriptionId)/resourceGroups/$(ResourceGroupName)/providers/Microsoft.ApiManagement/service?api-version=2016-07-07",
- "resultSelector": "jsonpath:$.value[*].name",
- "parameters": {
- "ResourceGroupName": "$(ResourceGroupName)"
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement