Share via


CloudVmClusterResource.AddVmsAsync Method

Definition

Overloads

AddVmsAsync(WaitUntil, AddRemoveDbNode, CancellationToken)

Add VMs to the VM Cluster

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/cloudVmClusters/{cloudvmclustername}/addVms
  • Operation Id: CloudVmClusters_AddVms
  • Default Api Version: 2023-09-01-preview
  • Resource: CloudVmClusterResource
AddVmsAsync(WaitUntil, CloudVmClusterDBNodeContent, CancellationToken)

Add VMs to the VM Cluster

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

AddVmsAsync(WaitUntil, AddRemoveDbNode, CancellationToken)

Source:
CloudVmClusterResource.cs

Add VMs to the VM Cluster

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

AddVmsAsync(WaitUntil, CloudVmClusterDBNodeContent, CancellationToken)

Source:
CloudVmClusterResource.cs

Add VMs to the VM Cluster

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