Skip to content

Commit eca42a9

Browse files
author
Azure Quickstarts Pipeline
committed
update azuredeploy.json README.md for (quickstarts\microsoft.machinelearningservices\machine-learning-job-create-or-update-job) ***NO_CI***
1 parent 17cd5cf commit eca42a9

File tree

2 files changed

+65
-1
lines changed

2 files changed

+65
-1
lines changed

quickstarts/microsoft.machinelearningservices/machine-learning-job-create-or-update-job/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
description: Creates a simple hello world Azure Command Job.
2+
description: This template creates an Azure Machine Learning Command job with a basic hello_world script
33
page_type: sample
44
products:
55
- azure
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
{
2+
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
3+
"contentVersion": "1.0.0.0",
4+
"metadata": {
5+
"_generator": {
6+
"name": "bicep",
7+
"version": "0.11.1.770",
8+
"templateHash": "7330564898094792594"
9+
}
10+
},
11+
"parameters": {
12+
"workspaceName": {
13+
"type": "string",
14+
"metadata": {
15+
"description": "Specifies the name of the Azure Machine Learning workspace where the command job will be created."
16+
}
17+
},
18+
"computeName": {
19+
"type": "string",
20+
"metadata": {
21+
"description": "Specifies the name of the Azure Machine Learning compute instance/cluster on which job will be run."
22+
}
23+
},
24+
"experimentName": {
25+
"type": "string",
26+
"metadata": {
27+
"description": "Specifies the name of the Azure Machine Learning experiment under which job will be created."
28+
}
29+
},
30+
"jobName": {
31+
"type": "string",
32+
"metadata": {
33+
"description": "Specifies the name of the Azure Machine Learning job to be created."
34+
}
35+
},
36+
"environmentName": {
37+
"type": "string",
38+
"defaultValue": "AzureML-lightgbm-3.2-ubuntu18.04-py37-cpu",
39+
"metadata": {
40+
"description": "Specifies the curated environment to run sweep job."
41+
}
42+
}
43+
},
44+
"resources": [
45+
{
46+
"type": "Microsoft.MachineLearningServices/workspaces/jobs",
47+
"apiVersion": "2022-10-01",
48+
"name": "[format('{0}/{1}', parameters('workspaceName'), parameters('jobName'))]",
49+
"properties": {
50+
"jobType": "Command",
51+
"experimentName": "[parameters('experimentName')]",
52+
"command": "echo \"hello_world\"",
53+
"environmentId": "[resourceId('Microsoft.MachineLearningServices/workspaces/environments/versions', split(format('{0}/{1}', parameters('workspaceName'), parameters('environmentName')), '/')[0], split(format('{0}/{1}', parameters('workspaceName'), parameters('environmentName')), '/')[1], reference(resourceId('Microsoft.MachineLearningServices/workspaces/environments', split(format('{0}/{1}', parameters('workspaceName'), parameters('environmentName')), '/')[0], split(format('{0}/{1}', parameters('workspaceName'), parameters('environmentName')), '/')[1]), '2022-05-01').latestVersion)]",
54+
"computeId": "[resourceId('Microsoft.MachineLearningServices/workspaces/computes', split(format('{0}/{1}', parameters('workspaceName'), parameters('computeName')), '/')[0], split(format('{0}/{1}', parameters('workspaceName'), parameters('computeName')), '/')[1])]"
55+
}
56+
}
57+
],
58+
"outputs": {
59+
"Job_Studio_Endpoint": {
60+
"type": "string",
61+
"value": "[reference(resourceId('Microsoft.MachineLearningServices/workspaces/jobs', split(format('{0}/{1}', parameters('workspaceName'), parameters('jobName')), '/')[0], split(format('{0}/{1}', parameters('workspaceName'), parameters('jobName')), '/')[1])).services.Studio.endpoint]"
62+
}
63+
}
64+
}

0 commit comments

Comments
 (0)