This commit is contained in:
Sayan Naskar 2022-02-15 12:11:57 +05:30
Родитель ccf7899da5
Коммит e61998d032
4 изменённых файлов: 7 добавлений и 4 удалений

Просмотреть файл

@ -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):