Azure Compute Gallery Image Definition pattern-based discovery
Summarize
Summary of Azure Compute Gallery Image Definition pattern-based discovery
The Azure Compute Gallery Image Definition pattern-based discovery enables ServiceNow customers to identify and map Azure Compute Gallery Image Definition resources within their Azure cloud environments. This discovery is part of the Discovery and Service Mapping Patterns application, which requires the latest version from the ServiceNow Store for optimal functionality. It supports both standard Azure and Azure GovCloud (US) environments, ensuring comprehensive visibility of Azure resources in your CMDB and related tables.
Show less
Key Features
- Pattern Activation: The Azure Compute Gallery Image Definition discovery pattern is disabled by default. Customers must enable it explicitly. Starting with Visibility Content version 6.28.0, enabling or disabling patterns no longer counts as customizations, and patterns will reset to their latest predefined versions upon upgrade while retaining activation status.
- Discovery Schedule Configuration: For Azure GovCloud accounts, discovery requires configuring the Azure service account with the appropriate datacenter URL.
- Data Population: The discovery populates data into both CMDB and non-CMDB tables:
- Non-CMDB Table: cmdbazurecomputegalleryimagedefinition stores detailed attributes of Azure Compute Gallery Image Definitions, such as CPU architecture, OS type, provisioning state, SKU, location, subscription, and tenant IDs.
- CMDB Table: cmdbcicmpresource holds core cloud resource information including install status, operational status, resource type, and location. It specifically tracks resources of type microsoft.compute/galleries/images.
- CI Relationships: The pattern defines relationships to reflect resource group containment, hosting on Azure datacenters, and references between image definitions and cloud resources, supporting accurate CMDB topology.
- Tag Discovery: Tags associated with Azure Compute Gallery Image Definitions are collected and stored in the cmdbkeyvalue table, allowing for enhanced categorization and filtering within ServiceNow.
Practical Application for ServiceNow Customers
By enabling and configuring this discovery pattern, ServiceNow customers can automate the identification and mapping of Azure Compute Gallery Image Definitions, keeping their CMDBs current with detailed resource attributes and relationships. This enables more accurate asset management, operational visibility, and governance of Azure compute resources. Additionally, support for Azure GovCloud ensures compliance and visibility in government-regulated cloud environments.
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 components 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 Gallery Image Definition - Extended Inventory(LP) pattern.
You can review the non-CMDB Azure tables by navigating to . You can also search the navigation filter for the specific pattern name.
| Field | Description |
|---|---|
| Architecture [architecture] | Central processing unit (CPU) architecture of the resource, such as x86 or ARM. |
| Hyper-V Generation [hyper_v_generation] | The Hyper-V generation version of the virtual machine. |
| Kind [kind] | The specific subcategory or variation type of the resource. |
| Location [location] | The geographical region where the resource is deployed. |
| Object Id [object_id] | The unique identifier of the resource. |
| OS Type [os_type] | The operating system type associated with the resource. |
| Provisioning State [provisioning_state] | Current provisioning status of the resource. |
| Resource Group [resource_group] | Name of the resource group. |
| SKU [sku] | The stock keeping unit (SKU) that defines the pricing tier of the resource. |
| Subscription ID [subscription_id] | The subscription ID. |
| Tenant ID [tenant_id] | The unique identifier for the Azure Active Directory tenant. |
| Configuration Item [configuration_item] | References the Cloud Resource [cmdb_ci_cmp_resource] table. |
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.
| 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] |
Azure tag discovery
| Field | Description |
|---|---|
| Key [key] | Tag name. |
| Value [value] | Tag value. |