{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-bastion/json-schema/microsoft-azure-bastion-bastion-shareable-link-list-result-schema.json",
  "title": "BastionShareableLinkListResult",
  "description": "Response for all the Bastion Shareable Link endpoints.",
  "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/BastionShareableLinkListResult",
  "properties": {
    "value": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/BastionShareableLink"
      },
      "description": "List of Bastion Shareable Links for the request."
    },
    "nextLink": {
      "type": "string",
      "description": "The URL to get the next set of results."
    }
  },
  "$defs": {
    "BastionShareableLink": {
      "properties": {
        "vm": {
          "$ref": "#/$defs/VM",
          "description": "Reference of the virtual machine resource."
        },
        "bsl": {
          "type": "string",
          "readOnly": true,
          "description": "The unique Bastion Shareable Link to the virtual machine."
        },
        "createdAt": {
          "type": "string",
          "readOnly": true,
          "description": "The time when the link was created."
        },
        "message": {
          "type": "string",
          "readOnly": true,
          "description": "Optional field indicating the warning or error message related to the vm in case of partial failure."
        }
      },
      "required": [
        "vm"
      ],
      "description": "Bastion Shareable Link."
    },
    "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
    },
    "VM": {
      "allOf": [
        {
          "$ref": "#/$defs/Resource"
        }
      ],
      "description": "Describes a Virtual Machine."
    }
  }
}