Share via


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. The name is case insensitive.

vmScaleSetName

string

The name of the VirtualMachineScaleSet

instanceId

string

The name of the VirtualMachineScaleSetVM

runCommandName

string

The name of the VirtualMachineRunCommand

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. The name is case insensitive.

vmScaleSetName

string

The name of the VirtualMachineScaleSet

instanceId

string

The name of the VirtualMachineScaleSetVM

runCommandName

string

The name of the VirtualMachineRunCommand

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. The name is case insensitive.

vmScaleSetName

string

The name of the VirtualMachineScaleSet

instanceId

string

The name of the VirtualMachineScaleSetVM

runCommandName

string

The name of the VirtualMachineRunCommand

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. The name is case insensitive.

vmScaleSetName

string

The name of the VirtualMachineScaleSet

instanceId

string

The name of the VirtualMachineScaleSetVM

runCommandName

string

The name of the VirtualMachineRunCommand

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<VirtualMachineScaleSetVMRunCommandsUpdateResponse>, VirtualMachineScaleSetVMRunCommandsUpdateResponse>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

vmScaleSetName

string

The name of the VirtualMachineScaleSet

instanceId

string

The name of the VirtualMachineScaleSetVM

runCommandName

string

The name of the VirtualMachineRunCommand

runCommand
VirtualMachineRunCommandUpdate

Resource create parameters.

Returns

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<VirtualMachineScaleSetVMRunCommandsUpdateResponse>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

vmScaleSetName

string

The name of the VirtualMachineScaleSet

instanceId

string

The name of the VirtualMachineScaleSetVM

runCommandName

string

The name of the VirtualMachineRunCommand

runCommand
VirtualMachineRunCommandUpdate

Resource create parameters.

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. The name is case insensitive.

vmScaleSetName

string

The name of the VirtualMachineScaleSet

instanceId

string

The name of the VirtualMachineScaleSetVM

runCommandName

string

The name of the VirtualMachineRunCommand

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. The name is case insensitive.

vmScaleSetName

string

The name of the VirtualMachineScaleSet

instanceId

string

The name of the VirtualMachineScaleSetVM

Returns