Interface Schedule
public interface Schedule
An immutable client-side representation of Schedule.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The entirety of the Schedule definition.static interface
The Schedule definition stages.static interface
The template for Schedule update.static interface
The Schedule update stages. -
Method Summary
Modifier and TypeMethodDescriptionGets the advancedSchedule property: Gets or sets the advanced schedule.Gets the creationTime property: Gets or sets the creation time.Gets the description property: Gets or sets the description.Gets the expiryTime property: Gets or sets the end time of the schedule.Gets the expiryTimeOffsetMinutes property: Gets or sets the expiry time's offset in minutes.Gets the frequency property: Gets or sets the frequency of the schedule.id()
Gets the id property: Fully qualified resource Id for the resource.Gets the inner com.azure.resourcemanager.automation.fluent.models.ScheduleInner object.interval()
Gets the interval property: Gets or sets the interval of the schedule.Gets the isEnabled property: Gets or sets a value indicating whether this schedule is enabled.Gets the lastModifiedTime property: Gets or sets the last modified time.name()
Gets the name property: The name of the resource.nextRun()
Gets the nextRun property: Gets or sets the next run time of the schedule.Gets the nextRunOffsetMinutes property: Gets or sets the next run time's offset in minutes.refresh()
Refreshes the resource to sync with Azure.refresh
(com.azure.core.util.Context context) Refreshes the resource to sync with Azure.Gets the name of the resource group.Gets the startTime property: Gets or sets the start time of the schedule.Gets the startTimeOffsetMinutes property: Gets the start time's offset in minutes.timeZone()
Gets the timeZone property: Gets or sets the time zone of the schedule.type()
Gets the type property: The type of the resource.update()
Begins update for the Schedule resource.
-
Method Details
-
id
String id()Gets the id property: Fully qualified resource Id for the resource.- Returns:
- the id value.
-
name
String name()Gets the name property: The name of the resource.- Returns:
- the name value.
-
type
String type()Gets the type property: The type of the resource.- Returns:
- the type value.
-
startTime
OffsetDateTime startTime()Gets the startTime property: Gets or sets the start time of the schedule.- Returns:
- the startTime value.
-
startTimeOffsetMinutes
Double startTimeOffsetMinutes()Gets the startTimeOffsetMinutes property: Gets the start time's offset in minutes.- Returns:
- the startTimeOffsetMinutes value.
-
expiryTime
OffsetDateTime expiryTime()Gets the expiryTime property: Gets or sets the end time of the schedule.- Returns:
- the expiryTime value.
-
expiryTimeOffsetMinutes
Double expiryTimeOffsetMinutes()Gets the expiryTimeOffsetMinutes property: Gets or sets the expiry time's offset in minutes.- Returns:
- the expiryTimeOffsetMinutes value.
-
isEnabled
Boolean isEnabled()Gets the isEnabled property: Gets or sets a value indicating whether this schedule is enabled.- Returns:
- the isEnabled value.
-
nextRun
OffsetDateTime nextRun()Gets the nextRun property: Gets or sets the next run time of the schedule.- Returns:
- the nextRun value.
-
nextRunOffsetMinutes
Double nextRunOffsetMinutes()Gets the nextRunOffsetMinutes property: Gets or sets the next run time's offset in minutes.- Returns:
- the nextRunOffsetMinutes value.
-
interval
Object interval()Gets the interval property: Gets or sets the interval of the schedule.- Returns:
- the interval value.
-
frequency
ScheduleFrequency frequency()Gets the frequency property: Gets or sets the frequency of the schedule.- Returns:
- the frequency value.
-
timeZone
String timeZone()Gets the timeZone property: Gets or sets the time zone of the schedule.- Returns:
- the timeZone value.
-
advancedSchedule
AdvancedSchedule advancedSchedule()Gets the advancedSchedule property: Gets or sets the advanced schedule.- Returns:
- the advancedSchedule value.
-
creationTime
OffsetDateTime creationTime()Gets the creationTime property: Gets or sets the creation time.- Returns:
- the creationTime value.
-
lastModifiedTime
OffsetDateTime lastModifiedTime()Gets the lastModifiedTime property: Gets or sets the last modified time.- Returns:
- the lastModifiedTime value.
-
description
String description()Gets the description property: Gets or sets the description.- Returns:
- the description value.
-
resourceGroupName
String resourceGroupName()Gets the name of the resource group.- Returns:
- the name of the resource group.
-
innerModel
ScheduleInner innerModel()Gets the inner com.azure.resourcemanager.automation.fluent.models.ScheduleInner object.- Returns:
- the inner object.
-
update
Schedule.Update update()Begins update for the Schedule resource.- Returns:
- the stage of resource update.
-
refresh
Schedule refresh()Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-