Last active
July 4, 2022 08:53
-
-
Save justinyoo/2196cf52cc28b7d16726465be1db4c02 to your computer and use it in GitHub Desktop.
List of Access Keys from Output Values after ARM Template Deployment
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"variables": { | |
"logicApp": { | |
"name": "my-logic-app", | |
"trigger": "manual" | |
}, | |
"resourceId": "[resourceId('Microsoft.Logic/workflows/triggers', variables('logicApp').name, variables('logicApp').trigger)]", | |
"apiVersion": "[providers('Microsoft.Logic', 'workflows').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
@RutgerAlbers No problem! Glad it helped!