ScheduledEventsPolicy Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. ScheduledEventsPolicy
- com.
Implements
public final class ScheduledEventsPolicy
implements JsonSerializable<ScheduledEventsPolicy>
Specifies Redeploy, Reboot and ScheduledEventsAdditionalPublishingTargets Scheduled Event related configurations.
Constructor Summary
Constructor | Description |
---|---|
ScheduledEventsPolicy() |
Creates an instance of Scheduled |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Scheduled |
fromJson(JsonReader jsonReader)
Reads an instance of Scheduled |
Scheduled |
scheduledEventsAdditionalPublishingTargets()
Get the scheduled |
Json |
toJson(JsonWriter jsonWriter) |
User |
userInitiatedReboot()
Get the user |
User |
userInitiatedRedeploy()
Get the user |
void |
validate()
Validates the instance. |
Scheduled |
withScheduledEventsAdditionalPublishingTargets(ScheduledEventsAdditionalPublishingTargets scheduledEventsAdditionalPublishingTargets)
Set the scheduled |
Scheduled |
withUserInitiatedReboot(UserInitiatedReboot userInitiatedReboot)
Set the user |
Scheduled |
withUserInitiatedRedeploy(UserInitiatedRedeploy userInitiatedRedeploy)
Set the user |
Methods inherited from java.lang.Object
Constructor Details
ScheduledEventsPolicy
public ScheduledEventsPolicy()
Creates an instance of ScheduledEventsPolicy class.
Method Details
fromJson
public static ScheduledEventsPolicy fromJson(JsonReader jsonReader)
Reads an instance of ScheduledEventsPolicy from the JsonReader.
Parameters:
Returns:
Throws:
scheduledEventsAdditionalPublishingTargets
public ScheduledEventsAdditionalPublishingTargets scheduledEventsAdditionalPublishingTargets()
Get the scheduledEventsAdditionalPublishingTargets property: The configuration parameters used while publishing scheduledEventsAdditionalPublishingTargets.
Returns:
toJson
userInitiatedReboot
public UserInitiatedReboot userInitiatedReboot()
Get the userInitiatedReboot property: The configuration parameters used while creating userInitiatedReboot scheduled event setting creation.
Returns:
userInitiatedRedeploy
public UserInitiatedRedeploy userInitiatedRedeploy()
Get the userInitiatedRedeploy property: The configuration parameters used while creating userInitiatedRedeploy scheduled event setting creation.
Returns:
validate
public void validate()
Validates the instance.
withScheduledEventsAdditionalPublishingTargets
public ScheduledEventsPolicy withScheduledEventsAdditionalPublishingTargets(ScheduledEventsAdditionalPublishingTargets scheduledEventsAdditionalPublishingTargets)
Set the scheduledEventsAdditionalPublishingTargets property: The configuration parameters used while publishing scheduledEventsAdditionalPublishingTargets.
Parameters:
Returns:
withUserInitiatedReboot
public ScheduledEventsPolicy withUserInitiatedReboot(UserInitiatedReboot userInitiatedReboot)
Set the userInitiatedReboot property: The configuration parameters used while creating userInitiatedReboot scheduled event setting creation.
Parameters:
Returns:
withUserInitiatedRedeploy
public ScheduledEventsPolicy withUserInitiatedRedeploy(UserInitiatedRedeploy userInitiatedRedeploy)
Set the userInitiatedRedeploy property: The configuration parameters used while creating userInitiatedRedeploy scheduled event setting creation.
Parameters:
Returns: