Azure Compute Snapshot pattern-based discovery

  • Release version: Australia
  • Updated March 12, 2026
  • 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 Snapshot pattern-based discovery

    The Azure Compute Snapshot pattern-based discovery allows ServiceNow customers to discover Azure services within their cloud environment. To utilize this feature, customers must ensure they have the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store and verify the Microsoft Azure discovery prerequisites.

    Show full answer Show less

    Key Features

    • Pattern Activation: The Azure service pattern is disabled by default. From version 6.28.0 onward, activating or deactivating a pattern will not be considered a customization, ensuring ongoing updates.
    • GovCloud Support: Special configuration is required for discovering Azure GovCloud (US) accounts, including using a datacenter URL for service accounts.
    • Data Population: The application populates both CMDB and non-CMDB tables with relevant data from Azure services.

    Key Outcomes

    By implementing the Azure Compute Snapshot pattern, customers can expect to effectively discover and manage Azure resources, including:

    • Data related to disk states, encryption types, and operational statuses stored in non-CMDB and CMDB tables.
    • Creation of relationships between various configuration items, enhancing visibility into resource management.
    • Collection and organization of tags in the Key Value table, improving resource categorization and management.

    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.

    Pattern-based discovery and mapping requirements

    Verify the Microsoft Azure discovery prerequisites
    For more information, see the prerequisites section in Microsoft Azure Cloud discovery using patterns.
    Enable the relevant pattern
    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.
    Configure the Discovery schedule to support GovCloud
    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.

    Discovery and Service Mapping Patterns application populates data in both CMDB and non-CMDB tables.

    Data stored in non-CMDB tables

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

    You can review the non-CMDB Azure tables by navigating to All > Configuration > Azure. You can also search the navigation filter for the specific pattern name.

    Table 1. Azure Compute - Snapshot [cmdb_azure_compute_snapshot]
    Field Description
    Disk State [disk_state] The current state of the disk. For example: Attached or Unattached.
    Encryption Type [encryption_type] The encryption mechanism applied to the resource data. For example: EncryptionAtRestWithCustomerKey or EncryptionAtRestWithPlatformKey.
    DC Location [location] The geographic location where the resource is deployed.
    Network Access Policy [network_access_policy] The policy that governs network access to the resource.
    Object Id [object_id] A unique identifier for the queried resource.
    OS Type [os_type] The type of operating system associated with the resource.
    Provisioning State [provisioning_state] Current provisioning state of the resource. For example: Succeeded or Failed.
    Public Network Access [public_network_access] Indicates whether the resource can be accessed via the public network.
    Resource Group [resource_group] Name of the resource group.
    SKU Tier [sku_tier] The tier of the stock keeping unit (SKU) that determines resource performance and costs.
    Subscription Id [subscription_id] The subscription ID.
    Tenant Id [tenant_id] The unique identifier of the tenant owning the resource.
    Type [type] The type or category of the resource.
    Configuration Item [configuration_item] References the Storage Volume Snapshot [cmdb_ci_storage_vol_snapshot] table.

    Data stored in CMDB tables

    Discovery and Service Mapping Patterns application populates data in the CMDB when running the Azure - Compute Snapshot - Extended Inventory(LP) pattern.

    Table 2. Storage Volume Snapshot [cmdb_ci_storage_vol_snapshot]
    Field Description
    Capacity [capacity] The size of the disk in terms of storage capacity.
    Install Status [install_status] Install status of the resource. Default value is Installed.
    Location [location] The geographic location where the resource is deployed.
    Name [name] The name of the resource.
    Object ID [object_id] A unique identifier for the queried resource in the following format: /subscriptions/{subscriptionId}/resourceGroups/{resouceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}.
    Operational status [operational_status] Operational status of the resource. Default value is Operational.
    State [state] The current state of the disk. For example: Attached or Unattached.

    CI relationships

    The pattern creates these relationships to support discovery.

    CI Relationship CI
    Resource Group [cmdb_ci_resource_group] Contains::Contained by Storage Volume Snapshot [cmdb_ci_storage_vol_snapshot]
    Storage Volume Snapshot [cmdb_ci_storage_vol_snapshot] Hosted on::Hosts Azure Datacenter [cmdb_ci_azure_datacenter]
    Azure Compute - Snapshot [cmdb_azure_compute_snapshot] References Storage Volume Snapshot [cmdb_ci_storage_vol_snapshot]

    Azure tag discovery

    The pattern collects tags and populates them in the Key Value [cmdb_key_value] table.
    Table 3. Key Value [cmdb_key_value]
    Field Description
    Key [key] Tag name.
    Value [value] Tag value.