MachineRunCommandsOperations interface

Interface representing a MachineRunCommands operations.

Properties

beginCreateOrUpdate
beginCreateOrUpdateAndWait
beginDelete
beginDeleteAndWait
createOrUpdate

The operation to create or update a run command.

delete

The operation to delete a run command.

get

The operation to get a run command.

list

The operation to get all the run commands of a non-Azure machine.

Property Details

beginCreateOrUpdate

Warning

This API is now deprecated.

use createOrUpdate instead

beginCreateOrUpdate: (resourceGroupName: string, machineName: string, runCommandName: string, runCommandProperties: MachineRunCommand, options?: MachineRunCommandsCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<MachineRunCommand>, MachineRunCommand>>

Property Value

(resourceGroupName: string, machineName: string, runCommandName: string, runCommandProperties: MachineRunCommand, options?: MachineRunCommandsCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<MachineRunCommand>, MachineRunCommand>>

beginCreateOrUpdateAndWait

Warning

This API is now deprecated.

use createOrUpdate instead

beginCreateOrUpdateAndWait: (resourceGroupName: string, machineName: string, runCommandName: string, runCommandProperties: MachineRunCommand, options?: MachineRunCommandsCreateOrUpdateOptionalParams) => Promise<MachineRunCommand>

Property Value

(resourceGroupName: string, machineName: string, runCommandName: string, runCommandProperties: MachineRunCommand, options?: MachineRunCommandsCreateOrUpdateOptionalParams) => Promise<MachineRunCommand>

beginDelete

Warning

This API is now deprecated.

use delete instead

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

Property Value

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

beginDeleteAndWait

Warning

This API is now deprecated.

use delete instead

beginDeleteAndWait: (resourceGroupName: string, machineName: string, runCommandName: string, options?: MachineRunCommandsDeleteOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, machineName: string, runCommandName: string, options?: MachineRunCommandsDeleteOptionalParams) => Promise<void>

createOrUpdate

The operation to create or update a run command.

createOrUpdate: (resourceGroupName: string, machineName: string, runCommandName: string, runCommandProperties: MachineRunCommand, options?: MachineRunCommandsCreateOrUpdateOptionalParams) => PollerLike<OperationState<MachineRunCommand>, MachineRunCommand>

Property Value

(resourceGroupName: string, machineName: string, runCommandName: string, runCommandProperties: MachineRunCommand, options?: MachineRunCommandsCreateOrUpdateOptionalParams) => PollerLike<OperationState<MachineRunCommand>, MachineRunCommand>

delete

The operation to delete a run command.

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

Property Value

(resourceGroupName: string, machineName: string, runCommandName: string, options?: MachineRunCommandsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

The operation to get a run command.

get: (resourceGroupName: string, machineName: string, runCommandName: string, options?: MachineRunCommandsGetOptionalParams) => Promise<MachineRunCommand>

Property Value

(resourceGroupName: string, machineName: string, runCommandName: string, options?: MachineRunCommandsGetOptionalParams) => Promise<MachineRunCommand>

list

The operation to get all the run commands of a non-Azure machine.

list: (resourceGroupName: string, machineName: string, options?: MachineRunCommandsListOptionalParams) => PagedAsyncIterableIterator<MachineRunCommand, MachineRunCommand[], PageSettings>

Property Value

(resourceGroupName: string, machineName: string, options?: MachineRunCommandsListOptionalParams) => PagedAsyncIterableIterator<MachineRunCommand, MachineRunCommand[], PageSettings>