Interface SoftwareUpdateConfigurations


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

    • getByName

      SoftwareUpdateConfiguration 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<SoftwareUpdateConfiguration> 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

      SoftwareUpdateConfigurationListResult 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<SoftwareUpdateConfigurationListResult> 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.
    • getById

      Get a single software update configuration by name.
      Parameters:
      id - the resource ID.
      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.
    • getByIdWithResponse

      com.azure.core.http.rest.Response<SoftwareUpdateConfiguration> getByIdWithResponse(String id, String clientRequestId, com.azure.core.util.Context context)
      Get a single software update configuration by name.
      Parameters:
      id - the resource ID.
      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.
    • deleteById

      void deleteById(String id)
      delete a specific software update configuration.
      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, String clientRequestId, com.azure.core.util.Context context)
      delete a specific software update configuration.
      Parameters:
      id - the resource ID.
      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.
    • define

      Begins definition for a new SoftwareUpdateConfiguration resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new SoftwareUpdateConfiguration definition.