AzureDevOpsDscNative.AzDoTestConfiguration.dsc.adaptedResource.json

{
  "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json",
  "type": "AzureDevOpsDscNative/AzDoTestConfiguration",
  "kind": "resource",
  "version": "1.2.0",
  "capabilities": [
    "set",
    "test",
    "get"
  ],
  "description": "DSC resource for managing Azure DevOps test configurations.",
  "author": "ZanattaMichael",
  "requireAdapter": "Microsoft.Adapter/PowerShell",
  "path": "AzureDevOpsDscNative.psd1",
  "schema": {
    "embedded": {
      "additionalProperties": false,
      "title": "AzureDevOpsDscNative/AzDoTestConfiguration",
      "properties": {
        "Ensure": {
          "type": "string",
          "enum": [
            "Present",
            "Absent"
          ],
          "title": "Ensure",
          "description": "The Ensure property."
        },
        "LookupResult": {
          "type": "object",
          "title": "LookupResult",
          "readOnly": true,
          "description": "The LookupResult property."
        },
        "ProjectName": {
          "type": "string",
          "title": "ProjectName",
          "description": "The name of the Azure DevOps project."
        },
        "Name": {
          "type": "string",
          "title": "Name",
          "description": "The name of the test configuration. Unique within the project."
        },
        "Description": {
          "type": "string",
          "title": "Description",
          "description": "A description of the configuration."
        },
        "IsDefault": {
          "type": "boolean",
          "title": "IsDefault",
          "description": "Whether new test plans/suites should use this configuration by default."
        },
        "State": {
          "type": "string",
          "enum": [
            "active",
            "inactive"
          ],
          "title": "State",
          "description": "'active' or 'inactive'. Defaults to 'active'."
        },
        "Values": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "title": "Values",
          "description": "The variable/value pairs that make up the configuration, each written as 'VariableName=Value' (for example 'Browser=Edge', 'OS=Windows 11'). Each VariableName must be an existing AzDoTestVariable in the project, and each Value must be one of that variable's allowed values."
        }
      },
      "required": [
        "ProjectName",
        "Name"
      ],
      "type": "object",
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "description": "DSC resource for managing Azure DevOps test configurations."
    }
  }
}