Interface Machines
public interface Machines
Resource collection API of Machines.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteByResourceGroup
(String resourceGroupName, String machineName) The operation to remove a hybrid machine identity in Azure.com.azure.core.http.rest.Response<Void>
deleteByResourceGroupWithResponse
(String resourceGroupName, String machineName, com.azure.core.util.Context context) The operation to remove a hybrid machine identity in Azure.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<Machine>
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.com.azure.core.http.rest.PagedIterable<Machine>
list()
Lists all the hybrid machines in the specified subscription.com.azure.core.http.rest.PagedIterable<Machine>
list
(com.azure.core.util.Context context) Lists all the hybrid machines in the specified subscription.com.azure.core.http.rest.PagedIterable<Machine>
listByResourceGroup
(String resourceGroupName) Lists all the hybrid machines in the specified resource group.com.azure.core.http.rest.PagedIterable<Machine>
listByResourceGroup
(String resourceGroupName, com.azure.core.util.Context context) Lists all the hybrid machines in the specified resource group.
-
Method Details
-
deleteByResourceGroupWithResponse
com.azure.core.http.rest.Response<Void> deleteByResourceGroupWithResponse(String resourceGroupName, String machineName, com.azure.core.util.Context context) The operation to remove a hybrid machine identity in Azure.- 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.
-
deleteByResourceGroup
The operation to remove a hybrid machine identity in Azure.- 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<Machine> 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.
-
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<Machine> listByResourceGroup(String resourceGroupName, 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.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<Machine> 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.
-