VirtualMachineScaleSetVMExtensionsOperations.StartUpdateAsync(String, String, String, String, VirtualMachineExtensionUpdate, CancellationToken) Method

Definition

The operation to update the VMSS VM extension.

public virtual System.Threading.Tasks.Task<Azure.ResourceManager.Compute.VirtualMachineScaleSetVMExtensionsUpdateOperation> StartUpdateAsync (string resourceGroupName, string vmScaleSetName, string instanceId, string vmExtensionName, Azure.ResourceManager.Compute.Models.VirtualMachineExtensionUpdate extensionParameters, System.Threading.CancellationToken cancellationToken = default);
abstract member StartUpdateAsync : string * string * string * string * Azure.ResourceManager.Compute.Models.VirtualMachineExtensionUpdate * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.Compute.VirtualMachineScaleSetVMExtensionsUpdateOperation>
override this.StartUpdateAsync : string * string * string * string * Azure.ResourceManager.Compute.Models.VirtualMachineExtensionUpdate * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.Compute.VirtualMachineScaleSetVMExtensionsUpdateOperation>
Public Overridable Function StartUpdateAsync (resourceGroupName As String, vmScaleSetName As String, instanceId As String, vmExtensionName As String, extensionParameters As VirtualMachineExtensionUpdate, Optional cancellationToken As CancellationToken = Nothing) As Task(Of VirtualMachineScaleSetVMExtensionsUpdateOperation)

Parameters

resourceGroupName
System.String

The name of the resource group.

vmScaleSetName
System.String

The name of the VM scale set.

instanceId
System.String

The instance ID of the virtual machine.

vmExtensionName
System.String

The name of the virtual machine extension.

extensionParameters
VirtualMachineExtensionUpdate

Parameters supplied to the Update Virtual Machine Extension operation.

cancellationToken
System.Threading.CancellationToken

The cancellation token to use.

Returns

System.Threading.Tasks.Task<VirtualMachineScaleSetVMExtensionsUpdateOperation>

Exceptions

System.ArgumentNullException

resourceGroupName, vmScaleSetName, instanceId, vmExtensionName, or extensionParameters is null.

Applies to