10. POST - https://management.core.windows.net/<subscription-id>/services/hostedservices/<service-name>/deployments
<Deployment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/windowsazure">
<Name>testsmapi1</Name>
<DeploymentSlot>Production</DeploymentSlot>
<Label>testsmapi1</Label>
<RoleList>
<Role i:type="PersistentVMRole">
…. Primeira VM é criada com API Create Deployment
</Role>
</RoleList>
</Deployment>
POST - https://management.core.windows.net/<subscription-id>/services/hostedservices/deployments/<deployment-name>/roles
<PersistentVMRole xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/windowsazure">
<RoleName>myvm1</RoleName>
<RoleType>PersistentVMRole</RoleType>
….
</PersistentVMRole> Outras VMs no mesmo deployment API Add Role
11. GET - https://management.core.windows.net/<sub-id>/services/hostedservices/<service-name>/deployments/<deployment-name>/roles/<role-name>
Retorna uma representação XML da VM
PUT - https://management.core.windows.net/<sub-id>/services/hostedservices/<service-name>/deployments/<deployment-name>/roles/<role-name>
<PersistentVMRole xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/windowsazure">
<RoleName>myvm1</RoleName>
<RoleType>PersistentVMRole</RoleType>
….
</PersistentVMRole> Modificar o XML (endpoints, discos, etc..) e fazer um PUT
12. Capture Salva a VM como uma imagem reusável
Delete Deleta da VM (mantém os discos)
Download RDP File Gera um arquivo RDP para a VM
Start, Shutdown e Restart
13.
14. Automação
Consultar, gerenciar e configurar VMs em múltiplas subscrições, cloud services e contas de storage.
Criar VMs Totalmente Configuradas
Virtual Networking
Através de um script gerenciar todas as configurações de rede (PowerShell)
Slide Objective:Explain availability setsNotes:Availability sets tell the Fabric Controller to place VMs in the same set on different racks for faults and in separate upgrade domains for updates. This essentially tells the FC not to take the guest OS down of all VMs in the same set for host updates.
Slide Objective:Explain that each tier of an application can be enabled with its own availability set which ensures at a physical hardware level in the data center that there is no single point of failure.