public interface Schedule
Modifier and Type | Interface and Description |
---|---|
static interface |
Schedule.Definition
The entirety of the Schedule definition.
|
static interface |
Schedule.DefinitionStages
The Schedule definition stages.
|
static interface |
Schedule.Update
The template for Schedule update.
|
static interface |
Schedule.UpdateStages
The Schedule update stages.
|
Modifier and Type | Method and Description |
---|---|
OffsetDateTime |
createdDate()
Gets the createdDate property: The creation date of the schedule.
|
DayDetails |
dailyRecurrence()
Gets the dailyRecurrence property: If the schedule will occur once each day of the week, specify the daily
recurrence.
|
void |
execute()
Execute a schedule.
|
void |
execute(com.azure.core.util.Context context)
Execute a schedule.
|
HourDetails |
hourlyRecurrence()
Gets the hourlyRecurrence property: If the schedule will occur multiple times a day, specify the hourly
recurrence.
|
String |
id()
Gets the id property: Fully qualified resource Id for the resource.
|
ScheduleInner |
innerModel()
Gets the inner com.azure.resourcemanager.devtestlabs.fluent.models.ScheduleInner object.
|
String |
location()
Gets the location property: The geo-location where the resource lives.
|
String |
name()
Gets the name property: The name of the resource.
|
NotificationSettings |
notificationSettings()
Gets the notificationSettings property: Notification settings.
|
String |
provisioningState()
Gets the provisioningState property: The provisioning status of the resource.
|
Schedule |
refresh()
Refreshes the resource to sync with Azure.
|
Schedule |
refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.
|
com.azure.core.management.Region |
region()
Gets the region of the resource.
|
String |
regionName()
Gets the name of the resource region.
|
void |
retarget(RetargetScheduleProperties retargetScheduleProperties)
Updates a schedule's target resource Id.
|
void |
retarget(RetargetScheduleProperties retargetScheduleProperties,
com.azure.core.util.Context context)
Updates a schedule's target resource Id.
|
EnableStatus |
status()
Gets the status property: The status of the schedule (i.e.
|
Map<String,String> |
tags()
Gets the tags property: Resource tags.
|
String |
targetResourceId()
Gets the targetResourceId property: The resource ID to which the schedule belongs.
|
String |
taskType()
Gets the taskType property: The task type of the schedule (e.g.
|
String |
timeZoneId()
Gets the timeZoneId property: The time zone ID (e.g.
|
String |
type()
Gets the type property: The type of the resource.
|
String |
uniqueIdentifier()
Gets the uniqueIdentifier property: The unique immutable identifier of a resource (Guid).
|
Schedule.Update |
update()
Begins update for the Schedule resource.
|
WeekDetails |
weeklyRecurrence()
Gets the weeklyRecurrence property: If the schedule will occur only some days of the week, specify the weekly
recurrence.
|
String id()
String name()
String type()
String location()
EnableStatus status()
String taskType()
WeekDetails weeklyRecurrence()
DayDetails dailyRecurrence()
HourDetails hourlyRecurrence()
String timeZoneId()
NotificationSettings notificationSettings()
OffsetDateTime createdDate()
String targetResourceId()
String provisioningState()
String uniqueIdentifier()
com.azure.core.management.Region region()
String regionName()
ScheduleInner innerModel()
Schedule.Update update()
Schedule refresh()
Schedule refresh(com.azure.core.util.Context context)
context
- The context to associate with this operation.void execute()
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 execute(com.azure.core.util.Context context)
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 retarget(RetargetScheduleProperties retargetScheduleProperties)
retargetScheduleProperties
- Properties for retargeting a virtual machine schedule.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 retarget(RetargetScheduleProperties retargetScheduleProperties, com.azure.core.util.Context context)
retargetScheduleProperties
- Properties for retargeting a virtual machine schedule.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.