VirtualMachineExtensionsOperations.StartUpdate(String, String, String, VirtualMachineExtensionUpdate, CancellationToken) Method

Definition

The operation to update the extension.

public virtual Azure.ResourceManager.Compute.VirtualMachineExtensionsUpdateOperation StartUpdate (string resourceGroupName, string vmName, string vmExtensionName, Azure.ResourceManager.Compute.Models.VirtualMachineExtensionUpdate extensionParameters, System.Threading.CancellationToken cancellationToken = default);
abstract member StartUpdate : string * string * string * Azure.ResourceManager.Compute.Models.VirtualMachineExtensionUpdate * System.Threading.CancellationToken -> Azure.ResourceManager.Compute.VirtualMachineExtensionsUpdateOperation
override this.StartUpdate : string * string * string * Azure.ResourceManager.Compute.Models.VirtualMachineExtensionUpdate * System.Threading.CancellationToken -> Azure.ResourceManager.Compute.VirtualMachineExtensionsUpdateOperation
Public Overridable Function StartUpdate (resourceGroupName As String, vmName As String, vmExtensionName As String, extensionParameters As VirtualMachineExtensionUpdate, Optional cancellationToken As CancellationToken = Nothing) As VirtualMachineExtensionsUpdateOperation

Parameters

resourceGroupName
String

The name of the resource group.

vmName
String

The name of the virtual machine where the extension should be updated.

vmExtensionName
String

The name of the virtual machine extension.

extensionParameters
VirtualMachineExtensionUpdate

Parameters supplied to the Update Virtual Machine Extension operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

VirtualMachineExtensionsUpdateOperation

Exceptions

resourceGroupName, vmName, vmExtensionName, or extensionParameters is null.

Applies to