Class DscNodeReportInner
java.lang.Object
com.azure.resourcemanager.automation.fluent.models.DscNodeReportInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<DscNodeReportInner>
public final class DscNodeReportInner
extends Object
implements com.azure.json.JsonSerializable<DscNodeReportInner>
Definition of the dsc node report type.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the configurationVersion property: Gets or sets the configurationVersion of the node report.endTime()
Get the endTime property: Gets or sets the end time of the node report.errors()
Get the errors property: Gets or sets the errors for the node report.static DscNodeReportInner
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of DscNodeReportInner from the JsonReader.hostname()
Get the hostname property: Gets or sets the hostname of the node that sent the report.id()
Get the id property: Gets or sets the id.Get the iPV4Addresses property: Gets or sets the IPv4 address of the node that sent the report.Get the iPV6Addresses property: Gets or sets the IPv6 address of the node that sent the report.Get the lastModifiedTime property: Gets or sets the lastModifiedTime of the node report.Get the metaConfiguration property: Gets or sets the metaConfiguration of the node at the time of the report.Get the numberOfResources property: Gets or sets the number of resource in the node report.Get the rawErrors property: Gets or sets the unparsed errors for the node report.Get the rebootRequested property: Gets or sets the rebootRequested of the node report.Get the refreshMode property: Gets or sets the refreshMode of the node report.Get the reportFormatVersion property: Gets or sets the reportFormatVersion of the node report.reportId()
Get the reportId property: Gets or sets the id of the node report.Get the resources property: Gets or sets the resource for the node report.Get the startTime property: Gets or sets the start time of the node report.status()
Get the status property: Gets or sets the status of the node report.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) type()
Get the type property: Gets or sets the type of the node report.void
validate()
Validates the instance.withConfigurationVersion
(String configurationVersion) Set the configurationVersion property: Gets or sets the configurationVersion of the node report.withEndTime
(OffsetDateTime endTime) Set the endTime property: Gets or sets the end time of the node report.withErrors
(List<DscReportError> errors) Set the errors property: Gets or sets the errors for the node report.withHostname
(String hostname) Set the hostname property: Gets or sets the hostname of the node that sent the report.Set the id property: Gets or sets the id.withIPV4Addresses
(List<String> iPV4Addresses) Set the iPV4Addresses property: Gets or sets the IPv4 address of the node that sent the report.withIPV6Addresses
(List<String> iPV6Addresses) Set the iPV6Addresses property: Gets or sets the IPv6 address of the node that sent the report.withLastModifiedTime
(OffsetDateTime lastModifiedTime) Set the lastModifiedTime property: Gets or sets the lastModifiedTime of the node report.withMetaConfiguration
(DscMetaConfiguration metaConfiguration) Set the metaConfiguration property: Gets or sets the metaConfiguration of the node at the time of the report.withNumberOfResources
(Integer numberOfResources) Set the numberOfResources property: Gets or sets the number of resource in the node report.withRawErrors
(String rawErrors) Set the rawErrors property: Gets or sets the unparsed errors for the node report.withRebootRequested
(String rebootRequested) Set the rebootRequested property: Gets or sets the rebootRequested of the node report.withRefreshMode
(String refreshMode) Set the refreshMode property: Gets or sets the refreshMode of the node report.withReportFormatVersion
(String reportFormatVersion) Set the reportFormatVersion property: Gets or sets the reportFormatVersion of the node report.withReportId
(String reportId) Set the reportId property: Gets or sets the id of the node report.withResources
(List<DscReportResource> resources) Set the resources property: Gets or sets the resource for the node report.withStartTime
(OffsetDateTime startTime) Set the startTime property: Gets or sets the start time of the node report.withStatus
(String status) Set the status property: Gets or sets the status of the node report.Set the type property: Gets or sets the type of the node report.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
-
DscNodeReportInner
public DscNodeReportInner()Creates an instance of DscNodeReportInner class.
-
-
Method Details
-
endTime
Get the endTime property: Gets or sets the end time of the node report.- Returns:
- the endTime value.
-
withEndTime
Set the endTime property: Gets or sets the end time of the node report.- Parameters:
endTime
- the endTime value to set.- Returns:
- the DscNodeReportInner object itself.
-
lastModifiedTime
Get the lastModifiedTime property: Gets or sets the lastModifiedTime of the node report.- Returns:
- the lastModifiedTime value.
-
withLastModifiedTime
Set the lastModifiedTime property: Gets or sets the lastModifiedTime of the node report.- Parameters:
lastModifiedTime
- the lastModifiedTime value to set.- Returns:
- the DscNodeReportInner object itself.
-
startTime
Get the startTime property: Gets or sets the start time of the node report.- Returns:
- the startTime value.
-
withStartTime
Set the startTime property: Gets or sets the start time of the node report.- Parameters:
startTime
- the startTime value to set.- Returns:
- the DscNodeReportInner object itself.
-
type
Get the type property: Gets or sets the type of the node report.- Returns:
- the type value.
-
withType
Set the type property: Gets or sets the type of the node report.- Parameters:
type
- the type value to set.- Returns:
- the DscNodeReportInner object itself.
-
reportId
Get the reportId property: Gets or sets the id of the node report.- Returns:
- the reportId value.
-
withReportId
Set the reportId property: Gets or sets the id of the node report.- Parameters:
reportId
- the reportId value to set.- Returns:
- the DscNodeReportInner object itself.
-
status
Get the status property: Gets or sets the status of the node report.- Returns:
- the status value.
-
withStatus
Set the status property: Gets or sets the status of the node report.- Parameters:
status
- the status value to set.- Returns:
- the DscNodeReportInner object itself.
-
refreshMode
Get the refreshMode property: Gets or sets the refreshMode of the node report.- Returns:
- the refreshMode value.
-
withRefreshMode
Set the refreshMode property: Gets or sets the refreshMode of the node report.- Parameters:
refreshMode
- the refreshMode value to set.- Returns:
- the DscNodeReportInner object itself.
-
rebootRequested
Get the rebootRequested property: Gets or sets the rebootRequested of the node report.- Returns:
- the rebootRequested value.
-
withRebootRequested
Set the rebootRequested property: Gets or sets the rebootRequested of the node report.- Parameters:
rebootRequested
- the rebootRequested value to set.- Returns:
- the DscNodeReportInner object itself.
-
reportFormatVersion
Get the reportFormatVersion property: Gets or sets the reportFormatVersion of the node report.- Returns:
- the reportFormatVersion value.
-
withReportFormatVersion
Set the reportFormatVersion property: Gets or sets the reportFormatVersion of the node report.- Parameters:
reportFormatVersion
- the reportFormatVersion value to set.- Returns:
- the DscNodeReportInner object itself.
-
configurationVersion
Get the configurationVersion property: Gets or sets the configurationVersion of the node report.- Returns:
- the configurationVersion value.
-
withConfigurationVersion
Set the configurationVersion property: Gets or sets the configurationVersion of the node report.- Parameters:
configurationVersion
- the configurationVersion value to set.- Returns:
- the DscNodeReportInner object itself.
-
id
Get the id property: Gets or sets the id.- Returns:
- the id value.
-
withId
Set the id property: Gets or sets the id.- Parameters:
id
- the id value to set.- Returns:
- the DscNodeReportInner object itself.
-
errors
Get the errors property: Gets or sets the errors for the node report.- Returns:
- the errors value.
-
withErrors
Set the errors property: Gets or sets the errors for the node report.- Parameters:
errors
- the errors value to set.- Returns:
- the DscNodeReportInner object itself.
-
resources
Get the resources property: Gets or sets the resource for the node report.- Returns:
- the resources value.
-
withResources
Set the resources property: Gets or sets the resource for the node report.- Parameters:
resources
- the resources value to set.- Returns:
- the DscNodeReportInner object itself.
-
metaConfiguration
Get the metaConfiguration property: Gets or sets the metaConfiguration of the node at the time of the report.- Returns:
- the metaConfiguration value.
-
withMetaConfiguration
Set the metaConfiguration property: Gets or sets the metaConfiguration of the node at the time of the report.- Parameters:
metaConfiguration
- the metaConfiguration value to set.- Returns:
- the DscNodeReportInner object itself.
-
hostname
Get the hostname property: Gets or sets the hostname of the node that sent the report.- Returns:
- the hostname value.
-
withHostname
Set the hostname property: Gets or sets the hostname of the node that sent the report.- Parameters:
hostname
- the hostname value to set.- Returns:
- the DscNodeReportInner object itself.
-
iPV4Addresses
Get the iPV4Addresses property: Gets or sets the IPv4 address of the node that sent the report.- Returns:
- the iPV4Addresses value.
-
withIPV4Addresses
Set the iPV4Addresses property: Gets or sets the IPv4 address of the node that sent the report.- Parameters:
iPV4Addresses
- the iPV4Addresses value to set.- Returns:
- the DscNodeReportInner object itself.
-
iPV6Addresses
Get the iPV6Addresses property: Gets or sets the IPv6 address of the node that sent the report.- Returns:
- the iPV6Addresses value.
-
withIPV6Addresses
Set the iPV6Addresses property: Gets or sets the IPv6 address of the node that sent the report.- Parameters:
iPV6Addresses
- the iPV6Addresses value to set.- Returns:
- the DscNodeReportInner object itself.
-
numberOfResources
Get the numberOfResources property: Gets or sets the number of resource in the node report.- Returns:
- the numberOfResources value.
-
withNumberOfResources
Set the numberOfResources property: Gets or sets the number of resource in the node report.- Parameters:
numberOfResources
- the numberOfResources value to set.- Returns:
- the DscNodeReportInner object itself.
-
rawErrors
Get the rawErrors property: Gets or sets the unparsed errors for the node report.- Returns:
- the rawErrors value.
-
withRawErrors
Set the rawErrors property: Gets or sets the unparsed errors for the node report.- Parameters:
rawErrors
- the rawErrors value to set.- Returns:
- the DscNodeReportInner 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<DscNodeReportInner>
- Throws:
IOException
-
fromJson
Reads an instance of DscNodeReportInner from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of DscNodeReportInner 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 DscNodeReportInner.
-