public interface SchedulesClient
Modifier and Type | Method and Description |
---|---|
ScheduleInner |
createOrUpdate(String resourceGroupName,
String automationAccountName,
String scheduleName,
ScheduleCreateOrUpdateParameters parameters)
Create a schedule.
|
com.azure.core.http.rest.Response<ScheduleInner> |
createOrUpdateWithResponse(String resourceGroupName,
String automationAccountName,
String scheduleName,
ScheduleCreateOrUpdateParameters parameters,
com.azure.core.util.Context context)
Create a schedule.
|
void |
delete(String resourceGroupName,
String automationAccountName,
String scheduleName)
Delete the schedule identified by schedule name.
|
com.azure.core.http.rest.Response<Void> |
deleteWithResponse(String resourceGroupName,
String automationAccountName,
String scheduleName,
com.azure.core.util.Context context)
Delete the schedule identified by schedule name.
|
ScheduleInner |
get(String resourceGroupName,
String automationAccountName,
String scheduleName)
Retrieve the schedule identified by schedule name.
|
com.azure.core.http.rest.Response<ScheduleInner> |
getWithResponse(String resourceGroupName,
String automationAccountName,
String scheduleName,
com.azure.core.util.Context context)
Retrieve the schedule identified by schedule name.
|
com.azure.core.http.rest.PagedIterable<ScheduleInner> |
listByAutomationAccount(String resourceGroupName,
String automationAccountName)
Retrieve a list of schedules.
|
com.azure.core.http.rest.PagedIterable<ScheduleInner> |
listByAutomationAccount(String resourceGroupName,
String automationAccountName,
com.azure.core.util.Context context)
Retrieve a list of schedules.
|
ScheduleInner |
update(String resourceGroupName,
String automationAccountName,
String scheduleName,
ScheduleUpdateParameters parameters)
Update the schedule identified by schedule name.
|
com.azure.core.http.rest.Response<ScheduleInner> |
updateWithResponse(String resourceGroupName,
String automationAccountName,
String scheduleName,
ScheduleUpdateParameters parameters,
com.azure.core.util.Context context)
Update the schedule identified by schedule name.
|
ScheduleInner createOrUpdate(String resourceGroupName, String automationAccountName, String scheduleName, ScheduleCreateOrUpdateParameters parameters)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.scheduleName
- The schedule name.parameters
- The parameters supplied to the create or update schedule operation.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.com.azure.core.http.rest.Response<ScheduleInner> createOrUpdateWithResponse(String resourceGroupName, String automationAccountName, String scheduleName, ScheduleCreateOrUpdateParameters parameters, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.scheduleName
- The schedule name.parameters
- The parameters supplied to the create or update schedule operation.context
- The context to associate with this operation.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.ScheduleInner update(String resourceGroupName, String automationAccountName, String scheduleName, ScheduleUpdateParameters parameters)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.scheduleName
- The schedule name.parameters
- The parameters supplied to the update schedule operation.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.com.azure.core.http.rest.Response<ScheduleInner> updateWithResponse(String resourceGroupName, String automationAccountName, String scheduleName, ScheduleUpdateParameters parameters, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.scheduleName
- The schedule name.parameters
- The parameters supplied to the update schedule operation.context
- The context to associate with this operation.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.ScheduleInner get(String resourceGroupName, String automationAccountName, String scheduleName)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.scheduleName
- The schedule name.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.com.azure.core.http.rest.Response<ScheduleInner> getWithResponse(String resourceGroupName, String automationAccountName, String scheduleName, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.scheduleName
- The schedule name.context
- The context to associate with this operation.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.void delete(String resourceGroupName, String automationAccountName, String scheduleName)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.scheduleName
- The schedule name.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.com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String automationAccountName, String scheduleName, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.scheduleName
- The schedule name.context
- The context to associate with this operation.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.com.azure.core.http.rest.PagedIterable<ScheduleInner> listByAutomationAccount(String resourceGroupName, String automationAccountName)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.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.com.azure.core.http.rest.PagedIterable<ScheduleInner> listByAutomationAccount(String resourceGroupName, String automationAccountName, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.context
- The context to associate with this operation.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.Copyright © 2021 Microsoft Corporation. All rights reserved.