The role element specifies the number of role instances, the values of configuration settings and the thumbprints for certificates associated with a role.
A template of a role element looks as follows:
<ServiceConfiguration>
<Role name="<role-name>" vmName="<vm-name>">
<Instances count="<number-of-instances>"/>
<ConfigurationSettings>
<Setting name="<setting-name>" value="<setting-value>" />
</ConfigurationSettings>
<Certificates>
<Certificate name="<certificate-name>"
thumbprint="<certificate-thumbprint>"
thumbprintAlgorithm="<algorithm>"/>
</Certificates>
</Role>
</ServiceConfiguration>
The components of the role schema are:
Components |
Properties |
name (attribute) |
Specifies the name of the role. |
vmName (attribute) |
Specifies... |