Skip to content

Commit c9a4b57

Browse files
author
Ved Kale
committed
address comments
1 parent 18195f9 commit c9a4b57

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

  • specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-04-25-preview

specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-04-25-preview/HybridCompute.json

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3138,7 +3138,8 @@
31383138
},
31393139
"runAsPassword": {
31403140
"type": "string",
3141-
"description": "Specifies the user account password on the machine when executing the run command."
3141+
"description": "Specifies the user account password on the machine when executing the run command.",
3142+
"x-ms-secret": true
31423143
},
31433144
"timeoutInSeconds": {
31443145
"type": "integer",
@@ -3147,11 +3148,11 @@
31473148
},
31483149
"outputBlobUri": {
31493150
"type": "string",
3150-
"description": "Specifies the Azure storage blob where script output stream will be uploaded."
3151+
"description": "Specifies the Azure storage blob where script output stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer outputBlobManagedIdentity parameter. "
31513152
},
31523153
"errorBlobUri": {
31533154
"type": "string",
3154-
"description": "Specifies the Azure storage blob where script error stream will be uploaded."
3155+
"description": "Specifies the Azure storage blob where script error stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer errorBlobManagedIdentity parameter."
31553156
},
31563157
"outputBlobManagedIdentity": {
31573158
"$ref": "#/definitions/RunCommandManagedIdentity",
@@ -3183,11 +3184,15 @@
31833184
},
31843185
"scriptUri": {
31853186
"type": "string",
3186-
"description": "Specifies the script download location."
3187+
"description": "Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI."
31873188
},
31883189
"commandId": {
31893190
"type": "string",
31903191
"description": "Specifies the commandId of predefined built-in script."
3192+
},
3193+
"scriptUriManagedIdentity": {
3194+
"$ref": "#/definitions/RunCommandManagedIdentity",
3195+
"description": "User-assigned managed identity that has access to scriptUri in case of Azure storage blob. Use an empty object in case of system-assigned identity. Make sure the Azure storage blob exists, and managed identity has been given access to blob's container with 'Storage Blob Data Reader' role assignment. In case of user-assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged."
31913196
}
31923197
},
31933198
"description": "Describes the script sources for run command."

0 commit comments

Comments
 (0)