TrialComponent Class

Definition

Trial component definition.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.TrialComponentTypeConverter))]
public class TrialComponent : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.ITrialComponent
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.TrialComponentTypeConverter))>]
type TrialComponent = class
    interface ITrialComponent
    interface IJsonSerializable
Public Class TrialComponent
Implements ITrialComponent
Inheritance
TrialComponent
Attributes
Implements

Constructors

TrialComponent()

Creates an new TrialComponent instance.

Properties

CodeId

ARM resource ID of the code asset.

Command

[Required] The command to execute on startup of the job. eg. "python train.py"

DistributionType

[Required] Specifies the type of distribution framework.

EnvironmentId

[Required] The ARM resource ID of the Environment specification for the job.

EnvironmentVariable

Environment variables included in the job.

ResourceDockerArg

Extra arguments to pass to the Docker run command. This would override any parameters that have already been set by the system, or in this section. This parameter is only supported for Azure ML compute types.

ResourceInstanceCount

Optional number of instances or nodes used by the compute target.

ResourceInstanceType

Optional type of VM used as supported by the compute target.

ResourceProperty

Additional properties bag.

ResourceShmSize

Size of the docker container's shared memory block. This should be in the format of (number)(unit) where number as to be greater than 0 and the unit can be one of b(bytes), k(kilobytes), m(megabytes), or g(gigabytes).

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of TrialComponent.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of TrialComponent.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.ITrialComponent.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of TrialComponent into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to