May 2017
Intermediate to advanced
518 pages
10h 6m
English
The Service Definition File is an XML file based on the Azure Service Definition Schema and it describes the components of the Cloud Service.
A basic template of a Service Definition File looks like this:
<ServiceDefinition name="<service-name>" topologyChangeDiscovery="<change-type>" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition" upgradeDomainCount="<number-of-upgrade-domains>" schemaVersion=" <version>"> <LoadBalancerProbes> </LoadBalancerProbes> <WebRole ...> </WebRole> <WorkerRole ...> </WorkerRole> <NetworkTrafficRules> </NetworkTrafficRules> </ServiceDefinition>
Overall, we find five elements in the Azure Services Definition Schema. The root element (that is, top level element) ...