Dışarıya aktar (0) Yazdır
Tümünü Genişlet
EN
Bu içerik dilinizde bulunmamaktadır ancak İngilizce sürümüne buradan bakabilirsiniz.
2 / 2 bunu faydalı olarak değerlendirdi - Bu konuyu değerlendir

Windows Azure Virtual Network Configuration Schema

Updated: February 20, 2014

The VirtualNetworkConfiguration element of the Virtual Network configuration schema specifies Virtual Network configuration settings.

VirtualNetworkConfiguration Element

The following example shows the VirtualNetworkConfiguration element and its child elements.


<NetworkConfiguration xmlns="http://schemas.microsoft.com/ServiceHosting/2011/07/NetworkConfiguration">
  <VirtualNetworkConfiguration>
    <Dns>
      <DnsServers>
        <DnsServer name="<server-name>" IPAddress="<server-address>"/>
      </DnsServers>
    </Dns>
    <LocalNetworkSites>
      <LocalNetworkSite name="<site-name>">
        <VPNGatewayAddress>gateway-address</VPNGatewayAddress>
        <AddressSpace>
          <AddressPrefix>address-prefix</AddressPrefix>
        </AddressSpace>
      </LocalNetworkSite>
    </LocalNetworkSites>
    <VirtualNetworkSites>
      <VirtualNetworkSite name="<site-name>" AffinityGroup="<group-name>">
        <Gateway profile="Small">
          <VPNClientAddressPool>
            <AddressPrefix>address-prefix</AddressPrefix>
          </VPNClientAddressPool>
          <ConnectionsToLocalNetwork>
            <LocalNetworkSiteRef name="<site-name>"/>
              <Connection type="Dedicated"/>
            </LocalNetworkSiteRef>
          </ConnectionsToLocalNetwork>
        </Gateway>
        <DnsServersRef>
          <DnsServerRef name="<server-name>"/>
        </DnsServersRef>
        <Subnets>
          <Subnet name="<subnet-name>">
            <AddressPrefix>address-prefix</AddressPrefix>
          </Subnet>
        </Subnets>
        <AddressSpace>
          <AddressPrefix>address-prefix</AddressPrefix>
        </AddressSpace>
      </VirtualNetworkSite>
    </VirtualNetworkSites>
  </VirtualNetworkConfiguration>
</NetworkConfiguration>

The following table describes the child elements of the NetworkConfiguration element.

 

Element Description

DnsServer

Optional. Specifies a DNS server for the Virtual Network. You can specify up to 9 DNS servers. The name of the DNS server is defined as a string for the name attribute. The IP address of the DNS server is defined by a string for the IPAddress attribute. If you do not specify a DNS server, Windows Azure will default to using its own DNS service.

DNS server names must be uniquely identifiable within the subscription. After the DNS servers have been specified and the network configuration file has been uploaded to Windows Azure, you cannot update or add DNS server names or IP addresses once a virtual machine or cloud service has been deployed to the Virtual Network, regardless of whether or not the service is running.

The DNS server IP addresses can be changed at any time. Changing DNS server settings requires all Virtual Machines in the virtual networks that are impacted to be rebooted. Name resolution may not work if the Virtual Machines do not pick up the updates.

LocalNetworkSite

Optional. Specifies information about local network sites that are associated with the virtual network. You can specify up to 10 local network sites. The name of the local network site is defined by a string for the name attribute.

VPNGatewayAddress

Optional. Specifies the IPsec VPN tunnels between virtual networks and on-premises local network sites. To use this element, you must configure a VPN gateway appliance on your local premises (either software or hardware) that can be reached by a public IP address. You can specify only 1 public IPv4 address per local network site. For more information about supported VPN devices, see About VPN Devices for Virtual Network.

AddressPrefix (LocalNetworkSite)

Optional. Specifies the address space that is used for the local network site. This is the address space of the on-premises network. The IP address ranges that you specify must not overlap with the IP address ranges of any other local network sites or Virtual Network sites. Specify the public IPv4 address space per local network site, using CIDR notation.

VirtualNetworkSite

Required. Specifies the definition of a Virtual Network site. You can define up to 10 Virtual Network sites per subscription. The name of the Virtual Network site is defined by a string for the name attribute. To specify a Virtual Network, you must also know the affinity group that you want the virtual network sites to be associated with. The affinity group must be created prior to uploading this configuration file. The affinity group is defined by a string for the AffinityGroup attribute.

Gateway

Optional. Specifies the gateway that is used for cross-premises connectivity from the Virtual Network. The size of the gateway is defined by a string for profile attribute. The profile value must be Small.

AddressPrefix (VPNClientAddressPool)

Optional. Specifies the address space that is used for VPN clients. Address prefixes specified in this section must be non-overlapping with other address prefixes and cannot be a subset of the virtual network’s address space. You can specify more than one address prefix.

LocalNetworkSiteRef

Optional. Specifies the external network sites to connect to. Only one reference site is allowed. Any site that you reference must be defined in the LocalNetworkSite element of this configuration file. The name of the site is defined by a string for the name attribute.

Connection

Optional. Specifies the type of local network site. The type of connection is defined by a string for the type attribute.

DnsServerRef

Required. Specifies the DNS servers that are used for name resolution in the Virtual Network. You must reference the DNS servers that are specified in Dns. The name of the DNS server is defined by a string for the name attribute. Windows Azure will be set as the default DNS service for the virtual network if you do not specify any DNS servers. If you choose not to specify DNS servers in this section, name resolution will not work across a VPN link. You can specify up to 9 DNS servers.

Subnet

Required. Specifies the subnets within the address space of the Virtual Network sites. The name of the subnet is defined by a string for the name attribute. You can define multiple subnets for each virtual network site that you create. The IP addresses of the subnets you specify must be fully contained within the IP address range for the Virtual Network it resides in. Subnet address spaces must not overlap within the Virtual Network.

AddressPrefix (Subnet)

Required. Specifies the address space that is used for subnets. Address prefixes specified in this section must be non-overlapping with other address prefixes and cannot be a subset of the virtual network’s address space. You can specify more than one address prefix.

AddressPrefix (VirtualNetworkSite)

Required. Specifies the address space that is used for Virtual Network sites. Address prefixes specified in this section must be non-overlapping with other address prefixes and cannot be a subset of the virtual network’s address space. You can specify more than one address prefix.

Bunu faydalı buldunuz mu?
(1500 karakter kaldı)
Geri bildiriminiz için teşekkür ederiz
Show:
© 2014 Microsoft. Tüm hakları saklıdır.