Interface HybridRunbookWorkerGroupsClient
public interface HybridRunbookWorkerGroupsClient
An instance of this class provides access to all the operations defined in HybridRunbookWorkerGroupsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(String resourceGroupName, String automationAccountName, String hybridRunbookWorkerGroupName, HybridRunbookWorkerGroupCreateOrUpdateParameters hybridRunbookWorkerGroupCreationParameters) Create a hybrid runbook worker group.com.azure.core.http.rest.Response<HybridRunbookWorkerGroupInner>
createWithResponse
(String resourceGroupName, String automationAccountName, String hybridRunbookWorkerGroupName, HybridRunbookWorkerGroupCreateOrUpdateParameters hybridRunbookWorkerGroupCreationParameters, com.azure.core.util.Context context) Create a hybrid runbook worker group.void
Delete a hybrid runbook worker group.com.azure.core.http.rest.Response<Void>
deleteWithResponse
(String resourceGroupName, String automationAccountName, String hybridRunbookWorkerGroupName, com.azure.core.util.Context context) Delete a hybrid runbook worker group.Retrieve a hybrid runbook worker group.com.azure.core.http.rest.Response<HybridRunbookWorkerGroupInner>
getWithResponse
(String resourceGroupName, String automationAccountName, String hybridRunbookWorkerGroupName, com.azure.core.util.Context context) Retrieve a hybrid runbook worker group.com.azure.core.http.rest.PagedIterable<HybridRunbookWorkerGroupInner>
listByAutomationAccount
(String resourceGroupName, String automationAccountName) Retrieve a list of hybrid runbook worker groups.com.azure.core.http.rest.PagedIterable<HybridRunbookWorkerGroupInner>
listByAutomationAccount
(String resourceGroupName, String automationAccountName, String filter, com.azure.core.util.Context context) Retrieve a list of hybrid runbook worker groups.update
(String resourceGroupName, String automationAccountName, String hybridRunbookWorkerGroupName, HybridRunbookWorkerGroupCreateOrUpdateParameters hybridRunbookWorkerGroupUpdationParameters) Update a hybrid runbook worker group.com.azure.core.http.rest.Response<HybridRunbookWorkerGroupInner>
updateWithResponse
(String resourceGroupName, String automationAccountName, String hybridRunbookWorkerGroupName, HybridRunbookWorkerGroupCreateOrUpdateParameters hybridRunbookWorkerGroupUpdationParameters, com.azure.core.util.Context context) Update a hybrid runbook worker group.
-
Method Details
-
delete
void delete(String resourceGroupName, String automationAccountName, String hybridRunbookWorkerGroupName) Delete a hybrid runbook worker group.- Parameters:
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.hybridRunbookWorkerGroupName
- The hybrid runbook worker group 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.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String automationAccountName, String hybridRunbookWorkerGroupName, com.azure.core.util.Context context) Delete a hybrid runbook worker group.- Parameters:
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.hybridRunbookWorkerGroupName
- The hybrid runbook worker group 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.
-
get
HybridRunbookWorkerGroupInner get(String resourceGroupName, String automationAccountName, String hybridRunbookWorkerGroupName) Retrieve a hybrid runbook worker group.- Parameters:
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.hybridRunbookWorkerGroupName
- The hybrid runbook worker group name.- Returns:
- definition of hybrid runbook worker group.
- 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<HybridRunbookWorkerGroupInner> getWithResponse(String resourceGroupName, String automationAccountName, String hybridRunbookWorkerGroupName, com.azure.core.util.Context context) Retrieve a hybrid runbook worker group.- Parameters:
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.hybridRunbookWorkerGroupName
- The hybrid runbook worker group name.context
- The context to associate with this operation.- Returns:
- definition of hybrid runbook worker group 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
HybridRunbookWorkerGroupInner create(String resourceGroupName, String automationAccountName, String hybridRunbookWorkerGroupName, HybridRunbookWorkerGroupCreateOrUpdateParameters hybridRunbookWorkerGroupCreationParameters) Create a hybrid runbook worker group.- Parameters:
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.hybridRunbookWorkerGroupName
- The hybrid runbook worker group name.hybridRunbookWorkerGroupCreationParameters
- The create or update parameters for hybrid runbook worker group.- Returns:
- definition of hybrid runbook worker group.
- 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<HybridRunbookWorkerGroupInner> createWithResponse(String resourceGroupName, String automationAccountName, String hybridRunbookWorkerGroupName, HybridRunbookWorkerGroupCreateOrUpdateParameters hybridRunbookWorkerGroupCreationParameters, com.azure.core.util.Context context) Create a hybrid runbook worker group.- Parameters:
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.hybridRunbookWorkerGroupName
- The hybrid runbook worker group name.hybridRunbookWorkerGroupCreationParameters
- The create or update parameters for hybrid runbook worker group.context
- The context to associate with this operation.- Returns:
- definition of hybrid runbook worker group 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.
-
update
HybridRunbookWorkerGroupInner update(String resourceGroupName, String automationAccountName, String hybridRunbookWorkerGroupName, HybridRunbookWorkerGroupCreateOrUpdateParameters hybridRunbookWorkerGroupUpdationParameters) Update a hybrid runbook worker group.- Parameters:
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.hybridRunbookWorkerGroupName
- The hybrid runbook worker group name.hybridRunbookWorkerGroupUpdationParameters
- The hybrid runbook worker group.- Returns:
- definition of hybrid runbook worker group.
- 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.
-
updateWithResponse
com.azure.core.http.rest.Response<HybridRunbookWorkerGroupInner> updateWithResponse(String resourceGroupName, String automationAccountName, String hybridRunbookWorkerGroupName, HybridRunbookWorkerGroupCreateOrUpdateParameters hybridRunbookWorkerGroupUpdationParameters, com.azure.core.util.Context context) Update a hybrid runbook worker group.- Parameters:
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.hybridRunbookWorkerGroupName
- The hybrid runbook worker group name.hybridRunbookWorkerGroupUpdationParameters
- The hybrid runbook worker group.context
- The context to associate with this operation.- Returns:
- definition of hybrid runbook worker group 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.
-
listByAutomationAccount
com.azure.core.http.rest.PagedIterable<HybridRunbookWorkerGroupInner> listByAutomationAccount(String resourceGroupName, String automationAccountName) Retrieve a list of hybrid runbook worker groups.- Parameters:
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.- Returns:
- the response model for the list hybrid runbook worker groups 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.
-
listByAutomationAccount
com.azure.core.http.rest.PagedIterable<HybridRunbookWorkerGroupInner> listByAutomationAccount(String resourceGroupName, String automationAccountName, String filter, com.azure.core.util.Context context) Retrieve a list of hybrid runbook worker groups.- Parameters:
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.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 worker groups 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.
-