AzureDevOpsDscNative.AzDoEnvironmentKubernetesResource.dsc.adaptedResource.json

{
  "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json",
  "type": "AzureDevOpsDscNative/AzDoEnvironmentKubernetesResource",
  "kind": "resource",
  "version": "1.2.0",
  "capabilities": [
    "set",
    "test",
    "get"
  ],
  "description": "DSC resource for managing Azure DevOps environment Kubernetes resources.",
  "author": "ZanattaMichael",
  "requireAdapter": "Microsoft.Adapter/PowerShell",
  "path": "AzureDevOpsDscNative.psd1",
  "schema": {
    "embedded": {
      "type": "object",
      "required": [
        "ProjectName",
        "EnvironmentName",
        "KubernetesResourceName",
        "Namespace",
        "ServiceConnectionName"
      ],
      "additionalProperties": false,
      "description": "DSC resource for managing Azure DevOps environment Kubernetes resources.",
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "title": "AzureDevOpsDscNative/AzDoEnvironmentKubernetesResource",
      "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. This property is mandatory and serves as the key property for the resource."
        },
        "EnvironmentName": {
          "type": "string",
          "title": "EnvironmentName",
          "description": "The name of the pipeline environment (`AzDoPipelineEnvironment`) the resource belongs to."
        },
        "KubernetesResourceName": {
          "type": "string",
          "title": "KubernetesResourceName",
          "description": "The name of the Kubernetes resource within the environment."
        },
        "Namespace": {
          "type": "string",
          "title": "Namespace",
          "description": "The Kubernetes namespace the resource addresses."
        },
        "ClusterName": {
          "type": "string",
          "title": "ClusterName",
          "description": "An optional display name for the cluster."
        },
        "ServiceConnectionName": {
          "type": "string",
          "title": "ServiceConnectionName",
          "description": "The name of the Kubernetes (or Azure RM) service connection used to reach the cluster. Resolved to `serviceEndpointId` before the API call is made."
        },
        "Tags": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "title": "Tags",
          "description": "Tags applied to the resource. Compared case-insensitively as a set."
        }
      }
    }
  }
}