Azure Bastion · Schema

BastionHost

Bastion Host resource.

BastionRDPRemote AccessSecure AccessSSH

Properties

Name Type Description
id string Resource ID.
name string Resource name.
type string Resource type.
location string Resource location.
tags object Resource tags.
properties object Represents the bastion host resource.
zones array A list of availability zones denoting where the resource needs to come from.
etag string A unique read-only string that changes whenever the resource is updated.
sku object The sku of this Bastion Host.
View JSON Schema on GitHub

JSON Schema

microsoft-azure-bastion-bastion-host-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-bastion/json-schema/microsoft-azure-bastion-bastion-host-schema.json",
  "title": "BastionHost",
  "description": "Bastion Host resource.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-bastion-bastionhosts-api-openapi.yml#/components/schemas/BastionHost",
  "properties": {
    "properties": {
      "x-ms-client-flatten": true,
      "$ref": "#/$defs/BastionHostPropertiesFormat",
      "description": "Represents the bastion host resource."
    },
    "zones": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "A list of availability zones denoting where the resource needs to come from."
    },
    "etag": {
      "type": "string",
      "readOnly": true,
      "description": "A unique read-only string that changes whenever the resource is updated."
    },
    "sku": {
      "description": "The sku of this Bastion Host.",
      "$ref": "#/$defs/Sku"
    }
  },
  "allOf": [
    {
      "$ref": "#/$defs/Resource"
    }
  ],
  "$defs": {
    "BastionHostIPConfiguration": {
      "properties": {
        "properties": {
          "x-ms-client-flatten": true,
          "$ref": "#/$defs/BastionHostIPConfigurationPropertiesFormat",
          "description": "Represents the ip configuration associated with the resource."
        },
        "name": {
          "type": "string",
          "description": "Name of the resource that is unique within a resource group. This name can be used to access the resource."
        },
        "etag": {
          "type": "string",
          "readOnly": true,
          "description": "A unique read-only string that changes whenever the resource is updated."
        },
        "type": {
          "readOnly": true,
          "type": "string",
          "description": "Ip configuration type."
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/SubResource"
        }
      ],
      "description": "IP configuration of an Bastion Host."
    },
    "BastionHostIPConfigurationPropertiesFormat": {
      "properties": {
        "subnet": {
          "$ref": "#/$defs/SubResource",
          "description": "Reference of the subnet resource."
        },
        "publicIPAddress": {
          "$ref": "#/$defs/SubResource",
          "description": "Reference of the PublicIP resource. Null for private only bastion"
        },
        "provisioningState": {
          "readOnly": true,
          "$ref": "#/$defs/ProvisioningState",
          "description": "The provisioning state of the bastion host IP configuration resource."
        },
        "privateIPAllocationMethod": {
          "$ref": "#/$defs/IPAllocationMethod",
          "description": "Private IP allocation method."
        }
      },
      "required": [
        "subnet"
      ],
      "description": "Properties of IP configuration of an Bastion Host."
    },
    "BastionHostPropertiesFormat": {
      "properties": {
        "ipConfigurations": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/BastionHostIPConfiguration"
          },
          "description": "IP configuration of the Bastion Host resource."
        },
        "dnsName": {
          "type": "string",
          "description": "FQDN for the endpoint on which bastion host is accessible."
        },
        "virtualNetwork": {
          "$ref": "#/$defs/SubResource",
          "description": "Reference to an existing virtual network required for Developer Bastion Host only."
        },
        "networkAcls": {
          "properties": {
            "ipRules": {
              "type": "array",
              "items": {
                "description": "IP rule with specific IP or IP range in CIDR format.",
                "$ref": "#/$defs/IPRule"
              },
              "description": "Sets the IP ACL rules for Developer Bastion Host."
            }
          }
        },
        "provisioningState": {
          "readOnly": true,
          "$ref": "#/$defs/ProvisioningState",
          "description": "The provisioning state of the bastion host resource."
        },
        "scaleUnits": {
          "type": "integer",
          "format": "int32",
          "description": "The scale units for the Bastion Host resource.",
          "minimum": 2,
          "maximum": 50
        },
        "disableCopyPaste": {
          "type": "boolean",
          "default": false,
          "description": "Enable/Disable Copy/Paste feature of the Bastion Host resource."
        },
        "enableFileCopy": {
          "type": "boolean",
          "default": false,
          "description": "Enable/Disable File Copy feature of the Bastion Host resource."
        },
        "enableIpConnect": {
          "type": "boolean",
          "default": false,
          "description": "Enable/Disable IP Connect feature of the Bastion Host resource."
        },
        "enableShareableLink": {
          "type": "boolean",
          "default": false,
          "description": "Enable/Disable Shareable Link of the Bastion Host resource."
        },
        "enableTunneling": {
          "type": "boolean",
          "default": false,
          "description": "Enable/Disable Tunneling feature of the Bastion Host resource."
        },
        "enableKerberos": {
          "type": "boolean",
          "default": false,
          "description": "Enable/Disable Kerberos feature of the Bastion Host resource."
        },
        "enableSessionRecording": {
          "type": "boolean",
          "default": false,
          "description": "Enable/Disable Session Recording feature of the Bastion Host resource."
        },
        "enablePrivateOnlyBastion": {
          "type": "boolean",
          "default": false,
          "description": "Enable/Disable Private Only feature of the Bastion Host resource."
        }
      },
      "description": "Properties of the Bastion Host."
    },
    "IPAllocationMethod": {
      "type": "string",
      "description": "IP address allocation method.",
      "enum": [
        "Static",
        "Dynamic"
      ],
      "x-ms-enum": {
        "name": "IPAllocationMethod",
        "modelAsString": true
      }
    },
    "IPRule": {
      "properties": {
        "addressPrefix": {
          "type": "string",
          "description": "Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed."
        }
      },
      "type": "object"
    },
    "ProvisioningState": {
      "type": "string",
      "readOnly": true,
      "description": "The current provisioning state.",
      "enum": [
        "Succeeded",
        "Updating",
        "Deleting",
        "Failed"
      ],
      "x-ms-enum": {
        "name": "ProvisioningState",
        "modelAsString": true
      }
    },
    "Resource": {
      "properties": {
        "id": {
          "type": "string",
          "description": "Resource ID."
        },
        "name": {
          "readOnly": true,
          "type": "string",
          "description": "Resource name."
        },
        "type": {
          "readOnly": true,
          "type": "string",
          "description": "Resource type."
        },
        "location": {
          "type": "string",
          "description": "Resource location."
        },
        "tags": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Resource tags."
        }
      },
      "description": "Common resource representation.",
      "x-ms-azure-resource": true
    },
    "Sku": {
      "description": "The sku of this Bastion Host.",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the sku of this Bastion Host.",
          "enum": [
            "Basic",
            "Standard",
            "Developer",
            "Premium"
          ],
          "default": "Standard",
          "x-ms-enum": {
            "name": "BastionHostSkuName",
            "modelAsString": true
          }
        }
      },
      "type": "object"
    },
    "SubResource": {
      "properties": {
        "id": {
          "type": "string",
          "description": "Resource ID."
        }
      },
      "description": "Reference to another subresource.",
      "x-ms-azure-resource": 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-bastion-bastion-host"
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.