Azure Compute Gallery Image Definition pattern-based discovery

  • Release version: Zurich
  • Updated July 31, 2025
  • 2 minutes to read
  • Summarize
    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

    Azure Compute Gallery Image Definition pattern-based discovery enables ServiceNow customers to identify and map Azure Compute Gallery Image Definitions within their cloud environments. This process is part of the Discovery and Service Mapping Patterns application, which detects Azure services and populates data into both CMDB and non-CMDB tables. Updating to the latest version of this application from the ServiceNow Store may be necessary for accurate discovery.

    Show full answer Show less

    Key Features

    • Pattern Activation: The Azure Compute Gallery Image Definition pattern is disabled by default. Starting with Visibility Content version 6.28.0, enabling or disabling patterns is no longer treated as a customization, ensuring patterns receive updates and reset to the latest version after upgrades while preserving the last active state.
    • Discovery Schedule Configuration: To discover Azure GovCloud (US) resources, customers must configure Azure service accounts with appropriate datacenter URLs.
    • Data Storage: - Non-CMDB Tables: The pattern populates detailed inventory data in non-CMDB tables, accessible via the ServiceNow navigation under Configuration > Azure. Key fields include architecture, Hyper-V generation, kind, location, OS type, provisioning state, resource group, SKU, subscription ID, and tenant ID.
      - CMDB Tables: Relevant data also populates the Cloud Resource [cmdbcicmpresource] table, capturing install status, location, name, object ID, operational status, and resource type set to microsoft.compute/galleries/images.
    • CI Relationships: The pattern establishes relationships among configuration items (CIs), such as containment by resource groups, hosting on Azure datacenters, and references between image definitions and cloud resources.
    • Azure Tag Discovery: Tags associated with the resources are collected and stored in the Key Value [cmdbkeyvalue] table, enabling enhanced tagging and categorization of discovered assets.

    Practical Implications for ServiceNow Customers

    By leveraging this pattern-based discovery, customers can ensure comprehensive and up-to-date visibility of Azure Compute Gallery Image Definitions in their CMDB, facilitating better cloud resource management and operational insights. Proper configuration, including enabling the pattern and setting discovery schedules for specific Azure environments like GovCloud, is essential for accurate data collection. The established CI relationships and tagging enhance the ability to map dependencies and apply governance policies effectively.

    Discovery and Service Mapping Patterns finds Azure services on your cloud environment. Discovering some of these resources may require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.

    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.

    Table 2. Cloud Resource [cmdb_ci_cmp_resource]
    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.

    CI relationships

    The pattern creates these relationships to support discovery.

    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]