Delen via


CommandJobLimits Class

Definition

Command Job limit class.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.CommandJobLimitsTypeConverter))]
public class CommandJobLimits : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.ICommandJobLimits, Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.CommandJobLimitsTypeConverter))>]
type CommandJobLimits = class
    interface ICommandJobLimits
    interface IJsonSerializable
    interface IJobLimits
    interface IValidates
Public Class CommandJobLimits
Implements ICommandJobLimits, IValidates
Inheritance
CommandJobLimits
Attributes
Implements

Constructors

CommandJobLimits()

Creates an new CommandJobLimits 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 CommandJobLimits.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CommandJobLimits.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.ICommandJobLimits.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of CommandJobLimits into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to