Package version:

Interface representing a Machines.

interface Machines {
    beginAssessPatches(resourceGroupName: string, name: string, options?: MachinesAssessPatchesOptionalParams): Promise<SimplePollerLike<OperationState<MachineAssessPatchesResult>, MachineAssessPatchesResult>>;
    beginAssessPatchesAndWait(resourceGroupName: string, name: string, options?: MachinesAssessPatchesOptionalParams): Promise<MachineAssessPatchesResult>;
    beginInstallPatches(resourceGroupName: string, name: string, installPatchesInput: MachineInstallPatchesParameters, options?: MachinesInstallPatchesOptionalParams): Promise<SimplePollerLike<OperationState<MachineInstallPatchesResult>, MachineInstallPatchesResult>>;
    beginInstallPatchesAndWait(resourceGroupName: string, name: string, installPatchesInput: MachineInstallPatchesParameters, options?: MachinesInstallPatchesOptionalParams): Promise<MachineInstallPatchesResult>;
    delete(resourceGroupName: string, machineName: string, options?: MachinesDeleteOptionalParams): Promise<void>;
    get(resourceGroupName: string, machineName: string, options?: MachinesGetOptionalParams): Promise<Machine>;
    listByResourceGroup(resourceGroupName: string, options?: MachinesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Machine>;
    listBySubscription(options?: MachinesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Machine>;
}

Methods

  • The operation to delete a hybrid machine.

    Parameters

    • resourceGroupName: string

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

    • machineName: string

      The name of the hybrid machine.

    • Optionaloptions: MachinesDeleteOptionalParams

      The options parameters.

    Returns Promise<void>

  • Retrieves information about the model view or the instance view of a hybrid machine.

    Parameters

    • resourceGroupName: string

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

    • machineName: string

      The name of the hybrid machine.

    • Optionaloptions: MachinesGetOptionalParams

      The options parameters.

    Returns Promise<Machine>

  • Lists all the hybrid machines in the specified resource group. Use the nextLink property in the response to get the next page of hybrid machines.

    Parameters

    Returns PagedAsyncIterableIterator<Machine>