VirtualMachineRunCommandsOperations interface

Interface representing a VirtualMachineRunCommands operations.

Properties

beginCreateOrUpdate
beginCreateOrUpdateAndWait
beginDelete
beginDeleteAndWait
beginUpdate
beginUpdateAndWait
createOrUpdate

The operation to create or update the run command.

delete
get

Gets specific run command for a subscription in a location.

getByVirtualMachine

The operation to get the run command.

list

Lists all available run commands for a subscription in a location.

listByVirtualMachine

The operation to get all run commands of a Virtual Machine.

update

The operation to update the run command.

Property Details

beginCreateOrUpdate

Warning

This API is now deprecated.

use createOrUpdate instead

beginCreateOrUpdate: (resourceGroupName: string, vmName: string, runCommandName: string, runCommand: VirtualMachineRunCommand, options?: VirtualMachineRunCommandsCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<VirtualMachineRunCommand>, VirtualMachineRunCommand>>

Property Value

(resourceGroupName: string, vmName: string, runCommandName: string, runCommand: VirtualMachineRunCommand, options?: VirtualMachineRunCommandsCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<VirtualMachineRunCommand>, VirtualMachineRunCommand>>

beginCreateOrUpdateAndWait

Warning

This API is now deprecated.

use createOrUpdate instead

beginCreateOrUpdateAndWait: (resourceGroupName: string, vmName: string, runCommandName: string, runCommand: VirtualMachineRunCommand, options?: VirtualMachineRunCommandsCreateOrUpdateOptionalParams) => Promise<VirtualMachineRunCommand>

Property Value

(resourceGroupName: string, vmName: string, runCommandName: string, runCommand: VirtualMachineRunCommand, options?: VirtualMachineRunCommandsCreateOrUpdateOptionalParams) => Promise<VirtualMachineRunCommand>

beginDelete

Warning

This API is now deprecated.

use delete instead

beginDelete: (resourceGroupName: string, vmName: string, runCommandName: string, options?: VirtualMachineRunCommandsDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

Property Value

(resourceGroupName: string, vmName: string, runCommandName: string, options?: VirtualMachineRunCommandsDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait

Warning

This API is now deprecated.

use delete instead

beginDeleteAndWait: (resourceGroupName: string, vmName: string, runCommandName: string, options?: VirtualMachineRunCommandsDeleteOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, vmName: string, runCommandName: string, options?: VirtualMachineRunCommandsDeleteOptionalParams) => Promise<void>

beginUpdate

Warning

This API is now deprecated.

use update instead

beginUpdate: (resourceGroupName: string, vmName: string, runCommandName: string, runCommand: VirtualMachineRunCommandUpdate, options?: VirtualMachineRunCommandsUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<VirtualMachineRunCommand>, VirtualMachineRunCommand>>

Property Value

(resourceGroupName: string, vmName: string, runCommandName: string, runCommand: VirtualMachineRunCommandUpdate, options?: VirtualMachineRunCommandsUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<VirtualMachineRunCommand>, VirtualMachineRunCommand>>

beginUpdateAndWait

Warning

This API is now deprecated.

use update instead

beginUpdateAndWait: (resourceGroupName: string, vmName: string, runCommandName: string, runCommand: VirtualMachineRunCommandUpdate, options?: VirtualMachineRunCommandsUpdateOptionalParams) => Promise<VirtualMachineRunCommand>

Property Value

(resourceGroupName: string, vmName: string, runCommandName: string, runCommand: VirtualMachineRunCommandUpdate, options?: VirtualMachineRunCommandsUpdateOptionalParams) => Promise<VirtualMachineRunCommand>

createOrUpdate

The operation to create or update the run command.

createOrUpdate: (resourceGroupName: string, vmName: string, runCommandName: string, runCommand: VirtualMachineRunCommand, options?: VirtualMachineRunCommandsCreateOrUpdateOptionalParams) => PollerLike<OperationState<VirtualMachineRunCommand>, VirtualMachineRunCommand>

Property Value

(resourceGroupName: string, vmName: string, runCommandName: string, runCommand: VirtualMachineRunCommand, options?: VirtualMachineRunCommandsCreateOrUpdateOptionalParams) => PollerLike<OperationState<VirtualMachineRunCommand>, VirtualMachineRunCommand>

delete

delete: (resourceGroupName: string, vmName: string, runCommandName: string, options?: VirtualMachineRunCommandsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, vmName: string, runCommandName: string, options?: VirtualMachineRunCommandsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

Gets specific run command for a subscription in a location.

get: (location: string, commandId: string, options?: VirtualMachineRunCommandsGetOptionalParams) => Promise<RunCommandDocument>

Property Value

(location: string, commandId: string, options?: VirtualMachineRunCommandsGetOptionalParams) => Promise<RunCommandDocument>

getByVirtualMachine

The operation to get the run command.

getByVirtualMachine: (resourceGroupName: string, vmName: string, runCommandName: string, options?: VirtualMachineRunCommandsGetByVirtualMachineOptionalParams) => Promise<VirtualMachineRunCommand>

Property Value

(resourceGroupName: string, vmName: string, runCommandName: string, options?: VirtualMachineRunCommandsGetByVirtualMachineOptionalParams) => Promise<VirtualMachineRunCommand>

list

Lists all available run commands for a subscription in a location.

list: (location: string, options?: VirtualMachineRunCommandsListOptionalParams) => PagedAsyncIterableIterator<RunCommandDocumentBase, RunCommandDocumentBase[], PageSettings>

Property Value

(location: string, options?: VirtualMachineRunCommandsListOptionalParams) => PagedAsyncIterableIterator<RunCommandDocumentBase, RunCommandDocumentBase[], PageSettings>

listByVirtualMachine

The operation to get all run commands of a Virtual Machine.

listByVirtualMachine: (resourceGroupName: string, vmName: string, options?: VirtualMachineRunCommandsListByVirtualMachineOptionalParams) => PagedAsyncIterableIterator<VirtualMachineRunCommand, VirtualMachineRunCommand[], PageSettings>

Property Value

(resourceGroupName: string, vmName: string, options?: VirtualMachineRunCommandsListByVirtualMachineOptionalParams) => PagedAsyncIterableIterator<VirtualMachineRunCommand, VirtualMachineRunCommand[], PageSettings>

update

The operation to update the run command.

update: (resourceGroupName: string, vmName: string, runCommandName: string, runCommand: VirtualMachineRunCommandUpdate, options?: VirtualMachineRunCommandsUpdateOptionalParams) => PollerLike<OperationState<VirtualMachineRunCommand>, VirtualMachineRunCommand>

Property Value

(resourceGroupName: string, vmName: string, runCommandName: string, runCommand: VirtualMachineRunCommandUpdate, options?: VirtualMachineRunCommandsUpdateOptionalParams) => PollerLike<OperationState<VirtualMachineRunCommand>, VirtualMachineRunCommand>