Class ClusterReportedProperties
- java.lang.Object
-
- com.azure.resourcemanager.azurestackhci.models.ClusterReportedProperties
-
public final class ClusterReportedProperties extends Object
Properties reported by cluster agent.
-
-
Constructor Summary
Constructors Constructor Description ClusterReportedProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
clusterId()
Get the clusterId property: Unique id generated by the on-prem cluster.String
clusterName()
Get the clusterName property: Name of the on-prem cluster connected to this resource.String
clusterVersion()
Get the clusterVersion property: Version of the cluster software.DiagnosticLevel
diagnosticLevel()
Get the diagnosticLevel property: Level of diagnostic data emitted by the cluster.ImdsAttestation
imdsAttestation()
Get the imdsAttestation property: IMDS attestation status of the cluster.OffsetDateTime
lastUpdated()
Get the lastUpdated property: Last time the cluster reported the data.List<ClusterNode>
nodes()
Get the nodes property: List of nodes reported by the cluster.void
validate()
Validates the instance.ClusterReportedProperties
withDiagnosticLevel(DiagnosticLevel diagnosticLevel)
Set the diagnosticLevel property: Level of diagnostic data emitted by the cluster.
-
-
-
Method Detail
-
clusterName
public String clusterName()
Get the clusterName property: Name of the on-prem cluster connected to this resource.- Returns:
- the clusterName value.
-
clusterId
public String clusterId()
Get the clusterId property: Unique id generated by the on-prem cluster.- Returns:
- the clusterId value.
-
clusterVersion
public String clusterVersion()
Get the clusterVersion property: Version of the cluster software.- Returns:
- the clusterVersion value.
-
nodes
public List<ClusterNode> nodes()
Get the nodes property: List of nodes reported by the cluster.- Returns:
- the nodes value.
-
lastUpdated
public OffsetDateTime lastUpdated()
Get the lastUpdated property: Last time the cluster reported the data.- Returns:
- the lastUpdated value.
-
imdsAttestation
public ImdsAttestation imdsAttestation()
Get the imdsAttestation property: IMDS attestation status of the cluster.- Returns:
- the imdsAttestation value.
-
diagnosticLevel
public DiagnosticLevel diagnosticLevel()
Get the diagnosticLevel property: Level of diagnostic data emitted by the cluster.- Returns:
- the diagnosticLevel value.
-
withDiagnosticLevel
public ClusterReportedProperties withDiagnosticLevel(DiagnosticLevel diagnosticLevel)
Set the diagnosticLevel property: Level of diagnostic data emitted by the cluster.- Parameters:
diagnosticLevel
- the diagnosticLevel value to set.- Returns:
- the ClusterReportedProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-