508005f008 | ||
---|---|---|
payload | ||
.gitignore | ||
README.md | ||
customLocation.http | ||
pod.md | ||
resourceGroup.http | ||
scvmm.http | ||
setBearerToken.py |
README.md
Prerequisites
- VSCode
- REST Client Extension
python >= 3.8
(required for saving access-token environment variable)az
cli (required for fetching the access token)
Usage
- Make sure to login to azure and set your subscription using
az
. Subscription70aad6c5-69f0-4905-87b8-f8700e08e2dd
is being used for creating the resources.
az login
- Run
setBearerToken.py
to patch theAuthorization
environment variable for REST Client. - 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.fromscvmm.http
. - Fire the API requests in
scvmm.http
sequentially.