Class RoleInstanceViewInner
java.lang.Object
com.azure.resourcemanager.compute.fluent.models.RoleInstanceViewInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<RoleInstanceViewInner>
public final class RoleInstanceViewInner
extends Object
implements com.azure.json.JsonSerializable<RoleInstanceViewInner>
The instance view of the role instance.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RoleInstanceViewInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of RoleInstanceViewInner from the JsonReader.Get the platformFaultDomain property: The Fault Domain.Get the platformUpdateDomain property: The Update Domain.Get the privateId property: Specifies a unique identifier generated internally for the cloud service associated with this role instance.statuses()Get the statuses property: The statuses property.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
RoleInstanceViewInner
public RoleInstanceViewInner()Creates an instance of RoleInstanceViewInner class.
-
-
Method Details
-
platformUpdateDomain
Get the platformUpdateDomain property: The Update Domain.- Returns:
- the platformUpdateDomain value.
-
platformFaultDomain
Get the platformFaultDomain property: The Fault Domain.- Returns:
- the platformFaultDomain value.
-
privateId
Get the privateId property: Specifies a unique identifier generated internally for the cloud service associated with this role instance. <br /><br /> NOTE: If you are using Azure Diagnostics extension, this property can be used as 'DeploymentId' for querying details.- Returns:
- the privateId value.
-
statuses
Get the statuses property: The statuses property.- Returns:
- the statuses value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<RoleInstanceViewInner>- Throws:
IOException
-
fromJson
public static RoleInstanceViewInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of RoleInstanceViewInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of RoleInstanceViewInner 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 RoleInstanceViewInner.
-