---
title: Azure Compute Gallery Image
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > DDSQL Reference > Data Directory > Azure Compute Gallery Image
---

# Azure Compute Gallery Image

An Azure Compute Gallery Image is a managed image definition within an Azure Compute Gallery, used to store and organize custom virtual machine images. It allows you to version, replicate, and share images across regions and subscriptions. This resource helps standardize VM deployments and improve scalability by providing a central catalog of reusable image versions.

```
azure.compute_gallery_image
```

## Fields

| Title                 | ID   | Type       | Data Type                                                                                                                                                                                 | Description |
| --------------------- | ---- | ---------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| _key                  | core | string     |
| allow_update_image    | core | bool       | Optional. Must be set to true if the gallery image features are being updated.                                                                                                            |
| architecture          | core | string     | CPU architecture supported by an OS disk.                                                                                                                                                 |
| description           | core | string     | The description of this gallery image definition resource. This property is updatable.                                                                                                    |
| disallowed            | core | json       | Describes the disallowed disk types.                                                                                                                                                      |
| end_of_life_date      | core | string     | The end of life date of the gallery image definition. This property can be used for decommissioning purposes. This property is updatable.                                                 |
| eula                  | core | string     | The Eula agreement for the gallery image definition.                                                                                                                                      |
| features              | core | json       | A list of gallery image features.                                                                                                                                                         |
| hyper_v_generation    | core | string     | The hypervisor generation of the Virtual Machine.                                                                                                                                         |
| id                    | core | string     | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
| identifier            | core | json       | This is the gallery image definition identifier.                                                                                                                                          |
| location              | core | string     | The geo-location where the resource lives                                                                                                                                                 |
| name                  | core | string     | The name of the resource                                                                                                                                                                  |
| os_state              | core | string     | The OS State. For managed images, use Generalized.                                                                                                                                        |
| os_type               | core | string     | 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.**   |
| privacy_statement_uri | core | string     | The privacy statement uri.                                                                                                                                                                |
| provisioning_state    | core | string     | The provisioning state, which only appears in the response.                                                                                                                               |
| purchase_plan         | core | json       | Describes the gallery image definition purchase plan. This is used by marketplace images.                                                                                                 |
| recommended           | core | json       | The properties describe the recommended machine configuration for this Image Definition. These properties are updatable.                                                                  |
| release_note_uri      | core | string     | The release note uri.                                                                                                                                                                     |
| resource_group        | core | string     |
| subscription_id       | core | string     |
| subscription_name     | core | string     |
| system_data           | core | json       | Metadata pertaining to creation and last modification of the resource.                                                                                                                    |
| tags                  | core | hstore_csv |
| type                  | core | string     | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"                                                                                 |
