共用方式為


MachineLearningComputeResource.UpdateIdleShutdownSettingAsync Method

Definition

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.

Applies to