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 components discovery using patterns.
Data collected by Discovery during horizontal discovery
Discovery populates the data in the CMDB when running the Azure OS image patterns.
| Field | Description |
|---|---|
| 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.
| CI | Relationship | CI |
|---|---|---|
| Image [cmdb_ci_os_template] or Cloud Image [cmdb_ci_cloud_os_image] | Hosted on::Hosts | Azure Datacenter [cmdb_ci_azure_datacenter] |
| Resource Group [cmdb_ci_resource_group] | Contains::Contained by | Image [cmdb_ci_os_template] or Cloud Image [cmdb_ci_cloud_os_image] |
| Key Value [cmdb_key_value] | References | Image [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.
| Field | Description |
|---|---|
| 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. |