Azure Cloud Services (extended support) config networkConfiguration schema
NetworkConfiguration element of the service configuration file specifies Virtual Network and DNS values. These settings are optional for Cloud Services (classic).
You can use the following resource to learn more about Virtual Networks and the associated schemas:
- Cloud Service (extended support) Configuration Schema.
- Cloud Service (extended support) Definition Schema.
- Create a Virtual Network.
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="Group <RG-VNet> <VNet-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||Mandatory. 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 (extended support) can only be a member of one Virtual Network. The name of the Virtual Network site is defined by a string for the
|InstanceAddress||Mandatory. 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||Mandatory. 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. The allocation method for a reserved IP needs to be specified as