Language

ArmMachineLearningModelFactory.MachineLearningJobResourceConfiguration Method

Definition

The MachineLearningJobResourceConfiguration.

public static Azure.ResourceManager.MachineLearning.Models.MachineLearningJobResourceConfiguration MachineLearningJobResourceConfiguration(int? instanceCount = default, string instanceType = default, System.Collections.Generic.IDictionary<string,BinaryData> properties = default, string dockerArgs = default, System.Collections.Generic.IEnumerable<string> dockerArgsList = default, string shmSize = default);
static member MachineLearningJobResourceConfiguration : Nullable<int> * string * System.Collections.Generic.IDictionary<string, BinaryData> * string * seq<string> * string -> Azure.ResourceManager.MachineLearning.Models.MachineLearningJobResourceConfiguration
Public Shared Function MachineLearningJobResourceConfiguration (Optional instanceCount As Nullable(Of Integer) = Nothing, Optional instanceType As String = Nothing, Optional properties As IDictionary(Of String, BinaryData) = Nothing, Optional dockerArgs As String = Nothing, Optional dockerArgsList As IEnumerable(Of String) = Nothing, Optional shmSize As String = Nothing) As MachineLearningJobResourceConfiguration

Parameters

instanceCount
Nullable<Int32>

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

instanceType
String

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

properties
IDictionary<String,BinaryData>

Additional properties bag.

dockerArgs
String

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.

dockerArgsList
IEnumerable<String>

Extra arguments to pass to the Docker run command, as a collection. 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.

shmSize
String

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

Returns

A new MachineLearningJobResourceConfiguration instance for mocking.

Applies to