VirtualMachineScaleSet

Describes a Virtual Machine Scale Set.

Cloud ComputingComputeInfrastructure-as-a-ServiceInfrastructureVirtual Machines

Properties

Name Type Description
tags object Resource tags.
location string The geo-location where the resource lives
sku object The virtual machine scale set sku.
plan object Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must ena
properties object Describes the properties of a Virtual Machine Scale Set.
identity object The identity of the virtual machine scale set, if configured.
zones array The availability zones.
extendedLocation object The extended location of the Virtual Machine Scale Set.
etag string Etag is property returned in Create/Update/Get response of the VMSS, so that customer can supply it in the header to ensure optimistic updates
placement object Placement section specifies the user-defined constraints for virtual machine scale set hardware placement. Minimum api-version: 2025-04-01.
View JSON Schema on GitHub

JSON Schema

microsoft-azure-virtual-machines-virtual-machine-scale-set-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-virtual-machines/json-schema/microsoft-azure-virtual-machines-virtual-machine-scale-set-schema.json",
  "title": "VirtualMachineScaleSet",
  "description": "Describes a Virtual Machine Scale Set.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-virtual-machines-virtualmachinescalesets-api-openapi.yml#/components/schemas/VirtualMachineScaleSet",
  "type": "object",
  "properties": {
    "sku": {
      "$ref": "#/$defs/Sku",
      "description": "The virtual machine scale set sku."
    },
    "plan": {
      "$ref": "#/$defs/Plan",
      "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use.  In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**."
    },
    "properties": {
      "$ref": "#/$defs/VirtualMachineScaleSetProperties",
      "description": "Describes the properties of a Virtual Machine Scale Set.",
      "x-ms-client-flatten": true
    },
    "identity": {
      "$ref": "#/$defs/VirtualMachineScaleSetIdentity",
      "description": "The identity of the virtual machine scale set, if configured."
    },
    "zones": {
      "type": "array",
      "description": "The availability zones.",
      "items": {
        "type": "string"
      }
    },
    "extendedLocation": {
      "$ref": "#/$defs/ExtendedLocation",
      "description": "The extended location of the Virtual Machine Scale Set."
    },
    "etag": {
      "type": "string",
      "description": "Etag is property returned in Create/Update/Get response of the VMSS, so that customer can supply it in the header to ensure optimistic updates",
      "readOnly": true
    },
    "placement": {
      "$ref": "#/$defs/Placement",
      "description": "Placement section specifies the user-defined constraints for virtual machine scale set hardware placement. Minimum api-version: 2025-04-01."
    }
  },
  "allOf": [
    {
      "$ref": "#/$defs/TrackedResource"
    }
  ],
  "$defs": {
    "AdditionalCapabilities": {
      "type": "object",
      "description": "Enables or disables a capability on the virtual machine or virtual machine scale set.",
      "properties": {
        "ultraSSDEnabled": {
          "type": "boolean",
          "description": "The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled."
        },
        "hibernationEnabled": {
          "type": "boolean",
          "description": "The flag that enables or disables hibernation capability on the VM."
        },
        "enableFips1403Encryption": {
          "type": "boolean",
          "description": "The flag enables the usage of FIPS 140-3 compliant cryptography on the protectedSettings of an extension. Learn more at: https://aka.ms/linuxagentfipssupport."
        }
      }
    },
    "AdditionalDiskProperties": {
      "type": "object",
      "description": "Specifies additional properties for a managed disk that can be set at the time of implicit creation of the disk.",
      "properties": {
        "managedDiskProperties": {
          "$ref": "#/$defs/ManagedDiskProperties",
          "description": "Specifies the managed disk properties that can be set at the time of implicit creation of the disk."
        }
      }
    },
    "AdditionalUnattendContent": {
      "type": "object",
      "description": "Specifies additional XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name, and the pass in which the content is applied.",
      "properties": {
        "passName": {
          "$ref": "#/$defs/PassNames",
          "description": "The pass name. Currently, the only allowable value is OobeSystem."
        },
        "componentName": {
          "$ref": "#/$defs/ComponentNames",
          "description": "The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup."
        },
        "settingName": {
          "$ref": "#/$defs/SettingNames",
          "description": "Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon."
        },
        "content": {
          "type": "string",
          "description": "Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted."
        }
      }
    },
    "AllInstancesDown": {
      "type": "object",
      "description": "Specifies if Scheduled Events should be auto-approved when all instances are down.",
      "properties": {
        "automaticallyApprove": {
          "type": "boolean",
          "description": "Specifies if Scheduled Events should be auto-approved when all instances are down.\nits default value is true"
        }
      }
    },
    "AllocationStrategy": {
      "type": "string",
      "description": "Specifies the allocation strategy for the virtual machine scale set based on which the VMs will be allocated.",
      "enum": [
        "LowestPrice",
        "CapacityOptimized",
        "Prioritized"
      ],
      "x-ms-enum": {
        "name": "AllocationStrategy",
        "modelAsString": true,
        "values": [
          {
            "name": "LowestPrice",
            "value": "LowestPrice"
          },
          {
            "name": "CapacityOptimized",
            "value": "CapacityOptimized"
          },
          {
            "name": "Prioritized",
            "value": "Prioritized"
          }
        ]
      }
    },
    "ApiEntityReference": {
      "type": "object",
      "description": "The API entity reference.",
      "properties": {
        "id": {
          "type": "string",
          "description": "The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/..."
        }
      }
    },
    "ApplicationProfile": {
      "type": "object",
      "description": "Contains the list of gallery applications that should be made available to the VM/VMSS",
      "properties": {
        "galleryApplications": {
          "type": "array",
          "description": "Specifies the gallery applications that should be made available to the VM/VMSS",
          "items": {
            "$ref": "#/$defs/VMGalleryApplication"
          },
          "x-ms-identifiers": [
            "packageReferenceId"
          ]
        }
      }
    },
    "AutomaticOSUpgradePolicy": {
      "type": "object",
      "description": "The configuration parameters used for performing automatic OS upgrade.",
      "properties": {
        "enableAutomaticOSUpgrade": {
          "type": "boolean",
          "description": "Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. Default value is false. If this is set to true for Windows based scale sets, [enableAutomaticUpdates](https://docs.microsoft.com/dotnet/api/microsoft.azure.management.compute.models.windowsconfiguration.enableautomaticupdates?view=azure-dotnet) is automatically set to false and cannot be set to true."
        },
        "disableAutomaticRollback": {
          "type": "boolean",
          "description": "Whether OS image rollback feature should be disabled. Default value is false."
        },
        "useRollingUpgradePolicy": {
          "type": "boolean",
          "description": "Indicates whether rolling upgrade policy should be used during Auto OS Upgrade. Default value is false. Auto OS Upgrade will fallback to the default policy if no policy is defined on the VMSS."
        },
        "osRollingUpgradeDeferral": {
          "type": "boolean",
          "description": "Indicates whether Auto OS Upgrade should undergo deferral. Deferred OS upgrades will send advanced notifications on a per-VM basis that an OS upgrade from rolling upgrades is incoming, via the IMDS tag 'Platform.PendingOSUpgrade'. The upgrade then defers until the upgrade is approved via an ApproveRollingUpgrade call."
        }
      }
    },
    "AutomaticRepairsPolicy": {
      "type": "object",
      "description": "Specifies the configuration parameters for automatic repairs on the virtual machine scale set.",
      "properties": {
        "enabled": {
          "type": "boolean",
          "description": "Specifies whether automatic repairs should be enabled on the virtual machine scale set. The default value is false."
        },
        "gracePeriod": {
          "type": "string",
          "description": "The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The minimum allowed grace period is 10 minutes (PT10M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M)."
        },
        "repairAction": {
          "$ref": "#/$defs/RepairAction",
          "description": "Type of repair action (replace, restart, reimage) that will be used for repairing unhealthy virtual machines in the scale set. Default value is replace."
        }
      }
    },
    "AutomaticSkuMigrationPolicy": {
      "type": "object",
      "description": "Specifies the configuration parameters used to control automatic SKU migration for the virtual machine scale set. When enabled, the platform may migrate instances to a different VM size from the SKU profile depending on platform demands.",
      "properties": {
        "enabled": {
          "type": "boolean",
          "description": "Specifies whether automatic SKU migration should be enabled on the virtual machine scale set. The default value is false."
        }
      }
    },
    "AutomaticZoneRebalancingPolicy": {
      "type": "object",
      "description": "The configuration parameters used while performing automatic AZ balancing.",
      "properties": {
        "enabled": {
          "type": "boolean",
          "description": "Specifies whether Automatic AZ Balancing should be enabled on the virtual machine scale set. The default value is false."
        },
        "rebalanceStrategy": {
          "$ref": "#/$defs/RebalanceStrategy",
          "description": "Type of rebalance strategy that will be used for rebalancing virtual machines in the scale set across availability zones. Default and only supported value for now is Recreate."
        },
        "rebalanceBehavior": {
          "$ref": "#/$defs/RebalanceBehavior",
          "description": "Type of rebalance behavior that will be used for recreating virtual machines in the scale set across availability zones. Default and only supported value for now is CreateBeforeDelete."
        }
      }
    },
    "AvailabilityPolicyDiskDelay": {
      "type": "string",
      "description": "Determines how to handle disks with slow I/O.",
      "enum": [
        "None",
        "AutomaticReattach"
      ],
      "x-ms-enum": {
        "name": "AvailabilityPolicyDiskDelay",
        "modelAsString": true,
        "values": [
          {
            "name": "None",
            "value": "None",
            "description": "Defaults to behavior without availability policy specified, which is VM restart upon slow disk I/O."
          },
          {
            "name": "AutomaticReattach",
            "value": "AutomaticReattach",
            "description": "Upon a disk I/O failure or slow response, try detaching then reattaching the disk."
          }
        ]
      }
    },
    "BillingProfile": {
      "type": "object",
      "description": "Specifies the billing related details of a Azure Spot VM or VMSS. Minimum api-version: 2019-03-01.",
      "properties": {
        "maxPrice": {
          "type": "number",
          "format": "double",
          "description": "Specifies the maximum price you are willing to pay for a Azure Spot VM/VMSS. This price is in US Dollars. <br><br> This price will be compared with the current Azure Spot price for the VM size. Also, the prices are compared at the time of create/update of Azure Spot VM/VMSS and the operation will only succeed if  the maxPrice is greater than the current Azure Spot price. <br><br> The maxPrice will also be used for evicting a Azure Spot VM/VMSS if the current Azure Spot price goes beyond the maxPrice after creation of VM/VMSS. <br><br> Possible values are: <br><br> - Any decimal value greater than zero. Example: 0.01538 <br><br> -1 – indicates default price to be up-to on-demand. <br><br> You can set the maxPrice to -1 to indicate that the Azure Spot VM/VMSS should not be evicted for price reasons. Also, the default max price is -1 if it is not provided by you. <br><br>Minimum api-version: 2019-03-01."
        }
      }
    },
    "BootDiagnostics": {
      "type": "object",
      "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. You can easily view the output of your console log. Azure also enables you to see a screenshot of the VM from the hypervisor.",
      "properties": {
        "enabled": {
          "type": "boolean",
          "description": "Whether boot diagnostics should be enabled on the Virtual Machine."
        },
        "storageUri": {
          "type": "string",
          "description": "Uri of the storage account to use for placing the console output and screenshot. If storageUri is not specified while enabling boot diagnostics, managed storage will be used."
        }
      }
    },
    "CachingTypes": {
      "type": "string",
      "description": "Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The default values are: **None for Standard storage. ReadOnly for Premium storage**",
      "enum": [
        "None",
        "ReadOnly",
        "ReadWrite"
      ],
      "x-ms-enum": {
        "name": "CachingTypes",
        "modelAsString": false
      }
    },
    "CapacityReservationProfile": {
      "type": "object",
      "description": "The parameters of a capacity reservation Profile.",
      "properties": {
        "capacityReservationGroup": {
          "$ref": "#/$defs/SubResource",
          "description": "Specifies the capacity reservation group resource id that should be used for allocating the virtual machine or scaleset vm instances provided enough capacity has been reserved. Please refer to https://aka.ms/CapacityReservation for more details."
        },
        "disableCapacityReservationAssignment": {
          "type": "boolean",
          "description": "Specifies whether the virtual machine is explicitly opted out from being associated with any capacity reservation. When set to true, the virtual machine will not be allowed to implicitly or explicitly associate with any type of capacity reservation and will consume capacity from the publicly available capacity. Minimum api-version: 2026-04-01."
        }
      }
    },
    "Common.OperatingSystemTypes": {
      "type": "string",
      "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. Possible values are: **Windows,** **Linux.**",
      "enum": [
        "Windows",
        "Linux"
      ],
      "x-ms-enum": {
        "name": "OperatingSystemTypes",
        "modelAsString": false
      }
    },
    "Common.ResourceIdentityType": {
      "type": "string",
      "description": "The type of identity used for the virtual machine scale set. 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 scale set.",
      "enum": [
        "SystemAssigned",
        "UserAssigned",
        "SystemAssigned, UserAssigned",
        "None"
      ],
      "x-ms-enum": {
        "name": "ResourceIdentityType",
        "modelAsString": false
      }
    },
    "Common.UserAssignedIdentitiesValue": {
      "type": "object",
      "properties": {
        "principalId": {
          "type": "string",
          "description": "The principal id of user assigned identity.",
          "readOnly": true
        },
        "clientId": {
          "type": "string",
          "description": "The client id of user assigned identity.",
          "readOnly": true
        }
      }
    },
    "ComponentNames": {
      "type": "string",
      "enum": [
        "Microsoft-Windows-Shell-Setup"
      ],
      "x-ms-enum": {
        "modelAsString": false
      }
    },
    "DeleteOptions": {
      "type": "string",
      "description": "Specify what happens to the network interface when the VM is deleted",
      "enum": [
        "Delete",
        "Detach"
      ],
      "x-ms-enum": {
        "name": "DeleteOptions",
        "modelAsString": true,
        "values": [
          {
            "name": "Delete",
            "value": "Delete"
          },
          {
            "name": "Detach",
            "value": "Detach"
          }
        ]
      }
    },
    "DiagnosticsProfile": {
      "type": "object",
      "description": "Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15.",
      "properties": {
        "bootDiagnostics": {
          "$ref": "#/$defs/BootDiagnostics",
          "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. **NOTE**: If storageUri is being specified then ensure that the storage account is in the same region and subscription as the VM. You can easily view the output of your console log. Azure also enables you to see a screenshot of the VM from the hypervisor."
        }
      }
    },
    "DiffDiskOptions": {
      "type": "string",
      "description": "Specifies the ephemeral disk option for operating system disk.",
      "enum": [
        "Local"
      ],
      "x-ms-enum": {
        "name": "DiffDiskOptions",
        "modelAsString": true,
        "values": [
          {
            "name": "Local",
            "value": "Local"
          }
        ]
      }
    },
    "DiffDiskPlacement": {
      "type": "string",
      "description": "Specifies the ephemeral disk placement for operating system disk. This property can be used by user in the request to choose the location i.e, cache disk, resource disk or nvme disk space for Ephemeral OS disk provisioning. For more information on Ephemeral OS disk size requirements, please refer Ephemeral OS disk size requirements for Windows VM at https://docs.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VM at https://docs.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements. Minimum api-version for NvmeDisk: 2024-03-01.",
      "enum": [
        "CacheDisk",
        "ResourceDisk",
        "NvmeDisk"
      ],
      "x-ms-enum": {
        "name": "DiffDiskPlacement",
        "modelAsString": true,
        "values": [
          {
            "name": "CacheDisk",
            "value": "CacheDisk"
          },
          {
            "name": "ResourceDisk",
            "value": "ResourceDisk"
          },
          {
            "name": "NvmeDisk",
            "value": "NvmeDisk"
          }
        ]
      }
    },
    "DiffDiskSettings": {
      "type": "object",
      "description": "Describes the parameters of ephemeral disk settings that can be specified for operating system disk. **Note:** The ephemeral disk settings can only be specified for managed disk.",
      "properties": {
        "option": {
          "$ref": "#/$defs/DiffDiskOptions",
          "description": "Specifies the ephemeral disk settings for operating system disk."
        },
        "placement": {
          "$ref": "#/$defs/DiffDiskPlacement",
          "description": "Specifies the ephemeral disk placement for operating system disk. Possible values are: **CacheDisk,** **ResourceDisk,** **NvmeDisk.** The defaulting behavior is: **CacheDisk** if one is configured for the VM size otherwise **ResourceDisk** or **NvmeDisk** is used. Refer to the VM size documentation for Windows VM at https://docs.microsoft.com/azure/virtual-machines/windows/sizes and Linux VM at https://docs.microsoft.com/azure/virtual-machines/linux/sizes to check which VM sizes exposes a cache disk. Minimum api-version for NvmeDisk: 2024-03-01."
        },
        "enableFullCaching": {
          "type": "boolean",
          "description": "Specifies whether or not to enable full caching for this VM which will cache the OS disk locally on the host and make this VM more resilient to storage outages"
        }
      }
    },
    "DiskApiVersion": {
      "type": "string",
      "description": "Specifies the Disk API version used when applying additionalDiskProperties to managed disks. The value must be in the format YYYY-MM-DD.",
      "enum": [
        "2025-01-02",
        "2026-03-02"
      ],
      "x-ms-enum": {
        "name": "DiskApiVersion",
        "modelAsString": true,
        "values": [
          {
            "name": "2025-01-02",
            "value": "2025-01-02",
            "description": "The 2025-01-02 Disk RP API version."
          },
          {
            "name": "2026-03-02",
            "value": "2026-03-02",
            "description": "The 2026-03-02 Disk RP API version."
          }
        ]
      }
    },
    "DiskAvailabilityPolicy": {
      "type": "object",
      "description": "In the case of an availability or connectivity issue with the disk, specify the behavior of your VM.",
      "properties": {
        "actionOnDiskDelay": {
          "$ref": "#/$defs/AvailabilityPolicyDiskDelay",
          "description": "Determines how to handle disks with slow I/O."
        }
      }
    },
    "DiskControllerTypes": {
      "type": "string",
      "description": "Specifies the disk controller type configured for the VM and VirtualMachineScaleSet. This property is only supported for virtual machines whose operating system disk and VM sku supports Generation 2 (https://docs.microsoft.com/en-us/azure/virtual-machines/generation-2), please check the HyperVGenerations capability returned as part of VM sku capabilities in the response of Microsoft.Compute SKUs api for the region contains V2 (https://docs.microsoft.com/rest/api/compute/resourceskus/list). For more information about Disk Controller Types supported please refer to https://aka.ms/azure-diskcontrollertypes.",
      "enum": [
        "SCSI",
        "NVMe"
      ],
      "x-ms-enum": {
        "name": "DiskControllerTypes",
        "modelAsString": true,
        "values": [
          {
            "name": "SCSI",
            "value": "SCSI"
          },
          {
            "name": "NVMe",
            "value": "NVMe"
          }
        ]
      }
    },
    "DiskCreateOptionTypes": {
      "type": "string",
      "description": "Specifies how the virtual machine disk should be created. Possible values are **Attach:** This value is used when you are using a specialized disk to create the virtual machine. **FromImage:** This value is used when you are using an image to create the virtual machine. If you are using a platform image, you should also use the imageReference element described above. If you are using a marketplace image, you should also use the plan element previously described. **Empty:** This value is used when creating an empty data disk. **Copy:** This value is used to create a data disk from a snapshot or another disk. **Restore:** This value is used to create a data disk from a disk restore point.",
      "enum": [
        "FromImage",
        "Empty",
        "Attach",
        "Copy",
        "Restore"
      ],
      "x-ms-enum": {
        "name": "DiskCreateOptionTypes",
        "modelAsString": true,
        "values": [
          {
            "name": "FromImage",
            "value": "FromImage"
          },
          {
            "name": "Empty",
            "value": "Empty"
          },
          {
            "name": "Attach",
            "value": "Attach"
          },
          {
            "name": "Copy",
            "value": "Copy"
          },
          {
            "name": "Restore",
            "value": "Restore"
          }
        ]
      }
    },
    "DiskDeleteOptionTypes": {
      "type": "string",
      "description": "Specifies the behavior of the managed disk when the VM gets deleted, for example whether the managed disk is deleted or detached. Supported values are: **Delete.** If this value is used, the managed disk is deleted when VM gets deleted. **Detach.** If this value is used, the managed disk is retained after VM gets deleted. Minimum api-version: 2021-03-01.",
      "enum": [
        "Delete",
        "Detach"
      ],
      "x-ms-enum": {
        "name": "DiskDeleteOptionTypes",
        "modelAsString": true,
        "values": [
          {
            "name": "Delete",
            "value": "Delete"
          },
          {
            "name": "Detach",
            "value": "Detach"
          }
        ]
      }
    },
    "DiskEncryptionSetParameters": {
      "type": "object",
      "description": "Describes the parameter of customer managed disk encryption set resource id that can be specified for disk. **Note:** The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details.",
      "allOf": [
        {
          "$ref": "#/$defs/SubResource"
        }
      ]
    },
    "DomainNameLabelScopeTypes": {
      "type": "string",
      "description": "The Domain name label scope.The concatenation of the hashed domain name label that generated according to the policy from domain name label scope and vm index will be the domain name labels of the PublicIPAddress resources that will be created",
      "enum": [
        "TenantReuse",
        "SubscriptionReuse",
        "ResourceGroupReuse",
        "NoReuse"
      ],
      "x-ms-enum": {
        "name": "DomainNameLabelScopeTypes",
        "modelAsString": true,
        "values": [
          {
            "name": "TenantReuse",
            "value": "TenantReuse"
          },
          {
            "name": "SubscriptionReuse",
            "value": "SubscriptionReuse"
          },
          {
            "name": "ResourceGroupReuse",
            "value": "ResourceGroupReuse"
          },
          {
            "name": "NoReuse",
            "value": "NoReuse"
          }
        ]
      }
    },
    "EncryptionIdentity": {
      "type": "object",
      "description": "Specifies the Managed Identity used by ADE to get access token for keyvault operations.",
      "properties": {
        "userAssignedIdentityResourceId": {
          "type": "string",
          "description": "Specifies ARM Resource ID of one of the user identities associated with the VM."
        }
      }
    },
    "EventGridAndResourceGraph": {
      "type": "object",
      "description": "Specifies eventGridAndResourceGraph related Scheduled Event related configurations.",
      "properties": {
        "enable": {
          "type": "boolean",
          "description": "Specifies if event grid and resource graph is enabled for Scheduled event related configurations."
        },
        "scheduledEventsApiVersion": {
          "type": "string",
          "description": "Specifies the api-version to determine which Scheduled Events configuration schema version will be delivered."
        }
      }
    },
    "ExtendedLocation": {
      "type": "object",
      "description": "The complex type of the extended location.",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the extended location."
        },
        "type": {
          "$ref": "#/$defs/ExtendedLocationType",
          "description": "The type of the extended location."
        }
      }
    },
    "ExtendedLocationType": {
      "type": "object",
      "description": "Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.",
      "x-ae-placeholder": true
    },
    "ExternalHealthPolicy": {
      "type": "object",
      "description": "Specifies the external health policy for the virtual machine scale set.",
      "properties": {
        "enabled": {
          "type": "boolean",
          "description": "If true, external health is enabled for this scale set. Cannot be set to true on instances where another health monitoring source is active (ApplicationHealth extension or SLB). Defaults to false."
        },
        "expiryDuration": {
          "type": "string",
          "format": "duration",
          "description": "Defines how long the health status set by External Health API will last on the VM. If a signal is not received/updated within this time, the VM Health will be marked as \"unknown\". Uses the ISO 8601 format. Minimum: 5 minutes (PT5M), Maximum: 3 hours (PT3H)."
        },
        "gracePeriod": {
          "type": "string",
          "format": "duration",
          "description": "Grace period for newly created VMs or when the External Health policy is first applied on VMSS. Uses the ISO 8601 format. Minimum: 5 minutes (PT5M), Maximum: 4 hours (PT4H)."
        }
      }
    },
    "HighSpeedInterconnectPlacement": {
      "type": "string",
      "description": "Specifies the high speed interconnect placement for the virtual machine scale set.",
      "enum": [
        "None",
        "Trunk"
      ],
      "x-ms-enum": {
        "name": "HighSpeedInterconnectPlacement",
        "modelAsString": true,
        "values": [
          {
            "name": "None",
            "value": "None",
            "description": "No high speed interconnect placement"
          },
          {
            "name": "Trunk",
            "value": "Trunk",
            "description": "Trunk high speed interconnect placement"
          }
        ]
      }
    },
    "HostEndpointSettings": {
      "type": "object",
      "description": "Specifies particular host endpoint settings.",
      "properties": {
        "mode": {
          "$ref": "#/$defs/Modes",
          "description": "Specifies the execution mode. In Audit mode, the system acts as if it is enforcing the access control policy, including emitting access denial entries in the logs but it does not actually deny any requests to host endpoints. In Enforce mode, the system will enforce the access control and it is the recommended mode of operation."
        },
        "inVMAccessControlProfileReferenceId": {
          "type": "string",
          "description": "Specifies the InVMAccessControlProfileVersion resource id in the format of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/inVMAccessControlProfiles/{profile}/versions/{version}"
        },
        "useLocalFileRules": {
          "type": "boolean",
          "description": "When set to true, instructs the GuestProxyAgent inside the VM to load additional access control rules defined in a local file on the VM."
        }
      }
    },
    "IPVersion": {
      "type": "string",
      "description": "Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.  Possible values are: 'IPv4' and 'IPv6'.",
      "enum": [
        "IPv4",
        "IPv6"
      ],
      "x-ms-enum": {
        "name": "IPVersion",
        "modelAsString": true,
        "values": [
          {
            "name": "IPv4",
            "value": "IPv4"
          },
          {
            "name": "IPv6",
            "value": "IPv6"
          }
        ]
      }
    },
    "ImageReference": {
      "type": "object",
      "description": "Specifies information about the image to use. You can specify information 

# --- truncated at 32 KB (157 KB total) ---
# Full source: https://artifacts.apis.io/microsoft-azure-virtual-machines/json-schema/microsoft-azure-virtual-machines-virtual-machine-scale-set-schema.json

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-virtual-machines-virtual-machine-scale-set"
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.