MachineLearningComputeResource.UpdateIdleShutdownSettingAsync Method
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.
Updates the idle shutdown setting of a compute instance.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/updateIdleShutdownSetting
- Operation Id: Compute_UpdateIdleShutdownSetting
public virtual System.Threading.Tasks.Task<Azure.Response> UpdateIdleShutdownSettingAsync (Azure.ResourceManager.MachineLearning.Models.IdleShutdownSetting idleShutdownSetting, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateIdleShutdownSettingAsync : Azure.ResourceManager.MachineLearning.Models.IdleShutdownSetting * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.UpdateIdleShutdownSettingAsync : Azure.ResourceManager.MachineLearning.Models.IdleShutdownSetting * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function UpdateIdleShutdownSettingAsync (idleShutdownSetting As IdleShutdownSetting, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)
Parameters
- idleShutdownSetting
- IdleShutdownSetting
The object for updating idle shutdown setting of specified ComputeInstance.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
idleShutdownSetting
is null.