Compartir a través de


SparkJob interface

Spark job definition.

Extends

Properties

archives

Archive files used in the job.

args

Arguments for the job.

codeId

[Required] arm-id of the code asset.

conf

Spark configured properties.

entry

[Required] The entry to execute on startup of the job.

environmentId

The ARM resource ID of the Environment specification for the job.

environmentVariables

Environment variables included in the job.

files

Files used in the job.

inputs

Mapping of input data bindings used in the job.

jars

Jar files used in the job.

jobType

Polymorphic discriminator, which specifies the different types this object can be

outputs

Mapping of output data bindings used in the job.

pyFiles

Python files used in the job.

queueSettings

Queue settings for the job

resources

Compute Resource configuration for the job.

Inherited Properties

componentId

ARM resource ID of the component resource.

computeId

ARM resource ID of the compute resource.

description

The asset description text.

displayName

Display name of job.

experimentName

The name of the experiment the job belongs to. If not set, the job is placed in the "Default" experiment.

identity

Identity configuration. If set, this should be one of AmlToken, ManagedIdentity, UserIdentity or null. Defaults to AmlToken if null.

isArchived

Is the asset archived?

notificationSetting

Notification setting for the job

properties

The asset property dictionary.

services

List of JobEndpoints. For local jobs, a job endpoint will have an endpoint value of FileStreamObject.

status

Status of the job. NOTE: This property will not be serialized. It can only be populated by the server.

tags

Tag dictionary. Tags can be added, removed, and updated.

Property Details

archives

Archive files used in the job.

archives?: string[]

Property Value

string[]

args

Arguments for the job.

args?: string

Property Value

string

codeId

[Required] arm-id of the code asset.

codeId: string

Property Value

string

conf

Spark configured properties.

conf?: {[propertyName: string]: string | null}

Property Value

{[propertyName: string]: string | null}

entry

[Required] The entry to execute on startup of the job.

entry: SparkJobEntryUnion

Property Value

environmentId

The ARM resource ID of the Environment specification for the job.

environmentId?: string

Property Value

string

environmentVariables

Environment variables included in the job.

environmentVariables?: {[propertyName: string]: string | null}

Property Value

{[propertyName: string]: string | null}

files

Files used in the job.

files?: string[]

Property Value

string[]

inputs

Mapping of input data bindings used in the job.

inputs?: {[propertyName: string]: JobInputUnion | null}

Property Value

{[propertyName: string]: JobInputUnion | null}

jars

Jar files used in the job.

jars?: string[]

Property Value

string[]

jobType

Polymorphic discriminator, which specifies the different types this object can be

jobType: "Spark"

Property Value

"Spark"

outputs

Mapping of output data bindings used in the job.

outputs?: {[propertyName: string]: JobOutputUnion | null}

Property Value

{[propertyName: string]: JobOutputUnion | null}

pyFiles

Python files used in the job.

pyFiles?: string[]

Property Value

string[]

queueSettings

Queue settings for the job

queueSettings?: QueueSettings

Property Value

resources

Compute Resource configuration for the job.

resources?: SparkResourceConfiguration

Property Value

Inherited Property Details

componentId

ARM resource ID of the component resource.

componentId?: string

Property Value

string

Inherited From JobBaseProperties.componentId

computeId

ARM resource ID of the compute resource.

computeId?: string

Property Value

string

Inherited From JobBaseProperties.computeId

description

The asset description text.

description?: string

Property Value

string

Inherited From JobBaseProperties.description

displayName

Display name of job.

displayName?: string

Property Value

string

Inherited From JobBaseProperties.displayName

experimentName

The name of the experiment the job belongs to. If not set, the job is placed in the "Default" experiment.

experimentName?: string

Property Value

string

Inherited From JobBaseProperties.experimentName

identity

Identity configuration. If set, this should be one of AmlToken, ManagedIdentity, UserIdentity or null. Defaults to AmlToken if null.

identity?: IdentityConfigurationUnion

Property Value

Inherited From JobBaseProperties.identity

isArchived

Is the asset archived?

isArchived?: boolean

Property Value

boolean

Inherited From JobBaseProperties.isArchived

notificationSetting

Notification setting for the job

notificationSetting?: NotificationSetting

Property Value

Inherited From JobBaseProperties.notificationSetting

properties

The asset property dictionary.

properties?: {[propertyName: string]: string | null}

Property Value

{[propertyName: string]: string | null}

Inherited From JobBaseProperties.properties

services

List of JobEndpoints. For local jobs, a job endpoint will have an endpoint value of FileStreamObject.

services?: {[propertyName: string]: JobService | null}

Property Value

{[propertyName: string]: JobService | null}

Inherited From JobBaseProperties.services

status

Status of the job. NOTE: This property will not be serialized. It can only be populated by the server.

status?: string

Property Value

string

Inherited From JobBaseProperties.status

tags

Tag dictionary. Tags can be added, removed, and updated.

tags?: {[propertyName: string]: string | null}

Property Value

{[propertyName: string]: string | null}

Inherited From JobBaseProperties.tags