Compartilhar via


TrialComponent Class

Definition

Trial component definition.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.TrialComponentTypeConverter))]
public class TrialComponent : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.ITrialComponent
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.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.

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.

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.Api20220501.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