Interface SchedulesClient
public interface SchedulesClient
An instance of this class provides access to all the operations defined in SchedulesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ScheduleInner>,ScheduleInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, String name, ScheduleInner body) Create or update schedule.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ScheduleInner>,ScheduleInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, String name, ScheduleInner body, com.azure.core.util.Context context) Create or update schedule.beginDelete(String resourceGroupName, String workspaceName, String name) Delete schedule.beginDelete(String resourceGroupName, String workspaceName, String name, com.azure.core.util.Context context) Delete schedule.createOrUpdate(String resourceGroupName, String workspaceName, String name, ScheduleInner body) Create or update schedule.createOrUpdate(String resourceGroupName, String workspaceName, String name, ScheduleInner body, com.azure.core.util.Context context) Create or update schedule.voidDelete schedule.voiddelete(String resourceGroupName, String workspaceName, String name, com.azure.core.util.Context context) Delete schedule.Get schedule.com.azure.core.http.rest.Response<ScheduleInner>getWithResponse(String resourceGroupName, String workspaceName, String name, com.azure.core.util.Context context) Get schedule.com.azure.core.http.rest.PagedIterable<ScheduleInner>List schedules in specified workspace.com.azure.core.http.rest.PagedIterable<ScheduleInner>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<ScheduleInner> 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<ScheduleInner> 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String workspaceName, String name) 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.- Returns:
- the
SyncPollerfor polling of long-running 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(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.- Returns:
- the
SyncPollerfor polling of long-running 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.
-
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<ScheduleInner> 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ScheduleInner>,ScheduleInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, String name, ScheduleInner body) Create or update schedule.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.name- Schedule name.body- Schedule definition.- Returns:
- the
SyncPollerfor polling of azure Resource Manager resource envelope. - 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ScheduleInner>,ScheduleInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, String name, ScheduleInner body, com.azure.core.util.Context context) Create or update schedule.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.name- Schedule name.body- Schedule definition.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of azure Resource Manager resource envelope. - 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
ScheduleInner createOrUpdate(String resourceGroupName, String workspaceName, String name, ScheduleInner body) Create or update schedule.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.name- Schedule name.body- Schedule definition.- Returns:
- azure Resource Manager resource envelope.
- 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
ScheduleInner createOrUpdate(String resourceGroupName, String workspaceName, String name, ScheduleInner body, com.azure.core.util.Context context) Create or update schedule.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.name- Schedule name.body- Schedule definition.context- The context to associate with this operation.- Returns:
- azure Resource Manager resource envelope.
- 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.
-