Sprog

ArmMachineLearningModelFactory.AmlComputeScaleSettings Method

Definition

scale settings for AML Compute.

public static Azure.ResourceManager.MachineLearning.Models.AmlComputeScaleSettings AmlComputeScaleSettings(int maxNodeCount = 0, int? minNodeCount = default, TimeSpan? nodeIdleTimeBeforeScaleDown = default);
static member AmlComputeScaleSettings : int * Nullable<int> * Nullable<TimeSpan> -> Azure.ResourceManager.MachineLearning.Models.AmlComputeScaleSettings
Public Shared Function AmlComputeScaleSettings (Optional maxNodeCount As Integer = 0, Optional minNodeCount As Nullable(Of Integer) = Nothing, Optional nodeIdleTimeBeforeScaleDown As Nullable(Of TimeSpan) = Nothing) As AmlComputeScaleSettings

Parameters

maxNodeCount
Int32

Max number of nodes to use.

minNodeCount
Nullable<Int32>

Min number of nodes to use.

nodeIdleTimeBeforeScaleDown
Nullable<TimeSpan>

Node Idle Time before scaling down amlCompute. This string needs to be in the RFC Format.

Returns

A new AmlComputeScaleSettings instance for mocking.

Applies to