AzureDevOpsDscNative.AzDoProcessRule.dsc.adaptedResource.json

{
  "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json",
  "type": "AzureDevOpsDscNative/AzDoProcessRule",
  "kind": "resource",
  "version": "1.1.0",
  "capabilities": [
    "set",
    "test",
    "get"
  ],
  "description": "DSC resource for managing rules on a work item type of an Azure DevOps inherited process.",
  "author": "ZanattaMichael",
  "requireAdapter": "Microsoft.Adapter/PowerShell",
  "path": "AzureDevOpsDscNative.psd1",
  "schema": {
    "embedded": {
      "description": "DSC resource for managing rules on a work item type of an Azure DevOps inherited process.",
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "title": "AzureDevOpsDscNative/AzDoProcessRule",
      "properties": {
        "Ensure": {
          "type": "string",
          "enum": [
            "Present",
            "Absent"
          ],
          "title": "Ensure",
          "description": "The Ensure property."
        },
        "LookupResult": {
          "type": "object",
          "title": "LookupResult",
          "readOnly": true,
          "description": "The LookupResult property."
        },
        "ProcessName": {
          "type": "string",
          "title": "ProcessName",
          "description": "The name of the inherited process."
        },
        "WorkItemTypeName": {
          "type": "string",
          "title": "WorkItemTypeName",
          "description": "The display name of the work item type."
        },
        "RuleName": {
          "type": "string",
          "title": "RuleName",
          "description": "The name of the rule."
        },
        "Conditions": {
          "items": {
            "type": "object"
          },
          "type": "array",
          "title": "Conditions",
          "description": "The conditions under which the rule applies."
        },
        "Actions": {
          "items": {
            "type": "object"
          },
          "type": "array",
          "title": "Actions",
          "description": "The actions the rule performs."
        },
        "IsDisabled": {
          "type": "boolean",
          "title": "IsDisabled",
          "description": "Whether the rule is disabled. This is the only way to switch off an inherited rule."
        }
      },
      "required": [
        "ProcessName",
        "WorkItemTypeName",
        "RuleName"
      ],
      "type": "object",
      "additionalProperties": false
    }
  }
}