CodeConfiguration Class

Definition

Configuration for a scoring code asset.

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

Constructors

CodeConfiguration()

Creates an new CodeConfiguration instance.

Properties

CodeId

ARM resource ID of the code asset.

ScoringScript

[Required] The script to execute on startup. eg. "score.py"

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of CodeConfiguration.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CodeConfiguration.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of CodeConfiguration into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to