Interface ScalingPlanPooledSchedulesClient


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

    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<ScalingPlanPooledScheduleInner>> getWithResponseAsync(String resourceGroupName, String scalingPlanName, String scalingPlanScheduleName)
      Get a ScalingPlanPooledSchedule.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      scalingPlanName - The name of the scaling plan.
      scalingPlanScheduleName - The name of the ScalingPlanSchedule.
      Returns:
      a ScalingPlanPooledSchedule along with Response on successful completion of Mono.
      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.
    • getAsync

      Mono<ScalingPlanPooledScheduleInner> getAsync(String resourceGroupName, String scalingPlanName, String scalingPlanScheduleName)
      Get a ScalingPlanPooledSchedule.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      scalingPlanName - The name of the scaling plan.
      scalingPlanScheduleName - The name of the ScalingPlanSchedule.
      Returns:
      a ScalingPlanPooledSchedule on successful completion of Mono.
      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<ScalingPlanPooledScheduleInner> getWithResponse(String resourceGroupName, String scalingPlanName, String scalingPlanScheduleName, com.azure.core.util.Context context)
      Get a ScalingPlanPooledSchedule.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      scalingPlanName - The name of the scaling plan.
      scalingPlanScheduleName - The name of the ScalingPlanSchedule.
      context - The context to associate with this operation.
      Returns:
      a ScalingPlanPooledSchedule 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

      ScalingPlanPooledScheduleInner get(String resourceGroupName, String scalingPlanName, String scalingPlanScheduleName)
      Get a ScalingPlanPooledSchedule.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      scalingPlanName - The name of the scaling plan.
      scalingPlanScheduleName - The name of the ScalingPlanSchedule.
      Returns:
      a ScalingPlanPooledSchedule.
      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.
    • createWithResponseAsync

      Mono<com.azure.core.http.rest.Response<ScalingPlanPooledScheduleInner>> createWithResponseAsync(String resourceGroupName, String scalingPlanName, String scalingPlanScheduleName, ScalingPlanPooledScheduleInner scalingPlanSchedule)
      Create or update a ScalingPlanPooledSchedule.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      scalingPlanName - The name of the scaling plan.
      scalingPlanScheduleName - The name of the ScalingPlanSchedule.
      scalingPlanSchedule - Object containing ScalingPlanPooledSchedule definitions.
      Returns:
      represents a ScalingPlanPooledSchedule definition along with Response on successful completion of Mono.
      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.
    • createAsync

      Mono<ScalingPlanPooledScheduleInner> createAsync(String resourceGroupName, String scalingPlanName, String scalingPlanScheduleName, ScalingPlanPooledScheduleInner scalingPlanSchedule)
      Create or update a ScalingPlanPooledSchedule.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      scalingPlanName - The name of the scaling plan.
      scalingPlanScheduleName - The name of the ScalingPlanSchedule.
      scalingPlanSchedule - Object containing ScalingPlanPooledSchedule definitions.
      Returns:
      represents a ScalingPlanPooledSchedule definition on successful completion of Mono.
      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<ScalingPlanPooledScheduleInner> createWithResponse(String resourceGroupName, String scalingPlanName, String scalingPlanScheduleName, ScalingPlanPooledScheduleInner scalingPlanSchedule, com.azure.core.util.Context context)
      Create or update a ScalingPlanPooledSchedule.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      scalingPlanName - The name of the scaling plan.
      scalingPlanScheduleName - The name of the ScalingPlanSchedule.
      scalingPlanSchedule - Object containing ScalingPlanPooledSchedule definitions.
      context - The context to associate with this operation.
      Returns:
      represents a ScalingPlanPooledSchedule definition 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.
    • create

      ScalingPlanPooledScheduleInner create(String resourceGroupName, String scalingPlanName, String scalingPlanScheduleName, ScalingPlanPooledScheduleInner scalingPlanSchedule)
      Create or update a ScalingPlanPooledSchedule.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      scalingPlanName - The name of the scaling plan.
      scalingPlanScheduleName - The name of the ScalingPlanSchedule.
      scalingPlanSchedule - Object containing ScalingPlanPooledSchedule definitions.
      Returns:
      represents a ScalingPlanPooledSchedule definition.
      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.
    • deleteWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Void>> deleteWithResponseAsync(String resourceGroupName, String scalingPlanName, String scalingPlanScheduleName)
      Remove a ScalingPlanPooledSchedule.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      scalingPlanName - The name of the scaling plan.
      scalingPlanScheduleName - The name of the ScalingPlanSchedule.
      Returns:
      the Response on successful completion of Mono.
      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.
    • deleteAsync

      Mono<Void> deleteAsync(String resourceGroupName, String scalingPlanName, String scalingPlanScheduleName)
      Remove a ScalingPlanPooledSchedule.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      scalingPlanName - The name of the scaling plan.
      scalingPlanScheduleName - The name of the ScalingPlanSchedule.
      Returns:
      A Mono that completes when a successful response is received.
      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 scalingPlanName, String scalingPlanScheduleName, com.azure.core.util.Context context)
      Remove a ScalingPlanPooledSchedule.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      scalingPlanName - The name of the scaling plan.
      scalingPlanScheduleName - The name of the ScalingPlanSchedule.
      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.
    • delete

      void delete(String resourceGroupName, String scalingPlanName, String scalingPlanScheduleName)
      Remove a ScalingPlanPooledSchedule.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      scalingPlanName - The name of the scaling plan.
      scalingPlanScheduleName - The name of the ScalingPlanSchedule.
      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.
    • updateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<ScalingPlanPooledScheduleInner>> updateWithResponseAsync(String resourceGroupName, String scalingPlanName, String scalingPlanScheduleName, ScalingPlanPooledSchedulePatch scalingPlanSchedule)
      Update a ScalingPlanPooledSchedule.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      scalingPlanName - The name of the scaling plan.
      scalingPlanScheduleName - The name of the ScalingPlanSchedule.
      scalingPlanSchedule - Object containing ScalingPlanPooledSchedule definitions.
      Returns:
      represents a ScalingPlanPooledSchedule definition along with Response on successful completion of Mono.
      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.
    • updateAsync

      Mono<ScalingPlanPooledScheduleInner> updateAsync(String resourceGroupName, String scalingPlanName, String scalingPlanScheduleName)
      Update a ScalingPlanPooledSchedule.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      scalingPlanName - The name of the scaling plan.
      scalingPlanScheduleName - The name of the ScalingPlanSchedule.
      Returns:
      represents a ScalingPlanPooledSchedule definition on successful completion of Mono.
      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<ScalingPlanPooledScheduleInner> updateWithResponse(String resourceGroupName, String scalingPlanName, String scalingPlanScheduleName, ScalingPlanPooledSchedulePatch scalingPlanSchedule, com.azure.core.util.Context context)
      Update a ScalingPlanPooledSchedule.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      scalingPlanName - The name of the scaling plan.
      scalingPlanScheduleName - The name of the ScalingPlanSchedule.
      scalingPlanSchedule - Object containing ScalingPlanPooledSchedule definitions.
      context - The context to associate with this operation.
      Returns:
      represents a ScalingPlanPooledSchedule definition 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

      ScalingPlanPooledScheduleInner update(String resourceGroupName, String scalingPlanName, String scalingPlanScheduleName)
      Update a ScalingPlanPooledSchedule.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      scalingPlanName - The name of the scaling plan.
      scalingPlanScheduleName - The name of the ScalingPlanSchedule.
      Returns:
      represents a ScalingPlanPooledSchedule definition.
      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.
    • listAsync

      com.azure.core.http.rest.PagedFlux<ScalingPlanPooledScheduleInner> listAsync(String resourceGroupName, String scalingPlanName, Integer pageSize, Boolean isDescending, Integer initialSkip)
      List ScalingPlanPooledSchedules.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      scalingPlanName - The name of the scaling plan.
      pageSize - Number of items per page.
      isDescending - Indicates whether the collection is descending.
      initialSkip - Initial number of items to skip.
      Returns:
      scalingPlanPooledScheduleList as paginated response with PagedFlux.
      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.
    • listAsync

      com.azure.core.http.rest.PagedFlux<ScalingPlanPooledScheduleInner> listAsync(String resourceGroupName, String scalingPlanName)
      List ScalingPlanPooledSchedules.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      scalingPlanName - The name of the scaling plan.
      Returns:
      scalingPlanPooledScheduleList as paginated response with PagedFlux.
      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<ScalingPlanPooledScheduleInner> list(String resourceGroupName, String scalingPlanName)
      List ScalingPlanPooledSchedules.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      scalingPlanName - The name of the scaling plan.
      Returns:
      scalingPlanPooledScheduleList 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<ScalingPlanPooledScheduleInner> list(String resourceGroupName, String scalingPlanName, Integer pageSize, Boolean isDescending, Integer initialSkip, com.azure.core.util.Context context)
      List ScalingPlanPooledSchedules.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      scalingPlanName - The name of the scaling plan.
      pageSize - Number of items per page.
      isDescending - Indicates whether the collection is descending.
      initialSkip - Initial number of items to skip.
      context - The context to associate with this operation.
      Returns:
      scalingPlanPooledScheduleList 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.