Interface ActivitiesClient


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

    Modifier and Type
    Method
    Description
    get(String resourceGroupName, String automationAccountName, String moduleName, String activityName)
    Retrieve the activity in the module identified by module name and activity name.
    com.azure.core.http.rest.Response<ActivityInner>
    getWithResponse(String resourceGroupName, String automationAccountName, String moduleName, String activityName, com.azure.core.util.Context context)
    Retrieve the activity in the module identified by module name and activity name.
    com.azure.core.http.rest.PagedIterable<ActivityInner>
    listByModule(String resourceGroupName, String automationAccountName, String moduleName)
    Retrieve a list of activities in the module identified by module name.
    com.azure.core.http.rest.PagedIterable<ActivityInner>
    listByModule(String resourceGroupName, String automationAccountName, String moduleName, com.azure.core.util.Context context)
    Retrieve a list of activities in the module identified by module name.
  • Method Details

    • get

      ActivityInner get(String resourceGroupName, String automationAccountName, String moduleName, String activityName)
      Retrieve the activity in the module identified by module name and activity name.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      moduleName - The name of module.
      activityName - The name of activity.
      Returns:
      definition of the activity.
      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<ActivityInner> getWithResponse(String resourceGroupName, String automationAccountName, String moduleName, String activityName, com.azure.core.util.Context context)
      Retrieve the activity in the module identified by module name and activity name.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      moduleName - The name of module.
      activityName - The name of activity.
      context - The context to associate with this operation.
      Returns:
      definition of the activity 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.
    • listByModule

      com.azure.core.http.rest.PagedIterable<ActivityInner> listByModule(String resourceGroupName, String automationAccountName, String moduleName)
      Retrieve a list of activities in the module identified by module name.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      moduleName - The name of module.
      Returns:
      the response model for the list activity operation 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.
    • listByModule

      com.azure.core.http.rest.PagedIterable<ActivityInner> listByModule(String resourceGroupName, String automationAccountName, String moduleName, com.azure.core.util.Context context)
      Retrieve a list of activities in the module identified by module name.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      moduleName - The name of module.
      context - The context to associate with this operation.
      Returns:
      the response model for the list activity operation 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.