Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Azure OS image pattern-based discovery

Discovery and Service Mapping Patterns finds Azure OS images 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 overview

Discovery uses the Azure - Image (LP) pattern to discover Azure OS images from your Azure account.

When using the Image [cmdb_ci_os_template] table to store Cloud OS images, you may notice an unusually large number of records. To avoid this issue, you can store the discovered OS images in the Cloud Image [cmdb_ci_cloud_os_image] table. When enabled, Discovery launches the Azure - Cloud OS Image (LP) pattern, which populates the Cloud Image [cmdb_ci_cloud_os_image] table. For more information, see Enable Cloud OS Image discovery.

Pattern-based discovery and mapping requirements

Verify the Azure discovery prerequisites section in Microsoft Azure Cloud discovery using patterns.

Data collected by Discovery during horizontal discovery

Discovery populates the data in the CMDB when running the Azure OS image patterns.

FieldDescription
Name \[name\]Name of the image resource.
Object ID \[object\_id\]Azure resource ID of the image.
Image Source \[image\_source\]Azure resource ID of the image.
Guest OS \[guest\_os\]Operating system type of the image.
Provider \[provider\]The cloud provider, which is AZURE. This field is only populated in Cloud Image [cmdb_ci_cloud_os_image] table.

CI relationships

The Azure OS image patterns create these relationships to support Azure OS image discovery.

CIRelationshipCI
Image [cmdb_ci_os_template] or Cloud Image [cmdb_ci_cloud_os_image]Hosted on::HostsAzure Datacenter [cmdb_ci_azure_datacenter]
Resource Group [cmdb_ci_resource_group]Contains::Contained byImage [cmdb_ci_os_template] or Cloud Image [cmdb_ci_cloud_os_image]
Key Value [cmdb_key_value]ReferencesImage [cmdb_ci_os_template] or Cloud Image [cmdb_ci_cloud_os_image]

Azure Tag discovery

The Azure OS image patterns collect tags and populate them in the Key Value [cmdb_key_value] table.

FieldDescription
Key [key]Tag name.
Value [value]Tag value.
Configuration item [configuration_item]References the Image [cmdb_ci_os_template] table or the Cloud Image [cmdb_ci_cloud_os_image] table.

Parent Topic:Microsoft Azure Cloud discovery using patterns