{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/azure-test-labs/json-schema/azure-test-labs-generate-arm-template-request-schema.json",
  "title": "GenerateArmTemplateRequest",
  "description": "Parameters for generating an ARM template for deploying artifacts.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/azure-test-labs-artifacts-api-openapi.yml#/components/schemas/GenerateArmTemplateRequest",
  "properties": {
    "fileUploadOptions": {
      "description": "Options for uploading the files for the artifact. UploadFilesAndGenerateSasTokens is the default value.",
      "enum": [
        "UploadFilesAndGenerateSasTokens",
        "None"
      ],
      "type": "string",
      "x-ms-enum": {
        "modelAsString": true,
        "name": "FileUploadOptions"
      }
    },
    "location": {
      "description": "The location of the virtual machine.",
      "type": "string"
    },
    "parameters": {
      "description": "The parameters of the ARM template.",
      "items": {
        "$ref": "#/$defs/ParameterInfo"
      },
      "type": "array"
    },
    "virtualMachineName": {
      "description": "The resource name of the virtual machine.",
      "type": "string"
    }
  },
  "type": "object",
  "$defs": {
    "ParameterInfo": {
      "description": "Information about an artifact's parameter.",
      "properties": {
        "name": {
          "description": "The name of the artifact parameter.",
          "type": "string"
        },
        "value": {
          "description": "The value of the artifact parameter.",
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}