Subnet Interface
Implements
public interface Subnet
extends HasInnerModel<SubnetInner>, ChildResource<Network>
A client-side representation of a subnet of a virtual network.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract String | addressPrefix() |
abstract
Network |
getNetworkSecurityGroup() |
abstract
Route |
getRouteTable() |
abstract String | id() |
abstract Set<String> | listAvailablePrivateIPAddresses() |
abstract
Collection<Nic |
listNetworkInterfaceIPConfigurations() |
abstract String | natGatewayId() |
abstract int | networkInterfaceIPConfigurationCount() |
abstract String | networkSecurityGroupId() |
abstract String | routeTableId() |
abstract
Map<Service |
servicesWithAccess() |
Method Details
addressPrefix
public abstract String addressPrefix()
Returns:
getNetworkSecurityGroup
public abstract NetworkSecurityGroup getNetworkSecurityGroup()
Returns:
Note that this method will result in a call to Azure each time it is invoked.
getRouteTable
public abstract RouteTable getRouteTable()
Returns:
Note that this method will result in a call to Azure each time it is invoked.
id
public abstract String id()
Returns:
listAvailablePrivateIPAddresses
public abstract Set
Returns:
listNetworkInterfaceIPConfigurations
public abstract Collection
Returns:
Note that this call may result in multiple calls to Azure to fetch all the referenced interfaces each time it is invoked.
natGatewayId
public abstract String natGatewayId()
Returns:
networkInterfaceIPConfigurationCount
public abstract int networkInterfaceIPConfigurationCount()
Returns:
networkSecurityGroupId
public abstract String networkSecurityGroupId()
Returns:
routeTableId
public abstract String routeTableId()
Returns:
servicesWithAccess
public abstract Map<>
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