---
sourceDocument: Australia IT Operations Management
sourceDocumentLink: https://www.servicenow.com/docs/r/australia/it-operations-management

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia IT Operations Management

ft:clusterId :

    - itom

bundleId :

    - itom

workflow :

    - Technology


---

# Azure Compute Gallery Image Definition

# Azure Compute Gallery Image Definition pattern-based discovery {#ariaid-title1}

Release version: Australia  
Updated March 12, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 3 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Azure Compute Gallery Image Definition pattern-based discovery

The Azure Compute Gallery Image Definition pattern-based discovery enables ServiceNow customers to identify and map Azure Compute Gallery Image Definition resources within their Azure cloud environment.
This discovery process leverages the Discovery and Service Mapping Patterns application to collect detailed inventory and configuration data, supporting comprehensive cloud resource management and CMDB accuracy.
Show full answer Show less  

## Key Requirements and Setup

* **REST API Permissions:** Customers must verify and grant appropriate REST API permissions. The Cloud Discovery patterns spreadsheet provides details on required user permissions, pattern names, CI classes, and vendor documentation links. This spreadsheet is updated quarterly to ensure customers have the latest configurations.
* **Azure Discovery Prerequisites:** Follow Microsoft Azure Cloud discovery prerequisites to ensure successful discovery operations.
* **Resource Inclusion List:** To avoid duplicate discovery, ensure that relevant Azure resources are removed from the Resource Inclusion List table (*sacloudinventoryresourcewhitelist*).
* **Pattern Activation:** The Azure Compute Gallery Image Definition pattern is disabled by default. Activation is required and patterns retain their active state after upgrades starting with Visibility Content version 6.28.0.
* **Discovery Schedule for GovCloud:** When discovering Azure GovCloud (US) accounts, configure discovery schedules with the appropriate datacenter URL and Azure service account settings.

## Data Collection and CMDB Integration

The pattern populates both CMDB and non-CMDB tables to capture comprehensive Azure resource data:

* **Non-CMDB Data:** Running the "Azure - Compute Gallery Image Definition - Extended Inventory(LP)" pattern populates non-CMDB tables accessible via All \> Configuration \> Azure. This includes detailed attributes such as architecture, Hyper-V generation, kind, location, OS type, provisioning state, resource group, SKU, subscription ID, and tenant ID.
* **CMDB Data:** The same pattern populates the *Cloud Resource \[cmdbcicmpresource\]* table with key resource information including install status, operational status, resource type (set as microsoft.compute/galleries/images), and geographic location.
* **CI Relationships:** The pattern establishes relationships among Configuration Items (CIs) such as resource groups, cloud resources, and Azure datacenters to support dependency mapping and service impact analysis.
* **Azure Tag Discovery:** Tags associated with resources are collected and stored in the *Key Value \[cmdbkeyvalue\]* table, enabling enhanced categorization and filtering of Azure assets.

## Benefits for ServiceNow Customers

* Enables automated, pattern-based discovery of Azure Compute Gallery Image Definition resources to maintain an accurate and up-to-date CMDB.
* Supports detailed inventory tracking, configuration management, and relationship mapping to improve cloud service visibility.
* Facilitates compliance and operational efficiency by integrating Azure resource metadata and tags directly into ServiceNow CMDB and related tables.  
Discovery and Service Mapping Patterns finds Azure services on your cloud environment. Discovering some of these resources might require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.

## Pattern-based discovery and mapping requirements {#azure-compute-gallery-img-definition__section_ipy_53n_jfc}

