AzureDevOpsDscNative.AzDoPipeline.dsc.adaptedResource.json

{
  "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json",
  "type": "AzureDevOpsDscNative/AzDoPipeline",
  "kind": "resource",
  "version": "1.0.0",
  "capabilities": [
    "set",
    "test",
    "get"
  ],
  "description": "DSC resource for managing Azure DevOps YAML pipelines.",
  "author": "ZanattaMichael",
  "requireAdapter": "Microsoft.Adapter/PowerShell",
  "path": "AzureDevOpsDscNative.psd1",
  "schema": {
    "embedded": {
      "required": [
        "ProjectName",
        "PipelineName",
        "RepositoryName",
        "YamlPath"
      ],
      "title": "AzureDevOpsDscNative/AzDoPipeline",
      "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 Azure DevOps project name."
        },
        "PipelineName": {
          "type": "string",
          "title": "PipelineName",
          "description": "The name of the pipeline."
        },
        "RepositoryName": {
          "type": "string",
          "title": "RepositoryName",
          "description": "The Git repository that contains the YAML file."
        },
        "YamlPath": {
          "type": "string",
          "title": "YamlPath",
          "description": "The path to the YAML pipeline definition file."
        },
        "FolderPath": {
          "type": "string",
          "title": "FolderPath",
          "description": "The folder path under which the pipeline is organised. Default is '\\'."
        },
        "DefaultBranch": {
          "type": "string",
          "title": "DefaultBranch",
          "description": "The default branch for the pipeline. Default is 'main'."
        }
      },
      "description": "DSC resource for managing Azure DevOps YAML pipelines.",
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "additionalProperties": false,
      "type": "object"
    }
  }
}