Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mlc swagger fixes #4

Merged
merged 11 commits into from
Jan 5, 2021
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"vmPriority": "Dedicated",
"osType": "Windows",
"virtualMachineImage": null,
"isolatedNetwork": null,
"isolatedNetwork": false,
"subnet": "test-subnet-resource-id",
"scaleSettings": {
"maxNodeCount": 1,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -974,6 +974,9 @@
}
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
},
"x-ms-examples": {
"Get compute nodes information for a compute": {
"$ref": "./examples/amlComputeListNodes.json"
Expand Down Expand Up @@ -3418,10 +3421,24 @@
"format": "int32",
"minimum": 1
},
"agentVMSize": {
"agentVmSize": {
"description": "Agent virtual machine size",
"type": "string"
},
"clusterPurpose": {
"Description": "Intended usage of the cluster",
"type": "string",
"default": "FastProd",
"enum": [
"FastProd",
"DenseProd",
"DevTest"
],
"x-ms-enum": {
"name": "ClusterPurpose",
"modelAsString": true
}
},
"sslConfiguration": {
"description": "SSL configuration",
"$ref": "#/definitions/SslConfiguration"
Expand Down Expand Up @@ -3453,6 +3470,7 @@
"osType": {
"description": "Compute OS Type",
"type": "string",
"default": "Linux",
"enum": [
"Linux",
"Windows"
Expand Down Expand Up @@ -3668,6 +3686,10 @@
"description": "Settings for a personal compute instance.",
"$ref": "#/definitions/PersonalComputeInstanceSettings"
},
"setupScripts": {
"description": "Details of customized scripts to execute for setting up the cluster.",
"$ref": "#/definitions/SetupScripts"
},
"lastOperation": {
"description": "The last operation on ComputeInstance.",
"$ref": "#/definitions/ComputeInstanceLastOperation",
Expand Down Expand Up @@ -3772,6 +3794,10 @@
"databricksAccessToken": {
"description": "Databricks access token",
"type": "string"
},
"workspaceUrl": {
"description": "Workspace Url",
"type": "string"
}
}
}
Expand Down Expand Up @@ -3851,7 +3877,8 @@
"type": "string",
"enum": [
"Disabled",
"Enabled"
"Enabled",
"Auto"
]
},
"cert": {
Expand Down Expand Up @@ -6587,6 +6614,52 @@
"type": "string"
}
}
},
"SetupScripts": {
"type": "object",
"description": "Details of customized scripts to execute for setting up the cluster.",
"properties": {
"scripts": {
"description": "Customized setup scripts",
"$ref": "#/definitions/ScriptsToExecute"
}
}
},
"ScriptsToExecute": {
"type": "object",
"description": "Customized setup scripts",
"properties": {
"startupScript": {
"description": "Script that's run every time the machine starts.",
"$ref": "#/definitions/ScriptReference"
},
"creationScript": {
"description": "Script that's run only once during provision of the compute.",
"$ref": "#/definitions/ScriptReference"
}
}
},
"ScriptReference": {
"type": "object",
"description" : "Script reference",
"properties": {
"scriptSource": {
"description": "The storage source of the script: inline, workspace.",
"type": "string"
},
"scriptData": {
"description": "The location of scripts in the mounted volume.",
"type": "string"
},
"scriptArguments": {
"description": "Optional command line arguments passed to the script to run.",
"type": "string"
},
"timeout": {
"description": "Optional time period passed to timeout command.",
"type": "string"
}
}
}
}
}