File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed
Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 1+ var resourceGroupLocation = resourceGroup ().location
2+ var solutionLocation = resourceGroupLocation
3+
4+ param keyVaultName string
5+ param identity string
6+ param managedIdentityClientId string
7+
8+ var baseUrl = 'https://raw.githubusercontent.com/microsoft/Conversation-Knowledge-Mining-Solution-Accelerator/process_new_data/'
9+
10+ resource process_data_scripts 'Microsoft.Resources/deploymentScripts@2020-10-01' = {
11+ kind :'AzureCLI'
12+ name : 'process_data_scripts'
13+ location : solutionLocation // Replace with your desired location
14+ identity : {
15+ type : 'UserAssigned'
16+ userAssignedIdentities : {
17+ '${identity }' : {}
18+ }
19+ }
20+ properties : {
21+ azCliVersion : '2.52.0'
22+ primaryScriptUri : '${baseUrl }infra/scripts/process_data_scripts.sh'
23+ arguments : '${baseUrl } ${keyVaultName } ${managedIdentityClientId }' // Specify any arguments for the script
24+ timeout : 'PT1H' // Specify the desired timeout duration
25+ retentionInterval : 'PT1H' // Specify the desired retention interval
26+ cleanupPreference :'OnSuccess'
27+ }
28+ }
You can’t perform that action at this time.
0 commit comments