Arc-Testing, x-ms-deletion
This commit is contained in:
Родитель
ccf7899da5
Коммит
e61998d032
|
@ -7,7 +7,7 @@
|
|||
|
||||
### Usage
|
||||
|
||||
1. Make sure to login to azure and set your subscription using `az`. Subscription `70aad6c5-69f0-4905-87b8-f8700e08e2dd` is being used for creating the resources.
|
||||
1. Make sure to login to azure and set your subscription using `az`. Subscription `204898ee-cd13-4332-b9d4-55ca5c25496d` (ARC-Testing) is being used for creating the resources.
|
||||
|
||||
```sh
|
||||
az login
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
@subscriptionId = 70aad6c5-69f0-4905-87b8-f8700e08e2dd
|
||||
@subscriptionId = 204898ee-cd13-4332-b9d4-55ca5c25496d
|
||||
|
||||
@apiVersion = 2020-06-01
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
@subscriptionId = 70aad6c5-69f0-4905-87b8-f8700e08e2dd
|
||||
@subscriptionId = 204898ee-cd13-4332-b9d4-55ca5c25496d
|
||||
@resourceGroup = snaskar-rg
|
||||
@provider = Microsoft.SCVMM
|
||||
@armStub = subscriptions/{{subscriptionId}}/resourceGroups/{{resourceGroup}}/providers/{{provider}}
|
||||
|
@ -267,3 +267,6 @@ GET {{vmmServerDel.response.headers.Location}}
|
|||
|
||||
#------------------------------------------------------------------------------------------------
|
||||
###
|
||||
@vmId = /subscriptions/204898ee-cd13-4332-b9d4-55ca5c25496d/resourceGroups/can-arcvmm-0202/providers/Microsoft.SCVMM/VirtualMachines/vm-minion-0003
|
||||
DELETE {{armRoot}}{{vmId}}{{reqParams}}
|
||||
x-ms-deletion-mode: retain
|
||||
|
|
|
@ -5,7 +5,7 @@ import typing
|
|||
from os.path import dirname, abspath
|
||||
|
||||
# %%
|
||||
subscriptionId = '70aad6c5-69f0-4905-87b8-f8700e08e2dd'
|
||||
subscriptionId = '204898ee-cd13-4332-b9d4-55ca5c25496d'
|
||||
|
||||
|
||||
def createJSONFile(pathToFile: str):
|
||||
|
|
Загрузка…
Ссылка в новой задаче