AzureDevOpsDscNative.AzDoServicePrincipalEntitlement.dsc.adaptedResource.json

{
  "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json",
  "type": "AzureDevOpsDscNative/AzDoServicePrincipalEntitlement",
  "kind": "resource",
  "version": "1.1.0",
  "capabilities": [
    "set",
    "test",
    "get"
  ],
  "description": "DSC resource for managing Azure DevOps service principal entitlements.",
  "author": "ZanattaMichael",
  "requireAdapter": "Microsoft.Adapter/PowerShell",
  "path": "AzureDevOpsDscNative.psd1",
  "schema": {
    "embedded": {
      "additionalProperties": false,
      "type": "object",
      "description": "DSC resource for managing Azure DevOps service principal entitlements.",
      "title": "AzureDevOpsDscNative/AzDoServicePrincipalEntitlement",
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "properties": {
        "Ensure": {
          "type": "string",
          "enum": [
            "Present",
            "Absent"
          ],
          "title": "Ensure",
          "description": "The Ensure property."
        },
        "LookupResult": {
          "type": "object",
          "title": "LookupResult",
          "readOnly": true,
          "description": "The LookupResult property."
        },
        "OriginId": {
          "type": "string",
          "title": "OriginId",
          "description": "The Microsoft Entra object id of the service principal."
        },
        "DisplayName": {
          "type": "string",
          "title": "DisplayName",
          "description": "A display name recorded with the entitlement. Informational; matching uses OriginId."
        },
        "AccountLicenseType": {
          "type": "string",
          "title": "AccountLicenseType",
          "description": "The access level to assign, for example 'express' (Basic) or 'stakeholder'."
        }
      },
      "required": [
        "OriginId"
      ]
    }
  }
}