VirtualMachineScaleSetVMRunCommands interface
Interface representing a VirtualMachineScaleSetVMRunCommands.
Methods
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.
The options parameters.
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.
The options parameters.
Returns
Promise<VirtualMachineRunCommand>
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
The options parameters.
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
The options parameters.
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.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<VirtualMachineScaleSetVMRunCommandsUpdateResponse>, VirtualMachineScaleSetVMRunCommandsUpdateResponse>>
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.
The options 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
The options parameters.
Returns
Promise<VirtualMachineRunCommand>
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
The options parameters.