Interface ScalingPlanPooledSchedules
public interface ScalingPlanPooledSchedules
Resource collection API of ScalingPlanPooledSchedules.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new ScalingPlanPooledSchedule resource.voidRemove a ScalingPlanPooledSchedule.voiddeleteById(String id) Remove a ScalingPlanPooledSchedule.com.azure.core.http.rest.Response<Void>deleteByIdWithResponse(String id, com.azure.core.util.Context context) Remove a ScalingPlanPooledSchedule.com.azure.core.http.rest.Response<Void>deleteWithResponse(String resourceGroupName, String scalingPlanName, String scalingPlanScheduleName, com.azure.core.util.Context context) Remove a ScalingPlanPooledSchedule.Get a ScalingPlanPooledSchedule.Get a ScalingPlanPooledSchedule.com.azure.core.http.rest.Response<ScalingPlanPooledSchedule>getByIdWithResponse(String id, com.azure.core.util.Context context) Get a ScalingPlanPooledSchedule.com.azure.core.http.rest.Response<ScalingPlanPooledSchedule>getWithResponse(String resourceGroupName, String scalingPlanName, String scalingPlanScheduleName, com.azure.core.util.Context context) Get a ScalingPlanPooledSchedule.com.azure.core.http.rest.PagedIterable<ScalingPlanPooledSchedule>List ScalingPlanPooledSchedules.com.azure.core.http.rest.PagedIterable<ScalingPlanPooledSchedule>list(String resourceGroupName, String scalingPlanName, Integer pageSize, Boolean isDescending, Integer initialSkip, com.azure.core.util.Context context) List ScalingPlanPooledSchedules.
-
Method Details
-
getWithResponse
com.azure.core.http.rest.Response<ScalingPlanPooledSchedule> 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
ScalingPlanPooledSchedule 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.
-
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
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.
-
list
com.azure.core.http.rest.PagedIterable<ScalingPlanPooledSchedule> 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<ScalingPlanPooledSchedule> 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.
-
getById
Get a ScalingPlanPooledSchedule.- Parameters:
id- the resource ID.- 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.
-
getByIdWithResponse
com.azure.core.http.rest.Response<ScalingPlanPooledSchedule> getByIdWithResponse(String id, com.azure.core.util.Context context) Get a ScalingPlanPooledSchedule.- Parameters:
id- the resource ID.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.
-
deleteById
Remove a ScalingPlanPooledSchedule.- 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, com.azure.core.util.Context context) Remove a ScalingPlanPooledSchedule.- Parameters:
id- the resource ID.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 ScalingPlanPooledSchedule resource.- Parameters:
name- resource name.- Returns:
- the first stage of the new ScalingPlanPooledSchedule definition.
-