Network Interface
public interface Network extends GroupableResource<NetworkManager, VirtualNetworkInner>,Refreshable,Updatable<Network.Update>
Entry point for Virtual Network management API in Azure.
Method Summary
Modifier and Type | Method and Description |
---|---|
List<String> | addressSpaces() |
List<String> | dnsServerIPs() |
boolean |
isPrivateIPAddressAvailable(String ipAddress)
Checks if the specified private IP address is available in this network. |
boolean |
isPrivateIPAddressInNetwork(String ipAddress)
Checks if the specified private IP address is within this network's address space. |
Network |
peerings() |
Map<String, Subnet> |
subnets()
Note that when a virtual network is created with no subnets explicitly defined, a default subnet is automatically created with the name "subnet1". |
Inherited Members
Method Details
addressSpaces
public List
Returns:
dnsServerIPs
public List
Returns:
isPrivateIPAddressAvailable
public boolean isPrivateIPAddressAvailable(String ipAddress)
Checks if the specified private IP address is available in this network.
Parameters:
Returns:
isPrivateIPAddressInNetwork
public boolean isPrivateIPAddressInNetwork(String ipAddress)
Checks if the specified private IP address is within this network's address space.
Parameters:
Returns:
peerings
public NetworkPeerings peerings()
Returns:
subnets
public Map
Note that when a virtual network is created with no subnets explicitly defined, a default subnet is automatically created with the name "subnet1".
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