BastionHost

Bastion Host resource.

Microsoft AzureCloudInfrastructureMicrosoftNetworking

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.
identity object The identity assigned to the Bastion Host resource
View JSON Schema on GitHub

JSON Schema

azure-networking-services-bastion-host-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/azure-networking-services/json-schema/azure-networking-services-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/azure-networking-services-bastionhosts-api-openapi.yml#/components/schemas/BastionHost",
  "type": "object",
  "properties": {
    "properties": {
      "$ref": "#/$defs/BastionHostPropertiesFormat",
      "description": "Represents the bastion host resource.",
      "x-ms-client-flatten": true
    },
    "zones": {
      "type": "array",
      "description": "A list of availability zones denoting where the resource needs to come from.",
      "items": {
        "type": "string"
      }
    },
    "etag": {
      "type": "string",
      "description": "A unique read-only string that changes whenever the resource is updated.",
      "readOnly": true
    },
    "sku": {
      "$ref": "#/$defs/Sku",
      "description": "The sku of this Bastion Host."
    },
    "identity": {
      "$ref": "#/$defs/ManagedServiceIdentity",
      "description": "The identity assigned to the Bastion Host resource"
    }
  },
  "allOf": [
    {
      "$ref": "#/$defs/Resource"
    }
  ],
  "$defs": {
    "BastionHostIPConfiguration": {
      "type": "object",
      "description": "IP configuration of an Bastion Host.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/BastionHostIPConfigurationPropertiesFormat",
          "description": "Represents the ip configuration associated with the resource.",
          "x-ms-client-flatten": true
        },
        "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",
          "description": "A unique read-only string that changes whenever the resource is updated.",
          "readOnly": true
        },
        "type": {
          "type": "string",
          "description": "Ip configuration type.",
          "readOnly": true
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/SubResource"
        }
      ]
    },
    "BastionHostIPConfigurationPropertiesFormat": {
      "type": "object",
      "description": "Properties of IP configuration of an Bastion Host.",
      "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": {
          "$ref": "#/$defs/ProvisioningState",
          "description": "The provisioning state of the bastion host IP configuration resource.",
          "readOnly": true
        },
        "privateIPAllocationMethod": {
          "$ref": "#/$defs/IPAllocationMethod",
          "description": "Private IP allocation method."
        }
      },
      "required": [
        "subnet"
      ]
    },
    "BastionHostPropertiesFormat": {
      "type": "object",
      "description": "Properties of the Bastion Host.",
      "properties": {
        "ipConfigurations": {
          "type": "array",
          "description": "IP configuration of the Bastion Host resource.",
          "items": {
            "$ref": "#/$defs/BastionHostIPConfiguration"
          }
        },
        "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": {
          "$ref": "#/$defs/BastionHostPropertiesFormatNetworkAcls"
        },
        "provisioningState": {
          "$ref": "#/$defs/ProvisioningState",
          "description": "The provisioning state of the bastion host resource.",
          "readOnly": true
        },
        "scaleUnits": {
          "type": "integer",
          "format": "int32",
          "description": "The scale units for the Bastion Host resource.",
          "minimum": 2,
          "maximum": 50
        },
        "disableCopyPaste": {
          "type": "boolean",
          "description": "Enable/Disable Copy/Paste feature of the Bastion Host resource.",
          "default": false
        },
        "enableFileCopy": {
          "type": "boolean",
          "description": "Enable/Disable File Copy feature of the Bastion Host resource.",
          "default": false
        },
        "enableIpConnect": {
          "type": "boolean",
          "description": "Enable/Disable IP Connect feature of the Bastion Host resource.",
          "default": false
        },
        "enableShareableLink": {
          "type": "boolean",
          "description": "Enable/Disable Shareable Link of the Bastion Host resource.",
          "default": false
        },
        "enableTunneling": {
          "type": "boolean",
          "description": "Enable/Disable Tunneling feature of the Bastion Host resource.",
          "default": false
        },
        "enableKerberos": {
          "type": "boolean",
          "description": "Enable/Disable Kerberos feature of the Bastion Host resource.",
          "default": false
        },
        "enableSessionRecording": {
          "type": "boolean",
          "description": "Enable/Disable Session Recording feature of the Bastion Host resource.",
          "default": false
        },
        "enablePrivateOnlyBastion": {
          "type": "boolean",
          "description": "Enable/Disable Private Only feature of the Bastion Host resource.",
          "default": false
        },
        "sessionRecordingConfiguration": {
          "$ref": "#/$defs/BastionSessionRecordingConfiguration",
          "description": "The storage account and identity to use for session recording"
        }
      }
    },
    "BastionHostPropertiesFormatNetworkAcls": {
      "type": "object",
      "properties": {
        "ipRules": {
          "type": "array",
          "description": "Sets the IP ACL rules for Developer Bastion Host.",
          "items": {
            "$ref": "#/$defs/IPRule"
          }
        }
      }
    },
    "BastionSessionRecordingConfiguration": {
      "type": "object",
      "description": "Bastion Session Recording Configuration.",
      "properties": {
        "identity": {
          "$ref": "#/$defs/SessionRecordingIdentity",
          "description": "The identity to use for accessing the blob container where recordings will be stored"
        },
        "blobContainerUri": {
          "type": "string",
          "format": "uri",
          "description": "The blob container to store the recordings. Ex: https://contosostorage.blob.core.windows.net/contosorecordings."
        }
      },
      "required": [
        "identity",
        "blobContainerUri"
      ]
    },
    "IPAllocationMethod": {
      "type": "string",
      "description": "IP address allocation method.",
      "enum": [
        "Static",
        "Dynamic"
      ],
      "x-ms-enum": {
        "name": "IPAllocationMethod",
        "modelAsString": true,
        "values": [
          {
            "name": "Static",
            "value": "Static",
            "description": "Static"
          },
          {
            "name": "Dynamic",
            "value": "Dynamic",
            "description": "Dynamic"
          }
        ]
      }
    },
    "IPRule": {
      "type": "object",
      "properties": {
        "addressPrefix": {
          "type": "string",
          "description": "Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed."
        }
      }
    },
    "ManagedServiceIdentity": {
      "type": "object",
      "description": "Identity for the resource.",
      "properties": {
        "principalId": {
          "type": "string",
          "description": "The principal id of the system assigned identity. This property will only be provided for a system assigned identity.",
          "readOnly": true
        },
        "tenantId": {
          "type": "string",
          "description": "The tenant id of the system assigned identity. This property will only be provided for a system assigned identity.",
          "readOnly": true
        },
        "type": {
          "$ref": "#/$defs/ResourceIdentityType",
          "description": "The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine."
        },
        "userAssignedIdentities": {
          "type": "object",
          "description": "The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
          "additionalProperties": {
            "$ref": "#/$defs/ManagedServiceIdentityUserAssignedIdentities"
          }
        }
      }
    },
    "ProvisioningState": {
      "type": "string",
      "description": "Provisioning states of a resource.",
      "enum": [
        "Failed",
        "Succeeded",
        "Canceled",
        "Creating",
        "Updating",
        "Deleting"
      ],
      "x-ms-enum": {
        "name": "ProvisioningState",
        "modelAsString": true,
        "values": [
          {
            "name": "Failed",
            "value": "Failed",
            "description": "Failed"
          },
          {
            "name": "Succeeded",
            "value": "Succeeded",
            "description": "Succeeded"
          },
          {
            "name": "Canceled",
            "value": "Canceled",
            "description": "Canceled"
          },
          {
            "name": "Creating",
            "value": "Creating",
            "description": "Creating"
          },
          {
            "name": "Updating",
            "value": "Updating",
            "description": "Updating"
          },
          {
            "name": "Deleting",
            "value": "Deleting",
            "description": "Deleting"
          }
        ]
      }
    },
    "Resource": {
      "type": "object",
      "description": "Common resource representation.",
      "properties": {
        "id": {
          "type": "string",
          "description": "Resource ID."
        },
        "name": {
          "type": "string",
          "description": "Resource name.",
          "readOnly": true
        },
        "type": {
          "type": "string",
          "description": "Resource type.",
          "readOnly": true
        },
        "location": {
          "type": "string",
          "description": "Resource location."
        },
        "tags": {
          "type": "object",
          "description": "Resource tags.",
          "additionalProperties": {
            "type": "string"
          }
        }
      },
      "x-ms-azure-resource": true
    },
    "SessionRecordingIdentity": {
      "type": "object",
      "description": "The identity to use for accessing the blob container where recordings will be stored",
      "properties": {
        "type": {
          "$ref": "#/$defs/SessionRecordingIdentityType",
          "description": "The type of identity to use"
        },
        "userAssignedIdentityId": {
          "type": "string",
          "format": "arm-id",
          "description": "User assigned identity to use for accessing blob container Uri. Ex: /subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups/<resource group>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId. Mutually exclusive with identity type systemAssigned.",
          "x-ms-arm-id-details": {
            "allowedResources": [
              {
                "type": "Microsoft.ManagedIdentity/userAssignedIdentities"
              }
            ]
          }
        }
      },
      "required": [
        "type"
      ]
    },
    "SessionRecordingIdentityType": {
      "type": "string",
      "description": "The type of identity to use",
      "enum": [
        "SystemAssigned",
        "UserAssigned"
      ],
      "x-ms-enum": {
        "name": "SessionRecordingIdentityType",
        "modelAsString": true,
        "values": [
          {
            "name": "SystemAssigned",
            "value": "SystemAssigned",
            "description": "System assigned identity"
          },
          {
            "name": "UserAssigned",
            "value": "UserAssigned",
            "description": "User assigned identity"
          }
        ]
      }
    },
    "Sku": {
      "type": "object",
      "description": "The sku of this Bastion Host.",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the sku of this Bastion Host.",
          "default": "Standard",
          "enum": [
            "Basic",
            "Standard",
            "Developer",
            "Premium"
          ],
          "x-ms-enum": {
            "name": "BastionHostSkuName",
            "modelAsString": true,
            "values": [
              {
                "name": "Basic",
                "value": "Basic",
                "description": "Basic"
              },
              {
                "name": "Standard",
                "value": "Standard",
                "description": "Standard"
              },
              {
                "name": "Developer",
                "value": "Developer",
                "description": "Developer"
              },
              {
                "name": "Premium",
                "value": "Premium",
                "description": "Premium"
              }
            ]
          }
        }
      }
    },
    "SubResource": {
      "type": "object",
      "description": "Reference to another subresource.",
      "properties": {
        "id": {
          "type": "string",
          "description": "Resource ID."
        }
      }
    }
  }
}

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/azure-networking-services-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.