Class SoftwareUpdateConfigurationMachineRunInner
java.lang.Object
com.azure.resourcemanager.automation.fluent.models.SoftwareUpdateConfigurationMachineRunInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<SoftwareUpdateConfigurationMachineRunInner>
public final class SoftwareUpdateConfigurationMachineRunInner
extends Object
implements com.azure.json.JsonSerializable<SoftwareUpdateConfigurationMachineRunInner>
Software update configuration machine run model.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of SoftwareUpdateConfigurationMachineRunInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the configuredDuration property: configured duration for the software update configuration run.Get the correlationId property: correlation id of the software update configuration machine 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 machine run.com.azure.core.management.exception.ManagementError
error()
Get the error property: Details of provisioning error.fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of SoftwareUpdateConfigurationMachineRunInner from the JsonReader.id()
Get the id property: Resource Id of the software update configuration machine run.job()
Get the job property: Job associated with the software update configuration machine run.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.name()
Get the name property: Name of the software update configuration machine run.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 sourceComputerId property: source computer id of the software update configuration machine run.Get the startTime property: Start time of the software update configuration machine run.status()
Get the status property: Status of the software update configuration machine run.Get the targetComputer property: name of the updated computer.Get the targetComputerType property: type of the updated computer.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withError
(com.azure.core.management.exception.ManagementError error) Set the error property: Details of provisioning error.withJob
(JobNavigation job) Set the job property: Job associated with the software update configuration machine run.withSoftwareUpdateConfiguration
(UpdateConfigurationNavigation softwareUpdateConfiguration) Set the softwareUpdateConfiguration property: software update configuration triggered 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
-
SoftwareUpdateConfigurationMachineRunInner
public SoftwareUpdateConfigurationMachineRunInner()Creates an instance of SoftwareUpdateConfigurationMachineRunInner class.
-
-
Method Details
-
name
Get the name property: Name of the software update configuration machine run.- Returns:
- the name value.
-
id
Get the id property: Resource Id of the software update configuration machine run.- Returns:
- the id value.
-
targetComputer
Get the targetComputer property: name of the updated computer.- Returns:
- the targetComputer value.
-
targetComputerType
Get the targetComputerType property: type of the updated computer.- Returns:
- the targetComputerType value.
-
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 machine run.- Returns:
- the status value.
-
osType
Get the osType property: Operating system target of the software update configuration triggered this run.- Returns:
- the osType value.
-
correlationId
Get the correlationId property: correlation id of the software update configuration machine run.- Returns:
- the correlationId value.
-
sourceComputerId
Get the sourceComputerId property: source computer id of the software update configuration machine run.- Returns:
- the sourceComputerId value.
-
startTime
Get the startTime property: Start time of the software update configuration machine run.- Returns:
- the startTime value.
-
endTime
Get the endTime property: End time of the software update configuration machine run.- Returns:
- the endTime value.
-
configuredDuration
Get the configuredDuration property: configured duration for the software update configuration run.- Returns:
- the configuredDuration value.
-
job
Get the job property: Job associated with the software update configuration machine run.- Returns:
- the job 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.
-
error
public com.azure.core.management.exception.ManagementError error()Get the error property: Details of provisioning error.- Returns:
- the error value.
-
withError
public SoftwareUpdateConfigurationMachineRunInner withError(com.azure.core.management.exception.ManagementError error) Set the error property: Details of provisioning error.- Parameters:
error
- the error value to set.- Returns:
- the SoftwareUpdateConfigurationMachineRunInner 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<SoftwareUpdateConfigurationMachineRunInner>
- Throws:
IOException
-
fromJson
public static SoftwareUpdateConfigurationMachineRunInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of SoftwareUpdateConfigurationMachineRunInner from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of SoftwareUpdateConfigurationMachineRunInner 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 SoftwareUpdateConfigurationMachineRunInner.
-