Schedule Interface
public interface Schedule
An immutable client-side representation of Schedule.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
Offset |
createdDate()
Gets the created |
abstract
Day |
dailyRecurrence()
Gets the daily |
abstract void |
execute()
Execute a schedule. |
abstract void |
execute(Context context)
Execute a schedule. |
abstract
Hour |
hourlyRecurrence()
Gets the hourly |
abstract String |
id()
Gets the id property: Fully qualified resource Id for the resource. |
abstract
Schedule |
innerModel()
Gets the inner com. |
abstract String |
location()
Gets the location property: The geo-location where the resource lives. |
abstract String |
name()
Gets the name property: The name of the resource. |
abstract
Notification |
notificationSettings()
Gets the notification |
abstract String |
provisioningState()
Gets the provisioning |
abstract Schedule |
refresh()
Refreshes the resource to sync with Azure. |
abstract Schedule |
refresh(Context context)
Refreshes the resource to sync with Azure. |
abstract Region |
region()
Gets the region of the resource. |
abstract String |
regionName()
Gets the name of the resource region. |
abstract String |
resourceGroupName()
Gets the name of the resource group. |
abstract void |
retarget(RetargetScheduleProperties retargetScheduleProperties)
Updates a schedule's target resource Id. |
abstract void |
retarget(RetargetScheduleProperties retargetScheduleProperties, Context context)
Updates a schedule's target resource Id. |
abstract
Enable |
status()
Gets the status property: The status of the schedule (i. |
abstract Map<String,String> |
tags()
Gets the tags property: Resource tags. |
abstract String |
targetResourceId()
Gets the target |
abstract String |
taskType()
Gets the task |
abstract String |
timeZoneId()
Gets the time |
abstract String |
type()
Gets the type property: The type of the resource. |
abstract String |
uniqueIdentifier()
Gets the unique |
abstract Update |
update()
Begins update for the Schedule resource. |
abstract
Week |
weeklyRecurrence()
Gets the weekly |
Method Details
createdDate
public abstract OffsetDateTime createdDate()
Gets the createdDate property: The creation date of the schedule.
Returns:
dailyRecurrence
public abstract DayDetails dailyRecurrence()
Gets the dailyRecurrence property: If the schedule will occur once each day of the week, specify the daily recurrence.
Returns:
execute
public abstract void execute()
Execute a schedule. This operation can take a while to complete.
execute
public abstract void execute(Context context)
Execute a schedule. This operation can take a while to complete.
Parameters:
hourlyRecurrence
public abstract HourDetails hourlyRecurrence()
Gets the hourlyRecurrence property: If the schedule will occur multiple times a day, specify the hourly recurrence.
Returns:
id
public abstract String id()
Gets the id property: Fully qualified resource Id for the resource.
Returns:
innerModel
public abstract ScheduleInner innerModel()
Gets the inner com.azure.resourcemanager.devtestlabs.fluent.models.ScheduleInner object.
Returns:
location
public abstract String location()
Gets the location property: The geo-location where the resource lives.
Returns:
name
public abstract String name()
Gets the name property: The name of the resource.
Returns:
notificationSettings
public abstract NotificationSettings notificationSettings()
Gets the notificationSettings property: Notification settings.
Returns:
provisioningState
public abstract String provisioningState()
Gets the provisioningState property: The provisioning status of the resource.
Returns:
refresh
public abstract Schedule refresh()
Refreshes the resource to sync with Azure.
Returns:
refresh
public abstract Schedule refresh(Context context)
Refreshes the resource to sync with Azure.
Parameters:
Returns:
region
public abstract Region region()
Gets the region of the resource.
Returns:
regionName
public abstract String regionName()
Gets the name of the resource region.
Returns:
resourceGroupName
public abstract String resourceGroupName()
Gets the name of the resource group.
Returns:
retarget
public abstract void retarget(RetargetScheduleProperties retargetScheduleProperties)
Updates a schedule's target resource Id. This operation can take a while to complete.
Parameters:
retarget
public abstract void retarget(RetargetScheduleProperties retargetScheduleProperties, Context context)
Updates a schedule's target resource Id. This operation can take a while to complete.
Parameters:
status
public abstract EnableStatus status()
Gets the status property: The status of the schedule (i.e. Enabled, Disabled).
Returns:
tags
public abstract Map
Gets the tags property: Resource tags.
Returns:
targetResourceId
public abstract String targetResourceId()
Gets the targetResourceId property: The resource ID to which the schedule belongs.
Returns:
taskType
public abstract String taskType()
Gets the taskType property: The task type of the schedule (e.g. LabVmsShutdownTask, LabVmAutoStart).
Returns:
timeZoneId
public abstract String timeZoneId()
Gets the timeZoneId property: The time zone ID (e.g. Pacific Standard time).
Returns:
type
public abstract String type()
Gets the type property: The type of the resource.
Returns:
uniqueIdentifier
public abstract String uniqueIdentifier()
Gets the uniqueIdentifier property: The unique immutable identifier of a resource (Guid).
Returns:
update
public abstract Schedule.Update update()
Begins update for the Schedule resource.
Returns:
weeklyRecurrence
public abstract WeekDetails weeklyRecurrence()
Gets the weeklyRecurrence property: If the schedule will occur only some days of the week, specify the weekly recurrence.
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for