AzureDevOpsDscNative.AzDoWiki.dsc.adaptedResource.json

{
  "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json",
  "type": "AzureDevOpsDscNative/AzDoWiki",
  "kind": "resource",
  "version": "1.1.0",
  "capabilities": [
    "set",
    "test",
    "get"
  ],
  "description": "DSC resource for managing Azure DevOps project and code wikis.",
  "author": "ZanattaMichael",
  "requireAdapter": "Microsoft.Adapter/PowerShell",
  "path": "AzureDevOpsDscNative.psd1",
  "schema": {
    "embedded": {
      "description": "DSC resource for managing Azure DevOps project and code wikis.",
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "title": "AzureDevOpsDscNative/AzDoWiki",
      "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 property is mandatory and serves as a key property for the resource."
        },
        "WikiName": {
          "type": "string",
          "title": "WikiName",
          "description": "The name of the wiki. This is a key property."
        },
        "WikiType": {
          "type": "string",
          "enum": [
            "projectWiki",
            "codeWiki"
          ],
          "title": "WikiType",
          "description": "The type of wiki. Valid values are projectWiki (a built-in project wiki) and codeWiki (a wiki sourced from a Git repository). Defaults to projectWiki."
        },
        "RepositoryName": {
          "type": "string",
          "title": "RepositoryName",
          "description": "For codeWiki type, the name of the repository that contains the wiki content. Optional."
        },
        "MappedPath": {
          "type": "string",
          "title": "MappedPath",
          "description": "For codeWiki type, the folder path within the repository that contains the wiki content. Defaults to /."
        },
        "Version": {
          "type": "string",
          "title": "Version",
          "description": "For codeWiki type, the branch or commit to use. Optional."
        }
      },
      "required": [
        "ProjectName",
        "WikiName"
      ],
      "type": "object",
      "additionalProperties": false
    }
  }
}