Interface AutomationAccountsClient


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

    • update

      AutomationAccountInner update(String resourceGroupName, String automationAccountName, AutomationAccountUpdateParameters parameters)
      Update an automation account.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      parameters - Parameters supplied to the update automation account.
      Returns:
      definition of the automation account type.
      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<AutomationAccountInner> updateWithResponse(String resourceGroupName, String automationAccountName, AutomationAccountUpdateParameters parameters, com.azure.core.util.Context context)
      Update an automation account.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      parameters - Parameters supplied to the update automation account.
      context - The context to associate with this operation.
      Returns:
      definition of the automation account type 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.
    • createOrUpdate

      AutomationAccountInner createOrUpdate(String resourceGroupName, String automationAccountName, AutomationAccountCreateOrUpdateParameters parameters)
      Create or update automation account.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      parameters - Parameters supplied to the create or update automation account.
      Returns:
      definition of the automation account type.
      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.
    • createOrUpdateWithResponse

      com.azure.core.http.rest.Response<AutomationAccountInner> createOrUpdateWithResponse(String resourceGroupName, String automationAccountName, AutomationAccountCreateOrUpdateParameters parameters, com.azure.core.util.Context context)
      Create or update automation account.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      parameters - Parameters supplied to the create or update automation account.
      context - The context to associate with this operation.
      Returns:
      definition of the automation account type 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.
    • delete

      void delete(String resourceGroupName, String automationAccountName)
      Delete an automation account.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      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, com.azure.core.util.Context context)
      Delete an automation account.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      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.
    • getByResourceGroup

      AutomationAccountInner getByResourceGroup(String resourceGroupName, String automationAccountName)
      Get information about an Automation Account.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      Returns:
      information about an Automation Account.
      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.
    • getByResourceGroupWithResponse

      com.azure.core.http.rest.Response<AutomationAccountInner> getByResourceGroupWithResponse(String resourceGroupName, String automationAccountName, com.azure.core.util.Context context)
      Get information about an Automation Account.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      context - The context to associate with this operation.
      Returns:
      information about an Automation Account 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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<AutomationAccountInner> listByResourceGroup(String resourceGroupName)
      Retrieve a list of accounts within a given resource group.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      Returns:
      the response model for the list account 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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<AutomationAccountInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
      Retrieve a list of accounts within a given resource group.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      context - The context to associate with this operation.
      Returns:
      the response model for the list account 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.
    • list

      com.azure.core.http.rest.PagedIterable<AutomationAccountInner> list()
      Lists the Automation Accounts within an Azure subscription.

      Retrieve a list of accounts within a given subscription.

      Returns:
      the response model for the list account operation as paginated response with PagedIterable.
      Throws:
      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<AutomationAccountInner> list(com.azure.core.util.Context context)
      Lists the Automation Accounts within an Azure subscription.

      Retrieve a list of accounts within a given subscription.

      Parameters:
      context - The context to associate with this operation.
      Returns:
      the response model for the list account 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.