Interface MachinesClient
public interface MachinesClient
An instance of this class provides access to all the operations defined in MachinesClient.
-
Method Summary
Modifier and TypeMethodDescriptionassessPatches(String resourceGroupName, String name) The operation to assess patches on a hybrid machine identity in Azure.assessPatches(String resourceGroupName, String name, com.azure.core.util.Context context) The operation to assess patches on a hybrid machine identity in Azure.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<MachineAssessPatchesResultInner>, MachineAssessPatchesResultInner> beginAssessPatches(String resourceGroupName, String name) The operation to assess patches on a hybrid machine identity in Azure.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<MachineAssessPatchesResultInner>, MachineAssessPatchesResultInner> beginAssessPatches(String resourceGroupName, String name, com.azure.core.util.Context context) The operation to assess patches on a hybrid machine identity in Azure.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<MachineInstallPatchesResultInner>, MachineInstallPatchesResultInner> beginInstallPatches(String resourceGroupName, String name, MachineInstallPatchesParameters installPatchesInput) The operation to install patches on a hybrid machine identity in Azure.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<MachineInstallPatchesResultInner>, MachineInstallPatchesResultInner> beginInstallPatches(String resourceGroupName, String name, MachineInstallPatchesParameters installPatchesInput, com.azure.core.util.Context context) The operation to install patches on a hybrid machine identity in Azure.voidThe operation to delete a hybrid machine.com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String machineName, com.azure.core.util.Context context) The operation to delete a hybrid machine.getByResourceGroup(String resourceGroupName, String machineName) Retrieves information about the model view or the instance view of a hybrid machine.com.azure.core.http.rest.Response<MachineInner> getByResourceGroupWithResponse(String resourceGroupName, String machineName, InstanceViewTypes expand, com.azure.core.util.Context context) Retrieves information about the model view or the instance view of a hybrid machine.installPatches(String resourceGroupName, String name, MachineInstallPatchesParameters installPatchesInput) The operation to install patches on a hybrid machine identity in Azure.installPatches(String resourceGroupName, String name, MachineInstallPatchesParameters installPatchesInput, com.azure.core.util.Context context) The operation to install patches on a hybrid machine identity in Azure.com.azure.core.http.rest.PagedIterable<MachineInner> list()Lists all the hybrid machines in the specified subscription.com.azure.core.http.rest.PagedIterable<MachineInner> list(com.azure.core.util.Context context) Lists all the hybrid machines in the specified subscription.com.azure.core.http.rest.PagedIterable<MachineInner> listByResourceGroup(String resourceGroupName) Lists all the hybrid machines in the specified resource group.com.azure.core.http.rest.PagedIterable<MachineInner> listByResourceGroup(String resourceGroupName, String expand, com.azure.core.util.Context context) Lists all the hybrid machines in the specified resource group.
-
Method Details
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String machineName, com.azure.core.util.Context context) The operation to delete a hybrid machine.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.machineName- The name of the hybrid machine.context- The context to associate with this operation.- Returns:
- the
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
The operation to delete a hybrid machine.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.machineName- The name of the hybrid machine.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<MachineInner> getByResourceGroupWithResponse(String resourceGroupName, String machineName, InstanceViewTypes expand, com.azure.core.util.Context context) Retrieves information about the model view or the instance view of a hybrid machine.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.machineName- The name of the hybrid machine.expand- The expand expression to apply on the operation.context- The context to associate with this operation.- Returns:
- describes a hybrid machine along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroup
Retrieves information about the model view or the instance view of a hybrid machine.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.machineName- The name of the hybrid machine.- Returns:
- describes a hybrid machine.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginAssessPatches
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<MachineAssessPatchesResultInner>,MachineAssessPatchesResultInner> beginAssessPatches(String resourceGroupName, String name) The operation to assess patches on a hybrid machine identity in Azure.- Parameters:
resourceGroupName- The name of the resource group.name- The name of the hybrid machine.- Returns:
- the
SyncPollerfor polling of describes the properties of an AssessPatches result. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginAssessPatches
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<MachineAssessPatchesResultInner>,MachineAssessPatchesResultInner> beginAssessPatches(String resourceGroupName, String name, com.azure.core.util.Context context) The operation to assess patches on a hybrid machine identity in Azure.- Parameters:
resourceGroupName- The name of the resource group.name- The name of the hybrid machine.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of describes the properties of an AssessPatches result. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
assessPatches
The operation to assess patches on a hybrid machine identity in Azure.- Parameters:
resourceGroupName- The name of the resource group.name- The name of the hybrid machine.- Returns:
- describes the properties of an AssessPatches result.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
assessPatches
MachineAssessPatchesResultInner assessPatches(String resourceGroupName, String name, com.azure.core.util.Context context) The operation to assess patches on a hybrid machine identity in Azure.- Parameters:
resourceGroupName- The name of the resource group.name- The name of the hybrid machine.context- The context to associate with this operation.- Returns:
- describes the properties of an AssessPatches result.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginInstallPatches
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<MachineInstallPatchesResultInner>,MachineInstallPatchesResultInner> beginInstallPatches(String resourceGroupName, String name, MachineInstallPatchesParameters installPatchesInput) The operation to install patches on a hybrid machine identity in Azure.- Parameters:
resourceGroupName- The name of the resource group.name- The name of the hybrid machine.installPatchesInput- Input for InstallPatches as directly received by the API.- Returns:
- the
SyncPollerfor polling of the result summary of an installation operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginInstallPatches
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<MachineInstallPatchesResultInner>,MachineInstallPatchesResultInner> beginInstallPatches(String resourceGroupName, String name, MachineInstallPatchesParameters installPatchesInput, com.azure.core.util.Context context) The operation to install patches on a hybrid machine identity in Azure.- Parameters:
resourceGroupName- The name of the resource group.name- The name of the hybrid machine.installPatchesInput- Input for InstallPatches as directly received by the API.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of the result summary of an installation operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
installPatches
MachineInstallPatchesResultInner installPatches(String resourceGroupName, String name, MachineInstallPatchesParameters installPatchesInput) The operation to install patches on a hybrid machine identity in Azure.- Parameters:
resourceGroupName- The name of the resource group.name- The name of the hybrid machine.installPatchesInput- Input for InstallPatches as directly received by the API.- Returns:
- the result summary of an installation operation.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
installPatches
MachineInstallPatchesResultInner installPatches(String resourceGroupName, String name, MachineInstallPatchesParameters installPatchesInput, com.azure.core.util.Context context) The operation to install patches on a hybrid machine identity in Azure.- Parameters:
resourceGroupName- The name of the resource group.name- The name of the hybrid machine.installPatchesInput- Input for InstallPatches as directly received by the API.context- The context to associate with this operation.- Returns:
- the result summary of an installation operation.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
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.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.- Returns:
- the List hybrid machine operation response as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<MachineInner> listByResourceGroup(String resourceGroupName, String expand, com.azure.core.util.Context context) 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:
resourceGroupName- The name of the resource group. The name is case insensitive.expand- Expands referenced resources.context- The context to associate with this operation.- Returns:
- the List hybrid machine operation response as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<MachineInner> 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.- Returns:
- the List hybrid machine operation response as paginated response with
PagedIterable. - Throws:
com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
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.- Parameters:
context- The context to associate with this operation.- Returns:
- the List hybrid machine operation response as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-