Interface Network
-
- All Superinterfaces:
com.microsoft.azure.management.resources.fluentcore.arm.models.GroupableResource<com.microsoft.azure.management.network.implementation.NetworkManager,com.microsoft.azure.management.network.implementation.VirtualNetworkInner>
,com.microsoft.azure.management.resources.fluentcore.arm.models.HasId
,com.microsoft.azure.management.resources.fluentcore.model.HasInner<com.microsoft.azure.management.network.implementation.VirtualNetworkInner>
,com.microsoft.azure.management.resources.fluentcore.arm.models.HasManager<com.microsoft.azure.management.network.implementation.NetworkManager>
,com.microsoft.azure.management.resources.fluentcore.arm.models.HasName
,com.microsoft.azure.management.resources.fluentcore.arm.models.HasResourceGroup
,com.microsoft.azure.management.resources.fluentcore.model.Indexable
,com.microsoft.azure.management.resources.fluentcore.model.Refreshable<Network>
,com.microsoft.azure.management.resources.fluentcore.arm.models.Resource
,com.microsoft.azure.management.resources.fluentcore.model.Updatable<Network.Update>
,UpdatableWithTags<Network>
public interface Network extends com.microsoft.azure.management.resources.fluentcore.arm.models.GroupableResource<com.microsoft.azure.management.network.implementation.NetworkManager,com.microsoft.azure.management.network.implementation.VirtualNetworkInner>, com.microsoft.azure.management.resources.fluentcore.model.Refreshable<Network>, com.microsoft.azure.management.resources.fluentcore.model.Updatable<Network.Update>, UpdatableWithTags<Network>
Entry point for Virtual Network management API in Azure.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
Network.Definition
The entirety of the virtual network definition.static interface
Network.DefinitionStages
Grouping of virtual network definition stages.static interface
Network.Update
The template for a virtual network update operation, containing all the settings that can be modified.static interface
Network.UpdateStages
Grouping of virtual network update stages.-
Nested classes/interfaces inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.Resource
com.microsoft.azure.management.resources.fluentcore.arm.models.Resource.DefinitionWithRegion<T extends Object>, com.microsoft.azure.management.resources.fluentcore.arm.models.Resource.DefinitionWithTags<T extends Object>, com.microsoft.azure.management.resources.fluentcore.arm.models.Resource.UpdateWithTags<T extends Object>
-
Nested classes/interfaces inherited from interface com.microsoft.azure.management.network.model.UpdatableWithTags
UpdatableWithTags.UpdateWithTags<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<String>
addressSpaces()
String
ddosProtectionPlanId()
List<String>
dnsServerIPs()
boolean
isDdosProtectionEnabled()
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.boolean
isVmProtectionEnabled()
NetworkPeerings
peerings()
Map<String,Subnet>
subnets()
-
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasId
id
-
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.HasInner
inner
-
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasManager
manager
-
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasName
name
-
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasResourceGroup
resourceGroupName
-
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Indexable
key
-
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Refreshable
refresh, refreshAsync
-
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.Resource
region, regionName, tags, type
-
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Updatable
update
-
Methods inherited from interface com.microsoft.azure.management.network.model.UpdatableWithTags
updateTags
-
-
-
-
Method Detail
-
isPrivateIPAddressAvailable
@Beta(V1_3_0) boolean isPrivateIPAddressAvailable(String ipAddress)
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
@Beta(V1_3_0) boolean isPrivateIPAddressInNetwork(String ipAddress)
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
List<String> addressSpaces()
- Returns:
- list of address spaces associated with this virtual network, in the CIDR notation
-
dnsServerIPs
List<String> dnsServerIPs()
- Returns:
- list of DNS server IP addresses associated with this virtual network
-
subnets
Map<String,Subnet> 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
@Beta(V1_3_0) NetworkPeerings 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
-
-