MachineRunCommands interface
Interface representing a MachineRunCommands.
Methods
| begin |
The operation to create or update a run command. |
| begin |
The operation to create or update a run command. |
| begin |
The operation to delete a run command. |
| begin |
The operation to delete a run command. |
| get(string, string, string, Machine |
The operation to get a run command. |
| list(string, string, Machine |
The operation to get all the run commands of a non-Azure machine. |
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.
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.
The options parameters.
Returns
Promise<MachineRunCommand>
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.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<MachineRunCommandsDeleteHeaders>, MachineRunCommandsDeleteHeaders>>
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.
The options parameters.
Returns
Promise<MachineRunCommandsDeleteHeaders>
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.
The options parameters.
Returns
Promise<MachineRunCommand>
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.
The options parameters.