A test repo
Перейти к файлу
Sayan Naskar 508005f008 Added another pod 2021-02-03 05:33:52 +00:00
payload Added another pod 2021-02-03 05:33:52 +00:00
.gitignore delete added 2021-01-06 14:55:50 +05:30
README.md added 3 vm templates 2020-12-13 08:44:04 +05:30
customLocation.http Added another pod 2021-02-03 05:33:52 +00:00
pod.md Added another pod 2021-02-03 05:33:52 +00:00
resourceGroup.http Added another pod 2021-02-03 05:33:52 +00:00
scvmm.http Added another pod 2021-02-03 05:33:52 +00:00
setBearerToken.py delete added 2021-01-06 14:55:50 +05:30

README.md

Prerequisites

  1. VSCode
  2. REST Client Extension
  3. python >= 3.8 (required for saving access-token environment variable)
  4. az cli (required for fetching the access token)

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.
az login
  1. Run setBearerToken.py to patch the Authorization environment variable for REST Client.
  2. The sample payloads are available in the payload folder. Set the contents accordingly. Please note that the json files contain variables denoted as {variable} which would be set accordingly when importing the payload, as the API requests are made.from scvmm.http.
  3. Fire the API requests in scvmm.http sequentially.