VirtualMachineScaleSetVMRunCommands interface

Interface representing a VirtualMachineScaleSetVMRunCommands.

Methods

beginCreateOrUpdate(string, string, string, string, VirtualMachineRunCommand, VirtualMachineScaleSetVMRunCommandsCreateOrUpdateOptionalParams)

The operation to create or update the VMSS VM run command.

beginCreateOrUpdateAndWait(string, string, string, string, VirtualMachineRunCommand, VirtualMachineScaleSetVMRunCommandsCreateOrUpdateOptionalParams)

The operation to create or update the VMSS VM run command.

beginDelete(string, string, string, string, VirtualMachineScaleSetVMRunCommandsDeleteOptionalParams)

The operation to delete the VMSS VM run command.

beginDeleteAndWait(string, string, string, string, VirtualMachineScaleSetVMRunCommandsDeleteOptionalParams)

The operation to delete the VMSS VM run command.

beginUpdate(string, string, string, string, VirtualMachineRunCommandUpdate, VirtualMachineScaleSetVMRunCommandsUpdateOptionalParams)

The operation to update the VMSS VM run command.

beginUpdateAndWait(string, string, string, string, VirtualMachineRunCommandUpdate, VirtualMachineScaleSetVMRunCommandsUpdateOptionalParams)

The operation to update the VMSS VM run command.

get(string, string, string, string, VirtualMachineScaleSetVMRunCommandsGetOptionalParams)

The operation to get the VMSS VM run command.

list(string, string, string, VirtualMachineScaleSetVMRunCommandsListOptionalParams)

The operation to get all run commands of an instance in Virtual Machine Scaleset.

Method Details

beginCreateOrUpdate(string, string, string, string, VirtualMachineRunCommand, VirtualMachineScaleSetVMRunCommandsCreateOrUpdateOptionalParams)

The operation to create or update the VMSS VM run command.

function beginCreateOrUpdate(resourceGroupName: string, vmScaleSetName: string, instanceId: string, runCommandName: string, runCommand: VirtualMachineRunCommand, options?: VirtualMachineScaleSetVMRunCommandsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachineRunCommand>, VirtualMachineRunCommand>>

Parameters

resourceGroupName

string

The name of the resource group.

vmScaleSetName

string

The name of the VM scale set.

instanceId

string

The instance ID of the virtual machine.

runCommandName

string

The name of the virtual machine run command.

runCommand
VirtualMachineRunCommand

Parameters supplied to the Create Virtual Machine RunCommand operation.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<VirtualMachineRunCommand>, VirtualMachineRunCommand>>

beginCreateOrUpdateAndWait(string, string, string, string, VirtualMachineRunCommand, VirtualMachineScaleSetVMRunCommandsCreateOrUpdateOptionalParams)

The operation to create or update the VMSS VM run command.

function beginCreateOrUpdateAndWait(resourceGroupName: string, vmScaleSetName: string, instanceId: string, runCommandName: string, runCommand: VirtualMachineRunCommand, options?: VirtualMachineScaleSetVMRunCommandsCreateOrUpdateOptionalParams): Promise<VirtualMachineRunCommand>

Parameters

resourceGroupName

string

The name of the resource group.

vmScaleSetName

string

The name of the VM scale set.

instanceId

string

The instance ID of the virtual machine.

runCommandName

string

The name of the virtual machine run command.

runCommand
VirtualMachineRunCommand

Parameters supplied to the Create Virtual Machine RunCommand operation.

Returns

beginDelete(string, string, string, string, VirtualMachineScaleSetVMRunCommandsDeleteOptionalParams)

The operation to delete the VMSS VM run command.

function beginDelete(resourceGroupName: string, vmScaleSetName: string, instanceId: string, runCommandName: string, options?: VirtualMachineScaleSetVMRunCommandsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group.

vmScaleSetName

string

The name of the VM scale set.

instanceId

string

The instance ID of the virtual machine.

runCommandName

string

The name of the virtual machine run command.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, string, string, VirtualMachineScaleSetVMRunCommandsDeleteOptionalParams)

The operation to delete the VMSS VM run command.

function beginDeleteAndWait(resourceGroupName: string, vmScaleSetName: string, instanceId: string, runCommandName: string, options?: VirtualMachineScaleSetVMRunCommandsDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group.

vmScaleSetName

string

The name of the VM scale set.

instanceId

string

The instance ID of the virtual machine.

runCommandName

string

The name of the virtual machine run command.

Returns

Promise<void>

beginUpdate(string, string, string, string, VirtualMachineRunCommandUpdate, VirtualMachineScaleSetVMRunCommandsUpdateOptionalParams)

The operation to update the VMSS VM run command.

function beginUpdate(resourceGroupName: string, vmScaleSetName: string, instanceId: string, runCommandName: string, runCommand: VirtualMachineRunCommandUpdate, options?: VirtualMachineScaleSetVMRunCommandsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachineRunCommand>, VirtualMachineRunCommand>>

Parameters

resourceGroupName

string

The name of the resource group.

vmScaleSetName

string

The name of the VM scale set.

instanceId

string

The instance ID of the virtual machine.

runCommandName

string

The name of the virtual machine run command.

runCommand
VirtualMachineRunCommandUpdate

Parameters supplied to the Update Virtual Machine RunCommand operation.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<VirtualMachineRunCommand>, VirtualMachineRunCommand>>

beginUpdateAndWait(string, string, string, string, VirtualMachineRunCommandUpdate, VirtualMachineScaleSetVMRunCommandsUpdateOptionalParams)

The operation to update the VMSS VM run command.

function beginUpdateAndWait(resourceGroupName: string, vmScaleSetName: string, instanceId: string, runCommandName: string, runCommand: VirtualMachineRunCommandUpdate, options?: VirtualMachineScaleSetVMRunCommandsUpdateOptionalParams): Promise<VirtualMachineRunCommand>

Parameters

resourceGroupName

string

The name of the resource group.

vmScaleSetName

string

The name of the VM scale set.

instanceId

string

The instance ID of the virtual machine.

runCommandName

string

The name of the virtual machine run command.

runCommand
VirtualMachineRunCommandUpdate

Parameters supplied to the Update Virtual Machine RunCommand operation.

Returns

get(string, string, string, string, VirtualMachineScaleSetVMRunCommandsGetOptionalParams)

The operation to get the VMSS VM run command.

function get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, runCommandName: string, options?: VirtualMachineScaleSetVMRunCommandsGetOptionalParams): Promise<VirtualMachineRunCommand>

Parameters

resourceGroupName

string

The name of the resource group.

vmScaleSetName

string

The name of the VM scale set.

instanceId

string

The instance ID of the virtual machine.

runCommandName

string

The name of the virtual machine run command.

Returns

list(string, string, string, VirtualMachineScaleSetVMRunCommandsListOptionalParams)

The operation to get all run commands of an instance in Virtual Machine Scaleset.

function list(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: VirtualMachineScaleSetVMRunCommandsListOptionalParams): PagedAsyncIterableIterator<VirtualMachineRunCommand, VirtualMachineRunCommand[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group.

vmScaleSetName

string

The name of the VM scale set.

instanceId

string

The instance ID of the virtual machine.

Returns