Verify the REST API permissions
:   Download the [Cloud Discovery patterns spreadsheet](https://downloads.docs.servicenow.com/resource/enus/api/servicenow-discovery-patterns-api-details.xlsx) so you can grant user permissions required for running the Discovery patterns. In addition to permissions, the spreadsheet also includes useful information such as pattern names, types, CI Classes, and links to vendor documentation. New patterns are available quarterly, so check periodically to be sure you have the latest version of the spreadsheet.{#azure-compute-gallery-img-definition__cloud-discovery-api-ph-short-prereq}

Verify the Microsoft Azure discovery prerequisites{#azure-compute-gallery-img-definition__verify-azure-discovery-prerequisites-dlentry}
:   For more information, see the prerequisites section in [Microsoft Azure Cloud discovery using patterns](https://www.servicenow.com/docs/e2521~KHAw8EO7j1nC9QMA "Discovery uses multiple patterns to discover components of the Microsoft Azure Cloud deployment during horizontal discovery. Discovering some of these resources might require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.").

Remove resources from the Resource Inclusion List table{#azure-compute-gallery-img-definition__remove-resource-inclusion-list-azure}
:   Verify that the relevant resource isn't listed in the Resource Inclusion List \[sa_cloud_inventory_resource_whitelist\] table to avoid duplicate discovery. For more information on removing resources from the Resource
    Inclusion List, see [Microsoft Azure resource inventory discovery](https://www.servicenow.com/docs/tO3nNqXv4zOe7q99krvAnA "The ServiceNow Discovery application uses the Azure Resource Inventory (LP) pattern to find resources available through Azure that don’t have a dedicated pattern. Discovering some of these resources might require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.").

Enable the relevant pattern{#azure-compute-gallery-img-definition__enable-pattern-reuse-dlentry}
:   The pattern for this service is disabled by default. Starting with Visibility Content version 6.28.0, activating or deactivating a pattern won't be considered a customization, and it will continue to receive updates. Patterns that were previously activated or deactivated will reset to the latest predefined version after upgrading while retaining the last active field value. For more information on enabling patterns, see [Activate a disabled pattern](https://www.servicenow.com/docs/aypCYVQdO8oFebLMLEI89g "If you want to use a pattern for discovery that's disabled by default, activate it manually.").{#azure-compute-gallery-img-definition__activating-disabled-pattern-not-customization}

Configure the Discovery schedule to support GovCloud{#azure-compute-gallery-img-definition__configure-govcloud-azure-dlentry}
:   Discovering Azure GovCloud (US) accounts requires using a datacenter URL when setting up an Azure service account. For more information, see [Set up Azure service accounts](https://www.servicenow.com/docs/XKQpJvxWTKNL58XCkRHVxA "Create and configure cloud service accounts at ServiceNow AI Platform for the corresponding Microsoft Azure accounts.").{#azure-compute-gallery-img-definition__configure-govcloud-azure-dd}
{#azure-compute-gallery-img-definition__configure-govcloud-azure-dd} Discovery and Service Mapping Patterns application populates data in both CMDB and non-CMDB tables.

## Data stored in non-CMDB tables {#azure-compute-gallery-img-definition__section_aq4_qkq_hfc}

Discovery and Service Mapping Patterns application populates data in the non-CMDB table when running the Azure - Compute Gallery Image Definition - Extended Inventory(LP) pattern.

You can review the non-CMDB
Azure tables by navigating to AllConfigurationAzure. You can also search the navigation filter for the specific pattern name.  
{#azure-compute-gallery-img-definition__section_aq4_qkq_hfc__entry__2}

| Field | Description |
|-|-|
| Architecture \[architecture\] | Central processing unit (CPU) architecture of the resource, such as x86 or ARM. |
| Hyper-V Generation \[hyper_v_generation\] | The Hyper-V generation version of the virtual machine. |
| Kind \[kind\] | The specific subcategory or variation type of the resource. |
| Location \[location\] | The geographical region where the resource is deployed. |
| Object Id \[object_id\] | The unique identifier of the resource. |
| OS Type \[os_type\] | The operating system type associated with the resource. |
| Provisioning State \[provisioning_state\] | Current provisioning status of the resource. |
| Resource Group \[resource_group\] | Name of the resource group. |
| SKU \[sku\] | The stock keeping unit (SKU) that defines the pricing tier of the resource. |
| Subscription ID \[subscription_id\] | The subscription ID. |
| Tenant ID \[tenant_id\] | The unique identifier for the Azure Active Directory tenant. |
| Configuration Item \[configuration_item\] | References the Cloud Resource \[cmdb_ci_cmp_resource\] table. |
[Table 1. Azure Compute Gallery - Image Definition \[cmdb_azure_compute_gallery_image_definition\]]

## Data stored in CMDB tables

Discovery and Service Mapping Patterns application populates data in the CMDB when running the Azure - Compute Gallery Image Definition - Extended Inventory(LP) pattern.  
{#azure-compute-gallery-img-definition__entry__28}

| Field | Description |
|-|-|
| Install Status \[install_status\] | Install status of the resource. Default value is Installed. |
| Location \[location\] | The geographical region where the resource is deployed. |
| Name \[name\] | The name given to the resource. |
| Object ID \[object_id\] | The unique identifier of the resource. |
| Operational status \[operational_status\] | Operational status of the resource. Default value is Operational. |
| Resource type \[resource_type\] | Type of resource. The value is set to microsoft.compute/galleries/images. |
[Table 2. Cloud Resource \[cmdb_ci_cmp_resource\]]

## CI relationships

The pattern creates these relationships to support discovery.
{#azure-compute-gallery-img-definition__entry__43}

| CI | Relationship | CI |
|-|-|-|
| Resource Group \[cmdb_ci_resource_group\] | Contains::Contained by | Cloud Resource \[cmdb_ci_cmp_resource\] |
| Cloud Resource \[cmdb_ci_cmp_resource\] | Hosted on::Hosts | Azure Datacenter \[cmdb_ci_azure_datacenter\] |
| Azure Compute Gallery - Image Definition \[cmdb_azure_compute_gallery_image_definition\] | References | Cloud Resource \[cmdb_ci_cmp_resource\] |
[ ]

## Azure tag discovery {#azure-compute-gallery-img-definition__section_ezc_jwt_jfc}

The pattern collects tags and populates them in the Key Value \[cmdb_key_value\] table. {#azure-compute-gallery-img-definition__table_axq_spc_y2c__entry__2}

| Field | Description |
|-|-|
| Key \[key\] | Tag name. |
| Value \[value\] | Tag value. |
[Table 3. Key Value \[cmdb_key_value\]]

{#azure-compute-gallery-img-definition__table_axq_spc_y2c}

*[\>]: and then


