AzureDevOpsDscNative.AzDoServiceHook.dsc.adaptedResource.json

{
  "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json",
  "type": "AzureDevOpsDscNative/AzDoServiceHook",
  "kind": "resource",
  "version": "1.0.0",
  "capabilities": [
    "set",
    "test",
    "get"
  ],
  "description": "DSC resource for managing Azure DevOps service hook subscriptions.",
  "author": "ZanattaMichael",
  "requireAdapter": "Microsoft.Adapter/PowerShell",
  "path": "AzureDevOpsDscNative.psd1",
  "schema": {
    "embedded": {
      "title": "AzureDevOpsDscNative/AzDoServiceHook",
      "properties": {
        "Ensure": {
          "type": "string",
          "enum": [
            "Present",
            "Absent"
          ],
          "title": "Ensure",
          "description": "The Ensure property."
        },
        "LookupResult": {
          "type": "object",
          "title": "LookupResult",
          "readOnly": true,
          "description": "The LookupResult property."
        },
        "Name": {
          "type": "string",
          "title": "Name",
          "description": "A logical name for the subscription. This is the key; it is not sent to Azure DevOps."
        },
        "ProjectName": {
          "type": "string",
          "title": "ProjectName",
          "description": "Optional project to scope the subscription to; its id is added to the publisher inputs."
        },
        "PublisherId": {
          "type": "string",
          "title": "PublisherId",
          "description": "The event publisher id (e.g. 'tfs', 'rm')."
        },
        "EventType": {
          "type": "string",
          "title": "EventType",
          "description": "The event type (e.g. 'git.push', 'build.complete')."
        },
        "ConsumerId": {
          "type": "string",
          "title": "ConsumerId",
          "description": "The consumer id (e.g. 'webHooks')."
        },
        "ConsumerActionId": {
          "type": "string",
          "title": "ConsumerActionId",
          "description": "The consumer action id (e.g. 'httpRequest')."
        },
        "ConsumerInputs": {
          "type": "object",
          "title": "ConsumerInputs",
          "description": "The consumer input values (e.g. @{ url = 'https://...' })."
        },
        "PublisherInputs": {
          "type": "object",
          "title": "PublisherInputs",
          "description": "The publisher input values (e.g. @{ repository = '...' })."
        },
        "ResourceVersion": {
          "type": "string",
          "title": "ResourceVersion",
          "description": "The event resource version. Defaults to '1.0'."
        }
      },
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "additionalProperties": false,
      "type": "object",
      "required": [
        "Name",
        "PublisherId",
        "EventType",
        "ConsumerId",
        "ConsumerActionId"
      ],
      "description": "DSC resource for managing Azure DevOps service hook subscriptions."
    }
  }
}