Share via


SoftwareUpdateConfigurationRunInner Class

  • java.lang.Object
    • com.azure.resourcemanager.automation.fluent.models.SoftwareUpdateConfigurationRunInner

Implements

public final class SoftwareUpdateConfigurationRunInner
implements JsonSerializable<SoftwareUpdateConfigurationRunInner>

Software update configuration Run properties.

Constructor Summary

Constructor Description
SoftwareUpdateConfigurationRunInner()

Creates an instance of SoftwareUpdateConfigurationRunInner class.

Method Summary

Modifier and Type Method and Description
Integer computerCount()

Get the computerCount property: Number of computers in the software update configuration run.

String configuredDuration()

Get the configuredDuration property: Configured duration for the software update configuration run.

String createdBy()

Get the createdBy property: CreatedBy property, which only appears in the response.

OffsetDateTime creationTime()

Get the creationTime property: Creation time of the resource, which only appears in the response.

OffsetDateTime endTime()

Get the endTime property: End time of the software update configuration run.

Integer failedCount()

Get the failedCount property: Number of computers with failed status.

static SoftwareUpdateConfigurationRunInner fromJson(JsonReader jsonReader)

Reads an instance of SoftwareUpdateConfigurationRunInner from the JsonReader.

String id()

Get the id property: Resource Id of the software update configuration run.

String lastModifiedBy()

Get the lastModifiedBy property: LastModifiedBy property, which only appears in the response.

OffsetDateTime lastModifiedTime()

Get the lastModifiedTime property: Last time resource was modified, which only appears in the response.

String name()

Get the name property: Name of the software update configuration run.

String osType()

Get the osType property: Operating system target of the software update configuration triggered this run.

UpdateConfigurationNavigation softwareUpdateConfiguration()

Get the softwareUpdateConfiguration property: software update configuration triggered this run.

OffsetDateTime startTime()

Get the startTime property: Start time of the software update configuration run.

String status()

Get the status property: Status of the software update configuration run.

SoftwareUpdateConfigurationRunTasks tasks()

Get the tasks property: Software update configuration tasks triggered in this run.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

SoftwareUpdateConfigurationRunInner withSoftwareUpdateConfiguration(UpdateConfigurationNavigation softwareUpdateConfiguration)

Set the softwareUpdateConfiguration property: software update configuration triggered this run.

SoftwareUpdateConfigurationRunInner withTasks(SoftwareUpdateConfigurationRunTasks tasks)

Set the tasks property: Software update configuration tasks triggered in this run.

Methods inherited from java.lang.Object

Constructor Details

SoftwareUpdateConfigurationRunInner

public SoftwareUpdateConfigurationRunInner()

Creates an instance of SoftwareUpdateConfigurationRunInner class.

Method Details

computerCount

public Integer computerCount()

Get the computerCount property: Number of computers in the software update configuration run.

Returns:

the computerCount value.

configuredDuration

public String configuredDuration()

Get the configuredDuration property: Configured duration for the software update configuration run.

Returns:

the configuredDuration value.

createdBy

public String createdBy()

Get the createdBy property: CreatedBy property, which only appears in the response.

Returns:

the createdBy value.

creationTime

public OffsetDateTime creationTime()

Get the creationTime property: Creation time of the resource, which only appears in the response.

Returns:

the creationTime value.

endTime

public OffsetDateTime endTime()

Get the endTime property: End time of the software update configuration run.

Returns:

the endTime value.

failedCount

public Integer failedCount()

Get the failedCount property: Number of computers with failed status.

Returns:

the failedCount value.

fromJson

public static SoftwareUpdateConfigurationRunInner fromJson(JsonReader jsonReader)

Reads an instance of SoftwareUpdateConfigurationRunInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SoftwareUpdateConfigurationRunInner 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 SoftwareUpdateConfigurationRunInner.

id

public String id()

Get the id property: Resource Id of the software update configuration run.

Returns:

the id value.

lastModifiedBy

public String lastModifiedBy()

Get the lastModifiedBy property: LastModifiedBy property, which only appears in the response.

Returns:

the lastModifiedBy value.

lastModifiedTime

public OffsetDateTime lastModifiedTime()

Get the lastModifiedTime property: Last time resource was modified, which only appears in the response.

Returns:

the lastModifiedTime value.

name

public String name()

Get the name property: Name of the software update configuration run.

Returns:

the name value.

osType

public String osType()

Get the osType property: Operating system target of the software update configuration triggered this run.

Returns:

the osType value.

softwareUpdateConfiguration

public UpdateConfigurationNavigation softwareUpdateConfiguration()

Get the softwareUpdateConfiguration property: software update configuration triggered this run.

Returns:

the softwareUpdateConfiguration value.

startTime

public OffsetDateTime startTime()

Get the startTime property: Start time of the software update configuration run.

Returns:

the startTime value.

status

public String status()

Get the status property: Status of the software update configuration run.

Returns:

the status value.

tasks

public SoftwareUpdateConfigurationRunTasks tasks()

Get the tasks property: Software update configuration tasks triggered in this run.

Returns:

the tasks value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withSoftwareUpdateConfiguration

public SoftwareUpdateConfigurationRunInner withSoftwareUpdateConfiguration(UpdateConfigurationNavigation softwareUpdateConfiguration)

Set the softwareUpdateConfiguration property: software update configuration triggered this run.

Parameters:

softwareUpdateConfiguration - the softwareUpdateConfiguration value to set.

Returns:

the SoftwareUpdateConfigurationRunInner object itself.

withTasks

public SoftwareUpdateConfigurationRunInner withTasks(SoftwareUpdateConfigurationRunTasks tasks)

Set the tasks property: Software update configuration tasks triggered in this run.

Parameters:

tasks - the tasks value to set.

Returns:

the SoftwareUpdateConfigurationRunInner object itself.

Applies to