你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CloudVmClusterResource.RemoveVmsAsync Method

Definition

Overloads

RemoveVmsAsync(WaitUntil, CloudVmClusterDBNodeContent, CancellationToken)

Remove VMs from the VM Cluster

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/cloudVmClusters/{cloudvmclustername}/removeVms
  • Operation Id: CloudVmClusters_RemoveVms
  • Default Api Version: 2023-09-01
  • Resource: CloudVmClusterResource
RemoveVmsAsync(WaitUntil, AddRemoveDbNode, CancellationToken)

Remove VMs from the VM Cluster

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/cloudVmClusters/{cloudvmclustername}/removeVms
  • Operation Id: CloudVmClusters_RemoveVms
  • Default Api Version: 2023-09-01-preview
  • Resource: CloudVmClusterResource

RemoveVmsAsync(WaitUntil, CloudVmClusterDBNodeContent, CancellationToken)

Source:
CloudVmClusterResource.cs

Remove VMs from the VM Cluster

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/cloudVmClusters/{cloudvmclustername}/removeVms
  • Operation Id: CloudVmClusters_RemoveVms
  • Default Api Version: 2023-09-01
  • Resource: CloudVmClusterResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.OracleDatabase.CloudVmClusterResource>> RemoveVmsAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.OracleDatabase.Models.CloudVmClusterDBNodeContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member RemoveVmsAsync : Azure.WaitUntil * Azure.ResourceManager.OracleDatabase.Models.CloudVmClusterDBNodeContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.OracleDatabase.CloudVmClusterResource>>
override this.RemoveVmsAsync : Azure.WaitUntil * Azure.ResourceManager.OracleDatabase.Models.CloudVmClusterDBNodeContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.OracleDatabase.CloudVmClusterResource>>
Public Overridable Function RemoveVmsAsync (waitUntil As WaitUntil, content As CloudVmClusterDBNodeContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of CloudVmClusterResource))

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.

content
CloudVmClusterDBNodeContent

The content of the action request.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to

RemoveVmsAsync(WaitUntil, AddRemoveDbNode, CancellationToken)

Source:
CloudVmClusterResource.cs

Remove VMs from the VM Cluster

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/cloudVmClusters/{cloudvmclustername}/removeVms
  • Operation Id: CloudVmClusters_RemoveVms
  • Default Api Version: 2023-09-01-preview
  • Resource: CloudVmClusterResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.OracleDatabase.CloudVmClusterResource>> RemoveVmsAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.OracleDatabase.Models.AddRemoveDbNode body, System.Threading.CancellationToken cancellationToken = default);
abstract member RemoveVmsAsync : Azure.WaitUntil * Azure.ResourceManager.OracleDatabase.Models.AddRemoveDbNode * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.OracleDatabase.CloudVmClusterResource>>
override this.RemoveVmsAsync : Azure.WaitUntil * Azure.ResourceManager.OracleDatabase.Models.AddRemoveDbNode * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.OracleDatabase.CloudVmClusterResource>>
Public Overridable Function RemoveVmsAsync (waitUntil As WaitUntil, body As AddRemoveDbNode, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of CloudVmClusterResource))

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.

body
AddRemoveDbNode

The content of the action request.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

body is null.

Applies to