Interface IntegrationAccountSessions


public interface IntegrationAccountSessions
Resource collection API of IntegrationAccountSessions.
  • Method Details

    • list

      com.azure.core.http.rest.PagedIterable<IntegrationAccountSession> 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<IntegrationAccountSession> 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<IntegrationAccountSession> 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

      IntegrationAccountSession 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.
    • 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.
    • getById

      Gets an integration account session.
      Parameters:
      id - the resource ID.
      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.
    • getByIdWithResponse

      com.azure.core.http.rest.Response<IntegrationAccountSession> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Gets an integration account session.
      Parameters:
      id - the resource ID.
      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.
    • deleteById

      void deleteById(String id)
      Deletes an integration account session.
      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

      com.azure.core.http.rest.Response<Void> deleteByIdWithResponse(String id, com.azure.core.util.Context context)
      Deletes an integration account session.
      Parameters:
      id - the resource ID.
      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.
    • define

      Begins definition for a new IntegrationAccountSession resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new IntegrationAccountSession definition.