MachineRunCommands interface

Interface representing a MachineRunCommands.

Method Details

beginCreateOrUpdate(string, string, string, MachineRunCommand, MachineRunCommandsCreateOrUpdateOptionalParams)

The operation to create or update a run command.

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

Parameters

resourceGroupName

string

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

machineName

string

The name of the hybrid machine.

runCommandName

string

The name of the run command.

runCommandProperties
MachineRunCommand

Parameters supplied to the Create Run Command.

options
MachineRunCommandsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<MachineRunCommand>, MachineRunCommand>>

beginCreateOrUpdateAndWait(string, string, string, MachineRunCommand, MachineRunCommandsCreateOrUpdateOptionalParams)

The operation to create or update a run command.

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

Parameters

resourceGroupName

string

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

machineName

string

The name of the hybrid machine.

runCommandName

string

The name of the run command.

runCommandProperties
MachineRunCommand

Parameters supplied to the Create Run Command.

options
MachineRunCommandsCreateOrUpdateOptionalParams

The options parameters.

Returns

beginDelete(string, string, string, MachineRunCommandsDeleteOptionalParams)

The operation to delete a run command.

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

Parameters

resourceGroupName

string

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

machineName

string

The name of the hybrid machine.

runCommandName

string

The name of the run command.

options
MachineRunCommandsDeleteOptionalParams

The options parameters.

Returns

beginDeleteAndWait(string, string, string, MachineRunCommandsDeleteOptionalParams)

The operation to delete a run command.

function beginDeleteAndWait(resourceGroupName: string, machineName: string, runCommandName: string, options?: MachineRunCommandsDeleteOptionalParams): Promise<MachineRunCommandsDeleteHeaders>

Parameters

resourceGroupName

string

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

machineName

string

The name of the hybrid machine.

runCommandName

string

The name of the run command.

options
MachineRunCommandsDeleteOptionalParams

The options parameters.

Returns

get(string, string, string, MachineRunCommandsGetOptionalParams)

The operation to get a run command.

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

Parameters

resourceGroupName

string

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

machineName

string

The name of the hybrid machine.

runCommandName

string

The name of the run command.

options
MachineRunCommandsGetOptionalParams

The options parameters.

Returns

list(string, string, MachineRunCommandsListOptionalParams)

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

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

Parameters

resourceGroupName

string

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

machineName

string

The name of the hybrid machine.

options
MachineRunCommandsListOptionalParams

The options parameters.

Returns