JobResourceConfiguration Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.JobResourceConfigurationTypeConverter))]
public class JobResourceConfiguration : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.IJobResourceConfiguration, Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.JobResourceConfigurationTypeConverter))>]
type JobResourceConfiguration = class
interface IJobResourceConfiguration
interface IJsonSerializable
interface IResourceConfiguration
interface IValidates
Public Class JobResourceConfiguration
Implements IJobResourceConfiguration, IValidates
- Inheritance
-
JobResourceConfiguration
- Attributes
- Implements
Constructors
JobResourceConfiguration() |
Creates an new JobResourceConfiguration instance. |
Properties
DockerArg |
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. |
InstanceCount |
Optional number of instances or nodes used by the compute target. |
InstanceType |
Optional type of VM used as supported by the compute target. |
Property |
Additional properties bag. |
ShmSize |
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 JobResourceConfiguration. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of JobResourceConfiguration. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.IJobResourceConfiguration. |
FromJsonString(String) |
Creates a new instance of JobResourceConfiguration, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of JobResourceConfiguration into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
ToString() | |
Validate(IEventListener) |
Validates that this object meets the validation criteria. |