TopologyResource Class

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

Implements

public final class TopologyResource
implements JsonSerializable<TopologyResource>

The network resource topology information for the given resource group.

Method Summary

Modifier and Type Method and Description
List<TopologyAssociation> associations()

Get the associations property: Holds the associations the resource has with other resources in the resource group.

static TopologyResource fromJson(JsonReader jsonReader)

Reads an instance of TopologyResource from the JsonReader.

String id()

Get the id property: ID of the resource.

String location()

Get the location property: Resource location.

String name()

Get the name property: Name of the resource.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

associations

public List<TopologyAssociation> associations()

Get the associations property: Holds the associations the resource has with other resources in the resource group.

Returns:

the associations value.

fromJson

public static TopologyResource fromJson(JsonReader jsonReader)

Reads an instance of TopologyResource from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: ID of the resource.

Returns:

the id value.

location

public String location()

Get the location property: Resource location.

Returns:

the location value.

name

public String name()

Get the name property: Name of the resource.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to