TopologyResource Class
- java.
lang. Object - com.
microsoft. azure. management. network. TopologyResource
- com.
public class TopologyResource
The network resource topology information for the given resource group.
Constructor Summary
Constructor | Description | |
---|---|---|
TopologyResource() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.util.List<Topology |
associations()
Get holds the associations the resource has with other resources in the resource group. |
java.lang.String |
id()
Get iD of the resource. |
java.lang.String |
location()
Get resource location. |
java.lang.String |
name()
Get name of the resource. |
Topology |
withAssociations(List<TopologyAssociation> associations)
Set holds the associations the resource has with other resources in the resource group. |
Topology |
withId(String id)
Set iD of the resource. |
Topology |
withLocation(String location)
Set resource location. |
Topology |
withName(String name)
Set name of the resource. |
Methods inherited from java.lang.Object
Constructor Details
TopologyResource
public TopologyResource()
Method Details
associations
public List
Get holds the associations the resource has with other resources in the resource group.
Returns:
id
public String id()
Get iD of the resource.
Returns:
location
public String location()
Get resource location.
Returns:
name
public String name()
Get name of the resource.
Returns:
withAssociations
public TopologyResource withAssociations(List
Set holds the associations the resource has with other resources in the resource group.
Parameters:
Returns:
withId
public TopologyResource withId(String id)
Set iD of the resource.
Parameters:
Returns:
withLocation
public TopologyResource withLocation(String location)
Set resource location.
Parameters:
Returns:
withName
public TopologyResource withName(String name)
Set name of the resource.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for