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