Going deeper into the Cloud Services
For this discovery process, I will explain the blueprints of Cloud Services in more detail. Before the question arises, under blueprints of Cloud Services I understand:
- The Service Definition File (
ServiceDefinition.csdef
) - The Service Configuration File (
ServiceConfig.cscfg
)
Let's take a look.
Service Definition File
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>...