# Source: https://docs.datadoghq.com/ddsql_reference/data_directory/azure/azure.virtual_machine_scale_set.dataset.md

---
title: Virtual Machine Scale Set
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > DDSQL Reference > Data Directory > Virtual Machine Scale Set
---

# Virtual Machine Scale Set

This table represents the virtual_machine_scale_set resource from Microsoft Azure.

```
azure.virtual_machine_scale_set
```

## Fields

| Title                                         | ID   | Type          | Data Type                                                                                                                                                                                                                                                                                                                                                                                                                                    | Description |
| --------------------------------------------- | ---- | ------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| _key                                          | core | string        |
| additional_capabilities                       | core | json          | Specifies additional capabilities enabled or disabled on the Virtual Machines in the Virtual Machine Scale Set. For instance: whether the Virtual Machines have the capability to support attaching managed data disks with UltraSSD_LRS storage account type.                                                                                                                                                                               |
| automatic_repairs_policy                      | core | json          | Policy for automatic repairs.                                                                                                                                                                                                                                                                                                                                                                                                                |
| constrained_maximum_capacity                  | core | bool          | Optional property which must either be set to True or omitted.                                                                                                                                                                                                                                                                                                                                                                               |
| do_not_run_extensions_on_overprovisioned_v_ms | core | bool          | When Overprovision is enabled, extensions are launched only on the requested number of VMs which are finally kept. This property will hence ensure that the extensions do not run on the extra overprovisioned VMs.                                                                                                                                                                                                                          |
| etag                                          | core | 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                                                                                                                                                                                                                                                                                               |
| extended_location                             | core | json          | The extended location of the Virtual Machine Scale Set.                                                                                                                                                                                                                                                                                                                                                                                      |
| host_group                                    | core | json          | Specifies information about the dedicated host group that the virtual machine scale set resides in. Minimum api-version: 2020-06-01.                                                                                                                                                                                                                                                                                                         |
| id                                            | core | string        | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}                                                                                                                                                                                                                                                    |
| identity                                      | core | json          | The identity of the virtual machine scale set, if configured.                                                                                                                                                                                                                                                                                                                                                                                |
| location                                      | core | string        | The geo-location where the resource lives                                                                                                                                                                                                                                                                                                                                                                                                    |
| name                                          | core | string        | The name of the resource                                                                                                                                                                                                                                                                                                                                                                                                                     |
| orchestration_mode                            | core | string        | Specifies the orchestration mode for the virtual machine scale set.                                                                                                                                                                                                                                                                                                                                                                          |
| overprovision                                 | core | bool          | Specifies whether the Virtual Machine Scale Set should be overprovisioned.                                                                                                                                                                                                                                                                                                                                                                   |
| plan                                          | core | json          | 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**. |
| platform_fault_domain_count                   | core | int64         | Fault Domain count for each placement group.                                                                                                                                                                                                                                                                                                                                                                                                 |
| priority_mix_policy                           | core | json          | Specifies the desired targets for mixing Spot and Regular priority VMs within the same VMSS Flex instance.                                                                                                                                                                                                                                                                                                                                   |
| provisioning_state                            | core | string        | The provisioning state, which only appears in the response.                                                                                                                                                                                                                                                                                                                                                                                  |
| proximity_placement_group                     | core | json          | Specifies information about the proximity placement group that the virtual machine scale set should be assigned to. Minimum api-version: 2018-04-01.                                                                                                                                                                                                                                                                                         |
| resiliency_policy                             | core | json          | Policy for Resiliency                                                                                                                                                                                                                                                                                                                                                                                                                        |
| resource_group                                | core | string        |
| scale_in_policy                               | core | json          | Specifies the policies applied when scaling in Virtual Machines in the Virtual Machine Scale Set.                                                                                                                                                                                                                                                                                                                                            |
| scheduled_events_policy                       | core | json          | The ScheduledEventsPolicy.                                                                                                                                                                                                                                                                                                                                                                                                                   |
| single_placement_group                        | core | bool          | When true this limits the scale set to a single placement group, of max size 100 virtual machines. NOTE: If singlePlacementGroup is true, it may be modified to false. However, if singlePlacementGroup is false, it may not be modified to true.                                                                                                                                                                                            |
| sku                                           | core | json          | The virtual machine scale set sku.                                                                                                                                                                                                                                                                                                                                                                                                           |
| sku_profile                                   | core | json          | Specifies the sku profile for the virtual machine scale set.                                                                                                                                                                                                                                                                                                                                                                                 |
| spot_restore_policy                           | core | json          | Specifies the Spot Restore properties for the virtual machine scale set.                                                                                                                                                                                                                                                                                                                                                                     |
| subscription_id                               | core | string        |
| subscription_name                             | core | string        |
| system_data                                   | core | json          | Azure Resource Manager metadata containing createdBy and modifiedBy information.                                                                                                                                                                                                                                                                                                                                                             |
| tags                                          | core | hstore_csv    |
| time_created                                  | core | string        | Specifies the time at which the Virtual Machine Scale Set resource was created. Minimum api-version: 2021-11-01.                                                                                                                                                                                                                                                                                                                             |
| type                                          | core | string        | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"                                                                                                                                                                                                                                                                                                                                    |
| unique_id                                     | core | string        | Specifies the ID which uniquely identifies a Virtual Machine Scale Set.                                                                                                                                                                                                                                                                                                                                                                      |
| upgrade_policy                                | core | json          | The upgrade policy.                                                                                                                                                                                                                                                                                                                                                                                                                          |
| virtual_machine_profile                       | core | json          | The virtual machine profile.                                                                                                                                                                                                                                                                                                                                                                                                                 |
| zonal_platform_fault_domain_align_mode        | core | string        | Specifies the align mode between Virtual Machine Scale Set compute and storage Fault Domain count.                                                                                                                                                                                                                                                                                                                                           |
| zone_balance                                  | core | bool          | Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage. zoneBalance property can only be set if the zones property of the scale set contains more than one zone. If there are no zones or only one zone specified, then zoneBalance property should not be set.                                                                                                                              |
| zones                                         | core | array<string> | The availability zones.                                                                                                                                                                                                                                                                                                                                                                                                                      |