Bagikan melalui


MachineLearningComputeResource.UpdateCustomServicesAsync Method

Definition

Updates the custom services list. The list of custom services provided shall be overwritten

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/customServices
  • Operation Id: Compute_UpdateCustomServices
public virtual System.Threading.Tasks.Task<Azure.Response> UpdateCustomServicesAsync (System.Collections.Generic.IEnumerable<Azure.ResourceManager.MachineLearning.Models.CustomService> customServices, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateCustomServicesAsync : seq<Azure.ResourceManager.MachineLearning.Models.CustomService> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.UpdateCustomServicesAsync : seq<Azure.ResourceManager.MachineLearning.Models.CustomService> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function UpdateCustomServicesAsync (customServices As IEnumerable(Of CustomService), Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

customServices
IEnumerable<CustomService>

New list of Custom Services.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

customServices is null.

Applies to