AzureDevOpsDscNative.AzDoExtension.dsc.adaptedResource.json

{
  "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json",
  "type": "AzureDevOpsDscNative/AzDoExtension",
  "kind": "resource",
  "version": "1.1.0",
  "capabilities": [
    "set",
    "test",
    "get"
  ],
  "description": "DSC resource for managing Azure DevOps Marketplace extensions.",
  "author": "ZanattaMichael",
  "requireAdapter": "Microsoft.Adapter/PowerShell",
  "path": "AzureDevOpsDscNative.psd1",
  "schema": {
    "embedded": {
      "description": "DSC resource for managing Azure DevOps Marketplace extensions.",
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "title": "AzureDevOpsDscNative/AzDoExtension",
      "properties": {
        "Ensure": {
          "type": "string",
          "enum": [
            "Present",
            "Absent"
          ],
          "title": "Ensure",
          "description": "The Ensure property."
        },
        "LookupResult": {
          "type": "object",
          "title": "LookupResult",
          "readOnly": true,
          "description": "The LookupResult property."
        },
        "PublisherId": {
          "type": "string",
          "title": "PublisherId",
          "description": "The publisher ID of the extension in the Visual Studio Marketplace. This property is mandatory and serves as a key property for the resource."
        },
        "ExtensionId": {
          "type": "string",
          "title": "ExtensionId",
          "description": "The extension ID in the Visual Studio Marketplace. This is a key property."
        },
        "Version": {
          "type": "string",
          "title": "Version",
          "readOnly": true,
          "description": "The installed version of the extension. Read-only - it is reported by Get and cannot be set."
        },
        "DisplayName": {
          "type": "string",
          "title": "DisplayName",
          "readOnly": true,
          "description": "The display name of the extension as published in the Marketplace. Read-only - it is reported by Get and cannot be set."
        }
      },
      "required": [
        "PublisherId",
        "ExtensionId"
      ],
      "type": "object",
      "additionalProperties": false
    }
  }
}