Partager via


RoleInstanceViewInner Class

  • java.lang.Object
    • com.azure.resourcemanager.compute.fluent.models.RoleInstanceViewInner

Implements

public final class RoleInstanceViewInner
implements JsonSerializable<RoleInstanceViewInner>

The instance view of the role instance.

Constructor Summary

Constructor Description
RoleInstanceViewInner()

Creates an instance of RoleInstanceViewInner class.

Method Summary

Modifier and Type Method and Description
static RoleInstanceViewInner fromJson(JsonReader jsonReader)

Reads an instance of RoleInstanceViewInner from the JsonReader.

Integer platformFaultDomain()

Get the platformFaultDomain property: The Fault Domain.

Integer platformUpdateDomain()

Get the platformUpdateDomain property: The Update Domain.

String privateId()

Get the privateId property: Specifies a unique identifier generated internally for the cloud service associated with this role instance.

List<ResourceInstanceViewStatus> statuses()

Get the statuses property: The statuses property.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

RoleInstanceViewInner

public RoleInstanceViewInner()

Creates an instance of RoleInstanceViewInner class.

Method Details

fromJson

public static RoleInstanceViewInner fromJson(JsonReader jsonReader)

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.

platformFaultDomain

public Integer platformFaultDomain()

Get the platformFaultDomain property: The Fault Domain.

Returns:

the platformFaultDomain value.

platformUpdateDomain

public Integer platformUpdateDomain()

Get the platformUpdateDomain property: The Update Domain.

Returns:

the platformUpdateDomain value.

privateId

public String privateId()

Get the privateId property: Specifies a unique identifier generated internally for the cloud service associated with this role instance.

NOTE: If you are using Azure Diagnostics extension, this property can be used as 'DeploymentId' for querying details.

Returns:

the privateId value.

statuses

public List statuses()

Get the statuses property: The statuses property.

Returns:

the statuses value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to