Azure Compute Snapshot pattern-based discovery

  • Rversion finale: Australia
  • Mis à jour 12 mars 2026
  • 2 minutes de lecture
  • 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.

    Tableau 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.

    Tableau 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.
    Tableau 3. Key Value [cmdb_key_value]
    Field Description
    Key [key] Tag name.
    Value [value] Tag value.