import { PagedAsyncIterableIterator } from "@azure/core-paging" ; import { PollerLike , PollOperationState } from "@azure/core-lro" ; import { RunCommandDocumentBase , VirtualMachineRunCommandsListOptionalParams , VirtualMachineRunCommand , VirtualMachineRunCommandsListByVirtualMachineOptionalParams , VirtualMachineRunCommandsGetOptionalParams , VirtualMachineRunCommandsGetResponse , VirtualMachineRunCommandsCreateOrUpdateOptionalParams , VirtualMachineRunCommandsCreateOrUpdateResponse , VirtualMachineRunCommandUpdate , VirtualMachineRunCommandsUpdateOptionalParams , VirtualMachineRunCommandsUpdateResponse , VirtualMachineRunCommandsDeleteOptionalParams , VirtualMachineRunCommandsGetByVirtualMachineOptionalParams , VirtualMachineRunCommandsGetByVirtualMachineResponse } from "../models" ; /** Interface representing a VirtualMachineRunCommands. */ export interface VirtualMachineRunCommands { param location param options list ( location , options ? ) : PagedAsyncIterableIterator < RunCommandDocumentBase > ; param resourceGroupName param vmName param options listByVirtualMachine ( resourceGroupName , vmName , options ? ) : PagedAsyncIterableIterator < VirtualMachineRunCommand > ; param location param commandId param options get ( location , commandId , options ? ) : Promise < VirtualMachineRunCommandsGetResponse > ; param resourceGroupName param vmName param runCommandName param runCommand param options beginCreateOrUpdate ( resourceGroupName , vmName , runCommandName , runCommand , options ? ) : Promise < PollerLike < PollOperationState < VirtualMachineRunCommandsCreateOrUpdateResponse > , VirtualMachineRunCommandsCreateOrUpdateResponse > > ; param resourceGroupName param vmName param runCommandName param runCommand param options beginCreateOrUpdateAndWait ( resourceGroupName , vmName , runCommandName , runCommand , options ? ) : Promise < VirtualMachineRunCommandsCreateOrUpdateResponse > ; param resourceGroupName param vmName param runCommandName param runCommand param options beginUpdate ( resourceGroupName , vmName , runCommandName , runCommand , options ? ) : Promise < PollerLike < PollOperationState < VirtualMachineRunCommandsUpdateResponse > , VirtualMachineRunCommandsUpdateResponse > > ; param resourceGroupName param vmName param runCommandName param runCommand param options beginUpdateAndWait ( resourceGroupName , vmName , runCommandName , runCommand , options ? ) : Promise < VirtualMachineRunCommandsUpdateResponse > ; param resourceGroupName param vmName param runCommandName param options beginDelete ( resourceGroupName , vmName , runCommandName , options ? ) : Promise < PollerLike < PollOperationState < void > , void > > ; param resourceGroupName param vmName param runCommandName param options beginDeleteAndWait ( resourceGroupName , vmName , runCommandName , options ? ) : Promise < void > ; param resourceGroupName param vmName param runCommandName param options getByVirtualMachine ( resourceGroupName , vmName , runCommandName , options ? ) : Promise < VirtualMachineRunCommandsGetByVirtualMachineResponse > ; }