DeploymentSafeguard

Deployment Safeguards

Microsoft AzureCloudContainersDevOpsKubernetesContainer Orchestration

Properties

Name Type Description
properties object The resource-specific properties for this resource.
eTag string If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource.
View JSON Schema on GitHub

JSON Schema

microsoft-azure-kubernetes-service-deployment-safeguard-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-kubernetes-service/json-schema/microsoft-azure-kubernetes-service-deployment-safeguard-schema.json",
  "title": "DeploymentSafeguard",
  "description": "Deployment Safeguards",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/microsoft-azure-kubernetes-service-deploymentsafeguards-api-openapi.yml#/components/schemas/DeploymentSafeguard",
  "type": "object",
  "properties": {
    "properties": {
      "$ref": "#/$defs/DeploymentSafeguardsProperties",
      "description": "The resource-specific properties for this resource.",
      "x-ms-client-flatten": true
    },
    "eTag": {
      "type": "string",
      "description": "If eTag is provided in the response body, it may also be provided as a header per the normal etag convention.  Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.",
      "readOnly": true
    }
  },
  "allOf": [
    {
      "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource"
    }
  ],
  "$defs": {
    "DeploymentSafeguardsLevel": {
      "type": "string",
      "description": "Specifies the level of Deployment Safeguards",
      "enum": [
        "Warn",
        "Enforce"
      ],
      "x-ms-enum": {
        "name": "DeploymentSafeguardsLevel",
        "modelAsString": true,
        "values": [
          {
            "name": "Warn",
            "value": "Warn",
            "description": "Best practice violations will only show warnings"
          },
          {
            "name": "Enforce",
            "value": "Enforce",
            "description": "Best practice violations will be denied"
          }
        ]
      }
    },
    "DeploymentSafeguardsProperties": {
      "type": "object",
      "description": "DeploymentSafeguards Properties",
      "properties": {
        "provisioningState": {
          "$ref": "#/$defs/ProvisioningState",
          "description": "Provisioning State",
          "readOnly": true
        },
        "level": {
          "$ref": "#/$defs/DeploymentSafeguardsLevel",
          "description": "The deployment safeguards level. Possible values are Warn and Enforce"
        },
        "excludedNamespaces": {
          "type": "array",
          "description": "User defined list of namespaces to exclude from Deployment Safeguards. Deployments in these namespaces will not be checked against any safeguards",
          "items": {
            "type": "string"
          }
        },
        "systemExcludedNamespaces": {
          "type": "array",
          "description": "System defined list of namespaces excluded from Deployment Safeguards. These are determined by the underlying provider (such as AKS), and cannot be changed. Deployments in these namespaces will not be checked",
          "items": {
            "type": "string"
          },
          "readOnly": true
        },
        "podSecurityStandardsLevel": {
          "$ref": "#/$defs/PodSecurityStandardsLevel",
          "description": "The pod security standards level"
        }
      },
      "required": [
        "level",
        "systemExcludedNamespaces"
      ]
    },
    "PodSecurityStandardsLevel": {
      "type": "string",
      "description": "Specifies the Pod Security Standards level",
      "enum": [
        "Privileged",
        "Baseline",
        "Restricted"
      ],
      "x-ms-enum": {
        "name": "PodSecurityStandardsLevel",
        "modelAsString": true,
        "values": [
          {
            "name": "PodSecurityStandardsPrivileged",
            "value": "Privileged",
            "description": "Privileged level is an unrestricted policy, providing the widest possible level of permissions. This policy allows for known privilege escalations."
          },
          {
            "name": "PodSecurityStandardsBaseline",
            "value": "Baseline",
            "description": "Baseline level is a minimally restrictive policy which prevents known privilege escalations. Allows the default (minimally specified) Pod configuration."
          },
          {
            "name": "PodSecurityStandardsRestricted",
            "value": "Restricted",
            "description": "Restricted level is a heavily restricted policy, following current Pod hardening best practices."
          }
        ]
      }
    },
    "ProvisioningState": {
      "type": "string",
      "description": "The provisioning state of the last accepted operation.",
      "enum": [
        "Succeeded",
        "Failed",
        "Canceled",
        "Creating",
        "Updating",
        "Deleting"
      ],
      "x-ms-enum": {
        "name": "ProvisioningState",
        "modelAsString": true,
        "values": [
          {
            "name": "Succeeded",
            "value": "Succeeded",
            "description": "Resource has been created."
          },
          {
            "name": "Failed",
            "value": "Failed",
            "description": "Resource creation failed."
          },
          {
            "name": "Canceled",
            "value": "Canceled",
            "description": "Resource creation was canceled."
          },
          {
            "name": "Creating",
            "value": "Creating",
            "description": "The provisioning state of DeploymentSafeguards being created."
          },
          {
            "name": "Updating",
            "value": "Updating",
            "description": "The provisioning state of DeploymentSafeguards being updated."
          },
          {
            "name": "Deleting",
            "value": "Deleting",
            "description": "The provisioning state of DeploymentSafeguards being deleted."
          }
        ]
      },
      "readOnly": true
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/microsoft-azure-kubernetes-service-deployment-safeguard"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.