Compartilhar via


JobLimits Class

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.JobLimitsTypeConverter))]
public class JobLimits : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.IJobLimits
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.JobLimitsTypeConverter))>]
type JobLimits = class
    interface IJobLimits
    interface IJsonSerializable
Public Class JobLimits
Implements IJobLimits
Inheritance
JobLimits
Attributes
Implements

Constructors

JobLimits()

Creates an new JobLimits instance.

Properties

Timeout

The max run duration in ISO 8601 format, after which the job will be cancelled. Only supports duration with precision as low as Seconds.

Type

[Required] JobLimit type.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of JobLimits.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of JobLimits.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.IJobLimits. Note: the Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.IJobLimits interface is polymorphic, and the precise model class that will get deserialized is determined at runtime based on the payload.

FromJsonString(String)

Creates a new instance of JobLimits, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of JobLimits into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to