AzureDevOpsDscNative.AzDoTaskGroupPermission.dsc.adaptedResource.json

{
  "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json",
  "type": "AzureDevOpsDscNative/AzDoTaskGroupPermission",
  "kind": "resource",
  "version": "1.3.0",
  "capabilities": [
    "set",
    "test",
    "get"
  ],
  "description": "DSC resource for managing task group permissions.",
  "author": "ZanattaMichael",
  "requireAdapter": "Microsoft.Adapter/PowerShell",
  "path": "AzureDevOpsDscNative.psd1",
  "schema": {
    "embedded": {
      "title": "AzureDevOpsDscNative/AzDoTaskGroupPermission",
      "additionalProperties": false,
      "type": "object",
      "required": [
        "ProjectName"
      ],
      "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. This is the key property."
        },
        "TaskGroupName": {
          "type": "string",
          "title": "TaskGroupName",
          "description": "The name of the task group. Omit to target every task group in the project."
        },
        "isInherited": {
          "type": "boolean",
          "title": "isInherited",
          "description": "Whether permissions are inherited from the project level. Defaults to $true."
        },
        "Permissions": {
          "items": {
            "type": "object"
          },
          "type": "array",
          "title": "Permissions",
          "description": "An array of hashtables, each with an 'Identity' and a 'Permission' map from an action name (for example 'Edit task group') to 'Allow' or 'Deny'."
        }
      },
      "description": "DSC resource for managing task group permissions.",
      "$schema": "https://json-schema.org/draft/2020-12/schema"
    }
  }
}