Azure Cloud Services Config NetworkConfiguration Schema
NetworkConfiguration element of the service configuration file specifies Virtual Network and DNS values. These settings are optional for cloud services.
You can use the following resource to learn more about Virtual Networks and the associated schemas:
- Cloud Service (classic) Configuration Schema
- Cloud Service (classic) Definition Schema
- Create a Virtual Network (classic)
The following example shows the
NetworkConfiguration element and its child elements.
<ServiceConfiguration> <NetworkConfiguration> <AccessControls> <AccessControl name="aclName1"> <Rule order="<rule-order>" action="<rule-action>" remoteSubnet="<subnet-address>" description="rule-description"/> </AccessControl> </AccessControls> <EndpointAcls> <EndpointAcl role="<role-name>" endpoint="<endpoint-name>" accessControl="<acl-name>"/> </EndpointAcls> <Dns> <DnsServers> <DnsServer name="<server-name>" IPAddress="<server-address>" /> </DnsServers> </Dns> <VirtualNetworkSite name="<site-name>"/> <AddressAssignments> <InstanceAddress roleName="<role-name>"> <Subnets> <Subnet name="<subnet-name>"/> </Subnets> </InstanceAddress> <ReservedIPs> <ReservedIP name="<reserved-ip-name>"/> </ReservedIPs> </AddressAssignments> </NetworkConfiguration> </ServiceConfiguration>
The following table describes the child elements of the
|AccessControl||Optional. Specifies the rules for access to endpoints in a cloud service. The access control name is defined by a string for
|Rule||Optional. Specifies the action that should be taken for a specified subnet range of IP addresses. The order of the rule is defined by a string value for the
The action for the rule is defined by a string for the
The subnet range of IP addresses that are affected by the rule are defined by a string for the
|EndpointAcl||Optional. Specifies the assignment of access control rules to an endpoint. The name of the role that contains the endpoint is defined by a string for the
|DnsServer||Optional. Specifies the settings for a DNS server. You can specify settings for DNS servers without a Virtual Network. The name of the DNS server is defined by a string for the
|VirtualNetworkSite||Optional. Specifies the name of the Virtual Network site in which you want deploy your cloud service. This setting does not create a Virtual Network Site. It references a site that has been previously defined in the network file for your Virtual Network. A cloud service can only be a member of one Virtual Network. If you do not specify this setting, the cloud service will not be deployed to a Virtual Network. The name of the Virtual Network site is defined by a string for the
|InstanceAddress||Optional. Specifies the association of a role to a subnet or set of subnets in the Virtual Network. When you associate a role name to an instance address, you can specify the subnets to which you want this role to be associated. The
|Subnet||Optional. Specifies the subnet that corresponds to the subnet name in the network configuration file. The name of the subnet is defined by a string for the
|ReservedIP||Optional. Specifies the reserved IP address that should be associated with the deployment. You must use Create Reserved IP Address to create the reserved IP address. Each deployment in a cloud service can be associated with one reserved IP address. The name of the reserved IP address is defined by a string for the
We'd love to hear your thoughts. Choose the type you'd like to provide:
Our feedback system is built on GitHub Issues. Read more on our blog.