Machines interface

Interface representing a Machines.

Methods

beginAssessPatches(string, string, MachinesAssessPatchesOptionalParams)

The operation to assess patches on a hybrid machine identity in Azure.

beginAssessPatchesAndWait(string, string, MachinesAssessPatchesOptionalParams)

The operation to assess patches on a hybrid machine identity in Azure.

beginInstallPatches(string, string, MachineInstallPatchesParameters, MachinesInstallPatchesOptionalParams)

The operation to install patches on a hybrid machine identity in Azure.

beginInstallPatchesAndWait(string, string, MachineInstallPatchesParameters, MachinesInstallPatchesOptionalParams)

The operation to install patches on a hybrid machine identity in Azure.

delete(string, string, MachinesDeleteOptionalParams)

The operation to delete a hybrid machine.

get(string, string, MachinesGetOptionalParams)

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

listByResourceGroup(string, MachinesListByResourceGroupOptionalParams)

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.

listBySubscription(MachinesListBySubscriptionOptionalParams)

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

Method Details

beginAssessPatches(string, string, MachinesAssessPatchesOptionalParams)

The operation to assess patches on a hybrid machine identity in Azure.

function beginAssessPatches(resourceGroupName: string, name: string, options?: MachinesAssessPatchesOptionalParams): Promise<SimplePollerLike<OperationState<MachineAssessPatchesResult>, MachineAssessPatchesResult>>

Parameters

resourceGroupName

string

The name of the resource group.

name

string

The name of the hybrid machine.

options
MachinesAssessPatchesOptionalParams

The options parameters.

Returns

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

beginAssessPatchesAndWait(string, string, MachinesAssessPatchesOptionalParams)

The operation to assess patches on a hybrid machine identity in Azure.

function beginAssessPatchesAndWait(resourceGroupName: string, name: string, options?: MachinesAssessPatchesOptionalParams): Promise<MachineAssessPatchesResult>

Parameters

resourceGroupName

string

The name of the resource group.

name

string

The name of the hybrid machine.

options
MachinesAssessPatchesOptionalParams

The options parameters.

Returns

beginInstallPatches(string, string, MachineInstallPatchesParameters, MachinesInstallPatchesOptionalParams)

The operation to install patches on a hybrid machine identity in Azure.

function beginInstallPatches(resourceGroupName: string, name: string, installPatchesInput: MachineInstallPatchesParameters, options?: MachinesInstallPatchesOptionalParams): Promise<SimplePollerLike<OperationState<MachineInstallPatchesResult>, MachineInstallPatchesResult>>

Parameters

resourceGroupName

string

The name of the resource group.

name

string

The name of the hybrid machine.

installPatchesInput
MachineInstallPatchesParameters

Input for InstallPatches as directly received by the API

options
MachinesInstallPatchesOptionalParams

The options parameters.

Returns

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

beginInstallPatchesAndWait(string, string, MachineInstallPatchesParameters, MachinesInstallPatchesOptionalParams)

The operation to install patches on a hybrid machine identity in Azure.

function beginInstallPatchesAndWait(resourceGroupName: string, name: string, installPatchesInput: MachineInstallPatchesParameters, options?: MachinesInstallPatchesOptionalParams): Promise<MachineInstallPatchesResult>

Parameters

resourceGroupName

string

The name of the resource group.

name

string

The name of the hybrid machine.

installPatchesInput
MachineInstallPatchesParameters

Input for InstallPatches as directly received by the API

options
MachinesInstallPatchesOptionalParams

The options parameters.

Returns

delete(string, string, MachinesDeleteOptionalParams)

The operation to delete a hybrid machine.

function delete(resourceGroupName: string, machineName: string, options?: MachinesDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

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

machineName

string

The name of the hybrid machine.

options
MachinesDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, MachinesGetOptionalParams)

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

function get(resourceGroupName: string, machineName: string, options?: MachinesGetOptionalParams): Promise<Machine>

Parameters

resourceGroupName

string

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

machineName

string

The name of the hybrid machine.

options
MachinesGetOptionalParams

The options parameters.

Returns

Promise<Machine>

listByResourceGroup(string, MachinesListByResourceGroupOptionalParams)

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.

function listByResourceGroup(resourceGroupName: string, options?: MachinesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Machine, Machine[], PageSettings>

Parameters

resourceGroupName

string

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

options
MachinesListByResourceGroupOptionalParams

The options parameters.

Returns

listBySubscription(MachinesListBySubscriptionOptionalParams)

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

function listBySubscription(options?: MachinesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Machine, Machine[], PageSettings>

Parameters

options
MachinesListBySubscriptionOptionalParams

The options parameters.

Returns