public interface Gateways
Resource collection API of Gateways.
  • 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

      Gateway getByResourceGroup(String resourceGroupName, String gatewayName)
      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

      void deleteByResourceGroup(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.
      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

      void delete(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.
      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)
      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

      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.
      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

      Gateway getById(String id)
      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

      void deleteById(String id)
      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

      void deleteByIdWithResponse(String id, com.azure.core.util.Context context)
      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.