Machines interface
Interface representing a Machines.
Methods
begin |
The operation to assess patches on a hybrid machine identity in Azure. |
begin |
The operation to assess patches on a hybrid machine identity in Azure. |
begin |
The operation to install patches on a hybrid machine identity in Azure. |
begin |
The operation to install patches on a hybrid machine identity in Azure. |
delete(string, string, Machines |
The operation to delete a hybrid machine. |
get(string, string, Machines |
Retrieves information about the model view or the instance view of a hybrid machine. |
list |
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. |
list |
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.
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.
The options parameters.
Returns
Promise<MachineAssessPatchesResult>
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
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
The options parameters.
Returns
Promise<MachineInstallPatchesResult>
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.
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
The options parameters.