Interface Gateways
public interface Gateways
Resource collection API of Gateways.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new Gateway resource.voidThe operation to delete a gateway.voiddeleteById(String id) The operation to delete a gateway.voiddeleteByIdWithResponse(String id, com.azure.core.util.Context context) The operation to delete a gateway.voiddeleteByResourceGroup(String resourceGroupName, String gatewayName) The operation to delete a gateway.Retrieves information about the view of a gateway.com.azure.core.http.rest.Response<Gateway> getByIdWithResponse(String id, com.azure.core.util.Context context) Retrieves information about the view of a gateway.getByResourceGroup(String resourceGroupName, String gatewayName) Retrieves information about the view of a gateway.com.azure.core.http.rest.Response<Gateway> getByResourceGroupWithResponse(String resourceGroupName, String gatewayName, com.azure.core.util.Context context) Retrieves information about the view of a gateway.com.azure.core.http.rest.PagedIterable<Gateway> list()The operation to get all gateways of a non-Azure machine.com.azure.core.http.rest.PagedIterable<Gateway> list(com.azure.core.util.Context context) The operation to get all gateways of a non-Azure machine.com.azure.core.http.rest.PagedIterable<Gateway> listByResourceGroup(String resourceGroupName) The operation to get all gateways of a non-Azure machine.com.azure.core.http.rest.PagedIterable<Gateway> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) The operation to get all gateways of a non-Azure machine.
-
Method Details
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<Gateway> getByResourceGroupWithResponse(String resourceGroupName, String gatewayName, com.azure.core.util.Context context) Retrieves information about the view of a gateway.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.gatewayName- The name of the Gateway.context- The context to associate with this operation.- Returns:
- describes an Arc Gateway 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 view of a gateway.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.gatewayName- The name of the Gateway.- Returns:
- describes an Arc Gateway.
- 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 delete a gateway.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.gatewayName- The name of the Gateway.- 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 gateway.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.gatewayName- The name of the Gateway.context- The context to associate with this 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
The operation to get all gateways of a non-Azure machine.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.- Returns:
- the List license 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<Gateway> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) The operation to get all gateways of a non-Azure machine.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.context- The context to associate with this operation.- Returns:
- the List license 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<Gateway> list()The operation to get all gateways of a non-Azure machine.- Returns:
- the List license 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
The operation to get all gateways of a non-Azure machine.- Parameters:
context- The context to associate with this operation.- Returns:
- the List license 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.
-
getById
Retrieves information about the view of a gateway.- Parameters:
id- the resource ID.- Returns:
- describes an Arc Gateway 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.
-
getByIdWithResponse
com.azure.core.http.rest.Response<Gateway> getByIdWithResponse(String id, com.azure.core.util.Context context) Retrieves information about the view of a gateway.- Parameters:
id- the resource ID.context- The context to associate with this operation.- Returns:
- describes an Arc Gateway 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.
-
deleteById
The operation to delete a gateway.- Parameters:
id- the resource ID.- 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.
-
deleteByIdWithResponse
The operation to delete a gateway.- Parameters:
id- the resource ID.context- The context to associate with this 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.
-
define
Begins definition for a new Gateway resource.- Parameters:
name- resource name.- Returns:
- the first stage of the new Gateway definition.
-