Interface SoftwareUpdateConfigurationsClient


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

    • create

      SoftwareUpdateConfigurationInner create(String resourceGroupName, String automationAccountName, String softwareUpdateConfigurationName, SoftwareUpdateConfigurationInner parameters)
      Create a new software update configuration with the name given in the URI.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      softwareUpdateConfigurationName - The name of the software update configuration to be created.
      parameters - Request body.
      Returns:
      software update configuration properties.
      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<SoftwareUpdateConfigurationInner> createWithResponse(String resourceGroupName, String automationAccountName, String softwareUpdateConfigurationName, SoftwareUpdateConfigurationInner parameters, String clientRequestId, com.azure.core.util.Context context)
      Create a new software update configuration with the name given in the URI.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      softwareUpdateConfigurationName - The name of the software update configuration to be created.
      parameters - Request body.
      clientRequestId - Identifies this specific client request.
      context - The context to associate with this operation.
      Returns:
      software update configuration properties 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.
    • getByName

      SoftwareUpdateConfigurationInner getByName(String resourceGroupName, String automationAccountName, String softwareUpdateConfigurationName)
      Get a single software update configuration by name.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      softwareUpdateConfigurationName - The name of the software update configuration to be created.
      Returns:
      a single software update configuration by 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.
    • getByNameWithResponse

      com.azure.core.http.rest.Response<SoftwareUpdateConfigurationInner> getByNameWithResponse(String resourceGroupName, String automationAccountName, String softwareUpdateConfigurationName, String clientRequestId, com.azure.core.util.Context context)
      Get a single software update configuration by name.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      softwareUpdateConfigurationName - The name of the software update configuration to be created.
      clientRequestId - Identifies this specific client request.
      context - The context to associate with this operation.
      Returns:
      a single software update configuration by name 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, String softwareUpdateConfigurationName)
      delete a specific software update configuration.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      softwareUpdateConfigurationName - The name of the software update configuration to be created.
      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 softwareUpdateConfigurationName, String clientRequestId, com.azure.core.util.Context context)
      delete a specific software update configuration.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      softwareUpdateConfigurationName - The name of the software update configuration to be created.
      clientRequestId - Identifies this specific client request.
      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.
    • list

      SoftwareUpdateConfigurationListResultInner list(String resourceGroupName, String automationAccountName)
      Get all software update configurations for the account.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      Returns:
      all software update configurations for the 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.
    • listWithResponse

      com.azure.core.http.rest.Response<SoftwareUpdateConfigurationListResultInner> listWithResponse(String resourceGroupName, String automationAccountName, String clientRequestId, String filter, com.azure.core.util.Context context)
      Get all software update configurations for the account.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      clientRequestId - Identifies this specific client request.
      filter - The filter to apply on the operation.
      context - The context to associate with this operation.
      Returns:
      all software update configurations for the 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.