Interface Network

All Superinterfaces:
com.azure.resourcemanager.resources.fluentcore.arm.models.GroupableResource<NetworkManager, VirtualNetworkInner>, com.azure.resourcemanager.resources.fluentcore.arm.models.HasId, com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel<VirtualNetworkInner>, com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager<NetworkManager>, com.azure.resourcemanager.resources.fluentcore.arm.models.HasName, com.azure.resourcemanager.resources.fluentcore.arm.models.HasResourceGroup, com.azure.resourcemanager.resources.fluentcore.model.Indexable, com.azure.resourcemanager.resources.fluentcore.model.Refreshable<Network>, com.azure.resourcemanager.resources.fluentcore.arm.models.Resource, com.azure.resourcemanager.resources.fluentcore.model.Updatable<Network.Update>, UpdatableWithTags<Network>

public interface Network extends com.azure.resourcemanager.resources.fluentcore.arm.models.GroupableResource<NetworkManager, VirtualNetworkInner>, com.azure.resourcemanager.resources.fluentcore.model.Refreshable<Network>, com.azure.resourcemanager.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 
    The entirety of the virtual network definition.
    static interface 
    Grouping of virtual network definition stages.
    static interface 
    The template for a virtual network update operation, containing all the settings that can be modified.
    static interface 
    Grouping of virtual network update stages.

    Nested classes/interfaces inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.Resource

    com.azure.resourcemanager.resources.fluentcore.arm.models.Resource.DefinitionWithRegion<T>, com.azure.resourcemanager.resources.fluentcore.arm.models.Resource.DefinitionWithTags<T>, com.azure.resourcemanager.resources.fluentcore.arm.models.Resource.UpdateWithTags<T>

    Nested classes/interfaces inherited from interface UpdatableWithTags

    UpdatableWithTags.UpdateWithTags<T>
  • Field Summary

    Fields inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.Resource

    DUMMY
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets list of address spaces associated with this virtual network, in the CIDR notation.
    Gets the DDoS protection plan id associated with the virtual network.
    Gets list of DNS server IP addresses associated with this virtual network.
    boolean
    Checks whether DDoS protection is enabled for all the protected resources in the virtual network.
    boolean
    Checks if the specified private IP address is available in this network.
    boolean
    Checks if the specified private IP address is within this network's address space.
    boolean
    Deprecated.
    Gets entry point to managing virtual network peerings for this network.
    Gets subnets of this virtual network.

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasId

    id

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel

    innerModel

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager

    manager

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasName

    name

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasResourceGroup

    resourceGroupName

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Indexable

    key

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Refreshable

    refresh, refreshAsync

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.Resource

    region, regionName, tags, type

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Updatable

    update

    Methods inherited from interface UpdatableWithTags

    updateTags
  • Method Details

    • isPrivateIPAddressAvailable

      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

      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()
      Gets list of address spaces associated with this virtual network, in the CIDR notation.
      Returns:
      list of address spaces associated with this virtual network, in the CIDR notation
    • dnsServerIPs

      List<String> dnsServerIPs()
      Gets list of DNS server IP addresses associated with this virtual network.
      Returns:
      list of DNS server IP addresses associated with this virtual network
    • subnets

      Map<String,Subnet> subnets()
      Gets subnets of this virtual network.
      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

      NetworkPeerings peerings()
      Gets entry point to managing virtual network peerings for this network.
      Returns:
      entry point to managing virtual network peerings for this network
    • isDdosProtectionEnabled

      boolean isDdosProtectionEnabled()
      Checks whether DDoS protection is enabled for all the protected resources in the virtual network.
      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

      @Deprecated boolean isVmProtectionEnabled()
      Deprecated.
      Checks whether VM protection is enabled for all the subnets in the virtual network.
      Returns:
      whether VM protection is enabled for all the subnets in the virtual network
    • ddosProtectionPlanId

      String ddosProtectionPlanId()
      Gets the DDoS protection plan id associated with the virtual network.
      Returns:
      the DDoS protection plan id associated with the virtual network