Share via


MachineLearningRegistryResource.RemoveRegionsAsync Method

Definition

Remove regions from registry

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/removeRegions
  • Operation Id: Registries_RemoveRegions
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.MachineLearning.MachineLearningRegistryResource>> RemoveRegionsAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.MachineLearning.MachineLearningRegistryData data, System.Threading.CancellationToken cancellationToken = default);
abstract member RemoveRegionsAsync : Azure.WaitUntil * Azure.ResourceManager.MachineLearning.MachineLearningRegistryData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.MachineLearning.MachineLearningRegistryResource>>
override this.RemoveRegionsAsync : Azure.WaitUntil * Azure.ResourceManager.MachineLearning.MachineLearningRegistryData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.MachineLearning.MachineLearningRegistryResource>>
Public Overridable Function RemoveRegionsAsync (waitUntil As WaitUntil, data As MachineLearningRegistryData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of MachineLearningRegistryResource))

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

data
MachineLearningRegistryData

Details required to create the registry.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

data is null.

Applies to