AzureDevOpsDscNative.AzDoSecureFile.dsc.adaptedResource.json

{
  "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json",
  "type": "AzureDevOpsDscNative/AzDoSecureFile",
  "kind": "resource",
  "version": "1.1.0",
  "capabilities": [
    "set",
    "test",
    "get"
  ],
  "description": "DSC resource for managing Azure DevOps secure files.",
  "author": "ZanattaMichael",
  "requireAdapter": "Microsoft.Adapter/PowerShell",
  "path": "AzureDevOpsDscNative.psd1",
  "schema": {
    "embedded": {
      "description": "DSC resource for managing Azure DevOps secure files.",
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "title": "AzureDevOpsDscNative/AzDoSecureFile",
      "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 in Azure DevOps."
        },
        "FilePath": {
          "type": "string",
          "title": "FilePath",
          "description": "The path of the local file to upload. Required when creating the secure file."
        },
        "Properties": {
          "type": "object",
          "title": "Properties",
          "description": "Arbitrary key/value metadata stored alongside the file."
        },
        "ForceUpload": {
          "type": "boolean",
          "title": "ForceUpload",
          "description": "Re-upload the file on every run, replacing the stored content. Defaults to $false."
        }
      },
      "required": [
        "ProjectName",
        "SecureFileName"
      ],
      "type": "object",
      "additionalProperties": false
    }
  }
}