added actions; fixed cloudId of vm payload
This commit is contained in:
Родитель
fc690f2c26
Коммит
314e9b940e
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"properties": {
|
||||
"cloudId": "{{cloudId}}",
|
||||
"cloudId": "{{cloudQosId}}",
|
||||
"templateId": "{{virtualMachineTemplateIdBlank}}",
|
||||
"vmmServerId": "{{vmmServerId}}",
|
||||
"hardwareProfile": {
|
||||
|
|
16
scvmm.http
16
scvmm.http
|
@ -191,6 +191,22 @@ POST {{armRoot}}{{virtualMachineId}}/start{{reqParams}}
|
|||
# @name startVMAsyncGet
|
||||
GET {{startVM.response.headers.Location}}
|
||||
|
||||
### Actions
|
||||
# @name stopVM
|
||||
POST {{armRoot}}{{virtualMachineId}}/stop{{reqParams}}
|
||||
|
||||
###
|
||||
# @name stopVMAsyncGet
|
||||
GET {{stopVM.response.headers.Location}}
|
||||
|
||||
### Actions
|
||||
# @name restartVM
|
||||
POST {{armRoot}}{{virtualMachineId}}/restart{{reqParams}}
|
||||
|
||||
###
|
||||
# @name restartVMAsyncGet
|
||||
GET {{restartVM.response.headers.Location}}
|
||||
|
||||
#------------------------------------------------------------------------------------------------
|
||||
### Delete all resources
|
||||
#------------------------------------------------------------------------------------------------
|
||||
|
|
Загрузка…
Ссылка в новой задаче