~wallyworld/gwacl/ensure-all-roles-have-costs

Viewing all changes in revision 233.

  • Committer: Tarmac
  • Author(s): Andrew Wilkins
  • Date: 2014-03-11 04:23:29 UTC
  • mfrom: (231.2.2 gwacl)
  • Revision ID: tarmac-20140311042329-zo14488zhtlm2rdm
[r=axwalk] [r=][bug=][author=axwalk] Introduce AddRole, DeleteRole; add missing Role fields

Two more management service API methods are added: AddRole
and DeleteRole (operating on deployments). These are
required when working with Availability Sets, where a role
must be added to an existing Cloud Service.

PersistentVMRole has been changed to be an alias for Role,
which has been expanded to include missing fields.
PersistentVMRole continues to have its own serialisation
methods, so it gets the correct XML tag name and namespace.

Roles can only have a single OS disk, so I've changed the
signature of NewRole to reflect this. Roles may have
additional data disks.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: