다음을 통해 공유


CloudServiceRoleProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.compute.models.CloudServiceRoleProperties

Implements

public final class CloudServiceRoleProperties
implements JsonSerializable<CloudServiceRoleProperties>

The cloud service role properties.

Constructor Summary

Constructor Description
CloudServiceRoleProperties()

Creates an instance of CloudServiceRoleProperties class.

Method Summary

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

Reads an instance of CloudServiceRoleProperties from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
String uniqueId()

Get the uniqueId property: Specifies the ID which uniquely identifies a cloud service role.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

CloudServiceRoleProperties

public CloudServiceRoleProperties()

Creates an instance of CloudServiceRoleProperties class.

Method Details

fromJson

public static CloudServiceRoleProperties fromJson(JsonReader jsonReader)

Reads an instance of CloudServiceRoleProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

uniqueId

public String uniqueId()

Get the uniqueId property: Specifies the ID which uniquely identifies a cloud service role.

Returns:

the uniqueId value.

validate

public void validate()

Validates the instance.

Applies to