Instantly share code, notes, and snippets.

Embed
What would you like to do?
List of Access Keys from Output Values after ARM Template Deployment
{
"variables": {
"logicApp": {
"name": "my-logic-app",
"trigger": "manual"
},
"resourceId": "[resourceId('Microsoft.Logic/workflows/triggers', variables('logicApp').name, variables('logicApp').trigger)]",
"apiVersion": "[providers('Microsoft.Logic', 'workflow').apiVersions[0]]"
},
"resources": [],
"outputs": {
"endpointUrl": {
"type": "string",
"value": "[listCallbackUrl(variables('resourceId'), variables('apiVersion')).value]"
},
"path": {
"type": "string",
"value": "[listCallbackUrl(variables('resourceId'), variables('apiVersion')).basePath]"
},
"querystring": {
"type": "string",
"value": "[concat('api-version=', variables('apiVersion'), '&sp=', uriComponent(listCallbackUrl(variables('resourceId'), variables('apiVersion')).queries.sp), '&sv=', listCallbackUrl(variables('resourceId'), variables('apiVersion')).queries.sv, '&sig=', listCallbackUrl(variables('resourceId'), variables('apiVersion')).queries.sig)]"
},
"sasToken": {
"type": "string",
"value": "[concat('sp=', uriComponent(listCallbackUrl(variables('resourceId'), variables('apiVersion')).queries.sp), '&sv=', listCallbackUrl(variables('resourceId'), variables('apiVersion')).queries.sv, '&sig=', listCallbackUrl(variables('resourceId'), variables('apiVersion')).queries.sig)]"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment