ms-azure-api-0.6.0.1: Microsoft Azure API
Safe HaskellSafe-Inferred
LanguageHaskell2010

MSAzureAPI.MachineLearning.Jobs

Synopsis

Documentation

createJob Source #

Arguments

:: 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

listJobs Source #

Arguments

:: 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 #

Instances

Instances details
FromJSON JobBaseResource Source # 
Instance details

Defined in MSAzureAPI.MachineLearning.Jobs

Generic JobBaseResource Source # 
Instance details

Defined in MSAzureAPI.MachineLearning.Jobs

Associated Types

type Rep JobBaseResource :: Type -> Type #

Show JobBaseResource Source # 
Instance details

Defined in MSAzureAPI.MachineLearning.Jobs

Eq JobBaseResource Source # 
Instance details

Defined in MSAzureAPI.MachineLearning.Jobs

type Rep JobBaseResource Source # 
Instance details

Defined in MSAzureAPI.MachineLearning.Jobs

type Rep JobBaseResource = D1 ('MetaData "JobBaseResource" "MSAzureAPI.MachineLearning.Jobs" "ms-azure-api-0.6.0.1-9AqtB8TNiqqGzZl2uZcaR4" 'False) (C1 ('MetaCons "JobBaseResource" 'PrefixI 'True) ((S1 ('MetaSel ('Just "jbrId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "jbrName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "jbrSystemData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SystemData) :*: S1 ('MetaSel ('Just "jbrProperties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 JobBase))))

data JobBase Source #

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 }

Instances

Instances details
FromJSON JobBase Source # 
Instance details

Defined in MSAzureAPI.MachineLearning.Jobs

ToJSON JobBase Source # 
Instance details

Defined in MSAzureAPI.MachineLearning.Jobs

Generic JobBase Source # 
Instance details

Defined in MSAzureAPI.MachineLearning.Jobs

Associated Types

type Rep JobBase :: Type -> Type #

Methods

from :: JobBase -> Rep JobBase x #

to :: Rep JobBase x -> JobBase #

Show JobBase Source # 
Instance details

Defined in MSAzureAPI.MachineLearning.Jobs

Eq JobBase Source # 
Instance details

Defined in MSAzureAPI.MachineLearning.Jobs

Methods

(==) :: JobBase -> JobBase -> Bool #

(/=) :: JobBase -> JobBase -> Bool #

type Rep JobBase Source # 
Instance details

Defined in MSAzureAPI.MachineLearning.Jobs

type Rep JobBase = D1 ('MetaData "JobBase" "MSAzureAPI.MachineLearning.Jobs" "ms-azure-api-0.6.0.1-9AqtB8TNiqqGzZl2uZcaR4" 'False) (C1 ('MetaCons "JobBase" 'PrefixI 'True) ((S1 ('MetaSel ('Just "jbStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Status) :*: (S1 ('MetaSel ('Just "jbComponentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "jbComputeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "jbDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "jbDisplayName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "jbOutputs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Value) :*: S1 ('MetaSel ('Just "jbProperties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Value)))))

data Status Source #

Instances

Instances details
FromJSON Status Source # 
Instance details

Defined in MSAzureAPI.MachineLearning.Jobs

ToJSON Status Source # 
Instance details

Defined in MSAzureAPI.MachineLearning.Jobs

Generic Status Source # 
Instance details

Defined in MSAzureAPI.MachineLearning.Jobs

Associated Types

type Rep Status :: Type -> Type #

Methods

from :: Status -> Rep Status x #

to :: Rep Status x -> Status #

Show Status Source # 
Instance details

Defined in MSAzureAPI.MachineLearning.Jobs

Eq Status Source # 
Instance details

Defined in MSAzureAPI.MachineLearning.Jobs

Methods

(==) :: Status -> Status -> Bool #

(/=) :: Status -> Status -> Bool #

type Rep Status Source # 
Instance details

Defined in MSAzureAPI.MachineLearning.Jobs

type Rep Status = D1 ('MetaData "Status" "MSAzureAPI.MachineLearning.Jobs" "ms-azure-api-0.6.0.1-9AqtB8TNiqqGzZl2uZcaR4" 'False) (((C1 ('MetaCons "CancelRequested" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Canceled" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Completed" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "Failed" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Finalizing" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "NotResponding" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "NotStarted" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "Paused" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Preparing" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Provisioning" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "Queued" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Running" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Starting" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Unknown" 'PrefixI 'False) (U1 :: Type -> Type)))))

data SystemData Source #

Instances

Instances details
FromJSON SystemData Source # 
Instance details

Defined in MSAzureAPI.MachineLearning.Jobs

Generic SystemData Source # 
Instance details

Defined in MSAzureAPI.MachineLearning.Jobs

Associated Types

type Rep SystemData :: Type -> Type #

Show SystemData Source # 
Instance details

Defined in MSAzureAPI.MachineLearning.Jobs

Eq SystemData Source # 
Instance details

Defined in MSAzureAPI.MachineLearning.Jobs

type Rep SystemData Source # 
Instance details

Defined in MSAzureAPI.MachineLearning.Jobs

type Rep SystemData = D1 ('MetaData "SystemData" "MSAzureAPI.MachineLearning.Jobs" "ms-azure-api-0.6.0.1-9AqtB8TNiqqGzZl2uZcaR4" 'False) (C1 ('MetaCons "SystemData" 'PrefixI 'True) ((S1 ('MetaSel ('Just "sdCreatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UTCTime) :*: S1 ('MetaSel ('Just "sdCreatedBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "srLastModifiedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UTCTime) :*: S1 ('MetaSel ('Just "srLastModifiedBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))))