AzureDevOpsDscNative.AzDoUserEntitlement.dsc.adaptedResource.json

{
  "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json",
  "type": "AzureDevOpsDscNative/AzDoUserEntitlement",
  "kind": "resource",
  "version": "1.0.0",
  "capabilities": [
    "set",
    "test",
    "get"
  ],
  "description": "DSC resource for managing Azure DevOps user entitlements (organization membership + access level).",
  "author": "ZanattaMichael",
  "requireAdapter": "Microsoft.Adapter/PowerShell",
  "path": "AzureDevOpsDscNative.psd1",
  "schema": {
    "embedded": {
      "properties": {
        "Ensure": {
          "type": "string",
          "enum": [
            "Present",
            "Absent"
          ],
          "title": "Ensure",
          "description": "The Ensure property."
        },
        "LookupResult": {
          "type": "object",
          "title": "LookupResult",
          "readOnly": true,
          "description": "The LookupResult property."
        },
        "UserPrincipalName": {
          "type": "string",
          "title": "UserPrincipalName",
          "description": "The user's principal name (email / UPN)."
        },
        "AccountLicenseType": {
          "type": "string",
          "enum": [
            "stakeholder",
            "express",
            "advanced",
            "professional",
            "earlyAdopter",
            "none"
          ],
          "title": "AccountLicenseType",
          "description": "The account license type to assign. Valid values are 'stakeholder', 'express' (Basic), 'advanced' (Basic + Test Plans), 'professional', 'earlyAdopter' and 'none'."
        }
      },
      "type": "object",
      "required": [
        "UserPrincipalName",
        "AccountLicenseType"
      ],
      "description": "DSC resource for managing Azure DevOps user entitlements (organization membership + access level).",
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "title": "AzureDevOpsDscNative/AzDoUserEntitlement",
      "additionalProperties": false
    }
  }
}