Subnet Interface
public interface Subnet extends HasInner,ChildResource
A client-side representation of a subnet of a virtual network.
Method Summary
Modifier and Type | Method and Description |
---|---|
String | addressPrefix() |
Set<Nic |
getNetworkInterfaceIPConfigurations()
Note that this call may result in multiple calls to Azure to fetch all the referenced interfaces each time it is invoked.
|
Network |
getNetworkSecurityGroup()
Note that this method will result in a call to Azure each time it is invoked. |
Route |
getRouteTable()
Note that this method will result in a call to Azure each time it is invoked. |
Set<String> | listAvailablePrivateIPAddresses() |
Collection<Nic |
listNetworkInterfaceIPConfigurations()
Note that this call may result in multiple calls to Azure to fetch all the referenced interfaces each time it is invoked. |
int | networkInterfaceIPConfigurationCount() |
String | networkSecurityGroupId() |
String | routeTableId() |
Inherited Members
Method Details
addressPrefix
public String addressPrefix()
Returns:
getNetworkInterfaceIPConfigurations
public Set
Note that this call may result in multiple calls to Azure to fetch all the referenced interfaces each time it is invoked.
<xreftitle>Deprecated</xreftitle>
<xrefdescription>
<p>Use <xref uid="com.microsoft.azure.management.network.Subnet.listNetworkInterfaceIPConfigurations()" data-throw-if-not-resolved="false" data-raw-source="Subnet#listNetworkInterfaceIPConfigurations()"></xref> instead. </p>
</xrefdescription>
Returns:
getNetworkSecurityGroup
public NetworkSecurityGroup getNetworkSecurityGroup()
Note that this method will result in a call to Azure each time it is invoked.
Returns:
getRouteTable
public RouteTable getRouteTable()
Note that this method will result in a call to Azure each time it is invoked.
Returns:
listAvailablePrivateIPAddresses
public Set
Returns:
listNetworkInterfaceIPConfigurations
public Collection
Note that this call may result in multiple calls to Azure to fetch all the referenced interfaces each time it is invoked.
Returns:
networkInterfaceIPConfigurationCount
public int networkInterfaceIPConfigurationCount()
Returns:
networkSecurityGroupId
public String networkSecurityGroupId()
Returns:
routeTableId
public String routeTableId()
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