arc-vmm-arm-rest/README.md

989 B

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 204898ee-cd13-4332-b9d4-55ca5c25496d (ARC-Testing) 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.