다음을 통해 공유


CloudServiceInstanceViewInner Class

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

Implements

public final class CloudServiceInstanceViewInner
implements JsonSerializable<CloudServiceInstanceViewInner>

InstanceView of CloudService as a whole.

Constructor Summary

Constructor Description
CloudServiceInstanceViewInner()

Creates an instance of CloudServiceInstanceViewInner class.

Method Summary

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

Reads an instance of CloudServiceInstanceViewInner from the JsonReader.

List<String> privateIds()

Get the privateIds property: Specifies a list of unique identifiers generated internally for the cloud service.

InstanceViewStatusesSummary roleInstance()

Get the roleInstance property: Instance view statuses.

String sdkVersion()

Get the sdkVersion property: The version of the SDK that was used to generate the package for the cloud service.

List<ResourceInstanceViewStatus> statuses()

Get the statuses property: The statuses property.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

CloudServiceInstanceViewInner withRoleInstance(InstanceViewStatusesSummary roleInstance)

Set the roleInstance property: Instance view statuses.

Methods inherited from java.lang.Object

Constructor Details

CloudServiceInstanceViewInner

public CloudServiceInstanceViewInner()

Creates an instance of CloudServiceInstanceViewInner class.

Method Details

fromJson

public static CloudServiceInstanceViewInner fromJson(JsonReader jsonReader)

Reads an instance of CloudServiceInstanceViewInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

privateIds

public List privateIds()

Get the privateIds property: Specifies a list of unique identifiers generated internally for the cloud service.

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

Returns:

the privateIds value.

roleInstance

public InstanceViewStatusesSummary roleInstance()

Get the roleInstance property: Instance view statuses.

Returns:

the roleInstance value.

sdkVersion

public String sdkVersion()

Get the sdkVersion property: The version of the SDK that was used to generate the package for the cloud service.

Returns:

the sdkVersion 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.

withRoleInstance

public CloudServiceInstanceViewInner withRoleInstance(InstanceViewStatusesSummary roleInstance)

Set the roleInstance property: Instance view statuses.

Parameters:

roleInstance - the roleInstance value to set.

Returns:

the CloudServiceInstanceViewInner object itself.

Applies to