Interface Schedule
public interface Schedule
An immutable client-side representation of Schedule.
-
Nested Class Summary
Nested ClassesModifier 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 TypeMethodDescriptionid()
Gets the id property: Fully qualified resource Id for the resource.Gets the inner com.azure.resourcemanager.labservices.fluent.models.ScheduleInner object.name()
Gets the name property: The name of the resource.notes()
Gets the notes property: Notes for this schedule.Gets the provisioningState property: Current provisioning state of the schedule.Gets the recurrencePattern property: The recurrence pattern of the scheduled actions.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.startAt()
Gets the startAt property: When lab user virtual machines will be started.stopAt()
Gets the stopAt property: When lab user virtual machines will be stopped.com.azure.core.management.SystemData
Gets the systemData property: Metadata pertaining to creation and last modification of the schedule.Gets the timeZoneId property: The IANA timezone id for 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.
-
systemData
com.azure.core.management.SystemData systemData()Gets the systemData property: Metadata pertaining to creation and last modification of the schedule.- Returns:
- the systemData value.
-
provisioningState
ProvisioningState provisioningState()Gets the provisioningState property: Current provisioning state of the schedule.- Returns:
- the provisioningState value.
-
startAt
OffsetDateTime startAt()Gets the startAt property: When lab user virtual machines will be started. Timestamp offsets will be ignored and timeZoneId is used instead.- Returns:
- the startAt value.
-
stopAt
OffsetDateTime stopAt()Gets the stopAt property: When lab user virtual machines will be stopped. Timestamp offsets will be ignored and timeZoneId is used instead.- Returns:
- the stopAt value.
-
recurrencePattern
RecurrencePattern recurrencePattern()Gets the recurrencePattern property: The recurrence pattern of the scheduled actions.- Returns:
- the recurrencePattern value.
-
timeZoneId
String timeZoneId()Gets the timeZoneId property: The IANA timezone id for the schedule.- Returns:
- the timeZoneId value.
-
notes
String notes()Gets the notes property: Notes for this schedule.- Returns:
- the notes 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.labservices.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.
-