MachinesOperations interface

Interface representing a Machines operations.

Properties

assessPatches

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

beginAssessPatches
beginAssessPatchesAndWait
beginDelete
beginDeleteAndWait
beginInstallPatches
beginInstallPatchesAndWait
createOrUpdate

The operation to create or update a hybrid machine. Please note some properties can be set only during machine creation.

delete

The operation to delete a hybrid machine.

get

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

installPatches

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

listByResourceGroup

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

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

update

The operation to update a hybrid machine.

Property Details

assessPatches

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

assessPatches: (resourceGroupName: string, name: string, options?: MachinesAssessPatchesOptionalParams) => PollerLike<OperationState<MachineAssessPatchesResult>, MachineAssessPatchesResult>

Property Value

(resourceGroupName: string, name: string, options?: MachinesAssessPatchesOptionalParams) => PollerLike<OperationState<MachineAssessPatchesResult>, MachineAssessPatchesResult>

beginAssessPatches

Warning

This API is now deprecated.

use assessPatches instead

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

Property Value

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

beginAssessPatchesAndWait

Warning

This API is now deprecated.

use assessPatches instead

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

Property Value

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

beginDelete

Warning

This API is now deprecated.

use delete instead

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

Property Value

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

beginDeleteAndWait

Warning

This API is now deprecated.

use delete instead

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

Property Value

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

beginInstallPatches

Warning

This API is now deprecated.

use installPatches instead

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

Property Value

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

beginInstallPatchesAndWait

Warning

This API is now deprecated.

use installPatches instead

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

Property Value

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

createOrUpdate

The operation to create or update a hybrid machine. Please note some properties can be set only during machine creation.

createOrUpdate: (resourceGroupName: string, machineName: string, parameters: Machine, options?: MachinesCreateOrUpdateOptionalParams) => Promise<Machine>

Property Value

(resourceGroupName: string, machineName: string, parameters: Machine, options?: MachinesCreateOrUpdateOptionalParams) => Promise<Machine>

delete

The operation to delete a hybrid machine.

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

Property Value

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

get

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

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

Property Value

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

installPatches

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

installPatches: (resourceGroupName: string, name: string, installPatchesInput: MachineInstallPatchesParameters, options?: MachinesInstallPatchesOptionalParams) => PollerLike<OperationState<MachineInstallPatchesResult>, MachineInstallPatchesResult>

Property Value

(resourceGroupName: string, name: string, installPatchesInput: MachineInstallPatchesParameters, options?: MachinesInstallPatchesOptionalParams) => PollerLike<OperationState<MachineInstallPatchesResult>, MachineInstallPatchesResult>

listByResourceGroup

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.

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

Property Value

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

listBySubscription

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

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

Property Value

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

update

The operation to update a hybrid machine.

update: (resourceGroupName: string, machineName: string, parameters: MachineUpdate, options?: MachinesUpdateOptionalParams) => Promise<Machine>

Property Value

(resourceGroupName: string, machineName: string, parameters: MachineUpdate, options?: MachinesUpdateOptionalParams) => Promise<Machine>