Class TopologyParameters
java.lang.Object
com.azure.resourcemanager.network.models.TopologyParameters
Parameters that define the representation of topology.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the targetResourceGroupName property: The name of the target resource group to perform topology on.com.azure.core.management.SubResourceGet the targetSubnet property: The reference to the Subnet resource.com.azure.core.management.SubResourceGet the targetVirtualNetwork property: The reference to the Virtual Network resource.voidvalidate()Validates the instance.withTargetResourceGroupName(String targetResourceGroupName) Set the targetResourceGroupName property: The name of the target resource group to perform topology on.withTargetSubnet(com.azure.core.management.SubResource targetSubnet) Set the targetSubnet property: The reference to the Subnet resource.withTargetVirtualNetwork(com.azure.core.management.SubResource targetVirtualNetwork) Set the targetVirtualNetwork property: The reference to the Virtual Network resource.
-
Constructor Details
-
TopologyParameters
public TopologyParameters()Creates an instance of TopologyParameters class.
-
-
Method Details
-
targetResourceGroupName
Get the targetResourceGroupName property: The name of the target resource group to perform topology on.- Returns:
- the targetResourceGroupName value.
-
withTargetResourceGroupName
Set the targetResourceGroupName property: The name of the target resource group to perform topology on.- Parameters:
targetResourceGroupName- the targetResourceGroupName value to set.- Returns:
- the TopologyParameters object itself.
-
targetVirtualNetwork
public com.azure.core.management.SubResource targetVirtualNetwork()Get the targetVirtualNetwork property: The reference to the Virtual Network resource.- Returns:
- the targetVirtualNetwork value.
-
withTargetVirtualNetwork
public TopologyParameters withTargetVirtualNetwork(com.azure.core.management.SubResource targetVirtualNetwork) Set the targetVirtualNetwork property: The reference to the Virtual Network resource.- Parameters:
targetVirtualNetwork- the targetVirtualNetwork value to set.- Returns:
- the TopologyParameters object itself.
-
targetSubnet
public com.azure.core.management.SubResource targetSubnet()Get the targetSubnet property: The reference to the Subnet resource.- Returns:
- the targetSubnet value.
-
withTargetSubnet
Set the targetSubnet property: The reference to the Subnet resource.- Parameters:
targetSubnet- the targetSubnet value to set.- Returns:
- the TopologyParameters object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-