Class SoftwareUpdateConfigurationRunProperties
java.lang.Object
com.azure.resourcemanager.automation.fluent.models.SoftwareUpdateConfigurationRunProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<SoftwareUpdateConfigurationRunProperties>
public final class SoftwareUpdateConfigurationRunProperties
extends Object
implements com.azure.json.JsonSerializable<SoftwareUpdateConfigurationRunProperties>
Software update configuration properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of SoftwareUpdateConfigurationRunProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the computerCount property: Number of computers in the software update configuration run.Get the configuredDuration property: Configured duration for the software update configuration run.Get the createdBy property: CreatedBy property, which only appears in the response.Get the creationTime property: Creation time of the resource, which only appears in the response.endTime()
Get the endTime property: End time of the software update configuration run.Get the failedCount property: Number of computers with failed status.fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of SoftwareUpdateConfigurationRunProperties from the JsonReader.Get the lastModifiedBy property: LastModifiedBy property, which only appears in the response.Get the lastModifiedTime property: Last time resource was modified, which only appears in the response.osType()
Get the osType property: Operating system target of the software update configuration triggered this run.Get the softwareUpdateConfiguration property: software update configuration triggered this run.Get the startTime property: Start time of the software update configuration run.status()
Get the status property: Status of the software update configuration run.tasks()
Get the tasks property: Software update configuration tasks triggered in this run.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withSoftwareUpdateConfiguration
(UpdateConfigurationNavigation softwareUpdateConfiguration) Set the softwareUpdateConfiguration property: software update configuration triggered this run.Set the tasks property: Software update configuration tasks triggered in this run.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
SoftwareUpdateConfigurationRunProperties
public SoftwareUpdateConfigurationRunProperties()Creates an instance of SoftwareUpdateConfigurationRunProperties class.
-
-
Method Details
-
softwareUpdateConfiguration
Get the softwareUpdateConfiguration property: software update configuration triggered this run.- Returns:
- the softwareUpdateConfiguration value.
-
status
Get the status property: Status of the software update configuration run.- Returns:
- the status value.
-
configuredDuration
Get the configuredDuration property: Configured duration for the software update configuration run.- Returns:
- the configuredDuration value.
-
osType
Get the osType property: Operating system target of the software update configuration triggered this run.- Returns:
- the osType value.
-
startTime
Get the startTime property: Start time of the software update configuration run.- Returns:
- the startTime value.
-
endTime
Get the endTime property: End time of the software update configuration run.- Returns:
- the endTime value.
-
computerCount
Get the computerCount property: Number of computers in the software update configuration run.- Returns:
- the computerCount value.
-
failedCount
Get the failedCount property: Number of computers with failed status.- Returns:
- the failedCount value.
-
creationTime
Get the creationTime property: Creation time of the resource, which only appears in the response.- Returns:
- the creationTime value.
-
createdBy
Get the createdBy property: CreatedBy property, which only appears in the response.- Returns:
- the createdBy value.
-
lastModifiedTime
Get the lastModifiedTime property: Last time resource was modified, which only appears in the response.- Returns:
- the lastModifiedTime value.
-
lastModifiedBy
Get the lastModifiedBy property: LastModifiedBy property, which only appears in the response.- Returns:
- the lastModifiedBy value.
-
tasks
Get the tasks property: Software update configuration tasks triggered in this run.- Returns:
- the tasks value.
-
withTasks
public SoftwareUpdateConfigurationRunProperties withTasks(SoftwareUpdateConfigurationRunTasks tasks) Set the tasks property: Software update configuration tasks triggered in this run.- Parameters:
tasks
- the tasks value to set.- Returns:
- the SoftwareUpdateConfigurationRunProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<SoftwareUpdateConfigurationRunProperties>
- Throws:
IOException
-
fromJson
public static SoftwareUpdateConfigurationRunProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of SoftwareUpdateConfigurationRunProperties from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of SoftwareUpdateConfigurationRunProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException
- If an error occurs while reading the SoftwareUpdateConfigurationRunProperties.
-