Interface JobSchedule
public interface JobSchedule
An immutable client-side representation of JobSchedule.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The entirety of the JobSchedule definition.static interface
The JobSchedule definition stages. -
Method Summary
Modifier and TypeMethodDescriptionid()
Gets the id property: Gets the id of the resource.Gets the inner com.azure.resourcemanager.automation.fluent.models.JobScheduleInner object.Gets the jobScheduleId property: Gets or sets the id of job schedule.name()
Gets the name property: Gets the name of the variable.Gets the parameters property: Gets or sets the parameters of the job schedule.refresh()
Refreshes the resource to sync with Azure.refresh
(com.azure.core.util.Context context) Refreshes the resource to sync with Azure.runbook()
Gets the runbook property: Gets or sets the runbook.runOn()
Gets the runOn property: Gets or sets the hybrid worker group that the scheduled job should run on.schedule()
Gets the schedule property: Gets or sets the schedule.type()
Gets the type property: Resource type.
-
Method Details
-
id
String id()Gets the id property: Gets the id of the resource.- Returns:
- the id value.
-
name
String name()Gets the name property: Gets the name of the variable.- Returns:
- the name value.
-
type
String type()Gets the type property: Resource type.- Returns:
- the type value.
-
jobScheduleId
String jobScheduleId()Gets the jobScheduleId property: Gets or sets the id of job schedule.- Returns:
- the jobScheduleId value.
-
schedule
ScheduleAssociationProperty schedule()Gets the schedule property: Gets or sets the schedule.- Returns:
- the schedule value.
-
runbook
RunbookAssociationProperty runbook()Gets the runbook property: Gets or sets the runbook.- Returns:
- the runbook value.
-
runOn
String runOn()Gets the runOn property: Gets or sets the hybrid worker group that the scheduled job should run on.- Returns:
- the runOn value.
-
parameters
Gets the parameters property: Gets or sets the parameters of the job schedule.- Returns:
- the parameters value.
-
innerModel
JobScheduleInner innerModel()Gets the inner com.azure.resourcemanager.automation.fluent.models.JobScheduleInner object.- Returns:
- the inner object.
-
refresh
JobSchedule 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.
-