TopologySingleResource Class

  • java.lang.Object
    • com.azure.resourcemanager.security.models.TopologySingleResource

Implements

public final class TopologySingleResource
implements JsonSerializable<TopologySingleResource>

The TopologySingleResource model.

Method Summary

Modifier and Type Method and Description
List<TopologySingleResourceChild> children()

Get the children property: Azure resources connected to this resource which are in lower level in the topology view.

static TopologySingleResource fromJson(JsonReader jsonReader)

Reads an instance of TopologySingleResource from the JsonReader.

String location()

Get the location property: The location of this resource.

String networkZones()

Get the networkZones property: Indicates the resource connectivity level to the Internet (InternetFacing, Internal ,etc.).

List<TopologySingleResourceParent> parents()

Get the parents property: Azure resources connected to this resource which are in higher level in the topology view.

Boolean recommendationsExist()

Get the recommendationsExist property: Indicates if the resource has security recommendations.

String resourceId()

Get the resourceId property: Azure resource id.

String severity()

Get the severity property: The security severity of the resource.

JsonWriter toJson(JsonWriter jsonWriter)
Integer topologyScore()

Get the topologyScore property: Score of the resource based on its security severity.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

children

public List<TopologySingleResourceChild> children()

Get the children property: Azure resources connected to this resource which are in lower level in the topology view.

Returns:

the children value.

fromJson

public static TopologySingleResource fromJson(JsonReader jsonReader)

Reads an instance of TopologySingleResource from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

location

public String location()

Get the location property: The location of this resource.

Returns:

the location value.

networkZones

public String networkZones()

Get the networkZones property: Indicates the resource connectivity level to the Internet (InternetFacing, Internal ,etc.).

Returns:

the networkZones value.

parents

public List<TopologySingleResourceParent> parents()

Get the parents property: Azure resources connected to this resource which are in higher level in the topology view.

Returns:

the parents value.

recommendationsExist

public Boolean recommendationsExist()

Get the recommendationsExist property: Indicates if the resource has security recommendations.

Returns:

the recommendationsExist value.

resourceId

public String resourceId()

Get the resourceId property: Azure resource id.

Returns:

the resourceId value.

severity

public String severity()

Get the severity property: The security severity of the resource.

Returns:

the severity value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

topologyScore

public Integer topologyScore()

Get the topologyScore property: Score of the resource based on its security severity.

Returns:

the topologyScore value.

validate

public void validate()

Validates the instance.

Applies to