Interface PublicMaintenanceConfigurations


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

    • list

      com.azure.core.http.rest.PagedIterable<MaintenanceConfiguration> list()
      Get Public Maintenance Configuration records.
      Returns:
      public Maintenance Configuration records 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<MaintenanceConfiguration> list(com.azure.core.util.Context context)
      Get Public Maintenance Configuration records.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      public Maintenance Configuration records 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.
    • getWithResponse

      com.azure.core.http.rest.Response<MaintenanceConfiguration> getWithResponse(String resourceName, com.azure.core.util.Context context)
      Get Public Maintenance Configuration record.
      Parameters:
      resourceName - Maintenance Configuration Name.
      context - The context to associate with this operation.
      Returns:
      public Maintenance 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.
    • get

      MaintenanceConfiguration get(String resourceName)
      Get Public Maintenance Configuration record.
      Parameters:
      resourceName - Maintenance Configuration Name.
      Returns:
      public Maintenance 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.