Interface HybridRunbookWorkers


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

    • delete

      void delete(String resourceGroupName, String automationAccountName, String hybridRunbookWorkerGroupName, String hybridRunbookWorkerId)
      Delete a hybrid runbook worker.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      hybridRunbookWorkerGroupName - The hybrid runbook worker group name.
      hybridRunbookWorkerId - The hybrid runbook worker 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.
    • deleteWithResponse

      com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String automationAccountName, String hybridRunbookWorkerGroupName, String hybridRunbookWorkerId, com.azure.core.util.Context context)
      Delete a hybrid runbook worker.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      hybridRunbookWorkerGroupName - The hybrid runbook worker group name.
      hybridRunbookWorkerId - The hybrid runbook worker 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.
    • get

      HybridRunbookWorker get(String resourceGroupName, String automationAccountName, String hybridRunbookWorkerGroupName, String hybridRunbookWorkerId)
      Retrieve a hybrid runbook worker.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      hybridRunbookWorkerGroupName - The hybrid runbook worker group name.
      hybridRunbookWorkerId - The hybrid runbook worker id.
      Returns:
      definition of hybrid runbook worker.
      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<HybridRunbookWorker> getWithResponse(String resourceGroupName, String automationAccountName, String hybridRunbookWorkerGroupName, String hybridRunbookWorkerId, com.azure.core.util.Context context)
      Retrieve a hybrid runbook worker.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      hybridRunbookWorkerGroupName - The hybrid runbook worker group name.
      hybridRunbookWorkerId - The hybrid runbook worker id.
      context - The context to associate with this operation.
      Returns:
      definition of hybrid runbook worker 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.
    • move

      void move(String resourceGroupName, String automationAccountName, String hybridRunbookWorkerGroupName, String hybridRunbookWorkerId, HybridRunbookWorkerMoveParameters hybridRunbookWorkerMoveParameters)
      Move a hybrid worker to a different group.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      hybridRunbookWorkerGroupName - The hybrid runbook worker group name.
      hybridRunbookWorkerId - The hybrid runbook worker id.
      hybridRunbookWorkerMoveParameters - The hybrid runbook worker move parameters.
      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.
    • moveWithResponse

      com.azure.core.http.rest.Response<Void> moveWithResponse(String resourceGroupName, String automationAccountName, String hybridRunbookWorkerGroupName, String hybridRunbookWorkerId, HybridRunbookWorkerMoveParameters hybridRunbookWorkerMoveParameters, com.azure.core.util.Context context)
      Move a hybrid worker to a different group.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      hybridRunbookWorkerGroupName - The hybrid runbook worker group name.
      hybridRunbookWorkerId - The hybrid runbook worker id.
      hybridRunbookWorkerMoveParameters - The hybrid runbook worker move parameters.
      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.
    • listByHybridRunbookWorkerGroup

      com.azure.core.http.rest.PagedIterable<HybridRunbookWorker> listByHybridRunbookWorkerGroup(String resourceGroupName, String automationAccountName, String hybridRunbookWorkerGroupName)
      Retrieve a list of hybrid runbook workers.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      hybridRunbookWorkerGroupName - The hybrid runbook worker group name.
      Returns:
      the response model for the list hybrid runbook workers 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.
    • listByHybridRunbookWorkerGroup

      com.azure.core.http.rest.PagedIterable<HybridRunbookWorker> listByHybridRunbookWorkerGroup(String resourceGroupName, String automationAccountName, String hybridRunbookWorkerGroupName, String filter, com.azure.core.util.Context context)
      Retrieve a list of hybrid runbook workers.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      hybridRunbookWorkerGroupName - The hybrid runbook worker group name.
      filter - The filter to apply on the operation.
      context - The context to associate with this operation.
      Returns:
      the response model for the list hybrid runbook workers 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

      Retrieve a hybrid runbook worker.
      Parameters:
      id - the resource ID.
      Returns:
      definition of hybrid runbook worker 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<HybridRunbookWorker> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Retrieve a hybrid runbook worker.
      Parameters:
      id - the resource ID.
      context - The context to associate with this operation.
      Returns:
      definition of hybrid runbook worker 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)
      Delete a hybrid runbook worker.
      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)
      Delete a hybrid runbook worker.
      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 HybridRunbookWorker resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new HybridRunbookWorker definition.