AzureDevOpsDscNative.AzDoSecureFilePermission.dsc.adaptedResource.json

{
  "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json",
  "type": "AzureDevOpsDscNative/AzDoSecureFilePermission",
  "kind": "resource",
  "version": "1.1.0",
  "capabilities": [
    "set",
    "test",
    "get"
  ],
  "description": "DSC resource for managing permissions on Azure DevOps secure files.",
  "author": "ZanattaMichael",
  "requireAdapter": "Microsoft.Adapter/PowerShell",
  "path": "AzureDevOpsDscNative.psd1",
  "schema": {
    "embedded": {
      "additionalProperties": false,
      "type": "object",
      "description": "DSC resource for managing permissions on Azure DevOps secure files.",
      "title": "AzureDevOpsDscNative/AzDoSecureFilePermission",
      "$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."
        },
        "ProjectName": {
          "type": "string",
          "title": "ProjectName",
          "description": "The name of the Azure DevOps project."
        },
        "SecureFileName": {
          "type": "string",
          "title": "SecureFileName",
          "description": "The name of the secure file. Omit to target the project's Library root."
        },
        "isInherited": {
          "type": "boolean",
          "title": "isInherited",
          "description": "Whether the ACL inherits permissions from its parent. Defaults to $true."
        },
        "Permissions": {
          "items": {
            "type": "object"
          },
          "type": "array",
          "title": "Permissions",
          "description": "The access control entries, as an array of hashtables: @{ Identity = '[ProjectName]\\GroupName'; Permission = @{ View = 'Allow' } }"
        }
      },
      "required": [
        "ProjectName"
      ]
    }
  }
}