Interface Network
- All Superinterfaces:
GroupableResource<com.microsoft.azure.management.network.implementation.NetworkManager,,com.microsoft.azure.management.network.implementation.VirtualNetworkInner> HasId,HasInner<com.microsoft.azure.management.network.implementation.VirtualNetworkInner>,HasManager<com.microsoft.azure.management.network.implementation.NetworkManager>,HasName,HasResourceGroup,Indexable,Refreshable<Network>,Resource,Updatable<Network.Update>,UpdatableWithTags<Network>
public interface Network
extends GroupableResource<com.microsoft.azure.management.network.implementation.NetworkManager,com.microsoft.azure.management.network.implementation.VirtualNetworkInner>, Refreshable<Network>, Updatable<Network.Update>, UpdatableWithTags<Network>
Entry point for Virtual Network management API in Azure.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceThe entirety of the virtual network definition.static interfaceGrouping of virtual network definition stages.static interfaceThe template for a virtual network update operation, containing all the settings that can be modified.static interfaceGrouping of virtual network update stages.Nested classes/interfaces inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.Resource
Resource.DefinitionWithRegion<T>, Resource.DefinitionWithTags<T>, Resource.UpdateWithTags<T>Nested classes/interfaces inherited from interface com.microsoft.azure.management.network.model.UpdatableWithTags
UpdatableWithTags.UpdateWithTags<T> -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanisPrivateIPAddressAvailable(String ipAddress) Checks if the specified private IP address is available in this network.booleanisPrivateIPAddressInNetwork(String ipAddress) Checks if the specified private IP address is within this network's address space.booleanpeerings()subnets()Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasId
idMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.HasInner
innerMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasManager
managerMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasName
nameMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasResourceGroup
resourceGroupNameMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Indexable
keyMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Refreshable
refresh, refreshAsyncMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.Resource
region, regionName, tags, typeMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Updatable
updateMethods inherited from interface com.microsoft.azure.management.network.model.UpdatableWithTags
updateTags
-
Method Details
-
isPrivateIPAddressAvailable
Checks if the specified private IP address is available in this network.- Parameters:
ipAddress- an IP address from this network's address space- Returns:
- true if the address is within this network's address space and is available
-
isPrivateIPAddressInNetwork
Checks if the specified private IP address is within this network's address space.- Parameters:
ipAddress- an IP address- Returns:
- true if the specified IP address is within this network's address space, otherwise false
-
addressSpaces
- Returns:
- list of address spaces associated with this virtual network, in the CIDR notation
-
dnsServerIPs
- Returns:
- list of DNS server IP addresses associated with this virtual network
-
subnets
- Returns:
- subnets of this virtual network as a map indexed by subnet name
Note that when a virtual network is created with no subnets explicitly defined, a default subnet is automatically created with the name "subnet1".
-
peerings
- Returns:
- entry point to managing virtual network peerings for this network
-
isDdosProtectionEnabled
boolean isDdosProtectionEnabled()- Returns:
- whether DDoS protection is enabled for all the protected resources in the virtual network. It requires a DDoS protection plan associated with the resource.
-
isVmProtectionEnabled
boolean isVmProtectionEnabled()- Returns:
- whether VM protection is enabled for all the subnets in the virtual network
-
ddosProtectionPlanId
String ddosProtectionPlanId()- Returns:
- the DDoS protection plan id associated with the virtual network
-