Interface IntegrationAccountSessionsClient


public interface IntegrationAccountSessionsClient
An instance of this class provides access to all the operations defined in IntegrationAccountSessionsClient.
  • Method Details

    • list

      com.azure.core.http.rest.PagedIterable<IntegrationAccountSessionInner> list(String resourceGroupName, String integrationAccountName)
      Gets a list of integration account sessions.
      Parameters:
      resourceGroupName - The resource group name.
      integrationAccountName - The integration account name.
      Returns:
      a list of integration account sessions 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<IntegrationAccountSessionInner> list(String resourceGroupName, String integrationAccountName, Integer top, String filter, com.azure.core.util.Context context)
      Gets a list of integration account sessions.
      Parameters:
      resourceGroupName - The resource group name.
      integrationAccountName - The integration account name.
      top - The number of items to be included in the result.
      filter - The filter to apply on the operation. Options for filters include: ChangedTime.
      context - The context to associate with this operation.
      Returns:
      a list of integration account sessions 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.
    • getWithResponse

      com.azure.core.http.rest.Response<IntegrationAccountSessionInner> getWithResponse(String resourceGroupName, String integrationAccountName, String sessionName, com.azure.core.util.Context context)
      Gets an integration account session.
      Parameters:
      resourceGroupName - The resource group name.
      integrationAccountName - The integration account name.
      sessionName - The integration account session name.
      context - The context to associate with this operation.
      Returns:
      an integration account session 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.
    • get

      IntegrationAccountSessionInner get(String resourceGroupName, String integrationAccountName, String sessionName)
      Gets an integration account session.
      Parameters:
      resourceGroupName - The resource group name.
      integrationAccountName - The integration account name.
      sessionName - The integration account session name.
      Returns:
      an integration account session.
      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.
    • createOrUpdateWithResponse

      com.azure.core.http.rest.Response<IntegrationAccountSessionInner> createOrUpdateWithResponse(String resourceGroupName, String integrationAccountName, String sessionName, IntegrationAccountSessionInner session, com.azure.core.util.Context context)
      Creates or updates an integration account session.
      Parameters:
      resourceGroupName - The resource group name.
      integrationAccountName - The integration account name.
      sessionName - The integration account session name.
      session - The integration account session.
      context - The context to associate with this operation.
      Returns:
      the integration account session 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.
    • createOrUpdate

      IntegrationAccountSessionInner createOrUpdate(String resourceGroupName, String integrationAccountName, String sessionName, IntegrationAccountSessionInner session)
      Creates or updates an integration account session.
      Parameters:
      resourceGroupName - The resource group name.
      integrationAccountName - The integration account name.
      sessionName - The integration account session name.
      session - The integration account session.
      Returns:
      the integration account session.
      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.
    • deleteWithResponse

      com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String integrationAccountName, String sessionName, com.azure.core.util.Context context)
      Deletes an integration account session.
      Parameters:
      resourceGroupName - The resource group name.
      integrationAccountName - The integration account name.
      sessionName - The integration account session name.
      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

      void delete(String resourceGroupName, String integrationAccountName, String sessionName)
      Deletes an integration account session.
      Parameters:
      resourceGroupName - The resource group name.
      integrationAccountName - The integration account name.
      sessionName - The integration account session name.
      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.