你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

VirtualNetworkUsageName Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.VirtualNetworkUsageName

Implements

public final class VirtualNetworkUsageName
implements JsonSerializable<VirtualNetworkUsageName>

Usage strings container.

Constructor Summary

Constructor Description
VirtualNetworkUsageName()

Creates an instance of VirtualNetworkUsageName class.

Method Summary

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

Reads an instance of VirtualNetworkUsageName from the JsonReader.

String localizedValue()

Get the localizedValue property: Localized subnet size and usage string.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String value()

Get the value property: Subnet size and usage string.

Methods inherited from java.lang.Object

Constructor Details

VirtualNetworkUsageName

public VirtualNetworkUsageName()

Creates an instance of VirtualNetworkUsageName class.

Method Details

fromJson

public static VirtualNetworkUsageName fromJson(JsonReader jsonReader)

Reads an instance of VirtualNetworkUsageName from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

localizedValue

public String localizedValue()

Get the localizedValue property: Localized subnet size and usage string.

Returns:

the localizedValue value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public String value()

Get the value property: Subnet size and usage string.

Returns:

the value value.

Applies to