Interface MaintenanceConfigurationsClient


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

    • getByResourceGroupWithResponse

      com.azure.core.http.rest.Response<MaintenanceConfigurationInner> getByResourceGroupWithResponse(String resourceGroupName, String resourceName, com.azure.core.util.Context context)
      Get Configuration record.
      Parameters:
      resourceGroupName - Resource Group Name.
      resourceName - Maintenance Configuration Name.
      context - The context to associate with this operation.
      Returns:
      configuration record 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.
    • getByResourceGroup

      MaintenanceConfigurationInner getByResourceGroup(String resourceGroupName, String resourceName)
      Get Configuration record.
      Parameters:
      resourceGroupName - Resource Group Name.
      resourceName - Maintenance Configuration Name.
      Returns:
      configuration record.
      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<MaintenanceConfigurationInner> createOrUpdateWithResponse(String resourceGroupName, String resourceName, MaintenanceConfigurationInner configuration, com.azure.core.util.Context context)
      Create or Update configuration record.
      Parameters:
      resourceGroupName - Resource Group Name.
      resourceName - Maintenance Configuration Name.
      configuration - The configuration.
      context - The context to associate with this operation.
      Returns:
      maintenance configuration record 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

      MaintenanceConfigurationInner createOrUpdate(String resourceGroupName, String resourceName, MaintenanceConfigurationInner configuration)
      Create or Update configuration record.
      Parameters:
      resourceGroupName - Resource Group Name.
      resourceName - Maintenance Configuration Name.
      configuration - The configuration.
      Returns:
      maintenance configuration record 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.
    • deleteWithResponse

      com.azure.core.http.rest.Response<MaintenanceConfigurationInner> deleteWithResponse(String resourceGroupName, String resourceName, com.azure.core.util.Context context)
      Delete Configuration record.
      Parameters:
      resourceGroupName - Resource Group Name.
      resourceName - Maintenance Configuration Name.
      context - The context to associate with this operation.
      Returns:
      maintenance configuration record 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

      MaintenanceConfigurationInner delete(String resourceGroupName, String resourceName)
      Delete Configuration record.
      Parameters:
      resourceGroupName - Resource Group Name.
      resourceName - Maintenance Configuration Name.
      Returns:
      maintenance configuration record 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<MaintenanceConfigurationInner> updateWithResponse(String resourceGroupName, String resourceName, MaintenanceConfigurationInner configuration, com.azure.core.util.Context context)
      Patch configuration record.
      Parameters:
      resourceGroupName - Resource Group Name.
      resourceName - Maintenance Configuration Name.
      configuration - The configuration.
      context - The context to associate with this operation.
      Returns:
      maintenance configuration record 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.
    • update

      MaintenanceConfigurationInner update(String resourceGroupName, String resourceName, MaintenanceConfigurationInner configuration)
      Patch configuration record.
      Parameters:
      resourceGroupName - Resource Group Name.
      resourceName - Maintenance Configuration Name.
      configuration - The configuration.
      Returns:
      maintenance configuration record 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.
    • list

      com.azure.core.http.rest.PagedIterable<MaintenanceConfigurationInner> list()
      Get Configuration records within a subscription.
      Returns:
      configuration records within a subscription 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<MaintenanceConfigurationInner> list(com.azure.core.util.Context context)
      Get Configuration records within a subscription.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      configuration records within a subscription 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.