Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- createJob :: Text -> Text -> Text -> Text -> JobBase -> AccessToken -> Req JobBaseResource
- listJobs :: Text -> Text -> Text -> AccessToken -> Req (Collection JobBaseResource)
- data JobBaseResource = JobBaseResource {
- jbrId :: Text
- jbrName :: Text
- jbrSystemData :: SystemData
- jbrProperties :: JobBase
- data JobBase = JobBase {
- jbStatus :: Status
- jbComponentId :: Text
- jbComputeId :: Text
- jbDescription :: Text
- jbDisplayName :: Text
- jbOutputs :: Value
- jbProperties :: Value
- data Status
- data SystemData = SystemData {}
Documentation
:: Text | subscription id |
-> Text | res group id |
-> Text | ML workspace id |
-> Text | job id |
-> JobBase | |
-> AccessToken | |
-> Req JobBaseResource |
Create a job
docs: https://learn.microsoft.com/en-us/rest/api/azureml/2023-04-01/jobs/create-or-update?tabs=HTTP
PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/jobs/{id}?api-version=2023-04-01
:: Text | subscription id |
-> Text | res group id |
-> Text | ML workspace id |
-> AccessToken | |
-> Req (Collection JobBaseResource) |
List jobs
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/jobs?api-version=2023-04-01&$skip={$skip}&jobType={jobType}&tag={tag}&listViewType={listViewType}
data JobBaseResource Source #
JobBaseResource | |
|
Instances
JobBase
https://learn.microsoft.com/en-us/rest/api/azureml/2023-04-01/jobs/create-or-update?tabs=HTTP data JobBase = JBAutoMLJob { jbStatus :: Status , jbComponentId :: Text , jb } -- ^ https://learn.microsoft.com/en-us/rest/api/azureml/2023-04-01/jobs/list?tabs=HTTP#automljob | JBCommandJob { jbStatus :: Status } | JBPipelineJob { jbStatus :: Status } | JBSweepJob { jbStatus :: Status }
JobBase | |
|
Instances
CancelRequested | |
Canceled | |
Completed | |
Failed | |
Finalizing | |
NotResponding | |
NotStarted | |
Paused | |
Preparing | |
Provisioning | |
Queued | |
Running | |
Starting | |
Unknown |
Instances
data SystemData Source #
SystemData | |
|