Interface GatewaysClient
public interface GatewaysClient
An instance of this class provides access to all the operations defined in GatewaysClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GatewayInner>, GatewayInner> beginCreateOrUpdate(String resourceGroupName, String gatewayName, GatewayInner parameters) The operation to create or update a gateway.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GatewayInner>, GatewayInner> beginCreateOrUpdate(String resourceGroupName, String gatewayName, GatewayInner parameters, com.azure.core.util.Context context) The operation to create or update a gateway.beginDelete(String resourceGroupName, String gatewayName) The operation to delete a gateway.beginDelete(String resourceGroupName, String gatewayName, com.azure.core.util.Context context) The operation to delete a gateway.createOrUpdate(String resourceGroupName, String gatewayName, GatewayInner parameters) The operation to create or update a gateway.createOrUpdate(String resourceGroupName, String gatewayName, GatewayInner parameters, com.azure.core.util.Context context) The operation to create or update a gateway.voidThe operation to delete a gateway.voidThe operation to delete a gateway.getByResourceGroup(String resourceGroupName, String gatewayName) Retrieves information about the view of a gateway.com.azure.core.http.rest.Response<GatewayInner> 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<GatewayInner> list()The operation to get all gateways of a non-Azure machine.com.azure.core.http.rest.PagedIterable<GatewayInner> list(com.azure.core.util.Context context) The operation to get all gateways of a non-Azure machine.com.azure.core.http.rest.PagedIterable<GatewayInner> listByResourceGroup(String resourceGroupName) The operation to get all gateways of a non-Azure machine.com.azure.core.http.rest.PagedIterable<GatewayInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) The operation to get all gateways of a non-Azure machine.update(String resourceGroupName, String gatewayName, GatewayUpdate parameters) The operation to update a gateway.com.azure.core.http.rest.Response<GatewayInner> updateWithResponse(String resourceGroupName, String gatewayName, GatewayUpdate parameters, com.azure.core.util.Context context) The operation to update a gateway.
-
Method Details
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GatewayInner>,GatewayInner> beginCreateOrUpdate(String resourceGroupName, String gatewayName, GatewayInner parameters) The operation to create or update a gateway.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.gatewayName- The name of the Gateway.parameters- Parameters supplied to the Create gateway operation.- Returns:
- the
SyncPollerfor polling of 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GatewayInner>,GatewayInner> beginCreateOrUpdate(String resourceGroupName, String gatewayName, GatewayInner parameters, com.azure.core.util.Context context) The operation to create or update a gateway.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.gatewayName- The name of the Gateway.parameters- Parameters supplied to the Create gateway operation.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of 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.
-
createOrUpdate
The operation to create or update a gateway.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.gatewayName- The name of the Gateway.parameters- Parameters supplied to the Create gateway operation.- 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.
-
createOrUpdate
GatewayInner createOrUpdate(String resourceGroupName, String gatewayName, GatewayInner parameters, com.azure.core.util.Context context) The operation to create or update a gateway.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.gatewayName- The name of the Gateway.parameters- Parameters supplied to the Create gateway operation.context- The context to associate with this operation.- 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.
-
updateWithResponse
com.azure.core.http.rest.Response<GatewayInner> updateWithResponse(String resourceGroupName, String gatewayName, GatewayUpdate parameters, com.azure.core.util.Context context) The operation to update a gateway.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.gatewayName- The name of the Gateway.parameters- Parameters supplied to the Update gateway operation.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.
-
update
The operation to update a gateway.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.gatewayName- The name of the Gateway.parameters- Parameters supplied to the Update gateway operation.- 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.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<GatewayInner> 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String gatewayName) 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.- Returns:
- the
SyncPollerfor polling of long-running 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String gatewayName, com.azure.core.util.Context context) 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.- Returns:
- the
SyncPollerfor polling of long-running 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.
-
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.- 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<GatewayInner> 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<GatewayInner> 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.
-