TopologySingleResource Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. TopologySingleResource
- com.
Implements
public final class TopologySingleResource
implements JsonSerializable<TopologySingleResource>
The TopologySingleResource model.
Constructor Summary
| Constructor | Description |
|---|---|
| TopologySingleResource() |
Creates an instance of Topology |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Topology |
children()
Get the children property: Azure resources connected to this resource which are in lower level in the topology view. |
|
static
Topology |
fromJson(JsonReader jsonReader)
Reads an instance of Topology |
| String |
location()
Get the location property: The location of this resource. |
| String |
networkZones()
Get the network |
|
List<Topology |
parents()
Get the parents property: Azure resources connected to this resource which are in higher level in the topology view. |
| Boolean |
recommendationsExist()
Get the recommendations |
| String |
resourceId()
Get the resource |
| String |
severity()
Get the severity property: The security severity of the resource. |
|
Json |
toJson(JsonWriter jsonWriter) |
| Integer |
topologyScore()
Get the topology |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
TopologySingleResource
public TopologySingleResource()
Creates an instance of TopologySingleResource class.
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:
fromJson
public static TopologySingleResource fromJson(JsonReader jsonReader)
Reads an instance of TopologySingleResource from the JsonReader.
Parameters:
Returns:
Throws:
location
public String location()
Get the location property: The location of this resource.
Returns:
networkZones
public String networkZones()
Get the networkZones property: Indicates the resource connectivity level to the Internet (InternetFacing, Internal ,etc.).
Returns:
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:
recommendationsExist
public Boolean recommendationsExist()
Get the recommendationsExist property: Indicates if the resource has security recommendations.
Returns:
resourceId
public String resourceId()
Get the resourceId property: Azure resource id.
Returns:
severity
public String severity()
Get the severity property: The security severity of the resource.
Returns:
toJson
topologyScore
public Integer topologyScore()
Get the topologyScore property: Score of the resource based on its security severity.
Returns:
validate
public void validate()
Validates the instance.