CloudVmClusterResource.AddVms Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AddVms(WaitUntil, AddRemoveDbNode, CancellationToken) |
Add VMs to the VM Cluster
|
AddVms(WaitUntil, CloudVmClusterDBNodeContent, CancellationToken) |
Add VMs to the VM Cluster
|
AddVms(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 Azure.ResourceManager.ArmOperation<Azure.ResourceManager.OracleDatabase.CloudVmClusterResource> AddVms (Azure.WaitUntil waitUntil, Azure.ResourceManager.OracleDatabase.Models.AddRemoveDbNode body, System.Threading.CancellationToken cancellationToken = default);
abstract member AddVms : Azure.WaitUntil * Azure.ResourceManager.OracleDatabase.Models.AddRemoveDbNode * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.OracleDatabase.CloudVmClusterResource>
override this.AddVms : Azure.WaitUntil * Azure.ResourceManager.OracleDatabase.Models.AddRemoveDbNode * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.OracleDatabase.CloudVmClusterResource>
Public Overridable Function AddVms (waitUntil As WaitUntil, body As AddRemoveDbNode, Optional cancellationToken As CancellationToken = Nothing) As 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
AddVms(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 Azure.ResourceManager.ArmOperation<Azure.ResourceManager.OracleDatabase.CloudVmClusterResource> AddVms (Azure.WaitUntil waitUntil, Azure.ResourceManager.OracleDatabase.Models.CloudVmClusterDBNodeContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member AddVms : Azure.WaitUntil * Azure.ResourceManager.OracleDatabase.Models.CloudVmClusterDBNodeContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.OracleDatabase.CloudVmClusterResource>
override this.AddVms : Azure.WaitUntil * Azure.ResourceManager.OracleDatabase.Models.CloudVmClusterDBNodeContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.OracleDatabase.CloudVmClusterResource>
Public Overridable Function AddVms (waitUntil As WaitUntil, content As CloudVmClusterDBNodeContent, Optional cancellationToken As CancellationToken = Nothing) As 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
Azure SDK for .NET