Interface Schedules
public interface Schedules
Resource collection API of Schedules.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new Schedule resource.voidDelete schedule.voiddelete(String resourceGroupName, String workspaceName, String name, com.azure.core.util.Context context) Delete schedule.voiddeleteById(String id) Delete schedule.voiddeleteByIdWithResponse(String id, com.azure.core.util.Context context) Delete schedule.Get schedule.Get schedule.com.azure.core.http.rest.Response<Schedule>getByIdWithResponse(String id, com.azure.core.util.Context context) Get schedule.com.azure.core.http.rest.Response<Schedule>getWithResponse(String resourceGroupName, String workspaceName, String name, com.azure.core.util.Context context) Get schedule.com.azure.core.http.rest.PagedIterable<Schedule>List schedules in specified workspace.com.azure.core.http.rest.PagedIterable<Schedule>list(String resourceGroupName, String workspaceName, String skip, ScheduleListViewType listViewType, com.azure.core.util.Context context) List schedules in specified workspace.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<Schedule> list(String resourceGroupName, String workspaceName) List schedules in specified workspace.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.- Returns:
- a paginated list of Schedule entities 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<Schedule> list(String resourceGroupName, String workspaceName, String skip, ScheduleListViewType listViewType, com.azure.core.util.Context context) List schedules in specified workspace.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.skip- Continuation token for pagination.listViewType- Status filter for schedule.context- The context to associate with this operation.- Returns:
- a paginated list of Schedule entities 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.
-
delete
Delete schedule.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.name- Schedule 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.
-
delete
void delete(String resourceGroupName, String workspaceName, String name, com.azure.core.util.Context context) Delete schedule.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.name- Schedule name.context- The context to associate with this operation.- 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<Schedule> getWithResponse(String resourceGroupName, String workspaceName, String name, com.azure.core.util.Context context) Get schedule.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.name- Schedule name.context- The context to associate with this operation.- Returns:
- schedule 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
Get schedule.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.name- Schedule name.- Returns:
- schedule.
- 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 schedule.- Parameters:
id- the resource ID.- Returns:
- schedule 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<Schedule> getByIdWithResponse(String id, com.azure.core.util.Context context) Get schedule.- Parameters:
id- the resource ID.context- The context to associate with this operation.- Returns:
- schedule 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
Delete schedule.- 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
Delete schedule.- Parameters:
id- the resource ID.context- The context to associate with this operation.- 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 Schedule resource.- Parameters:
name- resource name.- Returns:
- the first stage of the new Schedule definition.
-