Interface HybridRunbookWorkersClient
public interface HybridRunbookWorkersClient
An instance of this class provides access to all the operations defined in HybridRunbookWorkersClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(String resourceGroupName, String automationAccountName, String hybridRunbookWorkerGroupName, String hybridRunbookWorkerId, HybridRunbookWorkerCreateParameters hybridRunbookWorkerCreationParameters) Create a hybrid runbook worker.com.azure.core.http.rest.Response<HybridRunbookWorkerInner>
createWithResponse
(String resourceGroupName, String automationAccountName, String hybridRunbookWorkerGroupName, String hybridRunbookWorkerId, HybridRunbookWorkerCreateParameters hybridRunbookWorkerCreationParameters, com.azure.core.util.Context context) Create a hybrid runbook worker.void
delete
(String resourceGroupName, String automationAccountName, String hybridRunbookWorkerGroupName, String hybridRunbookWorkerId) Delete a hybrid runbook worker.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.get
(String resourceGroupName, String automationAccountName, String hybridRunbookWorkerGroupName, String hybridRunbookWorkerId) Retrieve a hybrid runbook worker.com.azure.core.http.rest.Response<HybridRunbookWorkerInner>
getWithResponse
(String resourceGroupName, String automationAccountName, String hybridRunbookWorkerGroupName, String hybridRunbookWorkerId, com.azure.core.util.Context context) Retrieve a hybrid runbook worker.com.azure.core.http.rest.PagedIterable<HybridRunbookWorkerInner>
listByHybridRunbookWorkerGroup
(String resourceGroupName, String automationAccountName, String hybridRunbookWorkerGroupName) Retrieve a list of hybrid runbook workers.com.azure.core.http.rest.PagedIterable<HybridRunbookWorkerInner>
listByHybridRunbookWorkerGroup
(String resourceGroupName, String automationAccountName, String hybridRunbookWorkerGroupName, String filter, com.azure.core.util.Context context) Retrieve a list of hybrid runbook workers.void
move
(String resourceGroupName, String automationAccountName, String hybridRunbookWorkerGroupName, String hybridRunbookWorkerId, HybridRunbookWorkerMoveParameters hybridRunbookWorkerMoveParameters) Move a hybrid worker to a different group.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.
-
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
HybridRunbookWorkerInner 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<HybridRunbookWorkerInner> 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.
-
create
HybridRunbookWorkerInner create(String resourceGroupName, String automationAccountName, String hybridRunbookWorkerGroupName, String hybridRunbookWorkerId, HybridRunbookWorkerCreateParameters hybridRunbookWorkerCreationParameters) Create 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.hybridRunbookWorkerCreationParameters
- The create or update parameters for hybrid runbook worker.- 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.
-
createWithResponse
com.azure.core.http.rest.Response<HybridRunbookWorkerInner> createWithResponse(String resourceGroupName, String automationAccountName, String hybridRunbookWorkerGroupName, String hybridRunbookWorkerId, HybridRunbookWorkerCreateParameters hybridRunbookWorkerCreationParameters, com.azure.core.util.Context context) Create 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.hybridRunbookWorkerCreationParameters
- The create or update parameters for hybrid runbook worker.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<HybridRunbookWorkerInner> 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<HybridRunbookWorkerInner> 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.
-