ResourceBasics Class

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

Implements

public final class ResourceBasics
implements JsonSerializable<ResourceBasics>

Representation of basic resource information.

Method Summary

Modifier and Type Method and Description
List<String> addressPrefixes()

Get the addressPrefixes property: List of IP address prefixes of the resource.

static ResourceBasics fromJson(JsonReader jsonReader)

Reads an instance of ResourceBasics from the JsonReader.

String resourceId()

Get the resourceId property: ResourceId of the Azure resource.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

addressPrefixes

public List<String> addressPrefixes()

Get the addressPrefixes property: List of IP address prefixes of the resource.

Returns:

the addressPrefixes value.

fromJson

public static ResourceBasics fromJson(JsonReader jsonReader)

Reads an instance of ResourceBasics from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

resourceId

public String resourceId()

Get the resourceId property: ResourceId of the Azure resource.

Returns:

the resourceId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to