c# - Azure UpdateDomain configurability -


basically question is: control have on azure update domains?

  • can discover how many update domains role has?
  • can define how many update domains role has?
  • can define update domain of given instance? (assuming there more 1 instance)

msdn says can setup number of update domains setting upgradedomaincount in service definition file, default value 5 , that's used if don't specify count.

roleenvironment.currentroleinstance.updatedomain returns update domain index of current role. management portal shows update domain number each instance. can use getdeployments management api call return list of instances , upgrade domain number of each.

you cannot explicitly assign instance domain - assignment done in round-robin fashion starting instance 0 , upwards.


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -